/* 1 in 400 trillion — 2027 prototype
   Layout: a sunrise you scroll through, then a page in morning light. */
:root {
  --air: #f7f9fc;          /* morning air: the page */
  --air-2: #edf2f9;        /* a shade of sky for alternating bands */
  --ink: #1f2547;          /* deep blue ink instead of black */
  --ink-dim: #5b6183;
  --line: rgba(31, 37, 71, .14);
  --peach: #ffe2b0;
  --rose: #f4c6cc;
  --card: #ffffff;          /* cards and fields */
  --ink-day: #1f2547;       /* ink over the sunrise, whatever the hour */
  --on-ink: #ffffff;
  --chip-bg: rgba(255, 255, 255, .72);
  --chip-line: rgba(255, 255, 255, .8);
  --glass: rgba(255, 255, 255, .7);
  --foot-bg: #1f2547;
  --foot-fg: rgba(255, 255, 255, .78);
  --truth: linear-gradient(135deg, #fff4dc, #e6f0fb);
  --sky-band: linear-gradient(180deg, #bcd3ee 0%, #dfeaf7 40%, #ffe9b8 78%, #fff3d6 100%);

  /* "your light": the sun color, re-tinted per visitor once they find their number */
  --hue: 42;
  --sun: hsl(var(--hue) 95% 60%);
  --sun-deep: hsl(var(--hue) 72% 33%);
  --sun-soft: hsla(var(--hue), 95%, 62%, .16);
  --sun-glow: hsla(var(--hue), 95%, 62%, .45);

  --display: "Fraunces", "Newsreader", Georgia, serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --grot: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

/* ---------- the site follows the visitor's clock ----------
   morning and afternoon use the :root light. Evening warms. Night is deep blue, never black. */
:root[data-sky="evening"] {
  --air: #f1f5fb; --air-2: #e3ebf6; --card: #fcfdff;
  --line: rgba(31, 37, 71, .13);
  --sky-band: linear-gradient(180deg, #6f8fd0 0%, #a9c0e6 40%, #f3d48f 76%, #ffe2a6 100%);
  --truth: linear-gradient(135deg, #fff0d6, #e2ecf8);
}
:root[data-sky="night"] {
  --air: #161b3a; --air-2: #1c2246; --card: #222a55;
  --ink: #eef0fa; --ink-dim: #aeb4d4; --line: rgba(238, 240, 250, .14);
  --on-ink: #161b3a;
  --chip-bg: rgba(34, 42, 85, .72); --chip-line: rgba(238, 240, 250, .16);
  --glass: rgba(34, 42, 85, .72);
  --foot-bg: #10142c; --foot-fg: rgba(238, 240, 250, .72);
  --sun-deep: hsl(var(--hue) 92% 72%);
  --sun-soft: hsla(var(--hue), 95%, 66%, .12);
  --sky-band: linear-gradient(180deg, #121636 0%, #222a5c 45%, #3d3f7c 80%, #5b4f86 100%);
  --truth: linear-gradient(135deg, #2a2f63, #3a2f5e);
  color-scheme: dark;
}
:root[data-sky="night"] body { background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 70% 12%, rgba(255,255,255,.4), transparent); }
.sky-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; cursor: pointer; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.sky-chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun-glow); }
:root[data-sky="night"] .sky-chip i { background: #f3efe0; box-shadow: 0 0 10px rgba(243,239,224,.7), inset -3px -2px 0 #c9c3ad; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--air);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  overflow-x: hidden;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun-deep); outline-offset: 3px; }

.label { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .01em; line-height: 1.45; }
.hand { font-family: var(--hand); font-weight: 500; color: var(--sun-deep); line-height: 1.1; }
.dim { color: var(--ink-dim); }
.wrap {
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  max-width: 1440px; margin-inline: auto;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- nav: soft frosted chips that read over sky and page alike ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 14px max(var(--gutter), env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.chip {
  background: var(--chip-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--chip-line); border-radius: 999px; color: var(--ink);
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; }
.brand .sun-dot { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 50% 60%, #fff 0 18%, var(--sun) 45%, var(--sun-soft) 72%); }
.brand b { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a.pill { display: inline-block; text-decoration: none; padding: 8px 15px; transition: background .2s; }
.nav a.pill:hover { background: var(--card); }
.nav a.pill.cta { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.nav a.pill.cta:hover { background: var(--sun-deep); border-color: var(--sun-deep); }
@media (max-width: 760px) { .nav ul li:not(.keep) { display: none; } }
@media (max-width: 480px) { .brand b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .brand { padding: 8px; } }

/* ---------- floating "become 1" card ---------- */
.dock {
  position: fixed; z-index: 40;
  right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(300px, calc(100vw - 32px));
  background: var(--card); color: var(--ink); border: 1px solid var(--line);
  padding: 16px 18px 18px; border-radius: 18px; text-decoration: none;
  transform: translateY(calc(100% + 40px)); transition: transform .6s var(--ease);
  box-shadow: 0 18px 50px rgba(31, 37, 71, .16);
}
.dock.show { transform: none; }
.dock .label { display: flex; justify-content: space-between; color: var(--sun-deep); }
.dock strong { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; margin-top: 8px; }

/* ---------- 1. the sunrise story ---------- */
.story { position: relative; background: #3a5a9f; }
.stage { position: relative; height: 90vh; height: 90svh; min-height: 560px; overflow: hidden; color: #fff; transition: color .6s; }
.stage.day { color: var(--ink-day); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.beat {
  position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px));
  top: 30%; transform: translateY(-50%);
  max-width: 980px; opacity: 0; transition: opacity .6s linear; pointer-events: none;
  text-shadow: 0 2px 30px rgba(31, 37, 71, .25);
}
.stage.day .beat { text-shadow: 0 1px 24px rgba(255, 255, 255, .6); }
.beat.on { opacity: 1; }
.beat .kicker { margin-bottom: 14px; opacity: .85; }
.beat h1, .beat h2 {
  margin: 0; font-family: var(--display); font-weight: 300; letter-spacing: -.02em; line-height: 1.04;
  font-size: clamp(42px, 7vw, 112px);
}
.beat h2 { font-size: clamp(32px, 5vw, 76px); line-height: 1.1; }
.beat .odds { font-variant-numeric: lining-nums tabular-nums; font-size: min(8.6vw, 120px); }
.beat.center { left: 0; right: 0; margin: 0 auto; text-align: center; padding-inline: 16px; }
.beat.you { top: 36%; }
.beat.you h2 { font-size: clamp(72px, 15vw, 230px); font-style: italic; font-weight: 400; color: var(--ink-day); text-shadow: 0 0 60px rgba(255, 255, 255, .9); }
.beat.you .hand { font-size: clamp(26px, 3vw, 40px); margin-top: 6px; text-shadow: none; }
.hud {
  position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
}
.hud .births b { font-weight: 700; font-variant-numeric: tabular-nums; }
.scrollcue { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.scrollcue i { width: 1px; height: 28px; background: currentColor; animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 640px) { .hud .scrollcue { display: none; } .beat { top: 26%; } }

/* ---------- shared section type ---------- */
.eyebrow { display: flex; gap: 12px; align-items: center; color: var(--sun-deep); margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 12px var(--sun-glow); }
.display { font-family: var(--display); font-weight: 300; letter-spacing: -.02em; line-height: 1.06; font-size: clamp(38px, 5.4vw, 84px); margin: 0 0 22px; }
.display em { font-style: italic; color: var(--sun-deep); }
.lede { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.6; max-width: 36em; color: var(--ink-dim); margin: 0; }
.lede b { color: var(--ink); font-weight: 500; }

/* ---------- 2. your number ---------- */
.number { position: relative; padding-block: 16vh 14vh; overflow: hidden;
  background: radial-gradient(60vw 50vw at 88% -10%, var(--sun-soft), transparent 70%), var(--air); }
.number-head { position: relative; max-width: 980px; }
.margin-note { position: absolute; right: -10px; top: 58%; transform: rotate(-4deg); font-size: 30px; }
@media (max-width: 1100px) { .margin-note { position: static; display: block; transform: rotate(-2deg); margin-top: 14px; } }

.finder { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px 20px; max-width: 920px; align-items: end; }
.finder > * { min-width: 0; }
.field label { display: block; color: var(--ink-dim); margin-bottom: 8px; }
.field input {
  width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; font-size: 22px; font-family: var(--serif); color: var(--ink);
  outline: none; transition: border-color .3s, box-shadow .3s;
}
.field input:focus { border-color: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); }
.btn {
  cursor: pointer; border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink);
  font-family: var(--sans); font-size: 16px; font-weight: 600; padding: 15px 24px; border-radius: 999px;
  transition: background .25s, border-color .25s, color .25s; white-space: nowrap; text-decoration: none; display: inline-block;
}
.btn:hover { background: var(--sun-deep); border-color: var(--sun-deep); color: var(--on-ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.privacy-note { margin-top: 18px; color: var(--ink-dim); display: flex; gap: 10px; align-items: flex-start; max-width: 640px; font-weight: 400; }
.privacy-note svg { flex: none; margin-top: 2px; }
@media (max-width: 760px) { .finder { grid-template-columns: 1fr; } .finder .btn { justify-self: start; } }

.reveal {
  margin-top: 64px; display: grid; grid-template-columns: minmax(280px, 500px) 1fr; gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.reveal > * { min-width: 0; }
.sigil-frame { position: relative; aspect-ratio: 1; max-width: 100%; background: var(--card); border-radius: 28px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(31, 37, 71, .25); overflow: hidden; }
.sigil-frame::before { content: ""; position: absolute; inset: auto -20% -45% -20%; height: 70%; background: radial-gradient(closest-side, var(--sun-soft), transparent); }
.sigil-frame canvas { position: relative; width: 100%; height: 100%; }
.sigil-frame .corner { position: absolute; color: var(--ink-dim); }
.sigil-frame .tl { top: 16px; left: 20px; }
.sigil-frame .br { bottom: 14px; right: 20px; font-size: 26px; }
.dayline { font-family: var(--display); font-weight: 300; font-size: clamp(36px, 4.6vw, 70px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 10px; }
.dayline em { color: var(--sun-deep); font-style: normal; font-variant-numeric: lining-nums tabular-nums; }
.idline { color: var(--ink-dim); margin: 0 0 28px; }
.idline b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 26px; }
.stats div { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.stats dt { color: var(--ink-dim); }
.stats dd { margin: 2px 0 0; font-family: var(--display); font-size: 26px; font-weight: 400; font-variant-numeric: lining-nums tabular-nums; }
.reveal .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.forget { background: none; border: 0; color: var(--ink-dim); text-decoration: underline; cursor: pointer; padding: 0; margin-top: 18px; }
@media (max-width: 860px) { .reveal { grid-template-columns: minmax(0, 1fr); } .stats dd { font-size: 21px; } }

/* ---------- 3. finds & words: an episode grid with thick bars, big images, clips ---------- */
.finds { padding-block: 12vh 10vh; background: var(--card); }
.finds-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.finds-top > * { min-width: 0; }
@media (max-width: 700px) { .finds-top { flex-wrap: wrap; } .wordmark { text-wrap: balance; font-size: 19vw; } .inset { width: 100%; aspect-ratio: 4 / 1; } }
.wordmark {
  margin: 0; font-family: var(--grot); font-weight: 500; letter-spacing: -.055em; line-height: .82;
  font-size: clamp(56px, 12.5vw, 220px); text-wrap: nowrap;
}
.inset { position: relative; flex: none; width: clamp(110px, 22vw, 400px); aspect-ratio: 3 / 1; overflow: hidden; border-radius: 6px; background: var(--ink); }
.inset img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: inset 16s infinite; }
.inset img:nth-child(2) { animation-delay: 4s; } .inset img:nth-child(3) { animation-delay: 8s; } .inset img:nth-child(4) { animation-delay: 12s; }
@keyframes inset { 0%, 100% { opacity: 0; transform: scale(1.06); } 4%, 25% { opacity: 1; } 29% { opacity: 0; transform: scale(1); } }
.inset b { position: absolute; right: 8px; bottom: -.12em; font-family: var(--grot); font-weight: 500; font-size: clamp(40px, 6vw, 110px); line-height: 1; letter-spacing: -.05em; color: #fff; mix-blend-mode: difference; }
.bar { display: block; height: 22px; background: var(--ink); position: relative; overflow: hidden; }
.bar.big { height: 26px; margin-top: 18px; }
.bar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--sun); transition: width .9s var(--ease); }
.finds-sub { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; padding-top: 10px; font-family: var(--grot); }
@media (max-width: 700px) { .finds-sub { grid-template-columns: 1fr; gap: 2px; } .hide-sm { display: none; } }

/* the reel: video moments from the posts, always moving */
.reel { margin-block: 48px 64px; overflow: hidden; }
.reel-track { display: flex; gap: 12px; width: max-content; animation: reel 70s linear infinite; }
.reel:hover .reel-track, .reel:focus-within .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-50%); } }
.reel-item { position: relative; display: block; width: clamp(200px, 22vw, 320px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; text-decoration: none; background: var(--ink); }
.reel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.reel-item:hover img { transform: scale(1.06); }
.reel-item .label { position: absolute; left: 10px; bottom: 8px; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); font-family: var(--grot); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 14px; }
.c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; } .c-8 { grid-column: span 8; }
@media (max-width: 900px) { .c-4 { grid-column: span 6; } .c-8 { grid-column: span 12; } }
@media (max-width: 600px) { .grid { row-gap: 40px; } .c-4, .c-6, .c-8 { grid-column: span 12; } }
.grid > * { min-width: 0; }

.meta { display: grid; grid-template-columns: minmax(7.5em, .8fr) minmax(0, 2fr) auto; gap: 12px; padding: 10px 0 16px; font-family: var(--grot); font-size: 15px; line-height: 1.3; }
.meta .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.meta .t { font-weight: 500; }
.meta .min { font-variant-numeric: tabular-nums; color: var(--ink-dim); }
.card { position: relative; }
.card-link { display: block; text-decoration: none; }
.card-link:hover .bar::after, .card-link:focus-visible .bar::after { width: 100%; }
.media { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--air-2); }
.media.wide { aspect-ratio: 16 / 10; } .media.tall { aspect-ratio: 4 / 5; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .7s, filter .7s; }
.media .still { opacity: 0; }
/* images rest in quiet monochrome and come to life, in color and motion, when you look closer */
@media (hover: hover) {
  .media img { filter: grayscale(1) contrast(1.05); }
  .card-link:hover .media img, .card-link:focus-visible .media img { filter: none; transform: scale(1.04); }
  .card.has-video .card-link:hover .still, .card.has-video .card-link:focus-visible .still { opacity: 1; animation: drift 6s var(--ease) both; }
}
@keyframes drift { from { transform: scale(1.12) translateX(-2%); } to { transform: scale(1.02) translateX(1%); } }
.under { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 12px; }
.under .ex { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-dim); max-width: 34em; }
.watch { flex: none; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--grot); }
.watch:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

.lead-voice { display: flex; flex-direction: column; }
.lead-voice blockquote { margin: auto 0 0; font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 86px); line-height: 1.02; letter-spacing: -.02em; }
.lead-voice blockquote em { color: var(--sun-deep); }
.lead-voice .hand { font-size: 30px; margin: 14px 0 0; align-self: flex-end; }
@media (max-width: 600px) { .lead-voice blockquote { margin-top: 20px; } }
.finds-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-dim); flex-wrap: wrap; font-family: var(--grot); }

@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; } .reel-track { animation: none; }
  .inset img { animation: none; } .inset img:first-child { opacity: 1; }
  .media img, .bar::after { transition: none; }
}

