/* BLINK — myheybuddy.com */
:root {
  --bg: #07060b;
  --bg-2: #0d0a14;
  --surface: #120f1b;
  --surface-2: #1a1626;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f6f4fa;
  --muted: #a7a1b6;
  --dim: #6f6982;
  --lime: #b8f34b;
  --lime-deep: #86d83c;
  --pink: #ff4d94;
  --violet: #8a5cff;
  --amber: #ffb21e;
  --ease: cubic-bezier(.22, .8, .16, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r-lg: 36px;
  --r-md: 24px;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "ss01", "cv11";
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--lime); color: #0b0a05; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

/* film grain over everything, very subtle */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 12px var(--lime);
}
.eyebrow.amber::before { background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: beacon 1.1s ease-in-out infinite; }
@keyframes beacon { 50% { opacity: .25; box-shadow: 0 0 0 var(--amber); } }

.h-xl, .h-lg, .h-md {
  margin: 0; font-weight: 600; letter-spacing: -.045em; line-height: .94; text-wrap: balance;
}
.h-xl { font-size: clamp(54px, 10.4vw, 156px); }
.h-lg { font-size: clamp(42px, 6.6vw, 96px); }
.h-col { font-size: clamp(40px, 5.4vw, 80px); }
.h-md { font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -.035em; line-height: 1; }
.lime { color: var(--lime); }
.muted { color: var(--muted); }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 34em; text-wrap: pretty; margin: 0; }

