/* =====================================================================
   BISHOP & HART — Design System
   Brand: Black / White primary · Lichen #57554a · Dune #dbd1bd secondary
   Type: Brooklyn (Normal 400 · SemiBold 600 · Bold 700)
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Brooklyn";
  src: url("../fonts/brooklyn-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Brooklyn";
  src: url("../fonts/brooklyn-semibold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Brooklyn";
  src: url("../fonts/brooklyn-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --black:  #000000;
  --white:  #ffffff;      /* crisp white — brand reverted to pure B&W */
  /* Secondary colours removed from the site (reserved for socials).
     Tokens kept but neutralised so every prior use renders black/grey. */
  --lichen: #0a0a0a;      /* was olive — now ink (accents/bands → black) */
  --dune:   #9a9a9a;      /* was sand — now neutral grey */

  --ink:    #0a0a0a;
  --paper:  #ffffff;      /* crisp white surface (was warm off-white) */
  --paper-2:#f2f2f2;      /* neutral light grey */
  --line:   rgba(10,10,10,.12);
  --line-on-dark: rgba(255,255,255,.18);
  --muted:  #6b6b6b;      /* neutral grey (was warm) */

  --ff: "Brooklyn", "Helvetica Neue", Arial, sans-serif;

  /* fluid type scale */
  /* Type scale reduced per brand direction (refined, not clunky).
     One consistent H1/display size across every page. */
  --fs-display: clamp(1.5rem, 2.7vw, 2.35rem);
  --fs-h1:      clamp(1.8rem, 3.9vw, 3.3rem);
  --fs-h2:      clamp(1.45rem, 2.7vw, 2.3rem);
  --fs-h3:      clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-sub:     clamp(.78rem, 1vw, .92rem);
  --fs-body:    .95rem;   /* canonical body copy — flat, matches project description */
  --fs-small:   .8rem;

  --gutter: clamp(20px, 4.2vw, 76px);
  --section: clamp(72px, 10vw, 168px);
  --maxw: 1560px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --slow: .9s cubic-bezier(.16,1,.3,1);
}

/* =====================================================================
   LANDING INTRO (Archa-style) — black brand screen that auto-transitions
   ===================================================================== */
.bh-intro-lock { overflow: hidden; }
.bh-intro { position: fixed; inset: 0; z-index: 9999; background: #000;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(0); transition: transform 1.05s cubic-bezier(.76,0,.24,1); }
/* slides up to reveal the page underneath (Archier-style) */
.bh-intro.is-done { transform: translateY(-100%); }
.bh-intro__inner { text-align: center; padding: 0 var(--gutter);
  transition: opacity .6s var(--ease), transform .85s var(--ease); }
/* on exit the mark + line rise and fade together as the panel slides up */
.bh-intro.is-done .bh-intro__inner { opacity: 0; transform: translateY(-44px); }
/* sequenced entrance: logo first, then the line */
.bh-intro__logo { height: clamp(40px, 5.6vw, 76px); width: auto; margin: 0 auto; display: block;
  opacity: 0; transform: translateY(14px); animation: bhIntroIn 1s var(--ease) .2s both; }
.bh-intro__line { margin-top: clamp(16px,2vw,26px); color: rgba(255,255,255,.6);
  font-size: clamp(.62rem,.72vw,.74rem); text-transform: uppercase; letter-spacing: .32em; font-weight: 600;
  opacity: 0; transform: translateY(14px); animation: bhIntroIn 1s var(--ease) 1s both; }
@keyframes bhIntroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .bh-intro { transition-duration: .35s; }
  .bh-intro__logo, .bh-intro__line { animation: none; opacity: 1; transform: none; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- Typography ---------- */
.display {
  font-weight: 700; font-size: var(--fs-display);
  line-height: .98; letter-spacing: -.01em; text-transform: uppercase;
}
h1, .h1 { font-weight: 700; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.005em; text-transform: uppercase; }
h2, .h2 { font-weight: 700; font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.005em; text-transform: uppercase; }
h3, .h3 { font-weight: 600; font-size: var(--fs-h3); line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; }
.subhead {
  font-weight: 600; text-transform: uppercase;
  font-size: var(--fs-sub); letter-spacing: .22em; color: var(--lichen);
}
.subhead--muted { color: var(--muted); }
.lead { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.5; font-weight: 400; letter-spacing: -.005em; max-width: 34rem; }
/* Body copy — same size as the lead paragraph (single consistent text size) */
.body { font-size: .95rem; line-height: 1.62; max-width: 64ch; }
.body p + p { margin-top: 1.15em; }
.body--justify p { text-align: justify; hyphens: auto; }

/* CTA — uppercase, underlined, semibold */
.cta {
  display: inline-flex; align-items: center; gap: .7em;
  font-weight: 600; text-transform: uppercase; letter-spacing: .16em;
  font-size: .78rem; padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap .4s var(--ease), opacity .3s;
}
.cta::after { content: "\2192"; transition: transform .4s var(--ease); }
.cta:hover { gap: 1.1em; }
.cta:hover::after { transform: translateX(4px); }
.cta--light { color: var(--white); }

/* Solid button (rare) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05em 2.4em; background: var(--ink); color: var(--white);
  text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 600;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--lichen); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(18px,2vw,26px) var(--gutter);
  color: var(--ink);                      /* default: light background → dark ink */
  transition: padding .5s var(--ease), color .35s var(--ease);
}
/* logos crossfade so the swap matches the colour transition */
.site-header__logo { position: relative; display: inline-block; line-height: 0; }
.site-header__logo img { height: clamp(19px, 2.2vw, 26px); width: auto; display: block; transition: opacity .35s var(--ease); }
.site-header__logo .logo-dark  { opacity: 1; }
.site-header__logo .logo-light { position: absolute; top: 0; left: 0; opacity: 0; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 2.6vw, 48px); }
.site-nav a {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .17em; font-weight: 600;
  position: relative; padding-block: 6px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .4s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }

/* over a dark section → white logo + white nav (set by JS, and server-side for
   pages that open on a dark hero so there's no first-paint flash) */
