/* ============================================================
   ĢIRTS PITĒRNIKS — premium editorial demo
   Vanilla CSS · hardware-accelerated · mobile-first
   No image dependencies. CSS-only visual system.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --bg:        #F5F5F3;
  --bg-elev:  #FBFBF9;
  --bg-warm:  #EFEDE6;
  --ink:      #15171C;
  --ink-soft: #34373E;
  --muted:    #7C8089;
  --muted-2:  #C4C7CC;
  --line:     #E2E2DD;

  /* cool palette */
  --navy:     #1B2230;
  --navy-d:   #0E121B;
  --steel:    #4A5568;
  --steel-l:  #8C95A4;
  --cream:    #EDEAE0;
  --accent:   #E8371E;     /* heat — sparingly */
  --accent-d: #C92E18;
  --signal:   #5B8DEF;     /* cool-blue glow for featured */
  --signal-d: #3F6EC2;

  --ff-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --ff-body:    "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max:        1280px;
  --pad-x:      clamp(20px, 4vw, 56px);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 1px 0 rgba(20,22,28,.04), 0 8px 24px -16px rgba(20,22,28,.18);
  --shadow-md: 0 1px 0 rgba(20,22,28,.05), 0 24px 48px -28px rgba(20,22,28,.28);
  --shadow-deep: 0 30px 80px -40px rgba(20,22,28,.55);

  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:  220ms;
  --t-mid:   480ms;
  --t-slow:  880ms;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }

/* ---------- REVEAL ENGINE ---------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity var(--t-mid) var(--ease),
    transform var(--t-mid) var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px var(--pad-x);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  letter-spacing: -0.01em;
}
.nav__brand-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--ink) 0%, var(--ink) 50%, var(--accent) 50%, var(--accent) 100%);
  position: relative;
  flex: 0 0 auto;
}
.nav__brand-mark::after {
  content: "GP";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  letter-spacing: 0.04em;
  mix-blend-mode: difference;
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav__brand-text > span { font-weight: 700; font-size: 17px; color: var(--ink); }
.nav__brand-text em {
  font-style: normal;
  font-family: var(--ff-body);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.nav__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast) var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ink);
  transition: right var(--t-mid) var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: transform var(--t-fast) var(--ease-2), background var(--t-fast) var(--ease);
  will-change: transform;
  min-height: 40px;
}
.nav__cta:hover { background: var(--accent); transform: translate3d(0,-1px,0); }
.nav__cta:active { transform: translate3d(0,1px,0); }
@media (max-width: 880px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease-2),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  will-change: transform;
  text-align: center;
  min-height: 48px;
}
.btn:active { transform: translate3d(0, 1px, 0); }
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent);
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 12px 28px -12px rgba(232, 55, 30, .55);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translate3d(0, -1px, 0);
}
.btn--block { width: 100%; justify-content: center; padding-top: 16px; padding-bottom: 16px; }

/* ---------- COMMON ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: rgba(255,255,255,.7); }
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,55,30,.12);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,55,30,.12); }
  50%      { box-shadow: 0 0 0 8px rgba(232,55,30,.04); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 96px) var(--pad-x) clamp(64px, 7vw, 112px);
  max-width: var(--max);
  margin: 0 auto;
  isolation: isolate;
  overflow: hidden;
  overflow-x: clip;
}

/* Hero noise overlay layer (uses SVG filter) */
.hero__noise { position: absolute; width: 0; height: 0; }
.hero::before { /* extended below */ }
.hero > .hero__barbell {
  position: absolute;
  inset: -8% -4%;
  width: 108%;
  height: 116%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.92;
}
.hero__barbell-path {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: drawBarbell 2.6s var(--ease) 0.3s forwards;
}
@keyframes drawBarbell {
  to { stroke-dashoffset: 0; }
}
.hero__dot {
  opacity: 0;
  transform-origin: center;
}
.hero__dot--1 { animation: floatDot 5.4s var(--ease) 1.5s infinite; }
.hero__dot--2 { animation: floatDot 6.8s var(--ease) 2.1s infinite; }
.hero__dot--3 { animation: floatDot 4.6s var(--ease) 1.9s infinite; }
.hero__dot--4 { animation: floatDot 7.2s var(--ease) 2.6s infinite; }
@keyframes floatDot {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(0.4); }
  20%  { opacity: 0.75; }
  50%  { opacity: 0.95; transform: translate3d(8px, -14px, 0) scale(1.1); }
  80%  { opacity: 0.4; }
  100% { opacity: 0; transform: translate3d(-6px, 8px, 0) scale(0.4); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__barbell-path { animation: none; stroke-dashoffset: 0; }
  .hero__dot { animation: none; opacity: 0.6; }
}

/* gradient mesh background — cool-grey drift WITH noise texture */
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -8% -10% -8%;
  z-index: -2;
  background:
    radial-gradient(70% 55% at 18% 20%, rgba(91, 141, 239, .18), transparent 65%),
    radial-gradient(50% 50% at 88% 30%, rgba(74, 85, 104, .14), transparent 70%),
    radial-gradient(60% 60% at 70% 90%, rgba(232, 55, 30, .08), transparent 65%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-warm) 60%, var(--bg) 100%);
  filter: blur(0.5px) url(#noise-grain);
  animation: meshDrift 24s var(--ease) infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-1.5%, 1%, 0) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}

/* faint grid overlay for editorial texture */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(20,22,28,0.035) 1px, transparent 1px);
  background-size: 64px 100%;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
  pointer-events: none;
}

/* TOP MONO STRIP — editorial dateline */
.hero__topstrip {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 56px);
  max-width: calc(100% - 160px); /* leave room for HYROX badge top-right */
  overflow: hidden;
}
@media (max-width: 720px) {
  .hero__topstrip { max-width: calc(100% - 110px); }
}
.hero__topstrip-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,55,30,.12);
  animation: pulse 2.4s var(--ease) infinite;
  flex: 0 0 auto;
}
.hero__topstrip-item { color: var(--ink); font-weight: 700; }
.hero__topstrip-sep { color: var(--muted-2); font-weight: 400; }
@media (max-width: 540px) {
  .hero__topstrip { font-size: 9.5px; gap: 8px; letter-spacing: 0.16em; padding: 4px 0 14px; margin-bottom: 24px; }
}

/* CENTERED STACK — single column composition */
.hero__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 32px);
  max-width: 100%;
  position: relative;
}
.hero__kicker { align-self: flex-start; font-size: 13px; letter-spacing: 0.2em; }

