/* ==========================================================================
   p33-cinematic.css — Project 2033 hub cinematic rebuild (2026-09-12)
   Two registers: the vault (deep ink + gold leaf) and the paper
   (warm cream + oxblood). Cormorant Garamond display, IBM Plex body.
   ========================================================================== */

/* ---------- self-hosted OFL fonts (zero third-party font requests) ---------- */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700;
  font-display: swap; src: url("../fonts/CormorantGaramond-normal-300_700.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700;
  font-display: swap; src: url("../fonts/CormorantGaramond-italic-300_700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 300 700;
  font-display: swap; src: url("../fonts/IBMPlexSans-normal-300_700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: italic; font-weight: 300 700;
  font-display: swap; src: url("../fonts/IBMPlexSans-italic-300_700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("../fonts/IBMPlexMono-normal-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("../fonts/IBMPlexMono-normal-500.woff2") format("woff2");
}

:root {
  --p33-ink: #050609;
  --p33-ink-2: #0D0E12;
  --p33-paper: #F4EEE2;
  --p33-paper-2: #EBE3D1;
  --p33-gold: #C9A24A;
  --p33-gold-hi: #E9D3A0;
  --p33-gold-deep: #8A6D2B;
  --p33-red: #A5231B;
  --p33-sage: #284D42;
  --p33-fog: #9AA1B4;
  --p33-muted: #6B6457;
  --p33-display: "Cormorant Garamond", Garamond, Georgia, serif;
  --p33-sans: "IBM Plex Sans", system-ui, sans-serif;
  --p33-mono: "IBM Plex Mono", ui-monospace, monospace;
  --p33-wrap: 1440px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--p33-ink);
  background: var(--p33-paper);
  font-family: var(--p33-sans);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; }

/* Skip link */
.p33-skip {
  position: fixed; left: 12px; top: 12px; z-index: 60;
  transform: translateY(-200%);
  padding: 10px 14px; background: var(--p33-ink); color: #fff;
  font: 500 12px/1 var(--p33-mono); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
}
.p33-skip:focus { transform: none; }

/* ---------- film grain (static, one fixed overlay) ---------- */
.p33-grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}
.p33-grain--dark { mix-blend-mode: overlay; }
.p33-grain--light { mix-blend-mode: multiply; }

/* SplitText masked line reveals (GSAP path; no-JS/reduced-motion unaffected) */
.p33-split-line { display: block; overflow: hidden; }

/* ---------- shared ornament ---------- */
.p33-kicker {  display: block;
  font: 500 11px/1.6 var(--p33-mono);
  letter-spacing: .3em; text-transform: uppercase;
}
.p33-vault .p33-kicker { color: var(--p33-gold); }
.p33-paper-sec .p33-kicker { color: var(--p33-red); }

.p33-rule-gold {
  border: 0; height: 1px;
  background: rgba(201, 162, 74, .4);
  margin: 0;
}
.p33-orn-rule {
  display: flex; align-items: center; gap: 14px; margin: 0;
}
.p33-orn-rule::before, .p33-orn-rule::after {
  content: ""; flex: 1 1 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,74,.65));
}
.p33-orn-rule::after { background: linear-gradient(90deg, rgba(201,162,74,.65), transparent); }
.p33-orn-rule > span {
  font-family: var(--p33-display); font-style: italic; font-size: 20px;
  color: var(--p33-gold);
}

/* watermark numeral */
.p33-pnum {
  position: absolute; top: -0.32em; left: -0.08em;
  font: 600 clamp(140px, 20vw, 300px)/1 var(--p33-display);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(165, 35, 27, .28);
  pointer-events: none; user-select: none;
}

/* glass panel (vault register only) */
.p33-glass {
  background: rgba(13, 14, 18, .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(233, 211, 160, .28);
  box-shadow: inset 0 0 0 1px rgba(5, 6, 9, .6);
}

/* reveal system */
html.js .p33-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.16, 1, .3, 1);
}
html.js .p33-reveal.in { opacity: 1; transform: none; }
/* tilt cards fade in but transform instantly (tilt is pointer-driven) */
html.js .p33-tilt.p33-reveal { transition: opacity .9s ease; }
html.js .p33-tilt.p33-reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   HERO — the compounding vault
   ========================================================================== */
