@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/dm-sans-400.woff") format("woff");
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/dm-sans-600.woff") format("woff");
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url("fonts/dm-sans-700.woff") format("woff");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("fonts/barlow-condensed-700.woff") format("woff");
}
:root {
  --paper: #ecefe5; --surface: #fff; --ink: #142019; --muted: #4e5d50;
  --line: #d9dfd3; --lime: #c2ed43; --accent: #426315;
  --night: #132019; --night-ink: #f6f6e9; --night-line: #38463b;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; padding: .55rem 1.15rem; border: 1px solid transparent; border-radius: 5px; background: var(--lime); color: #172310; font-weight: 700; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { filter: brightness(.95); }
input:not([type=checkbox],[type=radio],[type=hidden]), textarea, select { max-width: 100%; padding: .68rem .85rem; border: 1px solid #9da998; border-radius: 4px; background: var(--surface); color: var(--ink); }
input:not([type=checkbox],[type=radio],[type=hidden]), select { min-height: 45px; }
textarea { min-height: 7rem; resize: vertical; }
label { color: var(--ink); }
:focus-visible { outline: 3px solid #467acf; outline-offset: 4px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 99; padding: 12px 18px; background: var(--lime); color: #192610; }
.wrap { width: min(1200px, calc(100% - clamp(36px, 8vw, 120px))); margin-inline: auto; }
.block { padding-block: clamp(2.8rem, 5vw, 5.2rem); }
h1, h2, h3, h4 { margin: 0; overflow-wrap: anywhere; line-height: 1.06; }
h1, h2, .category-caption h3 { font-family: var(--body); font-weight: 700; }
h1 { font-size: clamp(2.85rem, 6.3vw, 5.9rem); letter-spacing: -.022em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.95rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.23; }
p { margin: .8em 0 1em; }
strong { font-weight: 700; }
main {
  flex: 1 0 auto;
  width: min(1280px, calc(100% - clamp(24px, 5vw, 80px)));
  min-width: 0;
  margin: clamp(14px, 2vw, 32px) auto;
  background: var(--surface);
  border: 1px solid #cfd7c9;
  border-radius: 10px;
  box-shadow: 0 10px 38px -21px #2c45295c;
}
main.reading-panel { max-width: 1060px; }
main:has(.drawing-workspace), main:has(.reading), main:has(.identity-page) { max-width: 1020px; }
main > .home-hero, main > .listing-hero { border-radius: 9px 9px 0 0; }
main > .home-projects:last-child { border-radius: 0 0 9px 9px; }
.site-header { background: var(--night); color: var(--night-ink); }
.site-header { position: relative; z-index: 4; border-bottom: 1px solid var(--night-line); }
.header-inner { min-height: 66px; display: flex; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { width: 141px; height: auto; display: block; }
.site-navigation, .main-nav, .head-actions { display: flex; align-items: center; }
.site-navigation { flex: 1; justify-content: space-between; gap: 1rem; }
.main-nav, .head-actions { gap: clamp(1rem, 2.2vw, 2.2rem); }
.main-nav a, .head-actions a { font-size: .92rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.main-nav a { padding-block: .6rem; position: relative; }
.main-nav a[aria-current]::after { position: absolute; content: ''; height: 2px; background: var(--lime); bottom: 2px; left: 0; right: 0; }
.main-nav a:hover, .account-link:hover { color: var(--lime); }
.head-actions .head-upload { background: var(--lime); color: #172310; display: inline-flex; gap: .4rem; align-items: center; padding: .53rem .95rem; border-radius: 5px; }
.head-upload span { font-size: 1.15rem; line-height: 1; }

.home-hero, .listing-hero { isolation: isolate; position: relative; overflow: hidden; background: #0e1712; color: var(--night-ink); }
.hero-art, .hero-art::after { position: absolute; inset: 0; z-index: -1; }
.hero-art img { position: absolute; width: 80%; height: 100%; right: 0; object-fit: cover; object-position: right 49%; }
.hero-art::after { content: ''; z-index: 1; background: linear-gradient(90deg,#0d1711 0%,#0d1711 17%,rgba(13,23,17,.93) 31%,rgba(13,23,17,.38) 54%,transparent 78%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(360px, 39vw, 565px); }
.hero-copy { padding-block: clamp(48px, 5vw, 78px); width: min(630px, 56%); }
.overline { display: flex; align-items: center; gap: .7rem; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 600; margin: 0 0 1rem; color: var(--lime); }
.signal { display: inline-block; width: 24px; height: 3px; background: var(--lime); }
.home-hero h1 { font-size: clamp(3.1rem, 5.75vw, 5.75rem); line-height: .97; letter-spacing: -.065em; margin-left: -.035em; }
.hero-intro { margin: 1.2rem 0 0; max-width: 34ch; color: #e1e6d8; font-size: clamp(.96rem,1.5vw,1.16rem); line-height: 1.4; }
.hero-search { display: flex; align-items: center; gap: .5rem; max-width: 470px; margin-top: clamp(1.6rem, 3vw, 2.9rem); border: 1px solid #deead0; padding: 4px; background: var(--surface); color: var(--ink); border-radius: 6px; }
.hero-search .lens { display: block; flex: 0 0 16px; height: 16px; border: 1.8px solid currentColor; border-radius: 50%; margin-left: .8rem; position: relative; color: #53684d; }
.lens::after { content: ''; position: absolute; width: 7px; height: 2px; background: currentColor; transform: rotate(45deg); right: -5px; bottom: -2px; }
.hero-search input[type=search] { border: none; padding: .4rem .3rem; flex: 1; min-width: 0; background: transparent; min-height: 42px; }
.hero-search button { min-height: 42px; border-radius: 3px; }
.statline { background: #edf0e3; color: #23331c; border-bottom: 1px solid var(--line); }
.stat-items { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); padding-block: 1.45rem; }
.stat-items div { display: flex; flex-direction: column-reverse; justify-content: end; padding: 0 clamp(.8rem, 3vw, 3rem); gap: .15rem; border-left: 1px solid #b9c4a8; }
.stat-items div:first-child { padding-left: 0; border-left: 0; }
.stat-items dt { font: 500 .75rem/1.3 var(--body); }
.stat-items dd { margin: 0; font: 700 clamp(1.75rem, 3vw, 3.1rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.3rem, 2.5vw, 2.2rem); }
.text-link { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; padding-block: .3rem; border-bottom: 1px solid currentColor; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.8rem, 1.8vw, 1.5rem); }
.category-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; color: inherit; text-decoration: none; }
.category-photo { overflow: hidden; aspect-ratio: 2.3; background: var(--night); }
.category-photo img { display: block; object-fit: cover; width: 100%; height: 100%; transition: transform .4s ease; }
.category-caption { padding: 1rem 1.1rem .9rem; display: flex; flex-direction: column; gap: 1.05rem; flex: 1; }
.category-caption h3 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.11; letter-spacing: -.035em; }
.category-foot { display: flex; align-items: end; justify-content: space-between; margin-top: auto; color: var(--muted); font-size: .77rem; }
.arrow { font: 500 1.02rem/1 var(--body); width: 29px; height: 29px; background: #e7edd9; color: #283b21; border-radius: 50%; display: grid; place-items: center; flex: none; transition: background-color .2s; }
.category-card:hover, .drawing-results li:hover { border-color: #718561; }
.category-card:hover .category-photo img { transform: scale(1.055); }
.category-card:hover .arrow, .drawing-results a:hover .arrow { background: var(--lime); }
.home-projects { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer { margin-top: auto; border-top: 1px solid #c6cebe; background: #e2e7db; color: #324430; }
.footer-inner, .footer-info { display: flex; align-items: center; flex-wrap: wrap; }
.footer-inner { justify-content: space-between; gap: .9rem 1.75rem; padding-block: 1.2rem; }
.footer-info { gap: .6rem 1.2rem; font-size: .85rem; }
.footer-info small { font-size: inherit; }
.site-footer a { font-weight: 600; text-underline-offset: .2em; }
.site-footer a:hover { color: #234c20; }
.breadcrumbs { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; color: #d9e5ce; margin: 0 0 1.1rem; font-size: .83rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.listing-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg,#132019 20%,rgba(19,32,25,.94) 42%,rgba(19,32,25,.27) 100%), var(--category-image); background-position: center, right center; background-size: cover, 60% auto; background-repeat: no-repeat; }
.listing-hero > .wrap { padding-block: clamp(2.8rem,6vw,6.1rem); }
.listing-hero h1 { max-width: min(770px, 76%); }
.byline { display: flex; gap: .65rem 1.55rem; align-items: center; flex-wrap: wrap; margin-top: 1.35rem; font-size: .91rem; color: #d5dfca; }
.byline strong, .byline a { color: var(--night-ink); }
.article-page { padding-top: clamp(1.25rem,2.6vw,2.4rem); }
.article-header, .article-workspace, .community-area { max-width: 968px; width: calc(100% - clamp(34px,6vw,88px)); }
.article-header .breadcrumbs { color: var(--muted); margin-bottom: clamp(1rem,1.8vw,1.6rem); }
.article-topic { display: inline-flex; color: var(--accent); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; text-decoration: none; margin-bottom: .65rem; }
.article-header h1 { font-size: clamp(2.25rem,4.5vw,3.9rem); letter-spacing: -.065em; line-height: 1.02; }
.article-header .byline { color: var(--muted); margin: .8rem 0 1.3rem; }
.article-header .byline strong, .article-header .byline a { color: var(--ink); }
.article-header .community-metrics { padding-block: .68rem; border-block: 1px solid var(--line); }
.article-header .community-rating-link { order: -1; text-decoration: none; }
.article-header .community-stars > span { color: #6a851e; }
.article-workspace { padding-block: clamp(.9rem,2.2vw,1.55rem) 1.25rem; }
.article-body { min-width: 0; }
.article-body section + section { margin-top: 1.25rem; }
.drawing-description p { white-space: normal; overflow-wrap: anywhere; max-width: 85ch; line-height: 1.72; margin: .7rem 0; }
.article-body h2, .community-area h2 { font-size: clamp(1.55rem,2.8vw,2rem); margin-bottom: 1rem; }
.schematic-stage { margin: 0 0 1.1rem; overflow: hidden; background: #fcfcf9; border: 1px solid var(--line); border-radius: 7px; }
.schematic-stage a { position: relative; display: grid; place-items: center; min-height: clamp(180px,27vw,312px); padding: .65rem 1rem 1.25rem; }
.schematic-stage img { width: auto; max-width: 100%; max-height: clamp(160px,24vw,286px); height: auto; object-fit: contain; }
.schematic-stage .enlarge { position: absolute; display: inline-flex; gap: .35rem; align-items: center; bottom: .5rem; right: .5rem; color: var(--ink); background: #ffffffed; padding: .15rem .4rem; border-radius: 3px; font-size: .73rem; }
.schematic-stage .enlarge span:first-child { font-size: 1.02rem; }
.return-topic { display: inline-grid; gap: .15rem; border-left: 3px solid #8fb339; padding: .55rem .9rem; margin-top: .9rem; color: var(--muted); font-size: .8rem; text-decoration: none; }
.return-topic > span { font-size: .98rem; font-weight: 700; color: var(--ink); }
.community-area { padding-bottom: clamp(2.8rem,5vw,5rem); }
.drawing-files { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.attachment-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.attachment-thumb { width: 48px; height: 43px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; display: grid; place-content: center; background: #fafbf7; }
.attachment-thumb img { width: 100%; height: 100%; object-fit: contain; }
.attachment-icon { position: relative; display: grid; place-items: center; width: 34px; height: 38px; margin-inline: auto; border: 1.8px solid #5d7445; color: #4a6133; border-radius: 3px 7px 3px 3px; font: 600 .61rem/1 var(--mono); }
.attachment-icon::after { content: ''; position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; background: linear-gradient(45deg, #d3dfbf 45%, #5d7445 48%, white 62%); }
.picture-icon { height: 27px; border-radius: 3px; }
.picture-icon::before { content: ''; width: 64%; height: 35%; border-left: 2px solid; border-top: 2px solid; transform: translate(0,4px) skew(-18deg,-18deg); }
.picture-icon::after { top: 4px; left: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.attachment-info { display: grid; gap: .15rem; min-width: 0; overflow-wrap: anywhere; }
.attachment-info strong { font-size: .99rem; line-height: 1.22; }
.attachment-info small { font-size: .79rem; color: var(--muted); }
.attachment-info .original-name { font-size: .72rem; }
.download-link { gap: .35rem; min-height: 38px; padding: .42rem .88rem; border-radius: 5px; font-size: .88rem; }
.filters { display: flex; align-items: end; gap: .9rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.filters label { flex: 1; min-width: 0; display: grid; gap: .28rem; font-size: .83rem; font-weight: 600; }
.filters label:first-child { flex: 1.6; }
.filters button { min-height: 45px; }
.result-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 2rem 0 .7rem; }
.result-heading h2 { font-size: 1.8rem; }
.result-heading a { font-size: .9rem; }
.drawing-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; list-style: none; padding: 0; margin: 0; }
.drawing-results li { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.drawing-results a { min-height: 5.4rem; height: 100%; display: flex; align-items: center; gap: 1rem; padding: .55rem .9rem .55rem .55rem; text-decoration: none; }
.drawing-results img { flex: none; width: 85px; height: 62px; object-fit: cover; border-radius: 3px; }
.row-copy { display: grid; flex: 1; gap: .12rem; min-width: 0; }
.row-copy strong { line-height: 1.22; overflow-wrap: anywhere; }
.row-copy small { color: var(--muted); font-size: .76rem; }
.pages { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.pages a, .back { color: var(--accent); font-size: .9rem; font-weight: 600; }
.pages span { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); }
.reading { max-width: 850px; }
.reading > h1 { margin: .15em 0 .55em; }
.back { display: inline-block; margin-bottom: 1.1rem; }
.news-item { border-top: 1px solid var(--line); padding-block: 1.35rem; }
.news-item h2 { font-size: clamp(1.7rem,3vw,2.25rem); }
.news-item small, .muted { color: var(--muted); }
.eyebrow { font: 600 .78rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ad { padding-block: 1rem; color: var(--muted); }

.service-page h1 { font-size: clamp(2.7rem,5vw,4.25rem); }
.service-page form { accent-color: var(--accent); }
@media(max-width:980px) {
  .header-inner { gap: 1.5rem; }
  .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-copy { width: 60%; }
  .site-navigation, .head-actions, .main-nav { gap: 1rem; }
  .brand img { width: 119px; }
  .drawing-results img { width: 65px; }
}
@media(max-width:790px) {
  .header-inner { min-height: 61px; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .7rem; min-height: 39px; color: var(--night-ink); background: transparent; border: 1px solid #65775d; font-size: .9rem; }
  .burger { width: 17px; height: 12px; border-block: 1.5px solid currentColor; position: relative; }
  .burger::after { content: ''; position: absolute; width: 100%; height: 1.5px; background: currentColor; top: 4px; }
  .site-navigation { flex-basis: 100%; flex-wrap: wrap; gap: .6rem 1.2rem; padding-block: .55rem .9rem; border-top: 1px solid var(--night-line); }
  .site-navigation .main-nav, .site-navigation .head-actions { flex-wrap: wrap; gap: .55rem 1.05rem; }
  .hero-inner { min-height: 355px; }
  .hero-copy { width: 81%; padding-block: 3.25rem; }
  .hero-art img { width: 100%; object-position: 68% center; }
  .hero-art::after { background: linear-gradient(90deg,#0d1711e8 5%,#0d1711ba 42%,#0d171144 80%); }
  .home-hero h1 { font-size: clamp(2.1rem,8.6vw,4.3rem); }
  .overline { font-size: .7rem; letter-spacing: .07em; }
  .stat-items { display: flex; gap: .75rem 1.2rem; flex-wrap: wrap; padding-block: 1rem; }
  .stat-items div { flex: 1 1 auto; padding: 0; border: 0; }
  .stat-items dt { font-size: .7rem; }
  .stat-items dd { font-size: 1.62rem; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-caption { padding: .75rem; gap: .65rem; }
  .category-photo { aspect-ratio: 1.55; }
  .footer-inner { align-items: flex-start; gap: 1.4rem; }

  .listing-hero::before { background-size: cover, cover; }
  .listing-hero h1 { max-width: 100%; }
  .drawing-results { grid-template-columns: minmax(0,1fr); }
  .filters { flex-wrap: wrap; }
  .filters label, .filters label:first-child { flex: 1 1 12rem; }
}
@media(max-width:460px) {
  .wrap { width: calc(100% - 34px); }
  .hero-inner { min-height: 315px; }
  .hero-copy { width: 100%; }
  .hero-search { margin-top: 1.7rem; }
  .hero-search button { padding: .4rem .7rem; }
  .hero-search button span { display: none; }
  .stat-items { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .85rem .6rem; }
  .stat-items div { grid-column: span 2; }
  .stat-items div:nth-child(n+4) { grid-column: span 3; }
  .section-title { align-items: baseline; gap: .8rem; }
  .section-title .text-link { font-size: .78rem; }
  .category-caption h3 { font-size: 1.03rem; }
  .category-foot .arrow { width: 24px; height: 24px; }
  .category-grid { gap: .65rem; }
  main { width: calc(100% - 12px); margin-block: 7px; }
  .attachment-row { grid-template-columns: 34px minmax(0,1fr) auto; gap: .5rem; }
  .attachment-thumb { width: 34px; height: 34px; }
  .attachment-icon { width: 25px; height: 31px; }
  .attachment-icon.picture-icon { height: 23px; }
  .download-link { padding-inline: .55rem; font-size: .8rem; }
  .footer-inner { flex-direction: column; }
  .drawing-results img { width: 64px; }

  .filters { display: grid; }
}
@media(prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive .55s ease-out both; }
  @keyframes arrive { from { opacity: .2; transform: translateY(9px); } to { opacity: 1; transform: none; } }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::after, *::before { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
