/* Gerant website stylesheet, v5 (01-10-26)
   Dark-first editorial composition. Copy, colour tokens and typeface from the Gerant website brief.
   Every colour is referenced through var(); no literal colour values appear in components
   (the few rgba() values are alpha variants of the navy, off-white and light-blue tokens). */

/* ---------- Tokens ---------- */
:root {
  --gr-navy: #002A5C;
  --gr-surface-navy: #0B3670;
  --gr-ink: #15263F;
  --gr-offwhite: #F3F6FA;
  --gr-white: #FFFFFF;
  --gr-ground: #F2F5F9;
  --gr-border: #E1E8F0;
  --gr-rule: #EDF2F7;
  --gr-muted: #5E6F84;
  --gr-muted-2: #8795A8;
  --gr-blue: #1667C2;
  --gr-blue-light: #7FB3E6;
  --gr-hairline-navy: rgba(186, 206, 230, 0.14);
  --gr-track: #C8DCEF;
  --grad-navy-field: radial-gradient(120% 90% at 18% 12%, #0C3F7C 0%, #002A5C 58%, #001B3F 100%);
  --gr-navy-deep: #001B3F;
  --grad-navy-deep: linear-gradient(180deg, var(--gr-navy-deep) 0%, #002A5C 50%, var(--gr-navy-deep) 100%);

  /* alpha variants */
  --off-80: rgba(243, 246, 250, 0.8);
  --off-60: rgba(243, 246, 250, 0.6);
  --off-40: rgba(243, 246, 250, 0.4);
  --off-14: rgba(243, 246, 250, 0.14);
  --off-06: rgba(243, 246, 250, 0.06);
  --navy-06: rgba(0, 42, 92, 0.06);
  --navy-10: rgba(0, 42, 92, 0.1);
  --light-18: rgba(127, 179, 230, 0.18);
  --light-10: rgba(127, 179, 230, 0.1);

  /* type */
  --fs-hero: clamp(56px, 7.4vw, 136px);
  --fs-page: clamp(44px, 4.6vw, 80px);
  --fs-section: clamp(30px, 2.4vw, 40px);
  --fs-statement: clamp(24px, 1.9vw, 30px);
  --fs-lead: 22px;
  --fs-body: 19px;
  --fs-small: 16px;
  --fs-label: 13px;

  /* layout */
  --content-max: 1680px;
  --margin: 72px;
  --gap: 24px;
  --radius: 20px;
  --header-h: 92px;
  --chapter-pad: clamp(120px, 14vw, 240px);

  /* figures */
  --stroke: 1.25;
  --fig-label: 14px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 1400ms;
  --stagger: 130ms;
  --intro: 0ms;

  /* dark context (default) */
  --bg: var(--gr-navy);
  --fg: var(--gr-offwhite);
  --fg-soft: var(--off-60);
  --fg-faint: var(--off-40);
  --accent: var(--gr-blue-light);
  --hairline: var(--off-14);
  --fig-line: var(--gr-offwhite);
  --fig-accent: var(--gr-blue-light);
  --fig-fill: var(--gr-surface-navy);
  --fig-soft: var(--off-14);
  --watermark: var(--off-06);

  font-family: 'Aptos', 'Hanken Grotesk', Arial, system-ui, sans-serif;
}
@media (max-width: 1199px) { :root { --margin: 48px; --header-h: 84px; } }
@media (max-width: 719px) { :root { --fs-lead: 20px; --fs-body: 18px; --margin: 24px; --header-h: 72px; } }

/* light context */
.light {
  --bg: var(--gr-ground);
  --fg: var(--gr-navy);
  --fg-soft: var(--gr-muted);
  --fg-faint: var(--gr-muted-2);
  --accent: var(--gr-blue);
  --hairline: var(--gr-border);
  --fig-line: var(--gr-navy);
  --fig-accent: var(--gr-blue);
  --fig-fill: var(--gr-white);
  --fig-soft: var(--gr-border);
  --watermark: var(--navy-06);
}

/* ---------- Fonts ---------- */
@font-face { font-family: 'Hanken Grotesk'; font-weight: 300; font-style: normal; font-display: swap; src: url('../assets/hanken-300.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/hanken-400.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 500; font-style: normal; font-display: swap; src: url('../assets/hanken-500.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/hanken-600.woff2') format('woff2'); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--gr-navy-deep); }
body { margin: 0; background: var(--gr-navy); color: var(--gr-offwhite); font-size: var(--fs-body); line-height: 1.55; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open, body.intro-running { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
:focus-visible { outline: 2px solid var(--gr-blue-light); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--gr-blue); }
img { display: block; max-width: 100%; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.skip-link { position: absolute; left: var(--margin); top: -100px; background: var(--gr-white); color: var(--gr-navy); padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--margin)); margin: 0 auto; padding-left: var(--margin); padding-right: var(--margin); }
.anchor { scroll-margin-top: 0; }

/* ---------- Type ---------- */
.label { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); }
.hero-heading { font-size: var(--fs-hero); font-weight: 300; line-height: 0.96; letter-spacing: -0.03em; color: var(--gr-offwhite); text-wrap: balance; }
.page-heading { font-size: var(--fs-page); font-weight: 300; line-height: 1.0; letter-spacing: -0.026em; color: var(--fg); text-wrap: balance; }
.section-heading { font-size: var(--fs-section); font-weight: 300; line-height: 1.1; letter-spacing: -0.016em; color: var(--fg); text-wrap: balance; }
.statement { font-size: var(--fs-statement); font-weight: 300; line-height: 1.3; letter-spacing: -0.016em; color: var(--fg); text-wrap: pretty; }
.lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.55; color: var(--fg-soft); }
.body { font-size: var(--fs-body); line-height: 1.6; color: var(--fg); opacity: 0.9; }
.light .body { opacity: 1; color: var(--gr-ink); }
.note { font-size: var(--fs-small); color: var(--fg-soft); }
.rule { width: 56px; height: 1px; background: var(--accent); border: 0; margin: 0; }
.measure { max-width: 58ch; }
.em { color: var(--accent); font-weight: 400; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 18px 32px; border-radius: 999px; cursor: pointer;
  font-size: 17px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.2;
  color: var(--gr-navy); background: var(--gr-offwhite); border: 0;
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out), background 300ms var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); background: var(--gr-white); box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.8); }
.btn svg { width: 16px; height: 16px; transition: transform 400ms var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.light .btn { color: var(--gr-offwhite); background: var(--gr-navy); box-shadow: 0 20px 50px -24px var(--gr-navy); }
.light .btn:hover { background: var(--gr-surface-navy); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); position: relative; padding-bottom: 6px; }
.text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0.35); transform-origin: left; transition: transform 500ms var(--ease-out); }
.text-link:hover { text-decoration: none; }
.text-link:hover::after { transform: scaleX(1); }
.text-link svg { width: 14px; height: 14px; transition: transform 400ms var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Intro: the seed grows into the Gerant tree, then the G closes around it ---------- */
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.intro { position: fixed; inset: 0; z-index: 200; background: var(--gr-navy); display: grid; place-items: center; animation: intro-lift 900ms cubic-bezier(0.7, 0, 0.3, 1) 2700ms forwards; }
.intro.done { display: none; }
.seedling { position: relative; animation: seedling-rest 900ms cubic-bezier(0.7, 0, 0.3, 1) 2700ms forwards; width: clamp(140px, 22svh, 220px); aspect-ratio: 402 / 520; }
.seedling svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seedling .ground { fill: var(--gr-offwhite); transform-origin: 200px 470px; transform: scaleX(0); opacity: 0; animation: ground 700ms var(--ease-out) forwards; }
.seedling .ground-a { animation-delay: 150ms; }
.seedling .ground-b { animation-delay: 250ms; }
.seedling .tree-clip { clip-path: inset(100% 0 0 0); animation: grow-clip 1300ms var(--ease-out) 350ms forwards; }
.seedling .tree { fill: var(--gr-offwhite); transform-origin: 200px 450px; transform: scale(0.8); animation: grow-scale 1300ms var(--ease-out) 350ms forwards; }
.seedling .g-svg { -webkit-mask: conic-gradient(from 38deg at 50% 50%, transparent 0deg, transparent calc(360deg - var(--sweep)), #000 calc(360deg - var(--sweep))); mask: conic-gradient(from 38deg at 50% 50%, transparent 0deg, transparent calc(360deg - var(--sweep)), #000 calc(360deg - var(--sweep))); opacity: 0; animation: g-sweep 1000ms var(--ease-out) 1250ms forwards, g-fade 300ms var(--ease) 1250ms forwards; }
.seedling .g { fill: var(--gr-offwhite); }
@keyframes ground { to { transform: scaleX(1); opacity: 1; } }
@keyframes grow-clip { to { clip-path: inset(0 0 0 0); } }
@keyframes grow-scale { to { transform: scale(1); } }
@keyframes g-sweep { to { --sweep: 300deg; } }
@keyframes g-fade { to { opacity: 1; } }
@keyframes seedling-rest { to { transform: translateY(-40px) scale(0.92); opacity: 0; } }
@keyframes intro-lift { 60% { opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 500ms var(--ease), box-shadow 500ms var(--ease), border-color 500ms var(--ease); border-bottom: 1px solid transparent; }
.site-header.condensed { background: rgba(0, 27, 63, 0.72); -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px); border-color: var(--off-14); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--gap); }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 148px; height: auto; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav a { position: relative; color: var(--gr-offwhite); font-size: var(--fs-label); letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; padding: 10px 0; opacity: 0.82; transition: opacity 300ms var(--ease); }
.nav a:hover { text-decoration: none; opacity: 1; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gr-blue-light); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out); }
.nav a:hover::after { transform: scaleX(0.5); }
.nav a.current { opacity: 1; }
.nav a.current::after { transform: scaleX(1); }
.menu-btn { display: none; align-items: center; gap: 10px; background: transparent; border: 1px solid var(--off-40); border-radius: 999px; color: var(--gr-offwhite); font: inherit; font-size: var(--fs-label); letter-spacing: 0.24em; text-transform: uppercase; padding: 10px 18px; cursor: pointer; }
.menu-btn .bars { display: inline-block; width: 18px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--gr-offwhite); transition: transform 300ms var(--ease), top 300ms var(--ease); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 9px; }
.menu-open .menu-btn .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 4px; transform: rotate(-45deg); }
@media (max-width: 719px) {
  .menu-btn { display: inline-flex; }
  .menu-open .site-header { background: var(--gr-navy); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--gr-navy); flex-direction: column; align-items: flex-start; gap: 0; padding: 24px var(--margin); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a { width: 100%; padding: 22px 0; font-size: 22px; letter-spacing: -0.01em; text-transform: none; font-weight: 300; border-bottom: 1px solid var(--off-14); opacity: 1; }
  .nav a::after { display: none; }
  .nav a.current { color: var(--gr-blue-light); }
}

