/* BKI — editorial engineering. Local system fonts; no external dependencies. */
:root {
  color-scheme: light;
  --paper: #f4f3ed;
  --ink: #132e38;
  --orange: #ca5736;
  --rust: #a33e24;
  --muted: #59696c;
  --line: #cdd1ca;
  --wash: #e8e9e1;
  --light-line: #41565d;
  --sans: Arial, Helvetica, system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: 40px;
  --ease: cubic-bezier(.2, .65, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }
::selection { background: var(--orange); color: #fff; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
a { color: inherit; text-decoration: none; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, input, select, textarea { border-radius: 0; }
button { padding: 0; border: 0; background: none; }
input, select, textarea { min-width: 0; max-width: 100%; }
textarea { resize: vertical; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
em, address { font-style: normal; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
:where(button, input, select, textarea):disabled { cursor: not-allowed; opacity: .45; }
section[id] { scroll-margin-top: 28px; }
.container { width: min(1360px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.mono, .eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 400; line-height: 1.6; letter-spacing: .055em; }
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset: 12px auto auto 20px; z-index: 100; padding: 14px 22px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 44px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; text-align: left; transition: color .2s ease; }
.text-link > span { font-size: 23px; font-weight: 400; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 56px; padding: 16px 24px; font-size: 16px; font-weight: 600; line-height: 1.4; text-align: left; transition: background .2s ease, color .2s ease; }
.button > span { font-size: 24px; line-height: 1; }
.button-dark { color: var(--paper); background: var(--ink); }
.button-orange { color: #fff; background: var(--orange); font-size: 19px; font-weight: 700; }

/* Masthead and hero */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand svg { width: 43px; height: 44px; }
.brand-name { font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.07em; }
.brand-caption { padding-left: 15px; border-left: 1px solid var(--line); font-size: 11px; line-height: 1.45; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 36px); }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; transition: color .2s ease; }
.header-contact { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 600; }
.header-contact span { font-size: 23px; }
.menu-toggle { display: none; }
.hero { padding-top: 36px; }
.hero-top, .hero-bottom, .section-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.hero-location, .section-aside { color: var(--muted); text-align: right; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--orange); }
.hero-heading { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: end; gap: 48px; margin: 36px 0 44px; }
.hero h1 { font-size: clamp(100px, 8.1vw, 120px); line-height: .98; font-weight: 500; letter-spacing: -.072em; }
.hero h1 span { color: var(--orange); }
.hero-intro { padding-bottom: 5px; }
.hero-intro p { margin-bottom: 23px; font-size: 16px; line-height: 1.65; }
.hero-visual { position: relative; height: 480px; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.hero-image { width: 68%; height: 100%; margin-left: auto; object-fit: contain; object-position: center; background: #102730; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--ink), rgb(19 46 56 / .9) 24%, transparent 32%); }
.hero-image-label { position: absolute; inset: 28px auto auto 32px; z-index: 2; max-width: calc(32% - 64px); padding: 6px 0; background: var(--ink); }
.hero-caption { position: absolute; inset: auto auto 32px 32px; z-index: 2; display: flex; flex-direction: column; align-items: start; gap: 28px; width: calc(32% - 64px); }
.hero-caption .mono { display: block; margin-bottom: 8px; }
.hero-caption h2 { font-size: 32px; line-height: 1.1; letter-spacing: -.04em; }
.circle-link { display: grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; border: 1px solid rgb(255 255 255 / .75); border-radius: 50%; font-size: 30px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.hero-bottom { min-height: 64px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.hero-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }

/* Open, unboxed project index */
.section { padding-block: 112px; }
.section-top { margin-bottom: 36px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 48px; }
.section-heading h2, .bureau-copy h2 { font-size: clamp(42px, 4.5vw, 64px); line-height: 1.03; letter-spacing: -.055em; }
.section-intro { flex: 0 1 350px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.project-tools { display: flex; align-items: stretch; justify-content: space-between; gap: 28px; padding-block: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 4px; }
.filter { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 17px; font-size: 14px; line-height: 1.4; transition: background .2s ease, color .2s ease; }
.filter.active, .filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filter sup { align-self: start; font-family: var(--mono); font-size: 10px; line-height: 1.6; }
.project-search { display: flex; align-items: center; gap: 10px; flex: 0 1 265px; min-width: 220px; border-bottom: 1px solid var(--line); }
.project-search svg { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.project-search input { width: 100%; min-height: 44px; padding: 10px 4px; background: transparent; border: 0; font-size: 16px; }
.project-search:focus-within { border-color: var(--orange); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.results-status { min-height: 18px; margin: 16px 0 24px; color: var(--muted); font-size: 10px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 52px; }
.project-card { min-width: 0; }
.project-open { display: block; width: 100%; height: 100%; text-align: left; }
.project-media { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--wash); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.project-badge { position: absolute; inset: 18px auto auto 18px; max-width: calc(100% - 36px); padding: 6px 9px; color: var(--ink); background: var(--paper); font-size: 10px; line-height: 1.4; }
.project-arrow { position: absolute; inset: auto 18px 18px auto; display: grid; place-items: center; width: 44px; height: 44px; background: var(--paper); color: var(--ink); font-size: 26px; transition: color .2s ease, background .2s ease, transform .25s var(--ease); }
.project-card-meta { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: baseline; gap: 14px; margin-top: 20px; }
.project-card-meta .mono { color: var(--rust); font-size: 11px; }
.project-card-meta h3 { font-size: clamp(23px, 2.15vw, 31px); line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
.project-open > p { margin: 10px 0 0 88px; max-width: 52ch; color: var(--muted); font-size: 14px; line-height: 1.65; }
.is-drawing .project-media { background-color: #e9ebe5; background-image: linear-gradient(rgb(19 46 56 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(19 46 56 / .045) 1px, transparent 1px); background-size: 24px 24px; }
.is-drawing .project-media img { padding: 44px 20px 30px; object-fit: contain; mix-blend-mode: multiply; }
.project-open:focus-visible .project-arrow { background: var(--orange); color: #fff; }
.more-projects { display: flex; justify-content: center; }
.more-projects > button { min-width: 240px; justify-content: center; margin-top: 44px; }
.empty-state { padding: 76px 24px; border-bottom: 1px solid var(--line); text-align: center; }
.empty-state h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.035em; }
.empty-state p { margin: 12px 0 28px; color: var(--muted); }
.portfolio-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.portfolio-foot p { font-size: 12px; color: var(--muted); }
noscript p { padding: 24px 0; }
noscript a { text-decoration: underline; }

/* Dark expertise spread, ruled service rows */
.expertise-section { background: var(--ink); color: var(--paper); }
.expertise-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 80px; }
.expertise-intro h2 { margin: 32px 0 28px; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.05em; }
.expertise-intro em { color: #e99675; }
.expertise-intro > p:not(.eyebrow) { max-width: 42ch; color: #bdc8c8; }
.expertise-intro .text-link { margin-top: 30px; }
.services-list { border-top: 1px solid var(--light-line); }
.services-list details { border-bottom: 1px solid var(--light-line); }
.services-list summary { display: grid; grid-template-columns: 28px minmax(0, 1fr) 24px; align-items: center; gap: 14px; min-height: 93px; padding-block: 24px; list-style: none; cursor: pointer; }
.services-list summary::-webkit-details-marker { display: none; }
.services-list summary::marker { content: ""; }
.service-number { color: #a6b9bd; }
.services-list h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.03em; overflow-wrap: anywhere; }
.details-icon { position: relative; width: 20px; height: 20px; }
.details-icon::before, .details-icon::after { content: ""; position: absolute; inset: 9px 2px auto; height: 1px; background: currentColor; }
.details-icon::after { transform: rotate(90deg); transition: transform .2s ease; }
details[open] .details-icon::after { transform: rotate(0); }
details[open] .service-number { color: #e99675; }
.service-description { padding: 0 38px 30px 42px; color: #bdc8c8; }
.service-description p { margin-bottom: 22px; font-size: 15px; line-height: 1.75; }
.service-description .mono { display: block; font-size: 10px; color: #e99675; }

/* Bureau drawing plate and process */
.bureau-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.bureau-copy h2 { margin-bottom: 30px; font-size: clamp(36px, 3.35vw, 48px); }
.bureau-copy > p { max-width: 54ch; color: var(--muted); }
.bureau-copy .bureau-lead { margin-bottom: 20px; color: var(--ink); font-size: 18px; line-height: 1.6; }
.bureau-facts { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.bureau-facts strong { display: block; margin-bottom: 8px; font-size: clamp(28px, 3vw, 42px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
.bureau-facts > div:first-child strong { font-size: clamp(26px, 2.7vw, 38px); white-space: nowrap; }
.bureau-facts .mono { display: block; color: var(--muted); font-size: 9px; }
.bureau-figure { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 480px; padding: 28px; border: 1px solid #cdd5cd; background-color: #e9ede5; background-image: linear-gradient(rgb(19 46 56 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(19 46 56 / .06) 1px, transparent 1px), linear-gradient(rgb(19 46 56 / .025) 1px, transparent 1px), linear-gradient(90deg, rgb(19 46 56 / .025) 1px, transparent 1px); background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; }
.blueprint-label { display: flex; align-items: center; gap: 12px; font-size: 10px; }
.blueprint-label::before { content: "+"; font-size: 24px; line-height: 1; color: var(--rust); }
.bureau-figure img { width: 100%; height: auto; max-height: 360px; object-fit: contain; mix-blend-mode: multiply; }
.bureau-figure figcaption { padding-top: 14px; border-top: 1px solid #bbc8bf; font-size: 10px; }
.recognition { display: flex; flex-wrap: wrap; align-items: baseline; gap: 24px 40px; margin-top: 48px; margin-bottom: 80px; padding-top: 26px; border-top: 1px solid var(--line); }
.recognition > div { flex: 1 1 360px; min-width: 0; }
.recognition .mono { color: var(--rust); }
.recognition > div h3 { margin-top: 10px; }
.recognition > .mono { flex: 0 1 160px; color: var(--rust); }
.recognition h3 { flex: 1 1 240px; font-size: 26px; line-height: 1.2; letter-spacing: -.035em; }
.recognition p:not(.mono) { flex: 1 1 360px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.process-section { padding-top: 0; }
.process-section .container { padding-top: 64px; border-top: 1px solid var(--line); }
.process-section .eyebrow { margin-bottom: 28px; }
.process-section h2 { font-size: clamp(38px, 4vw, 56px); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.process-grid article { padding-top: 20px; border-top: 1px solid var(--ink); }
.process-grid article > .mono { color: var(--rust); }
.process-grid h3 { margin: 28px 0 12px; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.035em; }
.process-grid p { max-width: 30ch; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Contact spread */
.contact-section { background: var(--wash); border-top: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 96px; }
.contact-copy h2 { margin: 32px 0 26px; font-size: clamp(42px, 4.1vw, 60px); line-height: 1.04; letter-spacing: -.055em; }
.contact-copy em { color: var(--rust); }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-email { display: flex; align-items: baseline; gap: 24px; width: fit-content; max-width: 100%; margin: 36px 0 10px; border-bottom: 1px solid var(--ink); font-size: clamp(25px, 2.8vw, 40px); line-height: 1.35; letter-spacing: -.04em; overflow-wrap: anywhere; }
.contact-email span { flex-shrink: 0; }
.contact-phone { display: inline-flex; align-items: center; min-height: 44px; font-size: 21px; letter-spacing: -.025em; }
.contact-copy address { margin-top: 24px; color: var(--muted); font-size: 14px; }
.brief-form { padding-top: 4px; min-width: 0; }
.brief-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.brief-form h3 { margin-bottom: 28px; font-size: 27px; letter-spacing: -.03em; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.brief-form label { display: block; margin-bottom: 26px; font-family: var(--mono); font-size: 11px; line-height: 1.5; }
.brief-form :is(input, select, textarea) { display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid #96a39e; font-family: var(--sans); font-size: 16px; line-height: 1.5; }
.brief-form select { padding-right: 24px; }
.brief-form option { background: var(--paper); color: var(--ink); }
.brief-form textarea { min-height: 96px; }
.brief-form :is(input, select, textarea):focus { border-color: var(--orange); }
.brief-form :is(input, textarea):user-invalid { border-color: var(--rust); border-bottom-width: 2px; }
.brief-form [readonly] { padding: 12px; background: var(--paper); }
.brief-form fieldset > .button { width: 100%; }
.form-note { margin-top: 16px; max-width: 56ch; font-size: 12px; line-height: 1.6; color: var(--muted); }
.letter-result { margin-top: 28px; padding-top: 24px; border-top: 1px solid #96a39e; }
.letter-result > p { margin-bottom: 20px; font-size: 14px; }
.letter-result label { margin-bottom: 12px; }
.site-footer { background: var(--ink); color: var(--paper); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 48px; }
.site-footer .brand-caption { border-color: var(--light-line); }
.footer-top > p { color: #bdc8c8; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; border-top: 1px solid var(--light-line); color: #bdc8c8; font-size: 10px; }

/* Native modal: only [open] establishes layout, preserving closed semantics. */
.project-dialog { position: fixed; inset: 0; width: min(1180px, calc(100% - 64px)); max-width: none; max-height: 90vh; max-height: 90dvh; margin: auto; padding: 0 32px 32px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 100px rgb(0 0 0 / .25); }
.project-dialog[open] { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; column-gap: 36px; }
.project-dialog::backdrop { background: rgb(6 23 31 / .8); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; top: 10px; z-index: 3; grid-column: 1 / -1; justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; margin: 12px -16px 14px 0; background: var(--ink); color: #fff; font-size: 32px; line-height: 1; }
.dialog-gallery, .dialog-copy { min-width: 0; }
#dialog-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #e3e6e0; }
#dialog-image.is-drawing { padding: 16px; object-fit: contain; background: #fff; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.gallery-controls button { width: 48px; height: 44px; border: 1px solid var(--line); font-size: 24px; }
.gallery-caption { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.gallery-caption:empty { display: none; }
.gallery-original { margin-top: 6px; font-size: 12px; font-weight: 400; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; margin-top: 12px; padding: 6px 5px 14px; scrollbar-width: thin; scrollbar-color: var(--muted) var(--wash); }
.gallery-thumb { flex: 0 0 80px; height: 58px; padding: 3px; border: 1px solid var(--line); background: var(--wash); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb.is-active, .gallery-thumb[aria-pressed="true"] { border: 2px solid var(--orange); padding: 2px; background: var(--paper); }
.dialog-copy .eyebrow { color: var(--rust); font-size: 10px; }
.dialog-copy h2 { margin: 16px 0 22px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.045em; overflow-wrap: anywhere; }
#dialog-description { color: var(--muted); font-size: 15px; line-height: 1.7; white-space: pre-line; }
.dialog-facts { margin-top: 26px; border-top: 1px solid var(--line); }
.dialog-facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.dialog-facts dt { color: var(--muted); }
.dialog-facts dd { overflow-wrap: anywhere; }
.dialog-source { margin: 22px 0; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.dialog-copy .button { width: 100%; font-size: 14px; }

@media (hover: hover) {
  .main-nav a:hover, .header-contact:hover, .text-link:hover, .contact-phone:hover, .contact-email:hover, .hero-bottom a:hover { color: var(--rust); }
  .expertise-section .text-link:hover, .site-footer .text-link:hover { color: #e99675; }
  .circle-link:hover { color: var(--ink); background: var(--paper); transform: translate(2px, -2px); }
  .filter:not(.active):not([aria-pressed="true"]):hover { background: var(--wash); }
  .project-open:hover .project-media img { transform: scale(1.035); }
  .is-drawing .project-open:hover .project-media img { transform: scale(1.015); }
  .project-open:hover .project-arrow { color: #fff; background: var(--orange); transform: translate(2px, -2px); }
  .project-open:hover h3 { color: var(--rust); }
  .services-list summary:hover { color: #e99675; }
  .button-dark:hover, .dialog-close:hover { background: #244954; }
  .button-orange:hover { background: var(--rust); }
  .gallery-controls button:not(:disabled):hover { background: var(--ink); color: var(--paper); }
  .gallery-thumb:hover { border-color: var(--ink); }
}

@media (max-width: 1199px) {
  :root { --gutter: 32px; }
  .header-inner { gap: 24px; }
  .brand-caption { font-size: 10px; }
  .header-contact { gap: 12px; }
  .hero-heading { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .hero h1 { font-size: clamp(78px, 8.4vw, 100px); }
  .hero-intro p { font-size: 14px; }
  .expertise-layout, .bureau-layout { gap: 40px; }
  .contact-layout { gap: 48px; }
  .project-tools { flex-wrap: wrap; gap: 12px; }
  .project-search { flex-grow: 1; max-width: 320px; }
  .process-grid { gap: 24px; }
  .bureau-figure { min-height: 420px; }
}

/* Keep this breakpoint in sync with app.js's 981px menu reset. */
@media (max-width: 980px) {
  .header-inner { min-height: 84px; }
  .header-contact { margin-left: auto; }
  .menu-toggle { position: relative; display: block; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--line); }
  .menu-toggle span { position: absolute; left: 10px; right: 10px; top: 17px; height: 1px; background: currentColor; transition: transform .2s ease, top .2s ease; }
  .menu-toggle span + span { top: 25px; }
  .menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
  .menu-toggle[aria-expanded="true"] span { top: 21px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span + span { transform: rotate(-45deg); }
  .main-nav { position: absolute; inset: 100% 0 auto; display: none; padding: 16px var(--gutter) 24px; max-height: calc(100dvh - 84px); overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgb(19 46 56 / .08); }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { min-height: 58px; border-bottom: 1px solid var(--line); font-size: 22px; letter-spacing: -.025em; }
  .hero-heading { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(70px, 10.5vw, 100px); }
  .hero-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
  .hero-intro p { margin-bottom: 0; font-size: 16px; }
  .hero-intro .text-link { flex-shrink: 0; }
  .hero-visual { height: auto; }
  .hero-image { width: 100%; max-width: 880px; height: auto; margin-inline: auto; object-fit: contain; }
  .hero-overlay { display: none; }
  .hero-image-label { inset: 16px auto auto 20px; max-width: calc(100% - 40px); padding: 6px 10px; }
  .hero-caption { position: relative; inset: auto; width: 100%; padding: 24px; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; background: var(--ink); }
  .hero-bottom > span:nth-child(2) { display: none; }
  .section { padding-block: 80px; }
  .section-heading { gap: 32px; }
  .section-intro { flex-basis: 300px; font-size: 15px; }
  .section-intro br { display: none; }
  .project-grid { gap: 40px 24px; }
  .project-card-meta { grid-template-columns: 1fr; gap: 6px; margin-top: 16px; }
  .project-open > p { margin-left: 0; }
  .expertise-layout, .bureau-layout { grid-template-columns: 1fr; gap: 44px; }
  .expertise-intro h2 { font-size: 52px; }
  .expertise-intro > p:not(.eyebrow) { max-width: 58ch; }
  .bureau-copy h2 { font-size: 48px; }
  .bureau-copy > p { max-width: 68ch; }
  .bureau-facts { max-width: 580px; }
  .bureau-figure { min-height: 460px; }
  .bureau-figure img { max-height: 380px; }
  .process-section { padding-top: 0; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .process-grid p { max-width: 40ch; }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-copy h2 { font-size: 40px; }
  .contact-email { gap: 12px; font-size: 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .project-dialog { width: calc(100% - 48px); }
  .project-dialog[open] { grid-template-columns: 1fr; }
  .dialog-copy { margin-top: 28px; }
  #dialog-image { max-height: 48vh; max-height: 48dvh; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 20px; }
  .header-inner { min-height: 76px; gap: 16px; }
  .brand { gap: 10px; }
  .brand svg { width: 33px; height: 36px; }
  .brand-name { font-size: 32px; }
  .brand-caption { padding-left: 10px; font-size: 9px; }
  .header-contact { display: none; }
  .main-nav { max-height: calc(100dvh - 76px); }
  .hero { padding-top: 26px; }
  .hero-top { flex-wrap: wrap; gap: 8px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .025em; }
  .hero-location { font-size: 9px; text-align: left; }
  .hero-heading { margin: 28px 0 30px; gap: 24px; }
  .hero h1 { font-size: clamp(43px, 10.7vw, 68px); line-height: 1.02; letter-spacing: -.065em; }
  .hero-intro { display: block; }
  .hero-intro p { font-size: 14px; line-height: 1.65; }
  .hero-intro .text-link { margin-top: 16px; }
  .hero-image-label { inset: 16px auto auto 16px; max-width: calc(100% - 32px); font-size: 9px; }
  .hero-caption { padding: 20px; gap: 16px; }
  .hero-caption .mono { font-size: 9px; }
  .hero-caption h2 { font-size: 27px; letter-spacing: -.04em; }
  .circle-link { flex-basis: 44px; width: 44px; height: 44px; font-size: 26px; }
  .hero-bottom { align-items: center; gap: 14px; min-height: 62px; font-size: 8px; letter-spacing: .015em; }
  .hero-bottom > span { max-width: 160px; }
  .hero-bottom a { flex-shrink: 0; }
  .section { padding-block: 64px; }
  .section-top { align-items: start; margin-bottom: 26px; }
  .section-aside { max-width: 150px; font-size: 8px; }
  .eyebrow { font-size: 10px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading h2, .bureau-copy h2 { font-size: clamp(34px, 8.5vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
  .section-intro { max-width: 38ch; margin-top: 22px; font-size: 14px; }
  .project-tools { display: block; padding-block: 12px 16px; }
  .filters { gap: 4px; }
  .filter { padding: 10px 12px; font-size: 12px; }
  .project-search { max-width: none; min-width: 0; margin-top: 14px; }
  .results-status { margin: 14px 0 22px; }
  .project-grid { grid-template-columns: 1fr; gap: 36px; }
  .project-badge { inset: 12px auto auto 12px; max-width: calc(100% - 24px); font-size: 8px; }
  .project-arrow { right: 12px; bottom: 12px; }
  .project-card-meta h3 { font-size: 27px; }
  .project-open > p { font-size: 13px; }
  .more-projects > button { width: 100%; min-width: 0; margin-top: 32px; }
  .is-drawing .project-media img { padding: 38px 14px 24px; }
  .portfolio-foot { flex-direction: column; align-items: start; gap: 12px; margin-top: 36px; }
  .empty-state { padding: 44px 0; }
  .expertise-layout, .bureau-layout { gap: 34px; }
  .expertise-intro h2 { margin-top: 26px; font-size: clamp(32px, 8vw, 46px); }
  .expertise-intro > p:not(.eyebrow) { font-size: 15px; }
  .services-list summary { grid-template-columns: 22px minmax(0, 1fr) 20px; gap: 10px; min-height: 82px; padding-block: 20px; }
  .services-list h3 { font-size: clamp(19px, 5.2vw, 27px); }
  .service-number { font-size: 10px; }
  .service-description { padding: 0 0 24px 32px; }
  .service-description p { font-size: 14px; }
  .service-description .mono { font-size: 9px; }
  .bureau-copy .bureau-lead { font-size: 17px; }
  .bureau-copy > p { font-size: 14px; }
  .bureau-facts { gap: 20px; margin-top: 28px; }
  .bureau-facts strong { font-size: 28px; }
  .bureau-facts > div:first-child strong { font-size: 26px; }
  .bureau-facts .mono { font-size: 8px; }
  .bureau-figure { min-height: 320px; gap: 24px; padding: 18px; }
  .blueprint-label, .bureau-figure figcaption { font-size: 9px; }
  .recognition { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 32px; margin-bottom: 64px; padding-top: 22px; }
  .recognition > div, .recognition > .mono, .recognition h3, .recognition p:not(.mono) { flex: none; }
  .recognition h3 { font-size: 24px; }
  .process-section { padding-top: 0; }
  .process-section .container { padding-top: 44px; }
  .process-grid { gap: 28px 20px; }
  .process-grid h3 { margin-top: 20px; font-size: 20px; overflow-wrap: anywhere; }
  .process-grid p { font-size: 13px; }
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .contact-copy h2 { margin-top: 26px; font-size: clamp(36px, 9vw, 52px); }
  .contact-copy > p:not(.eyebrow) { font-size: 14px; }
  .contact-email { margin-top: 26px; font-size: clamp(27px, 7.2vw, 38px); }
  .contact-phone { font-size: 20px; }
  .brief-form { padding-top: 28px; border-top: 1px solid #b7c0b8; }
  .brief-form h3 { font-size: 26px; }
  .footer-top { flex-wrap: wrap; align-items: start; padding-block: 36px; gap: 24px; }
  .footer-top > p { flex: 1 0 100%; order: 3; font-size: 13px; }
  .footer-top .text-link { margin-left: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 9px; }
  .project-dialog { width: calc(100% - 24px); padding: 0 16px 24px; }
  .dialog-close { margin-right: 0; }
  .dialog-copy h2 { font-size: 32px; }
  #dialog-description { font-size: 14px; }
  .dialog-facts > div { grid-template-columns: 1fr 1fr; gap: 12px; font-size: 12px; }
  .gallery-thumb { flex-basis: 70px; height: 52px; }
  .dialog-copy .button { padding-inline: 16px; }
}

@media (max-width: 359px) {
  .brand-caption { display: none; }
  .hero h1 { font-size: 39px; }
  .hero-intro br { display: none; }
  .hero-caption h2 { font-size: 23px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid p { max-width: none; }
  .section-aside { max-width: 115px; }
  .contact-email { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .project-open:hover .project-media img, .project-open:hover .project-arrow, .circle-link:hover { transform: none; }
}

@media (forced-colors: active) {
  .button, .circle-link, .filter, .project-arrow, .dialog-close { border: 1px solid ButtonText; }
  .filter[aria-pressed="true"], .gallery-thumb.is-active { outline: 2px solid Highlight; outline-offset: -3px; }
  .hero-caption, .hero-image-label { color: CanvasText; background: Canvas; }
  .status-dot { background: Highlight; forced-color-adjust: none; }
}
