/* ============================================================
   STELLAR MEDIA COLLECTIVE — scroll-cinematic demo
   Night / gold / cream. Premium Kinetic.
   ============================================================ */

:root {
  --night: #0c0b09;
  --night-2: #12100d;
  --night-3: #191612;
  --cream: #f4edda;
  --cream-2: #e5dcc3;
  --cream-3: #b9ae94;
  --cream-4: #8c8370;
  --gold: #e0b13a;
  --gold-2: #f3d27e;
  --line: rgba(244, 237, 218, 0.09);
  --display: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  background: var(--night);
  color: var(--cream);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}
em { font-style: italic; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  background: linear-gradient(rgba(12, 11, 9, 0.82), rgba(12, 11, 9, 0));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.brand {
  font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: 0.01em;
  display: flex; align-items: baseline; gap: 10px; color: var(--cream);
}
.brand-dot { color: var(--gold); margin-left: -8px; }
.brand-sub { font-size: 9px; letter-spacing: 0.34em; color: var(--cream-3); font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-family: ui-monospace, "SF Mono", monospace; font-size: 12px; letter-spacing: 0.06em;
  color: var(--cream-3); text-decoration: none; transition: color 0.2s;
}
.nav-phone:hover { color: var(--cream); }
.btn-gold {
  display: inline-block; background: var(--gold); color: #14110a;
  font-family: var(--body); font-weight: 600; font-size: 13.5px; text-decoration: none;
  padding: 10px 20px; border-radius: 999px; transition: background 0.2s, transform 0.2s;
}
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-gold.big { font-size: 16px; padding: 15px 34px; margin-top: 34px; }

/* ---------- Cinematic scrub sections ---------- */
.cinematic { position: relative; height: 600vh; }
.cinematic .sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--night);
}
.cinematic canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(115% 90% at 50% 45%, transparent 55%, rgba(12, 11, 9, 0.62) 100%),
    linear-gradient(rgba(12, 11, 9, 0.42), transparent 26%, transparent 72%, rgba(12, 11, 9, 0.55));
}

/* Overlay copy — beat cards scrubbed by scroll. Each beat is a glass panel
   so the story reads clearly over any footage, desktop or phone. */
.overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  text-align: center; pointer-events: none; padding: 0 5vw;
}
.overlay .reveal-line {
  grid-area: 1 / 1; opacity: 0; will-change: opacity, transform;
}
.overlay .beat {
  max-width: min(940px, 94vw);
  padding: clamp(34px, 6vw, 90px) clamp(24px, 5vw, 64px);
  background: radial-gradient(115% 130% at 50% 50%, rgba(8, 7, 5, 0.62) 0%, rgba(8, 7, 5, 0.30) 42%, rgba(8, 7, 5, 0) 72%);
}
.overlay .beat h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.65rem, 3.3vw, 2.9rem); line-height: 1.22; letter-spacing: 0.012em;
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 8px 44px rgba(0, 0, 0, 0.5);
}
.overlay .beat h1 em { color: var(--gold-2); font-style: italic; }
.overlay .beat.big h1 { font-size: clamp(2.05rem, 4.1vw, 3.5rem); font-weight: 600; }
.overlay .beat-kicker {
  font-family: ui-monospace, "SF Mono", monospace; font-weight: 600;
  font-size: 11px; letter-spacing: 0.32em; color: var(--gold-2); margin-bottom: 14px;
}

.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-intro {
  position: absolute; inset: 0; background: var(--night);
  opacity: 1; pointer-events: none; transition: opacity 0.7s ease;
}
.hero-hook {
  grid-area: 1 / 1; align-self: center; text-align: center; will-change: opacity;
}
.hero-hook h1 {
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.12; letter-spacing: 0.004em;
  color: var(--cream); max-width: min(900px, 92vw); margin: 0 auto;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.35);
}
.hero-hook h1 em { color: var(--gold-2); font-style: italic; }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  transition: opacity 0.6s; z-index: 6; pointer-events: none;
}
.scroll-hint-label {
  font-family: var(--body); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--cream);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}
.scroll-hint-chev {
  font-size: 22px; line-height: 1; color: var(--gold-2);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
  animation: hintBounce 1.5s ease-in-out infinite;
}
@keyframes hintBounce { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(9px); opacity: 1; } }