/* POSTER COUNTER — the centerpiece */
.hero__poster {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.4vw, 18px) 0;
  max-width: 100%;
  isolation: isolate;
  overflow: hidden;
}
.hero__poster-tick {
  position: absolute;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink) 30%, var(--ink) 70%, transparent);
  width: clamp(40px, 8vw, 120px);
  opacity: 0;
  animation: posterTick 1.2s var(--ease) 0.6s forwards;
}
.hero__poster-tick--l { left: 0; transform: translateY(-50%); }
.hero__poster-tick--r { right: 0; transform: translateY(-50%); }
@keyframes posterTick {
  to { opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__poster-tick { animation: none; opacity: 0.5; }
}
.hero__poster-num {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 0.78;
  isolation: isolate;
  letter-spacing: -0.06em;
}
.hero__poster-num::after {
  /* faint outline echo of the number behind for depth */
  content: attr(data-echo);
  position: absolute; left: 50%; top: 10px; z-index: -1;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(140px, 22vw, 320px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(91, 141, 239, .28);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  line-height: 0.78;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.hero__counter {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(140px, 22vw, 320px);
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  background: linear-gradient(180deg, var(--ink) 0%, var(--steel) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-align: right;
  min-width: 1.3em;
  line-height: 0.78;
}
.hero__counter-plus {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(60px, 10vw, 150px);
  letter-spacing: -0.04em;
  color: var(--accent);
  display: inline-block;
  vertical-align: top;
  line-height: 0.78;
  margin-left: 0.04em;
  transform: translateY(0.1em);
}
.hero__poster-cap {
  margin-top: clamp(8px, 1vw, 14px);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* LAYERED DISPLAY HEADLINE — "PRAKSE KAS PALIEK." with ghost "PIEREDZE" behind */
.hero__headline {
  margin: 0;
  letter-spacing: -0.025em;
  font-weight: 900;
  text-align: center;
  position: relative;
}
.hero__layered {
  position: relative;
  display: block;
  line-height: 0.86;
  isolation: isolate;
  min-height: 0.9em;
  padding: 0.18em 0 0.04em;
  overflow: hidden;
}
.hero__layered-back {
  position: absolute;
  left: 50%; top: 0;
  transform: translate3d(calc(-50% - 12px), 0, 0);
  z-index: 0;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(91,141,239,0.36);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  animation: layeredIn 1.2s var(--ease) 0.5s forwards;
}
.hero__layered-front {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(56px, 11vw, 130px);
  line-height: 0.86;
  letter-spacing: -0.025em;
  color: var(--steel);
  text-align: center;
}
@keyframes layeredIn {
  to { opacity: 1; transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 540px) {
  .hero__layered { padding: 0.24em 0 0.06em; }
  .hero__layered-back {
    font-size: clamp(28px, 6vw, 44px);
    -webkit-text-stroke-width: 1px;
  }
  .hero__layered-front {
    font-size: clamp(38px, 10.5vw, 64px);
  }
}

/* BELOW — lede, CTAs, stats */
.hero__below {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 28px);
  max-width: 720px;
  margin: clamp(8px, 1.4vw, 20px) auto 0;
  text-align: center;
  align-items: center;
  width: 100%;
}
.hero__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__quickstats {
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 2.2vw, 26px);
  width: 100%;
  max-width: 640px;
}
.hero__quickstats > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; align-items: center; }
.hero__quickstats dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.hero__quickstats dd {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 18px);
  margin: 0;
  letter-spacing: -0.01em;
  text-align: center;
}

/* DESKTOP CHAPTER MARK — monogram + waveform integrated as a side rail */
.hero__chapter {
  position: absolute;
  top: clamp(96px, 9vw, 130px);
  right: var(--pad-x);
  width: clamp(140px, 13vw, 180px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 16px 14px 14px;
  border-left: 1px solid var(--line);
  z-index: 2;
  pointer-events: none;
}
.hero__chapter-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-display);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.hero__chapter-meta b { color: var(--ink); font-weight: 800; }
.hero__chapter-signal {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-top: 2px;
}
.hero__chapter-pulse {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,55,30,.18);
  animation: pulse 2s var(--ease) infinite;
  flex: 0 0 auto;
}
.hero__chapter-label { white-space: nowrap; }
.hero__chapter .hero__waveform {
  width: 100%;
  max-width: 100%;
  height: 24px;
}
.hero__chapter .hero__waveform-bars rect { fill: rgba(20,22,28,.55); }
.hero__chapter .hero__waveform-bars rect:nth-child(odd)  { fill: var(--signal); }

/* Animated drawn-line monogram */
.hero__mono-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(91,141,239,.18));
}
.hero__mono-path {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawMono 2.2s var(--ease) 0.6s forwards;
}
.hero__mono-path--accent {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawMono 0.6s var(--ease) 2.4s forwards;
}
@keyframes drawMono {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__mono-path, .hero__mono-path--accent { animation: none; stroke-dashoffset: 0; }
}

