/* ============================================================
   Saylor & Co. Leadership — "The Descent" v3
   Opens white/black/gold (sober). Glyphs begin to fall; the world
   walks paper → warm → fog → slate → dusk → ink across a long
   scroll. Green exists ONLY in the deep world (dusk/ink).
   GOLD owns money/trust surfaces in every world.
   Stack: GSAP ScrollTrigger (pin + scrub) + Lenis. Content
   materializes with the wheel; nothing self-times.
   ============================================================ */

:root {
  /* The six worlds of the descent */
  --paper: #f8f9fa;
  --warm:  #f1efe9;
  --fog:   #cfccc3;
  --slate: #2e3138;
  --dusk:  #17191d;
  --ink:   #0b0c0e;

  /* Text schemes (tuned to pass AA on their worst-case ground) */
  --ink-text:   #14161a;
  --ink-muted:  #4d5158;   /* worst case: fog — 4.9:1 */
  --text-dark:  #e8e6e1;
  --muted-dark: #ffffff;   /* TRUE white — Cyril 2026-08-03: "check everything for
                              gray text, which should be white text, if it's down
                              this low." Dark-world hierarchy = size/weight only.
                              (Cyril 2026-08-01); hierarchy carried by size,
                              weight and #fff strong, not by graying out */

  /* Constants across all worlds */
  --gold:      #d4af37;
  --gold-dark: #a8862c;    /* large text & hovers only — fails AA small */
  --gold-ink:  #7a621e;    /* gold's small-text voice on light grounds */
  --gold-soft: rgba(212,175,55,0.12);
  --green:     #2ee66b;   /* deep world only */
  --green-dim: #17915b;
  --line-dark: #23262d;

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  --maxw: 1080px;
  --measure: 58ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --bg: var(--paper); /* JS scrubs this along the descent */
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 6px; }

a { color: var(--gold-ink); text-decoration: none; }
a:hover { color: var(--ink-text); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; margin-inline: auto; }

/* ---------- Fixed rain canvas, behind everything ---------- */
#rain { position: fixed; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }
main { position: relative; z-index: 1; }

/* Falling single glyphs in the shift spacers */
.drop-stage { position: relative; overflow: hidden; }
.glyph {
  position: absolute; top: -8vh;
  font-family: var(--mono); font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--green-dim); opacity: .8; will-change: transform; user-select: none;
}

/* ---------- Type — headers dominate, body serves ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.1; margin: 0 0 .45em; }
.display { font-size: clamp(2.5rem, 4.6vw + .9rem, 4.4rem); letter-spacing: -0.012em; }
h2, .h-lg { font-size: clamp(1.85rem, 2.8vw + .6rem, 2.8rem); letter-spacing: -0.008em; }
.h-md     { font-size: clamp(1.6rem, 2.2vw + .5rem, 2.3rem); }
p { margin: 0 auto 1.15em; max-width: var(--measure); font-size: 1rem; }
.lead { font-size: clamp(1.1rem, .6vw + .95rem, 1.25rem); }
.quote { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.4vw + .5rem, 2.5rem); line-height: 1.3; max-width: 26ch; }

/* One axis: everything centers (sections AND the hero header) */
section, header.hero { position: relative; text-align: center; }
section .wrap > *, header.hero .wrap > * { margin-inline: auto; }

/* Preheads are SECTION HEADERS — they must read as labels above the
   content, not body text (Cyril 2026-08-01) */
.prehead {
  font-family: var(--mono); font-size: clamp(.95rem, .5vw + .8rem, 1.15rem);
  font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
  display: inline-block; margin: 0 0 2rem;
  color: var(--ink-text);
}
.prehead::after {
  content: ""; display: block; width: 44px; height: 2px;
  background: var(--gold); margin: .8rem auto 0;
}
/* Green preheads exist only in the DEEP world */
.depth .prehead { color: var(--green); }
.depth .prehead::before { content: "> "; color: var(--green-dim); }
.depth .prehead::after { background: var(--green-dim); }