/* ---------- 4. signals ---------- */
.signals { padding-block: 12vh 14vh; background: var(--air-2); }
.signals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.signal { background: var(--card); border-radius: 22px; padding: 26px 26px 24px; display: flex; flex-direction: column; min-width: 0; }
.signal header { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.signal header b { display: block; font-family: var(--sans); font-weight: 600; font-size: 16px; }
.signal canvas { width: 46px; height: 46px; border-radius: 50%; background: var(--air); flex: none; }
.signal p { font-size: 21px; line-height: 1.45; margin: 0 0 16px; flex: 1; }
.signal footer { color: var(--ink-dim); }
.proto-tag { display: inline-block; border: 1px dashed currentColor; padding: 2px 10px; border-radius: 999px; color: var(--ink-dim); font-size: 13px; }
@media (max-width: 860px) { .signals-grid { grid-template-columns: 1fr; } }

/* ---------- 5. become 1: a morning sky full of readers ---------- */
.join { position: relative; overflow: hidden; padding-block: 16vh;
  background: var(--sky-band); }
.join canvas.sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.join .wrap { position: relative; }
.join-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.join-grid > * { min-width: 0; }
.join h2.display { font-size: clamp(56px, 8.5vw, 140px); margin-bottom: 18px; }
.join .lede { color: var(--ink); opacity: .8; }
.join-form { margin-top: 32px; display: grid; gap: 16px; max-width: 520px; }
.join-form[hidden] { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 400; }
.check input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.promises { list-style: none; padding: 26px; margin: 0; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 24px; display: grid; gap: 4px; }
.promises li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.promises li:last-child { border-bottom: 0; }
.promises svg { margin-top: 4px; color: var(--sun-deep); }
.promises b { font-weight: 500; display: block; font-size: 20px; line-height: 1.35; }
.promises span { color: var(--ink-dim); font-size: 17px; }
.joined { margin-top: 28px; padding: 22px 24px; background: var(--card); border-radius: 20px; max-width: 520px; }
.joined p { margin: 0; }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--foot-bg); color: var(--foot-fg); padding-block: 40px 100px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.foot .hand { color: var(--peach); font-size: 32px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-foot, #fff); }

/* ---------- post page ---------- */
.post-hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; padding-block: 0 9vh;
  background: var(--sky-band); }
