/* Green Design Architects — concept stylesheet (Vendrato). Mobile-first, plain CSS. */
:root {
  --paper: #f2f1ec;
  --surface: #e9e8e1;
  --ink: #232521;
  --ink-2: #41443e;
  --ink-3: #4f524a;
  --rule: #cfcec6;
  --rule-dark: rgba(255, 255, 255, 0.18);
  --night: #262824;
  --on-night: #f2f1ec;
  --on-night-2: #c9ccc2;
  --sage: #98ac84;
  --serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1320px;
  --gutter: 20px;
  --section: 88px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --header-h: 68px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section: 120px; --header-h: 84px; } }
@media (min-width: 1200px) { :root { --section: 144px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

/* ---------- Type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.03em; line-height: 0.98; font-size: clamp(44px, 8vw, 120px); text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; line-height: 1.04; font-size: clamp(36px, 4.6vw, 64px); text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(28px, 3vw, 40px); text-wrap: balance; }
.lead { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.small { font-size: 16px; line-height: 1.55; color: var(--ink-3); }
.label { font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--ink-3); margin: 0 0 6px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 2px; border: 1px solid transparent;
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #3a3d37; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark .btn-line { color: #fff; border-color: rgba(255,255,255,0.7); }
.on-dark .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); display: inline-block; padding: 4px 0; }
.text-link:hover { text-decoration-color: currentColor; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; min-height: 44px; border-bottom: 1px solid currentColor; }
.arrow-link svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.arrow-link:hover svg { transform: translateX(4px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: #fff; transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.site-header::before { content: ""; position: absolute; inset: 0 0 -110px 0; background: linear-gradient(rgba(18,20,16,0.62), rgba(18,20,16,0.28) 55%, rgba(18,20,16,0)); pointer-events: none; transition: opacity 240ms; }
.site-header .wrap { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; padding: 11px 0; }
.brand img { height: 22px; width: auto; }
@media (min-width: 768px) { .brand img { height: 30px; } }
.brand .logo-ink { display: none; }
.nav { display: none; margin-left: auto; gap: 32px; }
.nav a { font-size: 16px; font-weight: 500; text-decoration: none; padding: 10px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; width: 44px; text-decoration: none; font-weight: 500; font-size: 15px; border: 0; border-radius: 2px; }
.header-call svg { width: 17px; height: 17px; }
.header-call .long { display: none; }
.header-enquire { min-height: 44px; padding: 0 16px; font-size: 15px; background: var(--paper); color: var(--ink); }
.header-enquire:hover { background: #fff; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; margin-right: -10px; }
.menu-btn svg { width: 24px; height: 24px; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-actions { margin-left: 32px; gap: 12px; }
  .menu-btn { display: none; }
  .header-call { width: auto; border-color: transparent; padding: 0 8px; }
  .header-call .long { display: inline; }
}
.site-header.is-solid, .site-header.solid-always, body.menu-open .site-header { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.site-header.is-solid::before, .site-header.solid-always::before, body.menu-open .site-header::before { opacity: 0; }
.site-header.is-solid .logo-light, .site-header.solid-always .logo-light, body.menu-open .logo-light { display: none; }
.site-header.is-solid .logo-ink, .site-header.solid-always .logo-ink, body.menu-open .logo-ink { display: block; }

.site-header.is-solid .header-enquire, .site-header.solid-always .header-enquire, body.menu-open .header-enquire { background: var(--ink); color: var(--paper); }
@media (min-width: 960px) { .site-header.is-solid .header-call, .site-header.solid-always .header-call { border-color: transparent; } }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper); color: var(--ink); padding: 24px var(--gutter) 40px; display: none; flex-direction: column; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a.big { font-family: var(--serif); font-size: 44px; letter-spacing: -0.02em; line-height: 1.15; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.mobile-menu .menu-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
body.menu-open { overflow: hidden; }

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.home-hero .hero-media { position: relative; height: 64svh; min-height: 440px; }
.home-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.home-hero .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,18,14,0.9) 0%, rgba(16,18,14,0.2) 35%, rgba(16,18,14,0) 60%); }
.home-hero .hero-body { position: relative; z-index: 2; margin-top: -170px; padding-bottom: 28px; }
.home-hero h1 { font-size: 40px; line-height: 1.0; max-width: 11em; }
.hero-row { display: grid; gap: 20px; margin-top: 20px; }
.hero-sub { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.88); max-width: 34em; }
.home-hero .hero-actions .btn { flex: 1 1 160px; }
.hero-cap { display: none; margin: 24px 0 0; font-size: 14px; color: rgba(255,255,255,0.75); }
@media (min-width: 900px) {
  .home-hero { min-height: min(100svh, 1000px); display: flex; align-items: flex-end; }
  .home-hero .hero-media { position: absolute; inset: 0; height: auto; }
  .home-hero .hero-media img { object-position: 50% 42%; }
  .home-hero .hero-media::after { background: linear-gradient(to top, rgba(16,18,14,0.88) 0%, rgba(16,18,14,0.45) 34%, rgba(16,18,14,0) 62%); }
  .home-hero .hero-body { margin-top: 0; padding-top: calc(var(--header-h) + 200px); padding-bottom: 40px; }
  .home-hero h1 { font-size: clamp(60px, 6.6vw, 100px); max-width: 9.6em; }
  .home-hero .hero-body { padding-top: calc(var(--header-h) + 320px); }
  .hero-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.25); }
  .hero-sub { font-size: 19px; }
  .home-hero .hero-actions .btn { flex: none; }
  .hero-cap { display: block; margin-top: 28px; }
}

/* ---------- Featured projects (one dominant image each) ---------- */
.feature { padding: 0 0 var(--section); }
.f-img img { width: 100%; object-fit: cover; }
.f-img a { display: block; overflow: hidden; }
.f-text { margin-top: 24px; }
.f-kicker { font-size: 15px; color: var(--ink-3); margin: 0 0 8px; }
.f-name { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.025em; }
.f-name a { text-decoration: none; }
.f-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.f-line { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-2); margin: 16px 0 0; max-width: 34em; }
.f-facts { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--rule); }
.f-facts li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.f-facts .label { margin: 0; }
.f-more { margin: 24px 0 0; }
.f-wide .f-img img { aspect-ratio: 16 / 10; }
.f-bleed .f-img img { height: 80svh; min-height: 320px; max-height: 960px; }
.f-split .f-img img { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) {
  .f-text { margin-top: 0; }
  .f-wide .f-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; align-items: end; }
  .f-bleed .f-text { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; margin-top: 40px; }
  .f-bleed .f-line { margin-top: 26px; }
  .f-split .f-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; align-items: center; }
  .f-split .f-img { order: 2; }
}

