/* ============================================================
   TRIDHA · Design System
   Timeless thinking, transformative execution.
   ------------------------------------------------------------
   00 · Tokens
   01 · Base & typography
   02 · Utilities (wrap, bands, chrome, reveals)
   03 · Preloader · transitions · cursor · progress
   04 · Navigation & menu
   05 · Hero & page-hero
   06 · Buttons & links
   07 · Ticker
   08 · Chapters (sticky openers)
   09 · Doors
   10 · Practice cells (caps)
   11 · Index list (offerings)
   12 · Stats
   13 · Case rows & chips
   14 · Why rows
   15 · People
   16 · Recognition wall
   17 · Notes band
   18 · Close (ask) & footer
   19 · Offer pages: ladder · matrix · cmp · pod · steps · pager
   20 · Contact form
   21 · Misc (404, tables, scrollbar)
   22 · Responsive
   23 · Reduced motion
   ============================================================ */

/* ---------- 00 · TOKENS ---------- */
:root {
  /* color · cream paper, navy + gold, blue for structure */
  --paper: #efe9dc;
  --paper-2: #e7e0d0;
  --paper-3: #ded5c0;
  --ink: #1a2744;
  --ink-2: #2b3552;
  --muted: #6b7388;
  --rule: #cbc2af;
  --rule-2: #b9af98;
  --gold: #c4a45a;
  --gold-soft: #d8bd7d;
  --gold-deep: #a8862f;
  --blue: #2563eb;
  --navy: #1a2744;
  --navy-2: #131e36;
  --navy-3: #0d1526;
  --cream: #efe9dc;
  --cream-mut: #b5a98d;
  --rule-dark: rgba(239, 233, 220, 0.14);
  --rule-dark-2: rgba(239, 233, 220, 0.24);

  /* type */
  --serif: "Source Serif 4", "Times New Roman", serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* fluid scale */
  --t-hero: clamp(44px, 8.2vw, 124px);
  --t-display: clamp(38px, 6.4vw, 96px);
  --t-title: clamp(31px, 4.6vw, 64px);
  --t-subtitle: clamp(25px, 3vw, 40px);
  --t-lead: clamp(19px, 1.75vw, 25px);
  --t-body: clamp(16px, 1.28vw, 18.5px);
  --t-small: clamp(13.5px, 1vw, 15px);
  --t-mono: clamp(11px, 0.86vw, 13px);
  --t-mono-lg: clamp(12px, 1vw, 14.5px);

  /* layout */
  --wrap: 1480px;
  --gx: clamp(20px, 5vw, 76px);
  --band-y: clamp(84px, 11vw, 168px);
  --nav-h: 76px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.83, 0, 0.17, 1);
  --reveal-t: 1.1s;
}

/* ---------- 01 · BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--navy-3);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
::selection { background: var(--gold); color: var(--navy); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }

.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }
.italic { font-style: italic; }

/* type roles */
.display {
  font-family: var(--serif); font-weight: 320;
  font-size: var(--t-display); line-height: 0.98;
  letter-spacing: -0.025em; text-wrap: balance;
}
.title {
  font-family: var(--serif); font-weight: 350;
  font-size: var(--t-title); line-height: 1.04;
  letter-spacing: -0.02em; text-wrap: balance;
}
.subtitle {
  font-family: var(--serif); font-weight: 350;
  font-size: var(--t-subtitle); line-height: 1.14;
  letter-spacing: -0.012em; text-wrap: balance;
}
.lead {
  font-family: var(--serif); font-weight: 350;
  font-size: var(--t-lead); line-height: 1.42;
  letter-spacing: -0.004em; color: var(--ink-2); text-wrap: pretty;
}
.body-text { font-size: var(--t-body); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.small { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
.eyebrow {
  font-family: var(--mono); font-size: var(--t-mono);
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--muted); font-weight: 400;
}
.kicker { display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.em-gold { font-style: italic; color: var(--gold); }
.em-gold-deep { font-style: italic; color: var(--gold-deep); }
.accent-blue { color: var(--blue); }
.muted { color: var(--muted); }

/* ---------- 02 · UTILITIES ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gx); padding-right: var(--gx); }

.band { position: relative; z-index: 2; background: var(--paper); color: var(--ink); padding: var(--band-y) 0; }
.band--flush { padding: 0; }
.band--obsidian { background: var(--navy); color: var(--cream); }
.band--deep { background: var(--navy-2); color: var(--cream); }
.band--paper2 { background: var(--paper-2); }
.band--obsidian .lead, .band--deep .lead { color: rgba(239, 233, 220, 0.82); }
.band--obsidian .body-text, .band--deep .body-text { color: rgba(239, 233, 220, 0.78); }
.band--obsidian .eyebrow, .band--deep .eyebrow { color: var(--cream-mut); }
.band--obsidian .small, .band--deep .small { color: rgba(239, 233, 220, 0.55); }

/* film-grain texture on dark bands */
.band--obsidian::before, .band--deep::before, .hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.05; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.band > .wrap { position: relative; z-index: 2; }

.rule { height: 1px; background: var(--rule); border: 0; width: 100%; }
.band--obsidian .rule, .band--deep .rule { background: var(--rule-dark); }

/* mono chrome rails (deck heritage) */
.chrome {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--mono); font-size: var(--t-mono);
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted);
}
.band--obsidian .chrome, .band--deep .chrome { color: rgba(239, 233, 220, 0.45); }

/* section header block */
.sect-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(40px, 6vw, 84px); }
.sect-head .title, .sect-head .display { max-width: 22ch; }
.sect-head .lead { max-width: 62ch; }

/* scroll reveals — hidden states are gated on html.js so that agents,
   crawlers and no-JS readers always see the full content */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity var(--reveal-t) var(--ease-out), transform var(--reveal-t) var(--ease-out); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }

