/* ─────────────────────────────────────────────────────────
   Pendentiv — site.css
   Shared design system for all pages. See .claude/commands/
   pendentiv-design.md for the full reference before editing.
   ───────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #F4F2EC;   /* base warm paper */
  --bg-alt:     #ECE6DA;   /* deeper warm paper — bands & panels */
  --text:       #0C1208;
  --accent:     #1C3424;   /* deep forest green */
  --accent-2:   #16291B;   /* darker green — gradient depth */
  --muted:      #5F6E56;   /* sage — meets WCAG AA on paper */
  --muted-lt:   #97A08C;   /* lighter sage, dark bands only */
  --border:     #D6D1C5;   /* warm hairline */
  --line-grn:   rgba(28,52,36,0.16);   /* green-tinted hairline */
  --line-faint: rgba(28,52,36,0.055);  /* blueprint grid lines */
  --paper-dim:  rgba(244,242,236,0.78);/* body copy on dark bands */
  --paper-line: rgba(244,242,236,0.15);/* hairlines on dark bands */
}

/* Explicit root background (matches body) so any browser-chrome fill or
   overscroll area shows paper, never a default white/black flash. */
html { scroll-behavior: smooth; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Modern text flow — safe no-ops in older engines */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Paper grain — one neutral texture over everything */
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.045;
}

::selection { background: rgba(28,52,36,0.85); color: #F4F2EC; }

/* Cross-page view transitions — progressive, cross-fade between pages */
@view-transition { navigation: auto; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px;
}
#problem, #research, #approach, #name, #foundation, #institution, #connective, #success,
#layers, #phases, #partners, #people, #principles, #workflows, #work {
  scroll-margin-top: 96px;
}

/* ── Scroll-reveal system ────────────────────────── */
.js .rv {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0s);
}
.js .rv.in { opacity: 1; transform: none; }

/* Masked line reveal (display titles) — lines rise out of an overflow clip.
   Transition-based like .rv: worst case is instantly visible. */
.lm {
  display: block; overflow: hidden;
  padding: 0.02em 0.1em 0.14em; margin: -0.02em -0.1em -0.14em;
}
.js .rv-lines .l {
  display: block;
  transform: translateY(115%);
  transition: transform 1.15s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0s);
}
.js .rv-lines.in .l { transform: none; }

/* SVG draw-on-view (plates + layer figures).
   Transitions (not keyframes) so the resting state is always fully drawn. */
.js .plate .draw, .js .figplate .draw {
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.5s cubic-bezier(.45,0,.2,1);
}
.js .plate.in .draw, .js .figplate.in .draw { stroke-dashoffset: 0; }
.js .plate .fadeel, .js .figplate .fadeel {
  opacity: 0;
  transition: opacity 1s ease;
}
.js .plate.in .fadeel, .js .figplate.in .fadeel { opacity: 1; }
.d2 { transition-delay: 0.35s !important; }
.d3 { transition-delay: 0.7s !important; }
.d4 { transition-delay: 1.05s !important; }
.d5 { transition-delay: 1.35s !important; }

