/* Loomtide studio site: night match under floodlights.
   The page is one over: six sections, 0.1 to 0.6, tracked in the top bar. */

:root {
  --night:   #060B1A;
  --night-2: #0A1430;
  --navy:    #10204A;
  --navy-2:  #17306A;
  --panel:   rgba(16, 32, 74, 0.72);
  --ink:     #F7F3E8;
  --ink-2:   #DCE3F2;
  --muted:   #9AA8C7;
  --line:    rgba(220, 227, 242, 0.16);
  --line-2:  rgba(220, 227, 242, 0.32);

  --gold:    #FFC83A;
  --amber:   #FF9F1C;
  --orange:  #FF6A1F;
  --teal:    #36D3C4;
  --ball:    #D7263D;
  --grass:   #2F8F46;
  --grass-2: #3AA455;
  --tide:    #8FD0BE;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --bar-h: 64px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 8px); }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- shared type ---------- */
.ball-no {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 10px;
}
.ball-no::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ball);
  box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.22);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 800; font-style: italic;
  text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 14px 0 0;
}
.h2 .hi { color: var(--gold); }
.lede { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 38em; margin: 18px 0 0; }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 20px; line-height: 1;
  color: #2A1600;
  padding: 15px 22px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #FFD95A 0%, var(--gold) 38%, var(--amber) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 0 rgba(160, 70, 0, 0.45),
    0 6px 0 #B85A0C,
    0 10px 24px rgba(255, 140, 20, 0.28);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(160,70,0,.4), 0 2px 0 #B85A0C, 0 4px 10px rgba(255,140,20,.2); }
