/* =====================================================================
   METHOD DESIGN STUDIOS — Shared design system
   Paper-white editorial grammar: light serif display + italic emphasis,
   small sans labels, brass accent, black media / footer blocks.
   Canonical token source for the whole site.
   ===================================================================== */

:root {
  /* ---- colour ---- */
  --paper:      #FBFAF7;
  --paper-2:    #F3F1EC;
  --ink:        #0A0A0B;
  --ink-2:      #141416;
  --grey:       #6F6D68;
  --grey-2:     #A3A19B;
  --line:       rgba(10,10,11,.14);
  --line-soft:  rgba(10,10,11,.08);
  --line-dark:  rgba(251,250,247,.16);
  --gold:       #DEAA2E;      /* on dark */
  --gold-deep:  #DEAA2E;      /* brand gold on paper too (client reference #DEAA2E) */
  --gold-soft:  #F0D48A;
  --bone:       #EDEAE4;

  /* ---- type ---- */
  --font-serif: "Newsreader", "Times New Roman", Georgia, serif;
  --font-sans:  "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Google Sans", "Urbanist", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text-h1:    clamp(48px, 6.6vw, 96px);
  --text-h2:    clamp(40px, 5.2vw, 76px);
  --text-h2-xl: clamp(56px, 8vw, 118px);
  --text-h3:    clamp(26px, 2.6vw, 38px);
  --text-lede:  clamp(19px, 1.6vw, 26px);
  --text-body:  17px;
  --text-label: 14px;

  /* ---- layout ---- */
  --gutter:     clamp(20px, 4.2vw, 60px);
  --gap:        clamp(16px, 2vw, 32px);
  --maxw:       1760px;
  --sp-section: clamp(96px, 11vw, 180px);
  --sp-block:   clamp(40px, 5vw, 80px);
  --nav-h:      96px;
  --nav-h-s:    72px;

  /* ---- motion ---- */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --dur:       .6s;
  --dur-fast:  .3s;
}

/* =====================================================================
   BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
body {
  font-family: var(--font-sans); font-size: var(--text-body); line-height: 1.6;
  background: var(--paper); color: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--gold); color: var(--ink); }
html { scrollbar-color: #c9c6bf var(--paper); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #c9c6bf; border: 3px solid var(--paper); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 1px solid var(--gold-deep); outline-offset: 4px; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 300; text-wrap: balance; font-variation-settings: "opsz" 72; }
h1, h2 { font-weight: 350; }
h1 { font-size: var(--text-h1); line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: var(--text-h2); line-height: 1.04; letter-spacing: -.02em; }
h3 { font-size: var(--text-h3); line-height: 1.12; letter-spacing: -.012em; }
em, .it { font-style: italic; font-weight: 300; }
/* Type pairing: light serif line + heavier italic in brass; bold sans eyebrows */
h1 em, h2 em { font-weight: 400; color: var(--gold-deep); }
.on-dark h1 em, .on-dark h2 em, .cta h2 em, .hero-photo h1 em { color: var(--gold); }
h1 strong, h2 strong, h3 strong { font-weight: 600; }
h1 em.up, h2 em.up { font-style: normal; }
.eyebrow, .label.eyebrow { color: var(--gold-deep); font-weight: 600; display: block; margin-bottom: clamp(18px, 2.6vw, 30px); }
.on-dark .eyebrow, .on-dark .label.eyebrow { color: var(--gold); }
p  { max-width: 60ch; }
.lede { font-size: var(--text-lede); line-height: 1.4; max-width: 34ch; font-weight: 400; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--sp-section); position: relative; }
.on-dark { background: var(--ink); color: var(--paper); }

/* Small-caps sans label */
.label { font-family: var(--font-sans); font-size: var(--text-label); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; color: var(--ink); }
.label.dim { color: var(--grey); }
.on-dark .label { color: var(--paper); }
.on-dark .label.dim { color: rgba(251,250,247,.6); }

/* Line-mask reveal */
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask .line { display: block; }
.js .mask .line { transform: translateY(112%); }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Images — unified grade */
.img { position: relative; overflow: hidden; background: var(--paper-2); isolation: isolate; }
.img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.03); }
.img::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: #8A6A1C; mix-blend-mode: color; opacity: .12; }
.img.tall > img { height: 120%; top: -10%; }
.js .img[data-reveal] { clip-path: inset(100% 0 0 0); }
.js .img[data-reveal] > img { transform: scale(1.08); }

/* Circle arrow: → inside a ring */
.ring { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1.5px solid currentColor; border-radius: 50%; flex: none; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur) var(--ease); }
.ring svg { width: 24px; height: 24px; transition: transform var(--dur) var(--ease); }
.ring.sm { width: 40px; height: 40px; border-width: 1.5px; }
.ring.sm svg { width: 16px; height: 16px; }
/* The ring only reacts when the pointer is on the ring itself */
.ring:hover { background: currentColor; }
.ring:hover svg { transform: translateX(4px); }
.ring:hover svg path { stroke: var(--paper); }
.on-dark .ring:hover svg path, .panel .ring:hover svg path, .who .ring:hover svg path { stroke: var(--ink); }

/* Text link (serif italic + ring) */
.slink { display: inline-flex; align-items: center; gap: 18px; font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.01em; }
.slink .ring { color: inherit; }

/* Pill button (sans, used sparingly) */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border: 1.5px solid var(--ink); border-radius: 999px; font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn svg { width: 14px; height: 14px; }
.on-dark .btn { border-color: var(--paper); }
.on-dark .btn:hover { background: var(--paper); color: var(--ink); }

/* =====================================================================
   NAV — logo left, burger right, glass after scroll
   ===================================================================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h); transition: height var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { height: var(--nav-h-s); background: rgba(251,250,247,.72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--line-soft); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 16px; }
.brand-mark { height: 54px; width: auto; transition: height var(--dur) var(--ease); }
.brand-word { height: 22px; width: auto; transition: height var(--dur) var(--ease); }
.nav.is-scrolled .brand-mark { height: 42px; }
.nav.is-scrolled .brand-word { height: 18px; }
.nav-right { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--gold); color: var(--ink); font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(222,170,46,.28); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.nav-link:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(10,10,11,.22); }
.nav-link:hover svg { transform: translateX(3px); }
body.menu-open .nav-link { background: var(--gold); color: var(--ink); }
.menu-btn { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; width: 40px; height: 44px; }
.menu-btn span { display: block; width: 36px; height: 2px; background: var(--ink); transition: transform var(--dur) var(--ease), width var(--dur-fast) var(--ease), opacity var(--dur-fast); }
.menu-btn span:nth-child(2) { width: 24px; }
.menu-btn:hover span:nth-child(2) { width: 36px; }
body.menu-open .menu-btn span { background: var(--paper); }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
body.menu-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .brand-word { filter: invert(1) brightness(1.4); }

/* Menu: big type; if the list is taller than the screen it scrolls instead of clipping */
.menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper); overflow-y: auto; -webkit-overflow-scrolling: touch; visibility: hidden; opacity: 0; transform: translateY(-1.5%); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur); }
.menu.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
/* the cookie banner (z 80) sits above the full-screen menu (z 55) and covered the last menu links on a phone
   first visit — while the menu is open the banner steps aside, and comes back as soon as the menu closes */