/* ── Nav ─────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 50;
  height: 64px; display: flex; align-items: center;
  padding: 0 3rem;
  /* Desktop keeps a sticky frosted bar. On mobile (≤720px) the bar is made
     position:relative — NOT pinned — to sidestep a confirmed iOS 26 WebKit bug
     (bugs.webkit.org/show_bug.cgi?id=297779): fixed AND sticky elements float
     / shift ~10-20px when the Safari address bar collapses on scroll. Apple
     acknowledged it; there is no reliable CSS workaround, so on mobile we
     simply don't pin. Desktop has no address-bar collapse and is unaffected. */
  background: rgba(244,242,236,0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
nav.scrolled {
  background: rgba(244,242,236,0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 32px -22px rgba(28,52,36,0.5);
}

/* Scroll-progress hairline under the nav — CSS scroll-driven, no JS */
@supports (animation-timeline: scroll()) {
  nav::after {
    content: ''; position: absolute; left: 0; bottom: -1px;
    width: 100%; height: 2px; background: var(--accent);
    transform-origin: 0 50%; transform: scaleX(0);
    animation: nav-progress linear both;
    animation-timeline: scroll(root);
  }
  @keyframes nav-progress { to { transform: scaleX(1); } }
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }

/* GeoMark micro-signature — dark tile mark (matches the favicon); the paper
   corner triangles assemble on load, the inscribed diamond turns on hover.
   Transition-based + gated on .js/.mark-in from site.js. */
.nav-brand svg { overflow: visible; }
.gm-diamond {
  transform-box: fill-box; transform-origin: center;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}
.nav-brand:hover .gm-diamond { transform: rotate(45deg); }
.js .nav-brand .gm-c { opacity: 0; }
.js .nav-brand .gm-c-tl { transition: opacity 0.6s ease 0.05s; }
.js .nav-brand .gm-c-bl { transition: opacity 0.6s ease 0.15s; }
.js .nav-brand .gm-c-tr { transition: opacity 0.6s ease 0.25s; }
.js .nav-brand .gm-c-br { transition: opacity 0.6s ease 0.35s; }
.js.mark-in .nav-brand .gm-c-tl { opacity: 0.92; }
.js.mark-in .nav-brand .gm-c-bl { opacity: 0.62; }
.js.mark-in .nav-brand .gm-c-tr { opacity: 0.5; }
.js.mark-in .nav-brand .gm-c-br { opacity: 0.38; }
.js .nav-brand .gm-di {
  stroke-dasharray: 182; stroke-dashoffset: 182;
  transition: stroke-dashoffset 0.9s cubic-bezier(.45,0,.2,1) 0.3s;
}
.js.mark-in .nav-brand .gm-di { stroke-dashoffset: 0; }
.nav-wordmark {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 0.92rem; color: var(--text);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 1.9rem; }
.nav-link {
  position: relative;
  font-size: 0.7rem; color: var(--muted);
  letter-spacing: 0.06em; text-decoration: none;
  transition: color 0.2s;
}
.nav-link::after {
  content: ''; position: absolute;
  left: 0; right: 100%; bottom: -5px; height: 1px;
  background: var(--accent);
  transition: right 0.25s cubic-bezier(.16,1,.3,1);
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { right: 0; }
.nav-link[aria-current="page"] { color: var(--accent); font-weight: 500; }
.nav-link[aria-current="page"]::after { right: 0; opacity: 0.45; }
.nav-cta {
  background: var(--accent); color: var(--bg);
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.66rem 1.25rem; border-radius: 2px;
  text-decoration: none; white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  opacity: 0.92; transform: translateY(-1px);
  box-shadow: 0 12px 24px -14px rgba(28,52,36,0.55);
}

/* Mobile menu toggle — hidden above 720px */
.nav-burger {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-burger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--accent);
  transition: transform 0.25s ease;
}
nav.open .nav-burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
nav.open .nav-burger span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* ── Shared layout ───────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 3rem; }

.band-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band-dark {
  position: relative; overflow: hidden;
  background: var(--accent);
  background: linear-gradient(165deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--bg);
}
/* Faint blueprint grid over dark bands */
.band-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg,  rgba(244,242,236,0.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(244,242,236,0.035) 0 1px, transparent 1px 64px);
}
.band-dark .wrap { position: relative; }
.ghost-mark {
  position: absolute; top: 50%; width: 560px; height: 560px;
  transform: translateY(-50%);
  opacity: 0.05; pointer-events: none;
}
.ghost-right { right: -140px; }
.ghost-left  { left: -160px; }
/* Scroll-linked drift on ghost marks — progressive, decorative */
@supports (animation-timeline: view()) {
  .band-dark .ghost-mark {
    animation: ghost-drift linear both;
    animation-timeline: view();
  }
  @keyframes ghost-drift {
    from { transform: translateY(-44%); }
    to   { transform: translateY(-56%); }
  }
}

.sec-eyebrow {
  display: block;
  font-size: 0.6rem; color: var(--accent);
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500;
}

/* ── Plate panels (drafting-sheet framing) ───────── */
.plate { position: relative; }
.pc {
  position: absolute; width: 11px; height: 11px;
  opacity: 0.55; pointer-events: none;
}
.pc-tl { top: 7px; left: 7px;   border-top: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.pc-tr { top: 7px; right: 7px;  border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); }
.pc-bl { bottom: 7px; left: 7px;  border-bottom: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.pc-br { bottom: 7px; right: 7px; border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent); }
.plate-label {
  position: absolute; top: 1.15rem; left: 1.5rem;
  font-size: 0.54rem; color: var(--muted);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.plate-cap {
  position: absolute; left: 1.5rem; bottom: 1.05rem;
  font-size: 0.54rem; color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase;
}

/* ── Hero (landing) ──────────────────────────────── */
.hero {
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  padding: 3.5rem 0 4rem;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: 0.6rem; color: var(--muted);
  letter-spacing: 0.24em; text-transform: uppercase;
  margin-bottom: 2.1rem; font-weight: 500;
}
.hero-eyebrow::before {
  content: ''; width: 46px; height: 1px;
  background: var(--accent); opacity: 0.5;
}
.hero-title {
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: clamp(3.1rem, 9vw, 8rem);
  line-height: 0.98; letter-spacing: -0.015em;
  color: var(--text); margin-bottom: 3rem;
}
.hero-title em { font-style: italic; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 5rem; align-items: start;
}
.hero-body {
  font-size: 1.02rem; color: var(--muted);
  line-height: 1.8; max-width: 46ch;
  margin-bottom: 2.4rem;
}

/* Scroll cue — decorative */
.scroll-cue {
  display: inline-flex; align-items: center; gap: 0.85rem;
  margin-top: 4rem;
  font-size: 0.56rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.26em; text-transform: uppercase;
}
.scroll-cue i {
  display: block; width: 1px; height: 44px;
  background: var(--line-grn);
  position: relative; overflow: hidden;
}
.scroll-cue i::after {
  content: ''; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--accent);
  animation: cue-drop 2.4s cubic-bezier(.45,0,.2,1) infinite;
}
@keyframes cue-drop { 0% { top: -50%; } 65%, 100% { top: 110%; } }
.hero-ctas { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.btn {
  position: relative; overflow: hidden; z-index: 1;
  display: inline-block;
  background: var(--accent); color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.95rem 2.2rem; text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s, box-shadow 0.3s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-wipe, var(--accent-2));
  transform: translateX(-102%);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -16px rgba(28,52,36,0.6);
}
.btn:hover::before { transform: none; }
.link-arrow {
  font-size: 0.7rem; font-weight: 500; color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line-grn);
  padding-bottom: 0.3rem;
  transition: border-color 0.2s;
}
.link-arrow:hover { border-color: var(--accent); }
.hero-ticks {
  display: flex; gap: 1.6rem; flex-wrap: wrap;
  margin-top: 2.75rem;
  font-size: 0.58rem; color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.hero-ticks span::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; background: var(--accent);
  transform: rotate(45deg); margin-right: 0.6rem;
  vertical-align: 1px; opacity: 0.7;
}