/* masked line reveal for big headings
   (padding-bottom keeps descenders of g/y/p inside the mask window) */
.lines .ln { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.js .lines .ln > span { display: block; transform: translateY(128%); transition: transform 1.35s var(--ease-out); transition-delay: var(--d, 0s); will-change: transform; }
.js .lines.is-in .ln > span { transform: translateY(0); }

/* hairline that draws itself */
.js [data-rule] { transform-origin: left center; transform: scaleX(0); transition: transform 1.6s var(--ease-inout); transition-delay: var(--d, 0s); }
.js [data-rule].is-in { transform: scaleX(1); }

/* no-JS / agent fallbacks: never trap content behind chrome */
html:not(.js) #loader, html:not(.js) #wipe, html:not(.js) #cur-dot, html:not(.js) #cur-ring { display: none !important; }

/* ---------- 03 · PRELOADER · TRANSITIONS · CURSOR ---------- */
#loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy-3); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: clip-path 1s var(--ease-inout);
  clip-path: inset(0 0 0 0);
}
#loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__inner { text-align: center; }
.loader__mark { font-family: var(--serif); font-weight: 320; font-size: clamp(44px, 7vw, 88px); letter-spacing: -0.025em; color: var(--cream); }
.loader__bar { width: min(260px, 56vw); height: 1px; background: var(--rule-dark); margin: 30px auto 0; position: relative; overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 0.3s linear; display: block; }
.loader__tag { margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream-mut); }

/* page-transition wipe */
#wipe {
  position: fixed; inset: 0; z-index: 990; pointer-events: none;
  background: var(--navy-3);
  clip-path: inset(100% 0 0 0);
}
#wipe.is-in { transition: clip-path 0.62s var(--ease-inout); clip-path: inset(0 0 0 0); pointer-events: all; }
#wipe.is-out { transition: clip-path 0.7s var(--ease-inout); clip-path: inset(0 0 100% 0); }
#wipe .wipe__mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 30px; color: var(--cream-mut); opacity: 0; transition: opacity 0.25s ease; }
#wipe.is-in .wipe__mark { opacity: 1; transition-delay: 0.3s; }

/* custom cursor */
#cur-dot, #cur-ring { position: fixed; top: 0; left: 0; z-index: 1200; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); display: none; }
#cur-dot { width: 6px; height: 6px; background: var(--gold); }
#cur-ring { width: 38px; height: 38px; border: 1px solid rgba(196, 164, 90, 0.55); transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), border-color 0.3s ease, opacity 0.3s ease; }
body.cur-hover #cur-ring { width: 64px; height: 64px; border-color: rgba(196, 164, 90, 0.9); }
body.cur-down #cur-ring { width: 26px; height: 26px; }
@media (pointer: fine) {
  #cur-dot, #cur-ring { display: block; }
}

/* scroll progress */
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 980; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }

/* ---------- 04 · NAVIGATION ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: transform 0.5s var(--ease-out), background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.is-hidden { transform: translateY(-100%); }
.site-nav .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { font-family: var(--serif); font-weight: 380; font-size: 27px; letter-spacing: -0.015em; display: inline-flex; align-items: baseline; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.nav__link {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  position: relative; padding: 6px 0; transition: color 0.3s ease;
}
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { flex: none; }

/* nav skins */
.site-nav[data-skin="dark"] { color: var(--cream); }
.site-nav[data-skin="dark"].is-solid { background: rgba(13, 21, 38, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--rule-dark); }
.site-nav[data-skin="light"] { color: var(--ink); }
.site-nav[data-skin="light"].is-solid { background: rgba(239, 233, 220, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--rule); }

/* burger */
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; margin-right: -10px; color: inherit; }
.nav__burger span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform 0.4s var(--ease-out), opacity 0.3s ease; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* full-screen menu */
#menu {
  position: fixed; inset: 0; z-index: 880; background: var(--navy-3); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease-inout);
  visibility: hidden;
}
body.menu-open #menu { clip-path: inset(0 0 0 0); visibility: visible; }
#menu .wrap { width: 100%; }
.menu__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream-mut); margin-bottom: 28px; }
.menu__link {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-weight: 330; font-size: clamp(32px, 6.5vw, 58px);
  letter-spacing: -0.02em; line-height: 1.22; color: var(--cream);
  opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), color 0.3s ease;
}
.menu__link .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--cream-mut); }
.menu__link:hover { color: var(--gold); }
body.menu-open .menu__link { opacity: 1; transform: none; }
.menu__foot { margin-top: 48px; display: flex; gap: 36px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-mut); }