/* Waveform suggesting movement — kinetic bars */
.hero__waveform {
  width: 200px;
  height: 28px;
  margin-top: 6px;
  opacity: 0.85;
}
.hero__waveform-bars rect {
  fill: rgba(255,255,255,0.78);
  transform-origin: center;
  animation: waveBar 1.8s var(--ease) infinite;
}
.hero__waveform-bars rect:nth-child(odd)  { fill: var(--signal); }
.hero__waveform-bars rect:nth-child(3n)   { animation-duration: 2.2s; }
.hero__waveform-bars rect:nth-child(4n)   { animation-duration: 1.4s; }
.hero__waveform-bars rect:nth-child(5n)   { animation-duration: 2.6s; }
.hero__waveform-bars rect:nth-child(2)    { animation-delay: 0.1s; }
.hero__waveform-bars rect:nth-child(3)    { animation-delay: 0.2s; }
.hero__waveform-bars rect:nth-child(4)    { animation-delay: 0.05s; }
.hero__waveform-bars rect:nth-child(5)    { animation-delay: 0.3s; }
.hero__waveform-bars rect:nth-child(6)    { animation-delay: 0.15s; }
.hero__waveform-bars rect:nth-child(7)    { animation-delay: 0.25s; }
.hero__waveform-bars rect:nth-child(8)    { animation-delay: 0.4s; }
.hero__waveform-bars rect:nth-child(9)    { animation-delay: 0.1s; }
.hero__waveform-bars rect:nth-child(10)   { animation-delay: 0.35s; }
@keyframes waveBar {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__waveform-bars rect { animation: none; }
}
.hero__scrollhint {
  position: absolute;
  right: var(--pad-x);
  bottom: 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scrollhint span {
  width: 32px; height: 1px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero__scrollhint span::after {
  content: "";
  position: absolute; left: -32px; top: 0;
  width: 32px; height: 1px;
  background: var(--accent);
  animation: slide 2.4s var(--ease) infinite;
}
@keyframes slide {
  to { transform: translateX(64px); }
}
.hero__scrollhint em { font-style: normal; }

@media (max-width: 1080px) {
  /* Tighten chapter rail on smaller desktops */
  .hero__chapter { width: 130px; padding: 12px 10px; top: clamp(80px, 8vw, 110px); }
  .hero__chapter-meta { font-size: 9px; letter-spacing: 0.14em; }
  .hero__chapter-signal { font-size: 9px; letter-spacing: 0.14em; }
  .hero__chapter .hero__waveform { height: 20px; }
}
@media (max-width: 880px) {
  /* Hide chapter rail to avoid crowding the centerpiece on tablets */
  .hero__chapter { display: none; }
  .hero__quickstats { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; padding-top: 18px; }
  .hero__quickstats dt { font-size: 9.5px; letter-spacing: 0.08em; }
  .hero__quickstats dd { font-size: clamp(12px, 2.4vw, 15px); }
  .hero__scrollhint { display: none; }
}
@media (max-width: 540px) {
  /* Mobile: poster centerpiece stays huge. Chapter rail hidden. */
  .hero { padding: clamp(36px, 8vw, 64px) var(--pad-x) clamp(48px, 8vw, 80px); }
  .hero__chapter { display: none; }

  /* Reduce floating dots to two — less noise behind the centerpiece */
  .hero__dot--3, .hero__dot--4 { display: none; }
  .hero__dot--1, .hero__dot--2 { opacity: 0.5; }

  /* Counter stays MASSIVE — the unique selling point */
  .hero__counter { font-size: clamp(96px, 30vw, 180px); }
  .hero__counter-plus { font-size: clamp(48px, 14vw, 90px); }
  .hero__poster-cap { font-size: 10px; letter-spacing: 0.24em; }

  .hero__lede { font-size: 16px; line-height: 1.55; max-width: 40ch; }

  /* CTAs — full-width, stacked */
  .hero__cta-row { flex-direction: column; gap: 10px; align-items: stretch; width: 100%; max-width: 360px; }
  .hero__cta-row .btn { width: 100%; justify-content: center; padding: 14px 18px; font-size: 14px; min-height: 48px; }

  /* Quickstats — keep 3-up but tighter */
  .hero__quickstats { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding-top: 18px; }
  .hero__quickstats dt { font-size: 9.5px; letter-spacing: 0.08em; }
  .hero__quickstats dd { font-size: 13px; letter-spacing: -0.005em; }
}
@media (max-width: 360px) {
  .hero__counter { font-size: clamp(80px, 28vw, 140px); }
  .hero__counter-plus { font-size: clamp(40px, 12vw, 64px); }
  .hero__quickstats dd { font-size: 12px; }
  .hero__lede { font-size: 15px; }
}

/* HYROX badge — floats top-right of hero, subtle pulse */
.hyrox-badge {
  position: absolute;
  top: 22px; right: var(--pad-x);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: rgba(20,22,28,.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 24px -12px rgba(20,22,28,.55);
  z-index: 4;
  animation: hyroxPulse 3.6s var(--ease) infinite;
}
.hyrox-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(91,141,239,.25);
  animation: pulse 2s var(--ease) infinite;
}
/* speed lines after the badge */
.hyrox-badge::after {
  content: "";
  position: absolute;
  right: calc(100% + 10px);
  top: 50%; transform: translateY(-50%);
  width: 36px; height: 6px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(91,141,239,0) 0%, rgba(91,141,239,.55) 50%, transparent 100%);
  background-size: 60% 1.5px;
  background-repeat: no-repeat;
  background-position: 0 0, 0 3px, 0 6px;
  background-image:
    linear-gradient(90deg, transparent, rgba(91,141,239,.65)),
    linear-gradient(90deg, transparent, rgba(91,141,239,.4)),
    linear-gradient(90deg, transparent, rgba(91,141,239,.25));
  background-size: 32px 1.5px, 24px 1.5px, 18px 1.5px;
  background-position: 4px 0, 0 3px, 8px 6px;
  pointer-events: none;
  opacity: 0;
  animation: speedLines 2.4s var(--ease) infinite;
}
@keyframes speedLines {
  0%   { opacity: 0; transform: translate(8px, -50%); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-12px, -50%); }
}
/* pulsing arc */
.hyrox-badge__arc {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1.5px solid rgba(91,141,239,.45);
  pointer-events: none;
  opacity: 0;
  animation: arcPulse 2.6s var(--ease) infinite;
}
@keyframes arcPulse {
  0%   { transform: scale(1);   opacity: 0; }
  30%  { opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hyrox-badge__arc, .hyrox-badge::after { animation: none; opacity: 0; }
}
@keyframes hyroxPulse {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .hyrox-badge { animation: none; }
}
@media (max-width: 880px) {
  .hyrox-badge { top: 16px; right: 16px; font-size: 10px; padding: 6px 10px; letter-spacing: 0.18em; }
  /* Speed lines — shorter but still visible */
  .hyrox-badge::after {
    width: 24px; height: 6px;
    right: calc(100% + 6px);
    background-size: 22px 1.5px, 16px 1.5px, 12px 1.5px;
  }
}
@media (max-width: 540px) {
  /* Keep speed-lines visible per spec — just shorter */
  .hyrox-badge { font-size: 9px; padding: 4px 8px; letter-spacing: 0.14em; }
  .hyrox-badge::after {
    display: block;
    width: 18px; height: 6px;
    right: calc(100% + 4px);
    background-size: 16px 1.2px, 12px 1.2px, 9px 1.2px;
  }
}
@media (max-width: 360px) {
  .hyrox-badge::after { width: 12px; background-size: 12px 1px, 9px 1px, 6px 1px; }
}

/* ---------- TICKER ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 2; pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--ink), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerMove 36s linear infinite;
  will-change: transform;
}
.ticker__group {
  display: flex; align-items: center; gap: 28px;
  padding: 22px 28px 22px 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ticker__item b {
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-right: 6px;
}
.ticker__sep { color: rgba(255,255,255,.35); font-weight: 400; }
@keyframes tickerMove {
  to { transform: translate3d(-50%, 0, 0); }
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ---------- CREDENTIALS — asymmetric, heavy numerals ---------- */
.credentials {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 140px) var(--pad-x) clamp(48px, 6vw, 80px);
}
.credentials__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.credentials__head h2 {
  font-size: clamp(36px, 5.5vw, 76px);
  letter-spacing: -0.02em;
}
.credentials__lede {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.6;
}

/* asymmetric grid — varying spans, no uniform 3x2 */
.credentials__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.cred {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.6vw, 38px) clamp(24px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease);
  min-height: 220px;
}
.cred:hover {
  background: #fff;
  border-color: var(--ink);
  transform: translate3d(0, -3px, 0);
  box-shadow: var(--shadow-md);
}
/* heavy numeral faded behind copy */
.cred__num {
  position: absolute;
  right: -10px; top: -12px;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(120px, 14vw, 200px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: rgba(20,22,28,.04);
  z-index: -1;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  transition: color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.cred:hover .cred__num {
  color: rgba(232,55,30,.06);
  transform: translate3d(-4px, 0, 0);
}
.cred__tag {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.cred__tag::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--accent);
}
.cred h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.012em;
  position: relative; z-index: 1;
}
.cred p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  position: relative; z-index: 1;
}

/* asymmetric spans — desktop */
.cred--big   { grid-column: span 7; min-height: 260px; }
.cred--small { grid-column: span 5; }
.cred--mid   { grid-column: span 6; }
.cred--mid h3, .cred--big h3 { font-size: clamp(24px, 2.4vw, 34px); }