.post-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-hero .wrap { position: relative; width: 100%; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-dim); margin-bottom: 22px; }
.post-meta b { color: var(--sun-deep); font-weight: 700; }
.post-title { font-family: var(--display); font-weight: 300; font-size: clamp(42px, 6.4vw, 104px); line-height: 1.04; letter-spacing: -.02em; margin: 0; max-width: 14em; }
.post-title i { color: var(--sun-deep); }
.post-sub { margin: 22px 0 0; max-width: 34em; font-size: clamp(19px, 1.6vw, 23px); color: var(--ink-dim); }
.you-were { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; }
.you-were .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 14px var(--sun); flex: none; }
.you-were a { color: var(--sun-deep); }

.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; }
.progress i { display: block; height: 100%; width: 0; background: var(--sun); box-shadow: 0 0 10px var(--sun-glow); }

.article { padding-block: 12vh 8vh; background: var(--card); }
.prose { max-width: 680px; margin: 0 auto; font-size: 20px; line-height: 1.72; position: relative; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.2; letter-spacing: -.01em; margin: 2.2em 0 .7em; }
.prose h2 .label { display: block; color: var(--sun-deep); margin-bottom: 8px; }
.prose .drop::first-letter { float: left; font-family: var(--display); font-size: 92px; line-height: .82; padding: 8px 12px 0 0; font-weight: 300; color: var(--sun-deep); }
.truth { margin: 2.4em -40px; padding: 36px 40px; background: var(--truth); border-radius: 26px; position: relative; }
.truth .label { color: var(--sun-deep); display: block; margin-bottom: 12px; }
.truth blockquote { margin: 0; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1.2; font-weight: 300; letter-spacing: -.01em; }
.truth p { margin: 14px 0 0; color: var(--ink-dim); font-size: 18px; }
.truth .hand { position: absolute; right: 26px; top: -22px; font-size: 28px; transform: rotate(-3deg); background: var(--card); padding: 2px 12px; border-radius: 10px; }
@media (max-width: 760px) { .truth { margin-inline: 0; padding: 30px 22px; } }
.coda { max-width: 680px; margin: 5em auto 0; padding: 26px; background: var(--air); border-radius: 24px; display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; }
.coda > * { min-width: 0; }
.coda canvas { width: 120px; height: 120px; }
.coda p { margin: 0; color: var(--ink-dim); font-size: 17px; }
.coda .hand { display: block; font-size: 34px; margin-bottom: 4px; }