/* ---------- 05 · HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  background: radial-gradient(120% 90% at 70% 10%, var(--navy) 0%, var(--navy-3) 78%);
  color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  overflow: clip;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__content { position: relative; z-index: 3; padding: calc(var(--nav-h) + 4vh) 0 14vh; }
.hero__eyebrow { font-family: var(--mono); font-size: var(--t-mono-lg); letter-spacing: 0.26em; text-transform: uppercase; color: var(--cream-mut); margin-bottom: clamp(28px, 4vh, 48px); }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: var(--t-hero); line-height: 1.02; letter-spacing: -0.028em; max-width: 12.5ch; }
.hero h1 .em-gold { font-weight: 320; }
.hero__sub { margin-top: clamp(28px, 4vh, 46px); max-width: 56ch; font-family: var(--serif); font-weight: 350; font-size: var(--t-lead); line-height: 1.45; color: rgba(239, 233, 220, 0.75); }
.hero__cta { margin-top: clamp(34px, 5vh, 56px); display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero__rails { position: absolute; left: 0; right: 0; z-index: 3; }
.hero__rails .chrome { color: rgba(239, 233, 220, 0.42); }
.hero__rails--top { top: calc(var(--nav-h) + 14px); }
.hero__rails--bottom { bottom: 26px; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(239, 233, 220, 0.45); }
.scroll-cue::after { content: ""; width: 1px; height: 52px; background: linear-gradient(var(--gold), transparent); animation: cueDrop 2.2s var(--ease-inout) infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* subpage hero */
.page-hero {
  position: relative; min-height: clamp(520px, 78svh, 860px);
  background: radial-gradient(110% 100% at 80% 0%, var(--navy) 0%, var(--navy-3) 80%);
  color: var(--cream); display: flex; align-items: flex-end; overflow: clip;
}
.page-hero .hero__canvas { opacity: 0.85; }
.page-hero__content { position: relative; z-index: 3; width: 100%; padding: calc(var(--nav-h) + 9vh) 0 clamp(48px, 8vh, 84px); }
.page-hero__meta { display: flex; gap: clamp(24px, 4vw, 64px); flex-wrap: wrap; margin-top: clamp(32px, 5vh, 56px); padding-top: 26px; border-top: 1px solid var(--rule-dark); }
.page-hero__meta .m { display: flex; flex-direction: column; gap: 8px; }
.page-hero__meta .m .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-mut); }
.page-hero__meta .m .v { font-family: var(--serif); font-size: clamp(16px, 1.4vw, 20px); color: var(--cream); font-weight: 350; }
.page-hero h1 { font-family: var(--serif); font-weight: 310; font-size: clamp(40px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -0.026em; max-width: 16ch; }
.page-hero .crumb { font-family: var(--mono); font-size: var(--t-mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-mut); margin-bottom: 26px; display: inline-flex; gap: 12px; align-items: center; }
.page-hero .crumb a:hover { color: var(--gold); }
.page-hero .crumb .sep { color: var(--gold); }
.page-hero__lead { margin-top: clamp(24px, 3.5vh, 40px); max-width: 58ch; font-family: var(--serif); font-weight: 350; font-size: var(--t-lead); line-height: 1.45; color: rgba(239, 233, 220, 0.78); }

/* ---------- 06 · BUTTONS & LINKS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 18px 32px; border: 1px solid currentColor; background: transparent; color: inherit;
  cursor: pointer; position: relative; overflow: hidden; transition: color 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease-out); z-index: 0; }
.btn:hover::before { transform: scaleY(1); }
.btn > * , .btn { z-index: 1; }
.btn span { position: relative; z-index: 1; }
.btn:hover { color: var(--navy); border-color: var(--gold); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold::before { background: var(--cream); }
.btn--gold:hover { color: var(--navy); }
.btn--lg { padding: 22px 44px; font-size: 13px; }

.lnk { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; position: relative; padding-bottom: 6px; }
.lnk::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out); }
.lnk:hover::after { transform: scaleX(1); transform-origin: left; }
.lnk .ar { transition: transform 0.4s var(--ease-out); }
.lnk:hover .ar { transform: translateX(6px); }

/* ---------- 07 · TICKER ---------- */
.ticker { overflow: clip; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); background: var(--navy-3); color: var(--cream-mut); padding: 18px 0; position: relative; z-index: 4; }
.ticker__track { display: flex; gap: 64px; width: max-content; animation: tick 46s linear infinite; will-change: transform; }
.ticker__track span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 64px; }
.ticker__track span::after { content: "·"; color: var(--gold); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- 08 · CHAPTERS (sticky deck-style openers) ---------- */
.chapter {
  position: sticky; top: 0; z-index: 1;
  min-height: 86svh;
  background: var(--navy); color: var(--cream);
  display: flex; align-items: flex-end; overflow: clip;
}
.chapter::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.chapter .wrap { width: 100%; padding-top: 18vh; padding-bottom: clamp(48px, 9vh, 96px); position: relative; z-index: 2; }
.chapter__numeral {
  position: absolute; right: -2vw; bottom: -8vh; z-index: 1;
  font-family: var(--serif); font-weight: 200;
  font-size: clamp(220px, 38vw, 560px); line-height: 0.8; letter-spacing: -0.04em;
  color: rgba(239, 233, 220, 0.055);
  pointer-events: none; user-select: none; will-change: transform;
}
.chapter__tag { font-family: var(--mono); font-size: var(--t-mono-lg); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.chapter__title { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.026em; max-width: 18ch; }
.chapter + .band { position: relative; z-index: 2; box-shadow: 0 -40px 80px rgba(13, 21, 38, 0.18); }

/* ---------- 09 · DOORS ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); }
.door {
  background: var(--navy); padding: clamp(30px, 3.2vw, 52px);
  display: flex; flex-direction: column; gap: 22px; min-height: 460px;
  position: relative; transition: background 0.5s ease;
}
.door:hover { background: var(--navy-2); }
.door::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.door:hover::after { transform: scaleX(1); }
.door .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; color: var(--cream-mut); text-transform: uppercase; }
.door h3 { font-family: var(--serif); font-weight: 330; font-size: clamp(26px, 2.3vw, 36px); line-height: 1.1; letter-spacing: -0.015em; color: var(--cream); }
.door p { font-family: var(--serif); font-weight: 350; font-size: 17px; line-height: 1.5; color: rgba(239, 233, 220, 0.68); }
.door ul { margin-top: auto; border-top: 1px solid var(--rule-dark); padding-top: 8px; }
.door ul a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--rule-dark);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(239, 233, 220, 0.78);
  transition: color 0.3s ease, padding-left 0.4s var(--ease-out);
}
.door ul a .ar { color: var(--gold); opacity: 0; transform: translateX(-8px); transition: all 0.4s var(--ease-out); }
.door ul a:hover { color: var(--gold); padding-left: 8px; }
.door ul a:hover .ar { opacity: 1; transform: none; }

/* ---------- 10 · PRACTICE CELLS ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 2.6vw, 44px); }
.caps.three { grid-template-columns: repeat(3, 1fr); }
.cap { display: flex; flex-direction: column; gap: 15px; padding-top: 28px; border-top: 2px solid var(--ink); min-height: 320px; }
.band--obsidian .cap, .band--deep .cap { border-top-color: var(--cream); }
.cap .num { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; }
.band--obsidian .cap .num, .band--deep .cap .num { color: var(--cream-mut); }
.cap h3 { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 29px); line-height: 1.12; font-weight: 360; letter-spacing: -0.01em; }
.band--obsidian .cap h3, .band--deep .cap h3 { color: var(--cream); }
.cap .meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.band--obsidian .cap .meta, .band--deep .cap .meta { color: var(--gold); }
.cap p { font-size: 15.5px; color: var(--ink-2); line-height: 1.52; }
.band--obsidian .cap p, .band--deep .cap p { color: rgba(239, 233, 220, 0.76); }
.cap .ex { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); font-family: var(--serif); font-style: italic; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.band--obsidian .cap .ex, .band--deep .cap .ex { border-top-color: var(--rule-dark); color: var(--cream-mut); }
.cap .ex b { color: var(--ink-2); font-weight: 500; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.band--obsidian .cap .ex b, .band--deep .cap .ex b { color: rgba(239, 233, 220, 0.82); }

/* ---------- 11 · INDEX LIST (offerings) ---------- */
.index-list { border-top: 1px solid var(--ink); }
.band--obsidian .index-list, .band--deep .index-list { border-top-color: var(--rule-dark-2); }
.index-row {
  display: grid; grid-template-columns: 88px 1fr 380px 60px; gap: clamp(18px, 3vw, 48px); align-items: center;
  padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--rule);
  position: relative; transition: padding-left 0.5s var(--ease-out);
}
.band--obsidian .index-row, .band--deep .index-row { border-bottom-color: var(--rule-dark); }
.index-row:hover { padding-left: 18px; }
.index-row .n { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.16em; transition: color 0.3s ease; }
.index-row:hover .n { color: var(--gold-deep); }
.band--obsidian .index-row:hover .n, .band--deep .index-row:hover .n { color: var(--gold); }
.index-row .h { font-family: var(--serif); font-size: clamp(22px, 2.5vw, 34px); line-height: 1.12; font-weight: 350; letter-spacing: -0.012em; transition: color 0.3s ease; }
.index-row:hover .h { color: var(--gold-deep); }
.band--obsidian .index-row .h, .band--deep .index-row .h { color: var(--cream); }
.band--obsidian .index-row:hover .h, .band--deep .index-row:hover .h { color: var(--gold); }
.index-row .p { font-family: var(--serif); font-style: italic; font-weight: 350; font-size: 15.5px; color: var(--muted); line-height: 1.45; }
.band--obsidian .index-row .p, .band--deep .index-row .p { color: var(--cream-mut); }
.index-row .ar { font-family: var(--mono); font-size: 20px; color: var(--gold-deep); opacity: 0; transform: translateX(-10px); transition: all 0.45s var(--ease-out); justify-self: end; }
.band--obsidian .index-row .ar, .band--deep .index-row .ar { color: var(--gold); }
.index-row:hover .ar { opacity: 1; transform: none; }

/* ---------- 12 · STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-dark-2); border-left: 1px solid var(--rule-dark-2); }
.stat { padding: clamp(28px, 3vw, 48px) clamp(22px, 2.4vw, 40px); border-right: 1px solid var(--rule-dark-2); border-bottom: 1px solid var(--rule-dark-2); display: flex; flex-direction: column; gap: 12px; }
.stat .v { font-family: var(--serif); font-weight: 320; font-size: clamp(40px, 4.6vw, 72px); line-height: 0.95; letter-spacing: -0.025em; color: var(--cream); }
.stat .v .sup { font-size: 0.38em; color: var(--gold); font-family: var(--mono); letter-spacing: 0.04em; vertical-align: top; margin-left: 5px; font-weight: 400; }
.stat .l { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--cream-mut); line-height: 1.6; }
.stat .s { font-family: var(--serif); font-style: italic; font-size: 14px; color: rgba(239, 233, 220, 0.5); line-height: 1.45; }
/* paper variant */
.band:not(.band--obsidian):not(.band--deep) .stats { border-color: var(--rule-2); }
.band:not(.band--obsidian):not(.band--deep) .stat { border-color: var(--rule-2); }
.band:not(.band--obsidian):not(.band--deep) .stat .v { color: var(--ink); }
.band:not(.band--obsidian):not(.band--deep) .stat .v .sup { color: var(--gold-deep); }
.band:not(.band--obsidian):not(.band--deep) .stat .l { color: var(--muted); }
.band:not(.band--obsidian):not(.band--deep) .stat .s { color: var(--muted); }

/* ---------- 13 · CASE ROWS ---------- */
.case-row {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 96px);
  padding: clamp(44px, 6vw, 84px) 0; border-bottom: 1px solid var(--rule);
  align-items: start;
}
.case-row:first-child { border-top: 1px solid var(--ink); }
.case-row .meta { font-family: var(--mono); font-size: var(--t-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.case-row .meta b { color: var(--blue); font-weight: 400; }
.case-row h3 { font-family: var(--serif); font-weight: 340; font-size: clamp(27px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -0.018em; }
.case-row h3 .sub { display: block; font-style: italic; font-weight: 330; color: var(--ink-2); font-size: 0.62em; margin-top: 10px; }
.case-row .case-body { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.case-row .case-body h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue); font-weight: 500; padding-top: 14px; border-top: 1px solid var(--rule); }
.case-row .case-body p { font-family: var(--serif); font-weight: 350; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.case-stats { display: flex; flex-direction: column; }
.case-stat { padding: 22px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 7px; }
.case-stat:first-child { padding-top: 4px; }
.case-stat:last-child { border-bottom: 0; }
.case-stat .v { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 58px); font-weight: 330; line-height: 0.98; letter-spacing: -0.02em; color: var(--ink); }
.case-stat .v.gold { color: var(--gold-deep); }
.case-stat .v .sup { font-size: 0.4em; color: var(--muted); font-family: var(--mono); vertical-align: top; margin-left: 5px; }
.case-stat .l { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.case-stat .src { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--rule-2); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); }

/* engagements ledger — slim rows built to grow past six entries */
.eng-list { border-top: 1px solid var(--ink); }
.eng-row {
  display: grid; grid-template-columns: 52px 215px 1fr auto;
  gap: clamp(16px, 2.6vw, 44px); align-items: start;
  padding: clamp(20px, 2.4vw, 30px) 12px clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--rule);
  /* soft-start curve so the hover glides instead of popping */
  transition: padding-left 0.5s cubic-bezier(0.33, 0, 0.2, 1), background-color 0.5s ease;
}
.eng-row:hover { padding-left: 12px; background-color: rgba(26, 39, 68, 0.03); }
.eng-row .n { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.16em; padding-top: 7px; }
.eng-row .sec { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); padding-top: 8px; line-height: 1.7; }
.eng-row .h { font-family: var(--serif); font-weight: 365; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
.eng-row .p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin-top: 7px; max-width: 64ch; }
.eng-row .tag { justify-self: end; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); border: 1px solid var(--rule); padding: 6px 11px; white-space: nowrap; margin-top: 4px; }