@media (max-width: 1080px) {
  .cred--big, .cred--small, .cred--mid { grid-column: span 6; }
}
@media (max-width: 680px) {
  .credentials__head { grid-template-columns: 1fr; gap: 16px; }
  .credentials__head h2 { font-size: clamp(30px, 8.6vw, 48px); }
  /* Keep multi-col on mobile — clean 2x3 pack (mirrors desktop's 6-card composition, scaled) */
  .credentials__grid { gap: 10px; }
  .cred, .cred--big, .cred--small, .cred--mid { grid-column: span 6; min-height: 170px; }
  .cred--big { min-height: 200px; }
  .cred { padding: clamp(14px, 3vw, 22px) clamp(12px, 2.6vw, 18px); gap: 10px; }
  .cred h3 { font-size: clamp(15px, 3.6vw, 19px); }
  .cred--big h3, .cred--mid h3 { font-size: clamp(16px, 4vw, 20px); }
  .cred p { font-size: 11.5px; line-height: 1.45; }
  .cred__tag { font-size: 9px; letter-spacing: 0.12em; }
  .cred__icon { width: 28px; height: 28px; }
  .cred__num { font-size: clamp(62px, 16vw, 92px); right: -4px; top: -4px; }
}
@media (max-width: 480px) {
  /* Stay 3-col-ish proportional — keep big/small ratios visible */
  .credentials__grid { gap: 8px; }
  .cred { padding: 12px 10px; gap: 8px; min-height: 140px; }
  .cred--big { min-height: 150px; }
  .cred h3, .cred--big h3, .cred--mid h3 { font-size: clamp(13px, 3.6vw, 17px); }
  .cred p { font-size: 10.5px; line-height: 1.4; }
  .cred__num { font-size: clamp(48px, 14vw, 72px); }
}
@media (max-width: 360px) {
  .cred { padding: 10px 8px; min-height: 120px; }
  .cred__icon { width: 22px; height: 22px; }
}