/* ---------- Zones: who reads on what ---------- */
.zone-light { color: var(--ink-text); }
.zone-light .muted { color: var(--ink-muted); }
.zone-light strong { color: var(--ink-text); font-weight: 650; }
.zone-dark { color: var(--text-dark); }
/* inline links in the dark world: bright gold, not the light-ground gold-ink */
.zone-dark p a:not(.btn) { color: var(--gold); }
.zone-dark p a:not(.btn):hover { color: #fff; }
.zone-dark .muted { color: var(--muted-dark); }
.zone-dark .prehead { color: var(--text-dark); }
.zone-dark strong { color: #fff; font-weight: 600; }
.zone-dark.depth .prehead { color: var(--green); }

/* v6: NO per-scene backgrounds. A fixed body gradient (driven by JS) is the
   single ground — white at the top, black at the bottom, the sweep happening
   inside the empty descent spacer so text never sits on mid-gray. Scenes are
   transparent; zone-light/zone-dark only choose text colour. */

/* No-JS / reduced-motion fallback: sections paint their own worlds */
html.static-descent .zone-dark, html.no-js .zone-dark { background: var(--ink); }
html.static-descent .depth, html.no-js .depth { background: var(--ink); }
html.static-descent .shift, html.no-js .shift { background: linear-gradient(var(--paper), var(--ink)); }
html.static-descent .reveal, html.no-js .reveal,
html.static-descent .step, html.no-js .step { opacity: 1 !important; transform: none !important; }

/* ---------- Scenes & rhythm ---------- */
section { padding-block: 3rem; }
.scene { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.scene .wrap { width: 100%; }
.shift { padding: 0; height: 45vh; }
.shift-short { height: 32vh; }
/* the white→black sweep gets a full screen of runway to breathe */
.shift[data-shift="fog->slate"] { height: 100vh; }
@media (max-width: 900px) {
  .scene { min-height: auto; padding-block: 5rem; }
  .shift { height: 42vh; } .shift-short { height: 30vh; }
  .shift[data-shift="fog->slate"] { height: 80vh; }
}

/* Reveal-on-arrival: content rises + fades in when it enters the viewport */
.reveal, .step { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in, .step.in { opacity: 1; transform: none; }
/* stories cascade in as a set, not five disconnected cards */
.story.step { transition-duration: .8s; }
.story.step:nth-of-type(1) { transition-delay: 0s; }
.story.step:nth-of-type(2) { transition-delay: .10s; }
.story.step:nth-of-type(3) { transition-delay: .20s; }
.story.step:nth-of-type(4) { transition-delay: .30s; }
.story.step:nth-of-type(5) { transition-delay: .40s; }

/* ---------- THEATER MODE (JS adds html.theater at ≥600px) ----------
   The whole page is ONE pinned stage. Scenes stack in the same
   viewport space and swap in place. The viewport never travels. */
html.theater main { height: 100vh; height: 100svh; overflow: hidden; }
html.theater header.hero,
html.theater .scene {
  position: absolute; inset: 0; height: 100%; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 96px 0 2rem;
  opacity: 0; visibility: hidden;
  margin: 0;
}
html.theater .shift { display: none; }
html.theater .scroll-cue { margin-top: 3rem; }
.stage-glyph {
  position: absolute; top: -10vh; z-index: 3; pointer-events: none;
  font-family: var(--mono); font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--green-dim); opacity: .85; user-select: none;
}

.reveal, .step { opacity: 0; transform: translateY(34px); will-change: transform, opacity; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  color: var(--ink-text);
}
.nav.over-dark { color: var(--text-dark); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; }
.brand img { height: 36px; width: auto; display: block; }
.brand b { font-family: var(--serif); font-weight: 800; font-size: 1rem; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: inherit; opacity: .72; font-size: .9rem; font-weight: 500; }
.nav-links a:hover { opacity: 1; color: inherit; }
.nav-links .btn { opacity: 1; }
.nav-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; padding: .5rem; order: 3;
}
@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-toggle { display: block; }
  .nav .nav-links .btn { padding: .55rem .9rem; font-size: .82rem; }
  .nav.nav-open .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    padding: .5rem var(--gutter) 1.25rem;
  }
  .nav.nav-open .nav-links a:not(.btn) { display: block; padding: .85rem 0; font-size: 1.05rem;
    border-bottom: 1px solid color-mix(in srgb, currentColor 8%, transparent); }
  .nav.nav-open .nav-links .btn { margin-top: 1rem; }
}