/* Project hero */
.project-hero { min-height: 72svh; display: flex; align-items: flex-end; }
.project-hero .hero-media { position: absolute; inset: 0; }
.project-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.project-hero .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,18,14,0.82) 0%, rgba(16,18,14,0.3) 40%, rgba(16,18,14,0) 65%); }
.project-hero .hero-body { position: relative; z-index: 1; padding-bottom: 40px; padding-top: 160px; }
.crumb { font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.crumb a { display: inline-block; padding: 8px 0; }
.project-hero h1 { font-size: clamp(44px, 7vw, 104px); }
.hero-place { margin: 16px 0 0; font-size: 17px; color: rgba(255,255,255,0.88); }
@media (min-width: 900px) { .project-hero { min-height: min(92svh, 960px); } .project-hero .hero-body { padding-bottom: 56px; } }

/* Inner page hero */
.page-hero { padding: calc(var(--header-h) + 56px) 0 48px; }
.page-hero h1 { max-width: 12em; }
.page-hero-row { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 1024px) { .page-hero { padding: calc(var(--header-h) + 96px) 0 64px; } .page-hero-row { margin-top: 40px; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section.tight-top { padding-top: 0; }
.night { background: var(--night); color: var(--on-night); }
.night .lead, .night .small, .night .label { color: var(--on-night-2); }
.surface { background: var(--surface); }
.split-head { display: grid; gap: 24px; margin-bottom: 48px; }
@media (min-width: 1024px) { .split-head { grid-template-columns: 7fr 5fr; gap: 96px; align-items: end; margin-bottom: 64px; } }

/* Statement */
.statement { display: grid; gap: 32px; }
.statement-text { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -0.025em; max-width: 19em; text-wrap: balance; }
.statement-aside { font-size: 17px; color: var(--ink-2); max-width: 30em; margin: 0; }
@media (min-width: 1024px) { .statement { grid-template-columns: 9fr 3fr; gap: 64px; align-items: end; } .statement-aside { font-size: 16px; } }

/* Chapters */
.chapter { padding: 96px 0 var(--section); }
.statement-section + .chapter { padding-top: 0; }
.chapter-head { display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid var(--ink); margin-bottom: 40px; }
.chapter-mark { display: flex; gap: 16px; align-items: baseline; margin: 0; }
.chapter-mark span:first-child { font-family: var(--serif); font-size: 22px; }
.chapter-head .h2 { max-width: 16em; }
@media (min-width: 1024px) { .chapter-head { grid-template-columns: 4fr 8fr; gap: 48px; margin-bottom: 56px; } }
figcaption { font-size: 16px; line-height: 1.5; color: var(--ink-3); margin-top: 12px; }
figcaption a, .cap-title { color: var(--ink); font-weight: 500; text-decoration: none; }
figcaption a:hover, .cap-title:hover { text-decoration: underline; text-underline-offset: 0.2em; }
figure > a, .ed-b figure > a { display: block; text-decoration: none; }
figcaption a { display: inline; }
figure a:has(img) { overflow: hidden; }
figure a img { transition: transform 900ms var(--ease-out); }
figure a:hover img { transform: scale(1.025); }

.ed-alpine { display: grid; gap: 40px; }
.ed-alpine img { width: 100%; object-fit: cover; }
.ed-a img { aspect-ratio: 16 / 10; }
.ed-b figure img { aspect-ratio: 3 / 2; }
.ed-b .lead { margin-bottom: 32px; }
.ed-c img { aspect-ratio: 3 / 2; }
.ed-d img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .ed-alpine { grid-template-columns: repeat(12, 1fr); gap: 72px 24px; }
  .ed-a { grid-column: 1 / span 8; }
  .ed-b { grid-column: 10 / span 3; align-self: end; }
  .ed-c { grid-column: 2 / span 6; }
  .ed-d { grid-column: 9 / span 4; margin-top: 120px; }
}

.quote-band { padding: 104px 0; }
.quote { margin: 0; display: grid; gap: 24px; }
.quote p { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -0.02em; max-width: 22em; text-wrap: balance; margin: 0; }
.quote footer { font-size: 16px; color: var(--on-night-2); }
@media (min-width: 900px) { .quote-band { padding: 144px 0; } .quote { padding-left: 8.33%; } }

.bleed { margin: 0; }
.bleed img { width: 100%; height: 62svh; min-height: 300px; max-height: 860px; object-fit: cover; }
.bleed.tall img { height: 78svh; max-height: 980px; }
.bleed-cap { display: grid; gap: 4px; padding: 16px 0 0; }
.bleed-cap p { margin: 0; color: var(--ink-2); max-width: 46em; font-size: 16px; }
.bleed-cap .cap-title { margin-right: 8px; font-family: var(--serif); font-size: 22px; font-weight: 400; }
@media (min-width: 1024px) { .bleed-cap { grid-template-columns: 1fr auto; gap: 48px; align-items: baseline; } }
.pair-grid { display: grid; gap: 40px; margin-top: 72px; }
.pair-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .pair-grid { grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; } .pair-offset { margin-top: 160px; } .pair-offset img { aspect-ratio: 4 / 5; } }
.trio { display: grid; gap: 40px; margin-top: 72px; }
.trio img { width: 100%; object-fit: cover; }
.t1 img { aspect-ratio: 4 / 5; } .t2 img { aspect-ratio: 4 / 3; } .t3 img { aspect-ratio: 21 / 9; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(12, 1fr); gap: 72px 24px; } .t1 { grid-column: 1 / span 5; } .t2 { grid-column: 7 / span 6; align-self: end; } .t3 { grid-column: 1 / -1; } }