/* login: outlined pill, same label size as the navigation */
.nav .nav-login { padding: 9px 18px; border: 1px solid var(--off-40); border-radius: 999px; opacity: 1; transition: border-color 300ms var(--ease), background 300ms var(--ease); }
.nav .nav-login::after { display: none; }
.nav .nav-login:hover { border-color: var(--gr-offwhite); background: var(--off-06); }
@media (max-width: 719px) { .nav .nav-login { border: 0; padding: 22px 0; border-radius: 0; border-bottom: 1px solid var(--off-14); } }

/* ---------- Grain and depth ---------- */
.grain::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.light.grain::before { opacity: 0.05; mix-blend-mode: multiply; }

/* ---------- Chapters ---------- */
.chapter { position: relative; padding: var(--chapter-pad) 0; background: var(--bg); color: var(--fg); overflow: clip; }
.chapter.dark { background: var(--grad-navy-deep); }
.chapter.dark::after { content: ''; position: absolute; z-index: 0; top: -10%; right: -10%; width: 60%; height: 70%; background: radial-gradient(50% 50% at 50% 50%, var(--light-10) 0%, transparent 70%); pointer-events: none; }
.chapter > .wrap { position: relative; z-index: 1; }
/* Option 2: every chapter on navy. Alternate chapters sit on a lifted navy so the rhythm survives without white */
.chapter.dark.alt { background: linear-gradient(180deg, var(--gr-navy) 0%, var(--gr-surface-navy) 50%, var(--gr-navy) 100%); }
.chapter.dark.alt::after { left: -10%; right: auto; top: auto; bottom: -10%; }
.chapter.dark + .chapter.dark { border-top: 1px solid var(--off-14); }
.chapter.light + .chapter.light { border-top: 1px solid var(--gr-border); }

