/* ============================================================
   Sei Laut — The Crossing.  Cinematic scroll-journey stylesheet.
   Palette: black · gold · white · green · turquoise
   Type: Cormorant Garamond (display) + Manrope (sans)
   ============================================================ */

:root{
  /* Brand */
  --black:      #04070a;
  --ink:        #060d0b;
  --white:      #F4F1EA;          /* warm white */
  --white-dim:  rgba(244,241,234,.62);
  --white-faint:rgba(244,241,234,.34);

  --gold:       #C9A24B;
  --gold-hi:    #ECDDA6;
  --gold-lo:    #8C6C28;
  --gold-grad:  linear-gradient(170deg,#F3E7B8 0%,#D8B963 38%,#C9A24B 60%,#9C7A30 100%);

  --turq:       #2FD3BD;
  --turq-deep:  #12897b;
  --green:      #0c5a3e;
  --green-deep: #06180f;

  /* Live scene vars (driven by JS each frame) */
  --sky-top:    #03070a;
  --sky-mid:    #051410;
  --sky-bot:    #061a12;
  --glow:       0;                /* clearing light intensity 0..1 */
  --veil:       .72;              /* dark vignette opacity */
  --bright:     1;                /* foliage brightness */
  --fog-op:     .5;
  --cam:        0;                /* 0..1 journey progress, smoothed */

  --maxw: 1180px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{
  scroll-behavior:auto;
  /* Horizontal-scroll lock — clip (not hidden) so no sideways scroll container is created,
     and the page can never be dragged left/right on any device. */
  overflow-x:clip;
  overscroll-behavior-x:none;
  width:100%;
}
body{
  background:var(--black);
  color:var(--white);
  font-family:'Manrope',system-ui,sans-serif;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
  overscroll-behavior-x:none;
  width:100%;
  max-width:100%;
  position:relative;
  cursor:default;
}
::selection{ background:rgba(201,162,75,.3); color:var(--white); }

/* ===================== FIXED 3D STAGE ===================== */
.stage{
  position:fixed; inset:0; z-index:0;
  overflow:hidden;
  /* Fix 4: static dark base — painted once, never per-frame */
  background:linear-gradient(180deg,#03070a 0%,#051410 48%,#061a12 100%);
  perspective:1100px;
  perspective-origin:50% 42%;
}
/* Fix 4: warm/lit state as a separate layer, crossfaded by GPU-composited opacity
   (no gradient repaint per frame). Glow is baked in so it grows as you scroll. */
.sky-warm{
  position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(120% 80% at 50% 112%,
       rgba(47,211,189,.5) 0%,
       rgba(236,221,166,.28) 14%,
       transparent 46%),
    linear-gradient(180deg,#0a221f 0%,#0e2c20 48%,#16382c 100%);
  opacity:var(--cam-e,0);
  will-change:opacity;
}
.layer{
  position:absolute; inset:-8% -8% -8% -8%;
  will-change:transform,opacity;
  transform-style:preserve-3d;
  pointer-events:none;
}

/* ---------- deep photo vista (A/B backdrops) ---------- */
.photo{ z-index:0; overflow:hidden; }
.photo-img{
  position:absolute; inset:-6%;
  background-position:center 38%; background-size:cover; background-repeat:no-repeat;
  /* Fix 3: static filter (rasterized once). Scroll "brightening" rides on opacity below. */
  filter:brightness(.52) saturate(.86) contrast(1.04);
  opacity:calc(.30 + var(--cam)*.46);
  transform:scale(1.04);
  will-change:opacity;
}
body.bk-jungle .photo-img{ background-image:url("assets/jungle-vista.webp"); background-position:center 38%; }
body.bk-urban  .photo-img{ background-image:url("assets/urban-vista.webp");  background-position:center 32%;
  filter:brightness(.46) saturate(.74) contrast(1.06); }
.photo-tint{
  position:absolute; inset:-6%;
  background:
    radial-gradient(60% 42% at 50% 40%,
       rgba(236,221,166,.14) 0%, transparent 60%),
    linear-gradient(180deg,
       rgba(4,7,10,.72) 0%, rgba(5,20,16,.48) 30%,
       rgba(6,24,18,.52) 62%, rgba(4,7,10,.92) 100%);
  mix-blend-mode:normal;
}
/* urban sky is bright — sink it into the brand palette */
body.bk-urban .photo-tint{
  background:
    radial-gradient(58% 40% at 50% 34%, rgba(47,211,189,.13) 0%, transparent 58%),
    radial-gradient(120% 80% at 50% 8%, rgba(6,24,18,.78) 0%, transparent 50%),
    linear-gradient(180deg, rgba(4,7,10,.72) 0%, rgba(5,20,16,.40) 34%,
       rgba(6,24,18,.40) 64%, rgba(4,7,10,.90) 100%);
}

/* ---------- faint ring-emblem watermark ---------- */
.emblem{ z-index:0; display:grid; place-items:center; }
.emblem::before{
  content:''; width:min(118vh,96vw); aspect-ratio:1;
  background:url("assets/ring-emblem.png") center/contain no-repeat;
  opacity:.08;
  filter:brightness(1.4);
  mix-blend-mode:screen;
  animation:emblem-turn 140s linear infinite;
}
@keyframes emblem-turn{ from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* fog — Fix 6: radial-gradient bands are already soft, so the live blur() is dropped */
.fog{ opacity:var(--fog-op); mix-blend-mode:screen; }
.fog .band{
  position:absolute; left:-30%; width:160%; height:42%;
  background:radial-gradient(60% 100% at 50% 50%,
     rgba(47,211,189,.5) 0%, rgba(47,211,189,.12) 40%, transparent 72%);
}
.fog .b1{ top:34%; animation:drift1 38s linear infinite; }
.fog .b2{ top:58%; background:radial-gradient(60% 100% at 50% 50%,
     rgba(180,200,190,.42),transparent 70%); animation:drift2 52s linear infinite; }
@keyframes drift1{ from{transform:translateX(-8%)} to{transform:translateX(8%)} }
@keyframes drift2{ from{transform:translateX(7%)} to{transform:translateX(-7%)} }

/* fireflies */
.fireflies{ position:absolute; inset:0; }
.spark{
  position:absolute; border-radius:50%;
  /* Fix 5: box-shadow is the single glow mechanism (blur filter removed) */
  animation:float var(--fd,16s) ease-in-out infinite alternate,
            twinkle var(--td,4s) ease-in-out infinite;
  will-change:transform,opacity;
}
@keyframes float{
  from{ transform:translate(0,0); }
  to{ transform:translate(var(--dx,14px),var(--dy,-20px)); }
}
@keyframes twinkle{ 0%,100%{opacity:.15} 50%{opacity:1} }

/* cinematic overlays */
.vignette{
  position:fixed; inset:0; z-index:3; pointer-events:none;
  /* Fix 4: static gradient at full strength; --veil drives composited opacity only */
  background:
    radial-gradient(130% 100% at 50% 40%, transparent 42%, rgba(0,0,0,.9) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 22%);
  opacity:var(--veil,.8);
  transition:none;
}
.grain{
  position:fixed; inset:0; z-index:4; pointer-events:none; opacity:.05;
  /* Fix 7: pre-rendered noise tile (no live feTurbulence filter) */
  background-image:url("assets/grain.png");
  background-repeat:repeat;
  mix-blend-mode:overlay;
}

/* ===================== CONTENT ===================== */
.scroll{ position:relative; z-index:2; }
.beat{
  position:relative;
  min-height:100svh;
  display:flex; flex-direction:column; justify-content:center;
  padding:14vh clamp(28px,8vw,140px);
}
.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; }

/* reveal animation */
.rv{ opacity:0; transform:translateY(34px); filter:blur(6px);
     transition:opacity 1.1s cubic-bezier(.16,1,.3,1),
                transform 1.1s cubic-bezier(.16,1,.3,1),
                filter 1.1s ease; }
.rv.in{ opacity:1; transform:none; filter:none; }
.rv.d1{ transition-delay:.08s } .rv.d2{ transition-delay:.18s }
.rv.d3{ transition-delay:.30s } .rv.d4{ transition-delay:.44s }
.rv.d5{ transition-delay:.58s }

/* type */
.eyebrow{
  font-size:clamp(11px,1vw,13px); letter-spacing:.42em; text-transform:uppercase;
  font-weight:600; color:var(--turq);
}
.eyebrow .dot{ display:inline-block; width:6px;height:6px;border-radius:50%;
  background:var(--turq); margin-right:.9em; vertical-align:middle;
  box-shadow:0 0 12px var(--turq); }
.eyebrow.center{ text-align:center; }
.page-footer{ position:relative; z-index:2; text-align:center; padding:40px;
  color:var(--white-faint); font-size:12px; letter-spacing:.16em; text-transform:uppercase; }

.display{
  font-family:'Cormorant Garamond',serif; font-weight:500;
  line-height:.98; letter-spacing:-.012em;
  text-wrap:balance; overflow-wrap:break-word;
  text-shadow:0 2px 30px rgba(0,0,0,.7), 0 1px 4px rgba(0,0,0,.5);
}
.gold{
  background:var(--gold-grad);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  /* line-height < 1 clips the gradient paint box at the baseline, leaving
     descenders (g, y, p) uncolored. Extend the box down, cancel the layout shift. */
  padding-bottom:.14em; margin-bottom:-.14em;
}
.italic{ font-style:italic; }

.lede{ font-size:clamp(17px,1.5vw,21px); line-height:1.62; color:var(--white-dim);
  max-width:54ch; font-weight:350; text-wrap:pretty; text-shadow:0 1px 16px rgba(0,0,0,.6); }

/* ===================== HERO ===================== */
.hero{ justify-content:center; gap:clamp(26px,4.4vh,52px);
  padding-top:clamp(118px,13vh,168px); padding-bottom:clamp(40px,5vh,72px); }
.hero .display{ font-size:clamp(30px,5.5vw,88px); }
.hero .lede{ margin-top:22px; }
.hero-cta{ margin-top:30px; display:flex; gap:26px; align-items:center; flex-wrap:wrap; }
.hero .wrap{ flex:0 0 auto; }

/* ===================== HERO FOOT (step teaser + entry cue) ===================== */
.hero-foot{
  flex:0 0 auto; align-self:center; margin-top:0;
  width:min(640px,100%); display:flex; flex-direction:column; align-items:center;
  gap:clamp(26px,3.6vh,44px);
  z-index:2;
}
/* 3-step "how easy setup is" teaser — entices, doesn't over-explain */
.hero-steps{ display:flex; align-items:flex-start; justify-content:center; gap:clamp(6px,2vw,18px); width:100%; }
.hstep{ position:relative; flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center;
  text-align:center; }
.hstep .hs-node{ width:clamp(30px,8vw,34px); height:clamp(30px,8vw,34px); border-radius:50%; display:grid; place-items:center;
  border:1px solid rgba(201,162,75,.45); background:rgba(6,12,11,.5); backdrop-filter:blur(6px);
  font-family:'Cormorant Garamond',serif; font-style:italic; font-size:clamp(14px,3.6vw,16px); color:var(--gold);
  position:relative; z-index:1; transition:.4s; }
.hstep .hs-title{ margin-top:10px; font-size:clamp(9.5px,2.5vw,11.5px); letter-spacing:.06em; text-transform:uppercase;
  font-weight:600; color:var(--white); line-height:1.25; text-wrap:balance; }
.hstep .hs-sub{ margin-top:5px; font-size:clamp(9px,2.2vw,10.5px); letter-spacing:.02em; color:var(--turq);
  font-weight:500; line-height:1.3; text-wrap:balance; }
/* connecting hairline between nodes — spans the gap between adjacent nodes */
.hstep:not(:last-child)::after{ content:''; position:absolute; top:clamp(15px,4vw,17px); left:calc(50% + clamp(17px,4.4vw,19px));
  width:calc(100% - clamp(34px,8.8vw,38px) + clamp(6px,2vw,18px)); height:1px; background:linear-gradient(90deg,rgba(201,162,75,.5),rgba(201,162,75,.18)); }
.hero-steps:hover .hstep .hs-node{ border-color:rgba(201,162,75,.75); }

/* enlarged entry cue (replaces the old thin scrollcue) */
.enter-cue{ display:flex; flex-direction:column; align-items:center; gap:12px; cursor:pointer;
  margin-top:0; background:none; border:0; font-family:'Manrope'; color:var(--white);
  transition:transform .4s cubic-bezier(.16,1,.3,1); }
.enter-cue:hover{ transform:translateY(2px); }
.enter-cue .ec-label{ font-size:14px; letter-spacing:.36em; text-transform:uppercase; font-weight:600;
  color:var(--white); }
.enter-cue .ec-label::first-letter{ color:var(--gold); }
.enter-cue .line{ width:1px; height:46px; background:linear-gradient(var(--gold),transparent);
  position:relative; overflow:hidden; }
.enter-cue .line::after{ content:''; position:absolute; left:0; top:-40%; width:100%; height:40%;
  background:var(--gold-hi); animation:cue 2.2s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes cue{ 0%{top:-40%}  70%,100%{top:100%} }
@media (max-width:680px){
  .hero-foot{ margin-top:4vh; gap:30px; width:100%; }
  .enter-cue .ec-label{ font-size:12px; letter-spacing:.28em; }
  .enter-cue .line{ height:40px; }
}

/* ===================== STAGE BEATS ===================== */
.stage-beat{ overflow:hidden; }
.stage-beat .wrap{ position:relative; z-index:1; max-width:820px; }
.numeral-bg{
  position:absolute; top:50%; transform:translateY(-50%);
  font-family:'Cormorant Garamond',serif; font-weight:300; font-style:italic;
  font-size:clamp(230px,40vw,600px); line-height:.66; letter-spacing:-.02em;
  color:rgba(201,162,75,.085);
  -webkit-text-stroke:1px rgba(201,162,75,.10);
  pointer-events:none; user-select:none; z-index:0; margin:0;
}
.stage-beat:not(.right) .numeral-bg{ right:1%; }
.stage-beat:not(.right) .wrap{ margin-left:max(0px,calc((100% - var(--maxw))/2)); margin-right:auto; }
.beat.right .numeral-bg{ left:1%; }
.kicker{ font-family:'Cormorant Garamond',serif; font-style:italic; font-weight:500;
  font-size:clamp(19px,2.6vw,38px); color:var(--white); opacity:.92; text-shadow:0 1px 18px rgba(0,0,0,.6); }
.kicker .arrow{ color:var(--turq); margin:0 .5em; font-style:normal; font-family:'Manrope'; }
.transform-word{ font-size:clamp(32px,6.4vw,104px); margin-top:.06em; }
@media (min-width:1141px){
  /* prefer a single line; the vw-based clamp shrinks it as the window narrows */
  .transform-word{ white-space:nowrap; }
}
.stage-line{ margin-top:32px; }
.feeling{
  margin-top:40px; padding-left:26px; border-left:2px solid var(--gold);
  font-family:'Cormorant Garamond',serif; font-style:italic;
  font-size:clamp(22px,2.7vw,38px); line-height:1.25; color:var(--white);
  max-width:26ch; text-wrap:balance;
}
.feeling .q{ color:var(--gold); }
.whatline{ margin-top:40px; font-size:13px; letter-spacing:.26em; text-transform:uppercase;
  color:var(--turq); font-weight:600; }

/* right-aligned variant for rhythm */
.beat.right .wrap{ text-align:right; justify-items:end; }
.beat.right .feeling{ border-left:0; border-right:2px solid var(--gold);
  padding-left:0; padding-right:26px; margin-left:auto; }
.beat.right .lede{ margin-left:auto; }

/* ===================== STORY GRAPHICS (inline professional charts) ===================== */
.stage-graphic{
  position:relative; z-index:1; pointer-events:none;
  width:min(100%,440px); aspect-ratio:1 / .7; margin:36px 0 0;
  --p:0; --gshift:0px;
  color:#EAE6DC;
  opacity:calc(.62 + .38 * var(--p));      /* clearly visible at rest, full when centred */
  transform:translateX(var(--gshift)) scale(calc(.96 + .04 * var(--p)));
  transform-origin:left center; will-change:opacity, transform;
  filter:drop-shadow(0 18px 44px rgba(0,0,0,.55));
}
.beat.right .stage-graphic{ margin-left:auto; transform-origin:right center; }
.stage-graphic svg{ width:100%; height:100%; overflow:visible; display:block; }

/* chart card */
.sg-panel{ fill:rgba(9,17,15,.72); stroke:rgba(201,162,75,.22); stroke-width:1; }
/* titles + chrome */
.sg-head{ font-family:'Cormorant Garamond',serif; font-style:italic; font-size:21px; font-weight:500;
  fill:var(--white); letter-spacing:.01em; }
.sg-rule{ stroke:rgba(201,162,75,.28); stroke-width:1; }
.sg-foot{ font-family:'Manrope',sans-serif; font-size:10px; font-weight:600; letter-spacing:.22em;
  text-transform:uppercase; fill:var(--turq); }
.sg-rowlab{ font-family:'Manrope',sans-serif; font-size:12px; font-weight:500; fill:rgba(244,241,234,.78); }
.sg-val{ font-family:'Manrope',sans-serif; font-size:12.5px; font-weight:700; fill:var(--white); }
.sg-xlab{ font-family:'Manrope',sans-serif; font-size:10px; font-weight:500; fill:var(--white-faint);
  letter-spacing:.08em; }

/* bars / tracks / axes */
.sg-track{ fill:rgba(244,241,234,.07); }
.sg-lane{ stroke:rgba(244,241,234,.12); stroke-width:1; stroke-dasharray:2 4; }
.sg-axis{ stroke:rgba(244,241,234,.34); stroke-width:1.2; }
.sg-grid{ stroke:rgba(244,241,234,.10); stroke-width:1; }
.sg-bar{ rx:6; }
.sg-bar-gold{ fill:var(--gold); }
.sg-bar-teal{ fill:var(--turq); }
.sg-bar-dim{ fill:rgba(244,241,234,.30); }
/* grow-in animation, gated on scroll progress */
.sg-grow{ transform:scaleY(var(--p)); transform-box:fill-box; transform-origin:bottom center; }
.sg-grow-x,.sg-bar.sg-bar-gold,.sg-bar.sg-bar-teal{ transform:scaleX(var(--p)); transform-box:fill-box; transform-origin:left center; }
.sg-bar.sg-grow{ transform:scaleY(var(--p)); transform-origin:bottom center; }

/* before/after drop annotation */
.sg-drop{ fill:none; stroke:var(--gold); stroke-width:1.4; stroke-dasharray:3 3; opacity:.8; }
.sg-drop-fill{ fill:var(--gold); }
.sg-delta{ font-family:'Cormorant Garamond',serif; font-style:italic; font-size:20px; fill:var(--gold-hi); }
/* gold callout badge with black text (matches CTA) */
.sg-badge{ fill:var(--gold); stroke:rgba(0,0,0,.18); stroke-width:1; }
.sg-badge-txt{ font-family:'Manrope',sans-serif; font-weight:800; font-size:14px;
  letter-spacing:.01em; fill:#0B0E0C; }

/* growth / BI chart */
.sg-line{ fill:none; stroke:var(--gold); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.sg-draw{ stroke-dasharray:1; stroke-dashoffset:calc(1 - var(--p)); }
.sg-dot{ fill:var(--gold); }
.sg-dot-hi{ fill:var(--gold-hi); }
.sg-dot-ring{ fill:none; stroke:var(--gold-hi); stroke-width:1.4; opacity:.6; }
.sg-kpi{ font-family:'Cormorant Garamond',serif; font-weight:600; font-size:26px; fill:var(--gold-hi); }
.sg-live{ fill:var(--turq); }
.sg-livelab{ font-family:'Manrope',sans-serif; font-size:9px; font-weight:700; letter-spacing:.2em; fill:var(--turq); }
@media (prefers-reduced-motion:no-preference){
  .sg-live{ animation:sg-pulse 1.8s ease-in-out infinite; }
}
@keyframes sg-pulse{ 0%,100%{opacity:.35} 50%{opacity:1} }

/* style variants (body class set by tweaks) */
body.sg-minimal .sg-bar-gold,body.sg-minimal .sg-line,body.sg-minimal .sg-dot,
body.sg-minimal .sg-dot-hi,body.sg-minimal .sg-drop,body.sg-minimal .sg-drop-fill{
  fill:rgba(244,241,234,.9); stroke:rgba(244,241,234,.9); }
body.sg-minimal .sg-bar-teal{ fill:rgba(244,241,234,.55); }
body.sg-accent .stage-graphic{ opacity:calc(.74 + .26 * var(--p)); }
body.sg-off .stage-graphic{ display:none; }
@media(max-width:980px){
  .stage-graphic{ width:min(100%,400px); }
}
/* DESKTOP ONLY — bigger charts nudged toward the centre of the page */
@media(min-width:1141px){
  .stage-graphic{ width:min(100%,540px); }
  .stage-beat:not(.right) .stage-graphic{ --gshift:12%; }
  .stage-beat.right .stage-graphic{ --gshift:-12%; }
}

/* ===================== CLEARING / FINAL CTA ===================== */
.clearing{ text-align:center; align-items:center; }
.clearing .wrap{ max-width:900px; }
.clearing .display{ font-size:clamp(32px,6.6vw,104px); }
.clearing .lede{ margin:28px auto 0; text-align:center; }
.guarantee{ margin:26px auto 0; max-width:50ch; text-align:center; font-size:14px; line-height:1.6;
  color:var(--white-dim); padding:16px 22px; border:1px solid rgba(201,162,75,.28);
  border-radius:3px; background:rgba(201,162,75,.04); }
.guarantee strong{ color:var(--white); font-weight:600; }
.guarantee .g-mark{ color:var(--gold); margin-right:.5em; }
.final-cta{ margin-top:50px; display:flex; flex-direction:column; align-items:center; gap:20px; }
.assure{ font-size:13.5px; color:var(--white-faint); letter-spacing:.02em; }
.reflink{ background:none; border:0; color:var(--white-dim); font:inherit; font-size:13px;
  letter-spacing:.04em; cursor:pointer; border-bottom:1px solid rgba(244,241,234,.25);
  padding-bottom:2px; transition:color .3s,border-color .3s; }
.reflink:hover{ color:var(--gold); border-color:var(--gold); }

/* ===================== BUTTONS ===================== */
.btn{
  font-family:'Manrope',sans-serif; font-weight:600; font-size:15px; letter-spacing:.02em;
  cursor:pointer; border:0; border-radius:2px;
  padding:18px 34px; position:relative; color:var(--black);
  background:var(--gold-grad);
  box-shadow:0 10px 40px -12px rgba(201,162,75,.65), inset 0 1px 0 rgba(255,255,255,.4);
  transition:transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s, filter .4s;
  overflow:hidden;
}
.btn::after{ content:''; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.7),transparent);
  transform:skewX(-18deg); transition:left .7s ease; }
.btn:hover{ transform:translateY(-2px); box-shadow:0 18px 52px -10px rgba(201,162,75,.8), inset 0 1px 0 rgba(255,255,255,.5); }
.btn:hover::after{ left:120%; }
.btn:active{ transform:translateY(0); }
.btn.lg{ padding:21px 46px; font-size:16.5px; }

.btn-ghost{
  background:none; color:var(--white); border:1px solid rgba(244,241,234,.28);
  box-shadow:none; padding:17px 30px; border-radius:2px; font-weight:500; font-size:14.5px;
  letter-spacing:.04em; cursor:pointer; font-family:'Manrope'; display:inline-flex; align-items:center; gap:12px;
  transition:border-color .35s,color .35s,background .35s;
}
.btn-ghost:hover{ border-color:var(--turq); color:var(--turq); }
.btn-ghost::after{ display:none; }

/* ===================== GUIDE RAIL — horizontal header progress ===================== */
.rail{
  position:fixed; top:68px; left:50%; transform:translateX(-50%);
  z-index:6; width:min(560px,72vw); height:28px;
  display:block;
  pointer-events:none;
  opacity:0; transition:opacity .6s;
}
body.entered .rail{ opacity:1; }
.rail .track{ position:absolute; left:0; right:0; top:50%; transform:translateY(-50%); height:1px;
  background:rgba(244,241,234,.12); }
.rail .fill{ position:absolute; left:0; top:50%; transform:translateY(-50%); height:1px; width:0;
  background:linear-gradient(90deg,var(--gold),var(--gold-hi)); box-shadow:0 0 6px rgba(201,162,75,.35); }
.rail .node{ position:absolute; top:0; left:0; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center;
  height:28px; justify-content:center; cursor:pointer; pointer-events:auto; padding:0 2px; }
.rail .dot{ width:7px; height:7px; border-radius:50%; border:1px solid rgba(244,241,234,.25);
  background:rgba(11,14,12,.6); flex:none; transition:.35s; }
.rail .node.on .dot{ background:var(--gold); border-color:var(--gold);
  box-shadow:0 0 8px rgba(201,162,75,.5); }
.rail .node.active .dot{ width:8px; height:8px;
  box-shadow:0 0 12px var(--gold), 0 0 24px rgba(201,162,75,.25); }
.rail .label{ position:absolute; top:100%; margin-top:7px; left:50%; transform:translateX(-50%);
  font-family:'Manrope',sans-serif; font-size:9px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold-hi); transition:opacity .35s; white-space:nowrap; opacity:0; pointer-events:none;
  text-shadow:0 1px 8px rgba(0,0,0,.7); }
/* Only the current section's label shows — a single moving caption */
.rail .node.active .label{ opacity:1; }
/* Keep edge labels from clipping off-screen */
.rail .node[data-idx="0"] .label{ left:0; transform:none; }
.rail .node[data-idx="10"] .label{ left:auto; right:0; transform:none; }

/* top brand */
.brandbar{ position:fixed; top:0; left:0; right:0; z-index:6;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding:22px clamp(20px,4vw,52px);
  pointer-events:none; }
.brandbar::before{ content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg, rgba(4,7,10,.82) 0%, rgba(4,7,10,.5) 52%, rgba(4,7,10,0) 100%);
  -webkit-mask:linear-gradient(180deg,#000 60%,transparent 100%); }
.brandbar .pe{ pointer-events:auto; }
.brand-right{ display:flex; align-items:center; gap:clamp(14px,2vw,28px);
  padding:7px 9px 7px 16px; border-radius:40px;
  background:rgba(4,8,9,.42); backdrop-filter:blur(7px); }
.wordmark{ font-family:'Cormorant Garamond',serif; font-weight:600; font-size:21px;
  letter-spacing:.34em; color:var(--white); text-transform:uppercase; }
.wordmark .sm{ color:var(--gold); }
.brandlogo{ display:block; line-height:0; flex:none; }
.brandlogo img{ height:clamp(26px,3.2vw,34px); width:auto; display:block;
  filter:drop-shadow(0 2px 14px rgba(0,0,0,.6)); transition:transform .4s cubic-bezier(.16,1,.3,1); }
.brandlogo:hover img{ transform:translateY(-1px); }

/* minimalist language switcher */
.langsel{ display:flex; align-items:center; gap:8px; }
.langsel button{ background:none; border:0; cursor:pointer; font-family:'Manrope'; font-weight:600;
  font-size:12px; letter-spacing:.16em; color:var(--white-faint); padding:4px 2px; position:relative;
  transition:color .3s; }
.langsel button:hover{ color:var(--white); }
.langsel button.on{ color:var(--gold); }
.langsel button.on::after{ content:''; position:absolute; left:2px; right:2px; bottom:-3px; height:1px;
  background:var(--gold); }
.langsel .lsep{ color:var(--white-faint); opacity:.5; font-size:11px; }

.nav-cta{ font-size:13px; letter-spacing:.06em; color:var(--white); cursor:pointer;
  border:1px solid rgba(201,162,75,.5); background:rgba(6,12,11,.62); backdrop-filter:blur(8px);
  padding:11px 20px; border-radius:2px; font-family:'Manrope'; font-weight:600;
  transition:.35s; }
.nav-cta:hover{ background:var(--gold); color:var(--black); }

/* ===================== MODAL ===================== */
.modal-root{ position:fixed; inset:0; z-index:50; display:none; }
.modal-root.open{ display:block; }
.modal-bg{ position:absolute; inset:0; background:rgba(2,5,4,.78);
  backdrop-filter:blur(8px); opacity:0; transition:opacity .4s; }
.modal-root.open .modal-bg{ opacity:1; }
.modal{
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-46%); opacity:0;
  width:min(560px,92vw); max-height:92svh; overflow:auto;
  background:linear-gradient(180deg,#0a1512,#060d0b);
  border:1px solid rgba(201,162,75,.28);
  border-radius:6px; padding:clamp(28px,4vw,46px);
  box-shadow:0 40px 120px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(201,162,75,.18);
  transition:opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
}
.modal-root.open .modal{ opacity:1; transform:translate(-50%,-50%); }
.modal::-webkit-scrollbar{ width:8px; } .modal::-webkit-scrollbar-thumb{ background:rgba(201,162,75,.3); border-radius:4px; }
.modal .x{ position:absolute; top:18px; right:18px; width:34px; height:34px; border-radius:50%;
  border:1px solid rgba(244,241,234,.2); background:none; color:var(--white-dim); cursor:pointer;
  font-size:16px; transition:.3s; }
.modal .x:hover{ border-color:var(--gold); color:var(--gold); transform:rotate(90deg); }

.m-step{ display:none; } .m-step.active{ display:block; animation:mstep .5s ease; }
@keyframes mstep{ from{opacity:0; transform:translateY(10px)} to{opacity:1; transform:none} }
.m-eyebrow{ font-size:11px; letter-spacing:.3em; text-transform:uppercase; color:var(--turq); font-weight:600; }
.m-title{ font-family:'Cormorant Garamond',serif; font-size:clamp(28px,4vw,38px); font-weight:500;
  line-height:1.05; margin:12px 0 8px; }
.m-sub{ color:var(--white-dim); font-size:14.5px; line-height:1.5; margin-bottom:26px; }

.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field{ margin-bottom:17px; }
.field label{ display:block; font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--white-faint); margin-bottom:7px; font-weight:600; }
.field input, .field select, .field textarea{
  width:100%; background:rgba(255,255,255,.035); border:1px solid rgba(244,241,234,.16);
  border-radius:3px; padding:13px 15px; color:var(--white); font-family:'Manrope'; font-size:15px;
  transition:border-color .3s,background .3s; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--gold); background:rgba(201,162,75,.06); }
.field input::placeholder{ color:var(--white-faint); }
.field select{ appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A24B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 15px center; }
.field .flag{ font-size:11.5px; color:var(--gold-lo); margin-top:6px; display:none; }
.field.warn .flag{ display:block; }

.chips{ display:flex; flex-wrap:wrap; gap:9px; }
.chip{ font-size:13.5px; padding:9px 15px; border-radius:40px; cursor:pointer;
  border:1px solid rgba(244,241,234,.2); color:var(--white-dim); background:none;
  font-family:'Manrope'; transition:.25s; user-select:none; }
.chip:hover{ border-color:var(--turq); color:var(--white); }
.chip.sel{ background:rgba(47,211,189,.12); border-color:var(--turq); color:var(--turq); font-weight:600; }

.consent{ display:flex; gap:12px; align-items:flex-start; margin:22px 0 6px;
  font-size:12.5px; line-height:1.55; color:var(--white-dim); }
.consent input{ width:18px; height:18px; flex:none; margin-top:2px; accent-color:var(--gold); cursor:pointer; }
.consent a{ color:var(--gold); }
.gdpr-foot{ font-size:11px; color:var(--white-faint); line-height:1.5; margin:10px 0 22px;
  padding:12px 14px; background:rgba(255,255,255,.02); border-left:2px solid rgba(47,211,189,.4); border-radius:2px; }
.m-actions{ display:flex; flex-direction:column; gap:14px; margin-top:8px; }
.m-actions .btn{ width:100%; }
.m-back{ background:none; border:0; color:var(--white-faint); font:inherit; font-size:13px; cursor:pointer;
  text-align:center; letter-spacing:.04em; }
.m-back:hover{ color:var(--white); }
.err{ color:#e98f6b; font-size:12.5px; margin-top:-6px; margin-bottom:14px; display:none; }
.err.show{ display:block; }

/* "Something else" expandable detail */
.chip-detail{
  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .4s cubic-bezier(.16,1,.3,1), opacity .3s, margin-top .3s;
  margin-top:0;
}
.chip-detail.show{ max-height:220px; opacity:1; margin-top:12px; }
.chip-detail-note{
  font-size:12px; letter-spacing:.04em; color:var(--gold-lo); font-weight:500;
  margin-bottom:8px;
}
.chip-detail textarea{
  width:100%; min-height:78px; resize:vertical;
  background:rgba(255,255,255,.035); border:1px solid rgba(244,241,234,.16);
  border-radius:3px; padding:13px 15px; color:var(--white); font-family:'Manrope'; font-size:15px;
  transition:border-color .3s,background .3s;
}
.chip-detail textarea:focus{
  outline:none; border-color:var(--gold); background:rgba(201,162,75,.06);
}
.chip-detail textarea::placeholder{ color:var(--white-faint); }

/* referral hint */
.ref-hint{
  font-size:12px; color:var(--turq); margin-top:-8px; margin-bottom:18px;
  line-height:1.5; opacity:.75;
}

/* booking slots (Google Workspace placeholder) */
.embed-note{ font-size:11.5px; color:var(--white-faint); letter-spacing:.04em; margin-bottom:16px;
  display:flex; align-items:center; gap:8px; }
.embed-note .pill{ background:rgba(47,211,189,.12); color:var(--turq); padding:3px 9px; border-radius:20px;
  font-size:10px; letter-spacing:.14em; text-transform:uppercase; font-weight:700; }
.cal{ margin-bottom:20px; }
.cal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.cal-month{ font-family:'Cormorant Garamond',serif; font-size:21px; color:var(--white); letter-spacing:.01em;
  text-transform:capitalize; }
.cal-nav{ width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(244,241,234,.16);
  border-radius:4px; background:none; color:var(--white-dim); font-size:18px; line-height:1; cursor:pointer;
  transition:.25s; }
.cal-nav:hover{ border-color:var(--turq); color:var(--white); }
.cal-nav:disabled{ opacity:.22; cursor:not-allowed; }
.cal-nav:disabled:hover{ border-color:rgba(244,241,234,.16); color:var(--white-dim); }
.cal-dow{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-bottom:9px; }
.cal-w{ text-align:center; font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--white-faint); }
.cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.day{ aspect-ratio:1; display:grid; place-items:center; border:1px solid rgba(244,241,234,.14);
  border-radius:4px; cursor:pointer; transition:.2s; }
.day .dnum{ font-family:'Cormorant Garamond',serif; font-size:18px; color:var(--white); line-height:1; }
.day:hover{ border-color:var(--turq); }
.day.sel{ border-color:var(--gold); background:rgba(201,162,75,.1); }
.day.empty{ border-color:transparent; cursor:default; }
.day.off{ border-color:transparent; cursor:default; }
.day.off .dnum{ color:rgba(244,241,234,.16); }
.day.off:hover{ border-color:transparent; }
.slots-label{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--turq);
  margin-bottom:11px; }
.slots{ display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-bottom:8px; }
.slot{ padding:11px 4px; text-align:center; font-size:13.5px; border:1px solid rgba(244,241,234,.16);
  border-radius:4px; cursor:pointer; color:var(--white-dim); transition:.25s; }
.slot:hover{ border-color:var(--turq); color:var(--white); }
.slot.sel{ border-color:var(--gold); background:var(--gold-grad); color:var(--black); font-weight:700; }
.opt-fields{ margin-top:22px; padding-top:20px; border-top:1px solid rgba(244,241,234,.1); }
.opt-fields .opt-label{ font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--turq);
  margin-bottom:14px; }

/* success */
.success{ text-align:center; padding:14px 0; }
.success .seal{ width:74px; height:74px; margin:0 auto 22px; border-radius:50%;
  border:1px solid var(--gold); display:grid; place-items:center; color:var(--gold);
  box-shadow:0 0 40px -8px var(--gold); animation:seal .6s cubic-bezier(.16,1,.3,1); }
@keyframes seal{ from{transform:scale(.6); opacity:0} to{transform:scale(1); opacity:1} }
.share-line{ margin-top:22px; font-size:13px; color:var(--white-faint); }
.share-line button{ background:none; border:0; color:var(--gold); cursor:pointer; font:inherit;
  border-bottom:1px solid var(--gold); }

/* ===================== RESPONSIVE ===================== */
/* DESKTOP — keep left-aligned stage copy clear of any side chrome */
@media (min-width:1141px){
  .stage-beat:not(.right){ padding-left:clamp(40px,6vw,120px); }
}
/* TABLET / MOBILE — progress bar stays horizontal in the header, labels drop away */
@media (max-width:1140px){
  .rail{ top:64px; width:min(560px,86vw); }
  .rail .label{ display:none; }
}
@media (max-width:900px){
  .brandbar{ padding:16px 22px; }
  .beat{ padding:15vh clamp(22px,6vw,72px); }
  .stage-beat .wrap{ max-width:none; }
  .stage-beat:not(.right) .wrap{ margin-left:0; }
  .numeral-bg{ font-size:clamp(180px,40vw,600px); }
}
@media (max-width:680px){
  .brandbar{ padding:14px 18px; }
  .nav-cta{ display:none; }
  .beat{ padding:19vh 22px 17vh; }
  .hero .display br, .clearing .display br{ display:none; }
  .feeling{ max-width:none; }
  .hero-cta{ gap:18px; }
  .numeral-bg{ font-size:clamp(140px,46vw,600px); opacity:.7; }
  .film-trigger{ left:16px; bottom:13vh; }
  .sound-toggle{ right:16px; bottom:13vh; }
  .days,.slots{ grid-template-columns:repeat(3,1fr); }
  .field-row{ grid-template-columns:1fr; gap:0; }
  .rail{ top:50px; width:min(440px,92vw); }
  .rail .dot{ width:9px; height:9px; }
}
@media (max-width:380px){
  .langsel{ gap:6px; }
  .langsel button{ font-size:10.5px; letter-spacing:.1em; }
  .brandlogo img{ height:24px; }
}
@media (prefers-reduced-motion:reduce){
  .spark,.fog .band,.enter-cue .line::after,.emblem::before,.ft-ring{ animation:none !important; }
}

/* ===================== COOKIE CONSENT (GDPR) ===================== */
.cookie-bar{
  position:fixed; left:50%; bottom:22px; transform:translateX(-50%) translateY(140%);
  z-index:30; width:min(680px,calc(100vw - 32px));
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
  padding:18px 22px; border-radius:4px;
  background:rgba(7,13,12,.92); backdrop-filter:blur(14px);
  border:1px solid rgba(201,162,75,.28);
  box-shadow:0 22px 60px rgba(0,0,0,.55);
  opacity:0; transition:transform .7s cubic-bezier(.16,1,.3,1), opacity .7s ease;
}
.cookie-bar.show{ transform:translateX(-50%) translateY(0); opacity:1; }
.cookie-copy{ flex:1 1 300px; min-width:0; }
.cookie-copy h4{ font-family:'Cormorant Garamond',serif; font-weight:500; font-size:20px;
  color:var(--white); margin-bottom:4px; }
.cookie-copy p{ font-size:13px; line-height:1.55; color:var(--white-dim); }
.cookie-copy a{ color:var(--gold); text-decoration:none; border-bottom:1px solid rgba(201,162,75,.4); }
.cookie-copy a:hover{ color:var(--gold-hi); }
.cookie-actions{ display:flex; gap:10px; flex:0 0 auto; align-items:center; }
.ck-btn{ font-family:'Manrope'; font-size:12.5px; font-weight:600; letter-spacing:.04em;
  padding:11px 18px; border-radius:2px; cursor:pointer; transition:.3s; white-space:nowrap; }
.ck-decline{ background:none; border:1px solid rgba(244,241,234,.22); color:var(--white-dim); }
.ck-decline:hover{ border-color:rgba(244,241,234,.5); color:var(--white); }
.ck-accept{ background:var(--gold-grad); border:1px solid transparent; color:#1c1304; }
.ck-accept:hover{ filter:brightness(1.08); transform:translateY(-1px); }
@media (max-width:680px){
  .cookie-bar{ bottom:14px; padding:16px 18px; gap:14px; }
  .cookie-actions{ width:100%; }
  .ck-btn{ flex:1 1 0; text-align:center; }
}

/* ===================== DISCREET FILM TRIGGER ===================== */
.film-trigger{
  position:fixed; left:max(22px,2.4vw); bottom:max(22px,2.4vw); z-index:7;
  display:flex; align-items:center; gap:13px;
  background:rgba(6,13,11,.55); backdrop-filter:blur(10px);
  border:1px solid rgba(244,241,234,.14); border-radius:46px;
  padding:9px 18px 9px 9px; cursor:pointer; color:var(--white);
  font-family:'Manrope'; transition:border-color .4s, background .4s, transform .4s cubic-bezier(.16,1,.3,1);
}
.film-trigger:hover{ border-color:rgba(201,162,75,.5); background:rgba(10,21,18,.78); transform:translateY(-2px); }
.ft-disc{ position:relative; width:38px; height:38px; flex:none; display:grid; place-items:center;
  color:var(--gold); }
.ft-ring{ position:absolute; inset:0; border-radius:50%;
  border:1px solid rgba(201,162,75,.55); border-top-color:transparent; border-left-color:transparent;
  animation:ft-spin 5s linear infinite; }
.film-trigger:hover .ft-ring{ border-color:rgba(236,221,166,.85); border-top-color:transparent; }
@keyframes ft-spin{ from{transform:rotate(0)} to{transform:rotate(360deg)} }
.ft-disc svg{ margin-left:2px; }
.ft-label{ display:flex; flex-direction:column; line-height:1.15; font-size:13.5px; font-weight:600;
  letter-spacing:.02em; padding-right:4px; }
.ft-time{ font-size:10.5px; font-weight:500; letter-spacing:.18em; text-transform:uppercase; color:var(--turq); }

/* ===================== SOUND TOGGLE ===================== */
.sound-toggle{
  position:fixed; right:max(22px,2.4vw); bottom:max(22px,2.4vw); z-index:7;
  width:46px; height:46px; border-radius:50%; cursor:pointer;
  display:grid; place-items:center;
  background:rgba(6,13,11,.55); backdrop-filter:blur(10px);
  border:1px solid rgba(244,241,234,.14); color:var(--gold);
  transition:border-color .4s, background .4s, transform .4s cubic-bezier(.16,1,.3,1); }
.sound-toggle:hover{ border-color:rgba(201,162,75,.5); background:rgba(10,21,18,.78); transform:translateY(-2px); }
.sound-toggle .wave{ transition:opacity .3s; transform-origin:left center; }
.sound-toggle .w2{ animation:swave 2.4s ease-in-out infinite; }
.sound-toggle .w3{ animation:swave 2.4s ease-in-out .3s infinite; }
@keyframes swave{ 0%,100%{opacity:.4} 50%{opacity:1} }
.sound-toggle .slash{ display:none; }
.sound-toggle.muted{ color:var(--white-faint); }
.sound-toggle.muted .wave{ opacity:0; animation:none; }
.sound-toggle.muted .slash{ display:block; }
@media (max-width:680px){
  .sound-toggle{ right:16px; bottom:13vh; width:42px; height:42px; }
}
@media (prefers-reduced-motion:reduce){ .sound-toggle .wave{ animation:none !important; } }

/* ===================== FOOTER + LEGAL LINKS ===================== */
.page-footer{ display:flex; flex-direction:column; align-items:center; gap:16px; }
.footer-links{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:center;
  text-transform:none; letter-spacing:.04em; }
.footer-links a{ color:var(--white-dim); font-size:12px; letter-spacing:.06em; text-decoration:none;
  text-transform:uppercase; transition:color .3s; padding:4px 2px; }
.footer-links a:hover{ color:var(--gold); }
.footer-links .sep{ color:var(--white-faint); opacity:.5; font-size:10px; }
@media (max-width:680px){
  .footer-links{ gap:7px; }
  .footer-links a{ font-size:11px; }
}
.film-root{ position:fixed; inset:0; z-index:60; display:none; }
.film-root.open{ display:block; }
.film-bg{ position:absolute; inset:0; background:rgba(2,5,4,.86); backdrop-filter:blur(10px);
  opacity:0; transition:opacity .4s; }
.film-root.open .film-bg{ opacity:1; }
.film-frame{ position:absolute; top:50%; left:50%; transform:translate(-50%,-46%);
  width:min(1040px,92vw); opacity:0; transition:opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); }
.film-root.open .film-frame{ opacity:1; transform:translate(-50%,-50%); }
.film-x{ position:absolute; top:-46px; right:0; width:36px; height:36px; border-radius:50%;
  border:1px solid rgba(244,241,234,.25); background:none; color:var(--white-dim); cursor:pointer;
  font-size:16px; transition:.3s; }
.film-x:hover{ border-color:var(--gold); color:var(--gold); transform:rotate(90deg); }
.film-player{ position:relative; aspect-ratio:16/9; width:100%; border-radius:6px; overflow:hidden;
  border:1px solid rgba(201,162,75,.3); box-shadow:0 40px 120px -30px rgba(0,0,0,.9);
  background:#000; }
.film-player iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.film-poster{ position:absolute; inset:0; display:grid; place-items:center; gap:0; cursor:pointer;
  background:url("https://img.youtube.com/vi/58_7YyQSb7Q/maxresdefault.jpg") center/cover no-repeat; }
.film-poster::after{ content:''; position:absolute; inset:0; background:radial-gradient(circle at 50% 50%, rgba(4,7,10,.2), rgba(4,7,10,.55)); }
.film-play{ position:relative; z-index:1; width:84px; height:84px; border-radius:50%;
  display:grid; place-items:center; color:var(--black); background:var(--gold-grad);
  box-shadow:0 12px 40px -8px rgba(201,162,75,.7); transition:transform .35s cubic-bezier(.16,1,.3,1); }
.film-poster:hover .film-play{ transform:scale(1.08); }
.film-cap{ position:absolute; bottom:22px; z-index:1; font-size:12px; letter-spacing:.26em; text-transform:uppercase;
  color:var(--white); font-weight:600; }

@media (max-width:760px){
  .film-trigger{ padding:8px 16px 8px 8px; }
  .ft-label{ display:flex; }
  .ft-time{ display:none; }
  .ft-label > span[data-k="film.label"]{ font-size:12.5px; }
  .film-x{ top:-42px; }
}