/* track-record grid */
.tr-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.tr-grid .tr { padding: clamp(22px, 2.4vw, 34px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.tr-grid .tr .tm { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.tr-grid .tr .h { font-family: var(--serif); font-weight: 360; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
.tr-grid .tr .p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.tr-grid .tr .c { align-self: flex-start; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); border: 1px solid var(--rule); padding: 5px 10px; }

/* ---------- 14 · WHY ROWS ---------- */
.why { border-top: 1px solid var(--ink); }
.band--obsidian .why, .band--deep .why { border-top-color: var(--rule-dark-2); }
.why-row { display: grid; grid-template-columns: 72px 1fr 1.25fr; gap: clamp(18px, 3vw, 44px); padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--rule); align-items: start; }
.band--obsidian .why-row, .band--deep .why-row { border-bottom-color: var(--rule-dark); }
.why-row .n { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.16em; padding-top: 8px; }
.band--obsidian .why-row .n, .band--deep .why-row .n { color: var(--cream-mut); }
.why-row h3 { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 31px); font-weight: 360; line-height: 1.1; letter-spacing: -0.012em; color: var(--ink); }
.band--obsidian .why-row h3, .band--deep .why-row h3 { color: var(--cream); }
.why-row p { font-family: var(--serif); font-weight: 350; font-size: 16px; line-height: 1.55; color: var(--ink-2); padding-top: 5px; }
.band--obsidian .why-row p, .band--deep .why-row p { color: rgba(239, 233, 220, 0.76); }
.why-row p b { color: var(--blue); font-weight: 500; }
.band--obsidian .why-row p b, .band--deep .why-row p b { color: var(--gold); }

/* ---------- 15 · PEOPLE ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.4vw, 36px); }
.person { display: flex; flex-direction: column; }
.person .portrait { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); position: relative; }
.person .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(0.22) contrast(1.02); transition: filter 0.7s ease, transform 1.2s var(--ease-out); }
.person:hover .portrait img { filter: grayscale(0) contrast(1.02); transform: scale(1.035); }
.person .name { font-family: var(--serif); font-weight: 370; font-size: clamp(21px, 1.8vw, 26px); color: var(--ink); line-height: 1.08; letter-spacing: -0.01em; margin-top: 20px; }
.person .role-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.person .role { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.person .affils { display: flex; gap: 6px; }
.person .affil { width: 26px; height: 26px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 5px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.person .affil img { width: 100%; height: 100%; object-fit: contain; }
.person ul { margin-top: 13px; border-top: 1px solid var(--rule); padding-top: 13px; }
.person ul li { font-size: 13.8px; line-height: 1.42; color: var(--ink-2); margin-bottom: 8px; font-family: var(--serif); font-weight: 350; }
.person ul li .inst { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); padding: 1px 6px; border: 1px solid var(--rule); white-space: nowrap; }

/* editorial profile rows (people page) */
.profile {
  display: grid; grid-template-columns: minmax(260px, 410px) 1fr;
  gap: clamp(32px, 5vw, 96px); align-items: start;
  padding: clamp(48px, 6vw, 88px) 0; border-bottom: 1px solid var(--rule);
}
.profile:first-of-type { border-top: 1px solid var(--ink); }
.profile--flip { grid-template-columns: 1fr minmax(260px, 410px); }
.profile--flip .profile__portrait { order: 2; }
.profile__portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); position: relative; }
.profile__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: grayscale(0.25) contrast(1.02); transition: filter 0.8s ease, transform 1.4s var(--ease-out); }
.profile:hover .profile__portrait img { filter: grayscale(0); transform: scale(1.03); }
.profile__portrait .pnum { position: absolute; top: 14px; left: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--ink); background: rgba(239, 233, 220, 0.85); padding: 4px 9px; }
.profile__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.profile__name { font-family: var(--serif); font-weight: 340; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); }
.profile__bio { font-family: var(--serif); font-weight: 350; font-size: clamp(16.5px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); margin-top: 22px; max-width: 58ch; text-wrap: pretty; }
.profile__creds { margin-top: 26px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; }
.profile__creds li { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-weight: 350; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.profile__creds li::before { content: "›"; font-family: var(--mono); color: var(--gold-deep); flex: none; }
.profile__creds .inst { font-family: var(--mono); font-style: normal; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); padding: 2px 7px; border: 1px solid var(--rule); white-space: nowrap; margin-left: auto; }
.profile__affils { display: flex; gap: 8px; margin-top: 24px; align-items: center; }
.profile__affils .lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.profile__affils .affil { width: 30px; height: 30px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.profile__affils .affil img { width: 100%; height: 100%; object-fit: contain; }

/* bench band */
.bench { margin-top: clamp(44px, 6vw, 72px); background: var(--navy); color: var(--cream); border-left: 3px solid var(--gold); padding: clamp(28px, 3vw, 44px) clamp(26px, 3vw, 48px); display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.bench .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.bench .name { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); font-weight: 350; margin-top: 8px; letter-spacing: -0.01em; }
.bench .desc { font-family: var(--serif); font-weight: 350; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: rgba(239, 233, 220, 0.84); }
.bench .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bench .tags span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid var(--rule-dark-2); color: var(--cream-mut); padding: 6px 11px; }