/* watermark numeral */
.watermark { position: absolute; z-index: 0; right: calc(var(--margin) - 0.06em); top: calc(var(--chapter-pad) * 0.35); font-size: clamp(180px, 22vw, 380px); font-weight: 300; line-height: 0.8; letter-spacing: -0.06em; color: var(--watermark); pointer-events: none; user-select: none; font-variant-numeric: tabular-nums; transform: translateY(calc(var(--p, 0) * -80px)); }

/* editorial grid: sticky head left, content right */
.editorial { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px var(--gap); align-items: start; }
.editorial > .head { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 28px; align-content: start; }
.editorial > .head .page-heading { max-width: 12ch; }
.editorial > .head .lead { max-width: 34ch; }
.editorial > .content { display: grid; gap: 72px; min-width: 0; }
.editorial > .content.narrow { max-width: 880px; }
@media (max-width: 1199px) {
  .ledger-count, .ledger-bar { display: none; }
  .editorial { grid-template-columns: 1fr; gap: 56px; }
  .editorial > .head { position: static; }
  .editorial > .head .page-heading { max-width: 16ch; }
  .editorial > .head .lead { max-width: 58ch; }
}

/* ---------- Figures ---------- */
.figure svg { width: 100%; height: auto; overflow: visible; display: block; }
.figure text { font-family: inherit; font-size: var(--fig-label); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--fig-accent); }
.figure .label-soft { fill: var(--fg-soft); font-weight: 400; }