/* ---------- Buttons — GOLD in every world ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .9rem 1.7rem; border-radius: 4px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-gold {
  /* machined gold: lit from above, hard bottom edge, inner ring */
  background: linear-gradient(180deg, #e9cc66 0%, var(--gold) 42%, #b8922e 100%);
  color: #2a2107;
  border: 1px solid #8a6d1f;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),      /* top bevel catch */
    inset 0 -2px 3px rgba(58,42,6,.35),        /* underside shade */
    inset 0 0 0 3px rgba(255,251,235,.14),     /* inner outline ring */
    0 2px 0 #7a5f18,                           /* physical edge */
    0 12px 26px -10px rgba(212,175,55,.6);     /* ambient glow */
  /* engraved: dark strokes catch light on their lower edge */
  text-shadow: 0 1px 0 rgba(255,246,205,.5);
}
.btn-gold:hover {
  background: linear-gradient(180deg, #f0d572 0%, #dcb844 45%, #c09a32 100%);
  color: #2a2107; transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 -2px 3px rgba(58,42,6,.3),
    inset 0 0 0 3px rgba(255,251,235,.16),
    0 3px 0 #7a5f18,
    0 16px 32px -12px rgba(212,175,55,.7);
}
.btn-gold:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(58,42,6,.4),          /* pressed: light flips */
    inset 0 0 0 3px rgba(255,251,235,.1),
    0 1px 0 #7a5f18,
    0 6px 14px -8px rgba(212,175,55,.5);
}
.btn-ghost { background: transparent; color: var(--gold-ink); border-color: var(--gold); }
.zone-dark .btn-ghost { color: var(--gold); }
.btn-ghost:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-quiet { background: transparent; border-color: color-mix(in srgb, currentColor 25%, transparent); color: inherit; opacity: .8; }
.btn-quiet:hover { opacity: 1; transform: translateY(-2px); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding-top: 76px; }
.scroll-cue {
  margin-top: 4.5rem; font-family: var(--mono); font-size: .7rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: .8rem;
}
.scroll-cue .bar { width: 1px; height: 44px; background: var(--gold); display: block; }
.scroll-cue.vert { flex-direction: column; }

/* ---------- Stats (light world, sober, gold = trust) ---------- */
.stats { display: flex; justify-content: center; gap: clamp(2.5rem, 7vw, 6rem); flex-wrap: wrap; margin-top: 1rem; }
.stat .num { font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem, 4vw, 4rem); color: var(--gold-dark); line-height: 1; }
.stat .lbl { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); margin-top: .6rem; }

/* ---------- The chain (pinned scene) ---------- */
.chain-line {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw + .6rem, 3.4rem);
  line-height: 1.25; margin: 0 0 .35em; max-width: none;
}
.chain-line .eq { color: var(--gold-dark); padding-inline: .35em; }