/* Hero plate: floating drafting sheet — blueprint grid dissolves at the
   edges (masked ::before layer); corner ticks + labels mark the bounds */
.hero-fig {
  position: relative; isolation: isolate;
  justify-self: end; width: 100%; max-width: 520px;
  margin-top: -0.5rem;
  padding: 3.4rem 2.4rem 3rem;
}
.hero-fig::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 58% at 50% 38%, rgba(28,52,36,0.07), rgba(28,52,36,0) 70%),
    repeating-linear-gradient(0deg,  var(--line-faint) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, var(--line-faint) 0 1px, transparent 1px 26px);
  -webkit-mask-image: radial-gradient(ellipse 85% 82% at 50% 48%, #000 45%, transparent 98%);
          mask-image: radial-gradient(ellipse 85% 82% at 50% 48%, #000 45%, transparent 98%);
}
.hero-fig svg { width: 100%; height: auto; display: block; }
.anno {
  font-family: 'Inter', sans-serif; font-size: 7.5px;
  fill: var(--accent); letter-spacing: 0.16em; opacity: 0.8;
}

/* ── Subpage header ──────────────────────────────── */
/* Longhand vertical padding only — .page-head shares elements with .wrap,
   and a padding shorthand here would wipe .wrap's horizontal padding. */
.page-head {
  position: relative;
  padding-top: 6.5rem; padding-bottom: 4.5rem;
  border-bottom: 1px solid var(--line-grn);
}
.page-title {
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1.0; letter-spacing: -0.012em;
  margin: 1.2rem 0 1.6rem; max-width: 22ch;
}
/* Ghost page numeral, right-aligned in the header */
.page-num {
  position: absolute; right: 3rem; bottom: 2.2rem;
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: clamp(6rem, 13vw, 10rem); line-height: 0.8;
  color: var(--accent); opacity: 0.07;
  letter-spacing: -0.02em;
  pointer-events: none; user-select: none;
}
.page-title em { font-style: italic; }
.page-lede {
  font-size: 0.97rem; color: var(--muted);
  line-height: 1.8; max-width: 64ch;
}
.page-lede strong { color: var(--text); font-weight: 500; }

/* ── Ticker (landing) — decorative marquee ───────── */
.ticker {
  border-top: 1px solid var(--border);
  overflow: hidden;
  padding: 1.05rem 0;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker-scroll 38s linear infinite;
}
.ticker-track span {
  display: flex; align-items: center;
  font-size: 0.6rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.24em; text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track span::after {
  content: ''; flex-shrink: 0;
  width: 5px; height: 5px;
  background: var(--accent); opacity: 0.55;
  transform: rotate(45deg);
  margin: 0 2.6rem;
}
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.ticker + .contents { border-top: none; }

/* ── Contents strip (landing) ────────────────────── */
.contents {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contents-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.c-item {
  position: relative; display: block;
  padding: 2rem 1.6rem 2.2rem;
  text-decoration: none;
  border-left: 1px solid var(--line-grn);
  transition: background 0.25s ease;
}
.c-item::before {
  content: ''; position: absolute; top: -1px; left: 0;
  height: 2px; width: 0; background: var(--accent);
  transition: width 0.4s cubic-bezier(.16,1,.3,1);
}
.c-item:hover::before { width: 100%; }
.c-item:first-child { border-left: none; padding-left: 0; }
.c-item:hover { background: var(--bg-alt); }
.c-item:first-child:hover { box-shadow: -3rem 0 0 var(--bg-alt); }
.c-num {
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: 1.5rem; color: var(--accent); opacity: 0.6;
  letter-spacing: 0.04em;
}
.c-tag {
  display: block; margin: 0.9rem 0 0.45rem;
  font-size: 0.56rem; color: var(--muted);
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.c-title {
  display: block;
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 1.06rem; line-height: 1.3; color: var(--text);
  transition: color 0.2s;
}
.c-item:hover .c-title { color: var(--accent); font-style: italic; }
.c-arrow {
  position: absolute; right: 1.3rem; top: 1.7rem;
  font-size: 0.8rem; color: var(--accent);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.c-item:hover .c-arrow { opacity: 1; transform: none; }

/* ── Problem band (dark): thesis + evidence ──────── */
.problem { padding: 8.5rem 0 7.5rem; }
.prob-grid {
  position: relative;
  display: grid; grid-template-columns: 200px 1fr; gap: 3rem;
}
.prob-eyebrow {
  font-size: 0.6rem; color: var(--muted-lt);
  letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500; padding-top: 0.6rem;
}
.problem h2 {
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.02; letter-spacing: -0.01em;
  max-width: 18ch; margin-bottom: 1.75rem;
}
.problem .prob-body {
  font-size: 0.98rem; line-height: 1.85;
  max-width: 60ch; color: var(--paper-dim);
}
.problem .prob-body em { font-style: italic; color: var(--bg); }

.prob-stats {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--paper-line);
  margin-top: 4.75rem; padding-top: 3.75rem;
}
.stat-item { padding: 0 3rem; border-right: 1px solid var(--paper-line); }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; padding-right: 0; }
.stat-num {
  display: block;
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: clamp(3.4rem, 5.6vw, 5rem);
  color: var(--bg);
  line-height: 1; margin-bottom: 0.95rem;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.82rem; color: var(--paper-dim);
  line-height: 1.68; margin-bottom: 0.75rem;
  max-width: 27ch;
}
.stat-source {
  display: block;
  font-size: 0.6rem; color: var(--muted-lt);
  letter-spacing: 0.05em; font-style: normal;
}
.prob-more { margin-top: 3.25rem; }
.prob-more .link-arrow {
  color: var(--bg);
  border-bottom-color: var(--paper-line);
}
.prob-more .link-arrow:hover { border-bottom-color: var(--bg); }

/* ── Section headers (shared) ────────────────────── */
.sec-head { max-width: 720px; }
.sec-head h2 {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.1; letter-spacing: 0.005em;
  margin: 1rem 0 1.1rem;
}
.sec-intro {
  font-size: 0.92rem; color: var(--muted);
  line-height: 1.78; max-width: 62ch;
}
.sec-intro strong { color: var(--text); font-weight: 500; }

/* ── Comparison demo (landing) ───────────────────── */
/* Two plates: "The reflex" in ink on paper vs. the featured
   "connective layer" as a night blueprint — paper strokes on dark green */
.demo-section { padding: 6.5rem 0 7rem; }
.demo-grid {
  display: grid; grid-template-columns: 0.94fr 1.06fr;
  gap: 2rem; margin-top: 3.5rem;
  align-items: stretch;
}
.demo-panel {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 2px; overflow: hidden;
}
.demo-ink {
  background: var(--bg);
  border: 1px solid var(--border);
}
.demo-blueprint {
  background:
    repeating-linear-gradient(0deg,  rgba(244,242,236,0.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(244,242,236,0.04) 0 1px, transparent 1px 44px),
    linear-gradient(165deg, var(--accent) 0%, var(--accent-2) 100%);
  border: 1px solid var(--accent-2);
  color: var(--bg);
  box-shadow: 0 34px 64px -40px rgba(22,41,27,0.6);
}
.demo-blueprint .pc { border-color: rgba(244,242,236,0.45); z-index: 1; }
.demo-phead {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding: 1.45rem 1.7rem 1.3rem;
  border-bottom: 1px solid var(--line-grn);
}
.demo-blueprint .demo-phead { border-bottom-color: var(--paper-line); }
.demo-num {
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: 2rem; line-height: 1;
  color: var(--accent); opacity: 0.5;
}
.demo-blueprint .demo-num { color: var(--bg); }
.demo-tag {
  display: block;
  font-size: 0.6rem; color: var(--accent);
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  margin-bottom: 0.35rem;
}
.demo-blueprint .demo-tag { color: var(--muted-lt); }
.demo-name {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 1.5rem; line-height: 1.1;
}
.demo-kind {
  margin-left: auto;
  font-size: 0.56rem; color: var(--muted);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.demo-blueprint .demo-kind { color: var(--muted-lt); }
.demo-stage { display: block; width: 100%; height: auto; }
.demo-pbody {
  margin-top: auto;
  padding: 1.5rem 1.7rem 1.7rem;
  border-top: 1px solid var(--line-grn);
}
.demo-blueprint .demo-pbody { border-top-color: var(--paper-line); }
.demo-list { list-style: none; }
.demo-list li {
  position: relative; padding-left: 1.05rem;
  font-size: 0.82rem; color: var(--muted);
  line-height: 1.6; margin-bottom: 0.55rem;
}
.demo-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px; background: var(--accent);
  transform: rotate(45deg);
}
.demo-list li.dim::before { background: var(--border); }
.demo-list sup { font-size: 0.62em; }
.demo-blueprint .demo-list li { color: var(--paper-dim); }
.demo-blueprint .demo-list li::before { background: var(--bg); opacity: 0.85; }
.demo-foot {
  margin-top: 2.25rem;
  font-size: 0.62rem; color: var(--muted); line-height: 1.8;
}
.demo-foot em { font-style: italic; }
.demo .lbl { font-family: 'Inter', sans-serif; font-size: 8px; fill: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.demo .lbl-d { fill: var(--accent); }
.demo-blueprint .lbl { fill: var(--muted-lt); }
.demo-blueprint .lbl-d { fill: var(--bg); }
.demo .chip-t { font-family: 'Inter', sans-serif; font-size: 8px; font-weight: 500; fill: var(--accent); letter-spacing: 0.06em; }
.demo .node-t { font-family: 'Inter', sans-serif; font-size: 8.5px; font-weight: 500; fill: var(--accent); letter-spacing: 0.07em; }
.demo .bang { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; fill: var(--bg); }

/* ── Where we work (workflows grid) ──────────────── */
.wedge { padding: 0 0 6.5rem; }
.wedge .wrap {
  border-top: 1px solid var(--line-grn);
  padding-top: 5.75rem;
}
.wedge-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-grn);
  border-left: 1px solid var(--line-grn);
  margin-top: 3rem;
}
.wedge-item {
  position: relative;
  padding: 1.9rem 1.8rem 2.15rem;
  border-right: 1px solid var(--line-grn);
  border-bottom: 1px solid var(--line-grn);
  transition: background 0.25s ease;
}
.wedge-item::before {
  content: ''; position: absolute; top: -1px; left: 0;
  height: 2px; width: 0; background: var(--accent);
  transition: width 0.4s cubic-bezier(.16,1,.3,1);
}
.wedge-item:hover::before { width: 100%; }
.wedge-item:hover { background: var(--bg-alt); }
.wedge-item::after {
  content: ''; position: absolute; top: 2.05rem; right: 1.7rem;
  width: 6px; height: 6px; background: var(--accent);
  opacity: 0.75;
  transform: rotate(45deg) scale(0);
  transition: transform 0.25s cubic-bezier(.16,1,.3,1);
}
.wedge-item:hover::after { transform: rotate(45deg) scale(1); }
.w-num {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 0.9rem; color: var(--accent); opacity: 0.5;
  letter-spacing: 0.06em;
}
.wedge-item h3 {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 1.22rem; line-height: 1.28;
  margin: 0.85rem 0 0.7rem;
  transition: color 0.2s;
}
.wedge-item:hover h3 { color: var(--accent); }
.wedge-item p {
  font-size: 0.83rem; color: var(--muted); line-height: 1.72;
}

/* ── Where-we-work teaser strip (landing) ────────── */
.wf-strip { border-top: 1px solid var(--border); }
.wf-row {
  display: flex; align-items: baseline; gap: 2rem;
  padding-top: 1.5rem; padding-bottom: 1.5rem;
  flex-wrap: wrap;
}
.wf-label {
  font-size: 0.58rem; color: var(--muted); font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  white-space: nowrap;
}
.wf-items { display: flex; flex-wrap: wrap; gap: 0.5rem 0; flex: 1; min-width: 260px; }
.wf-items a {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 0.98rem; color: var(--text); text-decoration: none;
  transition: color 0.2s;
}
.wf-items a:hover { color: var(--accent); font-style: italic; }
.wf-items a:not(:last-child)::after {
  content: ''; display: inline-block;
  width: 4px; height: 4px; background: var(--accent);
  transform: rotate(45deg); margin: 0 0.9rem;
  vertical-align: 2px; opacity: 0.55;
}
.wf-more { white-space: nowrap; }

/* ── On the name (etymology plate) ───────────────── */
.name-band { padding: 6.5rem 0; }
.name-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem; align-items: center;
}
.name-pron {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0.5rem 0.9rem; margin: 1.4rem 0 1.6rem;
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-grn);
}
.name-word {
  font-family: 'Spectral', serif; font-weight: 400; font-style: italic;
  font-size: 1.4rem; color: var(--text);
}
.name-ipa { font-size: 0.84rem; color: var(--muted); }
.name-resp {
  font-size: 0.62rem; color: var(--muted);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.name-text p {
  font-family: 'Spectral', serif; font-weight: 300;
  font-style: italic; font-size: 1.08rem;
  color: var(--text); line-height: 1.8;
}
.name-text p + p { margin-top: 1.2rem; }
.name-fig-plate {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 3rem 2rem 2.9rem;
}
.name-fig-plate svg { width: 100%; height: auto; display: block; }
.name-anno {
  font-family: 'Inter', sans-serif; font-size: 11px;
  fill: var(--accent); letter-spacing: 0.03em;
}

/* ── Narrative sections + layer figures ──────────── */
.sections { padding: 3rem 0 4rem; }
.approach-head { padding: 5.5rem 0 1rem; }

.section {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 250px;
  gap: 3.5rem;
  padding: 5.25rem 0;
  border-bottom: 1px solid var(--line-grn);
  align-items: start;
}
.section:last-child { border-bottom: none; }
.section-rail { position: sticky; top: 110px; }
.section-num {
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: 8.5rem; line-height: 0.9;
  color: var(--accent); opacity: 0.1;
  letter-spacing: -0.03em;
}
.section-tag {
  display: block;
  font-size: 0.6rem; color: var(--accent);
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 1.1rem;
}
.section-title {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.1; letter-spacing: 0.005em;
  color: var(--text); margin-bottom: 1.2rem;
}
.section-body {
  font-size: 0.9rem; color: var(--muted);
  line-height: 1.82; max-width: 56ch;
}
.section-body + .section-body { margin-top: 1.05rem; }
.section-body strong { color: var(--text); font-weight: 500; }

/* "In practice" list inside sections */
.practice {
  list-style: none;
  margin-top: 1.6rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line-grn);
  max-width: 56ch;
}
.practice-label {
  display: block;
  font-size: 0.56rem; color: var(--muted);
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; margin: 1.6rem 0 -0.6rem;
}
.practice li {
  position: relative; padding-left: 1.05rem;
  font-size: 0.84rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 0.6rem;
}
.practice li::before {
  content: ''; position: absolute; left: 0; top: 0.58em;
  width: 5px; height: 5px; background: var(--accent);
  transform: rotate(45deg); opacity: 0.75;
}

.figplate {
  position: sticky; top: 110px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.9rem 1.9rem 1.4rem;
}
.figplate svg { width: 100%; height: auto; display: block; }
.fig-cap {
  display: block; margin-top: 1.2rem;
  padding-top: 0.9rem; border-top: 1px solid var(--line-grn);
  font-size: 0.56rem; color: var(--muted);
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* ── Engagement phases (approach page) ───────────── */
.phase-band { padding: 6rem 0 6.5rem; }
.phases {
  margin-top: 3.25rem;
  border-left: 1px solid var(--line-grn);
  padding-left: 2.9rem;
  max-width: 760px;
}
.phase { position: relative; padding: 2.4rem 0; border-bottom: 1px solid var(--line-grn); }
.phase:last-child { border-bottom: none; }
.phase::before {
  content: ''; position: absolute;
  left: calc(-2.9rem - 4.5px); top: 3.15rem;
  width: 9px; height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
}
.phase-tag {
  display: block;
  font-size: 0.58rem; color: var(--accent);
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 0.8rem;
}
.phase h3 {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 1.55rem; margin-bottom: 0.75rem;
}
.phase p {
  font-size: 0.89rem; color: var(--muted);
  line-height: 1.8; max-width: 60ch;
}

/* ── Audience cards / column pairs ───────────────── */
.partner { padding: 6.5rem 0; }
.partner-grid { display: grid; grid-template-columns: 200px 1fr; gap: 3rem; }
.partner-eyebrow {
  font-size: 0.6rem; color: var(--muted);
  letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500; padding-top: 0.55rem;
}
.partner h2 {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1; margin-bottom: 1.3rem;
  max-width: 22ch;
}
.p-lede {
  font-size: 0.95rem; color: var(--muted);
  line-height: 1.8; max-width: 62ch;
  margin-bottom: 3rem;
}
.p-lede strong { color: var(--text); font-weight: 500; }
.p-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.75rem; }
.p-col { border-top: 2px solid var(--accent); padding-top: 1.4rem; }
.p-col h3 {
  font-family: 'Spectral', serif; font-weight: 400;
  font-size: 1.18rem; margin-bottom: 0.7rem;
}
.p-col p { font-size: 0.875rem; color: var(--muted); line-height: 1.8; }
.p-more { margin-top: 2.75rem; }

/* ── Evidence reading room ───────────────────────── */
.shelf {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 3.5rem;
  padding: 4.75rem 0;
  border-bottom: 1px solid var(--line-grn);
  align-items: start;
}
.shelf:last-of-type { border-bottom: none; }
.shelf-rail { position: sticky; top: 110px; }
.shelf-num {
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: 6rem; line-height: 0.9;
  color: var(--accent); opacity: 0.11;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.shelf-tag {
  display: block;
  font-size: 0.58rem; color: var(--accent);
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500;
}
.shelf-title {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.12; margin: 0.9rem 0 1rem;
}
.shelf-intro {
  font-size: 0.89rem; color: var(--muted);
  line-height: 1.78; max-width: 62ch;
  margin-bottom: 1.4rem;
}
.refs { list-style: none; }
.ref {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line-grn);
}
.ref:last-child { border-bottom: none; padding-bottom: 0.5rem; }
.ref-num {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 1rem; color: var(--accent); opacity: 0.5;
  padding-top: 0.2rem;
}
.ref-cite {
  font-size: 0.62rem; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.ref-cite em { font-style: italic; text-transform: none; letter-spacing: 0.04em; }
.ref-title {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 1.28rem; line-height: 1.35;
  margin-bottom: 0.65rem;
}
.ref-note {
  font-size: 0.86rem; color: var(--muted);
  line-height: 1.75; max-width: 66ch;
}
.ref-note strong { color: var(--text); font-weight: 500; }
.ref-chip {
  display: inline-block; margin-top: 0.9rem;
  font-size: 0.6rem; font-weight: 500; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--line-grn); border-radius: 2px;
  padding: 0.4rem 0.75rem;
}
.ref-chip::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; background: var(--accent);
  transform: rotate(45deg); margin-right: 0.55rem;
  vertical-align: 1px; opacity: 0.75;
}
.evidence-note {
  margin: 0; padding: 4rem 0 5.5rem;
  font-size: 0.68rem; color: var(--muted); line-height: 1.85;
  max-width: 74ch;
}
.evidence-note em { font-style: italic; }