.site-header.is-over-dark { color: var(--white); }
.site-header.is-over-dark .logo-dark  { opacity: 0; }
.site-header.is-over-dark .logo-light { opacity: 1; }

/* subtle shrink once scrolled */
.site-header.is-scrolled { padding-top: clamp(12px,1.4vw,16px); padding-bottom: clamp(12px,1.4vw,16px); }

.nav-toggle { display: none; }

/* Header entrance — logo + nav fade/slide in. On the home page the animation
   is held paused until the intro lifts (JS adds body.bh-entered). */
@keyframes bhHeaderIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.site-header__logo { animation: bhHeaderIn .85s var(--rise) .1s both; }
.site-nav a, .nav-toggle { animation: bhHeaderIn .85s var(--rise) both; }
.site-nav a:nth-child(1){ animation-delay:.22s } .site-nav a:nth-child(2){ animation-delay:.32s }
.site-nav a:nth-child(3){ animation-delay:.42s } .site-nav a:nth-child(4){ animation-delay:.52s }
body.home .site-header__logo,
body.home .site-nav a,
body.home .nav-toggle { animation-play-state: paused; }
body.home.bh-entered .site-header__logo,
body.home.bh-entered .site-nav a,
body.home.bh-entered .nav-toggle { animation-play-state: running; }

/* =====================================================================
   MODULE · HERO (full-bleed image/video)
   ===================================================================== */
.m-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; }
/* media/overlay/content all use positive z-index inside the section's own
   stacking context; a 1px negative inset guarantees the scaling image always
   overshoots the section box (no background flicker at the edges) */
.m-hero__media { position: absolute; inset: -1px; z-index: 0; overflow: hidden; }
/* Colour hero by default (Home/cover). Project heroes are B&W — see .single-project. */
.m-hero__media .ph { width: 100%; height: 100%; filter: contrast(1.03) brightness(.9); }
/* Static hero — motion removed per brand direction (no video-like movement) */
.m-hero__media img, .m-hero__media video { width: 100%; height: 100%; object-fit: cover;
  transform: translateZ(0); backface-visibility: hidden; }
.m-hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.62) 100%); }
.m-hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 7vw, 104px); padding-top: 140px; }
.m-hero .subhead { color: rgba(255,255,255,.82); }
/* Hero secondary line: small, all-caps, letter-spaced (per brand direction) */
.m-hero .lead { font-size: clamp(.78rem, .95vw, .92rem); text-transform: uppercase;
  letter-spacing: .16em; line-height: 1.7; font-weight: 600; max-width: 48ch;
  color: rgba(255,255,255,.92); }
.m-hero__title { margin: .35em 0 .6em; max-width: 15ch; }
.m-hero__meta { display: flex; gap: clamp(20px,3vw,54px); flex-wrap: wrap; align-items: center;
  margin-top: clamp(22px,4vw,40px); }
.m-hero__meta span { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.75); }
.scroll-cue { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 1;
  writing-mode: vertical-rl; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 14px; z-index: 3; }
.scroll-cue::after { content: ""; width: 1px; height: 46px; background: rgba(255,255,255,.5);
  animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{ transform: scaleY(.3); opacity:.3 } 50%{ transform: scaleY(1); opacity:1 } }

/* page hero (interior pages, shorter) */
.m-pagehero { padding-top: clamp(150px, 18vh, 240px); padding-bottom: clamp(40px, 6vw, 80px); }
.m-pagehero .display { max-width: 18ch; }
.m-pagehero__lead { max-width: 36rem; margin-top: 1.4em; color: var(--muted); }
/* Centered variant (Studio) — title + lead centred on the page */
.m-pagehero--center { text-align: center; padding-bottom: clamp(14px, 2vw, 28px); }
.m-pagehero--center .display { max-width: 20ch; margin-inline: auto; }
/* a little more space under the heading so the lead sits lower */
.m-pagehero--center .m-pagehero__lead { max-width: 46ch; margin-inline: auto; margin-top: clamp(1.9rem, 2.8vw, 2.5rem); }
/* pull the following contained image up closer to the text (brochure spacing) */
.m-pagehero--center + .m-fullbleed--wrap { padding-top: clamp(4px, .8vw, 14px); }

/* =====================================================================
   MODULE · WORK GRID (structured, greyscale → colour on hover)
   ===================================================================== */
.m-work__head { display: flex; justify-content: space-between; align-items: end; gap: 24px;
  margin-bottom: clamp(32px, 4vw, 64px); flex-wrap: wrap; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.work-grid--2 { grid-template-columns: repeat(2, 1fr); }
.work-grid.gap-lg { gap: clamp(8px, 1.4vw, 22px); }

.work-card { position: relative; display: block; overflow: hidden; background: var(--ink); }
.work-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.work-card--wide .work-card__media { aspect-ratio: 16 / 10; }
.work-card .ph { position: absolute; inset: 0; width: 100%; height: 100%;
  filter: grayscale(1) contrast(1.03) brightness(.98);
  transform: scale(1.001);
  transition: filter var(--slow), transform var(--slow); }
.work-card__overlay { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%);
  opacity: .9; transition: opacity .5s var(--ease); }
.work-card__info { position: absolute; z-index: 3; left: 0; bottom: 0; width: 100%;
  padding: clamp(18px,2vw,30px); color: var(--white);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.work-card__title { font-weight: 700; text-transform: uppercase; font-size: clamp(1rem,1.3vw,1.28rem);
  line-height: 1.05; letter-spacing: -.005em; }
.work-card__meta { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em;
  color: rgba(255,255,255,.8); margin-top: .5em; }
.work-card__index { font-size: .68rem; letter-spacing: .16em; opacity: .7; }
.work-card:hover .ph { filter: grayscale(0) contrast(1.04) brightness(1); transform: scale(1.045); }
.work-card:hover .work-card__overlay { opacity: 1; }

/* =====================================================================
   MODULE · STATEMENT / INTRO
   ===================================================================== */
.m-statement { }
/* Single left column so the statement text lines up with all other body copy;
   the link drops below the paragraph as a CTA. */
.m-statement__grid { display: grid; grid-template-columns: 1fr; gap: clamp(18px, 2.4vw, 30px); align-items: start; }
.m-statement__aside { position: static; order: 2; }
/* Statement text sits at body/lead size (not an oversized display) per feedback */
.m-statement__big { font-weight: 400; font-size: .95rem; line-height: 1.62; letter-spacing: 0; max-width: 64ch; }
.m-statement__big em { font-style: normal; color: var(--lichen); }

/* =====================================================================
   MODULE · CONTRAST (Old Way / New Way)
   Two columns split by the brand-guide centre divider. The old way reads
   quietly in grey; the builder led way carries full ink weight.
   ===================================================================== */
.m-contrast__head { margin-bottom: clamp(36px,4.5vw,72px); max-width: 40ch; }
.m-contrast__head .subhead { display: block; margin-bottom: 1.1em; }
.m-contrast__head p { color: var(--muted); font-size: .95rem; line-height: 1.62; max-width: 64ch; }

.m-contrast__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,110px);
  position: relative; align-items: start; }
