:root {
  color-scheme: dark;
  --background: #101823;
  --section: #0c131d;
  --surface: #182332;
  --surface-hover: #23334a;
  --media: #263547;
  --text: #edf1f5;
  --muted: #aebacb;
  --border: #45556a;
  --control-border: #687a91;
  --accent: #d3b889;
  --accent-hover: #e4cda5;
  --accent-surface: #2b2a2d;
  --on-accent: #131a25;
  --sans: 'DM Sans', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --gutter: clamp(22px, 3.8vw, 65px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; background: var(--background); color: var(--text); font: 400 1rem/1.55 var(--sans); }
body.gallery-open { overflow: hidden; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
.frame { width: min(calc(100% - var(--gutter) * 2), 1536px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 12px; z-index: 15; background: var(--accent); padding: 9px 15px; color: var(--on-accent); }

.symbol { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; flex: 0 0 17px; color: inherit; }
.symbol-plus::before, .symbol-plus::after { content: ''; position: absolute; width: 11px; height: 1px; background: currentColor; }
.symbol-plus::after { transform: rotate(90deg); }
.symbol-grid::before { content: ''; position: absolute; width: 5px; height: 5px; background: currentColor; top: 2px; left: 2px; box-shadow: 8px 0 currentColor, 0 8px currentColor, 8px 8px currentColor; }
.symbol-list::before { content: ''; position: absolute; width: 13px; height: 1.5px; background: currentColor; box-shadow: 0 -5px currentColor, 0 5px currentColor; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--background); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark { display: grid; align-content: center; gap: 3px; width: 37px; height: 37px; padding-left: 8px; background: var(--surface); border: 1px solid var(--accent); color: var(--accent); }
.brand-mark i { height: 4px; width: 22px; background: currentColor; }
.brand-mark i:nth-child(2) { width: 16px; }
.brand-mark i:nth-child(3) { width: 4px; height: 6px; margin-top: -3px; }
.brand-word { display: grid; gap: 4px; line-height: .96; }
.brand-word strong { font-size: 1.22rem; font-weight: 700; letter-spacing: .1em; }
.brand-word small { font-size: .63rem; font-weight: 700; letter-spacing: .15em; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 17px; font-size: .93rem; font-weight: 600; transition: background .2s; }
.main-nav a:hover { background: var(--surface-hover); }
.header-location { justify-self: end; display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: .86rem; font-weight: 600; }
.location-mark { display: inline-block; width: 13px; height: 13px; flex: 0 0 13px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.location-mark::after { content: ''; display: block; position: absolute; width: 3px; height: 3px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: currentColor; border-radius: 50%; }
.menu-toggle { display: none; }

.showcase { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.29fr); align-items: center; gap: clamp(27px, 4vw, 72px); padding-block: clamp(43px, 5.3vw, 88px); }
.showcase-intro { position: relative; padding-bottom: 5px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow > span { width: 8px; height: 8px; background: currentColor; display: inline-block; flex: 0 0 8px; }
.showcase h1, .archive-heading h2, .approach h2, .detail-intro h1, .gallery-head h2, .not-found h1 {
  font-family: var(--sans); font-weight: 600; letter-spacing: -.091em; line-height: .9;
}
.showcase h1 { margin-block: 23px 26px; font-size: clamp(4rem, 8.75vw, 9.6rem); }
.showcase h1 em, .archive-heading h2 em, .approach h2 em, .gallery-head h2 em {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.045em;
}
.showcase h1 em { display: block; white-space: nowrap; color: var(--accent); }
.showcase-description { max-width: 280px; line-height: 1.59; font-size: 1.05rem; color: var(--muted); }
.archive-action { display: inline-flex; justify-content: center; align-items: center; gap: 11px; padding: 0 16px; margin-top: 27px; min-height: 52px; background: var(--accent); color: var(--on-accent); font-size: .95rem; font-weight: 600; transition: background .2s, color .2s; }
.archive-action:hover { background: var(--accent-hover); }

.feature { min-width: 0; }
.feature-stage { border: 1px solid var(--border); background: var(--surface); padding: 7px 7px 0; }
.feature-visual { position: relative; overflow: hidden; aspect-ratio: 1.62; background: var(--media); }
.feature-visual img, .phase-image img, .card-image img, .gallery-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, center); }
.feature-visual.portrait { background: repeating-linear-gradient(90deg, var(--media) 0, var(--media) calc(25% - 1px), var(--border) calc(25% - 1px), var(--border) 25%); }
.feature-visual.portrait img { object-fit: contain; }
.frame-corners { position: absolute; inset: 10px; pointer-events: none; opacity: .82; color: #f5f0e7; background:
  linear-gradient(currentColor,currentColor) left top / 17px 1px,
  linear-gradient(currentColor,currentColor) left top / 1px 17px,
  linear-gradient(currentColor,currentColor) right top / 17px 1px,
  linear-gradient(currentColor,currentColor) right top / 1px 17px,
  linear-gradient(currentColor,currentColor) left bottom / 17px 1px,
  linear-gradient(currentColor,currentColor) left bottom / 1px 17px,
  linear-gradient(currentColor,currentColor) right bottom / 17px 1px,
  linear-gradient(currentColor,currentColor) right bottom / 1px 17px;
  background-repeat: no-repeat;
}
.feature-panel:not([hidden]), .phase-panel:not([hidden]) { animation: appear .3s ease-out; }
@keyframes appear { from { opacity: .45; } to { opacity: 1; } }
.feature-caption { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 10px 11px 12px; }
.feature-caption h2 { font-size: clamp(1.12rem, 2.1vw, 1.63rem); font-weight: 700; letter-spacing: -.047em; line-height: 1.14; }
.feature-caption p { font-size: .84rem; color: var(--muted); margin-top: 5px; }
.feature-caption p span { margin-inline: 3px; color: var(--accent); }
.project-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; background: transparent; border: 1px solid var(--accent); min-height: 43px; color: var(--accent); white-space: nowrap; font-size: .89rem; font-weight: 700; transition: background .2s, color .2s; }
.project-action:hover { background: var(--accent); color: var(--on-accent); }
.feature-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.feature-index button { min-width: 0; display: flex; gap: 7px; align-items: center; padding: 5px 7px 5px 5px; min-height: 55px; border: 1px solid var(--border); background: transparent; cursor: pointer; text-align: left; transition: background .2s, border-color .2s; }
.feature-index button:hover { border-color: var(--accent); }
.feature-index button[aria-pressed="true"] { background: var(--accent-surface); border-color: var(--accent); color: var(--accent); }
.feature-thumb { width: clamp(30px, 4vw, 51px); height: 39px; flex: 0 0 auto; overflow: hidden; background: var(--media); }
.feature-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-option-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.feature-option-copy strong { font-size: .82rem; letter-spacing: -.023em; line-height: 1.05; }
.feature-option-copy small { font-size: .72rem; color: var(--muted); }

.project-section { background: var(--section); color: var(--text); padding-block: clamp(64px, 7vw, 118px); }
.project-section :focus-visible { outline-color: var(--accent); }
.archive-heading { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: end; margin-bottom: 34px; }
.archive-heading h2 { font-size: clamp(5.25rem, 10vw, 11rem); }
.archive-heading h2 em, .gallery-head h2 em { color: var(--accent); }
.archive-heading p { max-width: 330px; color: var(--muted); justify-self: end; padding: 0 0 2px; }
.project-tools { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-block: 1px solid var(--control-border); padding-block: 11px; }
.filters, .project-tool-meta { display: flex; align-items: center; gap: 7px; }
.filters button, .project-tools select { min-height: 44px; font-size: .9rem; font-weight: 600; }
.filters button { background: transparent; border: 1px solid var(--control-border); padding-inline: 14px; cursor: pointer; white-space: nowrap; }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"], .view-switch button[aria-pressed="true"] { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.project-tool-meta { gap: 11px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; pointer-events: none; top: 16px; right: 13px; width: 7px; height: 7px; border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg); }
.project-tools select { appearance: none; border: 1px solid var(--control-border); background: var(--section); color: var(--text); min-width: 122px; padding: 0 30px 0 11px; border-radius: 0; cursor: pointer; }
.view-switch { display: flex; gap: 0; }
.view-switch button { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border: 1px solid var(--control-border); background: transparent; cursor: pointer; }
.view-switch button + button { border-left: 0; }
.view-switch button:hover { color: var(--accent); }
.view-switch button[aria-pressed="true"]:hover { color: var(--on-accent); }
.archive-count { color: var(--muted); font-size: .87rem; padding: 13px 0 10px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.project-card { min-width: 0; }
.project-card > a { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--control-border); background: var(--surface); transition: border-color .2s, background .2s; }
.project-card a:hover { border-color: var(--accent); background: var(--surface-hover); }
.card-image { position: relative; aspect-ratio: 1.42; overflow: hidden; background: var(--media); }
.card-image img, .gallery-image img, .next-photo img { transition: transform .45s cubic-bezier(.22,.6,.36,1); }
.project-card a:hover img, .gallery-tile:hover img, .next-project:hover img { transform: scale(1.04); }
.card-record { padding: 13px; flex: 1; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.card-type { display: inline-flex; align-items: center; grid-column: 1; grid-row: 1; color: var(--muted); font-size: .79rem; font-weight: 600; }
.card-title { grid-column: 1; min-width: 0; }
.card-title h3 { font-size: clamp(1.13rem, 1.95vw, 1.7rem); font-weight: 600; letter-spacing: -.049em; line-height: 1.1; }
.card-title p { color: var(--muted); font-size: .84rem; margin-top: 5px; }
.card-units { width: max-content; font-size: .81rem; color: var(--accent); grid-column: 2; grid-row: 1; }
.card-year { display: none; }
.card-open { grid-column: 2; grid-row: 2; align-self: center; justify-self: end; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--control-border); transition: background .2s, color .2s; }
.project-card a:hover .card-open { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.project-grid[data-layout="list"] { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--control-border); }
[data-layout="list"] .project-card a { display: grid; grid-template-columns: 95px minmax(0,1fr); align-items: center; border-width: 0 0 1px; }
[data-layout="list"] .card-image { aspect-ratio: 1.3; margin: 7px 0 7px 7px; }
[data-layout="list"] .card-record { display: grid; grid-template-columns: minmax(0,2fr) minmax(95px,1fr) 80px 54px 32px; align-items: center; padding: 12px 16px; }
[data-layout="list"] .card-record > * { grid-column: auto; grid-row: 1; }
[data-layout="list"] .card-title { grid-column: 1; }
[data-layout="list"] .card-type { grid-column: 2; }
[data-layout="list"] .card-year { display: block; font-size: .84rem; color: var(--muted); }
.empty-state { padding: 27px 0 50px; color: var(--muted); }
.empty-state button { margin-top: 12px; padding: 8px 10px; border: 1px solid var(--control-border); background: transparent; cursor: pointer; color: var(--accent); }

.approach { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.3fr); gap: clamp(28px, 6vw, 95px); align-items: center; padding-block: clamp(64px, 8vw, 121px); }
.approach h2 { font-size: clamp(4.2rem, 8.6vw, 9.1rem); margin-block: 19px 28px; }
.approach h2 em { color: var(--accent); }
.phase-index { display: grid; }
.phase-index button { min-height: 51px; display: flex; align-items: center; justify-content: space-between; font-size: .98rem; font-weight: 600; padding: 0 12px; border: 0; border-top: 1px solid var(--border); background: transparent; cursor: pointer; text-align: left; }
.phase-index button:last-child { border-bottom: 1px solid var(--border); }
.phase-index button:hover { background: var(--surface-hover); }
.phase-index button[aria-pressed="true"] { background: var(--accent-surface); color: var(--accent); box-shadow: inset 2px 0 var(--accent); }
.phase-index button[aria-pressed="true"] .symbol-plus::after { display: none; }
.phase-stage { display: grid; gap: 17px; }
.phase-panel { padding: 7px 7px 0; background: var(--surface); border: 1px solid var(--border); }
.phase-image { aspect-ratio: 1.58; background: var(--media); overflow: hidden; }
.phase-image.contain { background: #f8f8f5; }
.phase-image.contain img { object-fit: contain; }
.phase-copy { padding: 13px 12px 16px; }
.phase-copy span { display: block; color: var(--muted); font-size: .82rem; font-weight: 700; margin-bottom: 6px; }

.site-footer { padding-top: clamp(38px, 5vw, 79px); background: var(--section); border-top: 1px solid var(--border); }
.footer-main, .footer-bottom { display: flex; justify-content: space-between; align-items: end; gap: 15px; }
.footer-main { padding-bottom: 26px; }
.footer-title { line-height: .94; display: grid; }
.footer-title strong { font-size: clamp(3.5rem, 12vw, 11rem); font-weight: 600; letter-spacing: -.093em; color: var(--accent); }
.footer-title span { font: 400 clamp(1.7rem, 4.5vw, 4rem)/.96 var(--serif); letter-spacing: -.04em; }
.footer-side { display: grid; gap: 7px; font-weight: 600; font-size: .93rem; }
.footer-side p { display: flex; align-items: center; gap: 8px; }
.footer-side a, .footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }
.footer-side a:hover, .footer-bottom a:hover { text-decoration-thickness: 2px; }
.footer-bottom { min-height: 57px; border-top: 1px solid var(--border); align-items: center; font-size: .85rem; }

