/* ==========================================================
   LoversSwitzerland — concept redesign
   Swiss poster type × railway timetable × winter light
   ========================================================== */
@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,62..125,100..900;1,62..125,100..900&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;700&display=swap");

@view-transition { navigation: auto; }

:root {
  --ink: #17130e;
  --ink-2: #3b342b;
  --muted: #7a7064;
  --paper: #f4eee2;
  --paper-2: #ebe3d3;
  --snow: #fffdf7;
  --red: #d91a24;
  --red-deep: #a90f18;
  --ice: #cfdde2;
  --glacier: #8fb3c0;
  --night: #0c1522;
  --night-2: #142236;
  --gold: #f2c14e;

  --f-sans: "Archivo", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --r: 18px;
  --wrap: min(1240px, 92vw);
  --img: "/assets";
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--red); color: var(--snow); }

.wrap { width: var(--wrap); margin-inline: auto; }
/* Paper grain drawn as a noise pattern that repeats without edges, so sections show no
   seams. A photo of paper repeated in tiles showed a visible grid of rectangles. */
.paper-tex {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ---------- type ---------- */
.eyebrow {
  font: 600 12px/1 var(--f-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--gold); }

.h-xl, .h-l, .h-m {
  font-family: var(--f-sans);
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .92;
  margin: 0;
}
.h-xl { font-size: clamp(56px, 10vw, 168px); }
.h-l  { font-size: clamp(40px, 6vw, 96px); }
.h-m  { font-size: clamp(28px, 3.4vw, 52px); line-height: 1; }
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; font-stretch: 100%; }
.red { color: var(--red); }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); max-width: 56ch; }
.mono { font-family: var(--f-mono); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 100;
  display: flex; justify-content: center; pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  width: var(--wrap);
  display: flex; align-items: center; gap: 28px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: rgba(255,253,247,.0);
  border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s, box-shadow .5s, color .5s;
  color: var(--snow);
}
.nav.solid .nav-inner, .nav.always .nav-inner {
  background: rgba(255,253,247,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: rgba(23,19,14,.08);
  box-shadow: 0 10px 40px -18px rgba(23,19,14,.35);
  color: var(--ink);
}
.nav-logo { height: 15px; width: auto; }
.nav-logo.dark { display: none; }
.nav.solid .nav-logo.light, .nav.always .nav-logo.light { display: none; }
.nav.solid .nav-logo.dark, .nav.always .nav-logo.dark { display: block; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; position: relative;
  transition: background .3s;
}
.nav-links a:hover { background: rgba(127,127,127,.14); }
.nav-login { color: inherit; font-weight: 600; font-size: 15px; padding: 10px 14px; margin-left: 4px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.nav-login:hover { background: rgba(127,127,127,.14); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--red); transform: translateX(-50%);
}
.nav-menu { display: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red); --fg: var(--snow);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: -.01em;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-spring), box-shadow .4s;
  box-shadow: 0 12px 30px -12px rgba(217,26,36,.7), inset 0 1px 0 rgba(255,255,255,.25);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.sm { padding: 11px 18px; font-size: 14px; box-shadow: none; }