/* ── Bios (about page) ───────────────────────────── */
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.75rem; margin-top: 3rem; }
.bio { border-top: 2px solid var(--accent); padding-top: 1.5rem; }
.bio-role {
  display: block;
  font-size: 0.56rem; color: var(--muted);
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 0.9rem;
}
.bio h3 {
  font-family: 'Spectral', serif; font-weight: 400;
  font-size: 1.5rem; margin-bottom: 0.85rem;
}
.bio h3.anon { font-weight: 300; font-style: italic; }
.bio p { font-size: 0.875rem; color: var(--muted); line-height: 1.8; max-width: 48ch; }
.bio-note {
  margin-top: 2.5rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line-grn);
  font-size: 0.78rem; color: var(--muted);
  line-height: 1.75; max-width: 70ch;
  font-style: italic;
}

/* ── Principles list (about page) ────────────────── */
.princ { list-style: none; margin-top: 2.75rem; max-width: 760px; }
.princ li {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line-grn);
}
.princ li:last-child { border-bottom: none; }
.princ-num {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 1.05rem; color: var(--accent); opacity: 0.5;
  padding-top: 0.25rem;
}
.princ h3 {
  font-family: 'Spectral', serif; font-weight: 300;
  font-size: 1.35rem; margin-bottom: 0.55rem;
}
.princ p { font-size: 0.875rem; color: var(--muted); line-height: 1.75; max-width: 62ch; }