/* line mask reveal */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: var(--text); --fg-btn: #0a0910;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 560; font-size: 16px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--ease), background .3s, box-shadow .4s;
  will-change: transform;
}
.btn:hover { box-shadow: 0 10px 40px -10px rgba(184, 243, 75, .55); }
.btn:active { transform: scale(.97); }
.btn-lime { --bg-btn: var(--lime); }
.btn-ghost { --bg-btn: rgba(255, 255, 255, .06); --fg-btn: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { --bg-btn: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn .play {
  width: 22px; height: 22px; border-radius: 50%; background: var(--text); display: grid; place-items: center;
}
.btn .play::before { content: ""; border-left: 7px solid #0a0910; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; margin-left: 2px; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: transform .6s var(--ease);
}
.nav-inner {
  margin: 12px auto 0; max-width: calc(var(--max) - 2 * var(--pad) + 24px); width: calc(100% - 24px);
  height: 60px; padding: 0 10px 0 20px; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: background .5s, box-shadow .5s, backdrop-filter .5s;
}
.nav.scrolled .nav-inner {
  background: rgba(14, 11, 21, .62);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -20px rgba(0, 0, 0, .6);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.nav.hide { transform: translateY(-110%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: .02em; font-size: 18px; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 50%; background: var(--lime);
  position: relative; display: inline-block; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15);
}
.logo-mark::before, .logo-mark::after {
  content: ""; position: absolute; top: 9px; width: 4px; height: 7px; border-radius: 3px; background: #0b0a05;
  animation: logo-blink 4.2s infinite;
}
.logo-mark::before { left: 7.5px; }
.logo-mark::after { right: 7.5px; }
@keyframes logo-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted);
  transition: color .3s, background .3s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.pill-status {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px; border-radius: 999px;
  background: var(--lime); color: #0b0a05; font-size: 14px; font-weight: 600;
}
.pill-status i { width: 7px; height: 7px; border-radius: 50%; background: #0b0a05; animation: beacon 1.4s infinite; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.06); }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--text); margin: 4px auto; transition: transform .4s var(--ease); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .pill-status { height: 36px; font-size: 13px; padding: 0 12px; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: rgba(7, 6, 11, .96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 0 28px; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mobile-menu a { font-size: 44px; font-weight: 600; letter-spacing: -.04em; padding: 4px 0; transform: translateY(16px); transition: transform .6s var(--ease); }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.menu-open .mobile-menu a { transform: none; }
.menu-open .menu-btn span:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(100svh, 720px);
  display: flex; align-items: center;
  padding: 96px 0 40px; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg canvas { width: 100%; height: 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 55% at 74% 62%, rgba(138, 92, 255, .26), transparent 70%),
    radial-gradient(30% 22% at 74% 92%, rgba(184, 243, 75, .12), transparent 70%),
    linear-gradient(180deg, transparent 0%, transparent 75%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; position: relative; z-index: 2; }
.hero-copy .h-xl { font-size: clamp(54px, 7.6vw, 124px); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.hero-stage { position: relative; width: 100%; max-width: 620px; justify-self: center; z-index: 1; aspect-ratio: 1283 / 1226; }
.hero-stage .reflect {
  position: absolute; left: 50%; bottom: -8%; width: 110%; height: 16%; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(184, 243, 75, .3), transparent 70%);
  filter: blur(20px); z-index: -1;
}
@media (max-width: 860px) {
  .hero { padding-top: 110px; align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { align-items: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stage { max-width: 420px; width: 88%; }
}

/* hero entrance (uses translate/scale so JS parallax can own transform) */
.js .hero .line > span { translate: 0 110%; transition: translate 1.3s var(--ease); }
.js .hero .line:nth-child(2) > span { transition-delay: .09s; }
.js .hero-in { opacity: 0; translate: 0 16px; transition: opacity 1s var(--ease) .5s, translate 1.1s var(--ease) .5s; }
.js .hero-copy .eyebrow.hero-in { transition-delay: .05s; }
.js .hero-stage { opacity: 0; translate: 0 90px; scale: .9; transition: opacity 1.2s var(--ease) .35s, translate 1.6s var(--ease) .35s, scale 1.6s var(--ease) .35s; }
.loaded .hero .line > span { translate: 0 0; }
.loaded .hero-in { opacity: 1; translate: 0 0; }
.loaded .hero-stage { opacity: 1; translate: 0 0; scale: 1; }

/* the Dino body with a live face */
.buddy { position: relative; width: 100%; aspect-ratio: 1283 / 1226; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.buddy img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.buddy .face-slot {
  position: absolute; left: calc(329 / 1283 * 100%); top: calc(271 / 1226 * 100%);
  width: calc(600 / 1283 * 100%); height: calc(600 / 1226 * 100%);
}
.buddy .gloss {
  position: absolute; left: calc(329 / 1283 * 100%); top: calc(271 / 1226 * 100%);
  width: calc(600 / 1283 * 100%); height: calc(600 / 1226 * 100%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(60% 40% at 38% 18%, rgba(255, 255, 255, .22), transparent 60%);
  mix-blend-mode: screen;
}
.buddy-float { animation: float 6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.buddy.squish { animation: squish .7s var(--ease); }
@keyframes squish {
  0% { transform: scale(1, 1); } 25% { transform: scale(1.06, .92); } 50% { transform: scale(.96, 1.05) translateY(-10px); }
  75% { transform: scale(1.02, .98); } 100% { transform: scale(1, 1); }
}

/* face expressions */
.blink-face { width: 100%; height: 100%; overflow: visible; }
.blink-face .f-happy, .blink-face .f-squeeze, .blink-face .f-sleepy,
.blink-face .f-mo, .blink-face .f-msmile, .blink-face .f-msad, .blink-face .f-mflat { opacity: 0; transition: opacity .2s; }
.blink-face .f-open, .blink-face .f-mopen { transition: opacity .2s, transform .35s var(--ease); }
.blink-face .f-brow-l, .blink-face .f-brow-r { transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease); }
.blink-face .f-cheeks { transition: opacity .4s; }
.blink-face .f-eye { transition: transform .35s var(--ease); }

.blink-face.is-happy .f-open, .blink-face.is-rock .f-open, .blink-face.is-sleepy .f-open { opacity: 0; }
.blink-face.is-happy .f-happy { opacity: 1; }
.blink-face.is-rock .f-squeeze { opacity: 1; }
.blink-face.is-sleepy .f-sleepy { opacity: 1; }
.blink-face.is-wow .f-mopen, .blink-face.is-rock .f-mopen { opacity: 0; }
.blink-face.is-wow .f-mo, .blink-face.is-rock .f-mo { opacity: 1; }
.blink-face.is-wow .f-brow-l, .blink-face.is-listen .f-brow-l { transform: translateY(-22px) rotate(-6deg); }
.blink-face.is-wow .f-brow-r, .blink-face.is-listen .f-brow-r { transform: translateY(-22px) rotate(6deg); }
.blink-face.is-listen .f-eye { transform: scale(1.08); }
.blink-face.is-think .f-mopen, .blink-face.is-cool .f-mopen { opacity: 0; }
.blink-face.is-think .f-mflat { opacity: 1; }
.blink-face.is-think .f-brow-l { transform: translateY(-26px) rotate(-10deg); }
.blink-face.is-cool .f-msmile { opacity: 1; }
.blink-face.is-cool .f-eye { transform: scaleY(.62) translateY(14px); }
.blink-face.is-cool .f-brow-l { transform: translateY(18px) rotate(8deg); }
.blink-face.is-cool .f-brow-r { transform: translateY(18px) rotate(-8deg); }
.blink-face.is-sleepy .f-mopen { opacity: 0; }
.blink-face.is-sleepy .f-msad { opacity: 1; }
.blink-face.is-sleepy .f-brow-l { transform: translateY(6px) rotate(14deg); }
.blink-face.is-sleepy .f-brow-r { transform: translateY(6px) rotate(-14deg); }
.blink-face.is-rock .f-brow-l { transform: translateY(14px) rotate(16deg); }
.blink-face.is-rock .f-brow-r { transform: translateY(14px) rotate(-16deg); }
.blink-face.is-happy .f-cheeks { opacity: 1.6; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--dim); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 3;
}
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--dim), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--text); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- statement (scroll text) ---------- */
.statement { padding: clamp(120px, 18vw, 220px) 0 clamp(80px, 12vw, 160px); }
.statement p {
  margin: 0; font-size: clamp(30px, 4.6vw, 66px); line-height: 1.08; letter-spacing: -.035em; font-weight: 560;
  max-width: 19ch; text-wrap: balance;
}
.statement .w { opacity: .14; transition: opacity .25s linear; }
.statement .w.on { opacity: 1; }
.statement .w.hl.on { color: var(--lime); }
.statement .chip-inline {
  display: inline-block; vertical-align: -0.08em; width: .9em; height: .9em; border-radius: 50%;
  background: url(../img/faces/dino-live.webp) center/cover; margin: 0 .08em; box-shadow: 0 0 0 .06em rgba(255,255,255,.1);
}

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head.center { align-items: center; text-align: center; }
.sec-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* ---------- construction ---------- */
.build {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 60% at 80% 0%, rgba(138, 92, 255, .22), transparent 60%),
    radial-gradient(50% 50% at 10% 10%, rgba(255, 178, 30, .08), transparent 60%),
    linear-gradient(180deg, #120d1f, #0b0813);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tape {
  position: absolute; left: -4%; right: -4%; top: 22px; height: 34px; z-index: 3;
  transform: rotate(-1.6deg);
  background: var(--amber);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
  overflow: hidden; display: flex; align-items: center;
}
.tape::before, .tape::after {
  content: ""; position: absolute; left: 0; right: 0; height: 5px;
  background: repeating-linear-gradient(-45deg, #120d05 0 10px, transparent 10px 20px);
}
.tape::before { top: 0; }
.tape::after { bottom: 0; }
.tape-track { display: flex; white-space: nowrap; animation: tape 26s linear infinite; }
.tape-track span { font-family: var(--mono); font-weight: 600; font-size: 12.5px; letter-spacing: .16em; color: #140f05; padding: 0 18px; }
.tape-track span::after { content: "\25CF"; margin-left: 36px; font-size: 8px; vertical-align: 2px; }
@keyframes tape { to { transform: translateX(-50%); } }

.build-top {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end;
  padding: clamp(96px, 10vw, 120px) clamp(24px, 5vw, 64px) 0;
}
.build-top .h-lg { margin: 18px 0 18px; max-width: 10ch; }
.notify { display: flex; gap: 8px; margin-top: 28px; max-width: 460px; }
.notify input {
  flex: 1; min-width: 0; height: 52px; border-radius: 999px; padding: 0 22px; font: inherit; font-size: 16px; color: var(--text);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); outline: none; transition: border-color .3s, background .3s;
}
.notify input::placeholder { color: var(--dim); }
.notify input:focus { border-color: var(--lime); background: rgba(255, 255, 255, .07); }
.notify-done { display: none; align-items: center; gap: 12px; margin-top: 28px; height: 52px; font-weight: 520; }
.notify-done b { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; color: #0b0a05; }
.sent .notify { display: none; }
.sent .notify-done { display: inline-flex; animation: pop .6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.fine { font-size: 13px; color: var(--dim); margin: 14px 0 0; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd {
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line); border-radius: 20px;
  padding: 18px 8px 14px; text-align: center;
}
.cd-num { font-family: var(--mono); font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.04em; line-height: 1; height: 1em; overflow: hidden; position: relative; font-variant-numeric: tabular-nums; }
.cd-num span { display: block; }
.cd-num span.leave { position: absolute; left: 0; right: 0; top: 0; animation: cd-out .6s var(--ease) forwards; }
.cd-num span.enter { animation: cd-in .6s var(--ease); }
@keyframes cd-out { to { transform: translateY(-100%); } }
@keyframes cd-in { from { transform: translateY(100%); } }
.cd-lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-top: 10px; }
.progress { margin-top: 18px; }
.progress-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.progress-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; position: relative; }
.progress-bar i {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, #ffc955 10px 20px);
  background-size: 28px 28px; animation: stripes 1s linear infinite; transition: width 2s var(--ease);
}
@keyframes stripes { to { background-position: 28px 0; } }

.scene-wrap { position: relative; margin-top: clamp(24px, 4vw, 40px); }
.scene { width: 100%; height: auto; display: block; }
.build-top > * { min-width: 0; }
@media (max-width: 560px) {
  .notify { flex-direction: column; }
  .notify input { flex: none; }
  .notify .btn { width: 100%; }
  .cd { padding: 14px 4px 12px; border-radius: 16px; }
}
@media (max-width: 860px) {
  .build-top { grid-template-columns: 1fr; }
  .scene-wrap { overflow: hidden; }
  .scene { width: 190%; max-width: none; animation: pan 16s ease-in-out infinite alternate; }
}

@keyframes pan { 0%, 12% { transform: translateX(0); } 88%, 100% { transform: translateX(-47.4%); } }
/* scene animation */
.scene .move { animation: dozer 4.4s var(--ease-io) infinite; }
@keyframes dozer { 0%, 100% { transform: translateX(0); } 48%, 56% { transform: translateX(46px); } }
.scene .bob { animation: bob .34s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-2.2px); } }
.scene .spin { animation: wheel 4.4s var(--ease-io) infinite; }
.scene .spin-s { animation: wheel-s 4.4s var(--ease-io) infinite; }
@keyframes wheel { 0%, 100% { transform: rotate(0); } 48%, 56% { transform: rotate(120deg); } }
@keyframes wheel-s { 0%, 100% { transform: rotate(0); } 48%, 56% { transform: rotate(203deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.scene .tread { animation: tread 4.4s var(--ease-io) infinite; }
@keyframes tread { 0%, 100% { stroke-dashoffset: 0; } 48%, 56% { stroke-dashoffset: -46; } }
.scene .smoke circle { transform-box: fill-box; transform-origin: center; animation: smoke 2.4s ease-out infinite; opacity: 0; }
.scene .smoke circle:nth-child(2) { animation-delay: .8s; }
.scene .smoke circle:nth-child(3) { animation-delay: 1.6s; }
@keyframes smoke {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  15% { opacity: .55; }
  100% { opacity: 0; transform: translate(-28px, -70px) scale(1.9); }
}
.scene .beacon-glow { animation: beacon-glow 1.1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes beacon-glow { 50% { opacity: .15; transform: scale(.7); } }
.scene .pile { transform-box: fill-box; transform-origin: 0% 100%; animation: pile 4.4s var(--ease-io) infinite; }
@keyframes pile { 0%, 100% { transform: translateX(0) scaleY(1); } 48%, 56% { transform: translateX(40px) scaleY(1.08); } }
.scene .dirt circle { opacity: 0; animation: dirt 4.4s ease-out infinite; }
.scene .dirt circle:nth-child(2) { animation-delay: .08s; }
.scene .dirt circle:nth-child(3) { animation-delay: .16s; }
.scene .dirt circle:nth-child(4) { animation-delay: .05s; }
.scene .dirt circle:nth-child(5) { animation-delay: .12s; }
@keyframes dirt {
  0%, 40% { opacity: 0; transform: translate(0, 0); }
  44% { opacity: 1; }
  62% { opacity: 0; transform: translate(var(--dx), var(--dy)); }
  100% { opacity: 0; }
}
.scene .sway { animation: sway 3.6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(2.4deg); } 50% { transform: rotate(-2.4deg); } }
.scene .wave { animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(10deg); } }
.scene .hop { animation: hop 1.6s ease-in-out infinite; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.scene .eyes { transform-box: fill-box; transform-origin: center; animation: sblink 3.8s infinite; }
.scene .eyes.b { animation-delay: 1.3s; animation-duration: 4.6s; }
@keyframes sblink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.scene .twinkle { animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .15; } }
.scene .win { animation: twinkle 5s ease-in-out infinite; }
.scene .trolley { animation: trolley 9s var(--ease-io) infinite; }
@keyframes trolley { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-26px); } }

/* ---------- hey buddy ---------- */
.talk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.screen {
  position: relative; width: min(500px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(closest-side, #1f1a2b, #0d0b13);
  padding: 7%;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -40px rgba(138, 92, 255, .45);
}
.screen::before {
  content: ""; position: absolute; inset: 3.4%; border-radius: 50%;
  background: linear-gradient(160deg, #a7ec4a, #5fb92f);
  box-shadow: inset 0 6px 14px rgba(255, 255, 255, .35), inset 0 -10px 20px rgba(0, 0, 0, .25);
}
.screen .face-slot { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 3px rgba(0,0,0,.18), 0 0 0 2px rgba(0,0,0,.25); }
.screen .rings { position: absolute; inset: 0; pointer-events: none; }
.screen .rings i {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lime); opacity: 0;
}
.screen.listening .rings i { animation: ring 1.8s var(--ease) infinite; }
.screen.listening .rings i:nth-child(2) { animation-delay: .6s; }
.screen.listening .rings i:nth-child(3) { animation-delay: 1.2s; }
@keyframes ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.32); } }
.dots { position: absolute; left: 50%; top: -8%; transform: translateX(-50%); display: flex; gap: 8px; padding: 12px 16px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); opacity: 0; transition: opacity .3s; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--text); animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-5px); opacity: .4; } }
.screen.thinking .dots { opacity: 1; }