/* ---------- Rail list ---------- */
.rail { position: relative; display: grid; padding-left: 64px; }
.rail::before { content: ''; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: var(--hairline); }
.rail::after { content: ''; position: absolute; left: 4px; top: 10px; width: 1px; height: calc((100% - 20px) * var(--p, 0)); background: var(--accent); transition: height 150ms linear; }
.rail-item { position: relative; display: grid; gap: 18px; padding: 56px 0 60px; border-top: 1px solid var(--hairline); }
.rail-item:first-child { border-top: 0; padding-top: 8px; }
.rail-item::before { content: ''; position: absolute; left: -64px; top: 66px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); transition: background 600ms var(--ease), box-shadow 600ms var(--ease); }
.rail-item:first-child::before { top: 18px; }
.rail-item.is-visible::before { background: var(--accent); box-shadow: 0 0 0 7px var(--light-18); }
.rail-item h3 { font-size: var(--fs-section); font-weight: 300; line-height: 1.1; letter-spacing: -0.016em; color: var(--fg); text-wrap: balance; }
.rail-item .body { max-width: 54ch; }
.rail-item .label { margin-bottom: -6px; }
@media (max-width: 719px) { .rail { padding-left: 36px; } .rail-item::before { left: -36px; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; background: var(--grad-navy-field); overflow: hidden; display: grid; align-items: start; }
.hero-light { position: absolute; z-index: 0; top: -30%; left: -10%; width: 60%; height: 90%; background: radial-gradient(50% 50% at 50% 50%, var(--light-18) 0%, transparent 70%); animation: breathe 18s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: translate(0, 0) scale(1); } to { transform: translate(14%, 12%) scale(1.18); } }
.hero-vignette { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(0, 10, 30, 0.3) 0%, transparent 25%, transparent 62%, rgba(0, 10, 30, 0.45) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; gap: clamp(14px, 2.4svh, 34px); padding-top: calc(var(--header-h) + clamp(20px, 6.5svh, 120px)); max-width: 1300px; }
.hero-heading { font-size: min(var(--fs-hero), 11svh); }
.hero-inner .lead { max-width: 50ch; color: var(--off-80); font-size: clamp(18px, 2.5svh, 26px); }
.hero-cta { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; margin-top: clamp(4px, 1.5svh, 16px); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; color: var(--gr-blue-light); font-size: var(--fs-label); letter-spacing: 0.3em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 56px; height: 1px; background: var(--off-40); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--gr-offwhite); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0% { left: -100%; } 60% { left: 100%; } 100% { left: 100%; } }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; width: 100%; pointer-events: none; will-change: transform; }
.skyline img { width: 100%; height: auto; opacity: 0.7; }
@media (max-width: 719px) {
  .hero { height: auto; min-height: 0; }
  .hero-inner { padding-top: calc(var(--header-h) + 64px); padding-bottom: calc(370 / 1881 * 100vw + 56px); gap: 20px; }
  .hero-heading { font-size: var(--fs-hero); }
  .scroll-cue { display: none; }
}
/* hero entrance, after the intro */
.hero .seq { opacity: 0; transform: translateY(18px); filter: blur(10px); animation: rise 1700ms var(--ease-out) forwards; }
.hero .seq:nth-child(1) { animation-delay: calc(var(--intro) + 100ms); }
.hero .seq:nth-child(2) { animation-delay: calc(var(--intro) + 260ms); }
.hero .seq:nth-child(3) { animation-delay: calc(var(--intro) + 420ms); }
.hero .seq:nth-child(4) { animation-delay: calc(var(--intro) + 700ms); }
.hero .seq:nth-child(5) { animation-delay: calc(var(--intro) + 950ms); }
.hero .rule.seq { transform: scaleX(0); transform-origin: left; animation-name: grow; }
.skyline.seq { opacity: 0; transform: translateY(26px); filter: none; animation: rise 2600ms var(--ease-out) calc(var(--intro) + 500ms) forwards; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
@keyframes grow { to { opacity: 1; transform: scaleX(1); filter: none; } }

/* ---------- 01 The gap: scrollytelling ---------- */
.scrolly { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0 var(--gap); align-items: start; }
.scrolly-figure { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); display: grid; align-items: center; }
.scrolly-steps { display: grid; padding-left: 10%; }
.step { min-height: 72svh; display: grid; align-content: center; gap: 20px; }
.step:first-child { min-height: 50svh; }
.step .statement, .step .body { opacity: 0.18; transition: opacity 800ms var(--ease); }
.step.is-active .statement, .step.is-active .body { opacity: 1; }
.step .statement { max-width: 34ch; }
@media (max-width: 1199px) {
  .scrolly { grid-template-columns: 1fr; gap: 56px; }
  .scrolly-figure { position: static; height: auto; }
  .scrolly-steps { gap: 32px; padding-left: 0; }
  .step, .step:first-child { min-height: 0; }
  .step .statement, .step .body { opacity: 1; }
}
.picture svg { max-width: 680px; margin: 0 auto; }
.picture .whole { fill: none; stroke: var(--fig-soft); stroke-width: 1; stroke-dasharray: 2 7; transition: opacity 1000ms var(--ease), stroke 1000ms var(--ease); }
.picture .gap-arc { fill: none; stroke: var(--fig-soft); stroke-width: 1; opacity: 0; transition: opacity 900ms var(--ease); }
.picture .seg { transition: opacity 1000ms var(--ease); }
.picture .arc { fill: none; stroke: var(--fig-accent); stroke-width: 2.5; stroke-linecap: round; opacity: 0.18; transition: opacity 900ms var(--ease), stroke 900ms var(--ease); }
.picture .lens-label { fill: var(--fig-line); opacity: 0; transition: opacity 900ms var(--ease) 250ms; }
.picture .centre-dot { fill: var(--fig-line); opacity: 0.35; transition: opacity 900ms var(--ease); }
.picture .sum { fill: none; stroke: var(--fig-line); stroke-width: 1; opacity: 0; transition: opacity 900ms var(--ease); }
.picture[data-step="1"] .l1 .arc, .picture[data-step="2"] .l1 .arc, .picture[data-step="2"] .l2 .arc,
.picture[data-step="3"] .arc, .picture[data-step="4"] .arc { opacity: 1; stroke: var(--fig-line); }
.picture[data-step="1"] .t1, .picture[data-step="2"] .t1, .picture[data-step="2"] .t2,
.picture[data-step="3"] .lens-label, .picture[data-step="4"] .lens-label { opacity: 1; }
.picture[data-step="4"] .gap-arc { opacity: 1; }
.picture[data-step="4"] .sum { opacity: 0.5; }
/* step 5: the drawn arcs fade while the dotted outline comes forward, in one slow crossfade: a picture never drawn */
.picture[data-step="5"] .arc { opacity: 0; stroke: var(--fig-line); transition: opacity 2200ms cubic-bezier(0.45, 0, 0.2, 1), stroke 1200ms var(--ease); }
.picture[data-step="5"] .l2 .arc { transition-delay: 150ms; }
.picture[data-step="5"] .l3 .arc { transition-delay: 300ms; }
.picture[data-step="5"] .lens-label { opacity: 0; transition: opacity 900ms var(--ease); }
.picture[data-step="5"] .sum { opacity: 0; transition: opacity 900ms var(--ease); }
.picture[data-step="5"] .whole { stroke: var(--fig-line); opacity: 0.9; transition: opacity 2200ms cubic-bezier(0.45, 0, 0.2, 1) 300ms, stroke 2200ms var(--ease) 300ms; }
.picture[data-step="5"] .centre-dot { opacity: 0.2; transition: opacity 2000ms var(--ease) 600ms; }
@media (max-width: 1199px) {
  .picture .arc { opacity: 1 !important; stroke: var(--fig-line) !important; }
  .picture .lens-label { opacity: 1 !important; }
  .picture .seg { transform: none !important; opacity: 1 !important; }
  .picture .sum { opacity: 0 !important; }
}