/* ---------- Proof (fog world — sober, no card, no pop) ---------- */
.proof-list { max-width: 640px; margin-inline: auto; }
.proof { padding: 2.2rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.proof:last-of-type { border-bottom: 0; }
/* index numbers sit directly on the ground — ink on light, muted on dark */
.proof .n { font-family: var(--mono); font-size: .72rem; color: var(--ink-muted); letter-spacing: .12em; }
.zone-dark .proof .n { color: var(--muted-dark); }
.zone-dark .proof p { color: var(--muted-dark); }
.zone-dark .proof h3 { color: var(--text-dark); }
.proof h3 { font-size: clamp(1.3rem, 1.6vw + .6rem, 1.8rem); margin: .5rem 0 .4rem; }
.proof p { font-size: 1rem; color: var(--ink-muted); margin: 0 auto; }

/* ---------- Client stories that branch to funnels (homepage proof) ---------- */
.story-list { max-width: 680px; margin: 2.5rem auto 0; text-align: center; }
.story { padding: 1.7rem 0; border-bottom: 1px solid var(--line-dark); }
.story:last-of-type { border-bottom: 0; }
.story h3 { font-size: clamp(1.15rem, 1.4vw + .6rem, 1.5rem); margin: 0 0 .45rem; color: var(--text-dark); font-family: var(--serif); }
.story p { color: var(--muted-dark); margin: 0 auto .7rem; max-width: 60ch; }
.story-link {
  font-family: var(--mono); font-size: .9rem; letter-spacing: .1em;
  color: var(--green); text-transform: uppercase;
  display: inline-block; padding: .95rem .6rem; /* ≥44px tap target — these are the funnel links */
  margin: -.35rem 0; /* reclaim some of the padding so story rhythm holds */
}
.story-link:hover { color: var(--green); text-decoration: underline; }

/* ---------- Six qualities (deep world gate) ---------- */
.qualities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; max-width: 860px; margin: 2.5rem auto 0; }
.quality {
  border: 1px solid var(--line-dark); border-radius: 8px; padding: 1.4rem 1rem;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
}
.quality .qn { font-family: var(--mono); font-size: .68rem; color: var(--green-dim); letter-spacing: .14em; display: block; margin-bottom: .45rem; }
.quality b { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--text-dark); }
@media (max-width: 760px) { .qualities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .qualities { grid-template-columns: 1fr; } }

/* ---------- Doors (ink world) ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3.5rem; }
.door {
  position: relative; background: #14171b; border: 1px solid var(--line-dark);
  border-radius: 10px; padding: 2.1rem 1.8rem 1.9rem; display: flex; flex-direction: column;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.door:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -32px rgba(0,0,0,.9); }
.door .door-n { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; color: var(--muted-dark); text-transform: uppercase; }
.door h3 { font-size: 1.45rem; margin: .7rem 0 .3rem; color: var(--text-dark); }
.door .price { font-family: var(--mono); color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.door p { font-size: .96rem; color: var(--muted-dark); flex: 1; max-width: none; margin-inline: auto; }
.door .mech { font-family: var(--mono); font-size: .73rem; color: var(--muted-dark); margin-top: 1rem; }
.door .btn { width: 100%; margin-top: 1.4rem; }
.door--primary { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-soft), 0 34px 64px -44px rgba(212,175,55,.5); }
.door--primary::before {
  content: "PRIMARY"; position: absolute; top: -1px; right: 1.3rem; transform: translateY(-50%);
  font-family: var(--mono); font-size: .6rem; letter-spacing: .18em;
  color: var(--ink); background: var(--gold); padding: .2rem .5rem; border-radius: 3px;
}
.door--muted { opacity: .82; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { position: relative; z-index: 1; background: var(--ink); color: var(--text-dark); padding-block: 4rem 3rem; text-align: center; }
footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.foot-tag { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.6rem); max-width: 34ch; margin: 0 auto 2.2rem; }
.foot-links { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.foot-links a { color: var(--muted-dark); font-size: .9rem; }
.foot-links a:hover { color: var(--text-dark); }
.entity { font-size: .84rem; color: var(--muted-dark); line-height: 1.7; }
.entity b { color: var(--text-dark); font-weight: 600; }

/* ---------- Interior sober pages (proof register: light, quiet) ---------- */
/* (page-sober needs no bg/nav overrides: body already defaults to --bg =
   paper and the nav to ink text; an opaque bg here would hide the rain.) */