/* ---------- ONLINE DEEP DIVE — punch the price ---------- */
.online {
  background: var(--ink);
  color: #fff;
  padding: clamp(72px, 8vw, 128px) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.online::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 50vw; height: 50vw;
  max-width: 540px; max-height: 540px;
  background: radial-gradient(closest-side, rgba(91,141,239,.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.online::after {
  content: "";
  position: absolute;
  bottom: -20%; left: -10%;
  width: 50vw; height: 50vw;
  max-width: 480px; max-height: 480px;
  background: radial-gradient(closest-side, rgba(232,55,30,.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.online > * { position: relative; z-index: 1; }
.online__head {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
}
.online__head .eyebrow { color: rgba(255,255,255,.7); }
.online__head h2 {
  font-size: clamp(38px, 5.6vw, 84px);
  color: #fff;
  letter-spacing: -0.022em;
}

/* Big price block — value-prop punch */
.online__price-hero {
  max-width: var(--max);
  margin: 0 auto clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(91,141,239,.10) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.online__price-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(91,141,239,.04) 0,
    rgba(91,141,239,.04) 1px,
    transparent 1px,
    transparent 18px
  );
  pointer-events: none;
}
.online__price-num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(96px, 18vw, 220px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: #fff;
  position: relative;
  display: inline-flex;
  align-items: flex-start;
}
.online__price-num em {
  font-style: normal;
  font-size: 0.32em;
  font-weight: 800;
  color: var(--signal);
  margin-top: 0.15em;
  margin-left: 0.06em;
  letter-spacing: -0.02em;
}
/* currency curve — animated underline arc */
.online__price-num::after {
  content: "";
  position: absolute;
  left: 6%; right: 6%;
  bottom: -6px;
  height: 6px;
  background: linear-gradient(90deg, transparent 0%, var(--signal) 30%, var(--signal) 70%, transparent 100%);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: curveDraw 2.2s var(--ease) 0.6s forwards;
}
@keyframes curveDraw {
  to { transform: scaleX(1); }
}
.online__price-meta { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.online__price-meta .tag {
  display: inline-flex; width: max-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(91,141,239,.18);
  color: var(--signal);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.online__price-meta h3 {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.018em;
  line-height: 1.05;
}
.online__price-meta p {
  color: rgba(255,255,255,.72);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  max-width: 48ch;
}
@media (max-width: 720px) {
  /* Keep 2-col composition (price | meta) — same as desktop, scaled */
  .online__price-hero { grid-template-columns: auto 1fr; padding: 18px; gap: 16px; }
  .online__price-num { font-size: clamp(56px, 18vw, 96px); }
  .online__price-meta h3 { font-size: clamp(15px, 4vw, 22px); }
  .online__price-meta p { font-size: 12px; line-height: 1.45; }
  .online__price-meta .tag { font-size: 9.5px; padding: 4px 9px; letter-spacing: 0.12em; }
}
@media (max-width: 480px) {
  .online__price-hero { padding: 14px; gap: 10px; }
  .online__price-num { font-size: clamp(46px, 17vw, 72px); }
  .online__price-num em { font-size: 0.30em; }
}
@media (max-width: 360px) {
  .online__price-num { font-size: 42px; }
}

.online__split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.online__copy > p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 56ch;
  margin-bottom: 28px;
}
.online__benefits { display: flex; flex-direction: column; gap: 18px; }
.online__benefits li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: border-color var(--t-fast) var(--ease);
}
.online__benefits li:hover { border-bottom-color: rgba(91,141,239,.6); }
.online__benefits li > span {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--signal);
  letter-spacing: 0.06em;
}
.online__benefits li b { color: #fff; font-weight: 600; display: block; margin-bottom: 4px; font-size: 16px; }
.online__benefits li div { color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.55; }
.online__cta { margin-top: 28px; background: var(--signal); color: #fff; }
.online__cta:hover { background: #fff; color: var(--ink); box-shadow: 0 12px 28px -12px rgba(91,141,239,.55); }

.online__steps {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.4vw, 36px);
  position: relative;
  overflow: hidden;
}
.online__steps::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--signal);
}
.online__steps header { margin-bottom: 24px; padding-left: 12px; }
.online__steps-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal);
  font-weight: 600;
  margin-bottom: 10px;
}
.online__steps h3 {
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.012em;
}
.online__steps ol { display: flex; flex-direction: column; gap: 14px; }
.online__steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.025);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  align-items: start;
}
.online__steps li:hover { background: rgba(255,255,255,.06); transform: translate3d(2px, 0, 0); }
.step-num {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--signal);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 16px;
  flex: 0 0 auto;
}
.online__steps li b { color: #fff; font-weight: 600; display: block; }
.online__steps li p { color: rgba(255,255,255,.6); font-size: 13.5px; margin-top: 2px; }
@media (max-width: 980px) {
  /* Mirror desktop — keep 2-col proportional, scaled gaps */
  .online__head { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 16px; }
  .online__split { grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 18px; }
}
@media (max-width: 540px) {
  .online__head { gap: 10px; }
  .online__head h2 { font-size: clamp(22px, 6.5vw, 36px); }
  /* Phone mockup needs ~280-320px to stay legible — stack only at narrow widths */
  .online__split { grid-template-columns: 1fr; gap: 18px; }
  .online__sidecol { align-items: center; }
  .trainerize-mock { max-width: 320px; margin: 0 auto; }
  .online__copy > p { font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
  .online__benefits { gap: 10px; }
  .online__benefits li { grid-template-columns: 22px 1fr; gap: 10px; padding-bottom: 10px; }
  .online__benefits li > span { font-size: 11px; }
  .online__benefits li b { font-size: 12.5px; margin-bottom: 2px; }
  .online__benefits li div { font-size: 11.5px; line-height: 1.4; }
  .online__steps { padding: 14px; }
  .online__steps header { margin-bottom: 14px; padding-left: 8px; }
  .online__steps h3 { font-size: clamp(14px, 4vw, 18px); }
  .online__steps li { grid-template-columns: 28px 1fr; gap: 10px; padding: 8px; }
  .step-num { width: 24px; height: 24px; font-size: 12px; }
  .online__steps li b { font-size: 12px; }
  .online__steps li p { font-size: 11px; }
  /* Trainerize phone stays at 280-320px so rows remain legible */
  .trainerize-mock__phone { max-width: 280px; }
}
@media (max-width: 360px) {
  .online__split { gap: 10px; }
  .online__benefits li { grid-template-columns: 18px 1fr; gap: 8px; }
}

/* ---------- IN-PERSON STRIP — CSS-only visual block ---------- */
.inperson {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
/* CSS-only visual: layered strips suggesting equipment racks + parallax */
.inperson__visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(80% 50% at 80% 0%, rgba(91,141,239,.18), transparent 65%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 100%);
  box-shadow: var(--shadow-deep);
  isolation: isolate;
  color: #fff;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(20px, 2.4vw, 32px);
}
/* horizontal "rack" lines for parallax motion */
.inperson__visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg,
      transparent 0%, transparent 14%,
      rgba(255,255,255,.04) 14%, rgba(255,255,255,.04) 14.4%,
      transparent 14.4%, transparent 28%,
      rgba(255,255,255,.06) 28%, rgba(255,255,255,.06) 28.5%,
      transparent 28.5%, transparent 46%,
      rgba(255,255,255,.04) 46%, rgba(255,255,255,.04) 46.4%,
      transparent 46.4%, transparent 64%,
      rgba(255,255,255,.06) 64%, rgba(255,255,255,.06) 64.6%,
      transparent 64.6%, transparent 82%,
      rgba(255,255,255,.04) 82%, rgba(255,255,255,.04) 82.4%,
      transparent 82.4%);
  background-size: 100% 200%;
  background-position: 0% var(--parallax-y, 0%);
  transition: background-position 60ms linear;
  pointer-events: none;
}
/* dot grid */
.inperson__visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 90%);
  pointer-events: none;
}
.inperson__visual-overlay {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 8px;
  align-self: end;
}
.inperson__visual-loc {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.inperson__visual-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.015em;
  line-height: 1;
}
.inperson__visual-coord {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--signal);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}
.inperson__visual-stats {
  position: relative; z-index: 1;
  align-self: start;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.inperson__visual-stats span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.inperson__content { display: flex; flex-direction: column; gap: 22px; }
.inperson__content h2 {
  font-size: clamp(36px, 5.2vw, 70px);
  letter-spacing: -0.018em;
}
.inperson__lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}
.inperson__formats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.inperson__formats article {
  background: var(--bg);
  padding: 18px;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.inperson__formats article:hover { background: var(--bg-elev); transform: translate3d(0, -1px, 0); }
.inperson__formats h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--ff-display);
  letter-spacing: -0.005em;
}
.inperson__formats p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 880px) {
  /* Mirror desktop — 2-col proportional, scaled */
  .inperson { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 18px; }
  .inperson__formats { grid-template-columns: repeat(3, 1fr); }
  .inperson__formats h4 { font-size: 13px; }
  .inperson__formats p { font-size: 10.5px; line-height: 1.4; }
  .inperson__formats article { padding: 10px; }
  .inperson__visual { aspect-ratio: 4/5; padding: 14px; }
  .inperson__visual-name { font-size: clamp(16px, 4vw, 24px); }
  .inperson__visual-loc { font-size: 9px; letter-spacing: 0.12em; }
  .inperson__visual-coord { font-size: 9.5px; letter-spacing: 0.10em; }
  .inperson__visual-stats span { padding: 4px 8px; font-size: 9px; letter-spacing: 0.08em; }
  .inperson__visual-dir { padding: 6px 10px; font-size: 9px; letter-spacing: 0.08em; }
  .inperson__content h2 { font-size: clamp(22px, 6vw, 36px); }
  .inperson__lede { font-size: 12.5px; line-height: 1.5; }
}
@media (max-width: 540px) {
  .inperson { gap: 12px; padding: clamp(40px, 9vw, 72px) var(--pad-x); }
  .inperson__visual { padding: 10px; }
  .inperson__visual-name { font-size: 14px; }
  .inperson__visual-stats { gap: 4px; }
  .inperson__visual-stats span { padding: 3px 6px; font-size: 8px; }
  .inperson__formats h4 { font-size: 11px; }
  .inperson__formats p { font-size: 9.5px; }
  .inperson__formats article { padding: 7px; }
}
@media (max-width: 360px) {
  .inperson { grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: 8px; }
}