/* ---------- 02 The role: the dotted ring from chapter 01 is drawn in ---------- */
.assembled svg { max-width: 480px; }
.assembled .whole { fill: none; stroke: var(--fig-line); stroke-width: 1; stroke-dasharray: 2 7; opacity: 0.55; transition: opacity 1600ms var(--ease) 2400ms; }
.assembled .solid { fill: none; stroke: var(--fig-line); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2800ms cubic-bezier(0.45, 0, 0.2, 1) 400ms; }
.assembled .arc { fill: none; stroke: var(--fig-accent); stroke-width: 2.5; stroke-linecap: round; opacity: 0; transition: opacity 1400ms var(--ease); }
.assembled .arc.l1 { transition-delay: 3000ms; } .assembled .arc.l2 { transition-delay: 3300ms; } .assembled .arc.l3 { transition-delay: 3600ms; }
.assembled .inner { fill: none; stroke: var(--fig-soft); stroke-width: 1; opacity: 0; transition: opacity 1600ms var(--ease) 3800ms; }
.assembled .centre-dot { fill: var(--fig-accent); opacity: 0; transform-origin: center; transform: scale(0.4); transition: opacity 1200ms var(--ease) 4000ms, transform 1600ms var(--ease-out) 4000ms; }
.assembled.is-visible .solid { stroke-dashoffset: 0; }
.assembled.is-visible .whole { opacity: 0; }
.assembled.is-visible .arc { opacity: 1; }
.assembled.is-visible .inner { opacity: 1; }
.assembled.is-visible .centre-dot { opacity: 1; transform: none; }

/* ---------- 03 The boundary: framed statement ---------- */
.framed { position: relative; padding: clamp(40px, 5vw, 80px); max-width: 980px; }
.framed svg.frame-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.framed svg.frame-lines rect { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3200ms var(--ease-out); vector-effect: non-scaling-stroke; }
.framed.is-visible svg.frame-lines rect { stroke-dashoffset: 0; }
.framed .statement { max-width: 44ch; }
.framed .label { margin-bottom: 28px; display: block; }

