/* =========================================================
   GymNation KSA — homepage styles (light HUD theme)
   Paper white / ink / blaze red · chamfered "HUD" frames
   ========================================================= */
:root {
  /* ---- Theme A: original red. To switch back: uncomment this block, comment out Theme B ----
  --red: #E3121B;
  --red-deep: #B00D14;
  --red-soft: #FCEBEB;
  --red-rgb: 227, 18, 27;
  --red-light: #ff5a5f;
  --red-light-rgb: 255, 90, 95;
  --red-text-light: var(--red);
  --on-red: #fff;
  --surface: var(--red);
  --surface-accent: var(--ink);
  --tint: var(--red);
  --ink: #141113;
  --ink-2: #2A2527;
  --ink-rgb: 20, 17, 19;
  --ink-deep: #121012;
  --ink-raise: #1D191B;
  ---- */

  /* ---- Theme B: navy + yellow (trial) ---- */
  --primary: #022a3a;
  --secondary: #f4cd00;
  --yellow-f4: #f4ce13;
  --gnorange: #e9a630;

  /* roles (the names are from the red theme: "red" = the accent colour) */
  --red: var(--secondary);          /* accent fills: buttons, badges, active states */
  --red-deep: var(--gnorange);
  --red-soft: #fff6cc;
  --red-rgb: 244, 205, 0;
  --red-light: var(--yellow-f4);   /* accent text on dark backgrounds */
  --red-light-rgb: 244, 206, 19;
  --red-text-light: var(--primary); /* accent text on light backgrounds (yellow is unreadable there) */
  --on-red: var(--primary);        /* text & icons sitting on an accent fill */
  --surface: var(--primary);       /* big brand panels: top bar, menu, chat header, tickets */
  --surface-accent: var(--secondary);
  --tint: #4a9cbd;                  /* photo/video duotone (multiplied, so it must be light: navy would black them out) */
  --ink: var(--primary);
  --ink-2: #0b3a4d;
  --ink-rgb: 2, 42, 58;
  --ink-deep: #011c27;
  --ink-raise: #063646;
  /* ---- end themes ---- */
  --danger: #E3121B;      /* errors stay red in every theme */
  --danger-soft: #FCEBEB;
  --danger-light: #ff8a8f; /* errors on dark backgrounds */
  --red-text: var(--red-text-light); /* switched to the accent itself on dark backgrounds, below */

  --muted: #6E6766;
  --paper: #F5F3F0;
  --mist: #ECE8E3;
  --white: #fff;
  --line: rgba(var(--ink-rgb), .1);
  --line-2: rgba(var(--ink-rgb), .2);

  --topbar-h: 36px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}

html, body { overflow-x: clip; }
/* dark backgrounds: accent text can use the accent colour itself */
.hero, .page-hero, .hero-card, .loc-screen, .site-footer, .cta-main, .trial-band, .stats-head, .cta-stub,
.review-card:nth-of-type(3n+2), .plan-card.is-popular, .mem-dock, .member-card,
.app-stage, .bg-surface, .bg-ink, .toast, #siteHeader:not(.is-scrolled) { --red-text: var(--red); }
/* light islands inside dark areas go back to the light-background role */
.ticket, .rv-avatar, .dropdown-menu, .phone-screen, .stage-chip { --red-text: var(--red-text-light); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped, html.no-scroll { overflow: hidden; }

body.v2 {
  background-image:
    linear-gradient(rgba(var(--ink-rgb), .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ink-rgb), .035) 1px, transparent 1px);
  background-size: 64px 64px;
}
::selection { background: var(--red); color: var(--on-red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
img, video { user-select: none; -webkit-user-drag: none; }

.container-x { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(80px, 10vw, 140px); }

/* ---------- type helpers ---------- */
.text-outline { --stroke: var(--ink); color: transparent; -webkit-text-stroke: 2px var(--stroke); }
.hero .text-outline { --stroke: #fff; }
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; will-change: transform; }
.split-mask .word { overflow: hidden; vertical-align: top; padding: .04em .02em .02em; margin: -.04em -.02em -.02em; }
.hero-title .line { display: block; overflow: hidden; padding: .04em 0 .02em; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flag { width: 20px; height: 14px; flex: none; }

/* ---------- HUD frame: chamfered border drawn with two clipped layers ---------- */
.hud, .city-card, .viewer, .faq-item {
  --c: 18px; --bw: 1.5px; --bc: var(--line-2); --bg: var(--white);
  position: relative; isolation: isolate;
}
.hud::before, .hud::after,
.city-card::before, .city-card::after,
.viewer::before, .viewer::after,
.faq-item::before, .faq-item::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .4s var(--ease-out);
}
.hud::before, .city-card::before, .viewer::before, .faq-item::before { inset: 0; background: var(--bc); }
.hud::after, .city-card::after, .viewer::after, .faq-item::after { inset: var(--bw); background: var(--bg); }

.brackets {
  position: absolute; inset: 22px; z-index: 1; pointer-events: none; --b: rgba(255, 255, 255, .85); --l: 26px;
  background:
    linear-gradient(var(--b), var(--b)) top left / var(--l) 2px no-repeat,
    linear-gradient(var(--b), var(--b)) top left / 2px var(--l) no-repeat,
    linear-gradient(var(--b), var(--b)) top right / var(--l) 2px no-repeat,
    linear-gradient(var(--b), var(--b)) top right / 2px var(--l) no-repeat,
    linear-gradient(var(--b), var(--b)) bottom left / var(--l) 2px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom left / 2px var(--l) no-repeat,
    linear-gradient(var(--b), var(--b)) bottom right / var(--l) 2px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom right / 2px var(--l) no-repeat;
}

/* ---------- buttons ---------- */
.btn {
  --c: 10px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  height: 46px; padding: 0 1.4rem;
  font-family: Rajdhani, sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: color .45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -15%; width: 130%; z-index: -1;
  transform: translateX(-102%) skewX(-20deg); transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(-20deg); }
.btn .icon { transition: transform .45s var(--ease-out); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn-red { background: var(--red); color: var(--on-red); }
.btn-red::before { background: var(--ink); }
.btn-red:hover { color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink::before { background: var(--red); }
.btn-ink:hover { color: var(--on-red); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white::before { background: var(--ink); }
.btn-white:hover { color: #fff; }
.btn-ghost { background: rgba(var(--ink-rgb), .06); color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-xs { --c: 7px; height: 32px; padding: 0 .9rem; font-size: .82rem; gap: .4rem; }
.btn-sm { height: 40px; padding: 0 1.1rem; font-size: .92rem; }
.btn-lg { --c: 12px; height: 56px; padding: 0 1.8rem; font-size: 1.1rem; }
.btn-xl { --c: 16px; height: 76px; padding: 0 2.6rem; font-size: 1.45rem; gap: .9rem; }

.icon-btn {
  --c: 8px;
  display: inline-grid; place-items: center; width: 42px; height: 42px; font-size: 18px;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .3s, color .3s;
}
.icon-btn:hover { background: var(--red); color: var(--on-red); }
.icon-btn.is-on-red { background: rgba(var(--ink-rgb), .2); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.icon-btn.is-on-red:hover { background: var(--surface-accent); color: var(--on-red); box-shadow: none; }

.chev-btn {
  --c: 10px;
  display: grid; place-items: center; width: 48px; height: 48px; flex: none; font-size: 22px;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .3s, color .3s, transform .3s var(--ease-out);
}
.chev-btn:hover { background: var(--ink); color: #fff; }
.chev-btn.is-red { background: var(--red); color: var(--on-red); box-shadow: none; }
.chev-btn.is-red:hover { background: var(--ink); color: #fff; }

.more-link { display: inline-flex; align-items: center; gap: 12px; font-family: Rajdhani; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.more-link span { width: 6px; height: 26px; background: var(--red); transform: skewX(-14deg); transition: width .4s var(--ease-out); color: var(--on-red); }
.more-link:hover span { width: 28px; }

/* ---------- header ---------- */
#siteHeader { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: transform .6s var(--ease-out); }
#siteHeader.is-scrolled { transform: translateY(calc(-1 * var(--topbar-h))); }
#siteHeader.is-hidden { transform: translateY(-100%); }
.nav-shell { transition: background .4s, box-shadow .4s; }
/* over the dark hero the bar is transparent with white type */
#siteHeader:not(.is-scrolled) .nav-shell { color: #fff; }
#siteHeader:not(.is-scrolled) .icon-btn { background: transparent; color: #fff; box-shadow: none; }
#siteHeader:not(.is-scrolled) .icon-btn:hover { background: var(--red); box-shadow: none; color: var(--on-red); }
#siteHeader:not(.is-scrolled) .btn-ghost { background: transparent; color: #fff; }
#siteHeader:not(.is-scrolled) .btn-ghost::before { background: #fff; }
#siteHeader:not(.is-scrolled) .btn-ghost:hover { color: var(--ink); }
#siteHeader.is-scrolled .nav-shell {
  background: rgba(245, 243, 240, .86); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
/* brand logo (sprite #i-logo): the wordmark takes the text colour, the G mark keeps its yellow */
.logo-svg { display: block; flex: none; width: auto; height: 36px; aspect-ratio: 143 / 34; }
.logo-svg.is-menu { height: 34px; }
.logo-svg.is-ticket { height: 26px; }
.logo { transition: opacity .3s; }
.logo:hover { opacity: .8; }

.nav-link { position: relative; display: inline-block; padding: 8px 14px; white-space: nowrap; transition: color .3s; }
.nav-link::before, .nav-link::after {
  content: ""; position: absolute; top: 4px; bottom: 4px; width: 7px; border: 2px solid var(--red);
  opacity: 0; transition: opacity .3s, transform .4s var(--ease-out);
}
.nav-link::before { left: 0; border-right: 0; transform: translateX(8px); }
.nav-link::after { right: 0; border-left: 0; transform: translateX(-8px); }
.nav-link:hover { color: var(--red-text); }
.nav-link:hover::before, .nav-link:hover::after { opacity: 1; transform: none; }

.country-btn { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px 0 6px; background: rgba(var(--ink-rgb), .22); font-weight: 600; font-size: 12px; }
.country-btn .flag { width: 16px; height: 11px; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 6px; z-index: 5;
  background: #fff; color: var(--ink); border-top: 2px solid var(--red); box-shadow: 0 24px 50px -20px rgba(var(--ink-rgb), .45), inset 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .3s var(--ease-out);
}
[data-dropdown].is-open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu button { position: relative; display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; font-size: 13.5px; text-align: left; transition: background .2s; }
.dropdown-menu button:hover, .dropdown-menu button:focus-visible { background: var(--red-soft); outline: none; }
.dropdown-menu button:hover::before, .dropdown-menu button:focus-visible::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--red); }
.dropdown-menu button[aria-selected="true"] { color: var(--red-text); font-weight: 600; }
.dropdown-menu button[aria-selected="true"]::after { content: ""; margin-left: auto; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }

#mobileMenu { visibility: hidden; clip-path: circle(0% at 100% 0%); }
/* GSAP animates .mm-link transforms, so the hover nudge uses padding (a CSS transform transition fights GSAP) */
.mm-link { display: inline-block; transition: color .3s, padding .4s var(--ease-out); }
.mm-link:hover { color: var(--surface-accent); padding-left: 12px; }

.search-result {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 18px; text-align: left;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background .3s;
}
.search-result:hover, .search-result:focus-visible { box-shadow: inset 3px 0 0 var(--red), inset 0 0 0 1px var(--red); background: var(--red-soft); }
.search-result b { font-family: Rajdhani; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; }
.search-result small { display: block; color: var(--muted); font-size: 12px; }
.search-go { color: var(--red-text); }
.search-empty { padding: 16px 0; color: var(--muted); }

/* ---------- page chrome ---------- */
.cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1.5px solid rgba(var(--ink-rgb), .45);
  display: grid; place-items: center; opacity: 0; transform-origin: center;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .3s, border-color .3s, opacity .3s;
}
.cursor-ring::before { content: ""; position: absolute; width: 4px; height: 4px; background: var(--red); }
.cursor-ring.is-visible { opacity: 1; }
.cursor-ring.is-hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--red); background: rgba(var(--red-rgb), .08); }
.cursor-ring.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--red); border-color: var(--red); color: var(--on-red); }
.cursor-ring.is-label::before { display: none; }
.cursor-label { font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-red); opacity: 0; transition: opacity .2s; }
.cursor-ring.is-label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-ring { display: none; } }

#toast {
  position: fixed; left: 50%; top: 92px; z-index: 120; max-width: min(92vw, 460px); padding: 12px 20px;
  background: var(--ink); color: #fff; font-weight: 500; font-size: 14px; box-shadow: 0 20px 50px -15px rgba(var(--ink-rgb), .5);
  border-left: 4px solid var(--red); opacity: 0; pointer-events: none;
}
.confetti { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; }

.side-rail {
  position: fixed; top: 50%; z-index: 5; display: none; flex-direction: column; align-items: center; gap: 16px;
  transform: translateY(-50%); pointer-events: none; opacity: 0; transition: opacity .6s;
}
body.past-hero .side-rail { opacity: 1; }
.side-rail.is-left { left: 22px; }
.side-rail.is-right { right: 22px; }
.rail-text { writing-mode: vertical-rl; transform: rotate(180deg); font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: rgba(var(--ink-rgb), .45); }
.rail-ecg { width: 24px; height: 160px; }
.rail-ecg polyline { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 220; animation: ecg 3s linear infinite; }
@keyframes ecg { from { stroke-dashoffset: 440; } to { stroke-dashoffset: 0; } }
@media (min-width: 1800px) { .side-rail { display: flex; } }

.gauge { position: absolute; z-index: 0; width: 280px; height: 280px; pointer-events: none; display: none; }
.gauge.is-right { right: -185px; top: 22%; }
.gauge.is-left { left: -185px; top: 18%; }
.gauge circle { fill: none; stroke-width: 22; }
.g-track { stroke: rgba(var(--ink-rgb), .1); stroke-dasharray: 3 5; }
.g-fill { stroke: var(--red); }
@media (min-width: 1024px) { .gauge { display: block; } }

.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); animation: blink 1.6s infinite; }
.live-dot.is-white { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- loader ---------- */
#loader { clip-path: inset(0 0 0 0); }
.loader-frame { position: relative; padding: 18px 34px; }
.loader-frame::before {
  content: ""; position: absolute; inset: 0; --b: var(--red); --l: 22px;
  background:
    linear-gradient(var(--b), var(--b)) top left / var(--l) 3px no-repeat, linear-gradient(var(--b), var(--b)) top left / 3px var(--l) no-repeat,
    linear-gradient(var(--b), var(--b)) bottom right / var(--l) 3px no-repeat, linear-gradient(var(--b), var(--b)) bottom right / 3px var(--l) no-repeat;
}
.loader-letter { display: inline-block; }
.loader-bar { transform: scaleX(0); transform-origin: left; }

/* ---------- hero (full-bleed, minimal HUD) ---------- */
.hero {
  --notch: 40px;
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink);
  /* flat bottom edge with a centre tab that holds the scroll cue */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(50% + 130px) calc(100% - var(--notch)), calc(50% + 100px) 100%,
                     calc(50% - 100px) 100%, calc(50% - 130px) calc(100% - var(--notch)), 0 calc(100% - var(--notch)));
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(1.25); }
.hero-tint { position: absolute; inset: 0; }
.hero-tint::before { content: ""; position: absolute; inset: 0; background: var(--tint); mix-blend-mode: multiply; }
.hero-tint::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--ink-rgb), .65), transparent 22%),
    linear-gradient(90deg, rgba(var(--ink-rgb), .78), rgba(var(--ink-rgb), .3) 55%, rgba(var(--ink-rgb), .55)),
    linear-gradient(0deg, rgba(var(--ink-rgb), .6), transparent 30%);
}