/* Ledger */
.ledger-wrap { display: grid; gap: 32px; }
@media (min-width: 1024px) { .ledger-wrap { grid-template-columns: 4fr 8fr; gap: 48px; } }
.lrow { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--rule); }
.lrow:last-child { border-bottom: 1px solid var(--rule); }
.lrow .num { font-size: 15px; color: var(--ink-3); }
.lwhat { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }
.lrow a { font-size: 16px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; justify-self: start; padding: 4px 0; }
@media (min-width: 900px) { .lrow { grid-template-columns: 72px 1fr 220px; gap: 24px; align-items: baseline; } }

/* ---------- Terrain index (signature) ---------- */
.terrain { position: relative; }
.section-profile { width: 100%; height: 120px; display: block; overflow: visible; }
@media (min-width: 900px) { .section-profile { height: 180px; } }
.section-profile .ground { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.section-profile .fill { fill: rgba(152,172,132,0.28); }
.section-profile .tick { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .js .section-profile .ground { stroke-dasharray: 4000; stroke-dashoffset: 4000; transition: stroke-dashoffset 1400ms var(--ease-out); }
  .js .section-profile.drawn .ground { stroke-dashoffset: 0; }
}
.ti-grid { display: grid; gap: 40px; padding-top: 20px; }
@media (min-width: 900px) { .ti-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.ti-zone { font-family: var(--serif); font-size: 30px; letter-spacing: -0.015em; margin: 0 0 2px; }
.ti-col ul { margin-top: 16px; border-top: 1px solid var(--rule); }
.ti-col li a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; min-height: 44px; }
.ti-name { font-family: var(--serif); font-size: 21px; line-height: 1.25; transition: transform 200ms var(--ease-out); }
.ti-col li a:hover .ti-name { transform: translateX(6px); }
.ti-year { font-size: 15px; color: var(--ink-3); }

/* ---------- Closing CTA ---------- */
.closing { display: grid; gap: 28px; }
.closing .display { font-size: clamp(44px, 7vw, 104px); max-width: 11em; }
.closing .lead { margin: 0; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.closing-facts { display: grid; gap: 24px; margin-top: 40px; }
.closing-facts .fact { padding-top: 16px; border-top: 1px solid var(--rule-dark); }
.closing-facts .fact a, .fact-big { font-family: var(--serif); font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; text-decoration: none; margin: 0; display: inline-block; padding: 4px 0; }
.fact-small { margin: 0; font-size: 16px; color: var(--on-night-2); max-width: 22em; }
.closing-facts .fact a:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
@media (min-width: 900px) { .closing-facts { grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; } }

/* ---------- Footer ---------- */
.site-footer { background: #1c1e1a; color: var(--on-night-2); padding: 64px 0 40px; font-size: 15px; }
.foot-grid { display: grid; gap: 32px; }
.site-footer img { height: 30px; width: auto; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.foot-links a { display: inline-block; padding: 10px 0; color: var(--on-night); }
.site-footer a.num { display: inline-block; padding: 6px 0; }
.ack-foot { margin: 48px 0 0; max-width: 52em; }
.foot-legal { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule-dark); display: grid; gap: 4px; font-size: 14px; }
.foot-legal p { line-height: 1.7; }
.foot-legal a { text-decoration: underline; text-underline-offset: 0.2em; color: var(--on-night); padding: 8px 0; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 4fr 2fr 3fr 3fr; } }

/* ---------- Projects index ---------- */
.filters { display: none; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.filter { min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); background: transparent; border-radius: 2px; font: 500 15px/1 var(--sans); color: var(--ink); cursor: pointer; transition: background-color 160ms, border-color 160ms, color 160ms; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter .count { color: var(--ink-3); margin-left: 6px; font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] .count { color: #b9bcb2; }
.filter-select { display: block; margin-top: 32px; }
.filter-select select { width: 100%; min-height: 48px; font: 500 16px/1.2 var(--sans); color: var(--ink); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23232521' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid var(--ink); border-radius: 2px; padding: 0 44px 0 14px; appearance: none; -webkit-appearance: none; }
@media (min-width: 768px) { .filters { display: flex; } .filter-select { display: none; } }
.filter-status { margin-top: 16px; }
.pgrid { display: grid; gap: 48px 24px; grid-auto-flow: dense; }
.ptile[hidden] { display: none; }
.ptile .img { overflow: hidden; background: #dcdbd3; aspect-ratio: 4 / 3; }
.ptile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.ptile a:hover img { transform: scale(1.03); }
.ptile figcaption { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; color: var(--ink-3); }
.ptile .t-name { font-family: var(--serif); font-size: 26px; line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
.ptile .t-year { font-size: 15px; font-variant-numeric: tabular-nums; align-self: baseline; }
.ptile .t-meta { grid-column: 1 / -1; font-size: 15px; }
@media (min-width: 768px) {
  .pgrid { grid-template-columns: repeat(12, 1fr); gap: 72px 24px; }
  .ptile.w8 { grid-column: span 8; } .ptile.w8 .img { aspect-ratio: 3 / 2; }
  .ptile.w4 { grid-column: span 4; } .ptile.w4 .img { aspect-ratio: 424 / 581; }
  .ptile.w5 { grid-column: span 5; } .ptile.w5 .img { aspect-ratio: 535 / 507; }
  .ptile.w7 { grid-column: span 7; } .ptile.w7 .img { aspect-ratio: 3 / 2; }
  .ptile.w6 { grid-column: span 6; } .ptile.w6 .img { aspect-ratio: 3 / 2; }
}

/* ---------- Project detail ---------- */
.detail-intro { display: grid; gap: 48px; }
.detail-summary { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin: 0; max-width: 18em; text-wrap: balance; }
@media (min-width: 1024px) { .detail-intro { grid-template-columns: 6fr 6fr; gap: 96px; } }
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec caption { text-align: left; font-family: var(--serif); font-size: 24px; padding-bottom: 12px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 12px 0; border-top: 1px solid var(--rule); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--rule); }
.spec th { width: 34%; font-weight: 500; padding-right: 16px; color: var(--ink-3); }
.spec td { font-variant-numeric: tabular-nums; }
.gallery { display: grid; gap: 24px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-full img { aspect-ratio: 16 / 9; }
.g-single { max-width: 66%; }
.g-single img { aspect-ratio: 3 / 2; }
.g-pair { display: grid; gap: 24px; }
.g-pair figure img { aspect-ratio: 3 / 2; }
.g-pair.portrait figure img { aspect-ratio: 4 / 5; }
@media (min-width: 768px) { .g-pair { grid-template-columns: 1fr 1fr; align-items: start; } }
.next { display: grid; gap: 24px; text-decoration: none; padding-top: 24px; border-top: 1px solid var(--ink); }
.next-text { display: grid; gap: 8px; align-content: start; }
.next-name { font-family: var(--serif); font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.025em; line-height: 1.02; }
.next-img { overflow: hidden; }
.next-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 900ms var(--ease-out); }
.next:hover .next-img img { transform: scale(1.025); }
@media (min-width: 900px) { .next { grid-template-columns: 5fr 7fr; gap: 48px; } }

/* ---------- About ---------- */
.about-cols { display: grid; gap: 40px; }
.about-cols p { max-width: 36em; }
@media (min-width: 1024px) { .about-cols { grid-template-columns: 5fr 7fr; gap: 96px; } }
.studio-spread { display: grid; gap: 40px; }
.studio-spread img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 1024px) { .studio-spread { grid-template-columns: 8fr 4fr; gap: 64px; align-items: end; } }
.principles-wrap { display: grid; gap: 40px; }
@media (min-width: 1024px) { .principles-wrap { grid-template-columns: 5fr 7fr; gap: 96px; } .principles-wrap .sticky { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.principles { display: grid; margin-top: 48px; border-top: 1px solid var(--ink); }
.principles li { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.principles .p-name { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.015em; }
.principles .p-text { font-size: 16px; color: var(--ink-3); max-width: 30em; }
@media (min-width: 900px) { .principles { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.people { display: grid; }
.person { display: grid; gap: 12px; padding: 32px 0; border-top: 1px solid var(--rule); }
.person .p-name { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.person .p-role { font-size: 15px; color: var(--ink-3); margin: 8px 0 0; max-width: 28em; }
.person > p { margin: 0; max-width: 40em; }
@media (min-width: 1024px) { .person { grid-template-columns: 5fr 7fr; gap: 96px; } }

/* ---------- Contact + FAQ ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 96px; } }
.contact-big { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.02em; line-height: 1.05; text-decoration: none; display: inline-block; padding: 4px 0; }
.contact-big:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.contact-facts { display: grid; gap: 24px; margin-top: 40px; }
.contact-facts div { padding-top: 14px; border-top: 1px solid var(--rule); }
.contact-facts p:last-child { margin: 0; }
.contact-fig { margin-top: 40px; }
.contact-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.form { display: grid; gap: 20px; background: #fbfaf7; padding: 28px 20px; box-shadow: inset 0 0 0 1px var(--rule); align-self: start; }
@media (min-width: 768px) { .form { padding: 48px; grid-template-columns: 1fr 1fr; gap: 24px; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #a9a89f; border-radius: 2px; padding: 12px 14px; min-height: 48px; transition: border-color 160ms; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--ink); }
.form-note { font-size: 15px; color: var(--ink-3); margin: 8px 0 0; }
.form-result { padding: 16px; background: var(--night); color: var(--on-night); font-size: 16px; }
.form-result a { color: #fff; }
.faq { display: grid; gap: 0 64px; margin-top: 48px; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; } }
.faq-item { padding: 28px 0; border-top: 1px solid var(--rule); }
.faq-item h3 { font-family: var(--serif); font-size: clamp(23px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 12px; }
.faq-item p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 36em; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero img { animation: heroIn 1600ms var(--ease-out) both; }
  @keyframes heroIn { from { transform: scale(1.05); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; } }

/* ---------- Round 4: featured compositions ---------- */
.fx { padding: 0 0 var(--section); }
.fx img { width: 100%; object-fit: cover; }
.fx figure a { display: block; overflow: hidden; }
.f-kicker { font-size: 16px; color: var(--ink-3); margin: 0 0 8px; }
.f-name { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.025em; }
.f-name a { text-decoration: none; }
.f-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.f-line { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-2); margin: 16px 0 0; max-width: 32em; }
.f-facts-line { font-size: 16px; color: var(--ink-3); margin: 16px 0 0; max-width: 34em; padding-top: 14px; border-top: 1px solid var(--rule); }
.f-more { margin: 24px 0 0; }
.fx-big img { aspect-ratio: 2 / 1; }
.fx-row { display: grid; gap: 32px; margin-top: 32px; }
.fx-small img { aspect-ratio: 3 / 2; }
@media (min-width: 1024px) { .fx-row { grid-template-columns: 5fr 7fr; gap: 72px; margin-top: -120px; align-items: end; } .fx-row .fx-text { padding-bottom: 8px; } .fx-small { position: relative; z-index: 1; box-shadow: 0 0 0 12px var(--paper); max-width: 760px; justify-self: end; } }
.fx-pair-imgs { display: grid; gap: 16px; }
.fx-pair-imgs figure:first-child img { aspect-ratio: 4 / 3; }
.fx-pair-imgs figure:last-child img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .fx-pair-imgs { grid-template-columns: 7fr 5fr; gap: 24px; } .fx-pair-imgs figure:first-child img, .fx-pair-imgs figure:last-child img { aspect-ratio: auto; height: 640px; } }
.fx-caption { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 1024px) { .fx-caption { grid-template-columns: 5fr 7fr; gap: 72px; } .fx-caption .f-line { margin-top: 30px; } }
.fx-split-grid { display: grid; gap: 32px; align-items: center; }
.fx-split-grid figure img { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) { .fx-split-grid { grid-template-columns: 4fr 8fr; gap: 72px; } .fx-split-grid figure { max-width: 1330px; } }
.fx-strip .fx-caption { margin: 0 0 32px; }
.strip { display: grid; gap: 16px; }
.strip img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .strip { grid-template-columns: 5fr 4fr 3fr; gap: 24px; align-items: end; } .s1 img { aspect-ratio: 4 / 5; } .s2 img { aspect-ratio: 1 / 1; } .s3 img { aspect-ratio: 2 / 3; } }

/* closing + slim cta */
.closing { display: grid; gap: 32px; }
.closing-side { display: grid; gap: 28px; align-content: end; }
@media (min-width: 1024px) { .closing { grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; } }
.slim-cta { padding: 0 0 var(--section); }
.slim-cta-row { display: grid; gap: 24px; padding-top: 32px; border-top: 1px solid var(--ink); }
.slim-cta-row p { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.015em; max-width: 26em; }
@media (min-width: 1024px) { .slim-cta-row { grid-template-columns: 1fr auto; align-items: center; gap: 48px; } }

/* projects head */
.small-display { font-size: clamp(40px, 5.6vw, 80px); }
.proj-head { display: grid; gap: 24px; }
@media (min-width: 1024px) { .proj-head { grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; } }
.page-hero:has(.proj-head) { padding-bottom: 32px; }
.filters { margin-top: 36px; }

/* framed hero for detail pages with smaller source photos */
.framed-hero { padding: calc(var(--header-h) + 48px) 0 0; }
.framed-hero .crumb { color: var(--ink-3); }
.framed-hero .crumb a { text-decoration: underline; text-underline-offset: 0.2em; }
.framed-hero h1 { font-size: clamp(44px, 6.4vw, 96px); }
.framed-hero .hero-place { color: var(--ink-3); }
.framed-img { margin-top: 40px; }
.framed-img img { width: 100%; height: auto; }
@media (min-width: 1024px) { .framed-hero { padding-top: calc(var(--header-h) + 72px); } }

/* gallery: five frames, varied widths, never past native size */
.gal { display: grid; gap: 24px; }
.g img { width: 100%; height: auto; }
.g { max-width: var(--mw); }
@media (min-width: 900px) {
  .gal { grid-template-columns: repeat(12, 1fr); gap: 72px 24px; align-items: start; }
  .g-a { grid-column: 1 / span 8; }
  .g-b { grid-column: 9 / span 4; margin-top: 160px; }
  .g-c { grid-column: 3 / span 7; }
  .g-d { grid-column: 1 / span 5; }
  .g-e { grid-column: 7 / span 6; margin-top: 120px; }
  .g.portrait.g-a, .g.portrait.g-c { grid-column-end: span 5; }
}

/* next project */
.next { display: grid; gap: 24px; text-decoration: none; padding-top: 0; border-top: 0; }
.next-img img { aspect-ratio: 21 / 9; }
@media (min-width: 900px) { .next { grid-template-columns: 8fr 4fr; gap: 48px; align-items: end; } }

/* about */
.manifesto-wrap { display: grid; gap: 24px; }
.manifesto { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.22; letter-spacing: -0.02em; margin: 0; max-width: 24em; text-wrap: pretty; }
@media (min-width: 1024px) { .manifesto-wrap { grid-template-columns: 3fr 9fr; gap: 48px; } }
.about-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.studio-spread { align-items: center !important; }

/* faq single column */
.faq-head { display: grid; gap: 20px; }
@media (min-width: 1024px) { .faq-head { grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; } }
.faq { grid-template-columns: 1fr !important; max-width: 52rem; margin-left: auto; }
.faq-item { display: grid; gap: 8px; }
@media (min-width: 900px) { .faq-item h3 { margin-bottom: 4px; } }

/* ---------- Final round fixes ---------- */
.fx-one { max-width: 1330px; }
.fx-one img { aspect-ratio: 16 / 9; }
.fx-pair .fx-pair-imgs figure img { object-fit: cover; }
.gal2 { display: grid; gap: 24px; }
.gal2 img { width: 100%; height: auto; }
.gal2 .g-pair { display: grid; gap: 24px; }
.gal2 .g-pair img { aspect-ratio: 3 / 2; object-fit: cover; height: 100%; }
.gal2 .g-single { max-width: 860px; }
.gal2 .g-single img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 768px) { .gal2 { gap: 32px; } .gal2 .g-pair { grid-template-columns: 1fr 1fr; gap: 32px; } }
.framed-img img { max-height: 760px; object-fit: cover; }
.ptile.render .img { background: #e2e1da; }
.ptile.render img { object-fit: contain; padding: 24px; }
.faq { margin-left: 0 !important; max-width: 56rem; }
.faq-item p { font-size: 17px !important; color: var(--ink-2) !important; }
.faq-head { margin-bottom: 8px; }
.faq-link { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin: 0; padding-top: 32px; border-top: 1px solid var(--ink); font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); }
.faq-link .arrow-link { font-family: var(--sans); font-size: 17px; }
/* filters as typographic tabs */
.filters { gap: 4px 24px; }
.filter { border: 0; border-bottom: 1px solid transparent; padding: 0; min-height: 44px; background: none; font-size: 16px; color: var(--ink-3); border-radius: 0; }
.filter:hover { color: var(--ink); border-color: transparent; }
.filter[aria-pressed="true"] { background: none; color: var(--ink); border-bottom: 2px solid var(--ink); }
/* header call label */
.header-call .short { display: inline; font-size: 15px; }
@media (max-width: 959px) { .header-call { width: auto; padding: 0 8px; } }
@media (min-width: 960px) { .header-call .short { display: none; } }
@media (max-width: 380px) { .header-call svg { display: none; } }
/* phone hero: taller photo, copy on a gradient over it */
@media (max-width: 899px) {
  .home-hero .hero-media { height: 72svh; min-height: 520px; }
  .home-hero .hero-media::after { background: linear-gradient(to top, rgba(16,18,14,0.95) 0%, rgba(16,18,14,0.72) 38%, rgba(16,18,14,0) 70%); }
  .home-hero .hero-body { margin-top: -330px; }
  .home-hero .hero-media img { object-position: 46% 30%; }
}