/* ---------- ABOUT — typographic monogram tile ---------- */
.about {
  background: var(--bg-elev);
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.about__visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(91,141,239,.16), transparent 60%),
    linear-gradient(160deg, var(--steel) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-deep);
  position: sticky; top: 100px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(22px, 2.6vw, 34px);
  color: #fff;
  isolation: isolate;
}
.about__visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.025) 0,
    rgba(255,255,255,.025) 1px,
    transparent 1px,
    transparent 22px
  );
  pointer-events: none;
}
.about__visual-top {
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  position: relative; z-index: 1;
}
.about__visual-top b { color: #fff; font-weight: 700; }
.about__visual-mid {
  display: grid; place-items: center; gap: 12px;
  position: relative; z-index: 1;
  text-align: center;
}
.about__visual-mono {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(8rem, 22vw, 16rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.32) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about__visual-line {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.about__visual-bot {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: end;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.about__visual-bot b { color: var(--accent); font-weight: 700; }

.about__copy { display: flex; flex-direction: column; gap: 22px; }
.about__copy h2 {
  font-size: clamp(38px, 5.4vw, 76px);
  letter-spacing: -0.022em;
}
.about__body { display: flex; flex-direction: column; gap: 16px; }
.about__body p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 56ch;
}
.about__bullets {
  display: flex; flex-direction: column;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.about__bullets li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 16px;
  align-items: baseline;
  font-size: 16px;
  color: var(--ink-soft);
}
.about__bullets li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  flex: 0 0 auto;
  transform: translateY(-2px);
}
.about__bullets li b { color: var(--ink); font-weight: 600; }
@media (max-width: 880px) {
  /* Mirror desktop — keep 2-col, scaled */
  .about { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 18px; padding: clamp(48px, 8vw, 96px) var(--pad-x); }
  .about__visual { position: static; padding: 14px; }
  .about__visual-mono { font-size: clamp(3rem, 14vw, 7rem); }
  .about__visual-line { font-size: 9.5px; letter-spacing: 0.16em; }
  .about__visual-top, .about__visual-bot { font-size: 9px; letter-spacing: 0.12em; }
  .about__copy h2 { font-size: clamp(22px, 6vw, 38px); }
  .about__body p { font-size: 12.5px; line-height: 1.55; }
  .about__bullets li { font-size: 12.5px; padding: 11px 0; gap: 10px; }
}
@media (max-width: 540px) {
  .about { gap: 12px; }
  .about__visual { padding: 10px; }
  .about__visual-mono { font-size: clamp(2.4rem, 12vw, 4.8rem); }
  .about__body p { font-size: 11.5px; }
  .about__bullets li { font-size: 11.5px; padding: 9px 0; }
}
@media (max-width: 360px) {
  .about { grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: 8px; }
}

/* ---------- PRICING — featured online with cool-blue glow ---------- */
.pricing {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
}
.pricing__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(36px, 4vw, 64px); max-width: 720px; }
.pricing__head h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.02em; }
.pricing__head p { color: var(--ink-soft); font-size: 16px; }

.pricing__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.4vw, 36px);
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.plan:hover { transform: translate3d(0, -3px, 0); box-shadow: var(--shadow-md); border-color: var(--ink); }
.plan--feature {
  background: linear-gradient(165deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff;
  border-color: rgba(91,141,239,.4);
  box-shadow: 0 0 0 1px rgba(91,141,239,.18), 0 24px 60px -28px rgba(91,141,239,.45);
  position: relative;
  overflow: hidden;
}
.plan--feature::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    rgba(91,141,239,.4) 90deg,
    transparent 180deg,
    rgba(91,141,239,.2) 270deg,
    transparent 360deg
  );
  z-index: -1;
  border-radius: inherit;
  animation: glowSpin 12s linear infinite;
  opacity: .7;
}
.plan--feature::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--ink) 100%);
  border-radius: calc(var(--r-lg) - 1px);
  z-index: -1;
}
@keyframes glowSpin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .plan--feature::before { animation: none; }
}
.plan--feature:hover {
  box-shadow: 0 0 0 1px rgba(91,141,239,.4), 0 30px 80px -28px rgba(91,141,239,.6);
  border-color: rgba(91,141,239,.6);
}
.plan__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--signal);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  width: max-content;
}
.plan__tag--ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.plan h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.012em;
  margin-top: 10px;
}
.plan header p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.plan--feature header p { color: rgba(255,255,255,.65); }
.plan__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.plan--feature .plan__price { border-color: rgba(255,255,255,.12); }
.plan__price b {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(48px, 5.6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan__price-cur {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  margin-left: 2px;
  color: var(--accent);
}
.plan--feature .plan__price-cur { color: var(--signal); }
.plan__price em {
  font-style: normal;
  margin-left: 12px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan--feature .plan__price em { color: rgba(255,255,255,.55); }
.plan__list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan__list li {
  display: flex; gap: 10px; align-items: baseline;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.plan--feature .plan__list li { color: rgba(255,255,255,.78); }
.plan__list li::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
  transform: translateY(-3px);
}
.plan--feature .plan__list li::before { background: var(--signal); }
.plan__cta { margin-top: 6px; }
.plan--feature .plan__cta.btn--primary { background: var(--signal); }
.plan--feature .plan__cta.btn--primary:hover { background: #fff; color: var(--ink); box-shadow: 0 12px 28px -12px rgba(91,141,239,.55); }
@media (max-width: 980px) {
  /* Keep 3-col proportional on mobile per spec */
  .pricing__grid { grid-template-columns: 1.15fr 1fr 1fr; gap: 10px; }
  .pricing__head h2 { font-size: clamp(24px, 6vw, 40px); }
  .plan { padding: clamp(12px, 2.6vw, 22px); gap: 12px; }
  .plan h3 { font-size: clamp(13px, 3.4vw, 20px); margin-top: 6px; }
  .plan header p { font-size: 10.5px; }
  .plan__price { padding: 10px 0; gap: 3px; }
  .plan__price b { font-size: clamp(26px, 8vw, 44px); }
  .plan__price-cur { font-size: clamp(13px, 3.5vw, 20px); }
  .plan__price em { font-size: 9.5px; margin-left: 6px; letter-spacing: 0.02em; }
  .plan__list { gap: 6px; }
  .plan__list li { font-size: 11px; gap: 6px; }
  .plan__list li::before { width: 8px; }
  .plan__tag { font-size: 9px; padding: 3px 6px; letter-spacing: 0.10em; }
  .plan__cta { padding: 10px 12px; font-size: 11.5px; min-height: 40px; }
}
@media (max-width: 540px) {
  .pricing__grid { gap: 6px; }
  .plan { padding: 10px 8px; gap: 8px; }
  .plan h3 { font-size: clamp(11px, 3.4vw, 16px); }
  .plan__price b { font-size: clamp(22px, 7.5vw, 36px); }
  .plan__list li { font-size: 10px; }
  .plan__cta { padding: 9px 10px; font-size: 10.5px; }
}
@media (max-width: 360px) {
  .pricing__grid { grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
  .plan { padding: 8px 6px; }
}

/* ---------- FAQ — custom smooth accordion ---------- */
.faq {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 112px) var(--pad-x);
}
.faq__head { margin-bottom: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 12px; }
.faq__head h2 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.018em; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list li {
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.faq__list li::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--t-mid) var(--ease);
}
.faq__list li.is-open::before { transform: scaleY(1); }
.faq__list li.is-open { background: var(--bg-elev); }

.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 56px 22px 16px;
  position: relative;
  text-align: left;
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
  min-height: 64px;
}
.faq__btn:hover { color: var(--accent); }
.faq__list li.is-open .faq__btn { padding-left: 22px; }
.faq__btn-num {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  flex: 0 0 auto;
  min-width: 28px;
  font-variant-numeric: tabular-nums;
}
.faq__btn-text { flex: 1; }
.faq__icon {
  position: absolute; right: 16px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  flex: 0 0 auto;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform var(--t-mid) var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__list li.is-open .faq__icon::after { transform: rotate(0); }
.faq__list li.is-open .faq__icon::before { transform: rotate(180deg); }

.faq__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-mid) var(--ease);
}
.faq__list li.is-open .faq__panel { max-height: 400px; }
.faq__panel-inner {
  padding: 0 56px 22px 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 60ch;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--t-mid) var(--ease) 80ms, transform var(--t-mid) var(--ease) 80ms;
}
.faq__list li.is-open .faq__panel-inner { opacity: 1; transform: translateY(0); }

