/* Castro Cognition, homepage. A lit, wet alley at night.
   The logo stands under a lamp; rain catches the light; lightning finds whatever you reach for.
   Black, ivory, red for the main action, gold as the accent. Syne + Host Grotesk.
   Layers: .alley (light, fog: CSS), #sky (rain, ripples, lightning: canvas), then the content. */

@font-face { font-family: "Syne"; src: url("../fonts/syne-latin-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../fonts/host-grotesk-latin-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --black: #08080a;
  --ivory: #f0ece4;
  --red: #e2252b;
  --gold: #c9a84c;
  --gold-deep: #8f7428;
  --soft: #aaa69f;
  --rule: rgba(240, 236, 228, .12);
  --display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --text: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --max: 1320px;
  --gutter: 64px;
  color-scheme: dark;
}
@media (max-width: 1000px) { :root { --gutter: 36px; } }
@media (max-width: 640px) { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--ivory); font: 400 18px/1.55 var(--text); overflow-x: hidden; }
@media (max-width: 640px) { body { font-size: 17px; } }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--black); }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 50; padding: 12px 16px; background: var(--ivory); color: var(--black); font-weight: 600; }
.skip:focus { left: 16px; }

/* ---------- the alley ---------- */
.alley { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #070709; }
.alley > div { position: absolute; }
/* one sodium lamp overhead, its cone falling on the logo */
.alley__lamp { left: 50%; top: -18vh; width: 120vmax; height: 120vh; transform: translateX(-50%); will-change: transform;
  background:
    radial-gradient(ellipse 16% 10% at 50% 16%, rgba(255, 222, 160, .18), transparent 70%),
    radial-gradient(ellipse 34% 60% at 50% 22%, rgba(201, 168, 76, .14), transparent 72%),
    radial-gradient(ellipse 60% 85% at 50% 30%, rgba(120, 96, 52, .10), transparent 75%); }
/* a red sign around the corner, and cold light from the far end */
.alley__neon { inset: 0;
  background:
    radial-gradient(ellipse 30% 55% at -4% 62%, rgba(226, 37, 43, .16), transparent 70%),
    radial-gradient(ellipse 26% 50% at 104% 40%, rgba(90, 110, 140, .10), transparent 70%),
    linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 18%, transparent 82%, rgba(0, 0, 0, .55)); }
/* wet ground: the lamp and the sign reflected as long smears */
.alley__ground { left: 0; right: 0; bottom: 0; height: 30vh;
  background:
    radial-gradient(ellipse 7% 100% at 50% 100%, rgba(255, 222, 160, .12), transparent 70%),
    radial-gradient(ellipse 18% 70% at 50% 100%, rgba(201, 168, 76, .08), transparent 70%),
    radial-gradient(ellipse 10% 80% at 6% 100%, rgba(226, 37, 43, .08), transparent 70%),
    linear-gradient(to top, rgba(18, 16, 20, .9), transparent); }
.alley__fog { width: 160vw; height: 70vh; left: -30vw; opacity: .5;
  background: radial-gradient(ellipse 30% 40% at 30% 50%, rgba(160, 150, 140, .07), transparent 70%), radial-gradient(ellipse 25% 35% at 72% 60%, rgba(160, 150, 140, .06), transparent 70%); }