.page-head { padding: 10rem 0 4rem; text-align: center; }
.page-head h1 { font-size: clamp(2.4rem, 4vw + .8rem, 3.8rem); }
.page-head .sub { color: var(--ink-muted); max-width: 46ch; margin-inline: auto; }
.sober-section { padding-block: 3rem 5rem; }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; text-align: left; }
.client-card {
  background: #fff; border: 1px solid var(--line-light); border-radius: 10px;
  padding: 2rem 1.8rem; transition: transform .18s ease, box-shadow .18s ease;
}
.client-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(20,22,26,.35); }
.client-card .cn, .client-featured .cn { font-family: var(--mono); font-size: .7rem; color: var(--gold-ink); letter-spacing: .14em; }
/* Cards are paper islands in every world — their text must never inherit
   a dark zone's light-on-dark scheme (was: invisible names on white). */
.client-card h3, .client-featured h3 { color: var(--ink-text); }
.client-card h3 { font-size: 1.25rem; margin: .6rem 0 .5rem; }
/* card body text reads at full ink, not gray (Cyril 2026-07-17) */
.client-card p, .client-featured p { color: var(--ink-text); }
.client-card p { font-size: .95rem; margin: 0; max-width: none; }
.client-site-link {
  display: inline-block; margin-top: 1rem; font-family: var(--mono);
  font-size: .74rem; letter-spacing: .08em; color: var(--gold-ink);
}
.client-featured {
  grid-column: 1 / -1; background: #fff; border: 1px solid var(--gold);
  border-radius: 10px; padding: clamp(2rem, 4vw, 3rem); position: relative;
  box-shadow: 0 0 0 1px var(--gold-soft), 0 30px 60px -45px rgba(212,175,55,.6);
}
.client-featured::before {
  content: attr(data-badge); position: absolute; top: -1px; right: 1.4rem; transform: translateY(-50%);
  font-family: var(--mono); font-size: .6rem; letter-spacing: .18em;
  color: var(--ink); background: var(--gold); padding: .2rem .5rem; border-radius: 3px;
}
.client-featured h3 { font-size: 1.6rem; }
.client-featured p { font-size: 1rem; }

/* One-per-stage client cards (theater) + logos inside cards */
.client-solo, .client-featured { max-width: 720px; margin-inline: auto; text-align: center; }
.client-solo p, .client-featured p { margin-inline: auto; }
.client-logo {
  display: block; height: 64px; max-width: 220px; object-fit: contain;
  margin: 0 auto 1.4rem;
}
.client-featured .client-logo { height: 80px; max-width: 280px; }

/* Typographic wordmark for clients with no logo asset yet (Apex) */
.client-wordmark {
  font-family: var(--serif); font-weight: 800; font-size: 2rem;
  letter-spacing: .05em; color: var(--ink-text); line-height: 1;
  margin: 0 auto 1.2rem;
}
.client-wordmark span {
  display: block; font-family: var(--mono); font-size: .6rem;
  letter-spacing: .38em; color: var(--gold-ink); margin-top: .4rem;
}
html.theater .client-wordmark { font-size: 1.7rem; margin-bottom: .9rem; }

/* Theater: cards must FIT the stage — panning is the exception, not the rule */
html.theater .client-solo, html.theater .client-featured {
  padding: 1.5rem 1.6rem 1.4rem;
}
html.theater .client-solo p, html.theater .client-featured p {
  font-size: .92rem; line-height: 1.55;
}
html.theater .client-logo { height: 44px; margin-bottom: .9rem; }
html.theater .client-featured .client-logo { height: 54px; }
html.theater .client-solo h3 { font-size: 1.2rem; margin: .45rem 0 .4rem; }
html.theater .client-featured h3 { font-size: 1.35rem; margin: .45rem 0 .4rem; }
@media (max-width: 980px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .client-grid { grid-template-columns: 1fr; } }
.faq-list { display: flex; flex-direction: column; gap: 1.3rem; }
/* Text-centered Q&A cards (Cyril 2026-08-03) — translucent so the descent
   ground and rain stay visible around them */
