/* Ascend Collective · ascendcollectivemtl (Nuit Électrique)
   Dark, cinematic, evening. Bodoni Moda (display) + Montserrat (text); Jost Light for the countdown numerals. */
@font-face { font-family: "Jost"; src: url("fonts/Jost-VF.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bodoni"; src: url("fonts/BodoniModa-400.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Bodoni"; src: url("fonts/BodoniModa-400i.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }

:root {
  --night: #05070C;
  --night-2: #0A0F1C;
  --night-3: #111829;
  --line: rgba(255, 255, 255, 0.10);
  --text: #F2F5FB;
  --text-2: #B7C1D6;
  --text-3: #8591AB;
  --blue: #0B5FE8;
  --blue-2: #0E7BE8;
  --sky: #05A6FF;
  --gold: #E9B865;
  --serif: "Bodoni", "Bodoni Moda", Didot, Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --r: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --champagne: #E6CB94;
  --line-2: rgba(255, 255, 255, 0.16);
  --nav-h: 72px;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
/* Lenis smooth scroll (desktop) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1, h2 { text-wrap: balance; font-family: var(--serif); letter-spacing: -0.01em; line-height: 1.08; }
h1 em, h2 em { font-style: italic; color: var(--sky); padding-bottom: 0.06em; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* Buttons: pill, one radius system for interactive elements */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: 0.01em; white-space: nowrap; transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s; }
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: #0a52c9; transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.45); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(16px, 4vw, 48px); background: linear-gradient(180deg, rgba(5,7,12,0.85), rgba(5,7,12,0)); }
.nav.solid { background: rgba(5,7,12,0.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-logo img { height: 26px; width: auto; }
/* section links: quiet, with a hairline under the section you're in */
.nav-links { display: flex; gap: clamp(18px, 2.2vw, 30px); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--text-2); }
.nav-links a { position: relative; padding: 6px 0; white-space: nowrap; transition: color 0.3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.nav-links a:hover, .nav-links a.on { color: #fff; }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 12px; }
/* EN / FR: one round button that shows the other language */
.lang-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; font: 600 11px var(--sans); letter-spacing: 0.08em; transition: border-color 0.3s, background-color 0.3s; }
.lang-btn:hover { border-color: var(--sky); background: rgba(255,255,255,0.04); }

/* Scroll film */
.film { position: relative; height: 320vh; }
.film-stage { position: sticky; top: 0; height: 100dvh; overflow: hidden; }
.film-canvas, .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-canvas { opacity: 0; transition: opacity 0.6s; }
.film.ready .film-canvas { opacity: 1; }
.film-poster { z-index: 0; } .film-canvas { z-index: 1; } .film-shade { z-index: 2; } .film-copy { z-index: 3; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,12,0.82) 0%, rgba(5,7,12,0.35) 55%, rgba(5,7,12,0.1) 100%), linear-gradient(0deg, var(--night) 0%, transparent 28%); }
.film-copy { position: absolute; left: clamp(20px, 6vw, 96px); bottom: clamp(56px, 14vh, 140px); max-width: 640px; }
.film-copy h1 { font-size: clamp(44px, 6.4vw, 92px); }
.film-copy h2 { font-size: clamp(36px, 5vw, 72px); }
.film-copy p { margin-top: 18px; font-size: clamp(16px, 1.4vw, 19px); color: var(--text-2); max-width: 30em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.film-copy-2 { opacity: 0; transform: translateY(30px); }

/* Sections */
section { position: relative; scroll-margin-top: var(--nav-h); }
.about { padding: clamp(96px, 14vw, 180px) 0 clamp(72px, 10vw, 140px); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.about h2 { font-size: clamp(36px, 4.6vw, 64px); }
.about-body p { color: var(--text-2); font-size: 17px; }
.sig { display: flex; align-items: center; gap: 12px; margin-top: 26px !important; font-size: 14px !important; color: var(--text) !important; font-weight: 600; }
.sig img { height: 22px; }

.why { padding-bottom: clamp(80px, 10vw, 140px); }
.why-title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 36px; }
.why-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.why-hero { grid-row: span 2; position: relative; border-radius: var(--r); overflow: hidden; min-height: 520px; }
.why-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.why-hero:hover img { transform: scale(1.04); }
.why-hero div { position: absolute; inset: auto 0 0; padding: 32px; background: linear-gradient(0deg, rgba(5,7,12,0.92), transparent); }
.why-hero h3, .why-card h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.why-hero p, .why-card p { margin-top: 10px; color: var(--text-2); max-width: 34em; }
.why-card { border: 1px solid var(--line); border-radius: var(--r); padding: 30px; background: var(--night-2); display: flex; flex-direction: column; justify-content: flex-end; }
.why-card i { font-size: 30px; color: var(--sky); margin-bottom: auto; }
.why-card.glow { background: radial-gradient(120% 120% at 100% 0%, rgba(11,95,232,0.45), transparent 60%), var(--night-2); }

.event { padding: clamp(96px, 12vw, 160px) 0; overflow: hidden; border-block: 1px solid var(--line); }
.event-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; filter: saturate(1.1); }
.event::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 80% 50%, rgba(11,95,232,0.35), transparent 70%), linear-gradient(90deg, var(--night) 10%, rgba(5,7,12,0.6)); }
.event-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.kicker { color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px !important; }
.event h2 { font-size: clamp(38px, 5vw, 70px); }
.event-body { margin: 18px 0 30px !important; color: var(--text-2); font-size: 17px; max-width: 30em; }
/* countdown: light champagne numerals, hairline dividers, a fine star field behind */
.count-wrap { position: relative; padding: 40px 0; }
.stars { position: absolute; inset: -40px -30px; width: calc(100% + 60px); height: calc(100% + 80px); pointer-events: none; }
.stars-micro { opacity: 0.9; }
.count { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); }
.count div { padding: 4px 10px; text-align: center; }
.count div + div { border-left: 1px solid rgba(255,255,255,0.12); }
.count b { display: block; font-family: "Jost", var(--sans); font-weight: 300; font-size: clamp(46px, 5vw, 76px); line-height: 1; letter-spacing: 0.01em; font-variant-numeric: tabular-nums lining-nums; color: var(--champagne); }
.count span { display: block; margin-top: 14px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--text-3); }