/* ---------- The gap — scrub-driven counter ---------- */
.gap { position: relative; height: 260vh; background: var(--night-2); border-top: 1px solid var(--line); }
.gap .sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.gap-inner { text-align: center; padding: 0 22px; }
.gap-lead { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.8rem); color: var(--cream-2); }
.gap-num {
  font-family: var(--body); font-weight: 600;   /* Inter — has true tabular figures (Poppins doesn't) */
  font-size: clamp(3.6rem, 11vw, 9rem); line-height: 1.05;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
  letter-spacing: 0.02em;
  display: inline-block; min-width: 7.5ch; text-align: center; /* reserve max width so digit-count changes don't reflow */
  text-shadow: 0 0 70px rgba(224, 177, 58, 0.25);
}
.gap-kicker { margin-top: 34px; font-size: 15px; color: var(--cream-4); }

/* ---------- Flight rail ---------- */
#rail {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; gap: 22px;
  opacity: 0; transition: opacity 0.6s ease; pointer-events: none;
}
#rail.in { opacity: 1; pointer-events: auto; }
.rail-stop { display: flex; align-items: center; gap: 10px; flex-direction: row-reverse; text-decoration: none; pointer-events: auto; }
.rail-dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--cream-4);
  transition: all 0.35s;
}
.rail-label {
  font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cream-4);
  opacity: 0; transform: translateX(6px); transition: all 0.35s; white-space: nowrap;
}
.rail-stop.passed .rail-dot { background: var(--cream-4); border-color: var(--cream-4); }
.rail-stop.active .rail-dot {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 14px rgba(224, 177, 58, 0.7); transform: scale(1.35);
}
.rail-stop.active .rail-label { opacity: 1; transform: none; color: var(--gold-2); }
.rail-stop:hover .rail-label { opacity: 1; transform: none; }

/* ---------- Copy sections ---------- */
.copy { background: var(--night); border-top: 1px solid var(--line); }
.copy.dark { background: var(--night-2); }
.copy .wrap, .outro .wrap { max-width: 1160px; margin: 0 auto; padding: 130px 32px; }
.eyebrow {
  font-family: ui-monospace, monospace; font-weight: 600; font-size: 11px;
  letter-spacing: 0.3em; color: var(--gold); margin-bottom: 20px;
}
.copy h2, .outro h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.12; letter-spacing: -0.01em;
}
.gold { color: var(--gold-2); }
.dim { color: var(--cream-4); }
.gold-i { color: var(--gold-2); font-style: italic; }
.kicker {
  margin-top: 44px; font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  color: var(--cream-2);
}
#proof .kicker { max-width: 780px; }

/* Bold-claim points (the X list) */
.points { margin-top: 52px; display: grid; gap: 28px; max-width: 720px; }
.point { display: flex; gap: 18px; align-items: flex-start; }
.point .x {
  flex: none; width: 30px; height: 30px; border-radius: 999px;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: rgba(224, 82, 66, 0.14); color: #e07356;
}
.point b { font-family: var(--display); font-weight: 500; font-size: 19px; color: var(--cream); }
.point p { margin-top: 3px; color: var(--cream-3); font-size: 15.5px; }

/* Trio cards */
.cards { margin-top: 60px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  border: 1px solid var(--line); background: var(--night-3);
  border-radius: 20px; padding: 34px 30px; transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: rgba(224, 177, 58, 0.45); transform: translateY(-4px); }
.card .num { font-family: var(--display); font-size: 22px; color: var(--gold-2); }
.card p { margin-top: 16px; color: var(--cream-3); font-size: 15.5px; line-height: 1.55; }

.cards-link { margin-top: 26px; }
.cards-link a { color: var(--gold-2); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.cards-link a:hover { color: var(--cream); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px; margin-top: 10px; }
.stat { text-align: center; padding: 22px 8px; }
.stat-num {
  font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 4.4vw, 3.9rem);
  color: var(--gold-2); font-variant-numeric: tabular-nums;
}
.stat p {
  margin-top: 8px; font-family: ui-monospace, monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-4);
}
blockquote { margin: 74px auto 0; max-width: 720px; text-align: center; }
blockquote .stars { color: var(--gold-2); letter-spacing: 0.3em; font-size: 15px; }
blockquote p {
  margin-top: 18px; font-family: var(--display); font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.35; color: var(--cream);
}
blockquote footer { margin-top: 16px; font-size: 13px; color: var(--cream-4); }