.thread { padding-block: 6vh 14vh; background: var(--card); }
.thread-inner { max-width: 760px; margin: 0 auto; }
.thread h2 { font-family: var(--display); font-weight: 300; font-size: clamp(36px, 4.2vw, 58px); margin: 0 0 10px; letter-spacing: -.02em; }
.thread .intro { color: var(--ink-dim); margin: 0 0 34px; }
.cmt { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.cmt > * { min-width: 0; }
.cmt canvas { width: 48px; height: 48px; border-radius: 50%; background: var(--air); }
.cmt .who { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.cmt .who b { font-family: var(--sans); font-weight: 600; font-size: 17px; }
.cmt .who .label { color: var(--ink-dim); font-weight: 400; }
.cmt p { margin: 6px 0 10px; font-size: 19px; line-height: 1.55; }
.cmt .acts { display: flex; gap: 18px; }
.cmt .acts button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-dim); font-family: var(--sans); font-size: 14px; }
.cmt .acts button:hover { color: var(--sun-deep); }
.cmt.reply { margin-left: 64px; }
.composer { margin-top: 28px; border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; background: var(--air); }
.composer textarea { width: 100%; min-height: 110px; border: 0; resize: vertical; outline: none; background: transparent; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--ink); }
.composer .row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; }
.composer .row .label { color: var(--ink-dim); font-weight: 400; max-width: 34em; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8vh; }
.pager a { padding: 22px 24px; text-decoration: none; background: var(--air); border-radius: 20px; min-width: 0; }
.pager a:hover { background: var(--air-2); }
.pager a + a { text-align: right; }
.pager .label { color: var(--ink-dim); display: block; margin-bottom: 6px; }
.pager span.t { font-family: var(--display); font-size: 22px; line-height: 1.25; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scrollcue i { animation: none; }
}