/* ---------- 04 The model: rings ---------- */
.rings svg { max-width: 640px; }
.rail-item .label { letter-spacing: 0.32em; }
.rings .ring { fill: none; stroke-width: var(--stroke); }
.rings .ring.praxis { stroke: var(--fig-soft); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2200ms var(--ease-out); }
.rings .ring.main { stroke: var(--fig-line); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2200ms var(--ease-out); }
.rings .ring.ext { stroke: var(--fig-accent); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--ease-out) 900ms; }
.rings .link { stroke: var(--fig-accent); stroke-width: var(--stroke); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1000ms var(--ease-out) 1600ms; }
.rings text { opacity: 0; transition: opacity 800ms var(--ease) 1100ms; }
.rings text.main-text { fill: var(--fig-line); }
.rings text.ext-text { transition-delay: 1900ms; }
.rings.is-visible .ring.praxis, .rings.is-visible .ring.main, .rings.is-visible .ring.ext, .rings.is-visible .link { stroke-dashoffset: 0; }
.rings.is-visible .ring.main { transition-delay: 500ms; }
.rings.is-visible text { opacity: 1; }

/* ---------- 05 What we do: ledger ---------- */
.ledger-count { font-size: clamp(72px, 7vw, 120px); font-weight: 300; color: var(--fg); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 14px; }
.ledger-count small { font-size: var(--fs-small); color: var(--fg-soft); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.ledger-bar { height: 1px; background: var(--hairline); position: relative; overflow: hidden; max-width: 280px; }
.ledger-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 150ms linear; }
.ledger-group { display: grid; }
.ledger-group header { display: grid; gap: 8px; padding-bottom: 24px; }
.ledger-row { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--hairline); }
.ledger-row:last-child { border-bottom: 1px solid var(--hairline); }
.ledger-row .num { font-size: var(--fs-section); font-weight: 300; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ledger-row span:last-child { font-size: var(--fs-body); color: var(--fg); }
.light .ledger-row span:last-child { color: var(--gr-ink); }
.ledger-row.reveal { transform: translateX(14px); }

/* rhythm: four columns on a hairline */
.rhythm-track { position: relative; height: 1px; background: var(--hairline); margin: 0 0 40px; }
.rhythm-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 150ms linear; }
.rhythm-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.rhythm-item { position: relative; display: grid; gap: 12px; }
.rhythm-item::before { content: ''; position: absolute; left: 0; top: -45px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); transition: background 600ms var(--ease); }
.rhythm-item.is-visible::before { background: var(--accent); }
.rhythm-item h3 { font-size: var(--fs-section); font-weight: 300; line-height: 1.1; letter-spacing: -0.016em; color: var(--fg); }
.rhythm-item .body { max-width: 26ch; }
@media (max-width: 719px) { .rhythm-items { grid-template-columns: 1fr; gap: 36px; } .rhythm-track { display: none; } .rhythm-item { padding-left: 28px; } .rhythm-item::before { top: 12px; } }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gap); }
@media (max-width: 719px) { .pair { grid-template-columns: 1fr; } }
.pair > div { display: grid; gap: 20px; align-content: start; padding-top: 32px; border-top: 1px solid var(--hairline); }
.pair .body { max-width: 50ch; }

/* ---------- 05 About: three panels ---------- */
.chapter-head-wide { display: grid; gap: 28px; margin-bottom: 96px; max-width: 1100px; }
.chapter-head-wide .page-heading { max-width: 14ch; }
.triptych { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--hairline); }
.triptych .panel { display: grid; gap: 20px; align-content: start; padding: 48px 48px 56px 0; position: relative; }
.triptych .panel + .panel { padding-left: 48px; border-left: 1px solid var(--hairline); }
.triptych .panel::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--accent); transition: width 1600ms var(--ease-out) 300ms; }
.triptych .panel + .panel::before { left: 48px; }
.triptych .panel.is-visible::before { width: 56px; }
.triptych .panel .section-heading { min-height: 2.2em; }
.triptych .panel .body { max-width: 34ch; }
@media (max-width: 1199px) {
  .triptych { grid-template-columns: 1fr; }
  .triptych .panel, .triptych .panel + .panel { padding: 40px 0; border-left: 0; border-top: 1px solid var(--hairline); }
  .triptych .panel + .panel::before { left: 0; }
  .triptych .panel .section-heading { min-height: 0; }
  .triptych .panel .body { max-width: 56ch; }
}