/* ---------- Early CTA band ---------- */
.cta-band { background: var(--night-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.cta-band .wrap { max-width: 720px; margin: 0 auto; padding: clamp(64px, 9vw, 110px) 32px; }
.cta-band h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.14; margin-top: 14px; }
.cta-band .sub { margin: 20px auto 0; max-width: 540px; color: var(--cream-3); font-size: 16px; line-height: 1.6; }
.cta-band .btn-gold { margin-top: 34px; }
.cta-band-note { margin-top: 20px; font-size: 13px; }
.cta-band-note a { color: var(--cream-4); text-decoration: none; }
.cta-band-note a:hover { color: var(--gold-2); }

/* ---------- Outro ---------- */
.outro { position: relative; overflow: hidden; background: var(--night-2); border-top: 1px solid var(--line); text-align: center; }
.outro-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.42; pointer-events: none; }
.outro::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(125% 95% at 50% 42%, rgba(12,11,9,0.52) 0%, rgba(12,11,9,0.8) 60%, rgba(12,11,9,0.95) 100%); }
.outro .wrap { position: relative; z-index: 2; padding: 150px 32px 120px; }
@media (max-width: 760px) { .outro-bg { display: none; } }
.outro .sub { margin: 22px auto 0; max-width: 560px; color: var(--cream-3); font-size: 17px; }
.outro .fine { margin-top: 64px; font-size: 12.5px; color: var(--cream-4); }

/* ---------- Nav links ---------- */
.nav-links { display: flex; gap: 20px; margin-right: 6px; }
.nav-links a {
  font-size: 13.5px; color: var(--cream-3); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }

/* ---------- The film constellation ("string theory") ---------- */
.proof-head { padding-bottom: 30px !important; }
.proof-sub { margin-top: 18px; color: var(--cream-3); font-size: 17px; }
.constellation {
  position: relative; overflow: hidden;
  padding: 40px 0 70px;
}
.lane {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(18px, 3vw, 44px);
  will-change: transform;
}
.lane + .lane { margin-top: -46px; } /* threads overlap */
.lane-vert { z-index: 2; position: relative; }
.film-card {
  position: relative; overflow: hidden; border-radius: 18px;
  border: 1px solid rgba(244, 237, 218, 0.12);
  background: var(--night-3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  width: min(460px, 42vw); aspect-ratio: 16 / 9;
  transform: rotate(-1.1deg);
}
.lane .film-card:nth-child(2n) { transform: rotate(1.2deg); }
.film-card.vert { width: min(210px, 22vw); aspect-ratio: 9 / 16; }
.film-card iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  background: var(--night-3);
}
.film-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: ui-monospace, monospace; font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.16em; color: var(--cream);
  background: rgba(12, 11, 9, 0.72); border: 1px solid rgba(244, 237, 218, 0.12);
  padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}

/* ---------- The offer (conversion) ---------- */
.offer { background: var(--night); border-top: 1px solid var(--line); }
.offer .wrap { max-width: 1160px; margin: 0 auto; padding: 130px 32px; }
.offer h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.12; letter-spacing: -0.01em; }
.offer-lead { margin-top: 22px; max-width: 640px; color: var(--cream-3); font-size: 17px; line-height: 1.6; }
.offer-grid { margin-top: 58px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.offer-card { position: relative; border: 1px solid var(--line); background: var(--night-3); border-radius: 20px; padding: 34px 30px; transition: border-color 0.25s, transform 0.25s; }
.offer-card:hover { border-color: rgba(224, 177, 58, 0.42); transform: translateY(-4px); }
.offer-card.featured { border-color: rgba(224, 177, 58, 0.5); box-shadow: 0 0 80px rgba(224, 177, 58, 0.08); }
.offer-badge { position: absolute; top: -12px; left: 28px; background: var(--gold); color: #14110a; font-family: var(--body); font-weight: 600; font-size: 11px; letter-spacing: 0.03em; padding: 5px 13px; border-radius: 999px; }
.offer-name { font-family: var(--display); font-size: 20px; color: var(--cream); }
.offer-price { font-family: var(--body); font-weight: 600; font-size: 42px; line-height: 1.1; color: var(--gold-2); font-variant-numeric: tabular-nums; margin-top: 6px; }
.offer-price span { font-size: 18px; color: var(--cream-4); }
.offer-price.time { font-size: 28px; letter-spacing: 0.01em; }
.offer-steps { margin: 46px auto 8px; max-width: 620px; padding-left: 0; text-align: left; display: flex; flex-direction: column; gap: 13px; counter-reset: step; list-style: none; }
.offer-steps li { position: relative; padding-left: 44px; color: var(--cream-3); font-size: 15.5px; line-height: 1.55; counter-increment: step; }
.offer-steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(224, 177, 58, 0.45); border-radius: 999px; color: var(--gold-2); font-family: ui-monospace, monospace; font-size: 12.5px; }
.offer-steps b { color: var(--cream); font-weight: 600; }
.offer-momentum { margin-top: 22px; border: 1px solid var(--line); background: var(--night-3); border-radius: 20px; padding: 26px 30px; text-align: left; }
.offer-momentum .offer-name { color: var(--gold-2); }
.offer-momentum-sub { color: var(--cream-4); font-size: 15px; font-family: var(--body); font-weight: 400; }
.offer-momentum > p:last-child { margin-top: 8px; color: var(--cream-3); font-size: 15px; line-height: 1.6; }
.offer-tag { margin-top: 10px; color: var(--cream-2); font-size: 15px; line-height: 1.4; }
.offer-items { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.offer-items li { position: relative; padding-left: 22px; color: var(--cream-3); font-size: 14.5px; }
.offer-items li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-2); }
.offer-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--cream-4); font-size: 12.5px; line-height: 1.5; }
.offer-guarantee { margin-top: 40px; border: 1px solid rgba(224, 177, 58, 0.25); background: rgba(224, 177, 58, 0.05); border-radius: 18px; padding: 26px 30px; }
.offer-guarantee p { color: var(--cream-2); font-size: 15.5px; line-height: 1.6; }
.offer-guarantee b { color: var(--gold-2); }
.offer-fine { margin-top: 22px; font-size: 13px; color: var(--cream-4); }