/* FAQ — mobile keeps comfortable touch targets (>=48px), tighter copy */
@media (max-width: 540px) {
  .faq__head h2 { font-size: clamp(22px, 6.5vw, 36px); }
  .faq__btn { padding: 14px 44px 14px 12px; font-size: 14px; min-height: 56px; gap: 10px; }
  .faq__btn-num { font-size: 10px; min-width: 22px; letter-spacing: 0.10em; }
  .faq__icon { right: 12px; width: 14px; height: 14px; }
  .faq__icon::before, .faq__icon::after { width: 14px; }
  .faq__panel-inner { padding: 0 44px 14px 16px; font-size: 12.5px; line-height: 1.55; }
  .faq__list li.is-open .faq__btn { padding-left: 16px; }
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(closest-side, rgba(91,141,239,.18), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  bottom: -10%; left: -10%;
  width: 60vw; height: 60vw;
  max-width: 480px; max-height: 480px;
  background: radial-gradient(closest-side, rgba(232,55,30,.10), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.contact__inner {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--pad-x);
}
.contact h2 {
  font-size: clamp(40px, 6vw, 96px);
  color: #fff;
  letter-spacing: -0.024em;
  margin-bottom: 16px;
}
.contact__lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,.72);
  max-width: 52ch;
  margin-bottom: 40px;
}
.contact__split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-family: var(--ff-body);
  font-size: 15px;
  resize: vertical;
  min-height: 48px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.field textarea { min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--signal);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 4px rgba(91,141,239,.12);
}
.field select option { color: var(--ink); }
.form__small { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 4px; }
.btn--block.btn--primary { background: var(--signal); }
.btn--block.btn--primary:hover { background: #fff; color: var(--ink); box-shadow: 0 12px 28px -12px rgba(91,141,239,.55); }

.contact__direct {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
}
.contact__direct h3 {
  font-size: 14px;
  font-family: var(--ff-body);
  font-weight: 500;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact__line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: baseline;
  transition: padding-left var(--t-fast) var(--ease);
  min-height: 48px;
}
.contact__line:hover { padding-left: 8px; }
.contact__line:hover .contact__line-value { color: var(--signal); }
.contact__line-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 600;
}
.contact__line-value {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -0.005em;
  transition: color var(--t-fast) var(--ease);
  word-break: break-word;
}
.contact__address {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px 0 0;
  align-items: baseline;
  color: rgba(255,255,255,.85);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 20px);
}

/* WhatsApp floating CTA — thumb-reach on mobile */
.wa-fab {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 16px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 40px -12px rgba(37,211,102,.55), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform var(--t-fast) var(--ease-2), box-shadow var(--t-fast) var(--ease);
  min-height: 48px;
  will-change: transform;
}
.wa-fab svg { width: 20px; height: 20px; flex: 0 0 auto; }
.wa-fab:hover { transform: translate3d(0,-2px,0); box-shadow: 0 20px 50px -12px rgba(37,211,102,.65); }
.wa-fab:active { transform: translate3d(0,1px,0); }
.wa-fab__pulse {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(37,211,102,.6);
  animation: waPulse 2.4s var(--ease) infinite;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab__pulse { animation: none; }
}
@media (max-width: 540px) {
  .wa-fab {
    padding: 12px 14px; font-size: 13px;
    bottom: max(14px, env(safe-area-inset-bottom));
    right: max(14px, env(safe-area-inset-right));
  }
}
@media (max-width: 380px) {
  /* Drop the "WhatsApp" word on tiny phones (iPhone SE 320px / 375px) — keep the icon FAB */
  .wa-fab > span:not(.wa-fab__pulse) { display: none; }
  .wa-fab { padding: 12px; }
}