/* vertical divider centred on the page (matches .m-reviews__grid::before) */
.m-contrast__grid::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: var(--line); }

.m-contrast__cell--old { color: var(--muted); }   /* the old way reads quietly, greyed back */
.m-contrast__cell--new { color: var(--ink); }      /* the builder led way carries the weight */

.m-contrast__label { display: block; font-weight: 600; text-transform: uppercase;
  font-size: var(--fs-sub); letter-spacing: .22em; margin-bottom: clamp(26px,3.2vw,46px); }
.m-contrast__cell--old .m-contrast__label { color: var(--muted); }
.m-contrast__cell--new .m-contrast__label { color: var(--ink); }

.m-contrast__flow { display: flex; align-items: center; gap: clamp(14px,1.8vw,30px); flex-wrap: wrap; }
.m-contrast__node { font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem,3.2vw,2.8rem); line-height: 1; letter-spacing: -.01em; }
.m-contrast__arrow { font-weight: 400; font-size: clamp(1.2rem,2.4vw,2rem); opacity: .7; }
.m-contrast__cell--new .m-contrast__arrow { opacity: 1; }

.m-contrast__note { margin-top: clamp(22px,2.6vw,34px); font-size: .86rem; line-height: 1.6; max-width: 32ch; }

@media (max-width: 860px) {
  .m-contrast__grid { grid-template-columns: 1fr; gap: 0; }
  .m-contrast__grid::before { display: none; } /* no vertical divider when stacked */
  .m-contrast__cell { padding: clamp(30px,8vw,48px) 0; border-top: 1px solid var(--line); }
  .m-contrast__cell:first-child { padding-top: 0; border-top: 0; }
}

/* =====================================================================
   MODULE · INTRO SPLIT (heading left / copy right — brochure pairing)
   ===================================================================== */
.m-introsplit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,90px); align-items: start; }
.m-introsplit__heading { font-weight: 700; text-transform: uppercase; letter-spacing: -.005em;
  font-size: clamp(1.1rem,1.7vw,1.4rem); line-height: 1.25; max-width: 24ch; }
.m-introsplit__body .body { color: var(--muted); }
.m-introsplit__body .body p + p { margin-top: 1.15em; }
@media (max-width: 1024px) { .m-introsplit__grid { grid-template-columns: 1fr; gap: 20px; } }

/* =====================================================================
   MODULE · SPLIT INTRO (headline + body, single left column)
   Project intro: short headline, then the description below it — both on
   the site's left margin so all body copy lines up in one column.
   ===================================================================== */
.m-splitintro__grid { display: grid; grid-template-columns: 1fr; gap: clamp(16px,2.2vw,26px); }
.m-splitintro__headline { font-weight: 700; text-transform: uppercase; letter-spacing: -.005em;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem); line-height: 1.08; max-width: 26ch; }
/* Reduced body size on the project intro (per "reduce text size") */
.m-splitintro__body .body { font-size: .95rem; line-height: 1.62; max-width: 64ch; }

/* =====================================================================
   MODULE · PROCESS (horizontal steps)
   Four steps across, split by brand-guide vertical divider lines, with a
   rule across the top of the row. (Timeline module = the vertical variant.)
   ===================================================================== */
.m-process__head { margin-bottom: clamp(32px,4vw,60px); }
.m-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); }
.m-process__step { padding: clamp(22px,2.4vw,34px) clamp(18px,2vw,34px);
  border-left: 1px solid var(--line); }
.m-process__step:first-child { padding-left: 0; border-left: 0; }
.m-process__n { display: block; font-size: .72rem; letter-spacing: .18em; color: var(--muted); font-weight: 600; }
.m-process__t { margin: .8em 0 .5em; font-weight: 700; text-transform: uppercase; letter-spacing: -.005em;
  font-size: clamp(1rem,1.4vw,1.3rem); line-height: 1.1; }
.m-process__d { color: var(--ink); font-size: .95rem; line-height: 1.62; max-width: 34ch; }
@media (max-width: 900px) {
  .m-process__grid { grid-template-columns: 1fr 1fr; }
  .m-process__step { padding-top: clamp(22px,4vw,30px); }
  .m-process__step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .m-process__step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .m-process__grid { grid-template-columns: 1fr; }
  .m-process__step { padding-left: 0; border-left: 0; }
  .m-process__step:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* =====================================================================
   MODULE · TEXT + MEDIA (alternating)
   ===================================================================== */
.m-textmedia__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,90px); align-items: center; }
.m-textmedia--flip .m-textmedia__media { order: -1; }
.m-textmedia__media { overflow: hidden; }
.m-textmedia__media .ph { aspect-ratio: 4/5; width: 100%; filter: none;
  transition: filter var(--slow), transform var(--slow); }
.m-textmedia__media:hover .ph { filter: none; transform: scale(1.03); }
.m-textmedia__body h2 { margin: .4em 0 .7em; }
/* Divider lines between list items (per brand guidelines) */
.m-textmedia__list { margin-top: 2.4em; border-top: 1px solid var(--line); }
.m-textmedia__list li { display: flex; gap: 1.4em; padding: 1.15em 0; align-items: baseline;
  border-bottom: 1px solid var(--line); }