/* ── Quote band ──────────────────────────────────── */
.quote-band { padding: 5.75rem 0; }
.quote-band p {
  font-family: 'Spectral', serif; font-weight: 300; font-style: italic;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.5; color: var(--text);
  max-width: 44ch;
}
.quote-band .sec-eyebrow { margin-bottom: 1.5rem; }

/* ── Generic page section ────────────────────────── */
.page-section { padding: 5.25rem 0; border-bottom: 1px solid var(--line-grn); }
.page-section:last-of-type { border-bottom: none; }

/* ── CTA band ────────────────────────────────────── */
.cta-band { padding: 9.5rem 0; text-align: center; }
.cta-band h2 {
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  letter-spacing: -0.01em; margin-bottom: 1.2rem;
}
.cta-band p {
  font-size: 0.95rem; color: var(--paper-dim);
  line-height: 1.78; max-width: 48ch;
  margin: 0 auto 2.75rem;
}
.cta-band .btn {
  background: var(--bg); color: var(--accent);
  --btn-wipe: var(--bg-alt);
}
.cta-band .btn:hover { box-shadow: 0 14px 30px -14px rgba(0,0,0,0.5); }
.cta-mail {
  display: block; margin-top: 1.75rem;
  font-size: 0.72rem; color: var(--muted-lt);
  letter-spacing: 0.08em; text-decoration: none;
  transition: color 0.2s;
}
.cta-mail:hover { color: var(--bg); }