.p33-hero {
  position: relative;
  min-height: min(920px, 108svh);
  display: flex; align-items: stretch;
  overflow: clip;
  color: var(--p33-paper);
  background:
    radial-gradient(1100px 620px at 72% 18%, rgba(201, 162, 74, .14), transparent 62%),
    radial-gradient(900px 700px at 82% 90%, rgba(138, 109, 43, .10), transparent 60%),
    linear-gradient(180deg, #050609 0%, #0D0E12 100%);
}
.p33-hero-canvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; display: block;
  pointer-events: none;
  opacity: 0; transition: opacity 1.6s ease;
}
html.p33-live .p33-hero-canvas.in { opacity: 1; }
.p33-ring-static {
  position: absolute; z-index: 1; pointer-events: none;
  right: -6vw; top: 50%; width: min(64vw, 640px); height: auto;
  transform: translateY(-50%);
  opacity: .5;
}
html.p33-live .p33-ring-static { display: none; }
.p33-hero::after { /* vignette */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5, 6, 9, .72) 100%);
}
.p33-hero-inner {
  position: relative; z-index: 2;
  width: min(var(--p33-wrap), 100%); margin: 0 auto;
  padding: clamp(120px, 16vh, 190px) clamp(20px, 4vw, 56px) clamp(140px, 20vh, 220px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
.p33-hero-copy { max-width: 640px; }
.p33-hero-kicker {
  font: 500 11px/1.8 var(--p33-mono); letter-spacing: .3em; text-transform: uppercase;
  color: var(--p33-gold);
}
.p33-hero h1 {
  margin: 26px 0 24px;
  font: 500 clamp(56px, 9.2vw, 148px)/.98 var(--p33-display);
  letter-spacing: -.035em;
  color: var(--p33-paper);
  font-variation-settings: "wght" 500; /* animated by GSAP weight swell */
}
.p33-hero h1 .p33-h1-mask { display: block; overflow: hidden; }
.p33-hero h1 .p33-h1-line { display: block; }
.p33-hero h1 em { color: var(--p33-gold-hi); font-weight: 600; }
.p33-hero-deck {
  max-width: 560px; margin: 0;
  font: 400 clamp(18px, 2vw, 26px)/1.42 var(--p33-display);
  color: var(--p33-fog);
}

/* staged entrance */
html.p33-cine .p33-hero-kicker,
html.p33-cine .p33-hero-deck,
html.p33-cine .p33-h1-line,
html.p33-cine .p33-hero-panel {
  opacity: 0;
}
html.p33-cine .p33-h1-line { transform: translateY(110%); }
html.p33-cine .p33-hero-kicker,
html.p33-cine .p33-hero-deck { transform: translateY(18px); }
html.p33-cine .p33-hero-panel { transform: translateY(24px); }
html.p33-cine-go .p33-hero-kicker,
html.p33-cine-go .p33-hero-deck,
html.p33-cine-go .p33-hero-panel,
html.p33-cine-go .p33-h1-line {
  opacity: 1; transform: none;
  transition: opacity 1s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
html.p33-cine-go .p33-hero-kicker { transition-delay: .05s; }
html.p33-cine-go .p33-h1-mask:nth-child(1) .p33-h1-line { transition-delay: .15s; }
html.p33-cine-go .p33-h1-mask:nth-child(2) .p33-h1-line { transition-delay: .27s; }
html.p33-cine-go .p33-hero-deck { transition-delay: .45s; }
html.p33-cine-go .p33-hero-panel { transition-delay: .65s; }

/* glass horizon panel overlapping the hero bottom edge */
.p33-hero-panel {
  justify-self: end; align-self: end;
  margin-bottom: calc(-1 * clamp(140px, 20vh, 220px) + 44px);
  max-width: 480px; padding: clamp(26px, 3vw, 40px);
  color: var(--p33-paper);
}
.p33-hero-panel h2 {
  margin: 0 0 12px;
  font: italic 500 clamp(26px, 2.6vw, 38px)/1.1 var(--p33-display);
  color: var(--p33-gold-hi);
}
.p33-hero-panel p { margin: 0 0 24px; color: var(--p33-fog); font-size: 16px; max-width: 38ch; }
.p33-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.p33-hero-actions .e5-gilt,
.p33-hero-actions .e5-gilt-line {
  padding: 12px 18px; text-decoration: none;
  font-size: 10px !important;
}

/* ==========================================================================
   HORIZON BAND (paper)
   ========================================================================== */
.p33-horizon {
  position: relative;
  background: var(--p33-paper);
  padding: clamp(110px, 14vh, 170px) clamp(20px, 4vw, 56px) clamp(70px, 9vh, 110px);
}
.p33-horizon-inner { max-width: var(--p33-wrap); margin: 0 auto; }
.p33-horizon-quote {
  margin: 0 0 0 8%;
  font: italic 500 clamp(34px, 4.6vw, 72px)/1.08 var(--p33-display);
  letter-spacing: -.02em; color: var(--p33-ink);
  max-width: 14ch;
}
.p33-horizon-rule { width: 120px; margin: 30px 0 26px 8%; }
.p33-horizon-deck {
  margin: 0 0 0 auto; margin-right: 6%;
  max-width: 480px; font-size: 17px; color: var(--p33-muted);
}

/* ==========================================================================
   PAPER SECTIONS — shared scaffold
   ========================================================================== */
.p33-paper-sec {
  position: relative;
  background: var(--p33-paper);
  padding: clamp(84px, 11vh, 150px) clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(17, 17, 15, .12);
}
.p33-sec-inner {
  position: relative;
  max-width: var(--p33-wrap); margin: 0 auto;
  display: grid; grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
}
.p33-rail { position: relative; }
.p33-rail-inner { position: sticky; top: 96px; }
.p33-lede {
  margin: 0 0 clamp(36px, 5vh, 60px); max-width: 900px;
  font: 500 clamp(30px, 4vw, 58px)/1.06 var(--p33-display);
  letter-spacing: -.022em; color: var(--p33-ink);
}
.p33-lede em { color: var(--p33-red); font-style: italic; font-weight: 600; }
.p33-prose { max-width: 640px; font-size: 18px; color: #2a2721; }
.p33-prose p { margin: 0 0 1.25em; }
.p33-prose p:last-child { margin-bottom: 0; }

/* ---------- 01 · the claim ---------- */
.p33-monument {
  position: relative; margin: clamp(60px, 8vh, 100px) calc(-1 * clamp(20px, 4vw, 56px)) 0;
  background: var(--p33-red); color: var(--p33-paper);
  padding: clamp(56px, 8vh, 100px) clamp(20px, 4vw, 56px);
  overflow: hidden;
}
.p33-monument-rules {
  position: absolute; inset: -40px 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(233, 211, 160, .10) 0 1px, transparent 1px 120px);
  will-change: transform;
}
.p33-monument blockquote {
  position: relative; max-width: 980px; margin: 0 auto;
  font: italic 500 clamp(28px, 3.6vw, 54px)/1.14 var(--p33-display);
  color: var(--p33-paper);
}

/* ==========================================================================
   VAULT SECTIONS — 02 the record + the debt ledger
   ========================================================================== */
.p33-vault {
  position: relative;
  background: linear-gradient(180deg, #050609 0%, #0B0C10 60%, #050609 100%);
  color: var(--p33-paper);
  padding: clamp(84px, 11vh, 150px) clamp(20px, 4vw, 56px);
  overflow: clip;
}
.p33-vault-inner { position: relative; z-index: 2; max-width: var(--p33-wrap); margin: 0 auto; }
.p33-vault .p33-lede { color: var(--p33-paper); }
.p33-vault .p33-lede em { color: var(--p33-gold-hi); font-style: italic; }
.p33-vault .p33-prose { color: var(--p33-fog); }

/* counter band — staggered, not gridded */
.p33-counters {
  list-style: none; margin: clamp(48px, 7vh, 84px) 0 0; padding: 0;
}
.p33-counter { margin: 0 0 clamp(30px, 4vh, 48px); }
.p33-counter:nth-child(1) { margin-left: 0; }
.p33-counter:nth-child(2) { margin-left: clamp(60px, 9vw, 140px); }
.p33-counter:nth-child(3) { margin-left: clamp(120px, 18vw, 280px); }
.p33-counter-value {
  display: block;
  font: 500 clamp(48px, 6vw, 96px)/1 var(--p33-display);
  letter-spacing: -.02em; color: var(--p33-gold-hi);
  font-variant-numeric: tabular-nums;
}
.p33-counter-label {
  display: block; margin-top: 10px; max-width: 300px;
  font-size: 14px; color: var(--p33-fog);
}

/* quartet cascade — glass ledger staircase */
.p33-quartet { margin-top: clamp(48px, 7vh, 80px); }
.p33-qcard {
  position: relative; max-width: 560px;
  padding: clamp(24px, 3vw, 38px);
  margin-bottom: clamp(18px, 3vh, 32px);
  border-top: 1px solid rgba(201, 162, 74, .55);
  transform-style: preserve-3d;
  will-change: transform;
}
.p33-qcard:nth-child(1) { margin-left: 0; }
.p33-qcard:nth-child(2) { margin-left: clamp(40px, 12%, 180px); margin-top: -24px; }
.p33-qcard:nth-child(3) { margin-left: clamp(20px, 6%, 100px); }
.p33-qcard:nth-child(4) { margin-left: clamp(60px, 18%, 260px); margin-top: -24px; }
.p33-qcard .p33-ico { color: var(--p33-gold); margin-bottom: 16px; }
.p33-qcard .p33-ico svg { width: 52px; height: 52px; display: block; }
.p33-qcard .p33-kicker { color: var(--p33-gold); margin-bottom: 10px; }
.p33-qcard h3 {
  margin: 0 0 10px;
  font: 600 clamp(24px, 2.6vw, 36px)/1.1 var(--p33-display);
  color: var(--p33-paper);
}
.p33-qcard p { margin: 0; color: var(--p33-fog); font-size: 16px; max-width: 46ch; }

/* ---------- the debt, documented ---------- */
.p33-debt { padding-top: clamp(60px, 8vh, 110px); }
.p33-debt-head h2 {
  margin: 18px 0 14px;
  font: 500 clamp(40px, 5.2vw, 84px)/1.02 var(--p33-display);
  letter-spacing: -.02em; color: var(--p33-gold-hi);
}
.p33-debt-sub { margin: 0; max-width: 720px; color: var(--p33-fog); font-size: 17px; }
.p33-ledger { margin: clamp(44px, 6vh, 72px) 0 0; padding: 0; list-style: none; }
.p33-ledger-row {
  display: grid; grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px); align-items: center;
  padding: clamp(26px, 4vh, 44px) 0;
  border-top: 1px solid rgba(201, 162, 74, .4);
}
.p33-ledger-row:last-child { border-bottom: 1px solid rgba(201, 162, 74, .4); }
/* debt-ledger markers: bespoke gold line-work, draw-on */
.p33-ico--debt { color: var(--p33-gold); align-self: center; }
.p33-ico--debt svg { width: 52px; height: 52px; display: block; }
.p33-ledger-amount {
  margin: 0;
  font: 500 clamp(40px, 5.4vw, 84px)/1.04 var(--p33-display);
  letter-spacing: -.02em; color: var(--p33-gold-hi);
}
.p33-ledger-amount .p33-shimmer {
  background: linear-gradient(110deg, #8A6D2B 0%, var(--p33-gold-hi) 30%, #FFF6DC 50%, var(--p33-gold-hi) 70%, #8A6D2B 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
html.js .p33-reveal.in .p33-shimmer { animation: p33-shimmer 6s ease-in-out infinite; }
@keyframes p33-shimmer {
  0% { background-position: 110% 0; }
  55%, 100% { background-position: -110% 0; }
}
.p33-ledger-prov { margin: 0; color: var(--p33-fog); font-size: 16px; max-width: 640px; }
.p33-ledger-prov em { color: var(--p33-gold-hi); }
.p33-debt-note { margin: clamp(30px, 4vh, 46px) 0 0; max-width: 760px; font-size: 17px; color: var(--p33-fog); }
.p33-debt-note strong { color: var(--p33-paper); font-weight: 600; }
.p33-advocacy-note {
  margin: 34px 0 0; max-width: 720px;
  font-size: 13px; color: var(--p33-fog); opacity: .85;
}

/* ==========================================================================
   03 · THE ARCHITECTURE
   ========================================================================== */
.p33-ladder { margin: 0; padding: 0; list-style: none; counter-reset: p33-step; }
.p33-step {
  counter-increment: p33-step;
  display: grid; grid-template-columns: 96px 64px minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px); align-items: center;
  padding: clamp(26px, 4vh, 42px) 0;
  border-top: 1px solid rgba(17, 17, 15, .25);
}
.p33-step:last-child { border-bottom: 1px solid rgba(17, 17, 15, .25); }
/* architecture rung icons: burnished gold line-work on paper */
.p33-ico--arch { color: var(--p33-gold-deep); align-self: center; }
.p33-ico--arch svg { width: 56px; height: 56px; display: block; }
.p33-step-num {
  font: 600 clamp(34px, 3.4vw, 52px)/1 var(--p33-display);
  color: transparent; -webkit-text-stroke: 1.5px var(--p33-red);
}
.p33-step h3 {
  margin: 0 0 8px;
  font: 600 clamp(24px, 2.8vw, 38px)/1.08 var(--p33-display);
  color: var(--p33-ink);
}
.p33-step p { margin: 0; max-width: 700px; color: var(--p33-muted); font-size: 17px; }
.p33-step:nth-child(odd) { margin-right: clamp(0px, 9vw, 180px); }
.p33-step:nth-child(even) { margin-left: clamp(0px, 9vw, 180px); }

/* trust in perpetuity — dark vault card pulled outside the column */
.p33-trust {
  position: relative;
  margin: clamp(56px, 8vh, 96px) calc(-1 * clamp(0px, 8vw, 120px)) 0 0;
  background: var(--p33-ink-2);
  border: 1px solid var(--p33-gold);
  color: var(--p33-paper);
  padding: clamp(36px, 5vw, 72px);
  transform-style: preserve-3d;
  will-change: transform;
}
.p33-trust::before { /* inner hairline offset */
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(233, 211, 160, .22); pointer-events: none;
}
.p33-trust h3 {
  margin: 0 0 20px;
  font: 500 clamp(34px, 4.4vw, 64px)/1 var(--p33-display);
  color: var(--p33-gold-hi); letter-spacing: -.02em;
}
.p33-trust p { margin: 0 0 1.1em; max-width: 640px; color: var(--p33-fog); font-size: 17px; }
.p33-trust-principle {
  margin: 34px 0 0; padding-top: 24px;
  border-top: 1px solid rgba(201, 162, 74, .4);
  font: italic 500 clamp(22px, 2.8vw, 36px)/1.2 var(--p33-display);
  color: var(--p33-gold-hi); max-width: 22ch;
}
.p33-trust .p33-kicker { color: var(--p33-gold); margin-bottom: 14px; }

/* ==========================================================================
   04 · THE PARITY PATH
   ========================================================================== */
.p33-cascade { position: relative; }
.p33-pcard {
  background: var(--p33-paper-2);
  border-top: 1px solid rgba(201, 162, 74, .6);
  padding: clamp(24px, 3vw, 38px);
  width: 46%; max-width: 560px;
}
.p33-pcard:nth-child(1) { margin-left: 0; }
.p33-pcard:nth-child(2) { margin: 112px 0 0 auto; }
.p33-pcard:nth-child(3) { margin-left: 0; margin-top: 20px; }
.p33-pcard:nth-child(4) { margin: 100px 0 0 auto; }
.p33-pcard .p33-ico { color: var(--p33-gold-deep); margin-bottom: 14px; }
.p33-pcard .p33-ico svg { width: 48px; height: 48px; display: block; }
.p33-pcard .p33-kicker { color: var(--p33-red); margin-bottom: 10px; }
.p33-pcard h3 {
  margin: 0 0 10px;
  font: 600 clamp(24px, 2.6vw, 36px)/1.1 var(--p33-display);
  color: var(--p33-ink);
}
.p33-pcard p { margin: 0; color: var(--p33-muted); font-size: 16px; }
.p33-parity-close { margin: clamp(190px, 22vh, 260px) auto 0; max-width: 880px; }
.p33-parity-close blockquote {
  margin: 22px 0;
  font: italic 500 clamp(26px, 3.4vw, 50px)/1.16 var(--p33-display);
  text-align: center; color: var(--p33-ink);
}

/* ==========================================================================
   05 · THE FIVE-QUESTION TEST
   ========================================================================== */
.p33-qprogress {
  height: 1px; background: rgba(17, 17, 15, .18);
  margin-bottom: clamp(28px, 4vh, 44px);
}
.p33-qprogress-bar {
  display: block; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--p33-gold), var(--p33-gold-deep));
  transition: width .5s ease;
}
.p33-faq { margin: 0; padding: 0; list-style: none; }
.p33-faq details { border-top: 1px solid rgba(17, 17, 15, .25); }
.p33-faq details:last-child { border-bottom: 1px solid rgba(17, 17, 15, .25); }
.p33-faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 40px;
  gap: clamp(12px, 2vw, 24px); align-items: center;
  padding: clamp(20px, 3vh, 32px) 0;
}
.p33-faq summary::-webkit-details-marker { display: none; }
.p33-faq summary::marker { content: ""; }
.p33-faq-num {
  font: 500 13px/1 var(--p33-mono); letter-spacing: .2em;
  color: var(--p33-gold-deep);
}
.p33-faq-q {
  font: 500 clamp(24px, 3vw, 40px)/1.08 var(--p33-display);
  color: var(--p33-ink); letter-spacing: -.015em;
}
.p33-faq-mark {
  justify-self: end;
  width: 34px; height: 34px; border: 1px solid rgba(201, 162, 74, .6); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--p33-gold-deep);
  transition: transform .35s ease;
}
.p33-faq-mark::before { content: "+"; font: 400 22px/1 var(--p33-sans); }
.p33-faq details[open] .p33-faq-mark { transform: rotate(45deg); }
.p33-faq-answer { padding: 0 0 clamp(22px, 3vh, 34px) 72px; }
.p33-faq-answer p { margin: 0; max-width: 700px; font-size: 18px; color: var(--p33-muted); }
.p33-faq summary:focus-visible { outline: 2px solid var(--p33-gold-deep); outline-offset: 4px; }