.btn.ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.ink { --bg: var(--ink); --fg: var(--snow); box-shadow: 0 12px 30px -14px rgba(0,0,0,.6); }
.btn.snow { --bg: var(--snow); --fg: var(--ink); box-shadow: 0 12px 30px -14px rgba(0,0,0,.6); }
.link-u {
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100%/100% 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .4s var(--ease);
}
.link-u:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- badges ---------- */
.deal {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
}
.deal .tag { background: var(--red); color: var(--snow); padding: 7px 10px; border-radius: 4px; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; position: relative;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ddc84;
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(.6); opacity: 1 } to { transform: scale(2); opacity: 0 } }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--d, 0s)); }
.in .split-word > span, .split-word.in > span { transform: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; height: 100svh; min-height: 680px; overflow: hidden;
  background: #9fb9d4;
  color: var(--snow);
}
.hero-layer { position: absolute; inset: -4% -4% 0; will-change: transform; }
.hero-layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero-sky {
  background:
    radial-gradient(120% 70% at 50% 0%, #1b3b6e 0%, #3a6aa6 45%, #9cc0e0 80%, #dfeaf3 100%);
}
.hero-back img { filter: saturate(1.05); }
.hero-title {
  position: absolute; left: 0; right: 0; top: clamp(110px, 21vh, 220px); text-align: center; z-index: 2;
  will-change: transform;
}
.hero-title .kicker {
  font: 600 13px/1 var(--f-mono); letter-spacing: .5em; text-transform: uppercase; opacity: .9;
}
.hero-title h1 {
  margin: 14px 0 0;
  font-size: clamp(56px, 12.4vw, 270px);
  font-stretch: 125%; font-weight: 900;
  letter-spacing: -.055em; line-height: .8;
  color: #fff;
  text-shadow: 0 18px 50px rgba(10,30,60,.28);
  white-space: nowrap;
}
.hero-title h1 .ch { display: inline-block; transform: translateY(60%) rotate(6deg); opacity: 0; animation: chIn 1.4s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + .2s); }
@keyframes chIn { to { transform: none; opacity: 1; } }
.hero-front { z-index: 3; pointer-events: none; }
.hero-front img { object-position: 50% 70%; }
.hero-shade {
  position: absolute; inset: auto 0 0; height: 58%; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(12,21,34,.18) 40%, rgba(12,21,34,.72));
}
.hero-copy {
  position: absolute; z-index: 6; left: 0; right: 0; bottom: 7vh;
  display: grid; justify-items: center; text-align: center; gap: 22px;
}
.hero-copy h2 {
  margin: 0; font-size: clamp(34px, 5.2vw, 78px); font-weight: 800; font-stretch: 110%;
  letter-spacing: -.04em; line-height: .95;
}
.hero-copy h2 .serif { font-weight: 400; }
.hero-copy p { margin: 0; font-size: 17px; opacity: .9; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
#snow { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.scroll-cue {
  position: absolute; z-index: 6; bottom: 22px; right: 4vw;
  font: 500 11px var(--f-mono); letter-spacing: .3em; writing-mode: vertical-rl; opacity: .75;
  display: flex; align-items: center; gap: 10px;
}
.scroll-cue::after { content: ""; width: 1px; height: 54px; background: currentColor; animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0) } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* ==========================================================
   SPLIT-FLAP BOARD
   ========================================================== */