.btn[disabled] { filter: saturate(0.4) brightness(0.85); cursor: progress; }
.btn-sm { font-size: 16px; padding: 10px 14px 9px; border-radius: 10px; box-shadow: inset 0 2px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(160,70,0,.45), 0 4px 0 #B85A0C; }
.btn-sm:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 1px 0 #B85A0C; }

/* ---------- top bar with the over tracker ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-h);
  background: linear-gradient(180deg, rgba(6, 11, 26, 0.92), rgba(6, 11, 26, 0.72));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--font-body); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 24px; flex: none; }
.brand svg path { stroke: var(--ink); }
.brand svg path.accent { stroke: var(--tide); }

.over {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 12px 7px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.over-count {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 22px; line-height: 1; min-width: 2.1ch; text-align: right;
  font-variant-numeric: tabular-nums;
}
.over-dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.over-dots a {
  display: block; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(220, 227, 242, 0.55);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.over-dots a.done { background: var(--teal); border-color: var(--teal); }
.over-dots a.now { background: var(--ball); border-color: #FF6B7D; transform: scale(1.18); box-shadow: 0 0 0 4px rgba(215, 38, 61, 0.25); }
.over-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 760px) {
  .over-label { display: none; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .over { gap: 9px; padding: 6px 10px; }
  .over-dots { gap: 5px; }
  .over-dots a { width: 10px; height: 10px; }
  .over-count { font-size: 19px; }
  .bar .btn-sm .long { display: none; }
}
@media (min-width: 561px) { .bar .btn-sm .short { display: none; } }

/* ---------- 0.1 hero: the ground at night ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--bar-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
/* sky, floodlight bloom and crowd haze */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 38% 30% at 8% 4%, rgba(255, 244, 214, 0.30), transparent 70%),
    radial-gradient(ellipse 38% 30% at 92% 4%, rgba(255, 244, 214, 0.26), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 62%, rgba(54, 211, 196, 0.10), transparent 70%),
    linear-gradient(180deg, #0B1838 0%, #0A1430 46%, #0B1A2E 62%, #0E2A1C 74%, #0B2215 100%);
}
/* the outfield: mowing stripes in perspective */
.hero::after {
  content: ''; position: absolute; left: -20%; right: -20%; bottom: 0; height: 42%; z-index: -1;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(6, 11, 26, 0) 38%),
    repeating-linear-gradient(90deg, rgba(58, 164, 85, 0.20) 0 70px, rgba(47, 143, 70, 0.08) 70px 140px);
  transform: perspective(600px) rotateX(58deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 40%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%);
}
.lights {
  position: absolute; top: calc(var(--bar-h) + 18px); width: 120px; height: 46px; z-index: -1;
  background-image: radial-gradient(circle, #FFF8E2 0 2.4px, transparent 3px);
  background-size: 15px 15px;
  filter: drop-shadow(0 0 8px rgba(255, 240, 200, 0.9));
  opacity: 0.85;
}
.lights.l { left: 4%; transform: rotate(-6deg); }
.lights.r { right: 4%; transform: rotate(6deg); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.kicker {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.kicker b { color: var(--tide); font-weight: 500; }
.kicker .sep { width: 18px; height: 1px; background: var(--line-2); }
.kicker .k-plat { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 560px) { .kicker .k-plat { display: none; } }

.wordmark {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 900; font-style: italic;
  text-transform: uppercase;
  font-size: clamp(76px, 13.5vw, 178px);
  line-height: 0.82;
  letter-spacing: -0.005em;
}
.wordmark span {
  display: block;
  background: linear-gradient(180deg, #FFF1B8 0%, var(--gold) 34%, var(--amber) 72%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 5px 0 #7A2E05) drop-shadow(0 16px 26px rgba(255, 120, 20, 0.25));
  padding-right: 0.06em;
}
.wordmark span + span { margin-left: 0.42em; }
.tagline {
  font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.05; letter-spacing: 0.01em;
  margin: 26px 0 0;
}
.tagline em { font-style: inherit; color: var(--teal); }
.hero .lede { margin-top: 12px; }

/* ---------- waitlist form ---------- */
.wl { margin-top: 28px; max-width: 520px; }
.wl-row {
  display: flex; gap: 10px;
  padding: 7px;
  background: rgba(6, 11, 26, 0.65);
  border: 1px solid var(--line-2);
  border-radius: 16px;
}
.wl input[type=email] {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--ink); font: 500 17px/1.2 var(--font-body);
  padding: 0 10px 0 12px;
}
.wl input[type=email]::placeholder { color: #7F8CAB; }
.wl-row:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 200, 58, 0.18); }
.wl .btn { flex: none; }
.wl-fine { margin: 12px 2px 0; font-size: 13.5px; color: var(--muted); }
.wl-fine a { color: var(--ink-2); }
.wl-err { margin: 10px 2px 0; font-size: 14px; color: #FF9AA6; }
.wl-done {
  display: none;
  align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(54, 211, 196, 0.16), rgba(54, 211, 196, 0.06));
  border: 1px solid rgba(54, 211, 196, 0.45);
}
.wl-done .six {
  flex: none;
  font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 26px; line-height: 1; color: var(--gold);
  background: var(--navy); padding: 8px 10px 6px; border-radius: 6px;
  transform: rotate(-4deg);
}
.wl-done p { margin: 0; font-size: 15.5px; }
.wl.is-done .wl-row, .wl.is-done .wl-fine { display: none; }
.wl.is-done .wl-done { display: flex; animation: pop 0.45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(0.94); opacity: 0; } }
.platforms {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: 14px; color: var(--ink-2);
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(220, 227, 242, 0.08); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
}
.chip svg { width: 14px; height: 14px; fill: currentColor; }

@media (max-width: 480px) {
  .wl-row { flex-direction: column; padding: 8px; }
  .wl input[type=email] { padding: 12px 10px; }
  .wl .btn { width: 100%; }
}

/* ---------- playtest (Discord) ---------- */
.pt {
  margin-top: 22px; max-width: 520px;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px 12px 12px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.22), rgba(88, 101, 242, 0.08));
  border: 1px solid rgba(88, 101, 242, 0.55);
  color: var(--ink); text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.pt:hover { border-color: #8E96F8; background: linear-gradient(180deg, rgba(88, 101, 242, 0.32), rgba(88, 101, 242, 0.12)); }
.pt-logo { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: #5865F2; fill: #fff; }
.pt-txt { display: grid; gap: 3px; min-width: 0; text-align: left; }
.pt-txt b { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 19px; line-height: 1.05; letter-spacing: 0.02em; }
.pt-txt span { font-size: 14px; color: var(--ink-2); }
.pt-go { flex: none; margin-left: auto; padding-left: 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #B4BAFF; white-space: nowrap; }
@media (max-width: 480px) {
  .pt { align-items: flex-start; }
  .pt-go { display: none; }
}

/* ---------- phone frame ---------- */
.stage { position: relative; display: grid; place-items: center; }
.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 540 / 1174;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(145deg, #2A3557, #0E1530 40%, #1C2748);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 0 0 0 2px rgba(0, 0, 0, 0.6),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(54, 211, 196, 0.14);
}
.phone .screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 34px; overflow: hidden; background: #000;
}
.phone .screen video, .phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .island {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 22px; border-radius: 12px; background: #000; z-index: 2;
}
.tag {
  position: absolute; z-index: 3;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 7px;
  background: rgba(6, 11, 26, 0.86); border: 1px solid var(--line-2); color: var(--ink);
  white-space: nowrap;
}
.tag::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ball); margin-right: 7px; vertical-align: 1px;
}
.tag.concept::before { background: var(--gold); }
.stage .tag { left: 50%; bottom: -14px; transform: translateX(-50%); }

