:root {
  --bg: #08060d;
  --bg-2: #0e0a16;
  --panel: rgba(255, 255, 255, 0.035);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-2: rgba(255, 255, 255, 0.14);
  --text: #f4f0f8;
  --muted: #a49cb0;
  --dim: #6c6478;
  --purple: #52247b;
  --violet: #8b5cf6;
  --lilac: #c4a7ff;
  --gold: #e0bd72;
  --gold-2: #f6dfa6;
  --app-bg: #f9f5f2;
  --sans: "Inter Tight", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 5vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
button { font: inherit; }
.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.dim { color: var(--dim); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--violet); color: #fff; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold); color: #000; padding: 0.7rem 1rem; border-radius: 0.6rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* progress + grain */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--violet), var(--gold));
}
.grain {
  position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: 0.06;
  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(-4%, 3%); } 40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, -4%); } 80% { transform: translate(4%, 2%); } 100% { transform: translate(0, 0); }
}

/* NAV */
.nav {
  position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(14, 10, 22, 0.55); border: 1px solid var(--stroke);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background 0.4s, border-color 0.4s, top 0.4s var(--ease);
}
.nav.is-scrolled { background: rgba(10, 7, 16, 0.82); border-color: var(--stroke-2); }
.nav-brand img { width: 132px; height: auto; }
.nav-links { display: flex; gap: 0.25rem; }
.nav-links a { padding: 0.5rem 0.9rem; border-radius: 999px; color: var(--muted); font-size: 0.9rem; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-pill {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.95rem;
  border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke-2);
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em;
}
.nav-pill-label { color: var(--muted); text-transform: uppercase; }
.nav-pill-count { color: var(--gold-2); font-variant-numeric: tabular-nums; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* HERO */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 2rem;
  padding: 8.5rem var(--pad) 5rem;
}
.aurora { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; will-change: transform; }
.b1 { width: 52vw; height: 52vw; left: 38%; top: -18%; background: radial-gradient(circle, #6d28d9 0%, transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.b2 { width: 40vw; height: 40vw; left: -10%; top: 40%; background: radial-gradient(circle, #52247b 0%, transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.b3 { width: 30vw; height: 30vw; right: -6%; bottom: -12%; background: radial-gradient(circle, rgba(224, 189, 114, 0.55) 0%, transparent 65%); animation: drift3 16s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-12%, 14%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(18%, -10%) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-20%, -16%) scale(1.2); } }
.hero-grid {
  position: absolute; inset: 0; z-index: -2; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.spotlight {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 60%) var(--my, 30%), rgba(196, 167, 255, 0.13), transparent 45%);
}
.hero-copy { position: relative; z-index: 2; max-width: 680px; }

.chip {
  display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  border-radius: 999px; border: 1px solid var(--stroke-2); background: rgba(255,255,255,.04);
  font-size: 0.86rem; color: var(--muted); transition: border-color .3s, color .3s;
}
.chip:hover { border-color: rgba(224,189,114,.5); color: var(--text); }
.chip-tag { padding: 0.2rem 0.6rem; border-radius: 999px; background: linear-gradient(135deg, var(--gold), #b98d3f); color: #1a1205; font-weight: 700; font-size: 0.72rem; }
.chip-arrow { transition: transform .3s var(--ease); }
.chip:hover .chip-arrow { transform: translateX(3px); }

.hero-title {
  margin: 1.6rem 0 0; font-weight: 600; letter-spacing: -0.045em; line-height: 0.95;
  font-size: clamp(3rem, 6.6vw, 6.2rem);
}
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.hero-title em { display: block; }
.shine {
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 25%, #fff 45%, var(--lilac) 60%, var(--gold) 80%, var(--gold-2) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -250% 0; } }

.hero-lead { margin: 1.6rem 0 0; max-width: 560px; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--muted); }
.rotator { display: inline-block; height: 1.5em; overflow: hidden; vertical-align: bottom; color: var(--text); font-weight: 600; }
.rotator-track { display: flex; flex-direction: column; animation: rotate 12.5s var(--ease) infinite; }
.rotator-track span { height: 1.5em; line-height: 1.5em; white-space: nowrap; }
@keyframes rotate {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(-1.5em); }
  40%, 56% { transform: translateY(-3em); }
  60%, 76% { transform: translateY(-4.5em); }
  80%, 96% { transform: translateY(-6em); }
  100% { transform: translateY(-7.5em); }
}

/* Countdown */
.countdown {
  margin-top: 2.2rem; padding: 1.1rem 1.2rem 1.2rem; border-radius: 22px; max-width: 560px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--stroke-2);
  box-shadow: 0 30px 80px -30px rgba(109, 40, 217, 0.5), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  position: relative; overflow: hidden;
}
.countdown::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--gold) 80%, var(--lilac) 88%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }
.countdown-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); }
.rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff5a6a; margin-right: 0.35rem; vertical-align: 1px; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.countdown-units { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 0.9rem; }
.unit { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; flex: 1; }
.unit > span { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.digits { display: flex; gap: 3px; font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.digit {
  position: relative; height: 1.1em; width: 0.66em; overflow: hidden; border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--stroke);
}
.digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.35); }
.digit-col { display: flex; flex-direction: column; transition: transform 0.7s var(--ease); }
.digit-col span { height: 1.1em; display: grid; place-items: center; }
.sep { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--dim); margin-top: 0.25em; font-weight: 400; animation: blink 2s steps(2) infinite; }
.countdown-live { margin: 1rem 0 0; font-size: 1.5rem; font-weight: 600; color: var(--gold-2); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.hero-actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.95rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 0; transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.btn-primary { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #c4964a); color: #1a1205; box-shadow: 0 10px 40px -10px rgba(224,189,114,.7), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-primary:hover { box-shadow: 0 16px 50px -10px rgba(224,189,114,.9), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--stroke-2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Phones */
.phone {
  position: relative; border-radius: 46px; padding: 9px;
  background: linear-gradient(145deg, #3a3346, #16121d 40%, #2b2535);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -30px rgba(0,0,0,.8), 0 30px 60px -20px rgba(82,36,123,.6), inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone::before { content: ""; position: absolute; right: -2px; top: 22%; width: 3px; height: 12%; border-radius: 2px; background: #2b2535; }
.phone-screen { position: relative; overflow: hidden; border-radius: 38px; background: var(--app-bg); }
.statusbar {
  display: block; height: 34px; position: relative; background: var(--app-bg);
}
.statusbar::before { content: ""; position: absolute; left: 50%; top: 9px; width: 30%; height: 20px; border-radius: 20px; transform: translateX(-50%); background: #08060d; }
.statusbar::after {
  content: "10:20"; position: absolute; left: 9%; top: 9px; font: 600 11px/20px var(--sans); color: #1d1724;
}
.phone-screen > img, .screen-stack img { width: 100%; aspect-ratio: 720 / 1400; object-fit: cover; object-position: top; }

.hero-stage { position: relative; height: min(720px, 78vh); perspective: 1400px; z-index: 1; }
.hero-stage > * { position: absolute; }
.halo { inset: 10% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.45), transparent 60%); filter: blur(40px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.7; } }
.orbit { left: 50%; top: 50%; width: 112%; aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(72deg); border-radius: 50%; border: 1px dashed rgba(224,189,114,.25); }
.orbit span { position: absolute; inset: -1px; border-radius: 50%; animation: orbit 14s linear infinite; }
.orbit span::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 20px 4px rgba(224,189,114,.8); }
@keyframes orbit { to { transform: rotate(360deg); } }

.hero-stage .phone { width: min(300px, 25vw); left: 50%; top: 50%; transition: transform 0.9s var(--ease); }
.phone-front { z-index: 3; transform: translate(-50%, -50%) translate3d(var(--tx, 0), var(--ty, 0), 0) rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); }
.phone-back { z-index: 1; opacity: 0.92; }
.phone-back .phone-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,6,13,0) 40%, rgba(8,6,13,.45)); }
.phone-left { transform: translate(-112%, -46%) translate3d(var(--tx, 0), var(--ty, 0), 0) rotateY(18deg) rotateZ(-6deg) scale(0.86); }
.phone-right { transform: translate(12%, -54%) translate3d(var(--tx, 0), var(--ty, 0), 0) rotateY(-22deg) rotateZ(6deg) scale(0.86); }