body.menu-open .cookie { visibility: hidden; }
.menu-inner { min-height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-content: center; padding: calc(var(--nav-h) + 16px) var(--gutter) 48px; }
.menu-links { grid-column: 1 / span 7; list-style: none; display: grid; gap: 2px; }
/* Sizes scale with viewport height too, so all eight links fit on a laptop screen */
.menu-links a { display: inline-flex; align-items: baseline; gap: 26px; padding: 5px 0; font-family: var(--font-serif); font-weight: 300; font-size: clamp(40px, min(6.6vw, 9vh), 104px); line-height: 1; letter-spacing: -.02em; color: rgba(251,250,247,.55); transition: color var(--dur-fast) var(--ease), padding-left var(--dur) var(--ease); }
.menu-links a .n { font-family: var(--font-sans); font-size: clamp(13px, 1.15vh, 16px); letter-spacing: .06em; color: var(--gold); }
.menu-links a:hover, .menu-links a[aria-current="page"] { color: var(--paper); padding-left: 12px; }
.menu-links .sub a { font-size: clamp(28px, min(3.4vw, 4.9vh), 54px); padding: 3px 0 3px 72px; font-style: italic; }
.menu-links .sub a:hover { padding-left: 84px; }
.menu-side { grid-column: 9 / span 4; align-self: center; display: grid; gap: 28px; }
.menu-side .label { color: rgba(251,250,247,.55); }
.menu-side address { font-style: normal; font-family: var(--font-serif); font-size: clamp(22px, 2.9vh, 28px); line-height: 1.35; font-weight: 300; }
.menu-side .slink { font-size: clamp(26px, 3.4vh, 32px); }

/* =====================================================================
   HERO — headline only, straight under the logo
   ===================================================================== */
.hero { padding: calc(var(--nav-h) + clamp(24px, 4vh, 48px)) 0 clamp(48px, 7vh, 80px); }
.hero h1 { max-width: 14ch; }

/* =====================================================================
   MEDIA BLOCK — full-bleed dark, giant word slides with scroll,
   then the featured-projects row (title · ring · 01/02/03)
   ===================================================================== */
.media { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }

/* =====================================================================
   MANIFESTO — centred statement with inline photos + brass annotation
   ===================================================================== */

@keyframes draw { to { stroke-dashoffset: 0; } }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); max-width: 1180px; margin: clamp(56px, 8vh, 96px) auto 0; border-top: 1px solid var(--line); }
.stat { padding-top: 28px; text-align: left; }
.stat .big { font-family: var(--font-serif); font-weight: 300; font-size: clamp(48px, 5.4vw, 88px); line-height: 1; letter-spacing: -.03em; display: flex; align-items: baseline; flex-wrap: nowrap; gap: 10px; min-width: 0; }
.stat .big .num { white-space: nowrap; }
.stat .big small { font-family: var(--font-sans); font-size: clamp(18px, 1.6vw, 26px); line-height: 1.1; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; white-space: nowrap; }
.stat .label { display: block; margin-top: 14px; color: var(--grey); }

/* Gradient band in brass */
.band { height: clamp(96px, 14vw, 180px); background: linear-gradient(180deg, var(--paper) 0%, #F3DFA3 40%, #E6C25E 60%, var(--paper) 100%); }

/* =====================================================================
   LINES — three full-width photo panels, one per discipline
   ===================================================================== */
.lines { padding-block: var(--sp-section); }
.lines .head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: end; margin-bottom: var(--sp-block); }
.lines .head h2 { grid-column: 1 / span 7; }
.lines .head .lede { grid-column: 9 / span 4; color: var(--grey); }
.panels { display: grid; gap: clamp(20px, 2.6vw, 40px); padding-inline: clamp(12px, 2vw, 32px); }
.panel { display: block; position: relative; height: min(90vh, 920px); min-height: 520px; color: var(--paper); }
.panel .img { position: absolute; inset: 0; }
.panel .img > img { transition: transform 1.8s var(--ease); }
.panel:hover .img > img { transform: scale(1.03); }
.panel .img::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,11,.18) 0%, rgba(10,10,11,0) 26%, rgba(10,10,11,0) 52%, rgba(10,10,11,.72) 100%); }
.panel .n { position: absolute; z-index: 2; top: clamp(24px, 3.5vw, 56px); left: clamp(24px, 3.5vw, 56px); }
.panel .n .label { color: var(--paper); }
.panel .n .label::before { content: ""; display: inline-block; width: 28px; height: 1.5px; background: var(--gold); margin-right: 14px; vertical-align: middle; }
.panel-text { position: absolute; z-index: 2; left: clamp(24px, 3.5vw, 56px); right: clamp(24px, 3.5vw, 56px); bottom: clamp(24px, 3.5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 34ch); align-items: end; gap: 24px clamp(32px, 5vw, 96px); }
/* Discipline titles: Urbanist, light + bold pairing, brass on the key word */
.panel h3 { font-family: var(--font-brand); font-size: clamp(52px, 8vw, 132px); line-height: .95; letter-spacing: -.03em; font-weight: 500; font-variation-settings: normal; }
.panel h3 em { font-style: normal; font-weight: 500; color: var(--gold); }
.panel-side { display: grid; gap: 22px; justify-items: start; }
.panel-side p { font-size: 17px; line-height: 1.55; color: rgba(251,250,247,.85); max-width: 34ch; }
.panel-side .ring { color: var(--paper); }
.panel:nth-child(even) .panel-text { grid-template-columns: minmax(280px, 34ch) minmax(0, 1fr); }
.panel:nth-child(even) h3 { grid-column: 2; text-align: right; }
.panel:nth-child(even) .panel-side { grid-column: 1; grid-row: 1; }

/* =====================================================================
   SELECTED — PROJECTS: heading + filter tabs, big card, numbered rows
   ===================================================================== */