.m-textmedia__list .n { font-size: .68rem; letter-spacing: .16em; color: var(--muted); font-weight: 600; min-width: 2.4em; }
.m-textmedia__list .t { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .86rem; }
.m-textmedia__list .d { color: var(--ink); font-size: .95rem; line-height: 1.62; margin-top: .3em; }

/* =====================================================================
   MODULE · FULL BLEED IMAGE
   ===================================================================== */
.m-fullbleed { position: relative; height: clamp(60vh, 78vh, 90vh); overflow: hidden; }
.m-fullbleed .ph { position: absolute; inset: 0; width: 100%; height: 100%; filter: contrast(1.02) brightness(.92); }
/* Homepage project imagery stays black & white (single project pages are colour) */
.home .m-fullbleed .ph { filter: grayscale(1) contrast(1.02) brightness(.92); }
.m-fullbleed__cap { position: absolute; left: var(--gutter); bottom: clamp(28px,4vw,52px); color: var(--white);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; z-index: 2; }

/* =====================================================================
   MODULE · GALLERY (structured project grid)
   ===================================================================== */
.m-gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(8px, 1.4vw, 22px); }
.m-gallery__grid .g { overflow: hidden; }
.m-gallery__grid .g .ph { width: 100%; height: 100%; filter: brightness(.98); transition: filter var(--slow), transform var(--slow); }
.m-gallery__grid .g:hover .ph { filter: brightness(.98); transform: scale(1.03); }
.g-6 { grid-column: span 6; aspect-ratio: 3/2; }
.g-12 { grid-column: span 12; aspect-ratio: 16/8; }
.g-4 { grid-column: span 4; aspect-ratio: 3/4; }
.g-8 { grid-column: span 8; aspect-ratio: 16/9; }

/* =====================================================================
   MODULE · PROJECT META (spec table)
   ===================================================================== */
/* Plain spec strip on white (green band removed). Tight spacing retained. */
.m-meta { border-bottom: 1px solid var(--line); }
/* Only the LAST row in a run of spec rows keeps the border (single underline) */
.m-meta:has(+ .m-meta) { border-bottom: 0; }
.m-meta__grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 0; row-gap: clamp(18px,2.4vw,30px);
  padding-block: clamp(20px,2.2vw,30px); }
/* Consecutive spec rows (details + credits) merge into one continuous strip */
.m-meta + .m-meta .m-meta__grid { padding-top: 0; }
/* vertical divider lines between spec columns (brand guide) */
.m-meta__cell { padding-left: clamp(18px,2vw,34px); border-left: 1px solid var(--line); }
.m-meta__cell:first-child { padding-left: 0; border-left: 0; }
.m-meta__k { font-size: .64rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.m-meta__v { font-weight: 600; margin-top: .4em; text-transform: uppercase; letter-spacing: .01em; font-size: .9rem; }
.m-meta__v a { border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: border-color .3s var(--ease); }
.m-meta__v a:hover { border-color: currentColor; }

/* =====================================================================
   MODULE · QUOTE / TESTIMONIAL
   ===================================================================== */
.m-quote { background: var(--ink); color: var(--white); }
.m-quote__inner { max-width: 22ch + 40ch; }
.m-quote blockquote { font-weight: 400; font-size: clamp(1.15rem, 2.1vw, 1.7rem); line-height: 1.35; letter-spacing: -.005em; max-width: 30ch; }
.m-quote--wide blockquote { max-width: 34ch; }
.m-quote figcaption { margin-top: clamp(28px,3vw,44px); font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--dune); }
.m-quote.on-dune { background: var(--dune); color: var(--ink); }
.m-quote.on-dune figcaption { color: var(--lichen); }
.m-quote.on-lichen { background: var(--lichen); color: var(--white); }
.m-quote.on-lichen figcaption { color: var(--dune); }

/* =====================================================================
   MODULE · REVIEWS (Google)
   Brand band carrying live five-star reviews. Lichen by default.
   ===================================================================== */
.m-reviews { background: var(--lichen); color: var(--white); }
.m-reviews.on-dune { background: var(--dune); color: var(--ink); }
.m-reviews.on-dark { background: var(--ink); color: var(--white); }

.m-reviews__head { margin-bottom: clamp(36px,4vw,64px); }
.m-reviews__head .h2 { max-width: 18ch; }

/* Footer row: rating summary left, CTA right */
.m-reviews__foot { display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px,3vw,48px); flex-wrap: wrap; margin-top: clamp(40px,4.5vw,72px);
  padding-top: clamp(24px,2.5vw,36px); border-top: 1px solid var(--line-on-dark); }
.m-reviews.on-dune .m-reviews__foot { border-top-color: rgba(10,10,10,.16); }
.m-reviews__summary { display: flex; align-items: center; gap: 14px; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .16em; opacity: .82; margin: 0; }

/* Stars */

/* Review grid */
/* Two-column reviews with a thin divider line between the columns (brand guide) */
.m-reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px,5vw,88px); position: relative; }
.m-reviews__grid::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: currentColor; opacity: .2; }
.m-reviews__item blockquote { margin: 1.1em 0 0; font-size: clamp(1.05rem,1.5vw,1.35rem);
  line-height: 1.5; max-width: 42ch; }
.m-reviews__item figcaption { margin-top: clamp(18px,2vw,28px); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .18em; color: var(--dune); display: flex;
  align-items: center; gap: 12px; flex-wrap: wrap; }
.m-reviews.on-dune .m-reviews__item figcaption { color: var(--lichen); }
.m-reviews__item figcaption a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor;
  padding-bottom: 2px; transition: opacity .3s ease; }
.m-reviews__item figcaption a:hover { opacity: .65; }
.m-reviews__when { opacity: .6; letter-spacing: .12em; }

/* Single fallback quote — mirrors the quote module's scale */
.m-reviews__single blockquote { font-weight: 400; font-size: clamp(1.5rem,3.4vw,3rem);
  line-height: 1.22; letter-spacing: -.01em; max-width: 24ch; margin: 0; }
.m-reviews__single figcaption { margin-top: clamp(28px,3vw,44px); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .18em; color: var(--dune); }
.m-reviews.on-dune .m-reviews__single figcaption { color: var(--lichen); }