.float-card { z-index: 4; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); transition: transform 0.9s var(--ease); }
.fc-quote { width: min(300px, 25vw); left: -2%; bottom: 10%; animation: bob 7s ease-in-out infinite; }
.fc-candles { width: min(240px, 19vw); right: -2%; top: 10%; animation: bob 8s ease-in-out -2s infinite; }
.float-card img { width: 100%; }
@keyframes bob { 50% { translate: 0 -14px; } }
.float-pill {
  z-index: 5; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border-radius: 999px;
  font-family: var(--mono); font-size: 0.72rem; background: rgba(20, 14, 30, .75); border: 1px solid var(--stroke-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; transition: transform 0.9s var(--ease);
}
.float-pill i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.fp-1 { left: 6%; top: 14%; animation: bob 6s ease-in-out -1s infinite; }
.fp-2 { right: 4%; bottom: 18%; animation: bob 6.5s ease-in-out -3s infinite; }
.fp-2 i { background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; width: 24px; height: 38px; margin-left: -12px; border-radius: 14px; border: 1.5px solid var(--stroke-2); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* MARQUEE */
.marquee { padding: 2.2rem 0; border-block: 1px solid var(--stroke); background: var(--bg-2); overflow: hidden; }
.marquee-row { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row + .marquee-row { margin-top: 0.6rem; }
.marquee-track { display: flex; align-items: center; gap: 1.6rem; flex-shrink: 0; padding-right: 1.6rem; animation: marquee 40s linear infinite; white-space: nowrap; }
.marquee-row.reverse .marquee-track { animation-direction: reverse; animation-duration: 50s; }
.marquee-track span { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; }
.marquee-row.reverse span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); }
.marquee-track i { font-style: normal; color: var(--gold); font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section heads */
.section-head { padding: 0 var(--pad); max-width: 1100px; }
.section-head.center { margin: 0 auto; text-align: center; }
.kicker { display: inline-block; color: var(--gold); margin-bottom: 1.1rem; }
.section-head h2, .finale h2 {
  margin: 0; font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-size: clamp(2.4rem, 5.4vw, 4.8rem);
}
.section-head h2 em, .finale h2 em { color: var(--lilac); }
.section-lead { color: var(--muted); max-width: 560px; margin: 1.3rem 0 0; font-size: 1.1rem; }

/* TOUR */
.tour { padding: clamp(6rem, 12vw, 10rem) 0 4rem; position: relative; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; padding: 0 var(--pad); margin-top: 3rem; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; max-width: 470px; opacity: 0.28; transition: opacity 0.6s var(--ease); }
.step.is-active { opacity: 1; }
.step-index { color: var(--gold); }
.step h3 { margin: 0.9rem 0 0; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
.step p { margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }
.step-img { display: none; }
.typer {
  display: inline-flex; align-items: center; gap: 0.55rem; align-self: flex-start; margin-top: 1.4rem;
  padding: 0.75rem 1.1rem; border-radius: 14px; background: rgba(82, 36, 123, .45); border: 1px solid rgba(196, 167, 255, .3);
  font-size: 0.95rem; text-transform: none; letter-spacing: 0; color: #fff;
}
.typer svg { width: 16px; height: 16px; fill: var(--gold); }
.caret { width: 2px; height: 1.1em; background: var(--gold); animation: blink 1s steps(2) infinite; }

.tour-device { position: sticky; top: 0; align-self: start; height: 100vh; display: grid; place-items: center; }
.device-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.4), transparent 62%); filter: blur(30px); }
.phone-tour { width: min(330px, 30vw); transform: rotate(-2deg); }
.screen-stack { position: relative; aspect-ratio: 720 / 1400; }
.screen-stack img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06) translateY(16px); filter: blur(6px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s; }
.screen-stack img.is-active { opacity: 1; transform: none; filter: none; }
.tour-rail { position: absolute; right: 4%; top: 50%; width: 2px; height: 200px; transform: translateY(-50%); background: var(--stroke-2); border-radius: 2px; overflow: hidden; }
.tour-rail span { position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--rail, 0.2)); background: linear-gradient(var(--gold), var(--violet)); transition: transform 0.6s var(--ease); }
.tour-chip { position: absolute; z-index: 2; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); opacity: 0; transform: translateY(24px) scale(0.94); filter: blur(4px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), filter 0.6s; pointer-events: none; }
.tour-chip.is-on { opacity: 1; transform: none; filter: none; }
.tc-left { width: min(280px, 23vw); left: 0; top: 24%; }
.tc-left.tc-low { top: auto; bottom: 22%; left: -2%; }
.tc-right { width: min(260px, 21vw); right: 0; bottom: 18%; }
.tc-right.tc-high { bottom: auto; top: 22%; width: min(210px, 17vw); }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 2rem var(--pad) 0; border: 1px solid var(--stroke); border-radius: 26px; overflow: hidden; background: var(--panel); }
.stat { padding: 2.2rem 1.6rem; border-right: 1px solid var(--stroke); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #a99cc0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }

/* BENTO */
.features { padding: clamp(6rem, 12vw, 10rem) 0 2rem; }
.bento {
  display: grid; gap: 14px; padding: 0 var(--pad); margin-top: 3rem;
  grid-template-columns: repeat(6, 1fr); grid-auto-rows: 330px;
}
.tile {
  position: relative; overflow: hidden; border-radius: 26px; padding: 1.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--stroke); isolation: isolate;
  display: flex; flex-direction: column;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(196,167,255,.14), transparent 45%);
}
.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(224,189,114,.7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile-copy { position: relative; z-index: 2; max-width: 360px; }
.tile-tag { color: var(--gold); }
.tile h3 { margin: 0.7rem 0 0; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.tile p { margin: 0.6rem 0 0; color: var(--muted); font-size: 0.96rem; }
.tile-art { position: relative; flex: 1; margin-top: 1.2rem; min-height: 0; }
.tile-art img { border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1); transition: transform 0.8s var(--ease); }

.tile-candles { grid-column: span 4; grid-row: span 2; background: radial-gradient(circle at 80% 100%, rgba(224,189,114,.16), transparent 50%), linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); }
.art-candles .ac-1 { position: absolute; width: min(440px, 70%); left: 50%; top: 4%; transform: translateX(-50%) rotate(-3deg); }
.art-candles .ac-2 { position: absolute; width: min(360px, 56%); left: 50%; bottom: 4%; transform: translateX(-30%) rotate(2deg); }
.tile-candles:hover .ac-1 { transform: translateX(-54%) rotate(-5deg) translateY(-8px); }
.tile-candles:hover .ac-2 { transform: translateX(-24%) rotate(3deg) translateY(4px); }