.projects { padding-block: var(--sp-section); border-top: 1px solid var(--line); }
.projects-head { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.projects-head h2 em { font-style: italic; }
.tabs { display: flex; gap: clamp(20px, 2.6vw, 44px); flex-wrap: wrap; }
.tab { font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); padding-bottom: 6px; position: relative; transition: color var(--dur-fast); }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { transform: scaleX(1); }
.proj-hero { display: block; position: relative; margin-bottom: clamp(24px, 3vw, 40px); }
.proj-hero .img { aspect-ratio: 16 / 9; }
.proj-hero .img > img { filter: saturate(.85) contrast(1.04) brightness(.85); transition: transform 1.6s var(--ease); }
.proj-hero:hover .img > img { transform: scale(1.03); }
.proj-hero .over { position: absolute; inset: 0; z-index: 2; padding: clamp(20px, 3vw, 44px); display: flex; justify-content: space-between; align-items: flex-start; color: var(--paper); pointer-events: none; }
.proj-hero .over h3 { font-size: clamp(28px, 3.2vw, 48px); max-width: 16ch; }
.proj-hero .over .n { font-family: var(--font-serif); font-weight: 300; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; }
.proj-hero .over .label { color: rgba(251,250,247,.75); margin-bottom: 10px; display: block; }
.rows { border-top: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 7fr) minmax(120px, 2fr); gap: 16px var(--gap); align-items: center; padding: clamp(28px, 3.4vw, 52px) 0; border-bottom: 1px solid var(--line); transition: opacity var(--dur) var(--ease); }
.prow .thumb { display: grid; gap: 14px; }
.prow .thumb .img { aspect-ratio: 16 / 10; }
.prow .thumb .img > img { transition: transform 1.4s var(--ease); }
.prow:hover .thumb .img > img { transform: scale(1.05); }
.prow .label { color: var(--ink); max-width: 20ch; }
.prow h3 { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.06; transition: transform var(--dur) var(--ease); }
.prow h3 em { color: var(--grey); }
.prow .n { font-family: var(--font-serif); font-weight: 300; font-size: clamp(48px, 6vw, 96px); line-height: 1; letter-spacing: -.03em; text-align: right; transition: color var(--dur-fast) var(--ease); }
@media (hover: hover) {
  .prow:hover h3 { transform: translateX(10px); }
  .prow:hover .n { color: var(--gold-deep); }
}
.prow.is-hidden, .proj-hero.is-hidden { display: none; }
.projects-foot { display: flex; justify-content: flex-end; padding-top: clamp(28px, 3vw, 40px); }

/* =====================================================================
   WHO / HOW — full-bleed photo, centred label + rule + italic heading + ring
   ===================================================================== */
.who { position: relative; height: 100vh; min-height: 640px; max-height: 960px; overflow: hidden; color: var(--paper); display: grid; place-items: center; text-align: center; }
.who .img { position: absolute; inset: 0; }
.who .img > img { filter: saturate(.8) contrast(1.04) brightness(.72); }
.who .img::before { opacity: .1; }
.who-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 28px; padding: 0 var(--gutter); }
.who-inner .label { color: var(--paper); }
.who-inner .rule { width: 112px; height: 4px; background: var(--gold); }
.who-inner h2 { font-size: var(--text-h2-xl); color: var(--paper); max-width: 18ch; margin-inline: auto; font-weight: 400; }
.who-inner h2 em { color: var(--gold); font-weight: 400; }
.who-inner .ring { margin-top: 12px; width: 84px; height: 84px; }
.who-inner .ring svg { width: 30px; height: 30px; }

/* =====================================================================
   FOOTER CTA (black) + offices + links
   ===================================================================== */