/* ---------- hero: faces that lead to the pieces, and a way in from the first second ---------- */
.face {
  position: absolute; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  opacity: var(--face-a, 0); pointer-events: none; text-decoration: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 6px 20px rgba(31, 37, 71, .25);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.faces-on .face { pointer-events: auto; }
.face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.face .label {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap;
  background: var(--card); color: var(--ink); padding: 4px 10px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .2s; font-family: var(--grot);
}
.face:hover, .face:focus-visible { transform: scale(1.35); z-index: 3; box-shadow: 0 0 0 3px var(--sun), 0 10px 30px rgba(31, 37, 71, .3); }
.face:hover .label, .face:focus-visible .label { opacity: 1; }
@media (max-width: 700px) { .face { width: 44px; height: 44px; margin: -22px 0 0 -22px; } .face .label { display: none; } }

.hero-foot {
  position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px));
  bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap;
}
.tagline { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; max-width: 22em; }
.hero-acts { display: flex; align-items: center; gap: 16px; }
.hero-acts .btn { background: #fff; color: var(--ink-day); border-color: #fff; }
.hero-acts .btn:hover { background: var(--ink-day); color: #fff; border-color: var(--ink-day); }
.replay { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-decoration: underline; opacity: 0; pointer-events: none; transition: opacity .4s; }
.done .replay { opacity: .85; pointer-events: auto; }

/* ---------- who writes this ---------- */
.writer { padding-block: 12vh; background: var(--air-2); }
.writer-grid { display: grid; grid-template-columns: minmax(180px, 320px) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 200px 200px 24px 24px; border: 1px dashed var(--ink-dim); display: grid; place-items: center; text-align: center; padding: 20px; color: var(--ink-dim);
  background: radial-gradient(closest-side at 50% 85%, var(--sun-soft), transparent); }
.writer .hand { font-size: 34px; margin: 22px 0 0; }
@media (max-width: 700px) { .writer-grid { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 200px; } }

/* ---------- the welcome gift, shown before the ask ---------- */
.teaser { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 400; }
.teaser canvas { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--glass); }

/* ---------- type: two fonts ----------
   One sans for headlines, labels and buttons. The serif is only for reading. No handwriting face. */
:root { --display: var(--grot); --sans: var(--grot); --hand: var(--serif); }
.display, .beat h1, .beat h2, .dayline, .post-title, .thread h2, .lead-voice blockquote, .truth blockquote {
  font-weight: 500; letter-spacing: -.045em; line-height: 1.02;
}
.beat h2 { line-height: 1.08; }
.beat.you h2 { font-style: normal; font-weight: 600; letter-spacing: -.07em; }
.display em, .lead-voice blockquote em, .post-title i { font-style: normal; }
.tagline, .stats dd, .prose h2, .pager span.t { font-weight: 500; letter-spacing: -.02em; }
.brand b { font-weight: 600; letter-spacing: -.02em; }
.hand { font-style: italic; font-weight: 400; }
.margin-note, .truth .hand { transform: none; }
.sigil-frame .br, .lead-voice .hand, .margin-note { font-size: 21px; }
.foot .hand, .writer .hand, .coda .hand { font-size: 24px; }
.beat.you .hand { font-size: clamp(20px, 2vw, 28px); }

/* ---------- finds & words, simplified ----------
   Three picks in an even row, then one list of every piece. */
.finds-top { align-items: flex-end; }
.wordmark { font-size: clamp(44px, 7.5vw, 120px); line-height: .9; }
.finds-note { margin: 0; max-width: 20em; color: var(--ink-dim); font-size: 18px; line-height: 1.45; }
@media (max-width: 700px) { .wordmark { font-size: 15vw; } }
.list-h { margin: 56px 0 18px; color: var(--ink-dim); font-size: 15px; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .picks { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.pick a { display: block; text-decoration: none; }
.pick-meta { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0 6px; color: var(--ink-dim); }
.pick-meta span:first-child { color: var(--sun-deep); font-weight: 600; }
.pick-t { display: block; font-family: var(--grot); font-weight: 500; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -.02em; }
.pick .ex { display: block; margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--ink-dim); }
.pick a:hover .pick-t, .pick a:focus-visible .pick-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a {
  display: grid; grid-template-columns: 64px minmax(8em, 11em) minmax(0, 1fr) auto 4.5em; gap: 18px; align-items: center;
  padding: 12px 10px; margin-inline: -10px; border-radius: 12px; text-decoration: none;
  font-family: var(--grot); font-size: 16px; line-height: 1.3; transition: background .25s;
}
.rows a:hover, .rows a:focus-visible { background: var(--air); }
.rows img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.rows .num { color: var(--sun-deep); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rows .t { font-weight: 500; font-size: 18px; }
.rows .d, .rows .min { color: var(--ink-dim); white-space: nowrap; }
.rows .min { text-align: right; }
@media (max-width: 760px) {
  .rows a { grid-template-columns: 56px minmax(0, 1fr); gap: 2px 14px; }
  .rows img { grid-row: 1 / span 2; width: 56px; height: 56px; }
  .rows .d, .rows .min { display: none; }
}
@media (hover: hover) {
  .pick .media img, .rows img { filter: grayscale(1) contrast(1.05); transition: filter .5s, transform 1.2s var(--ease); }
  .pick a:hover .media img, .pick a:focus-visible .media img { filter: none; transform: scale(1.03); }
  .rows a:hover img, .rows a:focus-visible img { filter: none; }
}
.beat .odds { font-variant-numeric: normal; font-size: min(7.4vw, 104px); letter-spacing: -.055em; }

/* ---------- no pill boxes ----------
   The menu is plain words with a gold underline. Buttons are simple rectangles. */
.nav { color: var(--ink); transition: background .3s; }
body:has(.stage:not(.day)) .nav:not(.solid) { color: #fff; }
.nav.solid { background: var(--air); border-bottom: 1px solid var(--line); padding-bottom: 10px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.chip { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; border-radius: 0; color: inherit; }
.brand { padding: 6px 0; }
.nav ul { gap: 26px; align-items: center; }
.nav a.pill, .sky-chip { padding: 6px 0; border-bottom: 2px solid transparent; font-family: var(--grot); font-size: 16px; font-weight: 500; }
.nav a.pill:hover, .sky-chip:hover { background: none; border-bottom-color: var(--sun); }
.nav a.pill.cta, .nav a.pill.cta:hover { background: none; color: inherit; border-color: transparent; border-bottom-color: var(--sun); }
.nav a.pill.cta::after { content: " \2192"; }
@media (max-width: 480px) { .nav ul { gap: 18px; } }
.btn, .face .label { border-radius: 3px; }