/* ---------- 16 · RECOGNITION MARQUEE ----------
   Scales to any number of logos: rows duplicate via JS ([data-marquee])
   and drift continuously; opposite directions; pause on hover. */
.logos-marquee {
  display: flex; flex-direction: column; gap: clamp(34px, 4vw, 52px);
  overflow: clip;
  padding: clamp(28px, 3vw, 44px) 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logos-row { display: flex; align-items: flex-start; gap: clamp(48px, 6vw, 96px); width: max-content; animation: tick 64s linear infinite; will-change: transform; }
.logos-row.rev { animation-direction: reverse; animation-duration: 76s; }
.logos-marquee:hover .logos-row { animation-play-state: paused; }
.logo-item { display: flex; flex-direction: column; align-items: center; gap: 13px; width: 168px; flex: none; }
.logo-item img { max-height: 52px; max-width: 148px; width: auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) opacity(0.58); transition: filter 0.45s ease; }
.logo-item:hover img { filter: grayscale(0) opacity(1); }
.logo-item .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-align: center; line-height: 1.5; }

/* ---------- 17 · NOTES BAND ---------- */
.notes-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: end; }
.notes-band .big { font-family: var(--serif); font-weight: 320; font-style: italic; font-size: clamp(27px, 3.4vw, 50px); line-height: 1.16; letter-spacing: -0.015em; color: var(--cream); max-width: 18ch; }
.notes-band .big .gd { color: var(--gold); }
.notes-band .side { display: flex; flex-direction: column; gap: 22px; padding-bottom: 8px; }
.notes-band .side p { font-family: var(--serif); font-weight: 350; font-size: 16.5px; line-height: 1.55; color: rgba(239, 233, 220, 0.75); }