.cta { background: var(--ink); color: var(--paper); padding-block: clamp(96px, 12vw, 180px) 14px; overflow: hidden; }
.cta .grid { align-items: start; row-gap: 40px; }
.cta h2 { grid-column: 1 / span 7; font-size: var(--text-h2-xl); }
.cta h2 em { color: var(--gold); font-weight: 300; }  /* footer keeps the v4 light italic */
.cta h2 .dash { display: inline-block; width: .55em; height: 2px; background: currentColor; vertical-align: middle; margin-right: .18em; position: relative; top: -.06em; }
.cta-side { grid-column: 8 / span 5; display: grid; gap: 32px; padding-top: .35em; }
.cta-side .lede { color: var(--paper); font-family: var(--font-sans); font-weight: 400; max-width: 30ch; }
/* Brass glow rule: faint at the edges, brightest and thickest in the middle */
.cta-rule { position: relative; height: 14px; margin-block: clamp(56px, 7vw, 96px); }
/* soft halo: thickest and brightest in the middle, tapering to nothing at the ends */
.cta-rule::before { content: ""; position: absolute; inset: -14px 0; background: radial-gradient(ellipse 42% 50% at 50% 50%, rgba(222,170,46,.85) 0%, rgba(222,170,46,.45) 35%, rgba(222,170,46,.12) 65%, rgba(222,170,46,0) 100%); filter: blur(6px); }
/* the line itself */
.cta-rule::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: linear-gradient(90deg, rgba(222,170,46,0) 0%, rgba(222,170,46,.55) 22%, #F6DF9A 50%, rgba(222,170,46,.55) 78%, rgba(222,170,46,0) 100%); box-shadow: 0 0 8px 1px rgba(240,212,138,.9), 0 0 22px 3px rgba(222,170,46,.55), 0 0 56px 10px rgba(222,170,46,.25); }

.offices { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); row-gap: 48px; }
.office-brand { grid-column: 1 / span 4; display: grid; gap: 28px; align-content: start; }
.office-brand .brand-mark { height: 84px; }
.office-brand .brand-word { height: 24px; }
.office-brand .btn { justify-self: start; }
.office { grid-column: span 2; }
.office:first-of-type { grid-column: 6 / span 2; }
.office h3 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 20px; }
.office .rule { width: 64px; height: 1px; background: rgba(251,250,247,.4); margin-bottom: 22px; }
.office p, .office address { font-style: normal; font-size: 15px; line-height: 1.6; color: rgba(251,250,247,.65); }
.office a:hover { color: var(--paper); }
.office ul { list-style: none; display: grid; gap: 10px; }
.office ul a { font-size: 15px; color: rgba(251,250,247,.65); transition: color var(--dur-fast); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.foot-bottom span, .foot-bottom a { font-family: var(--font-sans); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: rgba(251,250,247,.45); }
.foot-bottom a:hover { color: var(--paper); }
/* Brand word: client-supplied gold METHOD artwork (transparent PNG → WebP), full container width */
.foot-word { margin-top: clamp(64px, 9vw, 150px); margin-bottom: 0; user-select: none; }
.foot-word img { display: block; width: 100%; height: auto; }

/* =====================================================================
   COOKIE CONSENT
   ===================================================================== */
.cookie { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; width: min(100% - 32px, 1120px); background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(10,10,11,.28); padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; }
.cookie[hidden] { display: none; }
.cookie p { font-size: 14px; line-height: 1.55; max-width: 72ch; color: var(--grey); }
.cookie p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie .btn { padding: 12px 18px; font-size: 12px; }
.cookie .btn.solid { background: var(--ink); color: var(--paper); }
.cookie .btn.solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.cookie .btn.text { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.cookie .btn.text:hover { background: none; color: var(--gold-deep); }
.cookie-panel { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; }
.cookie-panel[hidden] { display: none; }
.cookie-panel label { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.cookie-panel label small { color: var(--grey); font-size: 13px; }
.cookie-panel input { accent-color: var(--gold-deep); width: 18px; height: 18px; }
.cookie-panel .btn { justify-self: start; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .menu-links { grid-column: 1 / span 12; }
  .menu-side { display: none; }
  .lines .head h2 { grid-column: 1 / span 12; }
  .lines .head .lede { grid-column: 1 / span 8; margin-top: 24px; }
  .cta h2 { grid-column: 1 / span 12; }
  .cta-side { grid-column: 1 / span 8; padding-top: 0; }
  .office-brand { grid-column: 1 / span 12; }
  .office, .office:first-of-type { grid-column: span 4; }
}
@media (max-width: 960px) {
  :root { --nav-h: 80px; --nav-h-s: 64px; }
  /* parallax is desktop-only, so drop the 20% overscan that fed it */
  .img.tall > img { height: 100%; top: 0; }
  .nav-link { display: none; }
  .brand-mark { height: 44px; }
  .brand-word { height: 18px; }
  .nav.is-scrolled .brand-mark { height: 38px; }
  .nav.is-scrolled .brand-word { height: 16px; }
  .menu-links a { font-size: clamp(48px, 15vw, 76px); gap: 18px; }
  .menu-links a .n { font-size: 12px; }
  .menu-links .sub a { font-size: clamp(28px, 8vw, 42px); padding-left: 48px; }
  .cookie { grid-template-columns: 1fr; bottom: max(12px, env(safe-area-inset-bottom)); padding: 18px; }
  .cookie-actions { justify-content: flex-start; }
  .panels { padding-inline: 0; }
  .panel { height: 72vh; min-height: 460px; }
  .panel-text, .panel:nth-child(even) .panel-text { grid-template-columns: 1fr; }
  .panel:nth-child(even) h3 { grid-column: 1; text-align: left; }
  .panel:nth-child(even) .panel-side { grid-column: 1; grid-row: auto; }
  .panel h3 { font-size: clamp(44px, 12vw, 80px); }
  .prow { grid-template-columns: minmax(0, 1fr) auto; }
  .prow .thumb { grid-column: 1 / span 2; }
  .proj-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px var(--gap); align-items: center; padding: 0 0 clamp(28px, 3.4vw, 52px); margin-bottom: 0; border-bottom: 1px solid var(--line); }
  .proj-hero .img { grid-column: 1 / span 2; aspect-ratio: 16 / 10; }
  .proj-hero .img > img { filter: saturate(.88) contrast(1.03); }
  .proj-hero .over { display: contents; }
  .proj-hero .over > div { display: grid; gap: 14px; }
  .proj-hero .over .label { color: var(--ink); margin: 0; max-width: 20ch; }
  .proj-hero .over h3 { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.06; max-width: none; color: var(--ink); }
  .proj-hero .over h3 em { color: var(--grey); }
  .proj-hero .over .n { font-size: clamp(48px, 6vw, 96px); letter-spacing: -.03em; text-align: right; color: var(--ink); }
  .rows { border-top: 0; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  
  
  
}
@media (max-width: 768px) {
  :root { --text-body: 16px; }
  .hero h1 { max-width: none; }
  .who { height: 80vh; min-height: 520px; }
  
  .office, .office:first-of-type { grid-column: span 12; }
  
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .mask .line, .js .img[data-reveal] > img { transform: none; opacity: 1; }
  .js .img[data-reveal] { clip-path: none; }
  .js .reveal { opacity: 1; transform: none; }
  
  
  .ring, .proj-hero .img > img, .prow h3 { transition: none; }
}

/* =====================================================================
   INNER PAGES — shared blocks (about / collection / lines / portfolio / contact)
   ===================================================================== */
.page-hero { padding: calc(var(--nav-h) + clamp(24px, 4vh, 48px)) 0 clamp(40px, 6vh, 64px); }
.page-hero .grid { align-items: end; }
.page-hero .l { grid-column: 1 / span 8; }
.page-hero .r { grid-column: 9 / span 4; display: grid; gap: 20px; justify-items: start; padding-bottom: .3em; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { max-width: 13ch; }
.page-hero .lede { color: var(--grey); }
.page-media { position: relative; height: 72vh; min-height: 480px; overflow: hidden; }
.page-media .img { position: absolute; inset: 0; }
.page-media .img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,11,.1), rgba(10,10,11,0) 40%, rgba(10,10,11,.45)); pointer-events: none; }
.page-media .cap { color: var(--paper); }
.page-media.inset { margin-inline: clamp(12px, 2vw, 32px); }

/* Two-column statement */
.split { padding-block: var(--sp-section); }
.split .grid { align-items: start; row-gap: 40px; }
.split .l { grid-column: 1 / span 6; }
.split .r { grid-column: 8 / span 5; display: grid; gap: 28px; }
.split .l h2 { max-width: 14ch; }
.split .r p { color: var(--grey); font-size: 17px; line-height: 1.65; }
.split .eyebrow { margin-bottom: 24px; }
.speclist { list-style: none; border-top: 1px solid var(--line); }
.speclist li { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr); gap: 12px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.speclist li .label { color: var(--grey); padding-top: 2px; }
.on-dark .speclist { border-color: var(--line-dark); }
.on-dark .speclist li { border-color: var(--line-dark); }
.on-dark .speclist li .label { color: rgba(251,250,247,.55); }

/* Numbered spec rows (series / systems / capabilities) */
.srows { border-top: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 72px minmax(0, 5fr) minmax(0, 5fr); gap: 12px var(--gap); align-items: start; padding: clamp(24px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); }
.srow .n { font-family: var(--font-serif); font-weight: 300; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; color: var(--gold-deep); }
.srow h3 { font-size: clamp(30px, 3.4vw, 50px); font-weight: 400; transition: transform var(--dur) var(--ease); }
.srow p { color: #3a3935; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; }
.srow .tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.srow .tags .label { font-size: 14px; font-weight: 600; color: var(--gold-deep); }
@media (hover: hover) { .srow:hover h3 { transform: translateX(8px); } }
/* Series rows with a reference photo (kitchen layouts) */
.srows.with-img .srow { grid-template-columns: 72px minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); align-items: center; }
.srows.with-img .srow .img { aspect-ratio: 16 / 10; }
.srows.with-img .srow .img > img { transition: transform 1.4s var(--ease); }
.srows.with-img .srow:hover .img > img { transform: scale(1.04); }

/* Stats strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .grid { padding-block: clamp(32px, 4vw, 56px); row-gap: 32px; }
.strip .stat { grid-column: span 3; }
.strip .stat .big { font-size: clamp(38px, 4.2vw, 64px); }
.strip .stat .big small { font-size: clamp(15px, 1.25vw, 20px); }

/* Horizontal pinned track (collection panels / process stepper)
   The stage is exactly one screen tall: header on top, the track fills what is left,
   so a panel is never cut off at the bottom and there is always air beneath it. */
.hwrap { overflow: hidden; }
.hstage { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; padding: calc(var(--nav-h-s) + 8px) 0 clamp(28px, 4.5vh, 48px); }
.hhead { flex: none; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(14px, 2.4vh, 24px); }
.hhead .l { grid-column: 1 / span 9; }
.hhead h2 { font-size: clamp(26px, 2.9vw, 44px); }
.hhead h2 .mask { display: inline-block; vertical-align: top; }
.hhead h2 .mask + .mask { margin-left: .28em; }
.hhead .eyebrow { margin-bottom: 8px; display: block; }
.hhead .r { grid-column: 10 / span 3; justify-self: end; font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 40px); color: var(--grey-2); white-space: nowrap; }
.hhead .r b { color: var(--ink); font-weight: 300; }
.hwrap { flex: 1 1 auto; min-height: 0; display: flex; }
.htrack { display: flex; gap: clamp(16px, 2vw, 32px); width: max-content; padding-inline: var(--gutter); align-items: stretch; align-self: stretch; }
.hpanel { position: relative; flex: none; width: min(88vw, 1560px); min-height: 320px; display: block; color: var(--paper); }
.hpanel .img { position: absolute; inset: 0; }
.hpanel .img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,11,.14), rgba(10,10,11,0) 40%, rgba(10,10,11,.72)); pointer-events: none; }
.hpanel .txt { position: absolute; z-index: 2; left: clamp(20px, 3vw, 48px); right: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; }
.hpanel h3 { font-family: var(--font-brand); font-size: clamp(40px, 5.6vw, 88px); line-height: .96; letter-spacing: -.025em; font-weight: 500; font-variation-settings: normal; }
.hpanel h3 em { font-style: normal; font-weight: 500; color: var(--gold); }
.hpanel .txt .label { color: rgba(251,250,247,.75); margin-bottom: 14px; display: block; }
.hpanel .ring { color: var(--paper); }
/* one full-width card per step: text left, photo right; the pin snaps card by card */
.hstep { flex: none; width: min(calc(100vw - 2 * var(--gutter)), 1560px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto minmax(0, 1fr); column-gap: clamp(24px, 3vw, 56px); row-gap: 24px; padding: clamp(20px, 2.6vw, 40px); border: 2px solid rgba(10,10,11,.32); border-top: 5px solid var(--gold); background: #fff; box-shadow: 0 18px 50px rgba(10,10,11,.06); min-height: 0; }
.hstep .n { grid-column: 1; grid-row: 1; font-family: var(--font-serif); font-weight: 300; font-size: clamp(64px, 7vw, 120px); line-height: 1; letter-spacing: -.03em; color: var(--gold-deep); }
.hstep > div:not(.img) { grid-column: 1; grid-row: 2; align-self: end; }
.hstep h3 { font-size: clamp(34px, 3.6vw, 60px); font-weight: 500; margin-bottom: 16px; }
.hstep p { color: #3a3935; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.5; max-width: 34ch; }
.hstep .img { grid-column: 2; grid-row: 1 / span 2; height: 100%; min-height: 200px; }

.page-collection .page-hero { padding-bottom: clamp(64px, 10vh, 128px); }
.page-collection #scope { padding-bottom: var(--sp-section); }
.page-collection #scope .srow:last-child { border-bottom: 0; }

/* Gallery — editorial masonry */
.gallery { padding-block: var(--sp-section); }
.gallery .head { margin-bottom: var(--sp-block); display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: end; }
.gallery .head h2 { grid-column: 1 / span 7; }
.gallery .head .lede { grid-column: 9 / span 4; color: var(--grey); }
.ggrid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gap); align-items: start; }
.gitem { display: block; position: relative; }
.gitem .img > img { transition: transform 1.6s var(--ease); }
.gitem:hover .img > img { transform: scale(1.03); }
.gitem .cap { color: var(--paper); }
.gitem.a { grid-column: 1 / span 8; } .gitem.a .img { aspect-ratio: 16 / 10; }
.gitem.b { grid-column: 9 / span 4; margin-top: clamp(40px, 8vw, 140px); } .gitem.b .img { aspect-ratio: 4 / 5; }
.gitem.c { grid-column: 1 / span 5; } .gitem.c .img { aspect-ratio: 4 / 5; }
.gitem.d { grid-column: 6 / span 7; margin-top: clamp(24px, 4vw, 72px); } .gitem.d .img { aspect-ratio: 16 / 10; }
.gitem.e { grid-column: 2 / span 10; } .gitem.e .img { aspect-ratio: 21 / 9; }
.gitem.f { grid-column: 1 / span 6; } .gitem.f .img { aspect-ratio: 3 / 2; }
.gitem.g { grid-column: 8 / span 5; margin-top: clamp(32px, 6vw, 100px); } .gitem.g .img { aspect-ratio: 3 / 4; }

/* Packages — standard vs upgrade */

/* Certifications / trust strip */

/* Team rows */
/* Leadership: portrait cards */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) var(--gap); }
.tm { display: grid; gap: 8px; align-content: start; }
.tm .img { aspect-ratio: 4 / 5; margin-bottom: 10px; }
.tm .img > img { filter: saturate(.85) contrast(1.02); transition: transform 1.4s var(--ease); }
.tm:hover .img > img { transform: scale(1.03); }
.tm h3 { font-size: clamp(24px, 2vw, 30px); }
.tm .role { font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--gold-deep); }
.tm .label { color: var(--grey); font-size: 12px; }
.tm p { color: var(--grey); font-size: 15px; line-height: 1.6; margin-top: 6px; }