@media (max-width: 860px) {
  .m-reviews__grid { grid-template-columns: 1fr; }
  .m-reviews__grid::before { display: none; } /* no vertical divider when stacked */
  .m-reviews__foot { align-items: flex-start; gap: 20px; }
}

/* =====================================================================
   MODULE · STATS
   ===================================================================== */
.m-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,3vw,48px); }
.m-stats__n { font-weight: 700; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.02em; }
.m-stats__l { margin-top: .9em; font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }

/* =====================================================================
   MODULE · CTA BAND
   ===================================================================== */
.m-cta { position: relative; overflow: hidden; color: var(--white); text-align: left; }
.m-cta .ph { position: absolute; inset: 0; width: 100%; height: 100%; filter: brightness(.5); z-index: -2; }
.m-cta::after { content:""; position:absolute; inset:0; background: rgba(10,10,10,.35); z-index:-1; }
.m-cta__inner { padding-block: clamp(80px, 11vw, 180px); }
.m-cta h2 { max-width: 16ch; margin-bottom: .7em; }
/* CTA body line matches the canonical body copy (was the larger lead size) */
.m-cta .lead { font-size: .95rem; line-height: 1.62; }

/* Light CTA band (Studio "Contact Us") — eyebrow + heading left, link right,
   on paper with a brand-guide rule across the top. */
.m-cta--light { position: static; overflow: visible; color: var(--ink); background: var(--paper);
  border-top: 1px solid var(--line); }
.m-cta--light::after { display: none; }
.m-cta--light .m-cta__row { display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px,4vw,60px); flex-wrap: wrap; padding-block: clamp(48px,6vw,96px); }
.m-cta--light .subhead { display: block; margin-bottom: 1em; }
.m-cta--light .m-cta__text h2 { max-width: 18ch; margin: 0; }
.m-cta--light .m-cta__text .body { margin-top: .8em; color: var(--muted); max-width: 46ch; }
.m-cta--light .m-cta__action .cta { color: var(--ink); }
@media (max-width: 640px) {
  .m-cta--light .m-cta__row { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   MODULE · CONTACT
   ===================================================================== */
/* symmetric columns so the centre divider aligns with the reviews divider below */
.m-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,110px); align-items: start; position: relative; }
/* vertical divider centred on the page (matches .m-reviews__grid::before) */
.theme-dark .m-contact__grid::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: rgba(255,255,255,.16); }
.contact-detail { margin-top: 2.4em; }
/* Each detail is separated by a thin brand-guide divider line */
.contact-detail dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted);
  margin-top: 1.6em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.contact-detail dt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.contact-detail dd { font-size: .95rem; line-height: 1.62; margin-top: .35em; }
.theme-dark .contact-detail dt { border-top-color: var(--line-on-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 10px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 12px 0; font: inherit; color: var(--ink); transition: border-color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(64px,8vw,120px); }
.site-footer a:hover { color: var(--dune); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px,4vw,60px);
  padding-bottom: clamp(48px,6vw,88px); }
.footer-logo img { height: clamp(40px,5.2vw,68px); width: auto; margin-bottom: 28px; }
/* Footer column headings match the header nav styling (uppercase, spaced) */
.footer-col h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .17em; color: rgba(255,255,255,.92); margin-bottom: 20px; font-weight: 600; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,.82); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-block: 30px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); }

/* =====================================================================
   NEXT PROJECT
   ===================================================================== */