/* ---------- 18 · CLOSE & FOOTER ---------- */
.close { position: relative; overflow: clip; }
.close .wrap { display: flex; flex-direction: column; min-height: 64svh; justify-content: center; padding-top: clamp(88px, 12vh, 150px); padding-bottom: clamp(88px, 12vh, 150px); }
.close__tag { font-family: var(--mono); font-size: var(--t-mono-lg); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 30px; }
.close__title { font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 7.4vw, 116px); line-height: 1; letter-spacing: -0.028em; color: var(--cream); max-width: 14ch; }
.close__title em { font-style: italic; color: var(--gold); }
.close__meta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); padding-top: 34px; border-top: 1px solid var(--rule-dark); margin-top: clamp(40px, 7vh, 72px); }
.close__meta .col .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-mut); }
.close__meta .col .val { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 26px); color: var(--cream); margin-top: 12px; font-weight: 350; letter-spacing: -0.005em; line-height: 1.35; }
.close__meta .col .val a:hover { color: var(--gold); }
.close__meta .col .val small { font-family: var(--mono); font-size: 12px; color: var(--cream-mut); letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-top: 10px; }
.close__cta { margin-top: clamp(34px, 5vh, 54px); display: flex; gap: 18px; flex-wrap: wrap; }

.footer { background: var(--navy-3); color: var(--cream); padding: clamp(56px, 8vw, 96px) 0 36px; position: relative; z-index: 2; }
.footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E"); }
.footer .wrap { position: relative; z-index: 2; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 64px); padding-bottom: clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--rule-dark); }
.footer__mark { font-family: var(--serif); font-weight: 330; font-size: 38px; letter-spacing: -0.02em; }
.footer__tag { font-family: var(--serif); font-style: italic; font-weight: 330; font-size: 17px; color: var(--cream-mut); margin-top: 14px; max-width: 30ch; line-height: 1.5; }
.footer h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--cream-mut); margin-bottom: 20px; font-weight: 400; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-family: var(--sans); font-size: 14.5px; color: rgba(239, 233, 220, 0.74); transition: color 0.3s ease; }
.footer ul a:hover { color: var(--gold); }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 30px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239, 233, 220, 0.4); }
.footer__base a { color: inherit; transition: color 0.3s ease; }
.footer__base a:hover { color: var(--gold); }
.footer__social { margin-top: 22px; display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border: 1px solid var(--rule-dark-2); border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: var(--cream-mut); transition: color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease-out); }
.footer__social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