/* ==========================================================================
   06 · THE WIDER WORK
   ========================================================================== */
.p33-programs {
  background: linear-gradient(180deg, var(--p33-paper) 76%, #0B0C10 76.1%, #050609 100%);
}
.p33-prog-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 36px); align-items: start;
}
.p33-prog-col { display: grid; gap: clamp(18px, 3vw, 36px); }
.p33-prog-col--right { margin-top: 64px; }
.p33-prog {
  display: block; text-decoration: none;
  background: var(--p33-paper-2);
  border: 1px solid rgba(17, 17, 15, .14);
  border-top: 1px solid rgba(201, 162, 74, .6);
  padding: clamp(24px, 3vw, 38px);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s ease, border-color .45s ease;
}
.p33-prog:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 74, .85);
  box-shadow: 0 24px 60px -24px rgba(5, 6, 9, .35), 0 0 0 1px rgba(201, 162, 74, .5);
}
.p33-prog .p33-kicker { color: var(--p33-red); margin-bottom: 12px; }
.p33-prog h3 {
  margin: 0 0 10px;
  font: 600 clamp(24px, 2.6vw, 34px)/1.1 var(--p33-display);
  color: var(--p33-ink);
}
.p33-prog p { margin: 0; color: var(--p33-muted); font-size: 16px; }
.p33-fence {
  margin: clamp(40px, 6vh, 64px) 0 0; max-width: 780px;
  font-size: 13px; color: var(--p33-fog); opacity: .85;
}