.tile-billboard { grid-column: span 2; grid-row: span 2; }
.art-scroll { overflow: hidden; border-radius: 16px; mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.art-scroll img { width: 100%; border-radius: 16px; animation: panY 14s ease-in-out infinite alternate; }
@keyframes panY { 0%, 15% { transform: translateY(0); } 85%, 100% { transform: translateY(-38%); } }

.tile-constitution, .tile-prayer { grid-column: span 3; }
.art-peek { overflow: hidden; }
.art-peek img { position: absolute; right: 0; top: 0; width: 54%; transform: translateY(10%) rotate(4deg); }
.tile-constitution .tile-copy, .tile-prayer .tile-copy { max-width: 44%; }
.tile-constitution .tile-art, .tile-prayer .tile-art { position: absolute; inset: 1.4rem 1.4rem 0 auto; width: 60%; margin: 0; }
.tile-constitution:hover .art-peek img, .tile-prayer:hover .art-peek img { transform: translateY(2%) rotate(1deg); }

.tile-suggest { grid-column: span 3; }
.art-chips { display: grid; place-items: center; }
.art-chips img { width: min(330px, 86%); }
.tile-suggest:hover .art-chips img { transform: scale(1.04) rotate(-1deg); }

.tile-sound { grid-column: span 3; }
.tile-sound .tile-copy { max-width: 38%; }
.art-albums { position: absolute; inset: 1.4rem 1.4rem 1.4rem auto; width: 54%; margin: 0; display: grid; place-items: center; }
.art-albums img { width: 100%; transform: rotate(-2deg); }
.tile-sound:hover .art-albums img { transform: rotate(0) scale(1.03); }
.eq { position: absolute; left: -32%; bottom: 0.2rem; display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.eq i { width: 5px; border-radius: 3px; background: linear-gradient(var(--gold), var(--violet)); animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(1) { animation-delay: -0.2s; } .eq i:nth-child(2) { animation-delay: -0.7s; } .eq i:nth-child(3) { animation-delay: -0.4s; } .eq i:nth-child(4) { animation-delay: -0.9s; } .eq i:nth-child(5) { animation-delay: -0.1s; }
@keyframes eq { from { height: 6px; } to { height: 36px; } }

/* REEL */
.reel { padding: clamp(6rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.reel-window { margin-top: 3.5rem; perspective: 1600px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.reel-track { display: flex; gap: 28px; width: max-content; padding: 2rem 0 4rem; animation: marquee 60s linear infinite; transform-style: preserve-3d; }
.reel-window:hover .reel-track { animation-play-state: paused; }
.phone-reel { width: 230px; flex-shrink: 0; border-radius: 38px; padding: 7px; transition: transform 0.6s var(--ease); }
.phone-reel .phone-screen { border-radius: 31px; }
.phone-reel .statusbar { height: 26px; }
.phone-reel .statusbar::before { top: 7px; height: 15px; }
.phone-reel .statusbar::after { top: 5px; font-size: 9px; }
.phone-reel:nth-child(odd) { transform: translateY(26px) rotateY(8deg); }
.phone-reel:nth-child(even) { transform: translateY(-10px) rotateY(-8deg); }
.phone-reel:hover { transform: translateY(-24px) scale(1.04); }

/* SHEPHERD */
.shepherd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(5rem, 10vw, 8rem) var(--pad); }
.shepherd-media { position: relative; padding-bottom: 8%; }
.shepherd-photo { width: 88%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 20%; border-radius: 28px; filter: saturate(1.05) contrast(1.05); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.phone-shepherd { position: absolute; right: 0; bottom: 0; width: min(230px, 36%); transform: rotate(5deg); border-radius: 38px; padding: 7px; }
.phone-shepherd .phone-screen { border-radius: 31px; }
.phone-shepherd .statusbar { height: 26px; }
.phone-shepherd .statusbar::before { top: 7px; height: 15px; }
.phone-shepherd .statusbar::after { top: 5px; font-size: 9px; }
.shepherd-copy blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 3.3vw, 2.9rem); line-height: 1.12; letter-spacing: -0.01em; }
.shepherd-copy cite { display: block; margin-top: 1rem; font-style: normal; color: var(--gold); }
.shepherd-copy p { color: var(--muted); margin: 1.6rem 0 0; font-size: 1.05rem; max-width: 480px; }
.signature { display: flex; flex-direction: column; margin-top: 1.8rem; padding-left: 1rem; border-left: 2px solid var(--gold); }
.signature strong { font-size: 1.1rem; }
.signature span { color: var(--muted); font-size: 0.92rem; }

/* FINALE */
.finale { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(7rem, 14vw, 11rem) var(--pad); }
.finale-bg { position: absolute; inset: 0; z-index: -1; }
.finale-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; filter: grayscale(0.3) saturate(1.1); transform: scale(1.1); }
.finale-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(82,36,123,.55), rgba(8,6,13,.95) 70%), linear-gradient(var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.finale-inner { max-width: 900px; margin: 0 auto; }
.finale h2 { font-size: clamp(3rem, 8vw, 7rem); }
.finale-count { margin: 2rem auto 0; font-size: clamp(1rem, 2.4vw, 1.6rem); letter-spacing: 0.04em; color: var(--gold-2); text-transform: none; font-variant-numeric: tabular-nums; }
.finale p { color: var(--muted); margin: 1rem 0 0; }

/* FOOTER */
.footer { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; padding: 2.4rem var(--pad); border-top: 1px solid var(--stroke); color: var(--muted); font-size: 0.9rem; }
.footer img { width: 120px; }
.footer div { display: flex; flex-direction: column; flex: 1; min-width: 240px; }
.footer strong { color: var(--text); font-weight: 600; }
.footer nav { display: flex; gap: 1.2rem; }
.footer nav a:hover { color: var(--gold); }

/* Reveal + split */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
[data-split].is-in .w > span { transform: none; }
.hero-title .w.block { display: block; }
.float-card, .float-pill { transform: translate3d(var(--tx, 0), var(--ty, 0), 0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 7.5rem; }
  .hero-copy { max-width: 720px; }
  .hero-stage { height: 620px; }
  .hero-stage .phone { width: 260px; }
  .fc-quote { width: 260px; left: 0; }
  .fc-candles { width: 210px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .tile { grid-column: span 2 !important; grid-row: auto !important; min-height: 340px; }
  .tile-candles { min-height: 560px; }
  .tile-billboard { min-height: 560px; }
  .art-scroll { flex: none; width: 100%; max-width: 420px; height: 400px; }
  .tile-billboard { min-height: 0; }
  .shepherd { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .tour-grid { grid-template-columns: 1fr; gap: 0; }
  .tour-device { display: none; }
  .step { min-height: auto; opacity: 1; padding: 2.5rem 0; border-top: 1px solid var(--stroke); max-width: none; }
  .step-img { display: block; width: min(300px, 78%); margin: 2rem auto 0; border-radius: 30px; border: 7px solid #221c2b; box-shadow: 0 40px 80px -30px rgba(82,36,123,.8); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--stroke); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { padding-left: 14px; }
  .nav-brand img { width: 108px; }
  .nav-pill-label { display: none; }
  .hero-stage { height: 520px; margin-top: 1rem; }
  .hero-stage .phone { width: 210px; border-radius: 36px; padding: 7px; }
  .hero-stage .phone-screen { border-radius: 30px; }
  .phone-left { transform: translate(-98%, -46%) rotateY(18deg) rotateZ(-6deg) scale(0.8); }
  .phone-right { transform: translate(0%, -54%) rotateY(-22deg) rotateZ(6deg) scale(0.8); }
  .fc-quote { width: 210px; left: -4%; bottom: 4%; }
  .fc-candles { width: 160px; right: -4%; top: 6%; }
  .fp-1 { left: 0; top: 2%; }
  .fp-2 { display: none; }
  .rotator { display: block; }
  .countdown { padding: 0.9rem; }
  .digits { font-size: 2rem; gap: 2px; }
  .digit { border-radius: 7px; }
  .sep { font-size: 1.3rem; }
  .countdown-head .dim { display: none; }
  .tile-constitution .tile-copy, .tile-prayer .tile-copy, .tile-sound .tile-copy { max-width: none; }
  .tile-constitution .tile-art, .tile-prayer .tile-art, .art-albums { position: relative; inset: auto; width: 100%; height: 240px; margin-top: 1.2rem; }
  .art-peek img { width: 62%; right: 10%; }
  .eq { left: 0; bottom: -0.4rem; }
  .art-candles .ac-1 { width: 90%; }
  .art-candles .ac-2 { width: 72%; transform: translateX(-40%) rotate(2deg); }
  .phone-reel { width: 180px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  [data-split] .w > span { transform: none; }
  .reel-window { overflow-x: auto; }
}

/* Arrival from the home-page gift */
.gift-arrival { position: fixed; inset: 0; z-index: 300; pointer-events: none; background: radial-gradient(circle at 50% 40%, #fff8e1 0%, #e0bd72 18%, #3b0f52 55%, #08060d 80%); animation: gift-arrive 1.3s cubic-bezier(0.7, 0, 0.3, 1) 0.1s forwards; }
@keyframes gift-arrive { to { opacity: 0; transform: scale(1.4); visibility: hidden; } }