/* ---------- 19 · OFFER PAGES ---------- */
/* ladder */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2.4vw, 38px); }
.ladder .cap { min-height: 0; }
.ladder .cap p { min-height: 0; }

/* matrix */
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-bottom: 1px solid var(--ink); }
.matrix { width: 100%; min-width: 880px; border-collapse: collapse; }
.matrix th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; text-align: center; padding: 0 12px 14px; vertical-align: bottom; border-bottom: 1px solid var(--ink); }
.matrix th.cap-col { text-align: left; padding-left: 0; width: 30%; }
.matrix th.rec { color: var(--ink); }
.matrix td { font-family: var(--serif); font-weight: 350; font-size: 15px; color: var(--ink-2); text-align: center; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.matrix td.cap-col { text-align: left; padding-left: 0; font-family: var(--sans); font-size: 14.5px; color: var(--ink); }
.matrix td.metac { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; text-align: left; padding-left: 0; }
.matrix td.meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); letter-spacing: 0.02em; text-transform: uppercase; }
.mk { font-family: var(--serif); font-size: 17px; }
.mk.full { color: var(--ink); }
.mk.part { color: var(--gold-deep); }
.mk.no { color: var(--rule-2); }
.legend { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 22px; flex-wrap: wrap; }
.legend span { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }

/* comparison */
.cmp { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.cmp .c { padding: clamp(28px, 3.6vw, 52px) clamp(22px, 3vw, 56px) clamp(28px, 3.6vw, 52px) 0; }
.cmp .c:first-child { border-right: 1px solid var(--rule); }
.cmp .c:last-child { padding-left: clamp(22px, 3vw, 56px); padding-right: 0; }
.cmp .v { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 50px); font-weight: 340; line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); }
.cmp .v.gold { color: var(--gold-deep); }
.cmp .l { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-top: 16px; }
.cmp .s { font-family: var(--serif); font-size: 16px; font-weight: 350; color: var(--ink-2); margin-top: 12px; line-height: 1.5; }

/* pod / flag band */
.pod-band { background: var(--navy); color: var(--cream); border-left: 3px solid var(--gold); padding: clamp(26px, 3vw, 40px) clamp(24px, 3vw, 44px); display: grid; grid-template-columns: 240px 1fr; gap: clamp(22px, 4vw, 52px); align-items: center; }
.pod-band.on-paper { background: var(--paper-2); color: var(--ink); }
.pod-band .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.pod-band.on-paper .tag { color: var(--gold-deep); }
.pod-band .name { font-family: var(--serif); font-size: clamp(21px, 2vw, 28px); font-weight: 360; margin-top: 7px; letter-spacing: -0.01em; }
.pod-band .desc { font-family: var(--serif); font-weight: 350; font-size: clamp(15.5px, 1.4vw, 19px); line-height: 1.48; color: rgba(239, 233, 220, 0.85); }
.pod-band.on-paper .desc { color: var(--ink-2); }

/* steps (how an engagement runs) */
.steps { position: relative; border-left: 1px solid var(--rule-2); margin-left: 7px; }
.step { position: relative; padding: 0 0 clamp(34px, 4vw, 52px) clamp(28px, 3vw, 48px); }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -7.5px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold-deep); }
.step .sn { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.step h3 { font-family: var(--serif); font-weight: 360; font-size: clamp(21px, 2vw, 28px); letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 10px; }
.step p { font-family: var(--serif); font-weight: 350; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }

/* scope cells (what's in the mandate) */
.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.scope .sc { background: var(--paper); padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 13px; min-height: 240px; transition: background 0.4s ease; }
.scope .sc:hover { background: var(--paper-2); }
.scope .sc .n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.scope .sc h3 { font-family: var(--serif); font-weight: 365; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.16; letter-spacing: -0.008em; }
.scope .sc p { font-size: 14.8px; line-height: 1.55; color: var(--ink-2); }

/* offer pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-dark); }
.pager a { padding: clamp(30px, 4vw, 52px) 0; display: flex; flex-direction: column; gap: 12px; transition: padding 0.45s var(--ease-out); }
.pager a + a { text-align: right; border-left: 1px solid var(--rule-dark); padding-left: clamp(22px, 3vw, 48px); }
.pager a:first-child { padding-right: clamp(22px, 3vw, 48px); }
.pager a:hover { padding-left: 12px; }
.pager a + a:hover { padding-left: clamp(22px, 3vw, 48px); padding-right: 12px; }
.pager .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-mut); }
.pager .ttl { font-family: var(--serif); font-weight: 340; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -0.012em; color: var(--cream); transition: color 0.3s ease; }
.pager a:hover .ttl { color: var(--gold); }

/* ---------- 20 · CONTACT FORM ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.form { display: flex; flex-direction: column; gap: 30px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: var(--serif); font-size: 19px; font-weight: 350; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-2);
  padding: 10px 2px 14px; border-radius: 0; transition: border-color 0.35s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--gold-deep); }
.field input::placeholder, .field textarea::placeholder { color: var(--rule-2); font-style: italic; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form__status { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--gold-deep); min-height: 18px; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.contact-side { display: flex; flex-direction: column; gap: 34px; }
.contact-side .blk .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-side .blk .val { font-family: var(--serif); font-weight: 350; font-size: clamp(20px, 2vw, 27px); letter-spacing: -0.008em; line-height: 1.35; }
.contact-side .blk .val a:hover { color: var(--gold-deep); }

/* ---------- 19b · ON THE PUBLIC RECORD (discreet external proof) ---------- */
.pubrec { margin-top: clamp(28px, 4vw, 44px); padding-top: 22px; border-top: 1px solid var(--rule); }
.pubrec .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.pubrec ul { display: flex; flex-direction: column; gap: 9px; }
.pubrec a { display: inline-flex; align-items: baseline; gap: 9px; font-family: var(--serif); font-weight: 350; font-size: 15.5px; color: var(--ink-2); width: fit-content; border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; transition: color 0.3s ease, border-color 0.3s ease; }
.pubrec a:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.pubrec a .ext { font-family: var(--mono); font-size: 11px; color: var(--gold-deep); }
.pubrec .note { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 13.5px; color: var(--muted); }
.pubrec--tight { margin-top: 22px; padding-top: 16px; }
.pubrec--tight a { font-size: 14px; }

/* ---------- 20b · CONSENT BAR & TURNSTILE ---------- */
#consent {
  position: fixed; left: 50%; bottom: 22px; z-index: 940;
  transform: translate(-50%, 140%);
  width: min(720px, calc(100vw - 32px));
  background: var(--navy-2); color: var(--cream);
  border: 1px solid var(--rule-dark-2);
  box-shadow: 0 18px 50px rgba(13, 21, 38, 0.45);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  transition: transform 0.6s var(--ease-out);
}
#consent.is-up { transform: translate(-50%, 0); }
.consent__txt { font-family: var(--serif); font-weight: 350; font-size: 14.5px; line-height: 1.5; color: rgba(239, 233, 220, 0.85); max-width: 46ch; }
.consent__acts { display: flex; gap: 10px; flex: none; }
.consent__btn { padding: 12px 18px; font-size: 10px; letter-spacing: 0.18em; }
@media (max-width: 560px) {
  #consent { bottom: 12px; padding: 16px 18px; }
  .consent__acts { width: 100%; }
  .consent__btn { flex: 1; }
}