.faq-item {
  text-align: center;
  padding: 2rem 1.8rem;
  border: 1px solid rgba(20, 22, 26, .14);
  border-radius: 10px;
  background: color-mix(in srgb, #ffffff 72%, transparent);
}
.faq-item h3 { font-size: 1.15rem; margin: 0 0 .6rem; font-family: var(--serif); }
.faq-item p { font-size: .96rem; color: var(--ink-muted); margin: 0 auto; max-width: 62ch; }
.faq-item p a { color: var(--gold-dark); }
/* FAQ's deep half: same cards, dark ground */
.zone-dark .faq-item {
  border-color: var(--line-dark);
  background: color-mix(in srgb, var(--ink) 62%, transparent);
}
.zone-dark .faq-item h3 { color: var(--text-dark); }
.zone-dark .faq-item p { color: var(--muted-dark); }
.zone-dark .faq-item p a { color: var(--gold); }

/* method/coin icons */
.pay-card .pay-icon { height: 40px; width: 40px; display: block; margin-bottom: .8rem; }
.coin img { width: 30px; height: 30px; flex: none; display: block; }

.info-list { display: flex; flex-direction: column; gap: 0; }
.info-row { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); align-items: baseline; }
.info-row:last-child { border-bottom: 0; }
.info-row .il { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); width: 160px; flex: none; }
.info-row .iv { font-size: 1rem; }
.info-row .iv a { color: var(--gold-dark); }
@media (max-width: 620px) { .info-row { flex-direction: column; gap: .3rem; } .info-row .il { width: auto; } }

