/* yavzo.fr. Orientation « Coucher de soleil », like the app: every section opens
   under its own sky, the ground is peach, objects are white tickets.
   Colours mirror apps/mobile/src/theme (tokens.ts, primitives.ts). */

@font-face { font-family: Lexend; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-400.9bd86ff2a1.woff2") format("woff2"); }
@font-face { font-family: Lexend; font-weight: 500; font-display: swap; src: url("/assets/fonts/lexend-500.a8588bf0ab.woff2") format("woff2"); }
@font-face { font-family: Lexend; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-600.41b52afdc7.woff2") format("woff2"); }
@font-face { font-family: Lexend; font-weight: 700; font-display: swap; src: url("/assets/fonts/lexend-700.b8bb4734a7.woff2") format("woff2"); }

:root {
  --peach-50: #FFF2EB;
  --peach-100: #FBE7DE;
  --peach-200: #F1DCD3;
  --paper: #FFFFFF;
  --ink: #1C1518;
  --ink-soft: #5F5357;
  --ink-night: #100C0E;
  --brand: #D6094F;
  --brand-deep: #A8003F;
  --brand-soft: #FCE7EE;
  --sun-a: #FFC93C;
  --sun-b: #FFAA12;
  --focus: #2E6BD9;
  --shadow-md: 0 6px 16px rgb(42 26 32 / 0.08);
  --shadow-xl: 0 28px 60px rgb(42 26 32 / 0.22);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(20px, 5vw, 56px);
  --measure: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--peach-50);
  color: var(--ink);
  font-family: Lexend, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sky :focus-visible, .feature :focus-visible, .closing :focus-visible, .footer :focus-visible { outline-color: #FFFFFF; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 20;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #FFFFFF; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
#contenu:focus { outline: none; }

.draft-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 50; max-width: calc(100% - 96px);
  padding: 8px 14px; border-radius: 12px; box-shadow: var(--shadow-md);
  background: var(--sun-a); color: var(--ink);
  font-size: 0.8125rem; font-weight: 600;
}
mark.todo { padding: 0 6px; border-radius: 6px; background: var(--sun-a); color: var(--ink); font-weight: 600; }

/* ── Shared pieces ─────────────────────────────────────────────────────── */

.kicker {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgb(255 255 255 / 0.92);
}
.kicker--ink { color: var(--brand); }

.button, .pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-spring), box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.button:hover, .pill:hover { transform: translateY(-2px); }
.button:active, .pill:active { transform: translateY(0) scale(0.97); }
.button--sun { background: linear-gradient(180deg, var(--sun-a), var(--sun-b)); color: var(--ink); box-shadow: 0 10px 24px rgb(60 10 20 / 0.28); }
.button--sun:hover { box-shadow: 0 16px 32px rgb(60 10 20 / 0.34); }
.button--ghost { color: #FFFFFF; box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.7); }
.button--ghost:hover { background: rgb(255 255 255 / 0.14); }
.button--light { background: #FFFFFF; color: var(--ink); box-shadow: 0 10px 24px rgb(60 20 0 / 0.26); }
.pill { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.pill--glass { color: #FFFFFF; background: rgb(255 255 255 / 0.16); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4); }
.pill--glass:hover { background: rgb(255 255 255 / 0.26); }

/* ── Opening: the two pieces of the « Y » meet, the page opens through it ── */

.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--ink-night); pointer-events: none;
  animation: intro-end 420ms 1500ms var(--ease-out) forwards;
}
.intro__stage { position: relative; display: grid; place-items: center; animation: intro-through 620ms 1180ms cubic-bezier(0.7, 0, 0.84, 0) forwards; }
.intro__mark { overflow: visible; animation: intro-beat 360ms 560ms var(--ease-spring) both; }
.intro__arm { animation: intro-arm 620ms var(--ease-out) both; }
.intro__ribbon { animation: intro-ribbon 620ms var(--ease-out) both; }
.intro__ring {
  position: absolute; width: 168px; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--sun-a); opacity: 0;
  animation: intro-ring 760ms 560ms var(--ease-out) both;
}
.intro__ring--late { border-color: #FF3E5F; animation-delay: 700ms; }
.no-intro .intro, .static .intro { display: none; }

@keyframes intro-arm { from { transform: translate(-58px, -86px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-ribbon { from { transform: translateY(96px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-beat { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes intro-ring { from { transform: scale(0.5); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes intro-through { to { transform: scale(34); } }
@keyframes intro-end { to { opacity: 0; visibility: hidden; } }

/* ── Navigation: clear over the sky, glass once the page moves ─────────── */

.nav {
  position: fixed; z-index: 40; top: 12px; left: 50%; translate: -50% 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: min(calc(100% - 24px), calc(var(--measure) + 32px)); padding: 10px 12px 10px 22px; border-radius: 999px;
  color: #FFFFFF;
  transition: background-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out), backdrop-filter 260ms var(--ease-out);
}
.nav.is-stuck { background: rgb(28 21 24 / 0.72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 30px rgb(28 21 24 / 0.22), inset 0 0 0 1px rgb(255 255 255 / 0.12); }
.nav__brand { display: inline-flex; border-radius: 8px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: background-color 160ms var(--ease-out); }
.nav__links a:hover { background: rgb(255 255 255 / 0.16); }
.nav :focus-visible { outline-color: #FFFFFF; }

/* ── Sky (hero and legal header) ───────────────────────────────────────── */

.sky {
  position: relative; isolation: isolate;
  color: #FFFFFF;
  background: linear-gradient(162deg, #6E0734 0%, #A8003F 30%, #D6094F 62%, #F07A2A 100%);
}
.sky--home { z-index: 3; --t0: 1500ms; --mx: 0; --my: 0; --sy: 0; }
.no-intro .sky--home, .static .sky--home { --t0: 0ms; }
.sky__scene { position: absolute; z-index: -1; inset: 0; overflow: hidden; }

.sky__sun {
  position: absolute;
  right: clamp(-40px, 6vw, 120px); bottom: clamp(60px, 16vw, 210px);
  width: clamp(170px, 26vw, 380px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFE48A, var(--sun-a) 45%, var(--sun-b));
  box-shadow: 0 0 0 clamp(18px, 3vw, 44px) rgb(255 201 60 / 0.16), 0 0 120px 40px rgb(255 170 18 / 0.34);
  translate: calc(var(--mx) * -18px) calc(var(--my) * -12px + var(--sy) * 0.32px);
  animation: sunrise 1500ms var(--t0) var(--ease-out) both;
}
.sky__people { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky__ridges { position: absolute; inset: auto -3% -1px -3%; width: 106%; max-width: none; height: clamp(120px, 22vw, 320px); }
.ridge--far { fill: #B5123F; opacity: 0.75; translate: calc(var(--mx) * -8px) calc(var(--sy) * 0.14px); }
.ridge--mid { fill: #8E0A38; opacity: 0.9; translate: calc(var(--mx) * -16px) calc(var(--sy) * 0.07px); }
.ridge--near { fill: #5E0629; translate: calc(var(--mx) * -28px) 0; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--measure); margin: 0 auto; padding: 22px var(--gutter) 0;
}
.topbar__brand { display: inline-flex; border-radius: 8px; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: end; gap: clamp(24px, 5vw, 72px);
  max-width: var(--measure); min-height: min(100svh, 940px); margin: 0 auto;
  padding: clamp(120px, 14vw, 170px) var(--gutter) 0;
}
.hero__copy { align-self: center; padding-bottom: clamp(72px, 10vw, 140px); }
.kicker--pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgb(28 21 24 / 0.28); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22); animation: rise 600ms var(--t0) var(--ease-out) both; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun-a); box-shadow: 0 0 0 4px rgb(255 201 60 / 0.25); }
.hero__title { margin-top: 20px; font-size: clamp(2.75rem, 8vw, 6rem); font-weight: 700; }
.words { display: block; }
.word { --i: 0; display: inline-block; transform-origin: 0 100%; animation: word 760ms calc(var(--t0) + 120ms + var(--i) * 110ms) var(--ease-spring) both; }

/* The ads' leaning band: one per page. */
.band {
  display: inline-block; margin: 0.22em 0 0 -0.12em; padding: 0.16em 0.34em 0.2em;
  background: linear-gradient(90deg, var(--sun-a), var(--sun-b)); color: var(--ink);
  font-size: 0.4em; line-height: 1.2; letter-spacing: -0.01em;
  transform: rotate(-2.2deg); transform-origin: left center; border-radius: 6px;
  box-shadow: 0 14px 30px rgb(60 10 20 / 0.3);
  animation: band 620ms calc(var(--t0) + 520ms) var(--ease-out) both;
}
.band > span { display: block; }

.hero__lead { max-width: 34em; margin-top: clamp(22px, 3vw, 34px); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgb(255 255 255 / 0.94); animation: rise 700ms calc(var(--t0) + 700ms) var(--ease-out) both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise 700ms calc(var(--t0) + 820ms) var(--ease-out) both; }

.hero__phone { position: relative; align-self: end; justify-self: center; width: min(100%, 330px); margin-bottom: clamp(-130px, -9vw, -70px); perspective: 1100px; --tx: 0; --ty: 0; animation: phone 1100ms calc(var(--t0) + 260ms) var(--ease-out) both; }
.hero__phone .phone { transform: rotateY(calc(var(--tx) * 11deg)) rotateX(calc(var(--ty) * -9deg)); transition: transform 180ms var(--ease-out); }

.phone {
  position: relative; overflow: hidden;
  border: 9px solid var(--ink-night); border-radius: clamp(34px, 4.4vw, 48px);
  background: var(--ink-night);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgb(255 255 255 / 0.12);
}
.phone img { width: 100%; border-radius: clamp(26px, 3.6vw, 40px); }
/* Captures taken from the browser carry a « ◀ Safari » status bar: cut it off. */
.phone--crop { aspect-ratio: 660 / 1318; }
.phone--crop img { height: 100%; object-fit: cover; object-position: bottom; }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; white-space: nowrap;
  background: rgb(28 21 24 / 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgb(28 21 24 / 0.3), inset 0 0 0 1px rgb(255 255 255 / 0.14);
  font-size: 0.875rem; font-weight: 600; color: #FFFFFF;
  animation: pop 520ms var(--ease-spring) both;
}
.chip--a { left: -34%; top: 22%; animation-delay: calc(var(--t0) + 1150ms); }
.chip--b { right: -22%; top: 56%; animation-delay: calc(var(--t0) + 1350ms); }

/* ── Leaning marquee of activities ─────────────────────────────────────── */

.marquee { position: relative; z-index: 2; overflow: hidden; margin-top: -62px; padding: 26px 0 30px; pointer-events: none; }
.marquee__track {
  display: flex; gap: 0; width: max-content; padding: 14px 0;
  background: linear-gradient(90deg, var(--sun-a), var(--sun-b), var(--sun-a)); color: var(--ink);
  rotate: -1.6deg; margin-left: -4%; box-shadow: 0 16px 34px rgb(60 10 20 / 0.2);
  font-size: clamp(1rem, 2vw, 1.375rem); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  animation: marquee 34s linear infinite;
}
.marquee__track span { display: inline-flex; align-items: center; padding: 0 22px; }
.marquee__track span::after { content: ""; width: 9px; height: 9px; margin-left: 44px; border-radius: 50%; background: var(--brand); }

/* ── Sections on the peach ground ──────────────────────────────────────── */

.section { max-width: var(--measure); margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--gutter); }
.section h2, .feature h2, .closing h2 { font-size: clamp(1.875rem, 4.4vw, 3.25rem); font-weight: 700; }
.section h2 { max-width: 16em; margin-top: 12px; }
.tickets { padding-top: clamp(110px, 12vw, 170px); }

.ticket-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.ticket {
  position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr);
  background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-md);
  /* Two half-moons punched where the stub tears off. */
  -webkit-mask: radial-gradient(circle 11px at 76px 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 11px at 76px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 11px at 76px 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 11px at 76px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket__stub {
  display: grid; place-items: center;
  border-right: 2px dashed var(--peach-200);
  font-size: 1.5rem; font-weight: 700; color: var(--brand);
  writing-mode: vertical-rl; rotate: 180deg; letter-spacing: 0.08em;
  transition: color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.ticket:hover .ticket__stub { background: var(--brand); color: #FFFFFF; }
.ticket__body { padding: 26px 24px 28px; }
.ticket h3 { font-size: 1.25rem; font-weight: 600; }
.ticket p { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }

/* ── One phone, three skies ────────────────────────────────────────────── */

/* Default (no script, static mode, narrow screens): three blocks in a column,
   each under the sky of its tab. */
.skies { max-width: calc(var(--measure) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skies__backdrop, .skies__dots { display: none; }
.feature {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(24px, 6vw, 88px);
  margin-bottom: clamp(40px, 6vw, 72px); padding: clamp(40px, 6vw, 80px); border-radius: clamp(28px, 4vw, 44px);
  color: #FFFFFF; overflow: hidden;
}
.feature--explore { background: linear-gradient(150deg, #0B2A66 0%, #123E8C 34%, #1D6FD0 70%, #7A5CFF 100%); }
.feature--messages { background: linear-gradient(150deg, #33136E 0%, #4A1D96 34%, #7A2FC8 70%, #D6094F 100%); }
.feature--profile { background: linear-gradient(150deg, #5A2000 0%, #7A2E00 34%, #B54700 70%, #F0A020 100%); }
.feature__copy > p:not(.kicker) { max-width: 32em; margin-top: 18px; color: rgb(255 255 255 / 0.94); }
.feature h2 { margin-top: 12px; }
.feature .phone { width: min(100%, 280px); justify-self: center; }

.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { position: relative; padding-left: 34px; color: rgb(255 255 255 / 0.96); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(180deg, var(--sun-a), var(--sun-b));
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: calc(0.28em + 5px); width: 8px; height: 5px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg);
}

/* Pinned (site.js, wide screens): the stage stays put while the scroll changes
   the sky, moves the sun along its arc and swaps the screen in the phone. */
.skies.is-pinned { max-width: none; height: 360vh; padding: 0; --p: 0; --sun-x: 56%; --sun-y: 12%; }
.is-pinned .skies__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #FFFFFF; }
.is-pinned .skies__backdrop { display: block; position: absolute; inset: 0; }
.skies__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms var(--ease-out); }
.skies__layer--explore { background: linear-gradient(150deg, #081E4C 0%, #123E8C 36%, #1D6FD0 72%, #7A5CFF 100%); opacity: 1; }
.skies__layer--messages { background: linear-gradient(150deg, #230B52 0%, #4A1D96 36%, #7A2FC8 72%, #D6094F 100%); }
.skies__layer--profile { background: linear-gradient(150deg, #3E1500 0%, #7A2E00 36%, #B54700 72%, #F0A020 100%); }
[data-active="1"] .skies__layer--messages, [data-active="2"] .skies__layer--messages, [data-active="2"] .skies__layer--profile { opacity: 1; }
.skies__sun {
  position: absolute; left: var(--sun-x); bottom: var(--sun-y); width: clamp(120px, 15vw, 220px); aspect-ratio: 1; border-radius: 50%; translate: -50% 50%;
  background: radial-gradient(circle at 40% 35%, #FFE48A, var(--sun-a) 45%, var(--sun-b));
  box-shadow: 0 0 0 28px rgb(255 201 60 / 0.12), 0 0 110px 40px rgb(255 190 60 / 0.3);
}
.is-pinned .feature {
  position: absolute; inset: 0; max-width: var(--measure); margin: 0 auto; padding: 96px var(--gutter) 40px;
  background: none; border-radius: 0; overflow: visible; pointer-events: none;
}
.is-pinned .feature__copy { opacity: 0; translate: 0 44px; transition: opacity 420ms var(--ease-out), translate 520ms var(--ease-out); }
.is-pinned .feature .phone { width: auto; height: min(74svh, 640px); aspect-ratio: 660 / 1435; opacity: 0; translate: 0 16%; rotate: 7deg; scale: 0.92; transition: opacity 420ms var(--ease-out), translate 620ms var(--ease-spring), rotate 620ms var(--ease-spring), scale 620ms var(--ease-spring); }
.is-pinned .feature .phone--crop { aspect-ratio: 660 / 1318; }
.is-pinned .feature .phone img { height: 100%; object-fit: cover; object-position: bottom; }
.is-pinned .feature.is-active { pointer-events: auto; }
.is-pinned .feature.is-active .feature__copy { opacity: 1; translate: 0 0; transition-delay: 120ms; }
.is-pinned .feature.is-active .phone { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; transition-delay: 60ms; }
.is-pinned .feature.is-past .feature__copy { translate: 0 -44px; }
.is-pinned .feature.is-past .phone { translate: 0 -16%; rotate: -7deg; }
.is-pinned .skies__dots { display: grid; gap: 10px; position: absolute; right: clamp(16px, 3vw, 40px); top: 50%; translate: 0 -50%; }
.skies__dots li { width: 8px; height: 8px; border-radius: 999px; background: rgb(255 255 255 / 0.4); transition: height 300ms var(--ease-spring), background-color 300ms var(--ease-out); }
[data-active="0"] .skies__dots li:nth-child(1), [data-active="1"] .skies__dots li:nth-child(2), [data-active="2"] .skies__dots li:nth-child(3) { height: 30px; background: var(--sun-a); }

/* ── Trust and offers ──────────────────────────────────────────────────── */

.trust { padding-top: clamp(72px, 10vw, 128px); }
.trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.note { padding: 28px; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-md); border-top: 5px solid var(--brand); }
.note:nth-child(2) { border-top-color: #1D6FD0; }
.note:nth-child(3) { border-top-color: #7A2FC8; }
.note:nth-child(4) { border-top-color: #B54700; }
.note h3 { font-size: 1.25rem; font-weight: 600; }
.note p { margin-top: 10px; color: var(--ink-soft); }
.note a, .offers a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }

.offers { padding-top: 0; }
.offers__lead { max-width: 38em; margin-top: 18px; color: var(--ink-soft); font-size: 1.125rem; }
.coupon-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.coupon {
  padding: 26px 26px 30px; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-md);
  border: 2px dashed var(--peach-200);
}
.coupon:last-child { background: var(--brand-soft); border-color: #F3B6CB; }
.coupon h3 { font-size: 1.5rem; font-weight: 700; color: var(--brand); }
.coupon p { margin-top: 10px; color: var(--ink-soft); }
.offers__note { max-width: 46em; margin-top: 28px; color: var(--ink-soft); font-size: 0.9375rem; }

/* A precise pin turning into a blurred sector: the privacy rule, shown. */
.note--blur { grid-row: span 3; display: flex; flex-direction: column; }
.blurmap {
  position: relative; flex: 1; min-height: 190px; margin-bottom: 22px; border-radius: 16px; overflow: hidden;
  background:
    linear-gradient(115deg, #0000 47%, #FFFFFF 47% 50%, #0000 50%),
    linear-gradient(25deg, #0000 58%, #FFFFFF 58% 60.5%, #0000 60.5%),
    linear-gradient(170deg, #0000 30%, #FFFFFF 30% 32%, #0000 32%),
    radial-gradient(circle at 78% 24%, #DDEFE2 0 16%, #0000 16.5%),
    var(--peach-100);
}
.blurmap__pin, .blurmap__zone { position: absolute; left: 46%; top: 54%; border-radius: 50%; translate: -50% -50%; }
.blurmap__pin { width: 16px; height: 16px; background: var(--brand); box-shadow: 0 0 0 5px #FFFFFF, 0 6px 14px rgb(42 26 32 / 0.3); }
.blurmap__zone { width: 150px; height: 150px; background: rgb(214 9 79 / 0.2); border: 2px solid rgb(214 9 79 / 0.55); }
.js .blurmap__zone { scale: 0; opacity: 0; }
.js .is-in .blurmap__zone, .static .blurmap__zone { scale: 1; opacity: 1; transition: scale 900ms 500ms var(--ease-spring), opacity 400ms 500ms var(--ease-out); }
.js .is-in .blurmap__pin { opacity: 0; scale: 0.4; transition: opacity 500ms 900ms var(--ease-out), scale 500ms 900ms var(--ease-out); }
.js .note--blur.is-in:hover .blurmap__zone { scale: 0.12; transition-delay: 0ms; transition-duration: 300ms; }
.js .note--blur.is-in:hover .blurmap__pin { opacity: 1; scale: 1; transition-delay: 0ms; transition-duration: 200ms; }
.static .blurmap__pin { opacity: 0; }

/* ── Dusk: the last sky ────────────────────────────────────────────────── */

.closing { position: relative; isolation: isolate; overflow: hidden; color: #FFFFFF; background: #140A24; --d: 0.55; }
.closing__scene { position: absolute; z-index: -1; inset: 0; }
.closing__scene::before { content: ""; position: absolute; inset: 0; background: linear-gradient(175deg, #7A0A2E 0%, #B01636 40%, #D6452A 72%, #F59A2A 100%); opacity: calc(1 - var(--d) * 1.15); }
.closing__scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0D0A26 0%, #2A0A2E 46%, #5A0F3E 78%, #A8304F 100%); opacity: calc(var(--d) * 0.9); mix-blend-mode: multiply; }
.closing__stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: calc(var(--d) * 1.5 - 0.35); }
.closing__sun {
  position: absolute; z-index: 1; left: 50%; bottom: 0; width: min(70vw, 560px); aspect-ratio: 1; border-radius: 50%;
  translate: -50% calc(18% + var(--d) * 62%);
  background: radial-gradient(circle at 50% 30%, #FFE48A, var(--sun-a) 40%, var(--sun-b) 72%);
  box-shadow: 0 0 160px 60px rgb(255 170 18 / 0.36);
}
.closing__ridges { position: absolute; z-index: 2; inset: auto 0 -1px 0; width: 100%; height: clamp(110px, 18vw, 250px); }
.closing__ridges path { fill: #1A0A20; }
.closing__inner { position: relative; z-index: 3; max-width: 760px; margin: 0 auto; padding: clamp(96px, 13vw, 170px) var(--gutter) clamp(190px, 26vw, 340px); text-align: center; }
.closing__inner > p { max-width: 30em; margin: 18px auto 0; font-size: 1.125rem; text-shadow: 0 1px 14px rgb(20 6 20 / 0.5); }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.closing__inner > .closing__hint { margin-top: 16px; font-size: 0.9375rem; color: rgb(255 255 255 / 0.9); }

/* ── Pause button (ambient motion can always be stopped) ───────────────── */

.motion-toggle {
  position: fixed; z-index: 45; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 0;
  height: 48px; min-width: 48px; padding: 0 15px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgb(28 21 24 / 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #FFFFFF;
  box-shadow: 0 10px 26px rgb(28 21 24 / 0.3), inset 0 0 0 1px rgb(255 255 255 / 0.16);
  font: inherit; font-size: 0.875rem; font-weight: 600;
  transition: gap 220ms var(--ease-out), padding 220ms var(--ease-out);
}
.motion-toggle__icon { width: 18px; height: 18px; background: linear-gradient(90deg, #FFFFFF 0 33%, #0000 33% 67%, #FFFFFF 67%); }
.motion-toggle[aria-pressed="true"] .motion-toggle__icon { background: #FFFFFF; clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
.motion-toggle__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 260ms var(--ease-out); }
.motion-toggle:hover, .motion-toggle:focus-visible { gap: 10px; }
.motion-toggle:hover .motion-toggle__label, .motion-toggle:focus-visible .motion-toggle__label { max-width: 22em; }
.motion-toggle:focus-visible { outline-color: var(--sun-a); }
/* ── Footer ────────────────────────────────────────────────────────────── */

.footer { background: var(--ink-night); color: rgb(255 255 255 / 0.82); padding: clamp(48px, 7vw, 80px) var(--gutter) 32px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; max-width: var(--measure); margin: 0 auto; }
.footer__brand p { max-width: 22em; margin-top: 16px; font-size: 0.9375rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 16px clamp(32px, 6vw, 80px); }
.footer__nav ul { display: grid; gap: 4px; align-content: start; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 40px; color: #FFFFFF; text-decoration: none; font-size: 0.9375rem; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { max-width: var(--measure); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.16); font-size: 0.8125rem; color: rgb(255 255 255 / 0.7); }

/* ── Legal pages ───────────────────────────────────────────────────────── */

.sky--legal { background: linear-gradient(162deg, #6E0734 0%, #A8003F 45%, #D6094F 100%); }
.legal-head { max-width: 860px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) clamp(44px, 7vw, 76px); }
.legal-head h1 { margin-top: 12px; font-size: clamp(2rem, 5.4vw, 3.5rem); font-weight: 700; }
.legal-head__date { margin-top: 16px; font-size: 0.9375rem; color: rgb(255 255 255 / 0.9); }

.prose { max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(72px, 10vw, 120px); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; padding-top: 0.9em; border-top: 2px dashed var(--peach-200); font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 700; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.prose p, .prose li { color: #332A2E; }
.prose ul, .prose ol { display: grid; gap: 0.5em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--brand); font-weight: 600; }
.prose a { color: var(--brand); font-weight: 500; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose .lead { font-size: 1.1875rem; color: var(--ink); }
.prose .card { padding: 22px 24px; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-md); }
.prose .card > * + * { margin-top: 0.6em; }
.prose dl { display: grid; grid-template-columns: minmax(9em, auto) minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.prose dt { font-weight: 600; color: var(--ink); }
.prose dd { margin: 0; color: #332A2E; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-md); }
.table-wrap:focus-visible { outline-offset: 0; }
.prose table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--peach-200); }
.prose th { font-weight: 600; background: var(--peach-100); }
.prose tr:last-child td { border-bottom: 0; }
.prose .steps { counter-reset: step; list-style: none; padding-left: 0; gap: 14px; }
.prose .steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-md); }
.prose .steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #FFFFFF; font-weight: 700; }

.lost { text-align: center; }
.lost .button { margin-top: 12px; background: var(--brand); color: #FFFFFF; }

/* ── Motion ────────────────────────────────────────────────────────────── */

@keyframes sunrise { from { transform: translateY(70%) scale(0.86); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes word { from { transform: translateY(0.8em) rotate(8deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes band { from { clip-path: inset(0 100% 0 0); transform: rotate(-2.2deg) translateX(-12px); } to { clip-path: inset(0 0 0 0); transform: rotate(-2.2deg); } }
@keyframes phone { from { transform: translateY(120px) rotate(6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stagger index (the CSP forbids inline styles, so no style="--i:n"). */
[data-i="1"] { --i: 1; }
[data-i="2"] { --i: 2; }
[data-i="3"] { --i: 3; }

/* Reveal on arrival (site.js marks .is-in). Without script nothing is hidden. */
.js [data-reveal] { opacity: 0; translate: 0 44px; }
.js .ticket[data-reveal] { rotate: -3deg; translate: 0 70px; }
.js [data-reveal].is-in {
  opacity: 1; translate: 0 0; rotate: 0deg;
  transition: opacity 520ms calc(var(--i, 0) * 100ms) var(--ease-out), translate 720ms calc(var(--i, 0) * 100ms) var(--ease-spring), rotate 720ms calc(var(--i, 0) * 100ms) var(--ease-spring);
}

/* Static mode (the pause button) and reduced motion: everything is in place, nothing moves. */
.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }
.static [data-reveal] { opacity: 1; translate: 0 0; rotate: 0deg; }
.static { scroll-behavior: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
  .js [data-reveal] { opacity: 1; translate: 0 0; rotate: 0deg; }
  .js .blurmap__zone { scale: 1; opacity: 1; }
  .js .blurmap__pin { opacity: 0; }
}

/* ── Narrow screens ────────────────────────────────────────────────────── */

@media (max-width: 880px) {
  .nav { padding-left: 16px; }
  .nav__links { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 112px; }
  .hero__copy { padding-bottom: 8px; }
  .hero__phone { width: min(72%, 300px); margin-top: 32px; margin-bottom: -100px; }
  .chip { display: none; }
  .sky__sun { bottom: 150px; right: -50px; }
  .marquee { margin-top: -20px; }
  .tickets { padding-top: 130px; }
  .ticket-row, .coupon-list, .trust__grid { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr); padding: 36px 24px 0; }
  .feature .phone { width: min(74%, 270px); margin-bottom: -60px; }
  .note--blur { grid-row: auto; }
  .prose dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .prose dd { margin-bottom: 10px; }
}

@media (max-width: 420px) {
  .nav .pill { padding: 0 14px; font-size: 0.875rem; }
  .nav__brand img { width: 118px; height: auto; }
  .topbar .pill { padding: 0 14px; font-size: 0.875rem; }
  .button { width: 100%; }
}

@media print {
  .sky, .closing { background: none; color: #000; }
  .intro, .nav, .marquee, .motion-toggle, .topbar .pill, .footer__nav, .skip, .sky__scene, .closing__scene { display: none; }
  .footer { background: none; color: #000; }
}
