/* ------------------------------------------------------------------
   PERFORM — Gym and Recovery Club, Ho Chi Minh City  ·  v3 scrollytelling
   ------------------------------------------------------------------ */

:root {
  color-scheme: dark;
  --bg: #070707;
  --bg-2: #0d0d0d;
  --bg-3: #141414;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f2f0eb;
  --muted: #9b9891;
  --accent: #c9a96a;
  --accent-2: #e2c98f;
  --white: #ffffff;

  --font-display: "Syncopate", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, .lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }

/* Typography ----------------------------------------------------- */
.eyebrow { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.08; letter-spacing: 0.01em; color: var(--white); text-wrap: balance; }
.h2 .line { padding-bottom: 0.06em; margin-bottom: -0.06em; }
.lead { font-size: clamp(17px, 1.3vw, 20px); font-weight: 300; color: #cfccc4; line-height: 1.65; }
.section__head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section__head--center { grid-template-columns: 1fr; text-align: center; max-width: 760px; margin-inline: auto; }
.section__head--center .section__intro { margin-inline: auto; margin-top: 20px; }
.section__intro { color: var(--muted); font-size: 16px; max-width: 480px; }

/* Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 16px 26px; border: 1px solid var(--white); border-radius: var(--radius);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap; will-change: transform;
}
.btn--solid { background: var(--white); color: #000; }
.btn--solid:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--white); }
.btn--lg { padding: 20px 34px; font-size: 12px; }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.5; }
.link { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.link::after { content: ""; width: 28px; height: 1px; background: var(--accent); transition: width 0.3s var(--ease); }
.link:hover::after { width: 44px; }

/* Preloader ------------------------------------------------------ */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: opacity 0.7s var(--ease), visibility 0.7s; }
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader img { width: min(260px, 60vw); opacity: 0; animation: fadeUp 0.9s var(--ease) 0.15s forwards; }
.preloader__bar { width: 160px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.preloader__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); display: block; }
html:not(.has-gsap) .preloader__bar i { animation: load 1.1s var(--ease) 0.2s forwards; }
.preloader__count { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.32em; color: var(--muted); font-variant-numeric: tabular-nums; }
.preloader.is-done { opacity: 0; visibility: hidden; }
html.has-gsap .preloader { transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1); }
html.has-gsap .preloader.is-done { opacity: 1; visibility: visible; transform: translateY(-101%); }
html.has-gsap .preloader.is-done .preloader__inner { opacity: 0; transition: opacity 0.3s; }
.preloader.is-gone { visibility: hidden !important; }
@keyframes load { to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Progress + cursor ---------------------------------------------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(0); pointer-events: none; }
html:not(.has-gsap) .progress { display: none; }
.cursor { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: none; opacity: 0; transition: opacity 0.3s; }
html.has-cursor .cursor { display: block; }
.cursor.is-on { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); transition: opacity 0.25s; }
.cursor__ring { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(201, 169, 106, 0.7); display: grid; place-items: center; transition: background 0.35s var(--ease), border-color 0.35s var(--ease); }
.cursor.is-hover .cursor__ring { background: rgba(201, 169, 106, 0.12); }
.cursor.is-label .cursor__ring { background: rgba(7, 7, 7, 0.78); border-color: transparent; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor__label { font-family: var(--font-display); font-size: 3.4px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--white); opacity: 0; transition: opacity 0.3s; white-space: nowrap; }
.cursor.is-label .cursor__label { opacity: 1; }