/* successful form submit — small affordance */
.contact__form.is-sent {
  animation: sentPulse 0.6s var(--ease);
}
@keyframes sentPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.012); }
  100% { transform: scale(1); }
}
@media (max-width: 880px) {
  /* Mirror desktop — keep form + direct as 2-col proportional */
  .contact__split { grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 18px; }
  .contact h2 { font-size: clamp(22px, 6.5vw, 40px); }
  .contact__lede { font-size: 12.5px; margin-bottom: 20px; }
  .field input, .field select, .field textarea { padding: 10px 12px; font-size: 13px; min-height: 42px; }
  .field textarea { min-height: 72px; }
  .field label { font-size: 9.5px; letter-spacing: 0.10em; }
  .contact__line { grid-template-columns: 80px 1fr; gap: 10px; padding: 12px 0; }
  .contact__line-label { font-size: 9px; letter-spacing: 0.10em; }
  .contact__line-value { font-size: clamp(13px, 3vw, 17px); }
  .contact__address { grid-template-columns: 80px 1fr; gap: 10px; font-size: clamp(12px, 2.8vw, 16px); }
}
@media (max-width: 540px) {
  .contact__split { gap: 12px; }
  .contact__form { gap: 10px; }
  .contact__line { grid-template-columns: 64px 1fr; gap: 8px; padding: 10px 0; }
  .contact__line-value { font-size: 12px; }
  .contact__address { grid-template-columns: 64px 1fr; }
  .contact__direct h3 { font-size: 11px; }
}
@media (max-width: 360px) {
  .contact__split { grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: 8px; }
  .contact__line { grid-template-columns: 48px 1fr; }
  .contact__address { grid-template-columns: 48px 1fr; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 36px var(--pad-x);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 24px;
  align-items: center;
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 12px;
}
.footer__brand b { display: block; font-family: var(--ff-display); font-size: 16px; letter-spacing: -0.005em; }
.footer__brand em { font-style: normal; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.footer__links {
  display: flex; gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.footer__links a:hover { color: var(--ink); }
.footer__legal {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.footer__legal a { color: var(--muted); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t-fast) var(--ease); }
.footer__legal a:hover { color: var(--ink); }
@media (max-width: 880px) {
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
  .footer__legal { text-align: left; }
}

/* ---------- COOKIE ---------- */
.cookie {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 100;
  max-width: 640px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px; align-items: center;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.4);
  transform: translate3d(0, 24px, 0);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.cookie.is-visible { transform: translate3d(0,0,0); opacity: 1; }
.cookie p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.78); }
.cookie__btn { padding: 10px 16px; font-size: 13px; min-height: 40px; }
/* Lift the banner above the WhatsApp FAB whenever they'd collide.
   FAB sits at right:18 bottom:18 with min-height 48px → top edge ~66px from bottom.
   Cookie max-width 640px is centered, so on wide viewports (>=900px) it clears the FAB;
   below that, raise it so cookie's bottom edge clears the FAB top edge by ≥24px. */
@media (max-width: 900px) {
  .cookie { bottom: 96px; }
}
@media (max-width: 540px) {
  .cookie {
    grid-template-columns: 1fr;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    left: 12px; right: 12px;
  }
  .cookie__btn { width: 100%; justify-content: center; min-height: 48px; }
}

/* ---------- CIRCUIT SECTION DIVIDER ---------- */
.circuit-divider {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  pointer-events: none;
}
.circuit-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}
.circuit-divider__path {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  opacity: 0.55;
}
.circuit-divider.is-in .circuit-divider__path {
  animation: drawCircuit 2.4s var(--ease) forwards;
}
@keyframes drawCircuit {
  to { stroke-dashoffset: 0; }
}
.circuit-divider__node {
  fill: #5B8DEF;
  opacity: 0;
  transform-origin: center;
}
.circuit-divider.is-in .circuit-divider__node:nth-child(2) { animation: nodePop 0.5s var(--ease-2) 1.0s forwards; }
.circuit-divider.is-in .circuit-divider__node:nth-child(3) { animation: nodePop 0.5s var(--ease-2) 1.6s forwards; }
.circuit-divider.is-in .circuit-divider__node:nth-child(4) { animation: nodePop 0.5s var(--ease-2) 2.2s forwards; }
@keyframes nodePop {
  0%   { opacity: 0; transform: scale(0.2); }
  60%  { opacity: 1; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---------- CRED ICONS + COUNTERS ---------- */
.cred__icon {
  width: 44px; height: 44px;
  color: var(--signal);
  display: block;
  position: relative;
  z-index: 1;
}
.cred__icon-path {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.cred.is-in .cred__icon-path,
.cred.cred--big.is-in .cred__icon-path { stroke-dashoffset: 0; }
.cred:hover .cred__icon { color: var(--accent); }

/* counter slide-in for cred numbers */
[data-cred-counter] {
  display: inline-block;
}
.cred__num {
  transition: opacity 0.3s var(--ease), transform 0.6s var(--ease-2);
}
.cred:not(.is-in) .cred__num { opacity: 0; transform: translate3d(20px, 0, 0); }
.cred.is-in .cred__num { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.2s; }

/* ---------- TRAINERIZE PHONE MOCKUP ---------- */
.online__sidecol {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 28px);
  align-items: stretch;
}
.trainerize-mock {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.trainerize-mock__phone {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 18;
  background: linear-gradient(160deg, #2A2F3D 0%, #15171C 100%);
  border-radius: 32px;
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.6),
    inset 0 0 0 1.5px rgba(255,255,255,.08),
    inset 0 0 0 5px rgba(0,0,0,.6),
    inset 0 0 0 6.5px rgba(255,255,255,.04);
  isolation: isolate;
}
.trainerize-mock__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 18px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.trainerize-mock__screen {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #1B2230 0%, #0E121B 100%);
  border-radius: 22px;
  padding: 36px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  color: #fff;
  font-family: var(--ff-body);
}
.trainerize-mock__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.trainerize-mock__brand {
  font-family: var(--ff-display);
  font-weight: 800;
  color: var(--signal);
  letter-spacing: 0.18em;
}
.trainerize-mock__live {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 700;
  color: #4ade80;
}
.trainerize-mock__dot {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.18);
  animation: pulse 2s var(--ease) infinite;
}
.trainerize-mock__hello {
  display: flex; flex-direction: column; gap: 2px;
  margin: 4px 0 6px;
}
.trainerize-mock__hello em {
  font-style: normal;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.trainerize-mock__hello strong {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.012em;
  color: #fff;
  line-height: 1.05;
}
.trainerize-mock__exer {
  display: flex; flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}
.trainerize-mock__exer li {
  display: grid;
  grid-template-columns: 18px 1fr 14px;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.04);
}
.trainerize-mock__exer li > span {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 9.5px;
  color: var(--signal);
  letter-spacing: 0.06em;
}
.trainerize-mock__exer li > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.trainerize-mock__exer li b {
  font-weight: 600;
  font-size: 10.5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trainerize-mock__exer li em {
  font-style: normal;
  font-size: 9px;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.04em;
}
.trainerize-mock__check {
  width: 12px; height: 12px;
  border-radius: 999px;
  border: 1.2px solid rgba(255,255,255,.2);
  display: inline-block;
  position: relative;
}
.trainerize-mock__check.trainerize-mock__check--active {
  border-color: var(--signal);
  background: var(--signal);
}
.trainerize-mock__check.trainerize-mock__check--active::after {
  content: "";
  position: absolute;
  left: 3px; top: 5.5px;
  width: 6px; height: 3px;
  border-left: 1.4px solid #fff;
  border-bottom: 1.4px solid #fff;
  transform: rotate(-45deg);
}
.trainerize-mock__exer li:nth-child(-n+2) .trainerize-mock__check {
  border-color: var(--signal);
  background: var(--signal);
}
.trainerize-mock__exer li:nth-child(-n+2) .trainerize-mock__check::after {
  content: "";
  position: absolute;
  left: 3px; top: 5.5px;
  width: 6px; height: 3px;
  border-left: 1.4px solid #fff;
  border-bottom: 1.4px solid #fff;
  transform: rotate(-45deg);
}
.trainerize-mock__progress {
  display: flex; flex-direction: column; gap: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 10px;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.04em;
}
.trainerize-mock__progress b { color: #fff; font-weight: 700; }
.trainerize-mock__bar {
  width: 100%; height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.trainerize-mock__bar i {
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, var(--signal) 0%, #fff 100%);
  border-radius: 999px;
  animation: progressGrow 2.4s var(--ease) 0.4s both;
}
@keyframes progressGrow {
  from { width: 0%; }
  to   { width: 50%; }
}
.trainerize-mock__caption {
  font-family: var(--ff-body);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.5);
  text-align: center;
}
.trainerize-mock__caption span {
  color: var(--signal);
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .trainerize-mock__bar i { animation: none; }
  .trainerize-mock__dot { animation: none; }
}

/* ---------- INPERSON MAP ---------- */
.inperson__visual { z-index: 1; }
.inperson__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: var(--r-lg);
  opacity: 0.95;
}
/* push the inherited dot-grid + line patterns on top of the map but make them subtler */
.inperson__visual::before { opacity: 0.3; z-index: 0; }
.inperson__visual::after  { opacity: 0.4; z-index: 0; }
.inperson__map-pin {
  transform-origin: 210px 236px;
  animation: pinPulse 2.6s var(--ease) infinite;
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.inperson__map-building {
  animation: buildingGlow 3s var(--ease) infinite;
}
@keyframes buildingGlow {
  0%, 100% { stroke-opacity: 0.8; fill-opacity: 0.16; }
  50%      { stroke-opacity: 1; fill-opacity: 0.28; }
}
@media (prefers-reduced-motion: reduce) {
  .inperson__map-pin, .inperson__map-building { animation: none; }
}
.inperson__visual-dir {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(91,141,239,.18);
  border: 1px solid rgba(91,141,239,.35);
  border-radius: 999px;
  width: max-content;
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-2);
}
.inperson__visual-dir:hover {
  background: var(--signal);
  transform: translate3d(0, -1px, 0);
}

/* ---------- SELECTION ---------- */
::selection { background: var(--accent); color: #fff; }

/* small helper */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