.hero-inner {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding-top: 150px; padding-bottom: calc(var(--notch) + 22px);
}
.hero-content { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-content { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; } }
@media (min-width: 1536px) { .hero-content { grid-template-columns: minmax(0, 1fr) 260px 390px; gap: 80px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: Rajdhani; font-weight: 700; font-size: .9rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
}
.hero-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero-title { margin-top: 20px; font-family: Oswald; font-weight: 600; text-transform: uppercase; font-size: clamp(3rem, 5.6vw, 6.6rem); line-height: 1; letter-spacing: .01em; }
.hero .text-outline { -webkit-text-stroke-width: 1.5px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px; font-family: Rajdhani; font-weight: 600; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding-block: 6px;
  font-family: Rajdhani; font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .5s var(--ease-out); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .icon { transition: transform .4s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.hero-rating { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.hero-rating .stars { display: flex; color: #FBBC04; font-size: 13px; }
.hero-rating b { color: #fff; font-weight: 600; }

/* telemetry readout */
.hero-telemetry { display: none; flex-direction: column; align-items: center; gap: 18px; }
@media (min-width: 1536px) { .hero-telemetry { display: flex; } }
.tm-live { display: inline-flex; align-items: center; gap: 8px; font-family: Rajdhani; font-weight: 600; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
#tmTime { color: #fff; font-variant-numeric: tabular-nums; }
.reticle { position: relative; width: 220px; aspect-ratio: 1; }
.reticle-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.reticle-svg circle { fill: none; }
.rt-outer { stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; stroke-dasharray: 1 5; transform-origin: 150px 150px; animation: spin 50s linear infinite; }
.rt-arc { stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 87 100; transform: rotate(-90deg); transform-origin: 150px 150px; transition: stroke-dasharray .9s var(--ease-out); }
.rt-ticks { stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; }
.rt-core { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rt-label { display: inline-flex; align-items: center; gap: 6px; font-family: Rajdhani; font-weight: 600; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.rt-bpm { font-family: Oswald; font-weight: 500; font-size: 60px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.rt-heart { font-size: 12px; color: var(--red-text); fill: currentColor; animation: beat var(--beat, .42s) ease-in-out infinite alternate; }
@keyframes beat { from { transform: scale(.8); } to { transform: scale(1.2); } }
.tm-line { display: flex; gap: 16px; font-size: 11.5px; letter-spacing: .06em; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.tm-line b { font-family: Oswald; font-weight: 500; font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; }

/* hero form: dark glass panel with underline fields */
.hero-card {
  --c: 18px; position: relative; padding: clamp(24px, 2.2vw, 32px); color: #fff;
  background: rgba(16, 13, 15, .58); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.hero-card::before { content: ""; position: absolute; left: var(--c); top: 0; width: 56px; height: 2px; background: var(--red); }
.form-kicker { margin-bottom: 10px; font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--red-light); }
.hero-card .text-muted { color: rgba(255, 255, 255, .55); }
.hero-card .field input, .hero-card .field select, .hero-card .field .cselect-trigger {
  height: 52px; padding: 18px 0 4px; background: transparent; color: #fff;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.hero-card .field input:focus, .hero-card .field select:focus, .hero-card .field .cselect-trigger:focus-visible, .hero-card .field.is-open .cselect-trigger { background: transparent; box-shadow: none; border-bottom-color: var(--red); }
.hero-card .field .cselect-trigger { padding-right: 28px; }
.hero-card .field label { left: 0; top: 30px; color: rgba(255, 255, 255, .5); }
.hero-card .field input:focus + label, .hero-card .field input:not(:placeholder-shown) + label, .hero-card .field select:valid + label, .hero-card .field.has-value label, .hero-card .field.is-open label { top: 10px; color: var(--red-light); }
.hero-card .field.is-open .field-chev { color: var(--red-light); }
.hero-card .field-chev { right: 0; top: 30px; color: rgba(255, 255, 255, .55); }
.hero-card .field-phone input { padding-left: 80px; }
.hero-card .field-phone label { left: 80px; }
.hero-card .field-phone .prefix { left: 0; top: 32px; color: #fff; border-right-color: rgba(255, 255, 255, .2); }
.hero-card .field.is-invalid input, .hero-card .field.is-invalid select, .hero-card .field.is-invalid .cselect-trigger { background: transparent; border-bottom-color: var(--danger-light); }
.hero-card .field .err { margin-left: 0; color: var(--danger-light); }
.success-mark { width: 64px; height: 64px; margin-inline: auto; display: grid; place-items: center; background: var(--red); color: var(--on-red); font-size: 30px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }

/* bottom row */
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.foot-stat { font-size: 13px; color: rgba(255, 255, 255, .65); }
.foot-stat b { margin-right: 6px; font-family: Oswald; font-weight: 500; font-size: 20px; color: #fff; }
.city-dock { display: none; align-items: center; gap: 26px; }
@media (min-width: 768px) { .city-dock { display: flex; } }
.dock-label { font-family: Rajdhani; font-weight: 600; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.dock-city { font-family: Rajdhani; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); transition: color .3s; }
.dock-city b { margin-left: 4px; font-family: Oswald; font-weight: 500; color: var(--red-light); }
.dock-city:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; }
.follow { display: none; align-items: center; gap: 18px; }
@media (min-width: 1024px) { .follow { display: flex; } }
.follow-btn { font-size: 17px; color: rgba(255, 255, 255, .7); transition: color .3s, transform .3s var(--ease-out); }
.follow-btn:hover { color: #fff; transform: translateY(-2px); }
.hero-tab {
  position: absolute; left: 50%; bottom: 0; z-index: 2; width: 200px; height: var(--notch); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; gap: 6px; color: rgba(255, 255, 255, .8);
  font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
}
.hero-tab .icon { font-size: 16px; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- form fields ---------- */
.field { position: relative; display: block; }
.field input, .field select, .field .cselect-trigger {
  width: 100%; height: 56px; padding: 22px 16px 6px; background: var(--paper); color: var(--ink); font-size: 15px;
  border: 1.5px solid var(--line); outline: none; appearance: none; -webkit-appearance: none; border-radius: 0;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field select { cursor: pointer; padding-right: 44px; }
.field .cselect-trigger { display: block; cursor: pointer; padding-right: 44px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field .cselect-trigger:focus-visible { outline: none; }
.field label { position: absolute; left: 17px; top: 28px; transform: translateY(-50%); pointer-events: none; font-size: 15px; color: var(--muted); transition: all .25s var(--ease-out); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field select:valid + label, .field.has-value label, .field.is-open label {
  top: 16px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text);
}
.field input:focus, .field select:focus, .field .cselect-trigger:focus-visible, .field.is-open .cselect-trigger { border-color: var(--red); background: #fff; box-shadow: inset 4px 0 0 var(--red); }
.field-chev { position: absolute; right: 16px; top: 28px; transform: translateY(-50%); pointer-events: none; color: var(--muted); transition: transform .3s var(--ease-out); }
.field.is-open .field-chev { transform: translateY(-50%) rotate(180deg); color: var(--red-text); }
.field .err { display: none; margin: 4px 2px 0; font-size: 12px; color: var(--danger); }
.field.is-invalid .err { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid .cselect-trigger { border-color: var(--danger); background: var(--danger-soft); }
.field-phone input { padding-left: 98px; }
.field-phone label { left: 99px; }
.field-phone .prefix {
  position: absolute; left: 14px; top: 28px; transform: translateY(-50%); display: flex; align-items: center; gap: 6px;
  padding-right: 12px; border-right: 1px solid var(--line-2); font-size: 14px; font-weight: 600;
}

/* ---------- stats band ---------- */
.stats { --c: 22px; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 480px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats-head { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .stats { grid-template-columns: 240px repeat(4, minmax(0, 1fr)); } .stats-head { grid-column: auto; } }

.stats-head {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: 26px 28px; background: var(--surface); color: #fff;
  clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c));
}
.stats-kicker { display: flex; align-items: center; gap: 8px; font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.stats-kicker::before { content: ""; width: 6px; height: 6px; background: #fff; transform: rotate(45deg); }
.stats-title { font-family: Oswald; font-weight: 700; font-size: clamp(1.8rem, 2.3vw, 2.2rem); line-height: 1; text-transform: uppercase; }
.stats-title span { display: block; color: var(--surface-accent); }
.stats-slashes { position: absolute; right: -8px; bottom: 14px; width: 110px; height: 40px; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .22) 0 6px, transparent 6px 14px); }

.stat { position: relative; display: flex; flex-direction: column; padding: 24px clamp(18px, 2vw, 30px) 22px; transition: background .4s; }
.stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.stat:hover { background: rgba(var(--red-rgb), .03); }
.stat:hover::before { transform: scaleX(1); }
@media (max-width: 479px) { .stat + .stat { border-top: 1px solid var(--line); } }
@media (min-width: 480px) and (max-width: 1023px) {
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 1px solid var(--line); }
}
@media (min-width: 1024px) { .stat + .stat { border-left: 1px solid var(--line); } }

.stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-idx { font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--red-text); }
.stat-idx::after { content: " / 04"; color: rgba(var(--ink-rgb), .3); }
.stat-ico {
  --c: 7px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--red-soft); color: var(--red-text); font-size: 18px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .35s, color .35s;
}
.stat:hover .stat-ico { background: var(--red); color: var(--on-red); }
.stat-num { margin-top: 12px; font-family: Oswald; font-weight: 700; font-size: clamp(2.6rem, 3.5vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-suf { color: var(--red-text); }
.stat-label { margin-top: 6px; font-family: Rajdhani; font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
.stat-viz { margin-top: auto; padding-top: 18px; min-height: 58px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }

.viz-stars .stars { display: flex; color: #FBBC04; font-size: 13px; }
.viz-bars { align-items: flex-end; gap: 7px; }
.viz-bars span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.viz-bars i { display: block; width: 10px; height: calc(var(--h) * 30px); background: rgba(var(--ink-rgb), .8); transform-origin: bottom; }
.viz-bars .is-peak i { background: var(--red); color: var(--on-red); }
.viz-bars b { font-family: Rajdhani; font-weight: 700; font-size: 10px; color: var(--muted); }
.viz-flags { flex-wrap: wrap; gap: 6px; }
.flag-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .1em; color: var(--ink);
}
.flag-chip .flag { width: 16px; height: 11px; }
.flag-chip.is-home { box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red-text); }
.viz-hours-wrap { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 8px; }
.viz-hours { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; }
.viz-hours i { display: block; height: 14px; background: rgba(var(--ink-rgb), .78); transform-origin: bottom; }
.viz-hours i.is-now { background: var(--red); animation: blink 1.2s infinite; color: var(--on-red); }
.viz-note { display: flex; align-items: center; gap: 8px; }
.viz-note b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- section heads ---------- */
.sec-head { text-align: center; }
.hud-label { display: inline-flex; align-items: center; gap: 10px; font-family: Rajdhani; font-weight: 700; font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; }
.hud-label .icon { font-size: 22px; color: var(--red-text); }
.sec-head .hud-label::before, .sec-head .hud-label::after { content: ""; width: min(16vw, 200px); height: 1.5px; }
.sec-head .hud-label::before { background: linear-gradient(90deg, transparent, var(--line-2)); }
.sec-head .hud-label::after { background: linear-gradient(90deg, var(--line-2), transparent); }
.sec-title { margin-top: 16px; font-family: Oswald; font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .98; text-align: center; }
.sec-sub { max-width: 640px; margin: 16px auto 0; color: var(--muted); }
.title-rule { display: block; width: 196px; height: 4px; margin-top: 18px; background: linear-gradient(90deg, var(--ink) 0 150px, transparent 150px 160px, var(--red) 160px); }

/* ---------- city cards ---------- */
.city-card {
  --c: 22px; display: flex; flex-direction: column; align-items: center; padding: 26px 22px 0; text-align: center;
  transition: transform .6s var(--ease-out);
}
.cc-pack { font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.cc-name { margin-top: 6px; display: flex; align-items: center; gap: 12px; font-family: Oswald; font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.2rem); text-transform: uppercase; line-height: 1; }
.cc-name .icon { font-size: 20px; color: var(--muted); transition: color .4s, transform .5s var(--ease-out); }
.cc-media {
  --c: 16px; position: relative; width: 100%; aspect-ratio: 4 / 3.6; margin-top: 18px; overflow: hidden; background: var(--mist);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.cc-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transform: scale(1.06); transition: filter .7s, transform 1.2s var(--ease-out); }
.cc-tag {
  position: relative; z-index: 1; margin-top: -26px; margin-bottom: -1px; padding: 12px 46px 14px;
  background: var(--ink); color: #fff; font-family: Rajdhani; font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); transition: background .4s;
}
.cc-tag b { font-family: Oswald; font-size: 1.6rem; letter-spacing: 0; color: var(--red); margin-right: 4px; vertical-align: -2px; transition: color .4s; }
.city-card.is-active, .city-card:hover { --bc: var(--red); transform: translateY(-8px); }
.city-card.is-active img, .city-card:hover img { filter: grayscale(0); transform: scale(1); }
.city-card.is-active .cc-tag, .city-card:hover .cc-tag { background: var(--red); color: var(--on-red); }
.city-card.is-active .cc-tag b, .city-card:hover .cc-tag b { color: var(--on-red); }
.city-card.is-active .cc-name .icon { color: var(--red-text); }
.city-card:hover .cc-name .icon:first-child { transform: translateX(-4px); }
.city-card:hover .cc-name .icon:last-child { transform: translateX(4px); }

/* ---------- gallery viewer ---------- */
.gallery-sec { background: #fff; overflow: hidden; clip-path: polygon(0 48px, 58% 48px, 61% 0, 100% 0, 100% calc(100% - 48px), 42% calc(100% - 48px), 39% 100%, 0 100%); }
.gallery-bg { position: absolute; inset: 0; pointer-events: none; }
.gallery-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .07; }
.brush-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 20px 46px; background: var(--red); color: var(--on-red);
  font-family: Rajdhani; font-weight: 700; font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase;
  clip-path: polygon(3% 20%, 14% 6%, 32% 12%, 50% 2%, 72% 10%, 95% 0, 100% 32%, 96% 58%, 100% 86%, 82% 96%, 58% 90%, 36% 100%, 12% 92%, 0 72%, 4% 46%);
  transition: background .35s, transform .35s var(--ease-out);
}
.brush-btn:hover { background: var(--ink); color: #fff; }

.viewer { --c: 28px; --bc: var(--ink); --bg: #fff; padding: 14px; }
.viewer-screen {
  --c: 18px; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.viewer-media { position: absolute; inset: 0; }
.viewer-media video, .viewer-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vw-scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 4px), linear-gradient(180deg, rgba(var(--ink-rgb), .35), transparent 30%, transparent 70%, rgba(var(--ink-rgb), .45)); }
.vw-label {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; color: #fff;
  font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; background: rgba(var(--ink-rgb), .55);
}
.vw-label.tl { top: 30px; left: 44px; }
.vw-label.tr { top: 30px; right: 30px; }
.vw-label.bl { bottom: 30px; left: 30px; background: var(--red); font-size: 13px; color: var(--on-red); }
.vw-label.br { bottom: 30px; right: 44px; }
.vw-notch { position: absolute; top: 50%; z-index: 2; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px var(--ink); color: var(--on-red); }
.vw-notch.l { left: -6px; }
.vw-notch.r { right: -6px; }
.viewer-nav { display: flex; align-items: center; gap: 12px; }
.viewer-thumbs { flex: 1; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.viewer-thumbs::-webkit-scrollbar { display: none; }
.vthumb {
  --c: 10px; position: relative; flex: 0 0 92px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.vthumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .65; transition: filter .4s, opacity .4s, transform .6s var(--ease-out); }
.vthumb .icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 16px; }
.vthumb::after { content: ""; position: absolute; inset: 0; border: 2.5px solid transparent; transition: border-color .3s; }
.vthumb:hover img { opacity: 1; transform: scale(1.06); }
.vthumb.is-active img { filter: none; opacity: 1; }
.vthumb.is-active::after { border-color: var(--red); }
@media (min-width: 1024px) { .viewer-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; } .vthumb { flex: none; } }

/* ---------- locations (dark HUD map) ---------- */
.loc-head { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1024px) { .loc-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.seg { --c: 10px; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 480px; padding: 5px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); flex: none; }
.seg button {
  position: relative; z-index: 1; height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px;
  font-family: Rajdhani; font-weight: 700; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .3s;
}
.seg button small { padding: 1px 7px; background: rgba(var(--ink-rgb), .07); font-family: Oswald; font-weight: 500; font-size: 13px; letter-spacing: 0; transition: background .3s, color .3s; }
.seg button[aria-selected="true"] { color: var(--on-red); }
.seg button[aria-selected="true"] small { background: rgba(var(--ink-rgb), .12); color: var(--on-red); }
.seg-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); background: var(--red);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: transform .6s var(--ease-out); color: var(--on-red); }
.seg[data-active="1"] .seg-indicator { transform: translateX(100%); }
.seg[data-active="2"] .seg-indicator { transform: translateX(200%); }

.loc-screen {
  --c: 28px; position: relative; margin-top: 48px; background: var(--ink-deep); color: #fff;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
@media (min-width: 1024px) { .loc-screen { height: clamp(620px, 80vh, 760px); } }
.loc-map-wrap { position: relative; height: 460px; overflow: hidden; }
@media (min-width: 1024px) { .loc-map-wrap { position: absolute; inset: 0; height: auto; } }
.loc-map { position: absolute; inset: 0; z-index: 0; isolation: isolate; background: var(--ink-deep); }
.map-fx {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 60% 50%, transparent 50%, rgba(10, 8, 9, .7) 100%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 56px 56px;
}

/* overlays on the map */
.map-legend, .map-tools, .map-readout, .gym-detail { z-index: 5; }
.map-legend {
  position: absolute; top: 16px; right: 16px; display: flex; gap: 14px; padding: 8px 14px; pointer-events: none;
  background: rgba(18, 15, 17, .8); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75);
}
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg-dot { width: 9px; height: 9px; background: var(--red); border: 1.5px solid #fff; transform: rotate(45deg); color: var(--on-red); }
.lg-dot.is-ladies { background: #fff; border-color: var(--red); }
.lg-city { display: grid; place-items: center; width: 16px; height: 16px; background: var(--red); color: var(--on-red); font-family: Oswald; font-style: normal; font-size: 10px; }
@media (max-width: 639px) { .map-legend span:last-child { display: none; } }
.map-tools { position: absolute; right: 16px; top: 66px; display: grid; gap: 6px; }
.map-tool {
  --c: 7px; display: grid; place-items: center; width: 40px; height: 40px; font-size: 18px; color: #fff;
  background: rgba(18, 15, 17, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .3s;
}
.map-tool:hover { background: var(--red); color: var(--on-red); }
.map-readout {
  position: absolute; left: 16px; bottom: 12px; display: flex; gap: 16px; pointer-events: none;
  font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.map-readout b { color: #fff; }
#mapCoords { font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .map-readout { left: 432px; } }
@media (max-width: 639px) { .map-readout { display: none; } }

/* floating list panel */
.loc-panel { position: relative; z-index: 5; display: flex; flex-direction: column; background: var(--ink-deep); border-top: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 1024px) {
  .loc-panel {
    --c: 16px; position: absolute; top: 20px; left: 20px; bottom: 20px; width: 392px; border: 0;
    background: rgba(18, 15, 17, .84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  }
}
.loc-panel-top { display: grid; gap: 14px; padding: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.loc-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); transition: box-shadow .3s; }
.loc-search:focus-within { box-shadow: inset 0 0 0 1px var(--red), inset 3px 0 0 var(--red); color: var(--red-light); }
.loc-search input { flex: 1; min-width: 0; height: 100%; background: transparent; color: #fff; font-size: 14px; outline: none; }
.loc-search input::placeholder { color: rgba(255, 255, 255, .45); }
.loc-search input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.city-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.city-chips::-webkit-scrollbar { display: none; }
.city-chip {
  --c: 6px; flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px;
  background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .75);
  font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .3s, color .3s;
}
.city-chip b { font-family: Oswald; font-weight: 500; color: var(--red-light); transition: color .3s; }
.city-chip:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.city-chip.is-active { background: var(--red); color: var(--on-red); }
.city-chip.is-active b { color: var(--on-red); }
.loc-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.loc-btn {
  --c: 6px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; white-space: nowrap; background: rgba(255, 255, 255, .08); color: #fff;
  font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .3s, color .3s;
}
.loc-btn .icon { color: var(--red-light); transition: color .3s; }
.loc-btn:hover { background: var(--red); color: var(--on-red); }
.loc-btn:hover .icon { color: var(--on-red); }
.loc-btn.is-ghost { background: transparent; color: rgba(255, 255, 255, .6); }
.loc-btn.is-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.loc-btn:disabled { opacity: .5; }

.gym-list { position: relative; flex: 1; max-height: 440px; overflow-y: auto; padding: 6px 8px 10px; scrollbar-width: thin; scrollbar-color: rgba(var(--red-light-rgb), .5) transparent; }
@media (min-width: 1024px) { .gym-list { max-height: none; } }
.gym-card {
  position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 13px 10px; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .3s;
}
.gym-card:hover { background: rgba(255, 255, 255, .05); }
.gym-card.is-active { background: rgba(var(--red-rgb), .16); }
.gym-card.is-active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--red); }
.gc-idx { font-family: Oswald; font-weight: 500; font-size: 14px; color: rgba(255, 255, 255, .35); }
.gym-card.is-active .gc-idx { color: var(--red-light); }
.gym-name { font-family: Rajdhani; font-weight: 700; font-size: 1.02rem; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.gym-addr { margin-top: 3px; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.gym-addr .icon { flex: none; color: var(--red-light); }
.gym-addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.gym-badge { padding: 2px 8px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75); font-family: Rajdhani; font-weight: 700; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.gym-badge.is-ladies { background: var(--red); color: var(--on-red); }
.gc-dist { font-family: Oswald; font-weight: 500; font-size: 13px; }
.gym-empty { padding: 34px 12px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .5); }

/* selected gym card */
.gym-detail {
  --c: 14px; position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 110px minmax(0, 1fr);
  background: rgba(18, 15, 17, .93); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
@media (min-width: 1024px) { .gym-detail { left: auto; right: 20px; bottom: 34px; width: 410px; grid-template-columns: 130px minmax(0, 1fr); } }
.gd-media { position: relative; min-height: 100%; }
.gd-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.gd-type { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; background: #fff; color: var(--ink); font-family: Rajdhani; font-weight: 700; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.gd-type.is-ladies { background: var(--red); color: var(--on-red); }
.gd-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 14px 40px 16px 16px; }
.gd-kicker { display: flex; align-items: center; gap: 8px; font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.gd-name { font-family: Oswald; font-weight: 600; font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; }
.gd-addr { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.gd-addr .icon { flex: none; color: var(--red-light); }
.gd-addr b { color: #fff; font-weight: 600; }
.gd-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.gd-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; color: rgba(255, 255, 255, .6); font-size: 16px; transition: color .3s; }
.gd-close:hover { color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-glass::before { background: #fff; }
.btn-glass:hover { color: var(--ink); }

/* leaflet: dark tiles with a faint brand tint, red markers */
.leaflet-container { background: var(--ink-deep); font-family: Poppins, sans-serif; }
.leaflet-container img { max-width: none !important; max-height: none !important; }
.loc-map .leaflet-tile-pane { filter: sepia(.3) hue-rotate(-28deg) saturate(1.5) brightness(.95); }
.leaflet-control-attribution { background: rgba(10, 8, 9, .7) !important; color: rgba(255, 255, 255, .45) !important; font-size: 10px; }
.leaflet-control-attribution a { color: rgba(255, 255, 255, .7) !important; }
.gym-marker { position: relative; }
.gm-dot { position: absolute; inset: 6px; background: var(--red); border: 2px solid #fff; transform: rotate(45deg); box-shadow: 0 0 14px rgba(var(--red-rgb), .85); transition: transform .35s var(--ease-out); color: var(--on-red); }
.gm-pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(var(--red-rgb), .4); animation: ping 2.4s var(--ease-out) infinite; }
.gym-marker.is-ladies .gm-dot { background: #fff; border-color: var(--red); box-shadow: 0 0 14px rgba(255, 255, 255, .5); }
.gym-marker.is-hover .gm-dot { transform: rotate(45deg) scale(1.35); }
.gym-marker.is-active .gm-dot { transform: rotate(45deg) scale(1.65); }
.gym-marker.is-hover, .gym-marker.is-active { z-index: 1000 !important; }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }
.city-pin { cursor: pointer; }
.cp {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; white-space: nowrap;
  transform: translate(-50%, -50%); background: rgba(18, 15, 17, .9);
  box-shadow: inset 0 0 0 1px rgba(var(--red-rgb), .75), 0 0 26px rgba(var(--red-rgb), .35);
  transition: transform .3s var(--ease-out), background .3s;
}
.cp::before { content: ""; position: absolute; left: 20px; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 1px solid rgba(var(--red-rgb), .6); animation: ping 2.6s var(--ease-out) infinite; }
.cp b { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 5px; background: var(--red); color: var(--on-red); font-family: Oswald; font-weight: 600; font-size: 15px; }
.cp span { font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.city-pin:hover .cp { transform: translate(-50%, -50%) scale(1.07); background: var(--red); color: var(--on-red); }
.city-pin:hover .cp b { background: var(--ink); color: #fff; }
.city-pin:hover .cp span { color: var(--on-red); }
.leaflet-tooltip.gm-tip { padding: 5px 10px; border: 0; border-radius: 0; background: #fff; color: var(--ink); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.leaflet-tooltip-top.gm-tip::before { border-top-color: #fff; }
.you-marker span { display: block; width: 18px; height: 18px; border-radius: 50%; background: #3b82f6; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(59, 130, 246, .25); }

/* ---------- awards ---------- */
.awards-sec { padding-block: clamp(70px, 8vw, 110px); }
.awards-head { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1024px) { .awards-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.awards-title { margin-top: 14px; font-family: Oswald; font-weight: 700; text-transform: uppercase; font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1; }

.awards-score {
  --c: 14px; display: flex; align-items: center; gap: 18px; padding: 16px 24px 16px 20px; flex: none; align-self: flex-start;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
@media (min-width: 1024px) { .awards-score { align-self: auto; } }
.as-num { font-family: Oswald; font-weight: 700; font-size: 3.2rem; line-height: 1; }
.as-num small { font-size: 1.2rem; color: var(--muted); }
.as-stars { display: flex; gap: 3px; }
/* Trustpilot-style green squares with a white star */
.as-stars i {
  position: relative; width: 24px; height: 24px; background: #00B67A;
}
.as-stars i::after {
  content: ""; position: absolute; inset: 4px; background: #fff;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.as-stars i.is-part { background: linear-gradient(90deg, #00B67A 80%, #dcdce6 80%); }
.as-text { margin-top: 6px; font-size: 13px; color: var(--muted); }
.as-text b { color: var(--ink); font-weight: 600; }

.awards-grid {
  display: flex; gap: 16px; margin-top: 48px; padding-block: 18px 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.awards-grid::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .awards-grid { flex-wrap: wrap; justify-content: center; overflow: visible; gap: 22px; } }

.award-card {
  --c: 20px; flex: 0 0 72%; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px 26px;
  transition: transform .5s var(--ease-out);
}
@media (min-width: 640px) { .award-card { flex-basis: calc((100% - 44px) / 3); } }
@media (min-width: 1024px) { .award-card { flex-basis: 0; flex-grow: 1; } }
.award-card:hover { --bc: var(--red); transform: translateY(-8px); }

.award-year {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 12px; white-space: nowrap;
  background: var(--ink); color: #fff; font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  transition: background .4s;
}
.award-card:hover .award-year { background: var(--red); color: var(--on-red); }

.award-emblem { position: relative; display: grid; place-items: center; width: 116px; height: 116px; }
.laurel { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--red-text); transition: transform .8s var(--ease-out); }
.award-card:hover .laurel { transform: rotate(-12deg) scale(1.05); }
.ae-core {
  position: relative; display: flex; align-items: baseline; font-family: Oswald; font-weight: 700; font-size: 26px; line-height: 1; color: var(--ink);
  transition: transform .5s var(--ease-out), color .4s;
}
.ae-core small { font-size: 16px; color: var(--red-text); }
.ae-core.is-small { font-size: 18px; letter-spacing: .02em; }
.ae-core .icon { font-size: 26px; color: var(--ink); }
.award-card:hover .ae-core { transform: scale(1.12); color: var(--red-text); }
.award-card:hover .ae-core .icon { color: var(--red-text); }

.award-name { margin-top: 12px; font-family: Rajdhani; font-weight: 700; font-size: 1.08rem; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; }
.award-by { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* ---------- why ---------- */
.why-title { font-family: Oswald; font-weight: 700; text-transform: uppercase; font-size: clamp(3.2rem, 8vw, 7.6rem); line-height: .95; }
.qmark { display: inline-block; transform-origin: 50% 90%; }
.hex-wrap { position: relative; width: min(100%, 400px); }
.hex-wrap::before {
  content: ""; position: absolute; inset: 0; transform: translate(22px, 22px); background: var(--red-soft);
  clip-path: polygon(30% 0, 70% 0, 100% 20%, 100% 80%, 70% 100%, 30% 100%, 0 80%, 0 20%);
}
.hex-frame {
  position: relative; aspect-ratio: 4 / 5; padding: 5px; background: var(--red);
  clip-path: polygon(30% 0, 70% 0, 100% 20%, 100% 80%, 70% 100%, 30% 100%, 0 80%, 0 20%); color: var(--on-red); }
.hex-frame img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(30% 0, 70% 0, 100% 20%, 100% 80%, 70% 100%, 30% 100%, 0 80%, 0 20%); }
.hex-chip {
  --c: 9px; position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; white-space: nowrap;
  background: #fff; color: var(--ink); font-family: Rajdhani; font-weight: 700; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  filter: drop-shadow(0 10px 20px rgba(var(--ink-rgb), .25));
}
.hex-chip .icon { color: var(--red-text); font-size: 18px; }
.hex-chip.is-a { top: 16%; left: -28px; }
.hex-chip.is-b { bottom: 14%; right: -24px; }
/* phones: the side gutter is narrower than the overhang, so keep the chips inside the frame */
@media (max-width: 767px) {
  .hex-chip { padding: 9px 14px; font-size: .9rem; }
  .hex-chip.is-a { left: 0; }
  .hex-chip.is-b { right: 0; }
}

.why-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.why-card { --c: 20px; padding: 36px 28px 28px; }
.why-card:hover { --bc: var(--red); }
.why-num {
  --c: 7px; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 4px 18px;
  background: var(--red); color: var(--on-red); font-family: Oswald; font-weight: 600; font-size: 15px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.why-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.why-top h3 { font-family: Rajdhani; font-weight: 700; font-size: 1.12rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); }
.why-ico { --c: 8px; display: grid; place-items: center; width: 42px; height: 42px; flex: none; background: var(--red-soft); color: var(--red-text); font-size: 20px; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.why-big { margin-top: 10px; font-family: Oswald; font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; text-transform: uppercase; }
.why-text { margin-top: 8px; font-size: 14px; color: var(--muted); }
/* connectors: drawn in the gap to the next card (--draw is animated 0 → 1) */
.why-link { --draw: 1; position: absolute; z-index: -2; background: var(--red); color: var(--on-red); }
.why-link::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.why-link { left: 50%; top: 100%; width: 2px; height: 34px; transform: scaleY(var(--draw)); transform-origin: top; }
.why-link::after { left: -3px; bottom: -4px; }
@media (min-width: 640px) and (max-width: 1023px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-link { display: none; }
}
@media (max-width: 1023px) {
  .why-grid > :nth-child(4) { order: 6; }
  .why-grid > :nth-child(5) { order: 5; }
  .why-grid > :nth-child(6) { order: 4; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 48px 56px; }
  .why-link.to-r, .why-link.to-l { top: 50%; width: 56px; height: 2px; transform: scaleX(var(--draw)); }
  .why-link.to-r { left: 100%; transform-origin: left; }
  .why-link.to-l { left: auto; right: 100%; transform-origin: right; }
  .why-link.to-r::after { left: auto; right: -4px; bottom: -3px; }
  .why-link.to-l::after { left: -4px; bottom: -3px; }
  .why-link.to-b { height: 48px; }
}

/* ---------- free trial ---------- */
.trial-band {
  position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(100px, 12vw, 150px); color: #fff;
  background: var(--surface) repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 16px);
  clip-path: polygon(0 48px, 38% 48px, 41% 0, 100% 0, 100% calc(100% - 48px), 62% calc(100% - 48px), 59% 100%, 0 100%);
}
.trial-photo {
  --c: 30px; position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--ink);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.trial-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); }
.ticket {
  --c: 18px; position: relative; width: min(100%, 320px); margin: -70px 0 0 auto; padding: 22px; background: #fff; color: var(--ink);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  filter: drop-shadow(0 25px 30px rgba(60, 0, 0, .35));
}
@media (min-width: 1024px) { .ticket { position: absolute; right: -36px; bottom: -48px; margin: 0; } }
.ticket::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.ticket-bar {
  display: block; height: 28px; margin-top: 16px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px);
}
.trial-form {
  --c: 14px; display: flex; align-items: center; gap: 8px; padding: 8px; background: #fff;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.trial-form input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; background: transparent; color: var(--ink); font-size: 16px; font-weight: 500; outline: none; }
.trial-form input::placeholder { color: rgba(var(--ink-rgb), .45); }
@media (max-width: 480px) { .trial-form .btn-lg { padding: 0 1rem; font-size: .95rem; } }
.eq-bars { position: absolute; z-index: -1; display: flex; align-items: flex-end; gap: 4px; height: 64px; opacity: .35; }
.eq-bars i { width: 3px; background: #fff; transform-origin: bottom; animation: eq 1s ease-in-out infinite alternate; }
.eq-bars.is-tl { top: 80px; left: 24px; }
.eq-bars.is-br { bottom: 80px; right: 24px; }
@keyframes eq { from { transform: scaleY(.2); } to { transform: scaleY(1); } }

/* ---------- services ---------- */
.svc-card { --c: 20px; display: flex; flex-direction: column; padding: 10px; transition: transform .6s var(--ease-out); }
.svc-card:hover { --bc: var(--red); transform: translateY(-8px); }
.svc-tab {
  --c: 8px; position: absolute; top: -16px; right: 18px; z-index: 3; display: grid; place-items: center; width: 56px; height: 38px;
  background: var(--red); color: var(--on-red); font-size: 20px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .4s;
}
.svc-card:hover .svc-tab { background: var(--ink); color: #fff; }
.svc-media {
  --c: 14px; position: relative; isolation: isolate; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink);
  clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c));
}
.svc-media img, .svc-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .7s, transform 1.2s var(--ease-out), opacity .5s; }
.svc-media img { filter: grayscale(1) contrast(1.1); }
.svc-media video { opacity: 0; }
.svc-card.is-playing video { opacity: 1; }
.svc-card:hover .svc-media img { filter: none; transform: scale(1.07); }
.svc-badge {
  position: absolute; left: 0; bottom: 0; z-index: 1; padding: 6px 14px; background: var(--ink); color: #fff;
  font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.svc-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 14px 14px; }
.svc-title { font-family: Oswald; font-weight: 700; font-size: 1.65rem; line-height: 1.05; text-transform: uppercase; transition: color .3s; }
.svc-card:hover .svc-title { color: var(--red-text); }
.svc-body p { flex: 1; font-size: 14px; color: var(--muted); }

/* ---------- reviews ---------- */
.review-ghost {
  position: absolute; right: var(--gutter); top: -60px; pointer-events: none; user-select: none;
  font-family: Oswald; font-weight: 700; font-size: clamp(6rem, 17vw, 15rem); line-height: 1; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 2px rgba(var(--ink-rgb), .08);
}
.review-stack { position: relative; height: 400px; max-width: 720px; margin: 70px auto 0; touch-action: pan-y; }
.review-card {
  position: absolute; inset: 0; --c: 26px; --bc: var(--red); --bw: 2px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center;
  padding: 50px clamp(22px, 4vw, 52px) 30px; transform-origin: 50% 100%; user-select: none;
}
.review-card:nth-of-type(3n+2) { --bg: var(--ink); --bc: var(--ink); color: #fff; }
.review-card:nth-of-type(3n+3) { --bg: var(--red); color: var(--on-red); } /* white / dark / accent cards so the stack never merges */
.rv-tab { z-index: 30;
  --c: 8px; position: absolute; top: -17px; left: 50%; transform: translateX(-50%); padding: 7px 22px; white-space: nowrap;
  background: var(--red); color: var(--on-red); font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}

.rv-stars { display: flex; gap: 2px; color: #FBBC04; font-size: 22px; }
.review-card:nth-of-type(3n+3) .rv-stars { color: var(--on-red); }
.review-text { font-weight: 500; font-size: clamp(1.05rem, 1.9vw, 1.35rem); line-height: 1.6; max-width: 560px; }
.rv-foot { display: flex; align-items: center; gap: 12px; text-align: left; }
.rv-avatar {
  display: grid; place-items: center; width: 46px; height: 46px; background: var(--red-soft); color: var(--red-text);
  font-family: Oswald; font-weight: 700; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.review-card:nth-of-type(3n+3) .rv-avatar { background: #fff; }
.rv-name { font-family: Rajdhani; font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; }
.rv-date { font-size: 12px; opacity: .65; }
.rv-quote { position: absolute; right: 28px; bottom: 24px; font-size: 52px; color: var(--red-text); opacity: .25; }
.review-card:nth-of-type(3n+3) .rv-quote { color: var(--on-red); }
.review-card:nth-of-type(3n+2) .rv-quote { color: #fff; opacity: .15; } /* a tinted accent over the dark card reads muddy */
@media (max-width: 640px) { .review-stack { height: 470px; } }
.rating-card { --c: 20px; padding: 28px; }
.runner-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); background: var(--ink); }
.runner-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(1.2); }
.runner-frame::after { content: ""; position: absolute; inset: 0; background: var(--tint); mix-blend-mode: multiply; }

/* ---------- faq ---------- */
.faq-photo { position: relative; padding: 16px; }
.faq-photo img {
  --c: 24px; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.ticks {
  position: absolute; inset: 0; pointer-events: none; --b: var(--red); --l: 34px;
  background:
    linear-gradient(var(--b), var(--b)) top left / var(--l) 3px no-repeat, linear-gradient(var(--b), var(--b)) top left / 3px var(--l) no-repeat,
    linear-gradient(var(--b), var(--b)) bottom right / var(--l) 3px no-repeat, linear-gradient(var(--b), var(--b)) bottom right / 3px var(--l) no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 10px) 18% 0 / 90px 3px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 10px) 82% 100% / 90px 3px no-repeat,
    repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 10px) 100% 30% / 3px 60px no-repeat;
}
.faq-item { --c: 14px; --bc: transparent; --bg: transparent; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.faq-item.is-open { --bc: var(--red); --bg: #fff; border-color: transparent; }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 18px; text-align: left;
  font-family: Rajdhani; font-weight: 700; font-size: 1.2rem; letter-spacing: .03em; text-transform: uppercase; transition: color .3s;
}
.faq-q:hover, .faq-item.is-open .faq-q { color: var(--red-text); }
.faq-n { font-family: Oswald; font-weight: 600; font-size: 14px; color: var(--red-text); }
.faq-ico { margin-left: auto; font-size: 20px; color: var(--red-text); transition: transform .45s var(--ease-out); }
.faq-item.is-open .faq-ico { transform: rotate(135deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 18px 22px 52px; color: var(--muted); }

/* ---------- app + social ---------- */
.app-stage {
  --c: 30px; --bc: var(--ink); color: #fff;
  --bg: radial-gradient(circle at 50% 48%, rgba(var(--red-rgb), .2), transparent 42%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 40px 40px,
        radial-gradient(circle at 50% 50%, var(--ink-2), var(--ink) 60%, var(--ink-deep));
  display: grid; place-items: center; min-height: 640px; padding: 40px 20px; overflow: hidden;
}
.rings { position: absolute; left: 50%; top: 50%; width: min(96%, 560px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.rings circle { fill: none; }
.ring-a { stroke: var(--red); stroke-width: 16; stroke-dasharray: 4 10; opacity: .45; }
.ring-b { stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; stroke-dasharray: 2 6; }
.ring-c { stroke: var(--red); stroke-width: 3; stroke-dasharray: 200 554; transform-origin: 200px 200px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-chev { position: absolute; top: 50%; z-index: 1; font-size: 40px; color: var(--red-text); transform: translateY(-50%); }
.stage-chev.is-l { left: 22px; }
.stage-chev.is-r { right: 22px; }
.phone {
  position: relative; z-index: 2; width: 270px; height: 560px; padding: 10px; border-radius: 46px; background: var(--ink);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22), 0 50px 90px -30px rgba(var(--red-rgb), .45), 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; border-radius: 20px; background: #000; z-index: 5; }
.phone-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #fff; color: var(--ink); }
.phone-pass { clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.app-row { display: flex; align-items: center; gap: 10px; padding: 8px; background: var(--paper); }
.app-row img { width: 42px; height: 42px; object-fit: cover; }
.app-row p { font-family: Rajdhani; font-weight: 700; text-transform: uppercase; font-size: 15px; line-height: 1; }
.app-row small { font-size: 10.5px; color: var(--muted); }
.app-book { padding: 4px 10px; font-size: 10.5px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.app-book.is-on { background: var(--red); color: var(--on-red); box-shadow: none; }
.stage-chip {
  --c: 10px; position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; white-space: nowrap;
  background: #fff; color: var(--ink); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  filter: drop-shadow(0 14px 22px rgba(var(--ink-rgb), .2));
}
.stage-chip b { display: block; font-family: Rajdhani; font-size: 16px; text-transform: uppercase; line-height: 1; }
.stage-chip small { font-size: 11px; color: var(--muted); }
.stage-chip.is-a { top: 9%; left: 4%; }
.stage-chip.is-b { bottom: 14%; right: 7%; }
.chip-ico { display: grid; place-items: center; width: 34px; height: 34px; color: var(--on-red); font-size: 17px; }
@media (max-width: 640px) { .stage-chip.is-a { left: 3%; top: 6%; } .stage-chip.is-b { right: 3%; bottom: 5%; } .stage-chev { display: none; } }
.app-panel { --c: 30px; padding: clamp(28px, 4vw, 54px); }
.hud-divider { position: relative; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.hud-divider::before { content: ""; position: absolute; left: 0; top: -2px; width: 80px; height: 5px; background: var(--red); clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.store-btn {
  --c: 12px; display: inline-flex; align-items: center; gap: 12px; height: 62px; padding: 0 24px 0 18px; background: var(--ink); color: #fff;
  font-family: Rajdhani; font-weight: 700; font-size: 1.3rem; line-height: 1;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); transition: background .35s;
}
.store-btn small { display: block; font-family: Poppins; font-weight: 500; font-size: 10.5px; opacity: .65; margin-bottom: 3px; }
.store-btn:hover { background: var(--red); color: var(--on-red); }
.social-btn {
  --c: 10px; display: grid; place-items: center; width: 56px; height: 56px; font-size: 22px; background: var(--paper); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); transition: background .3s, color .3s;
}
.social-btn:hover { background: var(--red); color: var(--on-red); box-shadow: none; }
.social-btn.is-sm { --c: 7px; width: 36px; height: 36px; font-size: 15px; background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.social-btn.is-sm:hover { background: var(--red); color: var(--on-red); }

/* ---------- footer ---------- */
.site-footer {
  position: relative; overflow: hidden; margin-top: 20px; padding-top: clamp(100px, 11vw, 140px); background: var(--ink); color: #fff;
  clip-path: polygon(0 48px, 34% 48px, 37% 0, 100% 0, 100% 100%, 0 100%);
}
.foot-cta { --c: 30px; --bc: rgba(255, 255, 255, .14); --bg: var(--ink-raise); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 56px); }
.footer-h { margin-bottom: 18px; font-family: Rajdhani; font-weight: 700; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; color: rgba(255, 255, 255, .55); }
.footer-links a { position: relative; transition: color .3s, padding .4s var(--ease-out); }
.footer-links a:hover { color: #fff; padding-left: 14px; }
.footer-links a::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.footer-links a:hover::before { transform: scaleX(1); }
.vision-badge { --c: 10px; padding: 10px 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }

/* ---------- floating UI ---------- */
.to-top-ring { stroke: var(--red); }
.to-top {
  position: fixed; right: 22px; bottom: 96px; z-index: 40; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 18px; box-shadow: 0 10px 24px -10px rgba(var(--ink-rgb), .35);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .4s, visibility .4s, transform .4s var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-btn {
  --c: 12px; position: relative; display: grid; place-items: center; width: 60px; height: 60px; background: var(--red); color: var(--on-red); font-size: 26px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .3s;
}
.chat-btn:hover { background: var(--ink); color: #fff; }
.chat-ping { position: absolute; top: 8px; right: 8px; width: 10px; height: 10px; background: #fff; }
.chat-panel { width: min(92vw, 360px); overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(var(--ink-rgb), .5), inset 0 0 0 1px var(--line); transform-origin: bottom right; }
.chat-avatar { clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.chat-log { display: flex; flex-direction: column; gap: 8px; max-height: 280px; min-height: 140px; overflow-y: auto; padding: 16px; background: var(--paper); }
.msg { max-width: 85%; padding: 10px 14px; font-size: 14px; line-height: 1.45; }
.msg.bot { align-self: flex-start; background: #fff; box-shadow: inset 3px 0 0 var(--red); }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; }
.msg.typing { display: flex; gap: 4px; }
.msg.typing i { width: 6px; height: 6px; background: var(--red); animation: bounce 1s infinite; color: var(--on-red); }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-4px); opacity: .4; } }
.quick { padding: 7px 12px; font-size: 12.5px; font-weight: 600; color: var(--red-text); box-shadow: inset 0 0 0 1px rgba(var(--red-rgb), .5); transition: background .3s, color .3s; }
.quick:hover { background: var(--red); color: var(--on-red); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* header actions: drop the secondary buttons where the desktop nav needs the room */
.nav-trial, .nav-arabic { display: none !important; }
@media (min-width: 640px) and (max-width: 1279px) { .nav-trial { display: inline-flex !important; } }
@media (min-width: 768px) and (max-width: 1279px) { .nav-arabic { display: inline-grid !important; } }
@media (min-width: 1440px) { .nav-trial { display: inline-flex !important; } }
@media (min-width: 1600px) { .nav-arabic { display: inline-grid !important; } }

/* short laptop screens: tighten the hero so the form stays above the fold */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero-inner { padding-top: 132px; gap: 22px; }
  .hero-title { font-size: clamp(2.8rem, 4.8vw, 5.6rem); }
  .hero-points { margin-top: 20px; }
  .hero-ctas { margin-top: 26px; }
  .hero-rating { margin-top: 22px; }
  .hero-card { padding: 22px 26px; }
  .hero-card .field input, .hero-card .field select { height: 48px; }
  .hero-card .field label, .hero-card .field-chev { top: 28px; }
  .hero-card .field-phone .prefix { top: 30px; }
  .reticle { width: 190px; }
}

/* ---------- custom select panel (see enhanceSelect in main.js) ---------- */
.cselect-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; opacity: 0; pointer-events: none; overflow: hidden; }
.field select option, .field select optgroup { color: var(--ink); background: #fff; } /* no-JS fallback */
.cselect-panel {
  position: fixed; z-index: 150; overflow-y: auto; overscroll-behavior: contain; padding: 6px;
  background: #fff; color: var(--ink); border-top: 2px solid var(--red);
  box-shadow: 0 24px 50px -18px rgba(var(--ink-rgb), .45), inset 0 0 0 1px var(--line);
  scrollbar-width: thin; scrollbar-color: rgba(var(--red-rgb), .5) transparent;
}
.cselect-panel.is-up { border-top: 0; border-bottom: 2px solid var(--red); }
.cselect-option { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; font-size: 14px; cursor: pointer; }
.cselect-option.is-active { background: var(--red-soft); }
.cselect-option.is-active::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--red); }
.cselect-option[aria-selected="true"] { color: var(--red-text); font-weight: 600; }
.cselect-option[aria-selected="true"]::after { content: ""; flex: none; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.cselect-group + .cselect-group { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.cselect-group-label { padding: 8px 14px 4px; font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.cselect-panel.is-dark {
  background: rgba(18, 15, 17, .97); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .12);
  scrollbar-color: rgba(var(--red-light-rgb), .6) transparent;
}
.cselect-panel.is-dark .cselect-option.is-active { background: rgba(255, 255, 255, .07); }
.cselect-panel.is-dark .cselect-option[aria-selected="true"] { color: var(--red-light); }
.cselect-panel.is-dark .cselect-option[aria-selected="true"]::after { background: var(--red-light); }
.cselect-panel.is-dark .cselect-group-label { color: rgba(255, 255, 255, .5); }
.cselect-panel.is-dark .cselect-group + .cselect-group { border-color: rgba(255, 255, 255, .1); }

/* ---------- narrow phones: keep logo, Join Now and the menu button on one row ---------- */
@media (max-width: 479px) {
  #nav .container-x { gap: 12px; }
  #nav .container-x > :last-child { gap: 6px; }
  #nav .logo-svg { height: 30px; }
  #nav .btn-red { height: 36px; padding: 0 .85rem; font-size: .8rem; letter-spacing: .1em; }
  #nav .btn-red .icon { display: none; }
  #menuOpen { width: 40px; height: 40px; }
}
@media (max-width: 359px) { #nav .btn-red { display: none; } }

/* stats on mid-size laptops: keep each mini visual on one line */
@media (min-width: 1024px) and (max-width: 1439px) {
  .viz-stars > span:last-child { display: none; }
  .viz-flags { gap: 4px; }
  .flag-chip { padding: 4px 6px; gap: 4px; font-size: 11px; }
  .flag-chip .flag { width: 14px; height: 10px; }
}

/* phones: city badges show the count only (the map already labels the city) so they don't collide */
@media (max-width: 639px) {
  .cp { padding: 4px; gap: 0; }
  .cp span { display: none; }
  .cp::before { left: 50%; }
}

/* locations on tablets & phones: tabs → gym dropdown → map → gym details */
.loc-hint { display: none; }
.loc-panel .field select, .loc-panel .field .cselect-trigger {
  height: 52px; padding: 20px 40px 4px 14px; border: 0; color: #fff;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.loc-panel .field .cselect-trigger:focus-visible, .loc-panel .field.is-open .cselect-trigger { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--red), inset 3px 0 0 var(--red); }
.loc-panel .field label { left: 15px; top: 26px; color: rgba(255, 255, 255, .5); }
.loc-panel .field.has-value label, .loc-panel .field.is-open label { top: 14px; color: var(--red-light); }
.loc-panel .field-chev { top: 26px; color: rgba(255, 255, 255, .55); }
.loc-panel .field.is-open .field-chev { color: var(--red-light); }
@media (min-width: 1024px) { .gym-pick { display: none; } }
@media (max-width: 1023px) {
  .loc-screen { display: flex; flex-direction: column; margin-top: 28px; }
  .loc-panel { order: -2; border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  /* the selected gym (or the hint) sits between the dropdown and the map */
  .gym-detail, .loc-hint { order: -1; }
  .loc-search, .gym-list { display: none; }
  .gym-detail {
    position: relative; left: auto; right: auto; bottom: auto; min-height: 150px;
    grid-template-columns: 124px minmax(0, 1fr); background: var(--ink-deep); box-shadow: none; clip-path: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .loc-hint {
    display: flex; align-items: center; gap: 10px; padding: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px; color: rgba(255, 255, 255, .55);
  }
  .loc-hint .icon { flex: none; color: var(--red-light); }
  .gym-detail:not([hidden]) + .loc-hint { display: none; }
}

/* =========================================================
   Inner pages (locations.html)
   ========================================================= */
.nav-link[aria-current="page"] { color: var(--red-text); }
.nav-link[aria-current="page"]::before, .nav-link[aria-current="page"]::after { opacity: 1; transform: none; }
.mm-link[aria-current="page"] { color: var(--surface-accent); }

.page-hero {
  --notch: 40px;
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(50% + 130px) calc(100% - var(--notch)), calc(50% + 100px) 100%,
                     calc(50% - 100px) 100%, calc(50% - 130px) calc(100% - var(--notch)), 0 calc(100% - var(--notch)));
}
.page-hero .text-outline { --stroke: #fff; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(1.15); }
.page-hero .hero-content {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: min(80svh, 780px); padding-top: 160px; padding-bottom: calc(var(--notch) + 56px);
}
.crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--red-light); }
.page-hero-sub { margin-top: 22px; max-width: 580px; font-size: 16px; color: rgba(255, 255, 255, .75); }
.page-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }
.page-hero-stats { display: flex; flex-wrap: wrap; gap: 14px 44px; max-width: 780px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.page-hero-stats li { display: flex; align-items: baseline; gap: 10px; font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.page-hero-stats b { font-family: Oswald; font-weight: 600; font-size: 30px; letter-spacing: 0; color: #fff; }
.page-hero-stats b i { font-style: normal; color: var(--red-light); }

@media (min-width: 1024px) { .page-locations .loc-screen { height: clamp(680px, 86vh, 860px); } }

/* directory: one country at a time, cities as columns of plain rows */
.dir-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 36px; }
.dir-countries { display: flex; gap: 8px; }
.dir-filter {
  --c: 8px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2); font-family: Rajdhani; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .3s, color .3s, box-shadow .3s;
}
.dir-filter .flag { width: 18px; height: 12px; }
.dir-filter b { font-family: Oswald; font-weight: 500; color: var(--red-text); transition: color .3s; }
.dir-filter:hover { box-shadow: inset 0 0 0 1px var(--red); }
.dir-filter[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.dir-filter[aria-pressed="true"] b { color: var(--red-light); }
.dir-summary { font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.dir-panel { --c: 22px; margin-top: 20px; padding: clamp(22px, 3vw, 40px); }
.dir-cols { columns: 3 240px; column-gap: clamp(28px, 4vw, 64px); }
.dir-group { break-inside: avoid; margin-bottom: 30px; }
.dir-city-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-family: Oswald; font-weight: 700; font-size: 1.25rem; line-height: 1; text-transform: uppercase; }
.dir-city-h span { margin-left: auto; font-family: Rajdhani; font-size: 12px; letter-spacing: .16em; color: var(--red-text); }
.dir-city-btn { display: flex; width: 100%; align-items: baseline; gap: 10px; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: default; }
.dir-chev { display: none; }
/* phones: each city folds open on tap */
@media (max-width: 639px) {
  .dir-group { margin-bottom: 14px; }
  .dir-city-btn { align-items: center; cursor: pointer; }
  .dir-chev { display: block; flex: none; color: var(--red-text); transition: transform .3s var(--ease-out); }
  .dir-group.is-open .dir-chev { transform: rotate(180deg); }
  .dir-group:not(.is-open) ul { display: none; }
}
.dir-row { display: flex; align-items: center; border-bottom: 1px solid var(--line); transition: background .25s; }
.dir-row:hover { background: rgba(var(--red-rgb), .04); }
.dr-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 11px 4px; text-align: left; font-size: 14.5px; font-weight: 500; transition: color .25s, padding .35s var(--ease-out); }
.dr-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr-type { font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dr-type.is-ladies { color: var(--red-text); }
.dr-go { flex: none; color: var(--red-text); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .35s var(--ease-out); }
.dir-row:hover .dr-main { color: var(--red-text); padding-left: 10px; }
.dir-row:hover .dr-go { opacity: 1; transform: none; }
.dr-dir { flex: none; display: grid; place-items: center; width: 34px; height: 34px; color: var(--muted); transition: color .25s, background .25s; }
.dr-dir:hover { color: var(--on-red); background: var(--red); }

/* free pass call to action: a perforated day-pass ticket */
.loc-cta { padding-block: clamp(70px, 8vw, 110px); }
.cta-wrap { filter: drop-shadow(0 34px 44px rgba(var(--ink-rgb), .22)); }
.cta-ticket {
  --stub: 390px; --r: 18px;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); color: #fff;
  /* round notches where the stub tears off */
  -webkit-mask: radial-gradient(circle var(--r) at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--r) at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--r) at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--r) at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
}
.cta-main {
  position: relative; overflow: hidden; padding: clamp(34px, 4.5vw, 64px); background: var(--ink);
  background-image:
    radial-gradient(circle at 0% 100%, rgba(var(--red-rgb), .35), transparent 55%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.cta-ghost {
  position: absolute; right: -14px; bottom: -0.32em; pointer-events: none; user-select: none;
  font-family: Oswald; font-weight: 700; font-size: clamp(8rem, 16vw, 15rem); line-height: 1; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .07);
}
.cta-kicker { position: relative; display: flex; align-items: center; gap: 12px; font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--red-light); }
.cta-kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.cta-title { position: relative; margin-top: 16px; font-family: Oswald; font-weight: 700; font-size: clamp(2.8rem, 5.8vw, 5.4rem); line-height: .96; text-transform: uppercase; }
.cta-points { position: relative; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-family: Rajdhani; font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.cta-points li { display: inline-flex; align-items: center; gap: 10px; }
.cta-points li::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.cta-alt { position: relative; margin-top: 30px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.cta-alt a { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; transition: color .3s; }
.cta-alt a:hover { color: var(--red-light); }

.cta-stub {
  display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 3vw, 40px);
  background: var(--surface) repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px);
  border-left: 2px dashed rgba(255, 255, 255, .5);
}
.stub-top { display: flex; justify-content: space-between; font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.stub-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-family: Oswald; font-weight: 700; font-size: clamp(2.6rem, 3.6vw, 3.4rem); line-height: .95; text-transform: uppercase; }
.stub-free { padding: 4px 12px; background: var(--ink); font-size: 1.3rem; letter-spacing: .06em; }
.stub-code {
  position: relative; display: block; height: 44px; overflow: hidden;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px, #fff 5px 6px, transparent 6px 9px, #fff 9px 12px, transparent 12px 14px, #fff 14px 15px, transparent 15px 19px);
}
.stub-code::after { content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; background: linear-gradient(90deg, transparent, rgba(var(--red-rgb), .85), transparent); animation: barscan 2.6s linear infinite; }
@keyframes barscan { to { left: 100%; } }
.stub-note { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .85); }

/* tablets & phones: the stub tears off along the bottom instead */
@media (max-width: 1023px) {
  .cta-ticket {
    --stubH: 330px; grid-template-columns: minmax(0, 1fr);
    -webkit-mask: radial-gradient(circle var(--r) at 0 calc(100% - var(--stubH)), transparent 97%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--r) at 100% calc(100% - var(--stubH)), transparent 97%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle var(--r) at 0 calc(100% - var(--stubH)), transparent 97%, #000) left / 51% 100% no-repeat,
                  radial-gradient(circle var(--r) at 100% calc(100% - var(--stubH)), transparent 97%, #000) right / 51% 100% no-repeat;
  }
  .cta-stub { height: var(--stubH); border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .5); }
}

/* the page hero reuses .hero-content, which is a centred grid on the home hero */
.page-hero .hero-content { align-items: flex-start; gap: 0; }
.cta-title .text-blaze { white-space: nowrap; } /* keep "for a day." together when the title wraps */

/* =========================================================
   Membership (membership.html): location → plan → details → checkout
   ========================================================= */
.page-hero.is-compact .hero-content { min-height: min(66svh, 640px); }
.hero-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin-top: 30px; font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.hero-steps li { display: flex; align-items: center; gap: 8px; }
.hero-steps li + li::before { content: ""; width: 26px; height: 1px; margin: 0 14px; background: rgba(255, 255, 255, .35); }
.hero-steps b { font-family: Oswald; font-weight: 500; color: var(--red-light); letter-spacing: 0; }
.link-arrow.is-dark { color: var(--ink); }

.mem-sec { padding-top: clamp(56px, 7vw, 90px); }
/* stepper: a dark HUD dock fixed to the bottom centre while the join flow is on screen */
.mem-dock {
  position: fixed; left: 50%; bottom: 18px; z-index: 42; width: min(calc(100% - 32px), 860px);
  filter: drop-shadow(0 20px 34px rgba(var(--ink-rgb), .38));
  opacity: 0; visibility: hidden; transform: translate(-50%, calc(100% + 24px));
  transition: transform .6s var(--ease-out), opacity .4s, visibility 0s .6s;
}
.mem-dock.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: transform .6s var(--ease-out), opacity .4s, visibility 0s; }
.dock-inner {
  --c: 16px; position: relative; display: flex; align-items: center; gap: 18px; height: 66px; padding: 0 24px 0 20px; color: #fff;
  background: radial-gradient(50% 160% at 0% 50%, rgba(var(--red-rgb), .16), transparent 70%), var(--ink);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.dock-inner::before { content: ""; position: absolute; left: 0; top: var(--c); width: 23px; height: 2px; background: var(--red); transform-origin: 0 50%; transform: rotate(-45deg); } /* red tick on the cut corner */
.dock-count { flex: none; display: flex; align-items: baseline; gap: 2px; padding-right: 18px; border-right: 1px solid rgba(255, 255, 255, .14); font-family: Oswald; font-weight: 500; font-size: 13px; line-height: 1; color: rgba(255, 255, 255, .45); }
.dock-count b { font-weight: 700; font-size: 1.75rem; color: #fff; }
.dock-count span { display: none; margin-left: 10px; font-family: Rajdhani; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.mem-steps { flex: 1; min-width: 0; display: flex; align-items: center; }
.mem-steps li { display: flex; align-items: center; min-width: 0; }
.mem-steps li:not(:last-child) { flex: 1; }
/* connector track that fills red as each step is completed */
.mem-steps li:not(:last-child)::after {
  content: ""; flex: 1; min-width: 12px; height: 2px; margin: 0 12px;
  background: linear-gradient(var(--red), var(--red)) 0 0 / 0% 100% no-repeat, rgba(255, 255, 255, .14);
  transition: background-size .7s var(--ease-out);
}
.mem-steps li.is-done::after { background-size: 100% 100%; }
.mem-steps button { display: flex; align-items: center; gap: 10px; padding: 6px 2px; text-align: left; color: rgba(255, 255, 255, .5); cursor: default; transition: color .3s; }
.mem-steps button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.ms-node { flex: none; display: block; }
.ms-num {
  display: grid; place-items: center; width: 32px; height: 32px; background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .55);
  font-family: Oswald; font-weight: 600; font-size: 13px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transition: background .3s, color .3s;
}
.ms-num i { font-style: normal; }
.ms-num .icon { display: none; font-size: 15px; stroke-width: 3; }
.ms-label { display: flex; flex-direction: column; font-family: Rajdhani; font-weight: 700; font-size: 14px; letter-spacing: .1em; line-height: 1.15; text-transform: uppercase; white-space: nowrap; }
.ms-label small { font-family: Poppins; font-weight: 400; font-size: 11px; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .45); }
.mem-steps .is-current button { color: #fff; }
.mem-steps .is-current .ms-num { background: var(--red); color: var(--on-red); }
.mem-steps .is-current .ms-node { animation: msPulse 2.2s ease-in-out infinite; }
@keyframes msPulse { 0%, 100% { filter: drop-shadow(0 0 2px rgba(var(--red-rgb), .35)); } 50% { filter: drop-shadow(0 0 12px rgba(var(--red-rgb), .95)); } }
.mem-steps .is-done button { color: rgba(255, 255, 255, .85); cursor: pointer; }
.mem-steps .is-done .ms-num { background: #fff; color: var(--ink); }
.mem-steps .is-done .ms-num i { display: none; }
.mem-steps .is-done .ms-num .icon { display: block; }
.mem-steps .is-done button:not(:disabled):hover { color: #fff; }
.mem-steps .is-done button:not(:disabled):hover .ms-num { background: var(--red); color: var(--on-red); }
/* tablets & phones: a full-width strip under the sticky Back / Continue bar */
@media (max-width: 1023px) {
  .page-membership { --dock-size: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .page-membership:has(.mem-dock.is-on) { --dock-h: var(--dock-size); } /* lifts the sticky bar & chat while the dock is out */
  .mem-dock { left: 0; bottom: 0; width: 100%; filter: none; transform: translateY(100%); }
  .mem-dock.is-on { transform: none; }
  .dock-inner { --c: 0px; height: var(--dock-size); padding: 0 max(16px, 3vw) env(safe-area-inset-bottom, 0px); gap: 14px; clip-path: none; }
  .dock-inner::before { display: none; }
  .dock-count { padding-right: 14px; }
  .dock-count b { font-size: 1.45rem; }
  .ms-num { width: 28px; height: 28px; font-size: 12px; }
  .ms-label small { display: none; }
}
/* phones: counter + current step name on the left, just the nodes on the right */
@media (max-width: 639px) {
  .dock-count span { display: inline; }
  .mem-steps li:not(:last-child)::after { margin: 0 6px; }
  .mem-steps button { padding: 6px 0; }
  .ms-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* layout */
.mem-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .mem-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 32px; } }
.mem-panel { --c: 22px; min-width: 0; padding: clamp(22px, 3vw, 40px); }
.step-head { margin-bottom: 22px; }
.step-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.step-kicker { font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--red-text); }
.step-title { margin-top: 8px; font-family: Oswald; font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; text-transform: uppercase; outline: none; }
.step-sub { max-width: 560px; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.step-error { display: none; margin-top: 16px; padding: 10px 14px; border-left: 3px solid var(--danger); background: var(--danger-soft); color: var(--danger); font-size: 13px; font-weight: 500; }
.step-error.is-on { display: block; }

/* 1. location */
.pick-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg.seg-sm { width: auto; max-width: none; padding: 4px; }
.seg.seg-sm button { height: 38px; padding: 0 16px; font-size: .92rem; }
.seg.seg-sm .seg-indicator { top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); }
.pick-search { flex: 1 1 180px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; color: var(--muted); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .3s; }
.pick-search:focus-within { color: var(--red-text); box-shadow: inset 0 0 0 1.5px var(--red), inset 3px 0 0 var(--red); }
.pick-search input { flex: 1; min-width: 0; height: 100%; background: transparent; color: var(--ink); font-size: 14px; outline: none; }
.loc-btn.is-light { height: 46px; padding: 0 16px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.loc-btn.is-light:hover { background: var(--ink); color: #fff; }
.loc-btn.is-light .icon { color: var(--red-text); }
.loc-btn.is-light:hover .icon { color: #fff; }
/* city dropdown */
.city-dd { position: relative; flex: 0 1 200px; min-width: 180px; }
.cdd-trigger {
  --c: 10px; width: 100%; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 6px; text-align: left; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: box-shadow .3s;
}
.cdd-trigger:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.city-dd.is-open .cdd-trigger, .cdd-trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--red), inset 3px 0 0 var(--red); }
.cdd-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; background: var(--red); color: var(--on-red); font-size: 16px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.cdd-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.1; }
.cdd-text small { font-family: Rajdhani; font-weight: 700; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cdd-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Rajdhani; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.cdd-count { flex: none; min-width: 24px; padding: 2px 6px; background: var(--ink); color: #fff; font-family: Oswald; font-weight: 500; font-size: 12px; text-align: center; }
.cdd-chev { flex: none; font-size: 16px; color: var(--muted); transition: transform .4s var(--ease-out), color .3s; }
.city-dd.is-open .cdd-chev { transform: rotate(180deg); color: var(--red-text); }
.cdd-panel {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; width: max(100%, 270px); max-height: 320px; overflow-y: auto; overscroll-behavior: contain; padding: 6px;
  background: #fff; border-top: 2px solid var(--red); box-shadow: 0 30px 60px -22px rgba(var(--ink-rgb), .4), 0 0 0 1px var(--line); outline: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .35s var(--ease-out), visibility 0s .35s;
}
.city-dd.is-open .cdd-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease-out), visibility 0s; }
.cdd-panel li { display: grid; grid-template-columns: minmax(0, 1fr) 56px 24px 16px; align-items: center; gap: 10px; padding: 11px 12px; font-size: 14px; cursor: pointer; transition: background .2s; }
.cdd-panel li:first-child { margin-bottom: 4px; border-bottom: 1px dashed var(--line-2); }
.cdd-panel li.is-active { background: var(--paper); }
.cdd-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdd-bar { height: 4px; background: var(--mist); }
.cdd-bar i { display: block; height: 100%; background: var(--ink); }
.cdd-panel b { font-family: Oswald; font-weight: 500; font-size: 13px; text-align: right; }
.cdd-tick { font-size: 15px; stroke-width: 3; color: var(--red-text); opacity: 0; }
.cdd-panel li[aria-selected="true"] .cdd-name { color: var(--red-text); font-weight: 600; }
.cdd-panel li[aria-selected="true"] .cdd-bar i { background: var(--red); color: var(--on-red); }
.cdd-panel li[aria-selected="true"] .cdd-tick { opacity: 1; }
/* narrow form (phones, small laptops): country tabs full width, then city + near me, then search */
.mem-step[data-step="1"] { container-type: inline-size; }
@container (max-width: 560px) {
  .pick-bar .seg { width: 100%; }
  .city-dd { flex: 1 1 0; min-width: 0; }
  .pick-search { order: 3; flex-basis: 100%; }
}
.gym-opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; padding: 3px; }
@media (min-width: 640px) { .gym-opts { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; } }
/* desktop: the list scrolls inside the step so "Continue" stays close */
@media (min-width: 1024px) {
  .gym-opts { max-height: 700px; overflow-y: auto; padding: 3px 8px 3px 3px; scrollbar-width: thin; scrollbar-color: rgba(var(--red-rgb), .5) transparent; }
}
.gym-opt {
  --c: 14px; position: relative; display: flex; flex-direction: column; padding: 8px; cursor: pointer; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: box-shadow .3s, transform .4s var(--ease-out);
}
.gym-opt:hover { box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-3px); }
.gym-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--red); }
.gym-opt:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--ink); }
.go-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.go-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .8s var(--ease-out); }
.gym-opt:hover .go-img img, .gym-opt:has(input:checked) .go-img img { filter: none; }
.gym-opt:hover .go-img img { transform: scale(1.05); }
.go-type { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; background: #fff; color: var(--ink); font-family: Rajdhani; font-weight: 700; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.go-type.is-ladies { background: var(--red); color: var(--on-red); }
.go-check {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; background: var(--red); color: var(--on-red); font-size: 17px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  opacity: 0; transform: scale(.5); transition: opacity .3s, transform .4s var(--ease-out);
}
.gym-opt:has(input:checked) .go-check { opacity: 1; transform: none; }
.go-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; padding: 12px 6px 4px; }
.go-name { font-family: Rajdhani; font-weight: 700; font-size: 1.08rem; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; }
.gym-opt:has(input:checked) .go-name { color: var(--red-text); }
.go-addr { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; color: var(--muted); }
.go-addr .icon { flex: none; color: var(--red-text); }
.go-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.go-dist { font-family: Oswald; font-weight: 500; font-size: 13px; letter-spacing: 0; }
@media (max-width: 639px) { .go-img { aspect-ratio: 16 / 9; } } /* phones: one card per row, photo then details */
.pick-empty { padding: 24px 0; color: var(--muted); }

/* 2. plan */
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--mist); }
.billing-toggle button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: background .3s, color .3s; }
.billing-toggle button small { padding: 1px 6px; background: var(--red); color: var(--on-red); font-size: 10px; letter-spacing: .1em; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; padding-top: 14px; }
.plan-card {
  --c: 20px; display: flex; flex-direction: column; padding: 22px 20px 20px; cursor: pointer;
  transition: transform .4s var(--ease-out);
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card:has(input:checked) { --bc: var(--red); --bw: 2px; --bg: linear-gradient(180deg, var(--red-soft), #fff 42%); }
.plan-card:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.plan-card.is-popular { --bc: var(--ink); --bg: radial-gradient(130% 65% at 100% 0%, rgba(var(--red-rgb), .2), transparent 62%), var(--ink); color: #fff; }
.plan-card.is-popular:has(input:checked) { --bc: var(--red); --bg: radial-gradient(130% 75% at 100% 0%, rgba(var(--red-rgb), .3), transparent 66%), var(--ink); }
.plan-tag { position: absolute; top: -11px; left: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; background: var(--red); color: var(--on-red); font-family: Rajdhani; font-weight: 700; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.plan-tag .icon { font-size: 12px; }
/* outlined tier number, top right */
.plan-idx { position: absolute; top: 12px; right: 18px; font-family: Oswald; font-weight: 700; font-size: 4.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--line-2); pointer-events: none; transition: -webkit-text-stroke-color .3s; }
.plan-card.is-popular .plan-idx { -webkit-text-stroke-color: rgba(255, 255, 255, .22); }
.plan-card:has(input:checked) .plan-idx { -webkit-text-stroke-color: rgba(var(--red-rgb), .55); }
.plan-ico {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; background: var(--red-soft); color: var(--red-text); font-size: 20px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); transition: background .3s, color .3s;
}
.plan-card.is-popular .plan-ico { background: rgba(255, 255, 255, .1); color: var(--red-light); }
.plan-card:has(input:checked) .plan-ico { background: var(--red); color: var(--on-red); }
.plan-name { font-family: Oswald; font-weight: 700; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.plan-line { margin-top: 6px; font-size: 13px; color: var(--muted); }
/* reach meter */
.plan-reach { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.pr-bar { display: flex; gap: 3px; padding-left: 2px; }
.pr-bar i { width: 16px; height: 7px; background: var(--line-2); transform: skewX(-28deg); }
.pr-bar i.on { background: var(--red); color: var(--on-red); }
.plan-card.is-popular .pr-bar i:not(.on) { background: rgba(255, 255, 255, .2); }
/* price panel */
.plan-cost {
  --c: 10px; display: flex; flex-direction: column; gap: 5px; margin-top: 18px; padding: 14px 16px; background: var(--paper);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.plan-card.is-popular .plan-cost { background: rgba(255, 255, 255, .07); }
.plan-card:has(input:checked):not(.is-popular) .plan-cost { background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--red-rgb), .18); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: Oswald; font-weight: 700; font-size: 2.9rem; line-height: .95; }
.plan-price .cur { font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--red-text); }
.plan-price small { font-size: 12.5px; color: var(--muted); }
.plan-save { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.plan-save s { color: var(--muted); }
.plan-save em { padding: 1px 7px; background: var(--red); color: var(--on-red); font-style: normal; font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.plan-note { font-size: 12px; color: var(--muted); }
.plan-card.is-popular :is(.plan-line, .plan-price small, .plan-note, .plan-save s) { color: rgba(255, 255, 255, .6); }
.plan-card.is-popular .plan-price .cur { color: var(--red-light); }
/* features */
.plan-feats { display: grid; gap: 10px; margin: 18px 0 22px; font-size: 13.5px; line-height: 1.4; }
.plan-feats li { display: flex; align-items: flex-start; gap: 10px; }
.plan-feats .icon { width: 18px; height: 18px; padding: 3px; margin-top: 1px; stroke-width: 3; background: var(--red-soft); color: var(--red-text); }
.plan-card.is-popular .plan-feats .icon { background: rgba(var(--red-rgb), .9); color: #fff; }
.plan-feats li.is-off { color: var(--muted); }
.plan-feats li.is-off .icon { background: var(--mist); color: var(--muted); }
/* choose button */
.plan-pick {
  --c: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 48px; margin-top: auto; padding: 0 18px;
  font-family: Rajdhani; font-weight: 700; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--mist); color: var(--ink);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: background .3s, color .3s;
}
.plan-pick .pp-arrow { font-size: 17px; transition: transform .4s var(--ease-out); }
.plan-pick .pp-on { display: none; align-items: center; gap: 8px; }
.plan-pick .pp-on .icon { font-size: 16px; stroke-width: 3; }
.plan-card:hover .plan-pick { background: var(--ink); color: #fff; }
.plan-card:hover .pp-arrow { transform: translateX(4px); }
.plan-card.is-popular .plan-pick { background: #fff; color: var(--ink); }
.plan-card.is-popular:hover .plan-pick { background: var(--red); color: var(--on-red); }
.plan-card:has(input:checked) .plan-pick { justify-content: center; background: var(--red); color: var(--on-red); }
.plan-card:has(input:checked) .pp-off, .plan-card:has(input:checked) .pp-arrow { display: none; }
.plan-card:has(input:checked) .pp-on { display: inline-flex; }
/* tablets & phones: swipe between plans (the next card peeks in) instead of wrapping into a long stack */
@media (max-width: 1023px) {
  .plans {
    --pad: clamp(22px, 3vw, 40px);
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--pad)); padding: 14px var(--pad) 6px; scroll-padding-inline: var(--pad);
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan-card { flex: 0 0 calc((100% - 28px) / 2.25); scroll-snap-align: start; }
}
@media (max-width: 639px) { .plan-card { flex-basis: 86%; } }

/* 3. details */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .span-2 { grid-column: 1 / -1; } }
.field.is-static label { top: 16px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.field input[type="date"] { color-scheme: light; }
.form-note { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 10px 14px; background: var(--red-soft); color: var(--red-text); font-size: 13px; font-weight: 500; }
.checks { display: grid; gap: 10px; margin-top: 18px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 13.5px; color: var(--ink-2); }
.check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--red); }
.check a { color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }

/* 4. checkout */
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.pay-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; cursor: pointer;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, box-shadow .25s;
}
.pay-opt[hidden] { display: none; }
.pay-opt > .icon { font-size: 22px; }
.pay-opt > span:not(.mada-mark) { font-family: Rajdhani; font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.pay-opt small { font-size: 12px; color: var(--muted); }
.pay-opt:hover { background: #fff; }
.pay-opt:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 1.5px var(--red), inset 0 3px 0 var(--red); }
.pay-opt:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.mada-mark { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; background: #14a0dc; color: #fff; font-family: Poppins; font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.card-grid[hidden] { display: none; }
.card-brand { position: absolute; right: 14px; top: 28px; transform: translateY(-50%); font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); pointer-events: none; }
.apple-pay { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 54px; margin-bottom: 4px; background: #000; color: #fff; font-family: -apple-system, "SF Pro Display", Poppins, sans-serif; font-weight: 600; font-size: 19px; border-radius: 10px; }
.apple-pay[hidden] { display: none; }
.apple-pay .icon { font-size: 22px; margin-top: -3px; }
.promo-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; }
.promo-row .field { flex: 1; }
.promo-row .btn { height: 56px; }
.pay-btn { margin-top: 18px; }
.pay-btn.is-loading { pointer-events: none; }
.pay-btn.is-loading .icon { display: none; }
.pay-btn.is-loading::after { content: ""; position: absolute; right: 22px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.demo-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.demo-note span { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; }
.demo-note.is-left { justify-content: flex-start; margin-top: 16px; }

/* step navigation (sticks to the bottom of the screen on tablets & phones) */
.mem-nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.mem-nav [data-mem="next"] { margin-left: auto; }
.mem-nav [hidden] { display: none; }
.nav-total { display: none; }
@media (max-width: 1023px) {
  .mem-nav {
    position: sticky; bottom: var(--dock-h, 0px); z-index: 20; transition: bottom .6s var(--ease-out); margin: 28px calc(-1 * clamp(22px, 3vw, 40px)) calc(-1 * clamp(22px, 3vw, 40px));
    padding: 12px clamp(16px, 3vw, 24px); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -12px 30px -20px rgba(var(--ink-rgb), .45);
  }
  .nav-total { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 4px 2px; line-height: 1.1; text-align: left; }
  .nav-total small { display: inline-flex; align-items: center; gap: 4px; font-family: Rajdhani; font-weight: 700; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
  .nav-total small .icon { font-size: 13px; stroke-width: 2.6; color: var(--red-text); transform: rotate(180deg); transition: transform .4s var(--ease-out); }
  .nav-total[aria-expanded="true"] small .icon { transform: none; }
  .nav-total b { font-family: Oswald; font-weight: 600; font-size: 1.05rem; border-bottom: 1px dashed var(--line-2); }
  .mem-nav .btn-lg { height: 48px; padding: 0 1.1rem; font-size: .95rem; }
  .mem-nav [data-mem="back"] { display: none; } /* going back = tapping a done step in the dock right below */
  /* keep the floating chat / back-to-top buttons clear of the sticky bar */
  .page-membership .chat { bottom: calc(92px + var(--dock-h, 0px)); transition: bottom .6s var(--ease-out); }
  .page-membership .to-top-ring { stroke: var(--red); }
.to-top { display: none; } /* the sticky step bar is always in reach */
  /* the launcher would sit on "Continue"; chat stays one tap away in the summary sheet */
  .page-membership:has(.mem-dock.is-on) .chat-btn { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* summary */
.mem-summary { --c: 22px; padding: 26px; }
@media (min-width: 1024px) { .mem-summary { position: sticky; top: 96px; } }
.sheet-backdrop, .sheet-grip, .sheet-close { display: none; }
@media (max-width: 1023px) {
  .sheet-backdrop {
    position: fixed; inset: 0; z-index: 84; display: block; background: rgba(var(--ink-rgb), .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
  }
  .sheet-backdrop.is-on { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }
  .mem-summary {
    --sp: max(20px, 4vw);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; max-width: 640px; max-height: min(86svh, 680px); margin-inline: auto;
    overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--sp) calc(24px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 3px solid var(--red); box-shadow: 0 -30px 60px -24px rgba(var(--ink-rgb), .5);
    transform: translateY(105%); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s;
  }
  .mem-summary.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease-out), visibility 0s; }
  .mem-summary::before, .mem-summary::after { display: none; }
  .sheet-head {
    position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 0 calc(-1 * var(--sp)); padding: 24px var(--sp) 12px; background: #fff; touch-action: none;
  }
  .sheet-grip { position: absolute; top: 10px; left: 50%; display: block; width: 44px; height: 4px; margin-left: -22px; background: var(--line-2); }
  .sheet-close {
    --c: 8px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--mist); font-size: 16px;
    clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); transition: background .3s, color .3s;
  }
  .sheet-close:hover { background: var(--ink); color: #fff; }
  .mem-summary .sum-rows { margin-top: 4px; }
}
.sum-kicker { font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--red-text); }
.sum-rows { display: grid; gap: 14px; margin-top: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sum-rows > div { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; }
.sum-rows dt { font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.sum-rows dd { font-weight: 600; font-size: 14px; line-height: 1.3; }
.sum-rows dd small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.sum-rows dd em { font-style: normal; font-weight: 400; color: var(--muted); }
.sum-rows button { font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.sum-rows button:hover { color: var(--ink); }
.sum-lines { display: grid; gap: 10px; padding-top: 18px; font-size: 14px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; }
.sum-line > span:first-child { color: var(--muted); }
.sum-line s { color: var(--muted); }
.sum-free { font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #16a34a; }
.sum-line.is-promo > span:last-child { color: #16a34a; font-weight: 600; }
.sum-line.is-total { margin-top: 6px; padding-top: 14px; border-top: 2px solid var(--ink); align-items: baseline; }
.sum-line.is-total > span:first-child { font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.sum-line.is-total > span:last-child { font-family: Oswald; font-weight: 700; font-size: 1.6rem; }
.sum-recur, .sum-empty { font-size: 12.5px; color: var(--muted); }
.sum-help { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); }
.sum-help button { color: var(--red-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* welcome */
.mem-success { --c: 26px; margin-top: 22px; padding: clamp(28px, 4vw, 56px); text-align: center; }
.mem-success[hidden] { display: none; }
.mem-success .step-sub { margin-inline: auto; }
.mem-success .success-mark { margin-bottom: 18px; }
.member-card {
  --c: 18px; position: relative; display: grid; gap: 4px; width: min(100%, 460px); margin: 30px auto 0; padding: 24px 24px 24px; text-align: left; color: #fff;
  background: linear-gradient(135deg, var(--surface), var(--ink-deep)), var(--surface);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.mc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-family: Rajdhani; font-weight: 700; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.mc-logo { display: block; width: auto; height: 24px; aspect-ratio: 143 / 34; color: #fff; }
.mc-name { font-family: Oswald; font-weight: 700; font-size: 1.7rem; line-height: 1; text-transform: uppercase; padding-right: 96px; }
.mc-plan { font-family: Rajdhani; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.mc-grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px; margin-top: 16px; }
.mc-grid small { display: block; font-family: Rajdhani; font-weight: 700; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.mc-grid b { font-weight: 600; font-size: 12.5px; }
.mc-qr { position: absolute; top: 46px; right: 24px; width: 80px; height: 80px; padding: 5px; background: #fff; }
@media (max-width: 479px) { .mc-grid { grid-template-columns: 1fr 1fr; } .mc-qr { width: 64px; height: 64px; } .mc-name { padding-right: 76px; } }
.suc-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-top: 30px; }