/* ---------- 06 How it works: orbit ---------- */
.orbit svg { max-width: 600px; }
.orbit .ring { fill: none; stroke: var(--fig-soft); stroke-width: var(--stroke); }
.orbit .gerant-ring { fill: none; stroke: var(--fig-accent); stroke-width: var(--stroke); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2600ms var(--ease-out) 700ms; }
.orbit .spoke { stroke: var(--fig-soft); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1000ms var(--ease-out); }
.orbit .node { fill: var(--fig-fill); stroke: var(--fig-soft); stroke-width: var(--stroke); opacity: 0; transform-origin: center; transform: scale(0.7); transition: opacity 700ms var(--ease), transform 1000ms var(--ease-out); }
.orbit .node-text { fill: var(--fig-line); text-anchor: middle; opacity: 0; transition: opacity 700ms var(--ease) 300ms; letter-spacing: 0.06em; }
.orbit .centre { fill: var(--gr-offwhite); opacity: 0; transition: opacity 800ms var(--ease); }
.orbit .centre-text { fill: var(--gr-navy); text-anchor: middle; opacity: 0; transition: opacity 700ms var(--ease) 300ms; }
.orbit .ring-label { text-anchor: middle; text-transform: none; letter-spacing: 0.04em; font-size: 17px; opacity: 0; transition: opacity 800ms var(--ease) 2800ms; }
.orbit.is-visible .centre, .orbit.is-visible .centre-text, .orbit.is-visible .node-text, .orbit.is-visible .ring-label { opacity: 1; }
.orbit.is-visible .node { opacity: 1; transform: none; }
.orbit.is-visible .spoke, .orbit.is-visible .gerant-ring { stroke-dashoffset: 0; }
.orbit.is-visible .n2, .orbit.is-visible .s2 { transition-delay: 180ms; } .orbit.is-visible .n3, .orbit.is-visible .s3 { transition-delay: 360ms; }
.orbit.is-visible .n4, .orbit.is-visible .s4 { transition-delay: 540ms; } .orbit.is-visible .n5, .orbit.is-visible .s5 { transition-delay: 720ms; }
.orbit.is-visible .node-text.n2 { transition-delay: 480ms; } .orbit.is-visible .node-text.n3 { transition-delay: 660ms; }
.orbit.is-visible .node-text.n4 { transition-delay: 840ms; } .orbit.is-visible .node-text.n5 { transition-delay: 1020ms; }

/* ---------- 06 Contact: three lines on a hairline ---------- */
.contact .chapter-head-wide { margin-bottom: 112px; }
.contact-lines .panel { gap: 16px; }
.contact-value { display: block; font-size: var(--fs-statement); font-weight: 300; line-height: 1.3; letter-spacing: -0.012em; color: var(--gr-offwhite); font-style: normal; text-decoration: none; position: relative; width: fit-content; transition: color 400ms var(--ease); }
a.contact-value::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); }
a.contact-value:hover { color: var(--gr-blue-light); text-decoration: none; }
a.contact-value:hover::after { transform: scaleX(1); }
.contact-lines .note { color: var(--fg-soft); }
@media (max-width: 719px) { .contact-value { font-size: 22px; word-break: break-word; } .contact .chapter-head-wide { margin-bottom: 64px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--gr-navy-deep); color: var(--gr-offwhite); padding: 40px 0 56px; overflow: hidden; }
.site-footer > .wrap { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px var(--gap); align-items: center; }
@media (max-width: 719px) { .footer-grid { grid-template-columns: 1fr; align-items: start; } }
.site-footer img { width: 148px; height: auto; }
.footer-meta { display: grid; gap: 8px; margin-top: 32px; font-size: var(--fs-small); color: var(--off-60); }
.site-footer a { color: var(--off-60); transition: color 300ms var(--ease); }
.site-footer a:hover { color: var(--gr-offwhite); text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; }
.footer-line { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--off-14); font-size: var(--fs-small); color: var(--off-60); max-width: 90ch; }

/* ---------- Chapter indicator ---------- */
.chapter-dots { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 16px; }
.chapter-dots a { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--gr-offwhite); opacity: 0.3; transition: opacity 500ms var(--ease), transform 500ms var(--ease-out), background 500ms var(--ease); }
.chapter-dots a:hover, .chapter-dots a.current { opacity: 1; transform: scale(1.6); background: var(--gr-blue-light); }
.chapter-dots.on-light a { background: var(--gr-navy); opacity: 0.25; }
.chapter-dots.on-light a.current, .chapter-dots.on-light a:hover { background: var(--gr-blue); opacity: 1; }
@media (max-width: 1199px) { .chapter-dots { display: none; } }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out), filter var(--dur) var(--ease); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.reveal-rule { transform: scaleX(0); transform-origin: left; transition: transform 1400ms var(--ease-out) 200ms; }
.reveal-rule.is-visible { transform: scaleX(1); }
.reveal-words .w { display: inline-block; opacity: 0; transform: translateY(0.35em); filter: blur(4px); transition: opacity 900ms var(--ease), transform 1000ms var(--ease-out), filter 900ms var(--ease); transition-delay: calc(var(--w) * 36ms); }
.reveal-words.is-visible .w { opacity: 1; transform: none; filter: none; }