/* audit "what you get" list on the CTA */
.audit-includes { list-style: none; margin: 26px auto 0; padding: 0; max-width: 520px; display: grid; gap: 10px; text-align: left; }
.audit-includes li { position: relative; padding-left: 24px; color: var(--cream-3); font-size: 15px; }
.audit-includes li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-2); }

/* ---------- Reviews / trust strip ---------- */
.reviews { margin: 66px auto 0; max-width: 920px; }
.reviews-head { text-align: center; margin-bottom: 30px; }
.reviews-head .stars { color: var(--gold-2); letter-spacing: 0.3em; font-size: 16px; }
.reviews-label { display: block; margin-top: 10px; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-4); }
.reviews-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review-card { border: 1px solid var(--line); background: var(--night-3); border-radius: 18px; padding: 26px 26px 22px; }
.review-card .stars.sm { color: var(--gold-2); letter-spacing: 0.25em; font-size: 12px; }
.review-card blockquote { margin-top: 12px; font-family: var(--display); font-weight: 500; font-size: 17px; line-height: 1.42; color: var(--cream); }
.review-card blockquote b { color: var(--gold-2); font-weight: 500; }
.review-card figcaption { margin-top: 16px; }
.review-card figcaption b { font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--cream); display: block; }
.review-card figcaption span { font-size: 12.5px; color: var(--cream-4); }

/* ---------- Explore dock ---------- */
.dock { background: var(--night); border-top: 1px solid var(--line); }
.dock .wrap { max-width: 1160px; margin: 0 auto; padding: 110px 32px 130px; }
.dock h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.12;
}
.dock-group { margin-top: 44px; }
.dock-label {
  font-family: ui-monospace, "SF Mono", monospace; font-weight: 600;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 16px;
}
.dock-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.dock-card {
  position: relative; display: block; text-decoration: none;
  border: 1px solid var(--line); background: var(--night-3);
  border-radius: 18px; padding: 24px 26px 22px;
  transition: border-color 0.25s, transform 0.25s;
}
.dock-card:hover { border-color: rgba(224, 177, 58, 0.5); transform: translateY(-3px); }
.dock-card b { font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--cream); }
.dock-card p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--cream-3); }
.dock-card span {
  position: absolute; top: 22px; right: 22px; color: var(--gold-2);
  transition: transform 0.25s;
}
.dock-card:hover span { transform: translateX(4px); }

/* ---------- Scroll reveals ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .scroll-hint, .scroll-hint-chev { animation: none; }
}
@media (max-width: 768px) {
  .nav { padding: 14px 16px; }
  .nav-phone, .nav-links { display: none; }
  .copy .wrap, .outro .wrap { padding: 90px 22px; }
  .cinematic { height: 460vh; } /* slightly shorter journeys on a thumb */
  .overlay .beat { border-radius: 18px; background: rgba(12, 11, 9, 0.66); }
  .overlay .beat h1 { font-size: clamp(1.55rem, 7.2vw, 2.2rem); }
  #rail { right: 10px; gap: 16px; }
  .rail-label { display: none; }
  .gap { height: 220vh; }
  /* constellation slims to the strongest films */
  .hide-m { display: none; }
  .film-card { width: 82vw; transform: rotate(-0.8deg); }
  .film-card.vert { width: 40vw; }
  .lane { gap: 14px; }
  .lane + .lane { margin-top: -18px; }
}