/* Portfolio grid + lightbox */
.pgrid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: clamp(24px, 3vw, 48px) var(--gap); }
.pcard { grid-column: span 6; display: block; cursor: pointer; text-align: left; }
.pcard:nth-child(3n+1) { grid-column: span 7; }
.pcard:nth-child(3n+2) { grid-column: span 5; padding-top: clamp(24px, 5vw, 96px); }
.pcard:nth-child(3n) { grid-column: 3 / span 8; }
.pcard .img { aspect-ratio: 16 / 10; }
.pcard .img > img { transition: transform 1.6s var(--ease); }
.pcard:hover .img > img { transform: scale(1.03); }
.pcard .meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: baseline; padding-top: 16px; }
.pcard .meta h3 { font-size: clamp(24px, 2.4vw, 34px); }
.pcard .meta .n { font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); color: var(--grey-2); }
.pcard .meta .spec { grid-column: 1 / span 2; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pcard .meta .spec .label { color: var(--grey); font-size: 12px; }
.pcard.is-hidden { display: none; }
.plight { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.plight.open { visibility: visible; opacity: 1; transition-delay: 0s; }
.plight-inner { transform: translateY(24px); transition: transform .7s var(--ease); }
.plight.open .plight-inner { transform: none; }
.plight-inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(80px, 10vh, 120px) var(--gutter) 80px; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); row-gap: 40px; }
.plight-close { position: fixed; top: 24px; right: var(--gutter); z-index: 2; width: 56px; height: 56px; border: 1px solid rgba(251,250,247,.4); border-radius: 50%; display: grid; place-items: center; color: var(--paper); transition: background-color var(--dur-fast), color var(--dur-fast); }
.plight-close:hover { background: var(--paper); color: var(--ink); }
.plight-close svg { width: 20px; height: 20px; }
.plight .hd { grid-column: 1 / span 12; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.plight .hd h2 { font-size: clamp(36px, 5vw, 76px); }
.plight .hd .n { font-family: var(--font-serif); font-weight: 300; font-size: clamp(48px, 6vw, 96px); color: var(--gold); line-height: 1; }
.plight .facts { grid-column: 1 / span 4; }
.plight .facts .speclist, .plight .facts .speclist li { border-color: var(--line-dark); }
.plight .facts .speclist li .label { color: rgba(251,250,247,.55); }
.plight .facts p { margin-top: 24px; color: rgba(251,250,247,.7); font-size: 16px; line-height: 1.65; }
.plight .pics { grid-column: 6 / span 7; display: grid; gap: var(--gap); }
.plight .pics .img { aspect-ratio: 16 / 10; }
.plight .pics .img.sq { aspect-ratio: 4 / 3; }
body.plight-open { overflow: hidden; }

/* Contact — full-bleed photo hero (headline over the image, vertical brand word at the edge) */
.hero-photo { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1100px; overflow: hidden; color: var(--paper); display: flex; align-items: flex-end; padding-bottom: clamp(48px, 8vh, 104px); }
/* ink base: the headline is paper-white, so it must have a dark ground while the photo is still wiping in */
.hero-photo { background: var(--ink); }
.hero-photo .hero-bg { position: absolute; inset: 0; }
.hero-photo .hero-bg > img { filter: saturate(.9) contrast(1.02); }
.hero-photo .hero-bg::before { opacity: .08; }
.hero-photo .hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,11,.32) 0%, rgba(10,10,11,.02) 32%, rgba(10,10,11,.05) 50%, rgba(10,10,11,.72) 100%); }
.hero-photo .wrap { position: relative; z-index: 2; }
.hero-photo .eyebrow { display: block; color: var(--paper); margin-bottom: 22px; font-weight: 600; }
.hero-photo h1 { max-width: 12ch; color: var(--paper); font-size: clamp(52px, 8.4vw, 136px); }

