/* ============================================================
   SofaCine — brand tokens (taken from the logo: navy, gold, ice)
   ============================================================ */
:root {
  color-scheme: dark; /* single dark look by design */
  --ink: #060d18;
  --navy-950: #070f1d;
  --navy-900: #0a1422;
  --navy-800: #101f37;
  --navy-700: #17305a;
  --navy-600: #1f3d72;
  --navy-500: #2a4f8f;
  --gold-300: #f6dc97;
  --gold-400: #e9c674;
  --gold-500: #d9b45a;
  --gold-600: #b88d34;
  --ice: #cfe6f5;
  --ice-dim: #9fb9cc;
  --text: #e8eef5;
  --muted: #8ea2b8;
  --gold-grad: linear-gradient(100deg, #f6dc97 0%, #d9b45a 45%, #b88d34 100%);
  --radius: 18px;
  --ease-curtain: cubic-bezier(.77, 0, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--text);
  font: 400 17px/1.6 "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Cinzel", serif; font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: .01em; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 "Outfit", sans-serif; letter-spacing: .04em;
  padding: 14px 24px; transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn-gold { background: var(--gold-grad); color: #1a1406; box-shadow: 0 8px 30px -8px rgba(217,180,90,.6), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(217,180,90,.8), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { color: var(--ice); border: 1px solid rgba(207,230,245,.35); backdrop-filter: blur(6px); background: rgba(10,20,34,.35); }
.btn-ghost:hover { border-color: var(--ice); background: rgba(207,230,245,.08); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px max(16px, calc((100vw - 1180px) / 2));
  transition: background .4s, backdrop-filter .4s, transform .6s, opacity .6s;
  opacity: 0; transform: translateY(-100%);
}
.nav.show { opacity: 1; transform: none; }
.nav.solid { background: rgba(7,15,29,.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(217,180,90,.18); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 46px; height: auto; }
.wordmark { font: 700 22px/1 "Cinzel", serif; letter-spacing: .06em; }
.wordmark .g { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark .i { color: var(--ice); }
.links { display: flex; gap: 30px; font-size: 15px; color: var(--muted); }
.links a { position: relative; transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold-500); transform: scaleX(0); transition: transform .3s; }
.links a:hover { color: var(--text); }
.links a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; background: var(--ink); }

/* Scene behind the curtain */
.stage { position: absolute; inset: 0; z-index: 0; }
.scene {
  position: absolute; inset: -4%;
  background:
    linear-gradient(180deg, rgba(6,13,24,.35) 0%, rgba(6,13,24,.15) 40%, rgba(6,13,24,.85) 88%, var(--ink) 100%),
    var(--img, none) center 60% / cover no-repeat,
    radial-gradient(ellipse at 50% 35%, #2a4f8f 0%, #0a1422 60%);
  transform: scale(1.12);
  filter: brightness(.35) saturate(.8);
  transition: transform 7s cubic-bezier(.2,.6,.2,1) .4s, filter 2.4s ease .6s;
}
.hero.open .scene { transform: scale(1); filter: brightness(1) saturate(1.05); }
.scene-video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: 0; transition: opacity 1.2s; }
.scene-video.ready { opacity: 1; }
/* keep the readability gradient above the video */
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,24,.35) 0%, rgba(6,13,24,.1) 40%, rgba(6,13,24,.85) 88%, var(--ink) 100%); }
.scene-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(207,230,245,.18), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(217,180,90,.22), transparent 70%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 2s ease 1.2s;
  animation: flicker 5s infinite steps(1);
}
.hero.open .scene-glow { opacity: 1; }
@keyframes flicker { 0%,100%{filter:brightness(1)} 47%{filter:brightness(1.15)} 48%{filter:brightness(.9)} 72%{filter:brightness(1.08)} }
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 2s 1.4s; }
.hero.open .dust { opacity: 1; }