.convo { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; min-height: 230px; }
.bubble {
  max-width: 400px; padding: 16px 20px; border-radius: 24px; font-size: 18px; line-height: 1.4; letter-spacing: -.01em;
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.bubble.show { opacity: 1; transform: none; }
.bubble.you { align-self: flex-end; background: var(--text); color: #0b0a10; border-bottom-right-radius: 8px; }
.bubble.bot { align-self: flex-start; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 8px; }
.bubble .who { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; margin-bottom: 4px; }
.steps { display: flex; gap: 6px; margin-top: 30px; }
.step {
  flex: 1; text-align: left; padding: 14px 0 0; border-top: 2px solid var(--line-2); color: var(--dim);
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; position: relative; transition: color .3s;
}
.step::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--lime); }
.step.on { color: var(--text); }
.step.on::before { width: 100%; transition: width var(--dur, 2.6s) linear; }
.step.done::before { width: 100%; }
.small-note { font-size: 13.5px; color: var(--dim); margin-top: 22px; max-width: 34em; }
@media (max-width: 860px) { .talk-grid { grid-template-columns: 1fr; } .convo { min-height: 0; } }

/* ---------- dance ---------- */
.dance {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(80% 70% at 50% 110%, rgba(255, 77, 148, .22), transparent 60%), linear-gradient(180deg, #110c1c, #0a0811);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; min-height: 640px;
}
.dance .h-lg { margin: 18px 0 20px; }
.genres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.genre {
  height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted);
  transition: background .3s, color .3s, box-shadow .3s, transform .4s var(--ease);
}
.genre:hover { color: var(--text); }
.genre[aria-pressed="true"] { background: var(--text); color: #0b0a10; box-shadow: none; }
.dance-stage { position: relative; height: 100%; min-height: 460px; display: grid; place-items: center; }
.dance-stage .buddy { width: min(400px, 78%); }
.eq { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; display: flex; align-items: flex-end; justify-content: center; gap: 6px; opacity: .55; z-index: 0; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
.eq i { flex: 1; max-width: 14px; border-radius: 8px 8px 0 0; background: linear-gradient(var(--pink), var(--violet)); height: 20%; transform-origin: bottom; transition: height .12s linear; }
.now-playing {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(20, 16, 30, .7); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(12px);
  font-size: 14px; white-space: nowrap;
}
.now-playing .disc { width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(from 0deg, var(--pink), var(--violet), var(--lime), var(--pink)); animation: spin 3s linear infinite; position: relative; }
.now-playing .disc::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #120f1b; }
.now-playing small { color: var(--dim); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.dancer { position: relative; z-index: 2; width: 100%; display: grid; place-items: center; }
.dance-screen { width: min(420px, 86%); }
.dancer.g-rap > .buddy { animation: d-rap .52s ease-in-out infinite; }
@keyframes d-rap { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(10px) rotate(-2deg) scaleY(.97); } }
.dancer.g-pop > .buddy { animation: d-pop .5s var(--ease-io) infinite alternate; }
@keyframes d-pop { from { transform: translateY(0) scale(1, 1); } 70% { transform: translateY(-46px) scale(.97, 1.03); } to { transform: translateY(-50px) rotate(4deg); } }
.dancer.g-rock > .buddy { animation: d-rock .36s ease-in-out infinite alternate; transform-origin: 50% 80%; }
@keyframes d-rock { from { transform: rotate(-9deg); } to { transform: rotate(9deg) translateY(6px); } }
.dancer.g-country > .buddy { animation: d-country 1s ease-in-out infinite; }
@keyframes d-country { 0%, 100% { transform: translateX(-28px) rotate(-3deg); } 25% { transform: translateX(0) translateY(-14px); } 50% { transform: translateX(28px) rotate(3deg); } 75% { transform: translateX(0) translateY(-14px); } }
.dancer.g-latin > .buddy { animation: d-latin .8s ease-in-out infinite; }
@keyframes d-latin { 0%, 100% { transform: rotate(-7deg) translateX(-16px); } 50% { transform: rotate(7deg) translateX(16px); } }
.dancer.g-sad > .buddy { animation: d-sad 3.4s ease-in-out infinite; }
@keyframes d-sad { 0%, 100% { transform: rotate(-3deg) translateY(6px); } 50% { transform: rotate(3deg) translateY(10px); } }
.dancer .shadow { position: absolute; bottom: -3%; width: 60%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); z-index: -1; }
@media (max-width: 860px) { .dance { grid-template-columns: 1fr; min-height: 0; } .dance-stage { min-height: 380px; } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile {
  position: relative; border-radius: var(--r-md); background: var(--surface); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line); padding: 26px; min-height: 380px;
  display: flex; flex-direction: column; gap: 22px; isolation: isolate;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .05), transparent 50%);
}
.tile:hover::before { opacity: 1; }
.tile-vis { flex: 1; min-height: 196px; display: grid; place-items: center; }
.tile-txt { display: flex; flex-direction: column; }
.tile-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.tile h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.tile p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 30em; }
.t-4 { grid-column: span 4; } .t-2 { grid-column: span 2; } .t-3 { grid-column: span 3; }
@media (max-width: 960px) { .t-4, .t-2, .t-3 { grid-column: span 6; } .tile { min-height: 0; } }