/* a ball with a speed trail, crossing behind the phone on load */
.streak {
  position: absolute; z-index: -1; top: 30%; right: 58%;
  width: min(420px, 60vw); height: 16px;
  transform: rotate(-14deg);
  pointer-events: none;
}
.streak::before {
  content: ''; position: absolute; inset: 3px 12px 3px 0; border-radius: 10px;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 120, 0.55) 70%, rgba(255, 255, 255, 0.9));
  filter: blur(1px);
}
.streak::after {
  content: ''; position: absolute; right: 0; top: -4px; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FF6A78, var(--ball) 55%, #7A0E1C);
  box-shadow: 0 0 18px rgba(255, 90, 100, 0.6);
}

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .stage { margin-top: 18px; }
  .streak { right: auto; left: -10%; top: 18%; }
  .lights { width: 80px; height: 32px; }
}

/* ---------- section scaffolding ---------- */
.sec { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; }

/* ---------- 0.2 the game ---------- */
.game { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.feats {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
  list-style: none; padding: 0;
}
.feat {
  grid-column: span 2;
  position: relative;
  padding: 22px 22px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 48, 106, 0.55), rgba(16, 32, 74, 0.35));
  border: 1px solid var(--line);
  overflow: hidden;
}
.feat.wide { grid-column: span 3; }
.feat .n {
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: 15px; letter-spacing: 0.04em; color: var(--muted);
}
.feat h3 {
  font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: 30px; line-height: 0.98; margin: 10px 0 10px;
}
.feat p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.feat .glyph { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; opacity: 0.9; }
.feat.timing { background: linear-gradient(160deg, rgba(255, 159, 28, 0.20), rgba(16, 32, 74, 0.35) 60%); border-color: rgba(255, 200, 58, 0.35); }
.meter {
  margin-top: 18px; height: 14px; border-radius: 7px; position: relative;
  background: linear-gradient(90deg, #1B2C5C 0 44%, #2FAE56 44% 56%, #1B2C5C 56%);
  box-shadow: inset 0 0 0 2px #0A1430;
}
.meter::after {
  content: ''; position: absolute; top: -5px; bottom: -5px; width: 4px; border-radius: 2px;
  background: #fff; box-shadow: 0 0 8px #fff;
  left: 6%;
  animation: sweep 2.6s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
@keyframes sweep { to { left: 92%; } }

@media (max-width: 900px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat, .feat.wide { grid-column: span 1; }
  .feat.timing { grid-column: span 2; }
}
@media (max-width: 560px) {
  .feats { grid-template-columns: 1fr; }
  .feat, .feat.wide, .feat.timing { grid-column: auto; }
}

/* ---------- 0.3 screens ---------- */
.screens { background: var(--night-2); overflow: hidden; }
.reel {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex; gap: clamp(18px, 3vw, 36px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 26px var(--gutter) 34px;
  margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
  scrollbar-width: thin; scrollbar-color: var(--navy-2) transparent;
}
.reel figure { margin: 0; flex: none; scroll-snap-align: center; position: relative; }
.reel .phone { width: min(260px, 66vw); }
.reel figcaption { margin-top: 26px; font-size: 14.5px; color: var(--ink-2); max-width: 260px; }
.reel figcaption b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 20px; color: var(--ink); letter-spacing: 0.01em; }
.reel .tag { left: 50%; top: -12px; transform: translateX(-50%); }
.phone.ghost { background: transparent; box-shadow: none; border: 2px dashed var(--line-2); }
.phone.ghost .screen { background: rgba(16, 32, 74, 0.35); display: grid; place-items: center; text-align: center; }
.phone.ghost .screen span { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; color: var(--muted); padding: 0 20px; }
.note { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 46em; }

/* ---------- 0.4 the studio ---------- */
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.slate { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.slot {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(16, 32, 74, 0.35);
}
.slot .num { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 34px; line-height: 1; color: var(--muted); width: 1.6ch; }
.slot .t, .slot .s { display: block; }
.slot .t { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 26px; line-height: 1; }
.slot .s { font-size: 14px; color: var(--muted); margin-top: 4px; }
.slot .st { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.slot.live { border-color: rgba(255, 200, 58, 0.5); background: linear-gradient(90deg, rgba(255, 159, 28, 0.16), rgba(16, 32, 74, 0.35)); }
.slot.live .num { color: var(--gold); }
.slot.live .st { border-color: rgba(255, 200, 58, 0.6); color: var(--gold); }
.slot.locked .t { color: var(--muted); }
.slot.locked { border-style: dashed; }

@media (max-width: 900px) { .studio-grid { grid-template-columns: 1fr; } }

/* ---------- 0.5 also from Loomtide ---------- */
.gf {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 20px;
  background: #15181B;
  border: 1px solid rgba(178, 214, 204, 0.28);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.gf:hover { border-color: var(--tide); transform: translateY(-2px); }
.gf svg { width: 54px; height: 38px; }
.gf .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tide); }
.gf .t { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; line-height: 1.15; }
.gf .d { color: #B9BEC2; margin-top: 8px; font-size: 15.5px; }
.gf .go { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tide); white-space: nowrap; }
@media (max-width: 720px) {
  .gf { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- 0.6 last ball ---------- */
.last {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 200, 58, 0.14), transparent 70%),
    linear-gradient(180deg, var(--night-2), var(--night));
}
.last .sec-head { margin: 0 auto; }
.last .h2 { font-size: clamp(52px, 9vw, 116px); }
.last .lede { margin-left: auto; margin-right: auto; }
.last .wl { margin-left: auto; margin-right: auto; text-align: left; }
.last .platforms { justify-content: center; }
.last .pt { margin: 30px auto 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.foot .brand { font-size: 17px; color: var(--ink); }
.foot .brand svg { width: 28px; height: 20px; }
.foot .brand small { font-weight: 400; color: var(--muted); font-size: 14px; letter-spacing: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

/* ---------- motion ---------- */
.rise { opacity: 0; transform: translateY(18px); animation: rise 0.8s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.wordmark span { opacity: 0; transform: translateX(-30px) skewX(-8deg); animation: slam 0.7s cubic-bezier(.2, 1.2, .3, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes slam { to { opacity: 1; transform: none; } }
.streak { opacity: 0; animation: fly 1.1s cubic-bezier(.2, .7, .2, 1) 0.6s forwards; }
@keyframes fly { from { opacity: 0; transform: translateX(-120px) rotate(-14deg); } to { opacity: 1; transform: rotate(-14deg); } }

.reveal-on [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .wordmark span, .streak { animation: none; opacity: 1; transform: none; }
  .streak { transform: rotate(-14deg); }
  .meter::after { animation: none; left: 49%; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
}