/* Veo curtain-opening intro (used when video/curtain-open.mp4 is available) */
.intro-video { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: none; transition: opacity 1.2s ease; }
.hero.has-intro .intro-video { display: block; }
.hero.has-intro .curtains { display: none; }
.hero.has-intro .scene { inset: 0; transform: none; filter: none; transition: none; }
.hero.has-intro.open .intro-video { opacity: 0; pointer-events: none; }
.hero.has-intro .hero-copy { z-index: 5; }
.hero.has-intro.open .hero-copy > :nth-child(1) { transition-delay: .2s; }
.hero.has-intro.open .hero-copy > :nth-child(2) { transition-delay: .4s; }
.hero.has-intro.open .hero-copy > :nth-child(3) { transition-delay: .65s; }
.hero.has-intro.open .hero-copy > :nth-child(4) { transition-delay: .85s; }
.hero.has-intro.open .hero-copy > :nth-child(5) { transition-delay: 1.05s; }

/* Projector beam */
.projector {
  position: absolute; z-index: 1; left: 50%; top: -10%; width: 140vmax; height: 120%;
  transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% 0%, transparent 168deg, rgba(207,230,245,.10) 176deg, rgba(207,230,245,.16) 180deg, rgba(207,230,245,.10) 184deg, transparent 192deg);
  mix-blend-mode: screen; opacity: 0; pointer-events: none;
  transition: opacity 1.5s ease 1.6s;
}
.hero.open .projector { opacity: 1; animation: beam 9s ease-in-out infinite 3s; }
@keyframes beam { 50% { opacity: .6; } }