.board {
  background: #0d0d0d; color: #f5f0e6; border-radius: 14px; padding: 18px 20px;
  box-shadow: inset 0 0 0 1px #262626, 0 30px 60px -30px rgba(0,0,0,.6);
  font-family: var(--f-mono);
}
.flap-row { display: flex; gap: 4px; align-items: center; }
.flap {
  position: relative; width: 1.05em; height: 1.45em; perspective: 300px;
  font-weight: 700; font-size: inherit; line-height: 1.45em; text-align: center;
}
.flap > span {
  position: absolute; left: 0; right: 0; height: 50%; overflow: hidden;
  background: linear-gradient(#232323, #1a1a1a); color: inherit;
  backface-visibility: hidden;
}
.flap > .top { top: 0; border-radius: 4px 4px 0 0; }
.flap > .bot { bottom: 0; border-radius: 0 0 4px 4px; line-height: 0; background: linear-gradient(#1c1c1c, #151515); }
.flap > .bot b { display: block; line-height: 1.45em; transform: translateY(-50%); font-weight: 700; }
.flap > .top b { font-weight: 700; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #000; z-index: 3; }
.flap > .fold { top: 0; border-radius: 4px 4px 0 0; transform-origin: bottom; z-index: 2; }
.flap > .fold.go { animation: fold .18s ease-in forwards; }
@keyframes fold { to { transform: rotateX(-90deg); filter: brightness(.6); } }
.flap.red-f > span { color: #ff4d55; }
.flap.yellow-f > span { color: var(--gold); }
.flap.sp { width: .5em; }
.flap.sp > span, .flap.sp::after { display: none; }

.count-board { display: inline-flex; gap: 14px; align-items: flex-end; font-size: clamp(22px, 2.6vw, 34px); }
.count-unit { display: grid; gap: 6px; justify-items: center; }
.count-unit small { font-size: 10px; letter-spacing: .25em; color: #8b8378; }

/* ==========================================================
   SECTIONS
   ========================================================== */
section { position: relative; }
.sec { padding: clamp(90px, 13vw, 180px) 0; }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 84px); }
.sec-head.center { justify-items: center; text-align: center; }

/* ticker */
.ticker { background: var(--ink); color: var(--snow); overflow: hidden; padding: 18px 0; border-block: 1px solid #000; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: tick 40s linear infinite; font: 600 15px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker-track span::after { content: "✚"; color: var(--red); font-size: 13px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- 3 parts ---------- */
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.part {
  position: relative; border-radius: 24px; padding: 28px; min-height: 560px;
  background: var(--snow); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(23,19,14,.06), 0 30px 60px -40px rgba(23,19,14,.45);
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s;
}
.part:hover { box-shadow: 0 1px 0 rgba(23,19,14,.06), 0 50px 80px -40px rgba(23,19,14,.55); }
.part .num { font: 700 13px var(--f-mono); color: var(--muted); letter-spacing: .1em; }
.part h3 { font-size: 34px; font-stretch: 112%; font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 14px 0 10px; }
.part p { margin: 0; color: var(--ink-2); max-width: 30ch; }
.part .stat { margin-top: auto; padding-top: 18px; display: flex; align-items: baseline; gap: 10px; border-top: 1px dashed rgba(23,19,14,.2); }
.part .stat b { font-size: 46px; font-weight: 900; font-stretch: 120%; letter-spacing: -.04em; color: var(--red); }
.part .stat span { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.part-visual { flex: 1; display: grid; place-items: center; margin: 22px 0; perspective: 1200px; min-height: 260px; }
.part.map-part { background: #fbf6ea; }
.part.map-part .part-visual svg { width: 108%; }

/* book 3D */
.book3d {
  --w: 190px; --h: 268px; --t: 26px;
  position: relative; width: var(--w); height: var(--h);
  transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(6deg);
  transition: transform 1s var(--ease);
}
.part:hover .book3d, .book3d:hover { transform: rotateY(-8deg) rotateX(2deg) translateZ(30px); }
.book3d .face { position: absolute; inset: 0; border-radius: 2px 6px 6px 2px; overflow: hidden; }
.book3d .front { transform: translateZ(calc(var(--t) / 2)); box-shadow: inset 4px 0 8px -2px rgba(0,0,0,.35); }
.book3d .front img { width: 100%; height: 100%; object-fit: cover; }
.book3d .front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,.0) 40%, rgba(255,255,255,.28) 50%, rgba(255,255,255,0) 60%); transform: translateX(var(--sheen, -60%)); transition: transform 1.2s var(--ease); }
.part:hover .book3d .front::after { --sheen: 60%; }
.book3d .spine { width: var(--t); left: calc(var(--t) / -2); background: linear-gradient(90deg, #0d2a24, #1d4a3e); transform: rotateY(-90deg); }
.book3d.scripts .spine { background: linear-gradient(90deg, #25311f, #3c4d30); }
.book3d .pages { width: calc(var(--t) - 4px); left: auto; right: calc(var(--t) / -2 + 2px); top: 4px; bottom: 4px; height: auto;
  background: repeating-linear-gradient(90deg, #f3eee4 0 1px, #dcd5c6 1px 2px); transform: rotateY(90deg); }
.book3d .back { transform: translateZ(calc(var(--t) / -2)) rotateY(180deg); background: #123; }
.book3d::after { content: ""; position: absolute; left: 6%; right: -10%; bottom: -34px; height: 30px; background: radial-gradient(closest-side, rgba(0,0,0,.35), transparent); transform: rotateX(90deg) translateZ(-20px); filter: blur(4px); }

/* phone */
.phone {
  width: 210px; aspect-ratio: 9/19; border-radius: 34px; background: #111; padding: 9px;
  box-shadow: 0 0 0 1.5px #3a3a3a inset, 0 40px 60px -30px rgba(0,0,0,.6);
  transform: rotate(-4deg); transition: transform .8s var(--ease);
}
.part:hover .phone { transform: rotate(0) translateY(-6px); }
.phone .screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #fbf6ea; position: relative; }
.phone .notch { position: absolute; top: 8px; left: 50%; width: 70px; height: 20px; border-radius: 20px; background: #111; transform: translateX(-50%); z-index: 2; }

/* map */
.chmap { width: 100%; height: auto; overflow: visible; }
.chmap .ch-land { fill: #fffdf7; stroke: #2a2116; stroke-opacity: .5; stroke-width: 1.3; }
.chmap .ch-borders { fill: none; stroke: #2a2116; stroke-opacity: .14; stroke-width: .8; }
.chmap .ch-lakes { fill: var(--ice); }
.chmap .ch-dots circle { fill: var(--red); transform-box: fill-box; transform-origin: center; }
.chmap.anim .ch-dots circle { transform: scale(0); opacity: 0; }
.chmap.anim.in .ch-dots circle { animation: dotIn .6s var(--ease-spring) forwards; animation-delay: var(--dd); }
@keyframes dotIn { to { transform: scale(1); opacity: 1; } }
.chmap.anim .ch-land { stroke-dasharray: 4000; stroke-dashoffset: 4000; }
.chmap.anim.in .ch-land { animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- how it works ---------- */
.how { background: var(--night); color: var(--snow); overflow: hidden; }
.how .lead { color: #b9c3cf; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.08); border-radius: 24px; overflow: hidden; }
.step { background: var(--night); padding: 40px 32px 44px; position: relative; min-height: 340px; display: flex; flex-direction: column; transition: background .5s; }
.step:hover { background: var(--night-2); }
.step .n { font-size: 120px; font-weight: 900; font-stretch: 125%; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.25); transition: color .5s, -webkit-text-stroke-color .5s; }
.step:hover .n { color: var(--red); -webkit-text-stroke-color: var(--red); }
.step h3 { font-size: 30px; font-stretch: 112%; letter-spacing: -.03em; margin: auto 0 10px; }
.step p { margin: 0; color: #aab4c2; max-width: 30ch; }
.step .ico { position: absolute; top: 36px; right: 30px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); }

/* ---------- ready day (scroll-driven) ---------- */
.day { background: var(--snow); }
.day-pin { height: 340vh; }
.day-sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4vw; width: var(--wrap); margin: 0 auto; }
.day-left { display: grid; gap: 26px; align-content: center; }
.day-clock { font: 700 clamp(64px, 9vw, 140px)/0.9 var(--f-mono); letter-spacing: -.06em; color: var(--ink); display: flex; align-items: baseline; gap: 18px; }
.day-clock small { font-size: 14px; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.day-msg { min-height: 3.6em; font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: 22ch; }
.day-msg span { display: block; animation: msgIn .6s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
.day-prog { height: 4px; background: rgba(23,19,14,.1); border-radius: 4px; overflow: hidden; max-width: 380px; }
.day-prog i { display: block; height: 100%; width: 0; background: var(--red); }
.day-right { position: relative; height: 78vh; border-radius: 28px; overflow: hidden; background: var(--night); }
.day-photo { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease), transform 6s linear; transform: scale(1.12); }
.day-photo.on { opacity: 1; transform: scale(1); }
.day-photo img { width: 100%; height: 100%; object-fit: cover; }
.day-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,21,34,.1), rgba(12,21,34,.7)); }
.route { position: absolute; inset: auto 28px 28px; z-index: 2; color: var(--snow); }
.route svg { width: 100%; height: 90px; overflow: visible; }
.route .rail-bg { stroke: rgba(255,255,255,.25); stroke-width: 3; fill: none; stroke-dasharray: 2 6; stroke-linecap: round; }
.route .rail { stroke: var(--snow); stroke-width: 4; fill: none; stroke-linecap: round; }
.route .stop circle { fill: var(--night); stroke: rgba(255,255,255,.4); stroke-width: 3; transition: all .4s var(--ease-spring); }
.route .stop.on circle { fill: var(--red); stroke: var(--snow); r: 9; }
.route .stop text { fill: rgba(255,255,255,.65); font: 600 12px var(--f-sans); transition: fill .4s; }
.route .stop.on text { fill: #fff; }
.route .train { transition: none; }
.day-badge { position: absolute; top: 24px; left: 24px; z-index: 2; background: rgba(255,253,247,.92); color: var(--ink); border-radius: 12px; padding: 12px 14px; font: 600 12px var(--f-mono); letter-spacing: .06em; display: flex; gap: 10px; align-items: center; }
.day-badge b { background: var(--red); color: #fff; padding: 4px 7px; border-radius: 4px; }
.snowflag { position: absolute; top: 24px; right: 24px; z-index: 2; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 14px; font-weight: 700; font-size: 13px; opacity: 0; transform: translateY(-10px) scale(.9); transition: all .5s var(--ease-spring); }
.snowflag.on { opacity: 1; transform: none; }

/* ---------- script cards ---------- */
.scripts-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4vw 40px; margin: 0 -4vw; scrollbar-width: none; cursor: grab; }
.scripts-rail::-webkit-scrollbar { display: none; }
.scripts-rail.drag { cursor: grabbing; scroll-snap-type: none; }
.sc {
  flex: 0 0 min(420px, 80vw); scroll-snap-align: start; position: relative; aspect-ratio: 4/5;
  border-radius: 24px; overflow: hidden; color: var(--snow); text-decoration: none; isolation: isolate;
  background: var(--night);
}
.sc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.4s var(--ease), filter 1s; }
.sc:hover img { transform: scale(1.14); }
.sc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(8,14,24,.85)); }
.sc-top { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; font: 600 12px var(--f-mono); letter-spacing: .12em; }
.sc-top .no { background: rgba(255,253,247,.94); color: var(--ink); padding: 7px 10px; border-radius: 6px; }
.sc-top .no b { color: var(--red); }
.sc-bot { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 14px; }
.sc h3 { margin: 0; font-size: 32px; font-stretch: 110%; letter-spacing: -.035em; line-height: 1; }
.sc .meta { display: flex; gap: 8px; flex-wrap: wrap; transform: translateY(10px); opacity: 0; transition: all .6s var(--ease); }
.sc:hover .meta { transform: none; opacity: 1; }
.chip { font: 600 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); }
.chip.dark { background: rgba(23,19,14,.06); border-color: rgba(23,19,14,.12); color: var(--ink); }
.sc.more { display: grid; place-items: center; background: var(--red); text-align: center; padding: 30px; }
.sc.more::after { display: none; }
.sc.more b { font-size: 120px; font-weight: 900; font-stretch: 125%; letter-spacing: -.06em; line-height: .8; }

/* ---------- voices / DMs ---------- */
.voices { overflow: hidden; }
.dm-stage { position: relative; height: 470px; margin-top: -30px; display: grid; place-items: center; }
.dm {
  position: absolute; width: 330px; border-radius: 22px; overflow: hidden; background: #fff; border: 6px solid #fff;
  box-shadow: 0 40px 70px -30px rgba(23,19,14,.55); transition: transform 1.2s var(--ease), z-index 0s;
  transform: rotate(var(--r0)) translate(var(--x0), var(--y0));
}
.dm img { width: 100%; }
.dm-stage.in .dm { transform: rotate(var(--r1)) translate(var(--x1), var(--y1)); }
.dm:hover { z-index: 10; transform: rotate(0) translate(var(--x1), calc(var(--y1) - 20px)) scale(1.05) !important; }
.quote-big { font-family: var(--f-serif); font-style: italic; font-size: clamp(44px, 6vw, 96px); line-height: 1; letter-spacing: -.02em; margin: 0; }

/* ---------- since 2019 ---------- */
.since { background: var(--red); color: var(--snow); overflow: hidden; }
.since .big-year { font-size: clamp(60px, 11vw, 200px); font-weight: 900; font-stretch: 125%; letter-spacing: -.07em; line-height: .78; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.35); white-space: nowrap; }
.since-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6vw; align-items: end; }
.since p.lead { color: rgba(255,255,255,.92); }

/* ---------- final CTA ---------- */
.final { background: var(--night); color: var(--snow); overflow: hidden; }
.final-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: 32px; overflow: hidden; background: linear-gradient(160deg, #15253b, #0c1522); border: 1px solid rgba(255,255,255,.08); }
.final-left { padding: clamp(36px, 5vw, 72px); display: grid; gap: 26px; align-content: center; }
.price { display: flex; align-items: flex-end; gap: 18px; }
.price .old { font-size: 30px; color: #8a94a3; position: relative; font-weight: 600; }
.price .old::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .4s; }
.in .price .old::after { transform: scaleX(1); }
.price .new { font-size: clamp(80px, 9vw, 140px); font-weight: 900; font-stretch: 120%; letter-spacing: -.06em; line-height: .8; }
.price .new sup { font-size: .35em; vertical-align: top; position: relative; top: .25em; margin-right: 4px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #c9d1db; }
.checks li::before { content: "✚"; color: var(--red); font-size: 13px; margin-top: 3px; }
.final-right { position: relative; min-height: 540px; display: grid; place-items: center; perspective: 1400px; background: radial-gradient(60% 60% at 50% 55%, rgba(217,26,36,.28), transparent 70%); }
.final-right .pack { width: 88%; border-radius: 22px; transform: rotateX(8deg) rotateY(-10deg); transition: transform .3s; filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid rgba(23,19,14,.15); }
.faq-item { border-bottom: 1px solid rgba(23,19,14,.15); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; font-size: clamp(19px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; }
.faq-q .pm { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; transition: transform .5s var(--ease), background .3s, color .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq-item.open .pm { background: var(--red); color: #fff; border-color: var(--red); transform: rotate(180deg); }
.faq-item.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 30px; color: var(--ink-2); font-size: 18px; max-width: 64ch; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #cbc3b6; padding: 90px 0 40px; overflow: hidden; }
.foot-big { font-size: clamp(48px, 9.4vw, 170px); font-weight: 900; font-stretch: 125%; letter-spacing: -.06em; line-height: .8; color: var(--snow); margin: 0 0 60px; }
.foot-big .r { color: var(--red); font-style: normal; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-top: 40px; border-top: 1px solid #2c261f; font-size: 14px; }
.foot-grid h4 { font: 600 11px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: #81786b; margin: 0 0 16px; }
.foot-grid a { display: block; text-decoration: none; padding: 4px 0; color: #e8e1d5; }
.foot-grid a:hover { color: var(--red); }
.foot-legal { margin-top: 60px; display: flex; justify-content: space-between; font: 500 12px var(--f-mono); color: #6f665a; }

/* ---------- sticky buy bar ---------- */
.buybar {
  position: fixed; z-index: 90; left: 50%; bottom: 18px; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(23,19,14,.9); color: var(--snow); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); transition: transform .7s var(--ease-spring);
  font-size: 14px; white-space: nowrap;
}
.buybar.show { transform: translate(-50%, 0); }
.buybar s { color: #8a8174; }
.buybar b { font-size: 18px; }

/* ---------- page hero (inner pages) ---------- */
.phero { padding: 170px 0 80px; position: relative; overflow: hidden; }
.phero .h-xl { max-width: 12ch; }
.phero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5vw; align-items: end; }

/* ---------- cursor glow ---------- */
.cursor-dot { position: fixed; z-index: 200; width: 10px; height: 10px; border-radius: 50%; background: var(--red); border: 1.5px solid var(--red); pointer-events: none; transform: translate(-50%, -50%); transition: width .35s var(--ease), height .35s var(--ease), background .35s, opacity .3s; opacity: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.cursor-dot.big { width: 54px; height: 54px; background: rgba(217,26,36,.08); backdrop-filter: invert(.06); }
@media (hover: none) { .cursor-dot { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .parts, .steps { grid-template-columns: 1fr; }
  .part { min-height: 520px; }
  .day-pin { height: auto; }
  .day-sticky { position: relative; height: auto; grid-template-columns: 1fr; padding: 90px 0; }
  .day-right { height: 70vh; }
  .since-grid, .final-card, .phero-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-login { margin-left: auto; font-size: 14px; padding: 10px; }
  .nav-inner { gap: 12px; }
  .nav-inner .btn { margin-left: auto; }
  .dm-stage { height: 420px; }
  .dm { width: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- departure board rows ---------- */
.dep-board { display: grid; gap: 8px; font-size: clamp(14px, 1.5vw, 20px); overflow-x: auto; }
.dep-row { display: flex; gap: 18px; align-items: center; padding: 6px 0; border-bottom: 1px solid #1f1f1f; }
.dep-row:last-child { border-bottom: 0; }
.dep-head { display: flex; gap: 18px; font: 600 10px var(--f-mono); letter-spacing: .25em; color: #8b8378; padding-bottom: 8px; border-bottom: 1px solid #262626; }

/* ---------- small screens ---------- */
.btn { white-space: nowrap; }
@media (max-width: 640px) {
  .hero-title h1 { font-stretch: 100%; font-size: 17vw; letter-spacing: -.05em; }
  .hero-copy h2 { font-size: 34px; }
  .hero-copy { bottom: 5vh; gap: 16px; }
  .buybar { gap: 10px; padding-left: 14px; max-width: 94vw; }
  .buybar [data-mini-count], .buybar s { display: none; }
  .nav-inner { padding: 8px 8px 8px 16px; }
  .nav-logo { height: 12px; }
  .count-board { font-size: 22px; gap: 8px; }
  .part h3 { font-size: 28px; }
  .day-clock { font-size: 64px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* audit fixes */
.hero-copy h2 .serif { white-space: nowrap; } /* "for you" stays on one line on phones */
.day-left .h-m .serif { white-space: nowrap; }
.day-photo img { object-position: 50% 25%; }
.voices .sec-head { margin-bottom: 30px; }


/* ==========================================================
   POLISH LAYER
   ========================================================== */

/* film grain */
.grain { position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 160; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(217,26,36,.6); }

/* intro curtain */
.curtain { position: fixed; inset: 0; z-index: 300; background: var(--red); color: #fff; display: grid; place-items: center; transition: clip-path 1.1s cubic-bezier(.77,0,.18,1); clip-path: inset(0 0 0 0); }
.curtain.lift { clip-path: inset(0 0 100% 0); }
.curtain-in { display: grid; gap: 22px; justify-items: center; }
.curtain img { height: 22px; animation: msgIn .8s var(--ease) both; }
.curtain .flaps-intro { font: 700 15px var(--f-mono); }
.curtain .flaps-intro .flap > span { background: linear-gradient(#b5121b, #9e0f17); color: #fff; }
.curtain .bar-c { width: 180px; height: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.curtain .bar-c i { display: block; height: 100%; background: #fff; animation: load 1.3s var(--ease) forwards; transform-origin: 0; transform: scaleX(0); }
@keyframes load { to { transform: scaleX(1); } }
body.intro .hero-title h1 .ch, body.intro .hero-copy > * { animation-play-state: paused; }
.hero-copy > * { animation: rise 1.2s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .7s } .hero-copy > *:nth-child(2) { animation-delay: .85s } .hero-copy > *:nth-child(3) { animation-delay: 1s } .hero-copy > *:nth-child(4) { animation-delay: 1.15s }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } }

/* hero light */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(8,16,30,.45)); }
.hero-sun { position: absolute; z-index: 1; top: -20vh; left: 60%; width: 70vw; height: 70vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,240,210,.55), rgba(255,240,210,.12) 45%, transparent 70%); mix-blend-mode: screen; animation: sun 14s ease-in-out infinite alternate; }
@keyframes sun { to { transform: translate(-8vw, 4vh) scale(1.08); } }

/* page transitions */
::view-transition-old(root) { animation: vtOut .45s cubic-bezier(.7,0,.84,0) both; }
::view-transition-new(root) { animation: vtIn .7s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-30px) scale(.985); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(40px); } }

/* mountain ridges between sections */
.ridge { position: relative; }
.ridge::before { content: ""; position: absolute; left: 0; right: 0; top: -89px; height: 90px; pointer-events: none; z-index: 2;
  background: var(--ridge-c, var(--night)); 
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90 L0 70 L90 52 L150 62 L240 30 L300 46 L360 38 L430 8 L470 26 L520 18 L600 50 L660 40 L720 58 L790 24 L840 34 L900 4 L950 30 L1010 22 L1080 54 L1140 42 L1210 60 L1270 36 L1330 48 L1390 30 L1440 44 L1440 90Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90 L0 70 L90 52 L150 62 L240 30 L300 46 L360 38 L430 8 L470 26 L520 18 L600 50 L660 40 L720 58 L790 24 L840 34 L900 4 L950 30 L1010 22 L1080 54 L1140 42 L1210 60 L1270 36 L1330 48 L1390 30 L1440 44 L1440 90Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }
.ridge::after { content: ""; position: absolute; left: 0; right: 0; top: -89px; height: 90px; pointer-events: none; z-index: 1; opacity: .35;
  background: var(--ridge-c, var(--night)); transform: scaleX(-1) translateY(-14px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90 L0 60 L120 40 L210 56 L330 14 L420 40 L520 30 L610 52 L700 20 L780 36 L880 12 L990 44 L1100 26 L1200 50 L1310 22 L1440 40 L1440 90Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90 L0 60 L120 40 L210 56 L330 14 L420 40 L520 30 L610 52 L700 20 L780 36 L880 12 L990 44 L1100 26 L1200 50 L1310 22 L1440 40 L1440 90Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }
.since.ridge { --ridge-c: var(--red); }
.foot.ridge { --ridge-c: var(--ink); }

/* glare on cards */
.glare { position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), transparent 45%); mix-blend-mode: soft-light; }
:hover > .glare { opacity: 1; }
.part .glare, .tile .glare, .chg .glare { background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.75), transparent 50%); mix-blend-mode: overlay; }
.chg { position: relative; overflow: hidden; transition: transform .5s var(--ease); }
.chg:hover { transform: translateY(-4px); }

/* since marquee */
.since .big-year { display: flex; gap: .3em; will-change: transform; }
.since .big-year span.fill { color: rgba(255,255,255,.95); -webkit-text-stroke: 0; }

/* footer letters */
.foot-big .fl { display: inline-block; transition: transform .5s var(--ease-spring), color .3s; }
.foot-big .fl:hover { transform: translateY(-14px) rotate(-4deg); color: var(--red); }
.foot-big .r .fl:hover { color: var(--snow); }
.foot-big .fw { display: inline-block; white-space: nowrap; }

/* ready-day light */
.day-tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: soft-light; transition: background .6s linear; }
.day-sky { position: absolute; left: 6%; right: 6%; top: 70px; height: 34%; z-index: 1; pointer-events: none; }
.day-sky svg { width: 100%; height: 100%; overflow: visible; }
.day-sky .arc { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 3 7; }
.day-sky .sunb { filter: drop-shadow(0 0 18px rgba(255,214,120,.95)); }
.day-snow { position: absolute; inset: 0; z-index: 1; pointer-events: none; width: 100%; height: 100%; }
.day-right { box-shadow: 0 60px 100px -50px rgba(12,21,34,.7); }
.day-photo img { filter: contrast(1.06) saturate(1.1); }

/* nicer section heads */
.h-l .serif, .h-xl .serif, .h-m .serif { padding-right: .05em; }

/* 3-part card numbers glow on hover */
.part .stat b { transition: text-shadow .5s; }
.part:hover .stat b { text-shadow: 0 0 30px rgba(217,26,36,.35); }

/* sticky buy bar shine */
.buybar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }

@media (max-width: 640px) { .ridge::before, .ridge::after { height: 46px; top: -45px; } .hero-sun { width: 140vw; height: 140vw; } }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } .curtain { display: none; } }
.ridge { overflow: visible !important; overflow-x: clip !important; overflow-y: visible !important; }
.curtain .flaps-intro { font-size: 22px; }