/* Nav ------------------------------------------------------------ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.55s var(--ease); }
.nav.is-scrolled { background: rgba(7, 7, 7, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 84px; transition: height 0.4s var(--ease); }
.nav.is-scrolled .nav__inner { height: 68px; }
.nav__logo img { height: 20px; width: auto; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: #d9d6cf; position: relative; padding: 6px 0; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--accent); transition: width 0.3s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__mobile-cta { display: none; }
.nav__right { display: flex; align-items: center; gap: 28px; }
.lang { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.2em; }
.lang__btn { color: var(--muted); padding: 4px 2px; transition: color 0.3s; }
.lang__btn.is-active, .lang__btn:hover { color: var(--white); }
.lang__sep { color: var(--line-strong); }
.nav__cta { padding: 13px 22px; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--white); transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* HERO : the ring opens onto the training floor ------------------- */
.hero { height: 320vh; position: relative; }
html:not(.has-gsap) .hero { height: auto; }
.hero__stage { --ring: min(62vmin, 640px); --ring-y: 50%; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); isolation: isolate; }
html:not(.has-gsap) .hero__stage { position: relative; }
.hero__view { position: absolute; inset: 0; z-index: 1; clip-path: circle(calc(var(--ring) * 0.455) at 50% var(--ring-y)); will-change: clip-path; background: #000; }
.hero__view img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; transform: scale(1.14); will-change: transform; }
.hero__vig { position: absolute; inset: 0; background: radial-gradient(circle at 50% var(--ring-y), rgba(7, 7, 7, 0) calc(var(--ring) * 0.24), rgba(7, 7, 7, 0.62) calc(var(--ring) * 0.47)); }
.hero__shade { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, rgba(7, 7, 7, 0.55) 0%, rgba(7, 7, 7, 0.05) 30%, rgba(7, 7, 7, 0.25) 55%, rgba(7, 7, 7, 0.9) 100%), linear-gradient(90deg, rgba(7, 7, 7, 0.6) 0%, rgba(7, 7, 7, 0) 60%); }
.hero__ring { position: absolute; left: 50%; top: var(--ring-y); width: var(--ring); height: var(--ring); margin: calc(var(--ring) / -2) 0 0 calc(var(--ring) / -2); will-change: transform; z-index: 2; pointer-events: none; }
.hero__ringsvg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 70s linear infinite; }
.hero__needle { transform-origin: 50% 50%; animation: needle 7s cubic-bezier(0.45, 0, 0.2, 1) infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes needle { from { transform: rotate(-20deg); } to { transform: rotate(250deg); } }
.hero__title { position: absolute; inset: 0; margin: 0; pointer-events: none; z-index: 3; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(42px, 8.4vw, 132px); line-height: 0.95; color: var(--white); letter-spacing: -0.005em; }
.hero__word { position: absolute; white-space: nowrap; will-change: transform; }
.hero__word--l { left: var(--gutter); top: 15%; }
.hero__word--r { right: var(--gutter); bottom: 21%; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.92); }
.hero__intro { position: absolute; left: var(--gutter); bottom: 44px; max-width: 440px; z-index: 3; display: grid; gap: 16px; }
.hero__intro .eyebrow { margin-bottom: 0; }
.hero__sub { font-size: 15px; font-weight: 300; color: #d6d3cb; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cue { position: absolute; right: var(--gutter); bottom: 52px; z-index: 3; display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.hero__cue i { width: 56px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.hero__inside { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 96px); z-index: 3; display: grid; gap: 18px; opacity: 0; visibility: hidden; pointer-events: none; }
.hero__inside .eyebrow { margin-bottom: 0; }
.hero__insidetitle { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 6vw, 92px); line-height: 1; color: var(--white); }
.hero__insidesub { color: #d6d3cb; font-size: clamp(14px, 1.2vw, 17px); letter-spacing: 0.04em; }
html:not(.has-gsap) .hero__inside { display: none; }
.hero__dim { position: absolute; inset: 0; background: var(--bg); opacity: 0; z-index: 4; pointer-events: none; }

/* MANIFESTO ------------------------------------------------------ */
.manifesto { padding-block: clamp(100px, 13vw, 190px) clamp(80px, 10vw, 140px); }
.manifesto__text { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(17px, 2.5vw, 33px); line-height: 1.5; letter-spacing: 0.02em; color: var(--white); max-width: 1180px; margin-bottom: clamp(80px, 10vw, 140px); }
.manifesto__text .word { display: inline-block; white-space: nowrap; }
.pillars4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar { border: 1px solid var(--line); background: var(--bg-2); padding: 34px 28px; display: grid; gap: 16px; align-content: start; border-radius: var(--radius); min-height: 300px; will-change: transform; }
.pillar__num { font-family: var(--font-display); font-size: 11px; color: var(--accent); letter-spacing: 0.2em; }
.pillar h3 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); line-height: 1.4; }
.pillar p { color: var(--muted); font-size: 14.5px; }