.ts-slot { min-height: 0; }
.ts-slot iframe { max-width: 100%; }

/* ---------- 21 · MISC ---------- */
.ab-table { width: 100%; border-collapse: collapse; }
.ab-table td { padding: 20px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; font-family: var(--serif); font-weight: 350; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.ab-table td:first-child { padding-left: 0; width: 280px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); padding-top: 24px; }
.ab-table td:last-child { padding-right: 0; }
.ab-table tr:first-child td { border-top: 1px solid var(--ink); }

.err-page { min-height: 100svh; display: flex; align-items: center; background: radial-gradient(110% 100% at 70% 0%, var(--navy) 0%, var(--navy-3) 80%); color: var(--cream); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--navy-3); }
::-webkit-scrollbar-thumb { background: #2b3552; border-radius: 6px; border: 2.5px solid var(--navy-3); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ---------- 22 · RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .caps { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
  .tr-grid { grid-template-columns: repeat(2, 1fr); }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; }
  .index-row { grid-template-columns: 60px 1fr 44px; }
  .index-row .p { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .profile, .profile--flip { grid-template-columns: minmax(220px, 320px) 1fr; }
}
@media (max-width: 880px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .caps, .caps.three, .ladder { grid-template-columns: 1fr; }
  .cap { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .case-row { grid-template-columns: 1fr; gap: 28px; }
  .why-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .why-row .n { padding-top: 0; }
  .notes-band { grid-template-columns: 1fr; align-items: start; }
  .close__meta { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cmp { grid-template-columns: 1fr; }
  .cmp .c { padding: 30px 0; }
  .cmp .c:first-child { border-right: 0; border-bottom: 1px solid var(--rule); }
  .cmp .c:last-child { padding-left: 0; }
  .bench { grid-template-columns: 1fr; }
  .pod-band { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr; }
  .scope .sc { min-height: 0; }
  .tr-grid { grid-template-columns: 1fr; border-left: 0; border-right: 0; }
  .tr-grid .tr { border-right: 0; border-left: 0; min-height: 0; }
  .page-hero { min-height: 72svh; }
  .hero__rails { display: none; }
  .chapter { min-height: 64svh; }
  .field--row { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--rule-dark); text-align: left; padding-left: 0; }
  .pager a + a:hover { padding-left: 12px; }
  .profile, .profile--flip { grid-template-columns: 1fr; gap: 28px; }
  .profile--flip .profile__portrait { order: 0; }
  .profile__portrait { max-width: 420px; }
  .eng-row { grid-template-columns: 44px 1fr; grid-template-rows: auto auto; }
  .eng-row .sec { grid-column: 2; padding-top: 0; }
  .eng-row .n { grid-row: span 2; }
  .eng-row .tag { grid-column: 2; justify-self: start; margin-top: 10px; }
  .logo-item { width: 132px; }
  .logo-item img { max-height: 42px; max-width: 116px; }
}
@media (max-width: 560px) {
  .people { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* large displays · 15-18" laptops to ultrawide — content scales up, never stretches */
@media (min-width: 1880px) {
  :root {
    --wrap: 1720px;
    --t-hero: clamp(124px, 7.4vw, 168px);
    --t-display: clamp(96px, 5.6vw, 120px);
    --t-title: clamp(64px, 4vw, 80px);
    --t-lead: clamp(25px, 1.5vw, 29px);
    --t-body: clamp(18.5px, 1vw, 21px);
    --band-y: clamp(150px, 9.5vw, 220px);
  }
  .page-hero h1 { font-size: clamp(92px, 5.6vw, 124px); }
  .chapter__title { font-size: clamp(96px, 5.8vw, 128px); }
  .close__title { font-size: clamp(116px, 6.6vw, 152px); }
}

/* ---------- 23 · REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], .lines .ln > span, [data-rule] { opacity: 1 !important; transform: none !important; }
  #loader { display: none; }
  #cur-dot, #cur-ring { display: none !important; }
  .ticker__track { animation: none; }
  .logos-row { animation: none; flex-wrap: wrap; width: auto; }
  .chapter { position: relative; min-height: 0; }
}