/* Hero copy */
.hero-copy {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center;
  padding: 0 16px clamp(56px, 10vh, 120px);
}
.hero-copy > * { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.hero.open .hero-copy > * { opacity: 1; transform: none; }
.hero.open .hero-copy > :nth-child(1) { transition-delay: 1.5s; }
.hero.open .hero-copy > :nth-child(2) { transition-delay: 1.7s; }
.hero.open .hero-copy > :nth-child(3) { transition-delay: 1.95s; }
.hero.open .hero-copy > :nth-child(4) { transition-delay: 2.15s; }
.hero.open .hero-copy > :nth-child(5) { transition-delay: 2.35s; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-400); margin: 0 0 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4b4b; box-shadow: 0 0 0 0 rgba(255,75,75,.7); animation: rec 1.6s infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 10px rgba(255,75,75,0); } 100% { box-shadow: 0 0 0 0 rgba(255,75,75,0); } }
.hero h1 {
  font-size: clamp(40px, 7.4vw, 104px); font-weight: 900; letter-spacing: .01em;
  text-shadow: 0 6px 40px rgba(0,0,0,.6);
}
.hero h1 em {
  font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: sheen 6s linear infinite;
  filter: drop-shadow(0 4px 24px rgba(217,180,90,.35));
}
@keyframes sheen { to { background-position: -200% 0; } }
.lede { max-width: 620px; margin: 22px auto 30px; color: #c9d6e3; font-size: clamp(16px, 1.6vw, 19px); text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.badges { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 13px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.badges b { color: var(--ice); font-weight: 600; }

/* ---------- Curtains ---------- */
.curtains { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.curtain {
  position: absolute; top: 0; bottom: 0; width: 51%;
  --fold: 92px;
  background:
    /* vertical shading: dark top under valance, pooling at the floor */
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 78%, rgba(0,0,0,.5) 100%),
    /* velvet sheen */
    radial-gradient(ellipse 30% 60% at 70% 45%, rgba(120,160,230,.10), transparent 70%),
    /* the folds */
    repeating-linear-gradient(90deg,
      #050c1a 0,
      #0d1d3d calc(var(--fold) * .14),
      #1c3a72 calc(var(--fold) * .32),
      #2f5aa6 calc(var(--fold) * .44),
      #1c3a72 calc(var(--fold) * .58),
      #0b1934 calc(var(--fold) * .82),
      #050c1a var(--fold));
  box-shadow: inset 0 0 120px rgba(0,0,0,.7);
  transition: transform 2.6s var(--ease-curtain), filter 2.6s;
  will-change: transform;
}
.curtain::after { /* velvet grain */
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.curtain.left  { left: 0;  transform-origin: 0 50%; border-right: 1px solid rgba(0,0,0,.6); }
.curtain.right { right: 0; transform-origin: 100% 50%; background-position: calc(var(--fold) * -.5) 0; border-left: 1px solid rgba(0,0,0,.6); }
.curtain.left  { animation: sway-l 6s ease-in-out infinite; }
.curtain.right { animation: sway-r 6s ease-in-out infinite; }
@keyframes sway-l { 50% { transform: skewX(.6deg); } }
@keyframes sway-r { 50% { transform: skewX(-.6deg); } }

/* Gathered: squash the folds into the sides like a real tab curtain */
.hero.open .curtain { animation: none; }
.hero.open .curtain.left  { transform: translateX(-4%) scaleX(.13) skewX(-2deg); filter: brightness(.75); }
.hero.open .curtain.right { transform: translateX(4%)  scaleX(.13) skewX(2deg);  filter: brightness(.75); }

.fringe {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34px;
  background:
    linear-gradient(180deg, var(--gold-300), var(--gold-600)) top / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--gold-500) 0 2px, transparent 2px 5px) 0 8px / 100% 26px no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 8px no-repeat, linear-gradient(180deg, #000 60%, transparent) 0 8px / 100% 26px no-repeat;
          mask: linear-gradient(#000 0 0) top / 100% 8px no-repeat, linear-gradient(180deg, #000 60%, transparent) 0 8px / 100% 26px no-repeat;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.6));
}

/* Valance (pelmet) */
.valance { position: absolute; z-index: 3; top: 0; left: -2%; right: -2%; height: clamp(70px, 12vh, 120px); transition: transform 2.2s var(--ease-curtain) .9s; }
.valance-swags {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 50% 0, #2f5aa6 0%, #1c3a72 35%, #0b1934 70%, transparent 71%) 0 0 / 220px 100% repeat-x,
    linear-gradient(180deg, #050c1a, #0d1d3d);
  -webkit-mask: radial-gradient(ellipse 50% 100% at 50% 0, #000 70%, transparent 71%) 0 0 / 220px 100% repeat-x, linear-gradient(#000 0 0) top / 100% 45% no-repeat;
          mask: radial-gradient(ellipse 50% 100% at 50% 0, #000 70%, transparent 71%) 0 0 / 220px 100% repeat-x, linear-gradient(#000 0 0) top / 100% 45% no-repeat;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.7));
}
.valance::before { /* gold rail */
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 40%; height: 5px; background: var(--gold-grad); box-shadow: 0 2px 10px rgba(217,180,90,.5);
}
.tassels {
  position: absolute; left: 0; right: 0; top: calc(100% - 8px); height: 30px;
  background: radial-gradient(circle at 50% 30%, var(--gold-300) 0 4px, var(--gold-600) 5px, transparent 6px) 110px 0 / 220px 30px repeat-x,
              linear-gradient(90deg, transparent calc(50% - 1px), var(--gold-500) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 0 -14px / 220px 30px repeat-x;
}
.hero.open .valance { transform: translateY(-35%); }

/* "Presents" card on the closed curtain */
.presents {
  position: absolute; z-index: 4; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px;
  transition: opacity .7s, transform .9s; pointer-events: auto;
}
.presents-mark { width: 120px; height: 90px; filter: drop-shadow(0 0 24px rgba(217,180,90,.45)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.presents-sm { margin: 10px 0 0; font-size: 13px; letter-spacing: .5em; text-transform: uppercase; color: var(--ice-dim); }
.presents-lg { margin: 0; font: 900 clamp(34px, 6vw, 72px)/1.05 "Cinzel", serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 30px rgba(217,180,90,.35)); }
.raise {
  margin-top: 22px; cursor: pointer; border: 1px solid rgba(217,180,90,.6); background: rgba(5,12,26,.5); color: var(--gold-300);
  font: 500 13px/1 "Outfit", sans-serif; letter-spacing: .25em; text-transform: uppercase; padding: 14px 22px; border-radius: 999px;
  animation: pulse 2s infinite;
}
.raise:hover { background: rgba(217,180,90,.15); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(217,180,90,.5); } 50% { box-shadow: 0 0 0 12px rgba(217,180,90,0); } }
.hero.open .presents { opacity: 0; transform: scale(.9); pointer-events: none; }

/* Spotlights sweeping the closed curtain */
.spot { position: absolute; z-index: 2; width: 70vmin; height: 70vmin; border-radius: 50%; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(circle, rgba(246,220,151,.28), rgba(246,220,151,.06) 45%, transparent 68%); transition: opacity .8s; }
.spot-a { animation: spotA 7s ease-in-out infinite; }
.spot-b { animation: spotB 8s ease-in-out infinite; background: radial-gradient(circle, rgba(207,230,245,.22), rgba(207,230,245,.05) 45%, transparent 68%); }
@keyframes spotA { 0%,100% { left: -10%; top: 10%; } 50% { left: 55%; top: 25%; } }
@keyframes spotB { 0%,100% { left: 60%; top: 30%; } 50% { left: 5%; top: 5%; } }
.hero.open .spot { opacity: 0; }

.encore {
  position: absolute; z-index: 6; right: 18px; bottom: 18px; cursor: pointer;
  background: rgba(7,15,29,.6); color: var(--muted); border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  font: 500 12px/1 "Outfit", sans-serif; letter-spacing: .2em; text-transform: uppercase; padding: 10px 14px; opacity: 0; transition: opacity .6s 3s, color .2s;
}
.hero.open .encore { opacity: 1; }
.encore:hover { color: var(--gold-300); }
.scroll-cue { position: absolute; z-index: 6; left: 50%; bottom: 16px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(207,230,245,.4); border-radius: 14px; opacity: 0; transition: opacity .6s 3s; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-400); animation: cue 1.8s infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.hero.open .scroll-cue { opacity: 1; }
@media (max-width: 640px) { .scroll-cue { display: none; } .badges { gap: 8px 16px; font-size: 11px; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { position: relative; overflow: hidden; background: var(--gold-grad); color: #1a1406; padding: 14px 0; border-block: 1px solid #f6dc97; }
.marquee::before, .marquee::after { content: ""; position: absolute; inset: 3px 0 auto; height: 4px; background: radial-gradient(circle, #fff8dc 1.4px, transparent 2px) 0 0 / 18px 4px repeat-x; opacity: .9; animation: bulbs 1s steps(2) infinite; }
.marquee::after { inset: auto 0 3px; animation-delay: .5s; }
@keyframes bulbs { 50% { opacity: .3; } }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: scroll 38s linear infinite; font: 700 15px/1 "Cinzel", serif; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { font-style: normal; opacity: .6; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 70px); }
.kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-400); }
.section h2 { font-size: clamp(32px, 4.6vw, 58px); }
.sub { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); margin: 18px auto 0; max-width: 620px; }

/* Features */
.features { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(42,79,143,.25), transparent 70%), var(--navy-950); }
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(300px, auto); }
.feature {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 340px;
  background: var(--navy-800); border: 1px solid rgba(217,180,90,.14);
  display: flex; align-items: flex-end; isolation: isolate;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s, box-shadow .5s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(217,180,90,.45); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(217,180,90,.2); }
.feature.big { grid-column: span 2; grid-row: span 1; }
.feature.wide { grid-column: span 3; min-height: 380px; }
.f-img {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,20,34,0) 20%, rgba(10,20,34,.6) 55%, rgba(7,15,29,.97) 100%), var(--img, none) center / cover, radial-gradient(ellipse at 50% 30%, var(--navy-600), var(--navy-900));
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.feature:hover .f-img { transform: scale(1.06); }
.feature.wide .f-img { background: linear-gradient(90deg, rgba(7,15,29,.97) 0%, rgba(7,15,29,.75) 40%, rgba(7,15,29,0) 75%), var(--img, none) center 35% / cover, radial-gradient(ellipse at 70% 40%, var(--navy-600), var(--navy-900)); }
.f-body { padding: 28px; max-width: 520px; }
.f-num { font: 700 13px/1 "Cinzel", serif; color: var(--gold-400); letter-spacing: .2em; }
.feature h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 10px 0 10px; }
.feature p { margin: 0; color: #b6c4d3; }
.feature.wide .f-body { align-self: center; padding: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature.big, .feature.wide { grid-column: auto; }
  .feature.wide .f-img { background: linear-gradient(180deg, rgba(10,20,34,0) 20%, rgba(7,15,29,.97) 100%), var(--img, none) center / cover, radial-gradient(ellipse at 50% 30%, var(--navy-600), var(--navy-900)); }
  .feature.wide .f-body { align-self: flex-end; }
}

/* Why */
.why { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-media { position: relative; height: clamp(380px, 46vw, 540px); }
.polaroid {
  position: absolute; margin: 0; width: 66%; aspect-ratio: 4 / 3.6; padding: 12px 12px 52px; background: #f3efe6; border-radius: 4px;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.8);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.polaroid::before { content: ""; display: block; height: 100%; background: var(--img, none) center / cover, linear-gradient(135deg, var(--navy-600), var(--navy-900)); }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font: 500 17px/1 "Cinzel", serif; color: #24324a; }
.tilt-l { left: 0; top: 0; transform: rotate(-6deg); }
.tilt-l::before { filter: grayscale(.8) brightness(.8); }
.tilt-r { right: 0; bottom: 0; transform: rotate(5deg); }
.tilt-r figcaption { color: var(--gold-600); }
.split-media:hover .tilt-l { transform: rotate(-9deg) translate(-10px, -6px); }
.split-media:hover .tilt-r { transform: rotate(2deg) scale(1.04); }
.hassle { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 20px; }
.hassle li { display: flex; gap: 16px; align-items: flex-start; }
.hassle .x { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(217,180,90,.45); color: var(--gold-400); font-size: 14px; }
.hassle b { display: block; font-weight: 600; font-size: 18px; }
.hassle small { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-media { height: 420px; } }

/* Savings */
.savings { overflow: hidden; text-align: center; padding-block: clamp(110px, 16vw, 200px); }
.savings-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(7,15,29,.55), rgba(7,15,29,.96) 75%), var(--img, none) center / cover fixed, var(--navy-800); }
.big-num { display: flex; flex-direction: column; align-items: center; margin: 10px 0; }
.big-num span { font-size: 20px; color: var(--ice); letter-spacing: .1em; text-transform: uppercase; }
.big-num strong { font: 900 clamp(110px, 22vw, 260px)/0.95 "Cinzel", serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 60px rgba(217,180,90,.35)); }
.big-num b { font-weight: 900; }
.savings .sub { margin-bottom: 36px; }

/* How */
.how { background: var(--navy-900); }
.acts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: a; }
.acts li { position: relative; padding: 36px 30px 34px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(31,61,114,.35), rgba(16,31,55,.35)); border: 1px solid rgba(207,230,245,.08); overflow: hidden; }
.acts li::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1) .3s; }
.acts li.in::before { transform: scaleX(1); }
.act { font: 700 13px/1 "Cinzel", serif; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-400); }
.acts h3 { font-size: 24px; margin: 14px 0 10px; }
.acts p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .acts { grid-template-columns: 1fr; } }