/* ── Footer ──────────────────────────────────────── */
footer { padding: 4.25rem 0 2.5rem; border-top: 1px solid var(--border); }
.f-giant {
  font-family: 'Spectral', serif; font-weight: 200;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.9; letter-spacing: -0.015em;
  color: var(--accent); opacity: 0.12;
  margin-bottom: 3.25rem;
  user-select: none;
}
.f-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 5rem; align-items: start;
  margin-bottom: 3.25rem;
}
.f-brand-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.f-tag { font-size: 0.78rem; color: var(--muted); line-height: 1.7; max-width: 30ch; }
.f-label {
  display: block;
  font-size: 0.56rem; color: var(--muted);
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 1rem;
}
.f-links { display: flex; flex-direction: column; gap: 0.7rem; }
.f-links a, .f-contact a {
  font-size: 0.74rem; color: var(--muted);
  text-decoration: none; letter-spacing: 0.03em;
  transition: color 0.2s;
}
.f-links a:hover, .f-contact a:hover { color: var(--accent); }
.f-bot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
  border-top: 1px solid var(--line-grn); padding-top: 1.7rem;
  font-size: 0.62rem; color: var(--muted); letter-spacing: 0.08em;
}
.f-bot em { font-style: italic; font-family: 'Spectral', serif; letter-spacing: 0.04em; }

/* ── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .rv-lines .l { transform: none; transition: none; }
  .js .plate .draw, .js .figplate .draw,
  .js .plate .fadeel, .js .figplate .fadeel {
    transition: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
  }
  .ticker-track, .scroll-cue i::after,
  nav::after, .band-dark .ghost-mark { animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .gm-diamond { transition: none; }
  .js .nav-brand .gm-c { transition: none; }
  .js .nav-brand .gm-c-tl { opacity: 0.92; }
  .js .nav-brand .gm-c-bl { opacity: 0.62; }
  .js .nav-brand .gm-c-tr { opacity: 0.5; }
  .js .nav-brand .gm-c-br { opacity: 0.38; }
  .js .nav-brand .gm-di { stroke-dashoffset: 0; transition: none; }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 3.5rem; }
  .section { grid-template-columns: 110px minmax(0, 1fr); gap: 2.5rem; }
  .figplate {
    grid-column: 2; position: static;
    max-width: 250px; margin-top: 2.25rem;
  }
}

@media (max-width: 840px) {
  .wrap { padding: 0 1.5rem; }
  nav { padding: 0 1.5rem; }
  .hero { min-height: 0; padding: 3.5rem 0 4rem; }
  .hero-title { margin-bottom: 2.4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-fig { justify-self: start; max-width: 460px; margin-top: 0; padding: 2.4rem 1.6rem 2.2rem; }
  .scroll-cue { display: none; }
  .page-num { right: 1.5rem; bottom: 1.4rem; font-size: clamp(4rem, 16vw, 6rem); }
  .contents-grid { grid-template-columns: 1fr 1fr; }
  .c-item { padding: 1.4rem 1.3rem 1.6rem; }
  .c-item:first-child { padding-left: 0; }
  .c-item:nth-child(3) { border-left: none; padding-left: 0; }
  .c-item:nth-child(n+3) { border-top: 1px solid var(--line-grn); }
  .prob-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .prob-eyebrow { padding-top: 0; }
  .prob-stats { grid-template-columns: 1fr; margin-top: 3.5rem; padding-top: 0; }
  .stat-item {
    padding: 2.1rem 0; border-right: none;
    border-bottom: 1px solid var(--paper-line);
  }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .demo-grid { grid-template-columns: 1fr; }
  .name-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .name-fig-plate { max-width: 420px; }
  .section { grid-template-columns: 1fr; gap: 1.25rem; padding: 3.75rem 0; }
  .section-rail { position: static; }
  .section-num { font-size: 3.6rem; }
  .figplate { grid-column: auto; }
  .partner-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .partner-eyebrow { padding-top: 0; }
  .p-cols { grid-template-columns: 1fr; gap: 2rem; }
  .page-head { padding-top: 3.75rem; padding-bottom: 3rem; }
  .wedge-grid { grid-template-columns: 1fr 1fr; }
  .wedge .wrap { padding-top: 4rem; }
  .shelf { grid-template-columns: 1fr; gap: 1.5rem; padding: 3.5rem 0; }
  .shelf-rail { position: static; }
  .shelf-num { font-size: 3rem; margin-bottom: 0.6rem; }
  .ref { grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0.9rem; }
  .phases { padding-left: 1.9rem; }
  .phase::before { left: calc(-1.9rem - 4.5px); }
  .bio-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .f-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 720px) {
  /* Nav collapses into a burger-toggled panel (gated on .js;
     no-JS keeps the old inline fallback: brand + CTA only) */
  .nav-burger { display: flex; }
  /* Non-pinned mobile bar: position:relative (not sticky) sidesteps the iOS 26
     floating-header bug, while still anchoring the .nav-links dropdown. Solid
     background drops backdrop-filter (which iOS can disable under Low Power
     Mode). The bar scrolls away with the page — expected mobile behaviour. */
  nav { position: relative; }
  nav, nav.scrolled { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.4rem 1.5rem 1.6rem;
    background: rgba(244,242,236,0.97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 44px -30px rgba(28,52,36,0.45);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  nav.open .nav-links {
    visibility: visible; opacity: 1; transform: none;
  }
  .nav-link {
    display: block;
    font-size: 0.82rem; letter-spacing: 0.08em;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-grn);
  }
  .nav-link::after { display: none; }
  .nav-links .nav-cta { margin-top: 1.2rem; text-align: center; }
  html:not(.js) .nav-burger { display: none; }
  html:not(.js) .nav-links {
    position: static; visibility: visible; opacity: 1; transform: none;
    flex-direction: row; padding: 0; background: none;
    border: none; box-shadow: none;
  }
  html:not(.js) .nav-link { display: none; }
  html:not(.js) .nav-links .nav-cta { margin-top: 0; }
  .wedge-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.6rem, 12.5vw, 3.4rem); }
}