.hero-photo .side-word { position: absolute; z-index: 2; right: clamp(4px, 1.4vw, 24px); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; display: block; font-family: var(--font-serif); font-weight: 300; font-size: clamp(64px, 11vw, 180px); line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(251,250,247,.55); pointer-events: none; user-select: none; }
.hero-photo .side-word i { display: block; font-style: normal; }
.has-photo-hero .nav:not(.is-scrolled) .brand-word { filter: invert(1) brightness(1.4); }
.has-photo-hero .nav:not(.is-scrolled) .menu-btn span { background: var(--paper); }
body.menu-open.has-photo-hero .nav .brand-word { filter: invert(1) brightness(1.4); }

/* Contact — details strip under the hero (showroom · phone · email · hours) */
.cdetails { border-bottom: 1px solid var(--line); }
.cdetails .grid { padding-block: clamp(36px, 5vw, 64px); row-gap: 32px; }
.cdet { grid-column: span 3; display: grid; gap: 12px; align-content: start; padding-right: var(--gap); }
.cdet .label { color: var(--gold-deep); font-weight: 600; font-size: 12px; }
.cdet p, .cdet address { font-style: normal; font-family: var(--font-serif); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.35; font-weight: 300; color: var(--ink); }
.cdet small { display: block; color: var(--grey); font-size: 14px; }
.cdet a:hover { color: var(--gold-deep); }