/* ---------- Legal pages ---------- */
.legal-main { position: relative; padding: calc(var(--header-h) + 112px) 0 160px; background: var(--grad-navy-deep); color: var(--gr-offwhite); min-height: 80svh; }
.legal-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px var(--gap); align-items: start; }
.legal-head { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 24px; }
.legal-head .page-heading { max-width: 10ch; }
.legal-body { display: grid; gap: 0; max-width: 820px; }
.legal-body section { display: grid; gap: 16px; padding: 40px 0; border-top: 1px solid var(--off-14); }
.legal-body section:first-child { border-top: 0; padding-top: 0; }
.legal-h { font-size: var(--fs-statement); font-weight: 300; line-height: 1.2; letter-spacing: -0.012em; color: var(--gr-offwhite); margin-bottom: 4px; }
.legal-body p { font-size: var(--fs-body); line-height: 1.65; color: var(--off-80); max-width: 64ch; }
.legal-body a { color: var(--gr-blue-light); }
.legal-body a:hover { text-decoration: underline; }
.legal-facts { margin: 8px 0 0; display: grid; }
.legal-facts > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px var(--gap); padding: 16px 0; border-top: 1px solid var(--off-14); }
.legal-facts > div:last-child { border-bottom: 0; }
.legal-facts dt { font-size: var(--fs-small); color: var(--off-60); }
.legal-facts dd { margin: 0; font-size: var(--fs-body); color: var(--gr-offwhite); line-height: 1.5; }
@media (max-width: 1199px) { .legal-wrap { grid-template-columns: 1fr; gap: 56px; } .legal-head { position: static; } }
@media (max-width: 719px) { .legal-facts > div { grid-template-columns: 1fr; } }

/* ---------- Small screens ---------- */
@media (max-width: 719px) {
  .figure text { font-size: 24px; }
  .orbit .node-text, .orbit .ring-label { display: none; }
  .picture .lens-label { display: none; }
  .watermark { font-size: 140px; top: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none !important; }
  .hero .seq, .skyline.seq, .reveal, .reveal-rule, .reveal-words .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .step .statement, .step .body { opacity: 1 !important; }
  .assembled .inner, .assembled .centre-dot, .orbit .node, .orbit .node-text, .orbit .centre, .orbit .centre-text, .orbit .ring-label, .rings text { opacity: 1 !important; transform: none !important; }
  .rings .ring, .rings .link, .orbit .spoke, .orbit .gerant-ring, .framed svg.frame-lines rect { stroke-dashoffset: 0 !important; }
  .picture .arc, .picture .lens-label { opacity: 1 !important; }
  .assembled .solid { stroke-dashoffset: 0 !important; }
  .assembled .whole { opacity: 0 !important; }
  .assembled .arc { opacity: 1 !important; }
  .rail::after, .ledger-bar i, .rhythm-track i { --p: 1; }
  .skyline, .watermark { transform: none !important; }
}


/* ================= Option 2 overrides ================= */
/* One flat navy everywhere: no gradients, glows, vignettes or seams */
:root { --page-blue: var(--gr-navy-deep); }
html, body { background: var(--page-blue); }
.hero, .chapter, .chapter.dark, .chapter.dark.alt, .site-footer, .legal-main, .intro { background: var(--page-blue) !important; }
.hero-light, .hero-vignette, .hero-glow { display: none !important; }
.chapter.dark::after, .chapter.dark.alt::after { display: none !important; }
.chapter.dark + .chapter.dark, .chapter.light + .chapter.light, .site-footer { border-top: 0 !important; }
.site-header.condensed { background: rgba(0, 27, 63, 0.88); border-color: transparent; }

/* Circle figures are scrubbed by scroll in gerant.js: no time-based transitions on their parts */
.scrub .arc, .scrub .lens-label, .scrub .sum, .scrub .whole, .scrub .centre-dot, .scrub .gap-arc, .scrub .seg,
.scrub .solid, .scrub .inner { transition: none !important; animation: none !important; }
.picture.scrub .arc { stroke: var(--fig-line); }
.assembled .centre-dot { transform-box: fill-box; transform-origin: center; }

/* last sentence of chapter 01 holds on screen so the closing state is seen while the figure is still pinned */
@media (min-width: 1200px) { #gap-steps .step:last-child { min-height: 100svh; } }

/* ---------- 12-10-26: About fits one view on desktop ---------- */
@media (min-width: 1200px) {
  #about { padding: clamp(80px, 6vw, 100px) 0; }
  #about .chapter-head-wide { gap: 20px; margin-bottom: 56px; max-width: 1200px; }
  #about .chapter-head-wide .page-heading { font-size: clamp(40px, 3.4vw, 60px); max-width: 22ch; }
  #about .triptych .panel { padding: 32px 40px 36px 0; }
  #about .triptych .panel + .panel { padding-left: 40px; }
  #about .triptych .panel + .panel::before { left: 40px; }
  #about .triptych .panel .section-heading { min-height: 0; }
  #about .triptych .panel .body { max-width: 38ch; }
}