/* ============================================================
   WAITLIST — tear-off paper ticket
   ============================================================ */
.waitlist { background: var(--navy-950); overflow: hidden; overflow: clip; /* clip: focus() can't scroll it sideways */ }
.waitlist::before { /* spotlight on the ticket */
  content: ""; position: absolute; left: 50%; top: 52%; width: min(1100px, 140vw); height: 620px; transform: translate(-50%, -30%);
  background: radial-gradient(ellipse at center, rgba(217,180,90,.16), transparent 65%); pointer-events: none;
}
.ticket {
  --paper: #f5ecd6;
  --ink: #14284d;
  --foil: #b88d34;
  --stub-w: 200px;
  --notch: 16px;
  position: relative; display: grid; grid-template-columns: 1fr var(--stub-w);
  max-width: 920px; margin: 0 auto;
  color: var(--ink);
  filter: drop-shadow(0 28px 36px rgba(0,0,0,.55)) drop-shadow(0 2px 2px rgba(0,0,0,.4));
  transform: rotate(-1.2deg);
}
.ticket.reveal { transform: translateY(40px) rotate(-1.2deg); }
.ticket.reveal.in { transform: rotate(-1.2deg); }

/* paper: warm stock + guilloche + grain, with punched corner notches */
.t-main, .t-stub {
  position: relative;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(255,255,255,.55), transparent 55%),
    repeating-radial-gradient(circle at 110% 50%, transparent 0 9px, rgba(184,141,52,.10) 9px 10px),
    repeating-radial-gradient(circle at -10% 50%, transparent 0 9px, rgba(20,40,77,.05) 9px 10px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .2 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--paper);
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 0, #0000 97%, #000) top left / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, #0000 97%, #000) top right / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 0 100%, #0000 97%, #000) bottom left / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 97%, #000) bottom right / 51% 51% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at 0 0, #0000 97%, #000) top left / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, #0000 97%, #000) top right / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 0 100%, #0000 97%, #000) bottom left / 51% 51% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 97%, #000) bottom right / 51% 51% no-repeat;
}
.t-main { border-radius: 6px 0 0 6px; padding: 14px; }
.t-inner {
  position: relative; height: 100%; padding: clamp(22px, 4vw, 38px) clamp(20px, 4vw, 44px) clamp(20px, 3vw, 30px);
  border: 1.5px solid var(--foil); outline: 1px solid var(--foil); outline-offset: -7px; border-radius: 4px;
  text-align: center;
}
.t-top { display: flex; justify-content: space-between; gap: 10px; font: 700 11px/1 "Cinzel", serif; letter-spacing: .22em; text-transform: uppercase; color: var(--foil); }
.t-top b { font-family: "Special Elite", monospace; letter-spacing: .1em; color: var(--ink); font-weight: 400; }
.t-pass { color: #8f2a2a; }
.t-title { margin: 18px 0 2px; font: 900 clamp(40px, 7vw, 76px)/1 "Cinzel", serif; letter-spacing: .06em; color: var(--ink); }
.t-title .g { background: linear-gradient(100deg, #d9b45a, #a77a22 60%, #d9b45a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-tag { margin: 0; font: 600 12px/1.4 "Outfit", sans-serif; letter-spacing: .38em; text-transform: uppercase; color: #6d6150; }

.t-fields { display: grid; gap: 14px; margin: clamp(22px, 4vw, 34px) 0 clamp(18px, 3vw, 26px); text-align: left; }
.t-field { display: flex; align-items: baseline; gap: 14px; }
.t-label { flex: none; width: 64px; font: 700 13px/1 "Cinzel", serif; letter-spacing: .2em; text-transform: uppercase; color: var(--foil); }
.t-field input {
  flex: 1; min-width: 0; padding: 6px 2px 8px; border: 0; border-bottom: 2px dotted rgba(20,40,77,.45); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 clamp(19px, 2.4vw, 24px)/1.2 "Special Elite", "Courier New", monospace;
  transition: border-color .2s, background .2s;
}
.t-field input::placeholder { color: rgba(20,40,77,.32); }
.t-field input:focus { outline: none; border-bottom: 2px solid var(--foil); background: linear-gradient(0deg, rgba(217,180,90,.14), transparent 70%); }
.t-field input.bad { border-bottom: 2px solid #b3262e; animation: nope .4s; }
.t-field input[readonly] { border-bottom-style: solid; border-bottom-color: rgba(20,40,77,.18); }
.t-foot { display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px); padding-top: 16px; border-top: 1px dashed rgba(184,141,52,.6); font: 700 11px/1 "Cinzel", serif; letter-spacing: .22em; text-transform: uppercase; color: var(--foil); }
.t-foot b { display: block; margin-top: 6px; font-size: 18px; letter-spacing: .12em; color: var(--ink); }
.t-done { min-height: 1.3em; margin: 14px 0 0; font: 400 16px/1.4 "Special Elite", monospace; color: #8f2a2a; }

/* the stub = the submit button */
.t-stub {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px;
  padding: 26px 18px; border: 0; border-radius: 0 6px 6px 0; cursor: pointer; color: var(--ink); font: inherit;
  transform-origin: 0 50%; transition: transform .35s cubic-bezier(.3,1.6,.5,1);
}
.t-stub::before { /* perforation holes */
  content: ""; position: absolute; left: -4px; top: 10px; bottom: 10px; width: 8px;
  background: radial-gradient(circle 3.2px, var(--navy-950) 92%, transparent 100%) 0 0 / 8px 14px repeat-y;
}
.t-stub::after { /* inner foil frame */
  content: ""; position: absolute; inset: 14px 14px 14px 18px; border: 1.5px solid var(--foil); border-radius: 4px; pointer-events: none;
}
.stub-admit { writing-mode: vertical-rl; transform: rotate(180deg); font: 900 30px/1 "Cinzel", serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.stub-cta { display: grid; justify-items: center; gap: 6px; font: 700 11px/1.2 "Cinzel", serif; letter-spacing: .2em; text-transform: uppercase; color: #8f2a2a; text-align: center; }
.scissors { font-size: 22px; color: var(--ink); display: inline-block; animation: snip 1.6s ease-in-out infinite; }
@keyframes snip { 0%, 60%, 100% { transform: rotate(-90deg) translateX(0); } 75% { transform: rotate(-90deg) translateX(-6px) scaleY(.7); } }
.stub-no { font: 400 13px/1 "Special Elite", monospace; color: #6d6150; }
.stub-no b { font-weight: 400; }
.t-stub:hover, .t-stub:focus-visible { transform: rotate(2.5deg) translateX(3px); outline: none; }
.t-stub:focus-visible::after { border-color: #8f2a2a; border-width: 2px; }

/* tearing */
.ticket.tugging .t-stub { animation: tug .5s ease-in-out forwards; }
@keyframes tug { 0% { transform: none; } 30% { transform: rotate(4deg) translateX(4px); } 55% { transform: rotate(1deg) translateX(1px); } 80% { transform: rotate(7deg) translateX(8px); } 100% { transform: rotate(6deg) translateX(7px); } }
.ticket.torn .t-stub { pointer-events: none; animation: drop 1.1s cubic-bezier(.45,0,.6,1) forwards; }
@keyframes drop {
  0%   { transform: rotate(6deg) translate(7px, 0); }
  35%  { transform: rotate(17deg) translate(26px, 30px); }
  100% { transform: rotate(12deg) translate(30px, 84px); }
}
.ticket.nope .t-stub { animation: nope .4s; }
@keyframes nope { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
.ticket.torn .t-main { animation: jolt .35s ease-out; }
@keyframes jolt { 30% { transform: translateX(-6px) rotate(-.6deg); } }

.paper-bit { position: absolute; z-index: 3; width: 5px; height: 3px; background: #f5ecd6; border-radius: 1px; pointer-events: none; animation: bit .9s ease-out forwards; }
@keyframes bit { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }

/* rubber stamp */
.t-stamp {
  position: absolute; z-index: 2; left: 70%; top: 69%; display: grid; justify-items: center; gap: 4px;
  padding: 12px 26px 10px; border: 5px double rgba(163,36,43,.88); border-radius: 10px; color: rgba(163,36,43,.88);
  transform: translate(-50%, -50%) rotate(-14deg) scale(2.6); opacity: 0; pointer-events: none;
  mix-blend-mode: multiply;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.t-stamp b { font: 900 clamp(26px, 4.4vw, 42px)/1 "Cinzel", serif; letter-spacing: .14em; text-transform: uppercase; }
.t-stamp small { font: 700 11px/1 "Outfit", sans-serif; letter-spacing: .3em; text-transform: uppercase; }
.ticket.stamped .t-stamp { animation: stamp .45s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes stamp { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(2.6); } 60% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(.94); } 100% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }

.t-again { text-align: center; margin: 120px 0 0; }
.t-again button { background: none; border: 0; cursor: pointer; color: var(--gold-400); font: 500 15px "Outfit", sans-serif; letter-spacing: .06em; border-bottom: 1px solid rgba(217,180,90,.4); padding: 4px 0; }
.t-again button:hover { color: var(--gold-300); border-color: var(--gold-300); }

/* phone: stub sits under the ticket and tears downwards */
@media (max-width: 720px) {
  .ticket { grid-template-columns: 1fr; transform: none; --notch: 14px; }
  .ticket.reveal { transform: translateY(40px); } .ticket.reveal.in { transform: none; }
  .t-main { border-radius: 6px 6px 0 0; }
  .t-top { font-size: 9px; letter-spacing: .14em; }
  .t-field { flex-direction: column; align-items: stretch; gap: 4px; }
  .t-field input { width: 100%; }
  .t-stub { flex-direction: row; padding: 22px 26px; border-radius: 0 0 6px 6px; transform-origin: 50% 0; }
  .t-stub::before { left: 10px; right: 10px; top: -4px; bottom: auto; width: auto; height: 8px; background-size: 14px 8px; background-repeat: repeat-x; }
  .t-stub::after { inset: 18px 14px 14px; }
  .stub-admit { writing-mode: horizontal-tb; transform: none; font-size: 20px; }
  .t-stub:hover, .t-stub:focus-visible { transform: translateY(3px) rotate(-1deg); }
  @keyframes tug { 0% { transform: none; } 30% { transform: translateY(5px) rotate(-1.5deg); } 55% { transform: translateY(1px); } 80% { transform: translateY(9px) rotate(-2.5deg); } 100% { transform: translateY(8px) rotate(-2deg); } }
  @keyframes drop { 0% { transform: translateY(8px) rotate(-2deg); } 100% { transform: translateY(110vh) rotate(-28deg); opacity: .6; } }
  .t-again { margin-top: 28px; }
  .t-stamp { top: 64%; left: 62%; }
}

/* Footer */
.footer { background: var(--ink); padding: 70px 0 30px; border-top: 1px solid rgba(217,180,90,.15); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { margin: 0 0 14px; font: 600 13px/1 "Outfit", sans-serif; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-400); }
.foot-grid a:not(.brand) { display: block; color: var(--muted); padding: 4px 0; transition: color .2s; }
.foot-grid a:not(.brand):hover { color: var(--text); }
.foot-brand .wordmark { font-size: 30px; }
.tag { color: var(--muted); margin: 12px 0 0; }
.mail { font-size: 18px; color: var(--ice) !important; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; color: #5f7389; }
.foot-base p { margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