/* EQUIPMENT : 3D stage -------------------------------------------- */
.gear { height: 340vh; position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
html:not(.has-gsap) .gear { height: auto; }
.gear__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
html:not(.has-gsap) .gear__stage { position: relative; }
.gear__glow { position: absolute; inset: 0; background: radial-gradient(55% 50% at 50% 58%, rgba(201, 169, 106, 0.14), transparent 70%); pointer-events: none; }
.gear__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gear__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; filter: saturate(0.5); }
.gear__fallback[hidden] { display: none; }
.gear__ui { position: relative; height: 100%; display: grid; grid-template-columns: minmax(240px, 400px) 1fr minmax(260px, 360px); align-items: center; pointer-events: none; }
.gear__head { align-self: start; padding-top: 124px; display: grid; gap: 16px; }
.gear__head .h2 { font-size: clamp(22px, 2.6vw, 38px); }
.gear__head .section__intro { font-size: 15px; max-width: 340px; }
.gear__panels { grid-column: 3; position: relative; height: 340px; }
.gpanel { position: absolute; inset: 0; display: grid; gap: 12px; align-content: start; opacity: 0; will-change: transform, opacity; }
.gpanel__idx { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.3em; color: var(--accent); }
.gpanel h3 { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); line-height: 1.3; }
.gpanel__zone { color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.gpanel dl { display: grid; gap: 12px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.gpanel dl div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.gpanel dt { font-family: var(--font-display); font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); padding-top: 3px; }
.gpanel dd { color: #d6d3cb; font-size: 14px; }
.gear__dots { position: absolute; left: 50%; bottom: 40px; translate: -50% 0; display: flex; gap: 10px; }
.gear__dots i { width: 28px; height: 2px; background: var(--line-strong); transition: background 0.4s; }
.gear__dots i.is-active { background: var(--accent); }

/* FACILITY : stacked cards ---------------------------------------- */
.stack__cards { display: grid; gap: 24px; }
.scard { position: sticky; top: 96px; height: min(76vh, 720px); border-radius: 6px; overflow: hidden; background: #000; isolation: isolate; transform-origin: top center; will-change: transform, filter; }
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) brightness(0.92) contrast(1.04); z-index: -1; }
.scard--strength img { object-position: 50% 34%; }
.scard--cardio img { object-position: 40% 70%; }
.scard--hybrid img { object-position: 50% 70%; }
.scard--recovery img { object-position: 50% 45%; }
.scard .link { margin-top: 6px; }
.scard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.88) 100%); }
.scard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 48px); display: grid; gap: 10px; max-width: 680px; }
.scard__idx { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.3em; color: var(--accent); }
.scard h3 { font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 34px); letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); line-height: 1.15; }
.scard p { color: #cfccc4; font-size: clamp(14px, 1.2vw, 17px); max-width: 520px; }

/* RECOVERY : pinned sequence -------------------------------------- */
.recover { height: 420vh; position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
html:not(.has-gsap) .recover { height: auto; }
.recover__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
html:not(.has-gsap) .recover__stage { position: relative; height: auto; padding-block: 96px; }
.recover__grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.recover__copy { display: grid; gap: 22px; min-width: 0; }
.recover__copy .eyebrow { margin-bottom: 0; }
.rsteps { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rstep { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 0.32; transition: opacity 0.5s var(--ease); }
.rstep.is-active { opacity: 1; }
.rstep__idx { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.26em; color: var(--accent); padding-top: 5px; }
.rstep h3 { font-family: var(--font-display); font-size: clamp(14px, 1.5vw, 20px); letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); line-height: 1.3; }
.rstep p { color: #c9c6be; font-size: 14.5px; max-width: 420px; display: grid; grid-template-rows: 0fr; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin-top 0.6s var(--ease); }
.rstep.is-active p { max-height: 90px; opacity: 1; margin-top: 8px; }
html:not(.has-gsap) .rstep { opacity: 1; }
html:not(.has-gsap) .rstep p { max-height: none; opacity: 1; margin-top: 8px; }
.recover__note { color: var(--muted); font-size: 13px; max-width: 440px; }
.recover__frame { position: relative; aspect-ratio: 5 / 4; max-height: 74svh; width: 100%; justify-self: end; border-radius: 6px; overflow: hidden; background: #000; isolation: isolate; }
.rslide { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.rslide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) contrast(1.03); will-change: transform; }
.rslide--deck img { object-position: 18% 50%; }
.rslide--comp img { object-position: 72% 40%; }
.rslide + .rslide { clip-path: inset(100% 0 0 0); }
.recover__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.55) 100%); pointer-events: none; }
.recover__count { position: absolute; left: 22px; bottom: 18px; z-index: 2; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.3em; color: #d6d3cb; }
.recover__count b { color: var(--accent-2); font-weight: 700; }
html:not(.has-gsap) .recover__frame { aspect-ratio: auto; max-height: none; display: grid; gap: 12px; background: none; }
html:not(.has-gsap) .rslide { position: relative; inset: auto; clip-path: none; aspect-ratio: 5 / 4; border-radius: 6px; }
html:not(.has-gsap) .recover__frame::after, html:not(.has-gsap) .recover__count { display: none; }

/* Taglines marquee ------------------------------------------------ */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line); background: var(--bg); }
.marquee__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); width: max-content; white-space: nowrap; will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 5.4vw, 84px); line-height: 1; color: var(--white); }
.marquee__track span.is-outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); }
.marquee__track i { width: clamp(10px, 1.1vw, 16px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); flex: none; }
html:not(.has-gsap) .marquee__track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Free first day -------------------------------------------------- */
.trial__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.trial__media { margin: 0; display: grid; gap: 12px; }
.trial__img { aspect-ratio: 4 / 5; max-height: 82svh; overflow: hidden; border-radius: 6px; background: var(--bg-3); }
.trial__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(0.82) contrast(1.05); }
.trial__copy { display: grid; gap: 26px; justify-items: start; }
.trial__copy .eyebrow { margin-bottom: 0; }
.trial__copy .lead { max-width: 520px; }
.trial__list { display: grid; gap: 12px; }
.trial__list li { position: relative; padding-left: 24px; color: #cfccc4; font-size: 15px; }
.trial__list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--accent); }
.credit { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #77746d; }
.credit--corner { position: absolute; right: var(--gutter); bottom: 18px; z-index: 2; color: rgba(255, 255, 255, 0.45); }

/* MEASURE : mask reveal ------------------------------------------- */
.measure { height: 220vh; position: relative; }
html:not(.has-gsap) .measure { height: auto; }
.measure__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; background: var(--bg); isolation: isolate; }
html:not(.has-gsap) .measure__stage { position: relative; padding-block: 120px; height: auto; }
.measure__bg { position: absolute; inset: 0; clip-path: circle(0% at 50% 50%); will-change: clip-path; z-index: -1; }
html:not(.has-gsap) .measure__bg { clip-path: none; }
.measure__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; filter: saturate(0.85) contrast(1.04); will-change: transform; }
.measure__shade { position: absolute; inset: 0; background: radial-gradient(90% 80% at 50% 50%, rgba(7, 7, 7, 0.74), rgba(7, 7, 7, 0.9)); opacity: 0; }
html:not(.has-gsap) .measure__shade { opacity: 1; }
.measure__content { position: relative; text-align: center; display: grid; justify-items: center; gap: 26px; max-width: 900px; }
.measure__content .eyebrow { margin-bottom: 0; }
.measure__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 3.6vw, 48px); line-height: 1.12; color: var(--white); text-wrap: balance; }
.measure__title .word { will-change: opacity; }
.measure__content .lead { max-width: 620px; }
.measure__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 820px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; text-align: left; }
.stat { display: grid; gap: 6px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.9vw, 26px); color: var(--white); letter-spacing: 0.02em; }
.stat__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Membership ----------------------------------------------------- */
.membership { background: var(--bg-2); border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { --mx: 50%; --my: 50%; position: relative; background: var(--bg); border: 1px solid var(--line); padding: 44px 36px 36px; display: flex; flex-direction: column; gap: 22px; border-radius: var(--radius); transition: border-color 0.4s var(--ease); will-change: transform; }
.plan:hover { border-color: var(--line-strong); }
.plan::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(201, 169, 106, 0.16), transparent 60%); opacity: 0; transition: opacity 0.5s var(--ease); }
.plan:hover::before { opacity: 1; }
.plan--featured { border-color: rgba(201, 169, 106, 0.55); background: linear-gradient(180deg, #121110 0%, var(--bg) 100%); }
.plan__badge { position: absolute; top: -13px; left: 36px; background: var(--accent); color: #000; font-family: var(--font-display); font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; padding: 8px 14px; animation: badgePulse 3s ease-in-out infinite; }
@keyframes badgePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 106, 0.35); } 50% { box-shadow: 0 0 0 8px rgba(201, 169, 106, 0); } }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.25; text-transform: uppercase; color: var(--white); }
.plan__name .plus { color: var(--accent); }
.plan__for { color: var(--muted); font-size: 14px; margin-top: -12px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; padding-block: 16px; border-block: 1px solid var(--line); }
.plan__tag { width: 100%; font-family: var(--font-display); font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.plan__later { width: 100%; color: var(--muted); font-size: 13px; }
.plan__now { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); color: var(--white); letter-spacing: 0.01em; }
.plan__per { width: 100%; color: #bdbab2; font-size: 13px; margin-top: -2px; }
.plan__list { display: grid; gap: 12px; flex: 1; align-content: start; }
.plan__list li { position: relative; padding-left: 24px; color: #cfccc4; font-size: 14.5px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1px; background: var(--accent); }
.plans__note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 36px; letter-spacing: 0.02em; }

.plans__note--tight { margin-top: 20px; }
.passes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.pass { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 28px 28px 30px; display: grid; gap: 10px; align-content: start; }
.pass__name { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.pass__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); color: var(--white); }
.pass p { color: var(--muted); font-size: 14px; }
.pass--soon { border-style: dashed; }
.pass--soon .pass__price { color: #bdbab2; font-size: clamp(14px, 1.3vw, 17px); letter-spacing: 0.08em; text-transform: uppercase; }
.terms { margin-top: clamp(64px, 8vw, 110px); scroll-margin-top: 96px; }
.terms__title { font-family: var(--font-display); font-size: clamp(14px, 1.5vw, 19px); letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 28px; }
.terms__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin: 0; border-top: 1px solid var(--line); }
.term { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.term dt { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); }
.term dd { color: #cfccc4; font-size: 14.5px; line-height: 1.6; }
.terms__fine { color: #77746d; font-size: 12.5px; margin-top: 22px; max-width: 760px; }

/* Contact -------------------------------------------------------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.contact__info .lead { margin-top: 22px; margin-bottom: 40px; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.details dt { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.details dd { color: #d6d3cb; font-size: 15px; line-height: 1.6; }
.details a:hover { color: var(--accent-2); }
.map { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); transition: border-color 0.3s var(--ease); }
.map:hover { border-color: var(--accent); }
.map__pin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent); position: relative; }
.map__pin::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.map__text { display: grid; gap: 4px; min-width: 0; }
.map__text strong { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); }
.map__text span { color: var(--muted); font-size: 13px; }
.map__arrow { color: var(--accent); font-size: 18px; }
.form { position: relative; background: var(--bg); border: 1px solid var(--line); padding: clamp(28px, 3.5vw, 48px); display: grid; gap: 20px; border-radius: var(--radius); }
.form__title { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.form__sub { color: var(--muted); font-size: 14px; margin-top: -10px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--bg-3); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 15px; padding: 14px 16px; border-radius: var(--radius); outline: none; transition: border-color 0.3s var(--ease); -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%239b9891' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field input.is-invalid { border-color: #c9655f; }
.form__fine { color: #6f6d67; font-size: 12px; line-height: 1.5; }
.form__fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form__fine a:hover { color: var(--accent-2); }
.form__error { color: #e0a39c; font-size: 13.5px; border: 1px solid rgba(201, 101, 95, 0.5); border-radius: var(--radius); padding: 12px 14px; }
.form button[disabled] { opacity: 0.6; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Legal pages ---------------------------------------------------- */
.legal { padding-block: 150px 100px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 4vw, 44px); line-height: 1.1; color: var(--white); margin-bottom: 14px; }
.legal h2 { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin: 44px 0 14px; }
.legal p, .legal li { color: #cfccc4; font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.legal__meta { color: var(--muted); font-size: 14px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 64px 0 0; }
.legal__back { display: inline-block; margin-bottom: 40px; }
.form__success { position: absolute; inset: 0; background: var(--bg); display: grid; place-content: center; text-align: center; gap: 12px; padding: 40px; border-radius: var(--radius); animation: fadeUp 0.6s var(--ease); }
.form__success[hidden] { display: none; }
.form__check { width: 56px; height: 56px; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; display: grid; place-items: center; font-size: 22px; margin-inline: auto; margin-bottom: 10px; }
.form__success h4 { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.form__success p { color: var(--muted); font-size: 14px; max-width: 320px; }

/* Footer --------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-top: 72px; background: var(--bg); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { height: 18px; width: auto; margin-bottom: 22px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 340px; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h4 { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.footer__col a, .footer__col p { color: #bdbab2; font-size: 14px; }
.footer__col a:hover { color: var(--white); }
.footer__big { overflow: hidden; padding-top: 10px; }
.footer__big span { display: block; text-align: center; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 17vw, 260px); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12); }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #6f6d67; font-size: 12px; letter-spacing: 0.04em; }
.footer__bottom a:hover { color: var(--white); }

/* Reveal (no-GSAP fallback) -------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible, html.has-gsap .reveal { opacity: 1; transform: none; transition: none; }
[data-tilt] { transform-style: preserve-3d; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__ringsvg, .hero__needle, .hero__cue i::after, .plan__badge { animation: none; }
  .cursor, .progress { display: none !important; }
  html { scroll-behavior: auto; }
}

/* Responsive ----------------------------------------------------- */
@media (max-width: 1280px) {
  .nav__links { gap: 24px; }
  .nav__links a { font-size: 9px; letter-spacing: 0.2em; }
  .nav__right { gap: 18px; }
}
@media (max-width: 1100px) {
  .terms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars4 { grid-template-columns: repeat(2, 1fr); }
  .pillar { min-height: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .nav__cta { display: none; }
  .gear__ui { grid-template-columns: minmax(220px, 320px) 1fr minmax(220px, 300px); }
  .hero__intro { max-width: 330px; }
}
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 0; background: var(--bg); padding: 120px var(--gutter) 48px; flex-direction: column; gap: 26px; align-items: flex-start; transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s; z-index: -1; }
  .nav__links.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav__links a { font-size: 16px; letter-spacing: 0.2em; }
  .nav__links a::after { display: none; }
  .nav__mobile-cta { display: block; margin-top: 20px; width: 100%; }
  .nav__mobile-cta .btn { width: 100%; }
  .nav.is-scrolled .nav__inner, .nav__inner { height: 68px; }
  .burger { display: block; }
  .section__head { grid-template-columns: 1fr; gap: 20px; }
  .contact__grid { grid-template-columns: 1fr; }
  .plans, .passes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .trial__grid { grid-template-columns: 1fr; }
  .trial__img { aspect-ratio: 4 / 4.4; max-height: 70svh; }
  .plan--featured { order: -1; }

  .hero__stage { --ring: min(78vw, 70svh); --ring-y: 44%; }
  .hero__view img { object-position: 28% 50%; }
  .hero__word--l { top: 12%; }
  .hero__word--r { bottom: 30%; }
  .hero__intro { bottom: 32px; max-width: none; right: var(--gutter); }
  .hero__sub { display: none; }
  .hero__cue { display: none; }

  .gear { height: 300vh; }

  .recover { height: 380vh; }
  .recover__stage { align-items: stretch; }
  .recover__grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 18px; height: 100%; padding-block: 84px 20px; align-items: start; }
  .recover__frame { order: -1; aspect-ratio: auto; height: 38svh; max-height: none; }
  .recover__copy { gap: 12px; }
  .recover__copy .h2 { font-size: clamp(22px, 6vw, 30px); }
  .rsteps { margin-top: 2px; }
  .rstep { padding: 11px 0; grid-template-columns: 36px 1fr; }
  .rstep p { font-size: 13.5px; }
  .recover__note { display: none; }
  .gear__ui { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; align-items: end; }
  .gear__head { padding-top: 96px; grid-row: 1; }
  .gear__head .section__intro { display: none; }
  .gear__panels { grid-column: 1; grid-row: 3; height: 250px; margin-bottom: 72px; }
  .gear__dots { bottom: 28px; }

  .scard { top: 80px; height: min(70vh, 560px); }
  .measure__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillars4, .terms__grid { grid-template-columns: 1fr; }
  .hero__insidetitle { font-size: clamp(30px, 9.6vw, 44px); }
  .details, .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.5; }
  .hero__title { font-size: clamp(38px, 11.5vw, 60px); }
  .hero__word--l { top: 14%; }
  .hero__word--r { bottom: 34%; }
  .scard { height: min(64vh, 480px); }
  .gpanel dl div { grid-template-columns: 72px 1fr; }
}