.alley__fog--a { top: 20vh; animation: drift 46s linear infinite alternate; }
.alley__fog--b { top: 52vh; animation: drift 64s linear infinite alternate-reverse; opacity: .4; }
@keyframes drift { from { transform: translateX(-8vw); } to { transform: translateX(8vw); } }
.flash .alley { background: #141316; }
.flicker .alley__lamp { animation: flicker .45s steps(1) 1; }
@keyframes flicker { 0% { opacity: .35; } 18% { opacity: 1; } 34% { opacity: .2; } 46% { opacity: .9; } 62% { opacity: .5; } 78%, 100% { opacity: 1; } }

#sky { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
main, .foot { position: relative; z-index: 2; }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 10; background: rgba(8, 8, 10, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.scrolled .head { border-bottom-color: var(--rule); }
.head__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.logo__mark { width: 44px; height: 44px; flex: none; }
.logo__word { font: 700 21px/1 var(--display); letter-spacing: -0.01em; }
.logo__dot { color: var(--red); }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--gold); transition: color .2s; }
.nav a:hover { color: var(--ivory); }
.nav__hint { margin-left: 4px; font-size: 12px; color: var(--gold); opacity: .75; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 16px; padding: 10px 0 10px 16px; }
.menu summary::-webkit-details-marker { display: none; }
.menu .nav { position: absolute; right: 0; top: calc(100% + 8px); flex-direction: column; gap: 0; min-width: 240px; padding: 6px 0; background: var(--black); border: 1px solid var(--ivory); font-size: 17px; }
.menu .nav a { padding: 12px 18px; color: var(--ivory); }
@media (max-width: 860px) { .head__row > .nav { display: none; } .menu { display: block; } .logo__word { font-size: 19px; } .logo__mark { width: 40px; height: 40px; } }

/* ---------- controls ---------- */
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.link:hover { text-decoration-thickness: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 0;
  background: var(--red); color: var(--ivory); font: 700 18px/1.1 var(--text); text-decoration: none; white-space: nowrap; box-shadow: 3px 3px 0 var(--gold-deep); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--gold-deep); }