/* a quiet inner card used by every tile visual */
.joke-card, .board, .player, .songid {
  width: 100%; max-width: 300px; border-radius: 20px; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -24px rgba(0, 0, 0, .7);
}

/* ride */
.ride { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; height: 100%; }
.ride .tile-txt { align-self: end; }
.ride-vis { position: relative; height: 290px; display: grid; place-items: center; }
.ride-screen { width: 210px; margin-bottom: 40px; padding: 6%; }
.road { position: absolute; inset: auto 0 6px; height: 34px; border-radius: 12px; overflow: hidden; background: #1c1828; box-shadow: inset 0 0 0 1px var(--line); }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 24px, transparent 24px 48px); background-size: 48px 3px; animation: road .5s linear infinite; }
@keyframes road { to { background-position: -48px 0; } }
.road.slow::after { animation-duration: 1.6s; }
.ride-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.ride-chips span {
  height: 30px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center;
  font-size: 13px; color: var(--dim); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .3s, background .3s, box-shadow .3s;
}
.ride-chips span.on { color: #0b0a05; background: var(--lime); box-shadow: none; }
@media (max-width: 600px) { .ride { grid-template-columns: 1fr; } .ride .tile-txt { order: 2; } }

/* jokes */
.joke-card { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 172px; }
.joke-q { font-size: 18px; font-weight: 520; letter-spacing: -.02em; line-height: 1.3; transition: opacity .35s; }
.joke-a { font-size: 18px; font-weight: 520; letter-spacing: -.02em; line-height: 1.3; color: var(--lime); opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.joke-card.reveal .joke-a { opacity: 1; transform: none; }
.joke-card.swap .joke-q, .joke-card.swap .joke-a { opacity: 0; }
.joke-dots { display: flex; gap: 5px; margin-top: auto; }
.joke-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width .4s var(--ease), background .4s; }
.joke-dots i.on { width: 18px; background: var(--text); }

/* sports */
.board { padding: 14px 16px 12px; }
.board-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.board .live { display: inline-flex; align-items: center; gap: 6px; color: #ff5a6e; font-weight: 600; }
.board .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: beacon 1.1s infinite; }
.team { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 9px 0; }
.team + .team { border-top: 1px solid var(--line); }
.crest { width: 30px; height: 34px; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
.tn { font-size: 16px; font-weight: 560; letter-spacing: -.01em; }
.ts { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; transition: color .4s; }
.team.lead .ts { color: var(--text); }
.team:not(.lead) .ts { color: var(--muted); }
.ts.bump { animation: bump .6s var(--ease); display: inline-block; }
@keyframes bump { 30% { transform: translateY(-3px) scale(1.15); color: var(--lime); } }
.board-final { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.035); font-size: 12.5px; color: var(--muted); }
.board-final .crest { width: 18px; height: 21px; filter: none; }
.board-final b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.board-final .fin { margin: 0 auto; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* stories */
.player { padding: 16px; }
.p-head { display: flex; gap: 12px; align-items: center; }
.cover { flex: none; width: 54px; height: 54px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #4b36a0, #1d1540); box-shadow: 0 8px 18px -8px rgba(138, 92, 255, .6); }
.cover svg { width: 100%; height: 100%; }
.p-meta { min-width: 0; }
.p-meta b { display: block; font-size: 14.5px; font-weight: 560; letter-spacing: -.01em; line-height: 1.25; }
.p-meta small { display: block; margin-top: 3px; font-size: 12px; color: var(--dim); }
.p-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 16px; overflow: hidden; }
.p-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--text); }
.p-time { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.p-ctrl { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 8px; color: var(--muted); }
.p-ctrl > svg { width: 18px; height: 18px; }
.p-ctrl .pp { width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: #0b0a10; display: grid; place-items: center; }
.p-ctrl .pp svg { width: 18px; height: 18px; }

/* song titles */
.songid { position: relative; height: 172px; overflow: hidden; display: grid; place-items: center; }
.listen { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 64px; height: 64px; transition: opacity .4s, transform .6s var(--ease); }
.listen .mic { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--violet)); display: grid; place-items: center; color: #fff; box-shadow: 0 12px 30px -10px rgba(255, 77, 148, .7); }
.listen .mic svg { width: 26px; height: 26px; }
.listen i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 77, 148, .6); animation: ring 1.8s var(--ease) infinite; }
.listen i:nth-child(2) { animation-delay: .9s; }
.found { position: absolute; left: 14px; right: 14px; top: 50%; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(-30%) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.found .art { flex: none; width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, var(--pink), var(--violet)); position: relative; transition: background .4s; }
.found .art::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: rgba(0,0,0,.35); box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
.found-txt { min-width: 0; flex: 1; }
.found-txt b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.found-txt small { display: block; font-size: 12.5px; color: var(--dim); }
.mini-eq { display: flex; gap: 3px; align-items: flex-end; height: 18px; }
.mini-eq i { width: 3px; border-radius: 2px; background: var(--lime); animation: wave-bar .9s ease-in-out infinite; }
.mini-eq i:nth-child(2) { animation-delay: -.3s; } .mini-eq i:nth-child(3) { animation-delay: -.6s; } .mini-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes wave-bar { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.song-status { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.songid.is-found .listen { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.songid.is-found .found { opacity: 1; transform: translateY(-50%) scale(1); }
.songid.is-found .song-status { color: var(--lime); }

/* ---------- characters ---------- */
.cast { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cast-screen { position: relative; width: min(460px, 86%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; padding: 6%; background: radial-gradient(closest-side, #1f1a2b, #0d0b13); box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -50px var(--glow, rgba(138, 92, 255, .6)); transition: box-shadow 1s; }
.cast-screen .disp { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #000; box-shadow: 0 0 0 6px #08070c, 0 0 0 7px rgba(255,255,255,.08); }
.cast-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .7s var(--ease), filter .5s; }
.cast-screen img.out { opacity: 0; transform: scale(.86) rotate(-8deg); filter: blur(6px); }
.cast-screen img.in { animation: face-in .7s var(--ease); }
@keyframes face-in { from { opacity: 0; transform: scale(1.12) rotate(6deg); filter: blur(8px); } }
.cast-screen .gl { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(60% 40% at 35% 15%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.cast-name { margin-top: 26px; text-align: center; font-size: 28px; font-weight: 600; letter-spacing: -.03em; min-height: 1.2em; }
.cast-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 34px; max-width: 460px; }
.cast-btn {
  display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; color: var(--muted);
  transition: background .3s, color .3s, box-shadow .3s;
}
.cast-btn img { width: 36px; height: 36px; border-radius: 50%; }
.cast-btn:hover { color: var(--text); }
.cast-btn[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (max-width: 860px) { .cast { grid-template-columns: 1fr; } .cast-pick { grid-template-columns: repeat(2, 1fr); } }

/* ---------- real ---------- */
.real { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.real-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #000; box-shadow: inset 0 0 0 1px var(--line); }
.real-frame video { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.real-tag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(0,0,0,.5); backdrop-filter: blur(10px); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.real-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; animation: beacon 1.2s infinite; }
@media (max-width: 860px) { .real { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plan {
  position: relative; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
}
.plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(184, 243, 75, .08), transparent 50%);
}
.plan:hover::before { opacity: 1; }
.plan.featured { background: linear-gradient(180deg, #17122a, #110d1c); box-shadow: inset 0 0 0 1px rgba(184, 243, 75, .25); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.plan-badge { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--lime); color: #0b0a05; font-weight: 600; }
.plan h3 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.plan .size { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .06em; margin-top: 6px; }
.plan-vis { height: 220px; display: grid; place-items: center; margin: 22px 0; }
.dial { border-radius: 50%; background: radial-gradient(closest-side, #1f1a2b, #0d0b13); padding: 9px; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(138, 92, 255, .45); }
.dial img { width: 100%; height: 100%; border-radius: 50%; }
.dial.big { width: 200px; height: 200px; }
.dial.small { width: 175px; height: 175px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font-size: 52px; font-weight: 600; letter-spacing: -.045em; }
.price span { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(184, 243, 75, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.4L13 6.5' fill='none' stroke='%23b8f34b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.plan li b { color: var(--text); font-weight: 520; }
.plan .btn { margin-top: auto; width: 100%; }
.perks { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 30px; font-size: 14.5px; color: var(--muted); }
.perks span { display: inline-flex; align-items: center; gap: 8px; }
.perks svg { width: 18px; height: 18px; color: var(--lime); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* ---------- setup ---------- */
.setup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.setup-card { border-radius: var(--r-md); padding: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.setup-card .n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--lime); }
.setup-card h3 { margin: 40px 0 8px; font-size: 24px; letter-spacing: -.03em; font-weight: 600; }
.setup-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .setup { grid-template-columns: 1fr; } .setup-card { min-height: 0; } }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; text-align: left; font-size: clamp(18px, 2vw, 22px); font-weight: 520; letter-spacing: -.02em; }
.qa .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.06); position: relative; transition: transform .5s var(--ease), background .3s; }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); }
.qa .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.qa.open .pm { transform: rotate(180deg); background: var(--lime); }
.qa.open .pm::before, .qa.open .pm::after { background: #0b0a05; }
.qa.open .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa .ans > div { overflow: hidden; }
.qa .ans p { margin: 0; padding: 0 60px 26px 0; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.qa.open .ans { grid-template-rows: 1fr; }

/* ---------- footer ---------- */
.foot { padding: clamp(80px, 10vw, 140px) 0 32px; overflow: hidden; }
.foot-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.big-word {
  font-size: 19vw; font-weight: 650; letter-spacing: -.07em; line-height: .8; margin: clamp(60px, 8vw, 110px) 0 0; padding-bottom: .04em;
  text-align: center; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, var(--text) 30%, rgba(246, 244, 250, .08) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.foot-row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-row a:hover { color: var(--text); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- video modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(5, 4, 8, .82); backdrop-filter: blur(16px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal video { width: min(420px, 100%); max-height: 86vh; border-radius: 28px; transform: scale(.94); transition: transform .6s var(--ease); background: #000; }
.modal.open video { transform: none; }
.modal-x { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 22px; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  body::after { display: none; }
}

/* preview screenshots (?shot): skip entrance transitions */
.shot *, .shot *::before, .shot *::after { transition: none !important; }
.shot [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }

/* the real Dino: firmware face code painted on a canvas */
.dino-canvas { display: block; width: 100%; height: 100%; border-radius: 50%; }
.buddy .face-slot .dino-canvas { position: absolute; inset: 0; }
.dial-face { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.cast-screen .cast-live { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); z-index: 2; }
.cast-screen.live .cast-live { opacity: 1; }