.founder { padding: clamp(80px, 10vw, 140px) 0; background: var(--night-2); border-block: 1px solid var(--line); }
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--r); background: radial-gradient(90% 70% at 50% 30%, rgba(5,166,255,0.25), transparent 70%), var(--night-3); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; gap: 14px; color: var(--text-3); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.portrait img { width: 64px; opacity: 0.9; }
.founder h2 { font-size: clamp(38px, 4.8vw, 66px); }
.founder blockquote { margin: 24px 0 18px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--text); border-left: 2px solid var(--sky); padding-left: 22px; }
.founder p { color: var(--text-2); margin-bottom: 30px; max-width: 34em; }

.moments { padding: clamp(80px, 10vw, 140px) 0; }
.moments h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 32px; }

.join { padding: clamp(80px, 10vw, 140px) 0; }
.join h2 { font-size: clamp(38px, 5vw, 70px); margin-bottom: 36px; }
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 22px 4px; border-top: 1px solid var(--line); transition: padding 0.4s var(--ease), color 0.3s; }
.row:hover { padding-left: 14px; }
.row > i:first-child { font-size: 26px; color: var(--sky); }
.row b { display: block; font-size: 18px; font-weight: 600; }
.row span { font-size: 14px; color: var(--text-3); }
.row .go { font-size: 20px; color: var(--text-3); transition: transform 0.4s var(--ease), color 0.3s; }
.row:hover .go { transform: translate(3px, -3px); color: var(--sky); }

.foot { border-top: 1px solid var(--line); padding: 72px 0 28px; background: #03050A; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.foot-logo { width: 190px; }
.foot-line { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--text-2); }
.social { display: flex; gap: 10px; }
.social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 20px; transition: background 0.3s, border-color 0.3s; }
.social a:hover { background: var(--blue); border-color: var(--blue); }
.foot-meta { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }

/* Reveal on enter (IntersectionObserver adds .in) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .about-grid, .event-inner, .founder-grid, .rows { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .why-hero { grid-row: auto; min-height: 420px; }
  .foot-grid { grid-template-columns: 1fr; }
  .film { height: 240vh; }
  .film-copy { right: 20px; }
}
@media (max-width: 520px) {
  .nav-end .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .film { height: 100dvh; }
  .film-copy-2 { display: none; }
}

.portrait { overflow: hidden; padding: 0; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* WebGL ambience (fx.js): sits behind content, fades in once running */
.event > .fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s; z-index: 0; }
.event > .fx.live { opacity: 1; }
.event > *:not(.fx):not(.event-bg) { position: relative; z-index: 1; }
.event > .fx { z-index: 1; mix-blend-mode: screen; }
.event-inner { z-index: 2 !important; }

/* ==== polish.py: shared polish (buttons, focus, reveals, phones) ==== */
.ph { display: inline-block; width: 1em; height: 1em; line-height: 1; vertical-align: -0.125em; }
.btn { position: relative; overflow: hidden; isolation: isolate; will-change: transform; }
.btn:focus-visible, .row:focus-visible, .lang-btn:focus-visible, .social a:focus-visible, .to-top:focus-visible, .col a:focus-visible { outline: 3px solid var(--sky, #05A6FF); outline-offset: 3px; }
@media (hover: hover) {
  .btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
  .btn:hover::after { transform: translateX(120%); }
}
@media (hover: hover) and (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .reveal { filter: blur(8px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1), filter 0.9s cubic-bezier(0.16,1,0.3,1); }
  .reveal.in { filter: none; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .about, .why, .event, .offer, .founder, .moments, .join, .pass-sec { padding-top: 64px !important; padding-bottom: 64px !important; }
  .btn { padding: 13px 22px; font-size: 15px; }
  .ctas { gap: 10px; margin-top: 24px; }
  :root { --nav-h: 60px; }
  .nav { height: 60px; padding: 0 14px; }
  .count b { font-size: 40px; } .count span { letter-spacing: 0.22em; font-size: 9.5px; }
  .nav-logo img { height: 22px; }
  .foot { padding-top: 48px; }
  .foot-line { font-size: 21px; }
}
:root { --modal-bg: #0A0F1C; --modal-ink: #F2F5FB; --modal-line: rgba(255,255,255,0.14); --modal-field: #111829; --modal-accent: #05A6FF; }

/* ---------- Membership + the royal-blue metal member pass ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px !important; }
.lede { color: var(--text-2); font-size: 17px; line-height: 1.7; max-width: 32em; }
.pass-sec { padding: clamp(96px, 12vw, 160px) 0; overflow: hidden; }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pass-sec h2 { font-size: clamp(38px, 4.8vw, 66px); }
.pass-sec .lede { margin-top: 18px; }
.pass-stage { perspective: 1600px; display: grid; place-items: center; }
.pass { position: relative; width: min(100%, 470px); aspect-ratio: 1.586; transform-style: preserve-3d; transform: rotateY(0deg) rotateZ(-3deg); will-change: transform; }
.face { position: absolute; inset: 0; border-radius: 18px; -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; color: #fff;
  box-shadow: 0 50px 80px -40px rgba(0,0,0,0.95), 0 18px 40px -24px rgba(11,95,232,0.45), inset 0 0 0 1px rgba(255,255,255,0.18), inset 0 1px 0 rgba(255,255,255,0.35); }
/* spun royal-blue metal (concentric brushing), satin grain, an oversized debossed mark and a glare that follows the tilt */
.front { background: #0E2F95 url("img/card-front.webp") center / cover; padding: 26px 28px; }
.front::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,0.06), transparent 38%, rgba(0,0,10,0.26)); }
.deboss { position: absolute; right: -9%; bottom: -24%; width: 66%; aspect-ratio: 293 / 271; filter: drop-shadow(0.8px 0.9px 0 rgba(255,255,255,0.2)) drop-shadow(-0.7px -0.7px 0 rgba(0,0,20,0.32)); pointer-events: none; }
.deboss i { position: absolute; inset: 0; background: linear-gradient(150deg, rgba(0,6,40,0.32), rgba(0,6,40,0.16)); -webkit-mask: url("img/mark.svg") center / contain no-repeat; mask: url("img/mark.svg") center / contain no-repeat; }
.glare { position: absolute; inset: -40%; pointer-events: none; mix-blend-mode: soft-light; opacity: 0.85;
  background: conic-gradient(from var(--ga, 200deg) at var(--gx, 62%) var(--gy, 42%), rgba(255,255,255,0) 0deg, rgba(255,255,255,0.5) 30deg, rgba(255,255,255,0) 70deg, rgba(0,0,0,0.22) 120deg, rgba(255,255,255,0) 170deg, rgba(255,255,255,0.42) 210deg, rgba(255,255,255,0) 250deg, rgba(0,0,0,0.2) 300deg, rgba(255,255,255,0) 360deg); }
.pf-top { position: relative; display: flex; align-items: center; gap: 10px; }
.pf-mark { height: 22px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.pf-word { font-size: 10.5px; font-weight: 500; letter-spacing: 0.32em; color: rgba(255,255,255,0.92); }
.pf-word b { font-weight: 500; color: rgba(255,255,255,0.92); }
.pf-chip { position: absolute; left: 28px; top: 39%; width: 46px; height: 35px; border-radius: 7px; background: linear-gradient(135deg, #F6E3B4 0%, #D8B46A 35%, #B88F45 60%, #E9CF8E 100%); box-shadow: inset 0 0 0 1px rgba(80,55,15,0.35), 0 1px 1px rgba(0,0,0,0.3); }
.pf-chip i { position: absolute; background: rgba(90,62,18,0.45); }
.pf-chip i:nth-child(1) { left: 0; right: 0; top: 34%; height: 1px; } .pf-chip i:nth-child(2) { left: 0; right: 0; top: 66%; height: 1px; } .pf-chip i:nth-child(3) { top: 0; bottom: 0; left: 50%; width: 1px; }
.pf-nfc { position: absolute; left: 86px; top: 41%; width: 22px; height: 22px; color: rgba(255,255,255,0.75); }
.pf-name { position: absolute; left: 28px; bottom: 26px; }
.pf-name small { display: block; font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--champagne); margin-bottom: 4px; }
.pf-name b { display: block; font-family: var(--sans); font-weight: 400; font-size: 17px; letter-spacing: 0.16em; text-transform: uppercase; color: #F2F4F8; text-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 -1px 0 rgba(255,255,255,0.18); }
.pf-meta { position: absolute; right: 28px; bottom: 26px; display: grid; justify-items: end; gap: 6px; font-size: 13px; letter-spacing: 0.14em; color: rgba(255,255,255,0.85); }
.pf-meta small { display: block; font-size: 8px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.back { background: #0A1C5E url("img/card-front.webp") center / cover; transform: rotateY(180deg); padding: 26px 28px; }
.back::before { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(4,12,48,0.55), rgba(3,7,26,0.78)); }



/* ---------- What we offer (white type, blue only on the arrows) ---------- */
.offer { padding: clamp(96px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.offer-head { margin-bottom: 52px; }
.offer h2 { font-size: clamp(36px, 4.6vw, 64px); max-width: 14em; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.col .num { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; color: var(--text-3); }
.col h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(38px, 3.6vw, 54px); line-height: 1.05; margin: 8px 0 22px; color: #fff; }
.col a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-2); color: var(--text); font-weight: 500; font-size: 15.5px; transition: padding 0.5s var(--ease), color 0.3s; }
.col a:last-child { border-bottom: 1px solid var(--line-2); }
.col a i { font-size: 17px; color: var(--sky); transition: transform 0.5s var(--ease); }
.col a:hover { padding-left: 6px; color: #fff; }
.col a:hover i { transform: translate(3px, -3px); }

/* ---------- Soft blur at the window edges (after the opening film) ---------- */
.edge { position: fixed; left: 0; right: 0; z-index: 19; pointer-events: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.6s; }
.edge-top { top: 0; height: calc(var(--nav-h) + 40px); -webkit-mask: linear-gradient(180deg, #000 45%, transparent); mask: linear-gradient(180deg, #000 45%, transparent); background: linear-gradient(180deg, rgba(5,7,12,0.5), transparent); }
.edge-bottom { bottom: 0; height: 64px; -webkit-mask: linear-gradient(0deg, #000, transparent); mask: linear-gradient(0deg, #000, transparent); background: linear-gradient(0deg, rgba(5,7,12,0.55), transparent); }
body.past-film .edge { opacity: 1; }

/* ---------- Back to top: always within reach, bottom right ---------- */
.to-top { position: fixed; right: clamp(16px, 2.6vw, 32px); bottom: calc(clamp(16px, 2.6vw, 32px) + env(safe-area-inset-bottom)); z-index: 26; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(5,7,12,0.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.3s; }
.to-top svg { width: 18px; height: 18px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--sky); }

@media (max-width: 900px) {
  .pass-grid { grid-template-columns: 1fr; }
  .pass-stage { order: -1; }
  .offer-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .pf-name b { font-size: 14px; }
            .back { padding: 20px 22px; }
  .face { border-radius: 14px; }
  .front { padding: 20px 22px; }
  .pf-chip { left: 22px; width: 38px; height: 29px; }
  .pf-nfc { left: 70px; }
  .pf-name { left: 22px; bottom: 20px; }
  .pf-meta { right: 22px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .edge { transition: none; } }

/* Tablets and phones: the section links live behind a round menu button */
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1px; background: #fff; transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.menu-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.sheet { position: fixed; inset: 0; z-index: 19; padding: calc(var(--nav-h) + 36px) 24px calc(28px + env(safe-area-inset-bottom)); background: var(--night); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity 0.4s var(--ease); }
.sheet.open { opacity: 1; }
.sheet nav { display: grid; }
.sheet nav a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: 0.01em; line-height: 1.3; color: var(--text); transform: translateY(14px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.3s; }
.sheet nav a::after { content: ""; width: 7px; height: 7px; border-top: 1px solid var(--sky); border-right: 1px solid var(--sky); transform: rotate(45deg); margin-right: 4px; }
.sheet.open nav a { transform: none; opacity: 1; }
.sheet.open nav a:nth-child(2) { transition-delay: 0.04s; } .sheet.open nav a:nth-child(3) { transition-delay: 0.08s; }
.sheet.open nav a:nth-child(4) { transition-delay: 0.12s; } .sheet.open nav a:nth-child(5) { transition-delay: 0.16s; }
.sheet-cta { display: grid; gap: 10px; }
.sheet-cta .btn { justify-content: center; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
}
@media (prefers-reduced-motion: reduce) { .sheet, .sheet nav a { transition: none; } }

/* ---------- Back of the pass: free member perks ---------- */
.back { display: flex; flex-direction: column; }
.pb-brand { position: relative; font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne); }
.pb-title { position: relative; margin-top: 9px !important; font-size: 17px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.pb-perks { position: relative; list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(230,203,148,0.7); display: grid; gap: 7px; }
.pb-perks li { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.01em; color: rgba(255,255,255,0.94); }
.pb-perks li::before { content: ""; flex: none; width: 12px; height: 1px; background: var(--champagne); }
.pb-line { position: relative; margin-top: auto !important; font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne); }
@media (max-width: 600px) {
  .pb-brand, .pb-line { font-size: 8.5px; }
  .pb-title { font-size: 13px; margin-top: 5px !important; }
  .pb-perks { margin-top: 9px; padding-top: 9px; gap: 3px; }
  .pb-perks li { font-size: 10.5px; gap: 9px; }
}

/* ---------- Moments: one straight line of photos, gliding slowly (pauses on hover) ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: glide 110s linear infinite; }
.marquee-track img { height: clamp(220px, 26vw, 340px); width: auto; border-radius: var(--r); object-fit: cover; flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes glide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee-track { animation: none; } }