/* ==========================================================================
   CTA (vault)
   ========================================================================== */
.p33-cta {
  position: relative;
  background: linear-gradient(180deg, #050609, #0D0E12);
  color: var(--p33-paper);
  padding: clamp(90px, 13vh, 180px) clamp(20px, 4vw, 56px);
  text-align: center;
  overflow: clip;
}
.p33-cta-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; }
.p33-cta .p33-kicker { color: var(--p33-gold); margin-bottom: 22px; }
.p33-cta h2 {
  margin: 0;
  font: 500 clamp(48px, 8vw, 120px)/1 var(--p33-display);
  letter-spacing: -.03em; color: var(--p33-paper);
}
.p33-cta h2 em { color: var(--p33-gold-hi); font-weight: 600; }
.p33-cta-deck { margin: 30px auto 0; max-width: 700px; font-size: 19px; color: var(--p33-fog); }
.p33-cta-actions {
  margin-top: 44px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.p33-cta-actions .e5-gilt,
.p33-cta-actions .e5-gilt-line {
  padding: 14px 22px; text-decoration: none; cursor: pointer;
  font-size: 10px !important;
}
.p33-cta-actions .e5-gilt-line { background: transparent; }
.p33-copy-note {
  margin-top: 18px; min-height: 22px;
  font: 500 13px/1.6 var(--p33-mono); letter-spacing: .08em;
  color: var(--p33-gold-hi);
}

/* ---------- page foot ---------- */
.p33-foot {
  background: var(--p33-ink);
  color: var(--p33-fog);
  padding: 30px clamp(20px, 4vw, 56px);
  text-align: center;
  font: 400 11px/2 var(--p33-mono); letter-spacing: .22em; text-transform: uppercase;
}
.p33-foot strong { color: var(--p33-gold-hi); font-weight: 500; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ---------- page-scoped sovereign-chrome collapse (2026-09-12)
   The chrome's data-m="hide" / data-m="hidemd" markers are dead — no handler
   exists anywhere in the repo — so the desktop nav links and the top strip
   overflow horizontally on phones (390px). This page-scoped override collapses
   the header to the chrome's established hamburger (.e5-mnav, a <details>
   disclosure that needs no script) at phone/tablet widths. Scoped to this
   page only: no other page's chrome is affected. TODO: move the data-m
   handling into scripts/chrome/head.html and re-apply chrome site-wide. */
html, body { overflow-x: clip; } /* decorative bleed (ring, grain) never scrolls */
@media (max-width: 900px) {
  /* Desktop nav links yield to the hamburger; Give + hamburger remain. */
  .e5-nav > a[data-m="hide"] { display: none; }
  /* Top strip: drop the decorative "Est. MMXXIV · motto" span on small screens. */
  div[data-m="hide"] > span[data-m="hidemd"] { display: none !important; }
  /* Chrome bug: the panel is width:100vw + horizontal padding under content-box,
     so it spills ~40px off the left edge. Border-box keeps it truly full-width. */
  .e5-mnav-panel { box-sizing: border-box; }
}
@media (max-width: 640px) {
  /* Top strip: let the org/charity line wrap instead of clipping mid-word. */
  div[data-m="hide"] > span:first-child {
    flex-wrap: wrap; row-gap: 4px;
    white-space: normal !important; line-height: 1.8;
  }
}

@media (max-width: 900px) {
  .p33-sec-inner { grid-template-columns: 1fr; }
  .p33-rail-inner { position: static; display: flex; align-items: baseline; gap: 18px; }
  .p33-pnum { position: static; font-size: clamp(90px, 18vw, 140px); }
  .p33-hero-inner { grid-template-columns: 1fr; align-content: center; }
  .p33-hero-panel { justify-self: stretch; max-width: none; margin-bottom: 0; }
  .p33-ring-static { right: -20vw; opacity: .35; }
  .p33-qcard:nth-child(n) { margin-left: 0; margin-top: 0; }
  .p33-pcard { width: 100%; }
  .p33-pcard:nth-child(n) { margin: 0 0 18px; transform: none; }
  .p33-parity-close { margin-top: 60px; }
  .p33-step:nth-child(n) { margin-left: 0; margin-right: 0; }
  .p33-step { grid-template-columns: 64px minmax(0, 1fr); }
  .p33-trust { margin-right: 0; }
  .p33-ledger-row { grid-template-columns: 1fr; gap: 10px; }
  .p33-horizon-quote { margin-left: 0; }
  .p33-horizon-rule { margin-left: 0; }
  .p33-horizon-deck { margin-left: 0; margin-right: 0; }
  .p33-faq { }
  .p33-faq-answer { padding-left: 0; }
  .p33-faq summary { grid-template-columns: 52px minmax(0, 1fr) 36px; }
}
@media (max-width: 640px) {
  .p33-hero { min-height: auto; }
  .p33-hero-inner { padding-top: 110px; padding-bottom: 64px; }
  .p33-hero-actions .e5-gilt, .p33-hero-actions .e5-gilt-line { width: 100%; }
  .p33-prog-grid { grid-template-columns: 1fr; }
  .p33-prog-col--right { margin-top: 0; }
  .p33-monument { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .p33-cta-actions .e5-gilt, .p33-cta-actions .e5-gilt-line { width: 100%; }
  .p33-counter:nth-child(2) { margin-left: 40px; }
  .p33-counter:nth-child(3) { margin-left: 80px; }
  .p33-ledger-row { grid-template-columns: 44px minmax(0, 1fr); }
  .p33-ledger-row .p33-ledger-prov { grid-column: 1 / -1; }
  .p33-ico--debt svg { width: 40px; height: 40px; }
  .p33-step { grid-template-columns: 56px 48px minmax(0, 1fr); gap: 12px; }
  .p33-ico--arch svg { width: 44px; height: 44px; }
}

/* ==========================================================================
   REDUCED MOTION — everything still, everything visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .p33-reveal { opacity: 1; transform: none; transition: none; }
  .p33-hero-canvas { display: none; }
  .p33-hero .p33-ring-static { display: block; opacity: .5; transform: translateY(-50%); }
  html.p33-cine .p33-hero-kicker,
  html.p33-cine .p33-hero-deck,
  html.p33-cine .p33-h1-line,
  html.p33-cine .p33-hero-panel { opacity: 1; transform: none; transition: none; }
  html.p33-cine-go .p33-hero-kicker,
  html.p33-cine-go .p33-hero-deck,
  html.p33-cine-go .p33-h1-line,
  html.p33-cine-go .p33-hero-panel { transition: none; }
  .p33-shimmer { animation: none !important; }
  .p33-qprogress-bar { transition: none; }
  .p33-prog { transition: none; }
  .p33-prog:hover { transform: none; }
  .p33-faq-mark { transition: none; }
  .p33-qcard, .p33-trust { transform: none !important; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .p33-hero { min-height: auto; }
  .p33-hero-panel, .p33-cta-actions, .p33-hero-actions { display: none !important; }
  .p33-grain, .p33-hero-canvas, .p33-ring-static { display: none !important; }
  .p33-vault { background: #fff; color: #111; }
  .p33-vault .p33-lede, .p33-vault .p33-prose, .p33-vault .p33-counter-label,
  .p33-debt-sub, .p33-debt-note, .p33-ledger-prov { color: #111; }
  .p33-ledger-amount, .p33-counter-value, .p33-debt-head h2 { color: #111; }
  body { background: #fff; }
}