.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.pay-card { background: #fff; border: 1px solid var(--line-light); border-radius: 10px; padding: 1.8rem; }
.pay-card h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
.pay-card p { font-size: .92rem; color: var(--ink-muted); margin: 0; max-width: none; }
.pay-card .tag { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  color: var(--gold-dark); background: var(--gold-soft); padding: .2rem .55rem; border-radius: 3px; margin-bottom: .6rem; }
.crypto-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.crypto-chip { font-family: var(--mono); font-size: .78rem; background: var(--paper-warm); border: 1px solid var(--line-light);
  border-radius: 4px; padding: .3rem .6rem; color: var(--ink-text); }
@media (max-width: 700px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .pay-grid.three { grid-template-columns: 1fr; } }

/* Crypto — the depth layer takes it: black ground, green code voice */
.coin-grid { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2rem; max-width: 760px; margin-inline: auto; }
.coin {
  display: flex; align-items: center; gap: .65rem;
  background: #101318; border: 1px solid var(--line-dark); border-radius: 8px;
  padding: .55rem .9rem .55rem .6rem;
}
.coin .sym {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  border: 1px solid var(--green-dim); color: var(--green);
  font-family: var(--mono); font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.coin .sym.tk2 { font-size: .62rem; letter-spacing: .02em; }
.coin b { color: var(--text-dark); font-weight: 600; font-size: .88rem; }
.coin .tk { display: block; font-family: var(--mono); font-size: .66rem; color: var(--muted-dark); letter-spacing: .1em; }
.pay-notes { max-width: 720px; margin: 3rem auto 0; }
.pay-notes li { font-size: .92rem; color: var(--ink-muted); margin-bottom: .6rem; }

.cf-field { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.cf-field label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.cf-field input, .cf-field textarea {
  font-family: var(--sans); font-size: 1rem; padding: .7rem .9rem; border-radius: 5px;
  border: 1px solid var(--line-light); background: #fff; color: var(--ink-text); resize: vertical;
}
.cf-field input:focus, .cf-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }

.closer { text-align: center; padding-block: 4rem; }
.closer p { font-family: var(--serif); font-weight: 700; font-size: clamp(1.25rem, 2vw + .4rem, 1.9rem); line-height: 1.45; max-width: 34ch; }
.cta-band { text-align: center; padding-block: 5rem 7rem; }
.cta-band .btn { margin: .5rem .4rem 0; }

/* ---------- Spoke landers: static world zones (GHL-transplantable) ---------- */
.lander section { padding-block: clamp(4.5rem, 10vh, 7rem); text-align: center; position: relative; z-index: 1; }
/* Two grounds only — white or black, no gray zone (Cyril 2026-07-17).
   The rain carries the progression, not the background. */
/* v8 (Cyril 2026-08-03): landers ride the SAME body gradient as the hub pages —
   opaque section grounds killed the rain canvas and hard-cut white→black.
   Sections are transparent; descent.js paints the ground; the fog->slate spacer
   hosts the sweep. (static-descent/no-js fallbacks restore opaque grounds.) */
.w-paper, .w-warm, .w-fog, .w-slate, .w-dusk, .w-ink { background: transparent; }
.io { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.io.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .io { opacity: 1; transform: none; transition: none; } }
.lander-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; padding: 1.2rem 0; }
.lander-nav .wrap { display: flex; justify-content: space-between; align-items: center; }
.offer-card {
  background: #14171b; border: 1px solid var(--gold); border-radius: 12px;
  max-width: 560px; margin: 2.5rem auto 0; padding: 2.4rem 2rem;
  box-shadow: 0 0 0 1px var(--gold-soft), 0 40px 80px -50px rgba(212,175,55,.55);
}
.offer-card .price { font-family: var(--mono); font-size: 1.15rem; color: var(--gold); margin: .3rem 0 1.2rem; }
.offer-card p { color: var(--muted-dark); font-size: .97rem; }
.offer-card .mech { font-family: var(--mono); font-size: .74rem; color: var(--muted-dark); margin-top: 1.2rem; }

/* ---------- Motion discipline ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .door { transition: none; }
  #rain, .glyph { display: none; }
  .reveal, .step { opacity: 1; transform: none; }
}

/* ---------- Trusted-by proof marquee (homepage hero — Cyril 2026-08-03) ---------- */
.proof-strip { margin-top: 3.5rem; max-width: 640px; margin-inline: auto; }
.proof-label {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: .4rem;
}
.proof-marquee {
  overflow: hidden; position: relative;
  contain: inline-size; /* the max-content track must not inflate the hero's
                           flex-item min-width (blew the wrap out past the
                           viewport on mobile) */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.proof-track { display: flex; width: max-content; animation: proof-scroll 38s linear infinite; }
.proof-marquee:hover .proof-track { animation-play-state: paused; }
.proof-half { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; }
@keyframes proof-scroll { to { transform: translateX(-50%); } }
.proof-chip {
  display: flex; align-items: center; gap: .6rem; white-space: nowrap;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-muted); padding-block: .8rem;
}
.proof-chip img { height: 26px; width: auto; }  /* full colour — Cyril 2026-09-02 */
.proof-chip:hover { color: var(--ink-text); }

@media (prefers-reduced-motion: reduce) {
  .proof-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .proof-half + .proof-half { display: none; }
  .proof-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* Homepage story links land on the matching client card */
.client-card, .client-featured { scroll-margin-top: 96px; }

/* ---------- Brand lockup: script name over gold caps line (Cyril 2026-08-31,
   "Saylor & Co." + LEADERSHIP & TECHNOLOGY marketing face) ---------- */
.brand-lockup { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-lockup b { font-family: var(--serif); font-weight: 800; font-size: 1.02rem; letter-spacing: .01em; }
.brand-lockup small {
  font-family: var(--mono); font-size: .5rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink);
  margin-top: 2px; white-space: nowrap;
}
.nav.over-dark .brand-lockup small, .zone-dark .brand-lockup small { color: var(--gold); }
@media (max-width: 480px) { .brand-lockup small { letter-spacing: .14em; } }

/* ---------- Free-offer banner (home) + fieldmanual lander ---------- */
.offer-banner {
  background: var(--ink); text-align: center; padding: .55rem 1rem;
  position: relative; z-index: 6;
}
.offer-banner a {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
}
.offer-banner a:hover { color: #fff; }
.chapter-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .55rem 2rem; max-width: 640px; margin: 0 auto; text-align: left;
}
.chapter-grid span { font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; color: var(--ink-muted); }
@media (max-width: 560px) { .chapter-grid { grid-template-columns: 1fr; } }