.m-next { position: relative; overflow: hidden; color: var(--white); display: block; }
.m-next .ph { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(1) brightness(.7); z-index: -2; transition: filter var(--slow), transform var(--slow); }
.m-next:hover .ph { filter: grayscale(0) brightness(.8); transform: scale(1.04); }
.m-next::after { content:""; position:absolute; inset:0; background: rgba(10,10,10,.28); z-index:-1; }
.m-next__inner { padding-block: clamp(70px,9vw,150px); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* =====================================================================
   PLACEHOLDER "PHOTOGRAPHY" — layered gradients standing in for
   architectural imagery. Greyscale by default; brand-warm on hover.
   Swap each .ph for <img> in production.
   ===================================================================== */
/* real imagery uses <img class="ph"> — filters/hover come from the module rules */
img.ph { object-fit: cover; display: block; max-width: none; }
.ph { background-color: #6b6b6b; background-repeat: no-repeat; }
/* neutral greyscale placeholder gradients (secondary colours removed) */
.ph--concrete { background:
  radial-gradient(120% 80% at 20% 0%, #b6b6b6 0%, rgba(182,182,182,0) 55%),
  linear-gradient(160deg, #c9c9c9 0%, #969696 48%, #6c6c6c 100%); }
.ph--timber { background:
  repeating-linear-gradient(92deg, rgba(0,0,0,.05) 0 3px, rgba(255,255,255,.03) 3px 8px),
  linear-gradient(120deg, #a8a8a8 0%, #7a7a7a 55%, #545454 100%); }
.ph--dusk { background:
  radial-gradient(90% 120% at 80% 10%, #bdbdbd 0%, rgba(189,189,189,0) 50%),
  linear-gradient(200deg, #969696 0%, #666666 55%, #383838 100%); }
.ph--interior { background:
  radial-gradient(80% 70% at 30% 20%, #e2e2e2 0%, rgba(226,226,226,0) 60%),
  linear-gradient(150deg, #cfcfcf 0%, #9e9e9e 60%, #676767 100%); }
.ph--garden { background:
  radial-gradient(100% 90% at 70% 0%, #cccccc 0%, rgba(204,204,204,0) 55%),
  linear-gradient(170deg, #8f8f8f 0%, #565656 60%, #333333 100%); }
.ph--stone { background:
  linear-gradient(135deg, #c6c6c6 0%, #a2a2a2 45%, #787878 100%); }
.ph--sky { background:
  linear-gradient(180deg, #d0d0d0 0%, #a3a3a3 45%, #717171 100%); }
.ph--facade { background:
  repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 22px, rgba(255,255,255,.02) 22px 24px),
  linear-gradient(120deg, #b2b2b2 0%, #858585 60%, #5c5c5c 100%); }

/* subtle film grain over placeholders for realism */
.ph::after { content:""; position:absolute; inset:0; opacity:.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ph { position: relative; }

/* =====================================================================
   MOTION — scroll reveals, image wipes, stagger, parallax
   ===================================================================== */
:root { --rise: cubic-bezier(.16,1,.3,1); }

/* base fade-rise */
.reveal { opacity: 0; transform: translateY(58px); transition: opacity 1.15s var(--rise), transform 1.15s var(--rise); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s } .reveal.d2 { transition-delay: .18s }
.reveal.d3 { transition-delay: .27s } .reveal.d4 { transition-delay: .36s }

/* stagger direct children (lists, grids, meta) */
.stagger > * { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--rise), transform 1s var(--rise); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(1){ transition-delay:.06s } .stagger.is-in > *:nth-child(2){ transition-delay:.16s }
.stagger.is-in > *:nth-child(3){ transition-delay:.26s } .stagger.is-in > *:nth-child(4){ transition-delay:.36s }
.stagger.is-in > *:nth-child(5){ transition-delay:.46s } .stagger.is-in > *:nth-child(6){ transition-delay:.56s }
.stagger.is-in > *:nth-child(7){ transition-delay:.66s } .stagger.is-in > *:nth-child(8){ transition-delay:.76s }
.stagger.is-in > *:nth-child(9){ transition-delay:.86s }

/* image wipe — media scales down from 1.2 while a clip opens upward */
.media-reveal { overflow: hidden; }
.media-reveal .ph { clip-path: inset(100% 0 0 0); transform: scale(1.2);
  transition: clip-path 1.25s var(--rise), transform 1.6s var(--rise), filter var(--slow); }
.media-reveal.is-in .ph { clip-path: inset(0 0 0 0); transform: scale(1); }

/* headline line-mask reveal */
.title-reveal { }
.title-reveal .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.title-reveal .ln > span { display: block; transform: translateY(110%); transition: transform 1s var(--rise); }
.title-reveal.is-in .ln:nth-child(1) > span { transition-delay: .05s }
.title-reveal.is-in .ln:nth-child(2) > span { transition-delay: .16s }
.title-reveal.is-in .ln > span { transform: translateY(0); }

/* hero content load-in (no scroll needed) */
.load-in > * { opacity: 0; transform: translateY(30px); animation: loadIn 1.1s var(--rise) forwards; }
.load-in > *:nth-child(1){ animation-delay:.15s } .load-in > *:nth-child(2){ animation-delay:.30s }
.load-in > *:nth-child(3){ animation-delay:.45s } .load-in > *:nth-child(4){ animation-delay:.60s }
@keyframes loadIn { to { opacity: 1; transform: none; } }

/* parallax (JS-driven) — oversize media so it can shift without gaps.
   transition:none so per-frame transform updates don't lag. */
[data-parallax] { will-change: transform; }
.ph[data-parallax] { height: 142%; top: -21%; bottom: auto; transition: none; }

/* =====================================================================
   MODULE · TEAM
   ===================================================================== */
.m-team__head { margin-bottom: clamp(32px,4vw,64px); max-width: 52ch; }
.m-team__head h2 { margin-bottom: .5em; }
.m-team__head p { color: var(--muted); }
.m-team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px,1.6vw,26px); }
.m-team__card { }
.m-team__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.m-team__media img { width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.02); transform: scale(1.001);
  transition: filter var(--slow), transform var(--slow); }
.m-team__card:hover .m-team__media img { transform: scale(1.045); }
.m-team__name { margin-top: 1.1em; font-weight: 700; text-transform: uppercase;
  letter-spacing: -.005em; font-size: clamp(1.1rem,1.5vw,1.5rem); line-height: 1.05; }
.m-team__role { color: var(--muted); font-size: .7rem; text-transform: uppercase;
  letter-spacing: .2em; margin-top: .7em; }

/* =====================================================================
   MODULE · TEAM BAND (full-bleed portraits)
   ===================================================================== */
.m-teamband__head { margin-bottom: clamp(32px,4vw,56px); }
.m-teamband__head h2 { margin-bottom: .5em; }
.m-teamband__head p { color: var(--ink); max-width: 60ch; }
.m-teamband__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; }
.m-teamband__cell { position: relative; aspect-ratio: 3/4; max-height: 84vh; overflow: hidden; background: var(--paper-2); }
.m-teamband__cell img { width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.02); transform: scale(1.001);
  transition: filter var(--slow), transform var(--slow); }
.m-teamband__cell:hover img { transform: scale(1.045); }
.m-teamband__cell::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(0,0,0,.55) 100%); }
.m-teamband__cap { position: absolute; z-index: 2; left: clamp(20px,2.2vw,40px); bottom: clamp(20px,2.4vw,36px); color: var(--white); }
.m-teamband__cap .n { font-weight: 700; text-transform: uppercase; letter-spacing: -.005em; font-size: clamp(1.1rem,1.5vw,1.5rem); line-height: 1; }
.m-teamband__cap .r { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dune); margin-top: .7em; }

/* Intro paragraphs (multi-paragraph support) */
.m-teamband__intro p { color: var(--ink); font-size: .95rem; line-height: 1.62; max-width: 52ch; }
.m-teamband__intro p + p { margin-top: 1em; }

/* Split layout (Studio "Our People") — text left, portraits right, brand-guide divider */
.m-teamband--split .m-teamband__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; align-items: start; }
.m-teamband--split .m-teamband__head { margin-bottom: 0; padding-right: clamp(28px,4vw,64px); }
.m-teamband--split .m-teamband__intro p { max-width: 40ch; }
.m-teamband--split .m-teamband__grid { grid-template-columns: 1fr 1fr; gap: clamp(10px,1.6vw,22px);
  padding-left: clamp(28px,4vw,64px); border-left: 1px solid var(--line); }
.m-teamband--split .m-teamband__cell { aspect-ratio: 3/4; max-height: none; }
@media (max-width: 1024px) {
  .m-teamband--split .m-teamband__inner { grid-template-columns: 1fr; }
  .m-teamband--split .m-teamband__head { padding-right: 0; margin-bottom: clamp(28px,5vw,44px); }
  .m-teamband--split .m-teamband__grid { padding-left: 0; border-left: 0; }
}

/* Contained full-bleed (Studio hero image) — centred, not edge-to-edge */
.m-fullbleed--contained { position: relative; height: auto; max-width: 600px; margin-inline: auto;
  aspect-ratio: 4/5; overflow: hidden; }
.m-fullbleed--contained .ph, .m-fullbleed--contained img { position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; }
.m-fullbleed--contained .m-fullbleed__cap { color: var(--white); }

/* =====================================================================
   MODULE · TIMELINE (animated, scroll-driven)
   ===================================================================== */
.m-timeline__head { margin-bottom: clamp(32px,4vw,64px); }
.m-timeline__track { position: relative; margin-left: clamp(6px,1vw,12px);
  padding-left: clamp(30px,4vw,64px); }
.m-timeline__track::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em;
  width: 1px; background: var(--line); }
.m-timeline__progress { position: absolute; left: 0; top: .3em; width: 1px; height: 0;
  background: var(--lichen); will-change: height; }
.m-timeline__step { position: relative; padding: clamp(22px,3.4vw,46px) 0;
  opacity: 0; transform: translateY(28px); transition: opacity .9s var(--rise), transform .9s var(--rise); }
.m-timeline__step.is-in { opacity: 1; transform: none; }
/* Process dots removed per feedback — the progress line remains as the slide bar */
.m-timeline__dot { display: none; }
.m-timeline__n { font-size: .72rem; letter-spacing: .18em; color: var(--muted); font-weight: 600; }
.m-timeline__t { font-weight: 700; text-transform: uppercase; letter-spacing: -.005em;
  font-size: clamp(1.2rem,2vw,1.9rem); line-height: 1.05; margin: .35em 0 .5em; }
.m-timeline__d { color: var(--ink); font-size: .95rem; line-height: 1.62; max-width: 54ch; }

/* =====================================================================
   MODULE · TIMELINE — HORIZONTAL variant (brochure "THE PROCESS" grid)
   Static columns, no scroll-progress bar; a single divider line beneath
   ties it back to the brand-guide line pattern used elsewhere.
   ===================================================================== */
.m-timeline--horizontal .m-timeline__head { text-align: center; }
.m-timeline--horizontal .m-timeline__grid { display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px,3.5vw,48px); }
.m-timeline--horizontal .m-timeline__n { display: block; font-size: .82rem; letter-spacing: .04em;
  color: var(--ink); font-weight: 700; text-transform: uppercase; margin-bottom: .6em; }
.m-timeline--horizontal .m-timeline__d { font-size: .95rem; line-height: 1.62; color: var(--muted); max-width: 32ch; }
.m-timeline--horizontal .m-timeline__rule { margin-top: clamp(28px,3.6vw,48px); }
@media (max-width: 860px) {
  .m-timeline--horizontal .m-timeline__grid { grid-template-columns: repeat(2, 1fr); row-gap: clamp(24px,5vw,40px); }
}
@media (max-width: 480px) {
  .m-timeline--horizontal .m-timeline__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 640px) { .m-team__grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 1024px) {
  .m-statement__grid, .m-textmedia__grid, .m-contact__grid { grid-template-columns: 1fr; }
  .m-statement__aside { position: static; }
  .m-textmedia--flip .m-textmedia__media { order: 0; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .m-meta__grid { grid-template-columns: repeat(2, 1fr); }
  .m-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .g-4, .g-8, .g-6 { grid-column: span 6; }
  /* spec grid drops to 2 cols: reset the first cell of each row */
  .m-meta__cell:nth-child(odd) { padding-left: 0; border-left: 0; }
  /* contact columns stack — remove the vertical divider */
  .theme-dark .m-contact__grid::before { display: none; } /* columns stack — no divider */
}
@media (max-width: 640px) {
  .site-nav { position: fixed; inset: 0; background: var(--ink); color: var(--white);
    flex-direction: column; justify-content: center; gap: 32px; transform: translateX(100%);
    transition: transform .5s var(--ease); z-index: 90; }
  .site-nav.is-open { transform: none; }
  .site-nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; z-index: 95; width: 26px; }
  .nav-toggle span { height: 1.5px; background: currentColor; transition: transform .4s, opacity .3s; }
  .nav-toggle.is-open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg) }
  .nav-toggle.is-open span:nth-child(2){ opacity: 0 }
  .nav-toggle.is-open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg) }
  .work-grid, .work-grid--2 { grid-template-columns: 1fr; }
  .m-meta__grid, .m-stats__grid, .footer-top { grid-template-columns: 1fr; }
  /* single column: drop the vertical dividers entirely; the grid row-gap
     provides the spacing between each stacked spec/detail instead */
  .m-meta__grid { row-gap: clamp(22px,6vw,30px); }
  .m-meta__cell { padding-left: 0; border-left: 0; }
  .g-4, .g-8, .g-6, .g-12 { grid-column: span 12; aspect-ratio: 3/2; }
  .form-row { grid-template-columns: 1fr; }
  .m-hero__inner { padding-top: 120px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   INTEGRATION — WordPress WYSIWYG resets + small fixes
   ===================================================================== */
.m-statement__big > p { margin: 0; font-size: inherit; line-height: inherit; }
.m-statement__big > p + p { margin-top: .6em; }
.m-textmedia__body .body > p:first-child { margin-top: 0; }
.m-textmedia__list .t, .m-textmedia__list .d { display: block; }
@media (max-width: 640px) {
  .lead, .m-pagehero__lead { max-width: 100%; }
}

/* mobile menu icon stays visible over the dark nav overlay */
.nav-toggle.is-open span { background: var(--white); }

/* =====================================================================
   TEAM BIO — overlay revealed on hover
   ===================================================================== */
.m-teamband__cap { transition: opacity .4s var(--ease); }
.m-teamband__bio { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  justify-content: flex-end; gap: .75em; padding: clamp(22px,2.4vw,40px); color: var(--white);
  background: linear-gradient(180deg, rgba(10,10,10,.12) 0%, rgba(10,10,10,.5) 42%, rgba(10,10,10,.84) 100%);
  opacity: 0; transition: opacity .5s var(--ease); }
.m-teamband__cell.has-bio:hover .m-teamband__bio { opacity: 1; }
.m-teamband__cell.has-bio:hover .m-teamband__cap { opacity: 0; }
.m-teamband__bio .n { font-weight: 700; text-transform: uppercase; letter-spacing: -.005em; font-size: clamp(1.1rem,1.5vw,1.5rem); line-height: 1; }
.m-teamband__bio .r { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dune); }
.m-teamband__bio p { font-size: clamp(.92rem,1vw,1.02rem); line-height: 1.55; max-width: 44ch; color: rgba(255,255,255,.92); }

/* =====================================================================
   GRAVITY FORMS — mapped to the Bishop & Hart form styling
   ===================================================================== */
.gform_wrapper form { margin: 0; }
.gform_wrapper .gform_required_legend { display: none; }
.gform_wrapper .gfield { margin-bottom: 22px; }
.gform_wrapper .gfield_label,
.gform_wrapper legend.gfield_label {
  font-size: .68rem !important; text-transform: uppercase; letter-spacing: .16em;
  color: var(--muted); margin-bottom: 10px; font-weight: 600;
}
.gform_wrapper .gfield input[type=text],
.gform_wrapper .gfield input[type=email],
.gform_wrapper .gfield input[type=tel],
.gform_wrapper .gfield input[type=number],
.gform_wrapper .gfield select,
.gform_wrapper .gfield textarea {
  width: 100% !important; background: transparent !important; border: 0 !important;
  border-bottom: 1px solid var(--line) !important; border-radius: 0 !important;
  padding: 12px 0 !important; font: inherit !important; color: var(--ink) !important;
  box-shadow: none !important; transition: border-color .3s;
}
.gform_wrapper .gfield input:focus,
.gform_wrapper .gfield select:focus,
.gform_wrapper .gfield textarea:focus { outline: 0 !important; border-color: var(--ink) !important; }
.gform_wrapper .gfield textarea { min-height: 120px; resize: vertical; }
.gform_wrapper .gform_footer { margin-top: 8px; padding: 0; }
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_footer button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05em 2.4em !important; background: var(--ink) !important; color: var(--white) !important;
  text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 600;
  border: 0 !important; border-radius: 0 !important; cursor: pointer; width: auto;
  transition: background .4s var(--ease);
}
.gform_wrapper .gform_footer input[type=submit]:hover,
.gform_wrapper .gform_footer button:hover { background: var(--lichen) !important; }
.gform_wrapper .gform_confirmation_message { font-size: 1.05rem; color: var(--lichen); }
.gform_wrapper .gfield_description.validation_message,
.gform_wrapper .validation_message { color: #8a4b3b; font-size: .8rem; margin-top: 8px; }
.gform_wrapper .gfield_required,
.gform_wrapper .gfield_required_text,
.gform_wrapper .gfield_label .gfield_required {
  font-style: normal !important;
  color: var(--ink) !important;
  font-size: .78em !important;
  letter-spacing: .08em;
}

/* =====================================================================
   SINGLE PROJECT — full colour imagery + reduced type
   Per the Aug 2026 brand refresh: project pages show full-colour imagery
   throughout (matching the Projects Page brochure reference). Hero and
   full-bleed inherit the sitewide colour-by-default rules (no override).
   The work-grid + gallery thumbnails are full colour and turn BLACK &
   WHITE on hover — the doc's "black & white hover on homepage and
   projects page" rule. Typography is stepped down a notch here.
   ===================================================================== */

/* Project hero: the info line (scope · year · location) sits BELOW the title. */
.single-project .m-hero__title { margin-top: 0; }
.single-project .m-hero__meta { margin-top: clamp(14px,2vw,22px); }

/* Reduced type on project pages (hero title now uses the standard --fs-display) */
.single-project .m-statement__big { font-size: .95rem; }
.single-project .m-textmedia__body h2,
.single-project .h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }

/* =====================================================================
   STUDIO PAGE — quieter, editorial type scale (matches Studio Page ref)
   ===================================================================== */
.page-studio .m-textmedia__body h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }

/* =====================================================================
   DARK THEME (Contact page) — black background, white type, inverted form
   ===================================================================== */
.theme-dark { background: #000; color: #fff; }
.theme-dark .m-pagehero__lead { color: rgba(255,255,255,.85); }
.theme-dark .contact-detail dt { color: rgba(255,255,255,.5); }
.theme-dark .contact-detail dd,
.theme-dark .contact-detail a { color: #fff; }
/* header sits over black → force white regardless of scroll sampling */
body.theme-dark .site-header { color: var(--white); }
body.theme-dark .site-header .logo-dark  { opacity: 0; }
body.theme-dark .site-header .logo-light { opacity: 1; }
/* Gravity form on dark */
.theme-dark .gform_wrapper .gfield_label { color: rgba(255,255,255,.9) !important; }
.theme-dark .gform_wrapper .gfield input[type=text],
.theme-dark .gform_wrapper .gfield input[type=email],
.theme-dark .gform_wrapper .gfield input[type=tel],
.theme-dark .gform_wrapper .gfield input[type=number],
.theme-dark .gform_wrapper .gfield select,
.theme-dark .gform_wrapper .gfield textarea {
  background: transparent !important; color: #fff !important;
  border-color: rgba(255,255,255,.28) !important;
}
.theme-dark .gform_wrapper .gfield input::placeholder,
.theme-dark .gform_wrapper .gfield textarea::placeholder { color: rgba(255,255,255,.4) !important; }
.theme-dark .gform_wrapper .gfield select option { color: #000; }
.theme-dark .gform_wrapper .gfield input:focus,
.theme-dark .gform_wrapper .gfield select:focus,
.theme-dark .gform_wrapper .gfield textarea:focus { border-color: #fff !important; }
.theme-dark .gform_wrapper .gform_footer input[type=submit],
.theme-dark .gform_wrapper .gform_footer button {
  background: #fff !important; color: #000 !important; border: 1px solid #fff !important;
}
.theme-dark .gform_wrapper .gform_footer input[type=submit]:hover,
.theme-dark .gform_wrapper .gform_footer button:hover { background: transparent !important; color: #fff !important; }
.theme-dark .gform_wrapper .gfield_required { color: #fff !important; }