.detail-hero { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.29fr); gap: clamp(25px, 4vw, 63px); align-items: center; padding-block: clamp(30px, 5.7vw, 83px); }
.detail-back { margin-bottom: 24px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 2px; }
.detail-intro h1 { font-size: clamp(3.1rem, 6.6vw, 7.3rem); overflow-wrap: anywhere; margin-top: 15px; }
.detail-summary { margin-block: 20px 24px; color: var(--muted); }
.project-facts { display: flex; flex-wrap: wrap; gap: 12px; }
.project-facts div { border-left: 1px solid var(--border); padding-left: 9px; }
.project-facts dt { color: var(--muted); font-size: .76rem; font-weight: 700; }
.project-facts dd { font-size: .91rem; font-weight: 600; }
.detail-cover { display: block; padding: 7px 7px 0; border: 1px solid var(--border); background: var(--surface); }
.detail-cover-photo { display: grid; place-items: center; background: var(--media); min-height: 160px; }
.detail-cover-photo img { max-height: 570px; object-fit: contain; }
.detail-cover-photo.portrait img { max-height: min(53vw, 570px); }
.detail-cover-label { min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 6px 10px; font-weight: 600; font-size: .85rem; }
.detail-cover-label .symbol { background: var(--accent); color: var(--on-accent); flex: 0 0 33px; width: 33px; height: 33px; }
.detail-cover:hover .symbol { background: var(--accent-hover); }
.detail-content { background: var(--section); color: var(--text); padding-block: clamp(45px, 6vw, 95px); }
.detail-content :focus-visible { outline-color: var(--accent); }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-bottom: 24px; }
.gallery-head h2 { font-size: clamp(3.75rem, 7.5vw, 8rem); }
.gallery-head p { color: var(--muted); font-size: .87rem; white-space: nowrap; }
.detail-gallery { display: grid; grid-template-columns: repeat(var(--gallery-columns, 3), minmax(0,1fr)); gap: 13px; }
.gallery-tile { border: 1px solid var(--control-border); }
.gallery-tile:hover { border-color: var(--accent); }
.gallery-image { aspect-ratio: 1.28; background: var(--media); overflow: hidden; }
.gallery-image.contain { background: #f8f8f5; }
.gallery-image.contain img { object-fit: contain; }
.gallery-tile > span { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 10px; min-height: 43px; font-size: .87rem; }
.next-project { padding-block: clamp(36px, 5vw, 67px); display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.next-project strong { display: block; color: var(--text); font-size: clamp(2rem, 5.5vw, 5.8rem); font-weight: 600; letter-spacing: -.078em; line-height: .95; margin-block: 8px; }
.next-project span, .next-project small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.next-project:hover strong { text-decoration: underline; text-underline-offset: .13em; text-decoration-thickness: .045em; }
.next-photo { width: min(28%, 320px); aspect-ratio: 1.65; flex-shrink: 0; overflow: hidden; }
.next-photo img { width: 100%; height: 100%; object-fit: cover; }
.not-found { padding-block: 100px; min-height: 55vh; }
.not-found h1 { font-size: clamp(3.5rem, 7vw, 7rem); }

.lightbox { padding: 0; border: 0; margin: auto; width: 100%; max-width: none; height: 100%; max-height: none; background: transparent; color: var(--text); overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #080e17f7; }
.lightbox :focus-visible { outline-color: var(--accent); }
.lightbox-frame { max-width: min(86vw, 1440px); display: grid; justify-items: center; gap: 9px; }
.lightbox-frame img { max-width: 100%; width: auto; height: auto; max-height: 76vh; max-height: 76dvh; object-fit: contain; }
.lightbox-frame figcaption { font-size: .91rem; text-align: center; margin-inline: 15px; }
.lightbox button { z-index: 1; width: 48px; height: 48px; border: 1px solid var(--control-border); background: var(--surface); color: var(--accent); cursor: pointer; font: 400 2rem/1 var(--sans); padding: 0 0 3px; }
.lightbox button:hover { background: var(--accent); color: var(--on-accent); }
.lightbox-bar { position: absolute; display: flex; align-items: center; justify-content: space-between; width: calc(100% - 42px); top: max(18px, env(safe-area-inset-top)); left: 21px; font-size: .88rem; font-weight: 600; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 21px; }
.lightbox-next { right: 21px; }

@media (max-width: 1040px) {
  .showcase { grid-template-columns: minmax(0,.86fr) minmax(0,1.27fr); }
  .showcase h1 { font-size: clamp(4.15rem, 8.8vw, 7.2rem); }
  .feature-index button { padding-right: 3px; }
}
@media (max-width: 850px) {
  .feature-thumb { display: none; }
  .feature-index button { padding-inline: 7px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: 17px; }
  html { scroll-padding-top: 68px; }
  .header-inner { min-height: 62px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; padding-left: 6px; }
  .brand-word strong { font-size: 1.11rem; }
  .brand-word small { font-size: .55rem; }
  .header-location { display: none; }
  .main-nav { flex: 1 1 100%; justify-content: space-between; }
  .menu-ready .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 0 0 12px; border: 0; background: transparent; font-size: .9rem; font-weight: 700; cursor: pointer; }
  .menu-glyph { width: 18px; height: 10px; border-block: 1px solid currentColor; }
  .menu-ready .main-nav { display: none; position: absolute; inset: 100% 0 auto 0; padding: 8px var(--gutter) 11px; background: var(--background); border-block: 1px solid var(--border); }
  .menu-ready .menu-toggle[aria-expanded="true"] + .main-nav { display: flex; }
  .main-nav a { padding-inline: 12px; }

  .showcase { grid-template-columns: minmax(0,1fr); gap: 23px; padding-block: 29px 32px; }
  .showcase-intro { padding: 0; }
  .eyebrow { font-size: .74rem; }
  .showcase h1 { margin-block: 11px 15px; font-size: clamp(3.95rem, 11.9vw, 6.85rem); line-height: .86; }
  .showcase-description { max-width: 325px; font-size: .99rem; }
  .archive-action { min-height: 44px; margin-top: 13px; padding-inline: 12px; font-size: .88rem; }
  .feature-stage { padding: 5px 5px 0; }
  .feature-visual { aspect-ratio: 1.56; }
  .feature-caption { padding: 8px 5px; min-height: 66px; }
  .feature-caption h2 { font-size: clamp(1.02rem, 4.25vw, 1.34rem); }
  .feature-caption p { font-size: .75rem; margin-top: 3px; }
  .feature-caption p span { margin-inline: 1px; }
  .project-action { padding-inline: 7px; font-size: .78rem; gap: 4px; }
  .feature-index { gap: 4px; margin-top: 5px; }
  .feature-index button { min-height: 49px; padding-inline: 6px; }
  .feature-thumb { display: block; width: 24px; height: 26px; }
  .feature-option-copy strong { font-size: .71rem; }
  .feature-option-copy small { font-size: .67rem; }

  .project-section { padding-block: 48px 57px; }
  .archive-heading { display: block; margin-bottom: 20px; }
  .archive-heading h2 { font-size: clamp(3.6rem, 12.5vw, 6rem); }
  .archive-heading p { padding-top: 12px; }
  .project-tools { flex-wrap: wrap; gap: 8px; }
  .project-tool-meta { justify-content: space-between; width: 100%; }
  .filters button { font-size: .82rem; padding-inline: 10px; }
  .project-tools select { font-size: .83rem; }
  .project-grid { gap: 7px; }
  .card-record { padding: 8px; gap: 5px; }
  .card-title h3 { font-size: clamp(1.05rem, 3.65vw, 1.35rem); }
  .card-title p { font-size: .76rem; }
  .card-units, .card-type { font-size: .72rem; }
  .card-open { width: 25px; height: 25px; }
  [data-layout="grid"] .card-title { grid-column: 1 / -1; }
  [data-layout="grid"] .card-open { display: none; }
  [data-layout="list"] .project-card a { grid-template-columns: 65px minmax(0,1fr); }
  [data-layout="list"] .card-record { grid-template-columns: minmax(0,1fr) auto 25px; gap: 7px; padding: 8px; }
  [data-layout="list"] .card-type, [data-layout="list"] .card-year { display: none; }

  .approach, .detail-hero { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .approach { padding-block: 54px 56px; }
  .approach h2 { font-size: clamp(4.4rem, 14vw, 7.5rem); margin-block: 12px 20px; }
  .phase-panel { padding: 5px 5px 0; }
  .phase-copy { padding: 10px 8px 13px; }
  .footer-main { flex-wrap: wrap; padding-bottom: 19px; }
  .footer-bottom { font-size: .78rem; }
  .footer-side { gap: 2px; }

  .detail-back { margin-bottom: 11px; }
  .detail-cover { padding: 5px 5px 0; }
  .detail-cover-photo.portrait img { max-height: min(116vw, 550px); }
  .detail-intro h1 { font-size: clamp(3.2rem, 10.5vw, 5.9rem); }
  .detail-summary { margin-block: 14px 17px; }
  .gallery-head h2 { font-size: clamp(2.96rem, 9.7vw, 5.4rem); }
  .detail-gallery { gap: 7px; }
  .gallery-tile > span { font-size: .79rem; padding-inline: 6px; }
  .next-photo { width: 33%; aspect-ratio: 1.2; }
  .lightbox-frame { max-width: 100%; }
  .lightbox-frame img { max-height: 66dvh; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: max(17px, env(safe-area-inset-bottom)); transform: none; }
}

@media (max-width: 375px) {
  :root { --gutter: 13px; }
  .feature-thumb { display: none; }
  .card-record { grid-template-columns: minmax(0,1fr); }
  .card-units { grid-column: 1; grid-row: 3; }
  .card-open { display: none; }
  [data-layout="list"] .card-record { grid-template-columns: minmax(0,1fr) auto; }
  [data-layout="list"] .card-units { grid-column: 2; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation: none !important; }
}