/* Contact — form + map */
.contact { padding-block: var(--sp-section); }
.contact { position: relative; }
.contact .cta-rule.edge { position: absolute; top: 0; left: 0; right: 0; z-index: 2; margin: 0; transform: translateY(-50%); }
.contact .cta-rule.edge::before { opacity: .5; }
.contact .form-head { grid-column: 1 / span 12; margin-bottom: var(--sp-block); display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: end; }
.contact .form-head h2 { grid-column: 1 / span 7; }
.contact .form-head .lede { grid-column: 9 / span 4; color: var(--grey); }
.contact .r .map { aspect-ratio: 4 / 5; }
.cdetails.three .cdet { grid-column: span 4; }
.contact .r .wa { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.contact .r .wa:hover { color: var(--gold-deep); }
.contact .grid { align-items: start; row-gap: 48px; }
.contact .l { grid-column: 1 / span 7; }
.contact .r { grid-column: 9 / span 4; display: grid; gap: 40px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / span 2; }
.field label { font-family: var(--font-sans); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1px solid rgba(10,10,11,.26); padding: 14px 16px; border-radius: 0; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field input, .field select, .field textarea { accent-color: var(--gold-deep); caret-color: var(--gold-deep); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(222,170,46,.22); }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-2); }
.field select option { background: var(--paper); color: var(--ink); }
.field select option:checked { background: var(--gold-soft); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-deep) 50%), linear-gradient(135deg, var(--gold-deep) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.checks { display: grid; gap: 18px; padding-top: 12px; }
.checks label { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); cursor: pointer; }
.checks label { gap: 12px; font-size: 15px; color: #777; }
.checks input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 0; border-radius: 50%; background: #DDD9D0; cursor: pointer; flex: none; transition: background var(--dur-fast); }
.checks input:checked { background: radial-gradient(circle at center, var(--gold-deep) 0 5px, #DDD9D0 5.6px); }
.checks label:has(input:checked) { color: var(--ink); }
.checks input:focus-visible { outline: 1px solid var(--gold-deep); outline-offset: 3px; }
.form-foot { grid-column: 1 / span 2; display: grid; justify-items: center; text-align: center; gap: 16px; padding-top: 16px; }
.form-foot .btn { width: min(100%, 460px); justify-content: center; padding: 20px 32px; font-size: 15px; }
.form-foot small { color: var(--grey); font-size: 13px; max-width: 48ch; }
.form-ok { display: none; padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line); }
.form-ok h3 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 16px; }
.form-ok p { color: var(--grey); }
.form.is-sent { display: none; }
.form.is-sent + .form-ok { display: block; }
.contact .r h3 { font-size: 28px; margin-bottom: 12px; }
.contact .r .rule { width: 64px; height: 1px; background: var(--ink); margin-bottom: 16px; }
.contact .r p, .contact .r address { font-style: normal; color: var(--grey); font-size: 15px; line-height: 1.7; }
.contact .r a:hover { color: var(--gold-deep); }
.map { aspect-ratio: 4 / 3; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Simple centred CTA band on paper */

@media (max-width: 1100px) {
  .page-hero .l, .page-hero .r { grid-column: 1 / span 12; }
  .page-hero .grid { row-gap: 22px; }
  .page-hero .r { padding-bottom: 0; }
  .split .l, .split .r { grid-column: 1 / span 12; }
  .plight .facts { grid-column: 1 / span 12; }
  .plight .pics { grid-column: 1 / span 12; }
  .contact .l { grid-column: 1 / span 12; }
  .contact .r { grid-column: 1 / span 12; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .head h2, .gallery .head .lede { grid-column: 1 / span 12; }
}
@media (max-width: 960px) {
  /* four stats in one row inside the screen — smaller type, no swiping */
  .strip .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(8px, 2.6vw, 14px); padding-block: 28px; }
  .strip .stat { grid-column: auto; min-width: 0; }
  .strip .stat .big { font-size: clamp(24px, 7.2vw, 32px); gap: 4px; }
  .strip .stat .big small { font-size: 9px; letter-spacing: .04em; }
  .strip .stat .label { font-size: 9px; letter-spacing: .04em; line-height: 1.35; margin-top: 8px; }
  .srow { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .srow > div:not(.img) { grid-column: 2; }
  .srow p { grid-column: 2; }
  .hstage { height: auto; min-height: 0; padding-top: 0; }
  .hwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; display: block; }
  .hwrap::-webkit-scrollbar { display: none; }
  .htrack { transform: none !important; }
  .htrack { padding-inline: 8vw; gap: 4vw; }
  .hwrap { scroll-padding-inline: 8vw; }
  .hpanel, .hstep { scroll-snap-align: center; width: 84vw; }
  .hpanel { height: 64vh; min-height: 420px; }
  
  .cdet, .cdetails.three .cdet { grid-column: span 6; }
  .contact .form-head h2, .contact .form-head .lede { grid-column: 1 / span 12; }
  .hero-photo { min-height: 560px; }
  .hero-photo .side-word { font-size: clamp(56px, 17vw, 96px); right: 8px; -webkit-text-stroke-width: .8px; }
  .page-contact .hero-photo { height: auto; min-height: 0; padding-top: calc(var(--nav-h) + 30vh); }
  .page-contact .hero-photo .hero-bg > img { object-position: 50% 25%; }
  .home-hero .hero-bg .slide img { transform: none !important; transition: none; }
  .hhead .l { grid-column: 1 / span 9; }
  .hhead .r { grid-column: 10 / span 3; }
  .gitem.a, .gitem.b, .gitem.c, .gitem.d, .gitem.e, .gitem.f, .gitem.g { grid-column: 1 / span 12; margin-top: 0; }
  .gitem.b .img, .gitem.c .img, .gitem.g .img { aspect-ratio: 4 / 5; }
  
  
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srows.with-img .srow { grid-template-columns: 48px minmax(0, 1fr); }
  .srows.with-img .srow .img { grid-column: 1 / span 2; aspect-ratio: 16 / 9; }
  .hstep { width: 84vw; grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 16px; }
  .hstep .n { font-size: clamp(48px, 12vw, 72px); }
  .hstep > div:not(.img) { grid-row: 2; align-self: start; }
  .hstep .img { grid-column: 1; grid-row: 3; height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .pcard, .pcard:nth-child(3n+1), .pcard:nth-child(3n+2), .pcard:nth-child(3n) { grid-column: 1 / span 12; padding-top: 0; }
  .form { grid-template-columns: 1fr; }
  .field.full, .form-foot { grid-column: 1; }
  .contact .r { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-media { height: 56vh; min-height: 380px; }
  
  .cdet, .cdetails.three .cdet { grid-column: span 12; }
  .cdet address, .cdet p { font-size: 20px; }
  
}
/* About — history grid */

/* Contact — native file / date inputs sit on the same hairline as text fields */
.field input[type="file"] { padding: 12px 0; font-size: 14px; color: var(--grey); cursor: pointer; }
.field input[type="file"]::file-selector-button { font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-deep); background: transparent; border: 1.5px solid var(--gold-deep); border-radius: 999px; padding: 8px 14px; margin-right: 14px; cursor: pointer; transition: background-color var(--dur-fast), color var(--dur-fast); }
.field input[type="file"]::file-selector-button:hover { background: var(--gold-deep); color: var(--paper); }
.field input[type="date"] { color-scheme: light; }

/* Contact submit + brand-coloured native controls */
.form-foot .btn.solid { background: var(--gold-deep) !important; border-color: var(--gold-deep) !important; color: var(--paper) !important; }
.form-foot .btn.solid:hover { background: var(--ink) !important; border-color: var(--ink) !important; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }

/* =====================================================================
   HOME v6 — industry-standard structure (hero media · intro · services ·
   why us · projects · process · showroom · brief form). Sand / ink bands
   break up the paper background.
   ===================================================================== */
.alt { background: linear-gradient(180deg, #F5F2EB 0%, #F0ECE3 100%); }
.alt + .alt { border-top: 1px solid var(--line-soft); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--gap); align-items: end; margin-bottom: var(--sp-block); }
.section-head .l { grid-column: 1 / span 7; }
.section-head .r { grid-column: 9 / span 4; display: grid; gap: 22px; justify-items: start; padding-bottom: .3em; }
.section-head .lede { color: var(--grey); }
.section-head .eyebrow { display: block; margin-bottom: 18px; }

/* Hero: full-screen slideshow (video slot ready), copy bottom-left, counter bottom-right */
.home-hero { height: auto; min-height: 100vh; min-height: 100svh; max-height: none; align-items: center; padding-top: calc(var(--nav-h) + clamp(32px, 8vh, 96px)); padding-bottom: clamp(72px, 10vh, 120px); }
.hero-center { text-align: center; display: grid; justify-items: center; }
.hero-center h1 { max-width: 16ch; }
.hero-center .lede { margin-inline: auto; text-align: center; }
.hero-center .hero-ctas { justify-content: center; }
.home-hero .hero-bg { position: absolute; inset: 0; }
.home-hero .hero-bg .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.home-hero .hero-bg .slide picture, .home-hero .hero-bg .slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero .hero-bg .slide img { object-fit: cover; object-position: 50% 50%; transform: scale(1.08); transition: transform 8s linear; }
.home-hero .hero-bg .slide.is-active { opacity: 1; }
.home-hero .hero-bg .slide.is-active img { transform: scale(1); }
.home-hero .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero .hero-bg::after { background: linear-gradient(180deg, rgba(10,10,11,.38) 0%, rgba(10,10,11,.06) 30%, rgba(10,10,11,.12) 55%, rgba(10,10,11,.78) 100%); }
.home-hero .eyebrow { color: var(--gold); }
.home-hero h1 { max-width: 16ch; font-size: clamp(44px, min(8.4vw, 12.5vh), 136px); }
.home-hero .hero-bg::after { background: linear-gradient(180deg, rgba(10,10,11,.42) 0%, rgba(10,10,11,.28) 45%, rgba(10,10,11,.55) 100%); }
.home-hero .lede { color: rgba(251,250,247,.86); max-width: 44ch; margin-top: clamp(16px, 2.5vh, 28px); font-size: clamp(17px, min(1.5vw, 2.6vh), 24px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 4vh, 40px); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); padding: 18px 30px; }
.btn.gold:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.hero-foot { position: absolute; left: 0; right: 0; bottom: clamp(20px, 3vh, 36px); z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-inline: var(--gutter); color: rgba(251,250,247,.75); font-family: var(--font-sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hero-foot .count { font-family: var(--font-serif); font-size: clamp(22px, 2vw, 30px); letter-spacing: 0; text-transform: none; color: rgba(251,250,247,.6); }
.hero-foot .count b { font-weight: 300; color: var(--gold); }
.hero-foot .count button { font: inherit; color: inherit; padding: 0 4px; }
.hero-foot .count button.is-active { color: var(--gold); }
.hero-foot .scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero-foot .scroll i { display: block; width: 1px; height: 36px; background: rgba(251,250,247,.5); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Trust strip under the hero: numbers on ink */

/* Intro: copy left, photo right */
.intro { padding-block: var(--sp-section); }
.intro .grid { align-items: center; row-gap: 40px; }
.intro .l { grid-column: 1 / span 7; }
.intro h2 { font-size: clamp(32px, 3.6vw, 58px); }
.intro h2 .mask { white-space: nowrap; }
.intro .r { grid-column: 8 / span 5; }
.intro .r .img { aspect-ratio: 4 / 5; }
.intro .r .img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, rgba(10,10,11,0), rgba(10,10,11,.45)); z-index: 1; pointer-events: none; }
.intro .r .cap { position: absolute; left: 24px; bottom: 22px; z-index: 2; color: var(--paper); display: grid; gap: 4px; }
.intro .r .cap .label { color: var(--paper); }
.intro .l .eyebrow { display: block; margin-bottom: 20px; }
.intro .l p { color: #3a3935; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.6; margin-top: 26px; max-width: 42ch; }
.intro-points { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.intro-points li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: 17px; color: var(--ink); }
.intro-points li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0B' stroke-width='2.4'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; margin-top: 2px; }
.intro .l .slink { margin-top: 36px; }
.intro .stats { max-width: none; margin-top: var(--sp-section); }

/* Why developers choose Method: four cards on sand */

/* Home brief form: details left, boxed form right, on sand */
.brief { padding-block: var(--sp-section); }
.brief .grid { align-items: start; row-gap: 40px; }
.brief .l { grid-column: 1 / span 5; display: grid; gap: 28px; align-content: start; }
.brief .l .eyebrow { display: block; }
.brief .l p { color: #3a3935; font-size: 17px; line-height: 1.65; max-width: 40ch; }
.brief .r { grid-column: 7 / span 6; background: #fff; border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); box-shadow: 0 24px 60px rgba(10,10,11,.06); }
.brief .form { gap: 20px var(--gap); }
.brief .cdet { grid-column: auto; padding: 0; }
.brief .details { display: grid; gap: 22px; border-top: 1px solid var(--line); padding-top: 24px; }

@media (max-width: 1100px) {
  .section-head .l, .section-head .r { grid-column: 1 / span 12; }
  .intro .l, .intro .r { grid-column: 1 / span 12; }
  
  
  .brief .l, .brief .r { grid-column: 1 / span 12; }
}
@media (max-width: 960px) {
  .nav-link { display: none; }
  .intro h2 .mask { white-space: normal; }
  .intro h2 { font-size: clamp(38px, 10vw, 58px); }
  .intro .l p { font-size: 17px; }
  
  .hero-foot { display: none; }
}

/* keep short hyphenated words (show-unit, fit-out, built-in) on one line in headings */
.nw { white-space: nowrap; }

/* will-change only on desktop, where these are the GSAP-driven parallax / pin / drift targets */
@media (min-width: 961px) {
  .img.tall > img, .htrack, .hero-photo .side-word { will-change: transform; }
}

/* =====================================================================
   HOME INTRO — brand name blur-in, gold mark with metallic sweep, mark flies into the nav logo
   ===================================================================== */
.opening { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; pointer-events: none; }
.js .opening { display: grid; }
.opening.is-done { display: none; }
.opening-bg { position: absolute; inset: 0; background: var(--ink); }
.opening-inner { position: relative; display: grid; justify-items: center; gap: clamp(26px, 4vh, 48px); }
.opening-mark { position: relative; width: clamp(132px, 17vw, 210px); aspect-ratio: 720 / 806; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; }
.opening-mark img { width: 100%; height: 100%; display: block; }
/* the sweep only lights up where the mark has pixels: the gradient is masked by the mark's own alpha */
.opening-shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: url(assets/img/logo-gold.webp) center / contain no-repeat; mask: url(assets/img/logo-gold.webp) center / contain no-repeat;
  background: linear-gradient(115deg, transparent 36%, rgba(255,252,240,.55) 46%, rgba(255,255,255,.95) 50%, rgba(255,252,240,.55) 54%, transparent 64%);
  /* no-repeat: the enlarged gradient must not tile, or its tile edge draws a fixed line across the mark */
  background-repeat: no-repeat; background-size: 260% 260%; background-position: 130% 130%; }
.opening-word { display: grid; justify-items: center; gap: clamp(10px, 1.6vh, 18px); }
.opening-name { font-family: var(--font-serif); font-weight: 300; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.1; letter-spacing: .01em; color: var(--paper); white-space: nowrap; }
.opening-name .ch { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(26px); will-change: transform, filter, opacity; }
body.opening-open { overflow: hidden; }
@media (max-width: 960px) { .opening-inner { gap: 22px; } .opening-mark { width: clamp(120px, 34vw, 160px); } .opening-name { font-size: clamp(22px, 7.4vw, 30px); } }

/* image placeholder: .img defaults to paper-2 (#F3F1EC), which would flash as a white box on the ink
   footer CTA while a lazy image loads — on dark sections the holding colour has to be dark too */
.on-dark .img { background: #16161a; }

/* about "Who we are": the headline gets a 7-column left column so both lines sit on one row each
   (line 2 "and high-rise developers." is 718px at 1440, the 6-column box was 646px), and the right
   column reads at 20px ink instead of 17px grey for legibility */
/* the split stacks to one column at <=1100px (rule above), so the wider column is desktop-only */
@media (min-width: 1101px) { .split-lg .l { grid-column: 1 / span 7; } }
.split-lg .l h2 { max-width: none; }
.split-lg .r p { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; color: #3a3935; }
.split-lg .speclist li { font-size: 18px; padding: 18px 0; }
.split-lg .speclist li .label { padding-top: 4px; }

/* portfolio: card 2 is 5/12 wide next to card 1 at 7/12; with both pictures at 16:10 the second
   read as a thumbnail. 9:8 on card 2 makes both pictures the same height, so the pair reads as a
   60:40 split by width only. Phones stack the cards full-width and keep 16:10. */
@media (min-width: 961px) { .pcard:nth-child(3n+2) .img { aspect-ratio: 9 / 8; } }