.btn--gold { background: var(--gold); color: var(--black); box-shadow: 3px 3px 0 #f0ece4; }
.btn--gold:hover { box-shadow: 4px 4px 0 #f0ece4; }
.btn--quiet { background: rgba(8, 8, 10, .6); border: 1.5px solid var(--ivory); box-shadow: 3px 3px 0 var(--gold-deep); }
.btn--quiet:hover { background: var(--ivory); color: var(--black); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; }

/* ---------- hero: the eye under the lamp, the line beneath it ---------- */
.hero { position: relative; min-height: calc(100svh - 72px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3vh var(--gutter) 9vh; text-align: center; }
.hero__mark { position: relative; width: min(58vh, 560px, 86vw); aspect-ratio: 1; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__still { display: none; width: 100%; }
/* the line: one line on anything wider than a phone, letters arriving one at a time */
.phrase { margin-top: 1.6vh; min-height: 1.2em; white-space: nowrap; font: 600 clamp(22px, 2.7vw, 46px)/1.1 var(--display); letter-spacing: -0.03em;
  text-shadow: 0.03em 0.026em 0 var(--gold-deep); }
.phrase .w { display: inline-block; white-space: nowrap; }
.phrase .ch { display: inline-block; opacity: 0; transform: translateY(0.28em); filter: blur(6px); }
.phrase .ch.in { animation: letter .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.phrase.all-in .ch { opacity: 1; transform: none; filter: none; animation: none; }
@keyframes letter { 0% { opacity: 0; transform: translateY(0.28em); filter: blur(6px); } 60% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
@media (max-width: 720px) { .phrase { white-space: normal; max-width: 100%; text-wrap: balance; } }
.hero__sub { margin-top: 16px; font: 500 clamp(15px, 1.15vw, 18px)/1.3 var(--display); letter-spacing: .01em; color: var(--gold); }
/* the logo, reflected in the wet ground under it */
.hero__puddle { position: fixed; z-index: 0; left: 50%; bottom: 0; width: min(58vh, 560px, 86vw); height: 13vh; transform: translateX(-50%); pointer-events: none; opacity: .55; }
.hero__cue { position: absolute; bottom: 3.5vh; left: 50%; width: 22px; height: 36px; margin-left: -11px; border: 1.5px solid rgba(240, 236, 228, .5); border-radius: 12px; }
.hero__cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 8px; margin-left: -1px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 760px) { .hero { min-height: auto; padding-top: 4vh; padding-bottom: 90px; } .hero__mark { width: min(86vw, 420px); } }
@media (max-width: 720px) { .phrase { font-size: clamp(20px, 6.1vw, 34px); } }

/* ---------- the ways in: one leads, two flank ---------- */
.ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-block: 40px 140px; text-align: center; }
.way { position: relative; }
.way--side { margin-top: 64px; }
.way__name { font: 600 clamp(30px, 2.6vw, 40px)/1 var(--display); letter-spacing: -0.04em; transition: color .3s, text-shadow .3s; }
.way--main .way__name { font-size: clamp(42px, 4.4vw, 68px); }
.way__kind { margin-top: 10px; font: 600 15px/1.2 var(--text); letter-spacing: .02em; color: var(--gold); }
.way--main .way__kind { color: var(--ivory); font-size: 17px; }
.way__desc { margin: 14px auto 0; max-width: 30em; color: #cdc9c1; font-size: 16.5px; text-wrap: pretty; }
.way--main .way__desc { font-size: 18px; color: #e3dfd7; }
.way .actions { justify-content: center; }
.way__aside { margin: 22px auto 0; max-width: 28em; font-size: 15px; color: var(--soft); }
.way.is-lit .way__name { text-shadow: 0.03em 0.026em 0 var(--gold-deep); }
.way[data-charge="gold"].is-lit .way__name { color: var(--gold); text-shadow: 0.03em 0.026em 0 var(--ivory); }
.way[data-charge="red"].is-lit .way__name { color: var(--red); text-shadow: 0.03em 0.026em 0 var(--gold); }
.is-struck .way__name, .is-struck .presence__h { animation: struck .34s steps(1) 1; }
@keyframes struck {
  0% { clip-path: inset(0 0 58% 0); transform: translateX(-7px); }
  20% { clip-path: inset(42% 0 18% 0); transform: translateX(6px); }
  40% { clip-path: inset(70% 0 0 0); transform: translateX(-3px); }
  60% { clip-path: inset(10% 0 40% 0); transform: translateX(4px); }
  80%, 100% { clip-path: none; transform: none; }
}
@media (max-width: 1000px) {
  .ways { grid-template-columns: minmax(0, 1fr); max-width: 620px; gap: 72px; padding-bottom: 100px; }
  .way--main { order: -1; }
  .way--side { margin-top: 0; }
}

/* ---------- who: a face, lit by the lightning ---------- */
.who { display: flex; flex-direction: column; align-items: center; gap: 30px; padding-block: 20px 140px; text-align: center; }
.who__text { max-width: 640px; }
.who__photo { width: 220px; height: auto; filter: grayscale(1) brightness(.5) contrast(1.15); transition: filter 1s ease-out; box-shadow: 6px 6px 0 var(--gold-deep); }
.flash .who__photo { filter: grayscale(1) brightness(1.08) contrast(1.15); transition: filter .04s; }
.who__lead { font: 600 clamp(22px, 1.9vw, 28px)/1.2 var(--display); letter-spacing: -0.025em; text-wrap: pretty; }
.who__proof { margin-top: 14px; color: var(--gold); font-weight: 600; }
.who__proof .link { color: var(--ivory); }
@media (max-width: 760px) { .who { gap: 22px; padding-bottom: 90px; } .who__photo { width: 160px; } }

/* ---------- presence: channels as icons, then the stack and the brand pitch side by side ---------- */
.presence { padding-block: 40px 120px; text-align: center; }
.presence__h { font: 600 clamp(34px, 3.4vw, 52px)/1 var(--display); letter-spacing: -0.04em; text-shadow: 0.03em 0.026em 0 var(--gold-deep); }
.channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px clamp(28px, 4vw, 64px); margin-top: 34px; }
.channel { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ivory); }
.channel svg { width: clamp(46px, 4.4vw, 64px); height: auto; fill: currentColor; filter: drop-shadow(2px 2px 0 var(--gold-deep)); transition: transform .2s; }
.channel span { font-size: 14px; font-weight: 600; color: var(--soft); transition: color .2s; }
.channel:hover svg, .channel:focus-visible svg, .channel.is-lit svg { transform: translateY(-3px); }
.channel:hover span, .channel.is-lit span { color: var(--ivory); }
.channel[data-charge="red"]:hover, .channel[data-charge="red"].is-lit { color: var(--red); }
.channel[data-charge="gold"]:hover, .channel[data-charge="gold"].is-lit { color: var(--gold); }
.channel[data-charge="ivory"]:hover svg, .channel[data-charge="ivory"].is-lit svg { filter: drop-shadow(2px 2px 0 var(--gold)); }

.presence__brands { margin: 56px auto 0; max-width: 640px; }
.brands__nums { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 40px; color: var(--soft); font-size: 16px; }
.brands__nums b { margin-right: 8px; font: 600 clamp(30px, 2.8vw, 42px)/1 var(--display); letter-spacing: -0.04em; color: var(--ivory); text-shadow: 0.03em 0.026em 0 var(--gold-deep); }
.presence__brands .presence__note { margin: 16px auto 0; }
.presence__brands .actions { justify-content: center; }
.presence__sub { font: 600 clamp(24px, 2vw, 30px)/1.1 var(--display); letter-spacing: -0.03em; }
.presence__note { margin-top: 10px; max-width: 34em; color: var(--soft); font-size: 16px; }

/* ---------- provisions: the affiliate list, centred and narrow ---------- */
.provisions { max-width: 720px; padding-block: 0 120px; text-align: center; }
.provisions .presence__note { margin-inline: auto; }
.stack__list { margin-top: 22px; text-align: left; }
.stack__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.stack__item:first-child { border-top: 1px solid var(--rule); }
.stack__name { font: 600 clamp(20px, 1.7vw, 26px)/1.1 var(--display); letter-spacing: -0.025em; text-decoration: none; }
.stack__name:hover { color: var(--gold); }
.code { flex: none; min-height: 40px; padding: 0 14px; border: 1.5px dashed var(--gold); background: transparent; color: var(--gold); font: 700 14px/1 var(--text); letter-spacing: .08em; cursor: pointer; transition: background .2s, color .2s; }
.code:hover { background: var(--gold); color: var(--black); }
.code.copied { border-style: solid; background: var(--gold); color: var(--black); }

@media (max-width: 560px) { .channels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; } .channel svg { width: 40px; } .channel span { font-size: 11.5px; } }

/* ---------- the end: bookend to the opening ---------- */
.end { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 40px 160px; }
.end__mark { position: relative; width: min(260px, 60vw); aspect-ratio: 1; margin-bottom: -40px; }
.end__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.end__line { margin-top: 18px; font: 600 clamp(30px, 3.2vw, 48px)/1.05 var(--display); letter-spacing: -0.035em; text-shadow: 0.03em 0.026em 0 var(--gold-deep); }
.end .actions { justify-content: center; }
@media (max-width: 640px) { .end .actions { align-items: center; } }

.foot { display: flex; justify-content: space-between; align-items: baseline; gap: 18px 24px; flex-wrap: wrap; padding-block: 24px 36px; border-top: 1px solid var(--rule); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.foot a { color: var(--soft); }
.foot a:hover { color: var(--ivory); }
.foot small { color: var(--soft); font-size: 15px; }

/* ---------- the opening ----------
   .intro: only the eye. The phrase decodes in (JS). Then a strike, and everything else glitches in out of the rain. */
.intro [data-reveal] { opacity: 0; pointer-events: none; animation: failsafe 0s linear 6s forwards; }
.intro .phrase__text { visibility: hidden; animation: failsafe 0s linear 6s forwards; }
.intro.phrase-on .phrase__text { animation: none; }
/* if the script never runs, nothing stays hidden for more than six seconds */
@keyframes failsafe { to { opacity: 1; visibility: visible; pointer-events: auto; } }
.intro.phrase-on .phrase__text { visibility: visible; }
[data-reveal].revealed { opacity: 1; pointer-events: auto; animation: glitch-in .7s steps(1) both; }
@keyframes glitch-in {
  0% { opacity: 0; clip-path: inset(0 0 100% 0); }
  10% { opacity: 1; clip-path: inset(10% 0 62% 0); transform: translate(-14px, -6px); filter: drop-shadow(-4px 0 0 #e2252b) drop-shadow(4px 0 0 #c9a84c); }
  24% { clip-path: inset(56% 0 12% 0); transform: translate(10px, -3px); }
  38% { clip-path: inset(0 0 40% 0); transform: translate(-5px, -2px); filter: drop-shadow(-2px 0 0 #e2252b) drop-shadow(2px 0 0 #c9a84c); }
  54% { clip-path: inset(30% 0 0 0); transform: translate(3px, 0); }
  70% { clip-path: none; transform: translate(-1px, 0); filter: none; }
  100% { opacity: 1; clip-path: none; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__canvas { display: none; } .hero__still { display: block; }
  .intro [data-reveal] { opacity: 1; pointer-events: auto; }
  .intro .phrase__text { visibility: visible; }
  [data-reveal].revealed, .is-struck .way__name, .is-struck .presence__h, .alley__fog, .hero__cue span { animation: none; }
}

/* =================================================================
   Inner pages. Same alley, rain, lightning and lamp as the homepage;
   no opening. Reading sections are centred and narrow.
   ================================================================= */
.nav a[aria-current="page"] { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .45em; }

.page-hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2vh var(--gutter) 90px; }
.page-hero .hero__mark { width: min(36vh, 340px, 70vw); }
.page-hero__name { margin-top: 4px; font: 600 clamp(48px, 7vw, 108px)/.95 var(--display); letter-spacing: -0.055em; text-shadow: 0.03em 0.026em 0 var(--gold-deep); }
.page-hero__line { margin-top: 18px; max-width: 22ch; font: 600 clamp(24px, 2.6vw, 38px)/1.1 var(--display); letter-spacing: -0.035em; color: var(--gold); text-wrap: balance; }
.page-hero__lead { margin-top: 20px; max-width: 36em; color: #d6d2ca; font-size: clamp(17px, 1.3vw, 19px); text-wrap: pretty; }
.page-hero .actions { justify-content: center; }
.page-hero__note { margin-top: 14px; max-width: 34em; color: var(--soft); font-size: 15px; }
.red .page-hero__name { color: var(--ivory); }

.sec { max-width: 760px; margin: 0 auto; padding: 70px var(--gutter); text-align: center; }
.sec__title { font: 600 clamp(32px, 3.6vw, 54px)/1 var(--display); letter-spacing: -0.045em; text-shadow: 0.03em 0.026em 0 var(--gold-deep); transition: color .3s; }
.sec.is-lit .sec__title { color: var(--gold); text-shadow: 0.03em 0.026em 0 var(--ivory); }
.sec[data-charge="red"].is-lit .sec__title { color: var(--red); text-shadow: 0.03em 0.026em 0 var(--gold); }
.prose { margin-top: 22px; text-align: left; }
.prose p { margin-top: 16px; color: #d6d2ca; font-size: clamp(17px, 1.3vw, 19px); text-wrap: pretty; }
.prose p:first-child { margin-top: 0; }
.sec--wide { max-width: 1040px; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 44px; align-items: start; margin-top: 26px; text-align: left; }
.story .who__photo { width: 240px; }
@media (max-width: 760px) { .story { grid-template-columns: minmax(0, 1fr); } .story .who__photo { width: 180px; margin: 0 auto; order: -1; } }

.details { margin: 44px auto 0; max-width: 640px; text-align: left; border-top: 1px solid var(--rule); }
.details div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding-block: 15px; border-bottom: 1px solid var(--rule); }
.details dt { color: var(--gold); font-weight: 600; }
.details dd { margin: 0; color: #d6d2ca; }
@media (max-width: 560px) { .details div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.people { margin-top: 30px; }
.person { padding-block: 34px; border-top: 1px solid var(--rule); }
.person:last-child { border-bottom: 1px solid var(--rule); }
.person__quote { margin: 0 auto; max-width: 20ch; font: 600 clamp(26px, 2.8vw, 40px)/1.1 var(--display); letter-spacing: -0.035em; text-shadow: 0.03em 0.026em 0 var(--gold-deep); transition: color .3s; }
.person.is-lit .person__quote { color: var(--gold); text-shadow: 0.03em 0.026em 0 var(--ivory); }
.person__who { margin-top: 14px; color: var(--gold); font-weight: 600; }
.person__result { margin: 10px auto 0; max-width: 34em; color: #cdc9c1; text-wrap: pretty; }
.fine { margin-top: 22px; color: var(--soft); font-size: 14px; }

.answers { margin-top: 26px; display: grid; gap: 30px; text-align: left; }
.answer h3 { font: 600 clamp(20px, 1.7vw, 25px)/1.15 var(--display); letter-spacing: -0.025em; }
.answer p { margin-top: 8px; color: #d6d2ca; }
.answer--promise { padding: 24px; border: 1.5px solid var(--gold); box-shadow: 4px 4px 0 var(--gold-deep); }
.answer--promise p { color: var(--ivory); font-size: clamp(18px, 1.5vw, 21px); }

/* the application form, on the dark */
.form { margin: 30px auto 0; max-width: 620px; text-align: left; }
.form__note { margin-top: 12px; color: var(--soft); font-size: 15px; }
.field { margin-top: 24px; }
.field > label:not(.choice), .legend { display: block; padding: 0; font-weight: 600; color: var(--ivory); }
.optional { font-weight: 400; color: var(--soft); }
.hint { display: block; margin-top: 4px; font-size: 15px; color: var(--soft); }
.input { display: block; width: 100%; margin-top: 10px; min-height: 54px; padding: 13px 15px; border: 1.5px solid rgba(240, 236, 228, .35); border-radius: 0;
  background: rgba(8, 8, 10, .78); color: var(--ivory); font: inherit; }
.input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: auto; }
select.input option { background: #141316; color: var(--ivory); }
fieldset.field { margin-inline: 0; padding: 0; border: 0; }
.choice { display: flex; align-items: center; gap: 14px; min-height: 44px; margin-top: 6px; cursor: pointer; color: #d6d2ca; }
.choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--gold); }
.form .btn { margin-top: 32px; }
.form .link { color: var(--ivory); }
[hidden] { display: none !important; }
@media (max-width: 640px) { .form .btn { width: 100%; } }

/* =================================================================
   Converted inner pages (.inner): the live site's page parts, restyled for the alley.
   ================================================================= */
.inner .page__body { max-width: 780px; margin: 0 auto; padding: 0; }
.inner .page__body--plain { max-width: 760px; }
.inner .hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2vh 0 30px; }
.inner .hero .hero__mark { width: min(30vh, 280px, 64vw); }
.inner .h1, .inner .h1--page { margin: 4px auto 0; max-width: 18ch; font: 600 clamp(36px, 4.6vw, 68px)/1 var(--display); letter-spacing: -0.045em; text-shadow: 0.03em 0.026em 0 var(--gold-deep); text-wrap: balance; }
.inner .page-hero__name { max-width: none; font-size: clamp(48px, 7vw, 108px); line-height: .95; letter-spacing: -0.055em; }
.inner .lead { margin: 20px auto 0; max-width: 36em; color: #d6d2ca; font-size: clamp(17px, 1.3vw, 19px); text-wrap: pretty; }
.inner .hero .actions { justify-content: center; }
.inner .note, .inner .form__note { color: var(--soft); font-size: 15px; }
.inner .hero .note { max-width: 34em; margin: 0 auto; }
.inner .section { margin: 0; padding-top: 100px; text-align: center; }
.inner .h2 { font: 600 clamp(30px, 3.4vw, 50px)/1.02 var(--display); letter-spacing: -0.045em; text-shadow: 0.03em 0.026em 0 var(--gold-deep); text-wrap: balance; transition: color .3s; }
.inner .h3 { font: 600 clamp(20px, 1.7vw, 25px)/1.15 var(--display); letter-spacing: -0.025em; }
.inner .section.is-lit .h2 { color: var(--gold); text-shadow: 0.03em 0.026em 0 var(--ivory); }
.inner .section[data-charge="red"].is-lit .h2 { color: var(--red); text-shadow: 0.03em 0.026em 0 var(--gold); }
.inner .section .prose, .inner .section .answers, .inner .section .form { text-align: left; }
.inner .answers { margin-top: 26px; display: grid; gap: 28px; }
.inner .answer { margin-top: 0; }
.inner .answer h3 { font: 600 clamp(20px, 1.7vw, 25px)/1.15 var(--display); letter-spacing: -0.025em; }
.inner .rows { margin: 30px auto 0; padding: 0; max-width: 680px; text-align: left; border-top: 1px solid var(--rule); }
.inner .rows > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding-block: 15px; border-bottom: 1px solid var(--rule); }
.inner .rows dt { color: var(--gold); font-weight: 600; }
.inner .rows dd { margin: 0; color: #d6d2ca; }
@media (max-width: 560px) { .inner .rows > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.inner .page__body > .section:last-child, .inner .page__body > section:last-child { padding-bottom: 120px; }

/* media kit */
.inner .video { margin: 36px auto 0; max-width: 780px; }
.inner .video__frame { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; border: 1.5px solid rgba(240,236,228,.3); background: rgba(8,8,10,.7); color: var(--ivory); box-shadow: 6px 6px 0 var(--gold-deep); }
.inner .video figcaption { margin-top: 14px; font-size: 15px; color: var(--soft); }
.inner .table-wrap { margin: 30px auto 0; max-width: 780px; overflow-x: auto; text-align: left; }
.inner .stats { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.inner .stats th, .inner .stats td { padding: 14px 16px 14px 0; text-align: left; border-top: 1px solid var(--rule); color: #d6d2ca; }
.inner .stats thead th, .inner .stats thead td { border-top: 0; font-size: 14px; font-weight: 600; color: var(--gold); }
.inner .stats tbody th { font-weight: 600; color: var(--ivory); }
.inner .stats tbody tr:first-child th, .inner .stats tbody tr:first-child td { font: 600 clamp(22px, 2.2vw, 30px)/1.1 var(--display); letter-spacing: -0.02em; color: var(--ivory); }
.inner .stats tbody tr:last-child th, .inner .stats tbody tr:last-child td { border-bottom: 1px solid var(--rule); }
.inner .clips { margin: 30px auto 0; max-width: 780px; text-align: left; border-bottom: 1px solid var(--rule); }
.inner .clip { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; padding-block: 24px; border-top: 1px solid var(--rule); }
.inner .clip .clip__num { margin: 0; font: 600 30px/1 var(--display); letter-spacing: -0.02em; color: var(--ivory); text-shadow: 0.03em 0.026em 0 var(--gold-deep); }
.inner .clip .clip__where { margin-top: 6px; font-size: 14px; color: var(--gold); }
.inner .clip .clip__title { margin: 0; font: 600 22px/1.25 var(--display); letter-spacing: -0.015em; color: var(--ivory); }
.inner .clip p { margin-top: 10px; color: #cdc9c1; font-size: 16.5px; }
.inner .clip .link { display: inline-block; margin-top: 10px; }
@media (max-width: 640px) { .inner .clip { display: block; } .inner .clip .clip__title { margin-top: 12px; } }

/* gear, privacy, short pages */
.inner .simple { max-width: 760px; margin: 0 auto; text-align: left; padding-bottom: 120px; }
.inner .simple h2 { margin: 44px 0 0; font: 600 26px/1.15 var(--display); letter-spacing: -0.02em; }
.inner .simple p, .inner .simple li { color: #d6d2ca; }
.inner .simple p { margin-top: 14px; }
.inner .simple ul { margin: 14px 0 0; padding-left: 1.2em; list-style: disc; }
.inner .simple li { margin-top: 8px; }
.inner .gear { margin: 30px auto 0; max-width: 760px; text-align: left; border-bottom: 1px solid var(--rule); }
.inner .gear__item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid var(--rule); }
.inner .gear__item a { font: 600 24px/1.2 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.inner .gear__item a:hover { color: var(--gold); }
.inner .gear__item span { color: var(--soft); }
.inner--short .page__body { padding-bottom: 140px; }

/* the stuck audit */
.inner .audit { max-width: 820px; margin: 0 auto; padding-bottom: 140px; text-align: center; }
.inner .audit .hero__mark { width: min(26vh, 240px, 60vw); margin: 0 auto; }
.inner .audit__rules { display: inline-block; margin: 24px auto 0; padding-left: 1.2em; color: #d6d2ca; text-align: left; list-style: disc; }
.inner .audit__rules li { margin-top: 6px; }
.inner .screen[hidden] { display: none; }
.inner .screen { margin-top: 40px; }
.inner .screen:focus { outline: none; }
.inner .screen .actions { justify-content: center; }
.inner .track { position: relative; height: 8px; margin: 8px 9px 0; background: rgba(240, 236, 228, .14); }
.inner .track__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold); transition: width .35s; }
.inner .track__end { position: absolute; right: -9px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--black); border: 5px solid var(--red); }
.inner .progress { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; color: var(--soft); font-variant-numeric: tabular-nums; }
.inner .question { margin: 34px auto 0; max-width: 22ch; font: 600 clamp(28px, 3.4vw, 46px)/1.08 var(--display); letter-spacing: -0.035em; text-shadow: 0.03em 0.026em 0 var(--gold-deep); text-wrap: balance; }
.inner .sting { margin-top: 14px; color: var(--gold); font-size: 17px; }
.inner .yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px auto 0; max-width: 480px; }
.inner .yesno .btn { width: 100%; }
.inner .back { margin-top: 20px; padding: 8px 0; background: none; border: 0; color: var(--ivory); font: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.inner .tally { margin: 16px 0 0; font: 700 clamp(96px, 16vw, 200px)/.9 var(--display); letter-spacing: -0.05em; color: var(--red); text-shadow: 0.03em 0.026em 0 var(--gold); font-variant-numeric: tabular-nums; }
.inner .tiers { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin-top: 18px; color: var(--soft); font-size: 15px; }
.inner .timer { margin-top: 18px; font: 600 48px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.inner .flags { margin: 26px auto 0; padding: 0; list-style: none; max-width: 680px; text-align: left; border-bottom: 1px solid var(--rule); }
.inner .flags li { padding-block: 18px; border-top: 1px solid var(--rule); }
.inner .flags strong { display: block; font: 600 20px/1.25 var(--display); letter-spacing: -0.015em; }
.inner .flags span { display: block; margin-top: 8px; color: #cdc9c1; }
.inner .audit .prose { max-width: 640px; margin: 18px auto 0; }
.inner .audit__cta-h, .inner .section--tight { margin-top: 48px; }
.inner .btn[disabled] { opacity: .45; cursor: not-allowed; }
.inner .visually-hidden, .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Guided Fixation is gold everywhere: its buttons match the homepage */
.inner--gold .btn:not(.btn--quiet):not(.btn--gold) { background: var(--gold); color: var(--black); box-shadow: 3px 3px 0 #f0ece4; }
.inner--gold .btn:not(.btn--quiet):not(.btn--gold):hover { box-shadow: 4px 4px 0 #f0ece4; }
