/* =========================================================
   O'PEOPLE COMMUNITY — PREMIUM PERFORMANCE CLUB THEME
   Black / white / pink. Condensed display + grotesk body.
   ========================================================= */

/* ---------- Fonts ----------
   Loaded via <link> in the layout (parallel + render-blocking handled by HTML).
   Two families only: Barlow Condensed (display) + Inter (body).
   Mono falls back to system ui-monospace stack. */

/* ---------- Tokens ---------- */
:root {
  --black: #050505;
  --black-soft: #0b0b0b;
  --black-card: #111111;
  --black-raise: #161616;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --white: #ffffff;
  --muted: #E8E8E8;
  --gray: #8A8A8A;
  --gray-dim: #5a5a5a;

  --pink: #FF6A00;
  --pink-hot: #FF8A1F;
  --pink-glow: rgba(255, 106, 0, 0.26);
  --pink-glow-2: rgba(255, 106, 0, 0.10);

  /* Premium neutral accent — warm cream pulled from sportswear editorial.
     Use sparingly: eyebrows, manifesto pull-quotes, decorative numerals.
     Body text stays on --muted/--white to keep contrast tight. */
  --bone: #F5F1EA;
  --bone-dim: #C9C2B4;

  --display: 'Oswald', 'Barlow Condensed', 'Archivo Narrow', system-ui, sans-serif;
  /* Accent face — same family as --display. Oswald has no true italic, so
     accents render upright (orange) rather than faux-slanted. */
  --serif: 'Oswald', 'Barlow Condensed', 'Archivo Narrow', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* Labels / eyebrows / tags use Inter (not a monospace) for a cleaner,
     unified two-typeface system. Uppercase + letter-spacing on each usage
     keeps the "technical label" feel; tabular-nums keep figures aligned. */
  --mono: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius: 2px;
  --radius-lg: 4px;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);

  /* Vertical rhythm — single source of truth for section spacing.
     Every full-bleed homepage section consumes --section-py top+bottom;
     "tight" strips (social-proof, intro shelves) use --section-py-tight.
     The final/back-cover section trims its bottom via --section-py-final-bottom. */
  --section-py: clamp(80px, 10vw, 160px);
  --section-py-tight: clamp(56px, 7vw, 100px);
  --section-py-final-bottom: clamp(60px, 7vw, 110px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Keep anchored sections clear of the fixed header. */
  scroll-padding-top: 100px;
}

html,
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--pink);
  color: #000;
}

/* Accessible keyboard focus ring — shown only for keyboard navigation, never
   on mouse click, so it never disrupts the pointer experience. */
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Modern text wrapping — headings balance across lines, body copy avoids
   leaving a lone word on the last line. Progressive (ignored where unsupported). */
h1, h2, h3, h4,
.display,
.hero-headline,
.page-hero h1,
.sec-head h2 {
  text-wrap: balance;
}

p,
.lede,
.lead {
  text-wrap: pretty;
}

.h-xl {
  font-size: clamp(60px, 10vw, 180px);
}

.h-lg {
  font-size: clamp(44px, 6.2vw, 108px);
}

.h-md {
  font-size: clamp(32px, 4vw, 64px);
}

.h-sm {
  font-size: clamp(22px, 2.2vw, 36px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  line-height: 1;
}

.eyebrow-muted {
  color: var(--bone);
}

.eyebrow .dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--pink);
  transform: translateY(-1.5px);
}

.lede {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
}

.mono {
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.pink {
  color: var(--pink);
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-tight {
  padding: var(--section-py-tight) 0;
}

/* Section modifiers — tonal alternation + consistent dividers.
   Combine freely, e.g. `.section.section--soft.section--bordered`. */
.section--soft {
  background: var(--black-soft);
}

.section--card {
  background: var(--black-card);
}

.section--raise {
  background: var(--black-raise);
}

.section--bordered {
  border-top: 1px solid var(--line);
}

.section--bordered-b {
  border-bottom: 1px solid var(--line);
}



.grid {
  display: grid;
  gap: 24px;
}

.row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  --fg: var(--white);
  --bd: var(--line-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px 15px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: 12px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  display: block;
  width: 14px;
  height: 14px;
  stroke-width: 2;
  flex-shrink: 0;
}

.btn {
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Press feedback — the button settles back down when clicked/tapped. */
.btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: .08s;
}

.btn-primary {
  --bg: var(--pink);
  --fg: #0a0205;
  --bd: var(--pink);
  box-shadow: 0 10px 40px var(--pink-glow);
}

.btn-primary:hover {
  --bg: var(--pink-hot);
  box-shadow: 0 16px 60px var(--pink-glow);
}

.btn-ghost {
  --bd: var(--line-strong);
}

.btn-ghost:hover {
  --bd: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-solid {
  --bg: var(--white);
  --fg: #000;
  --bd: var(--white);
}

.btn-solid:hover {
  --bg: #eaeaea;
}

.btn-arrow::after {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}

.btn-arrow:hover::after {
  width: 22px;
}

/* Link with underline sweep */
.link-sweep {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 600;
}

.link-sweep::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform-origin: right;
  transition: transform .5s var(--ease);
}

.link-sweep:hover::after {
  transform: scaleX(0);
}

/* ---------- Header ----------
   Two-tier premium magazine layout:
     1. .header-strip — thin editorial datelined bar (mono, location +
        season status + EST year). Reads like a masthead.
     2. .nav — main row: brand left, primary nav centered, actions right.
   On scroll the strip collapses (max-height 0) so only the main row
   stays — keeps the cue subtle but the nav usable. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s var(--ease);
  /* Lock header to a deterministic height + center content vertically.
     Without this, leftover topbar markup or auto-height collapses pushed
     the nav row to the bottom of an oversized strip. */
  display: flex;
  align-items: center;
  height: 86px;
}

.site-header>.nav {
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  border-bottom-color: var(--line-strong);
}

/* ---------- Main nav row ----------
   `.nav` is always combined with `.container` on the header element.
   We must keep the container's horizontal gutter, so set the horizontal
   padding here too — otherwise the more specific `.nav { padding: ... }`
   override drops the gutter and the row sticks to the viewport edge. */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  gap: 24px;
  transition: padding .4s var(--ease);
}

.nav-primary {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Scroll state keeps geometry stable — only the backdrop deepens.
   Premium navs lock height so the page below doesn't reflow under the
   header during scroll. */

/* ---------- Brand lockup ----------
   Two-line wordmark + tagline lockup, premium boutique pattern. Top
   line is the condensed display brand with a Big Shoulders italic apostrophe
   accent; bottom line is a tight mono tagline that anchors the wordmark
   as an editorial masthead. */
.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity .25s var(--ease);
  line-height: 1;
  text-decoration: none;
}

.brand:hover {
  opacity: 0.85;
}

.brand-stack {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  white-space: nowrap;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: 0.04em;
}

/* Image logo for header / footer brand. Sized by height; width auto
   keeps the original aspect ratio (~2.7:1 in this brand kit). The
   `filter: brightness(0) invert(1)` forces a dark logo to render white
   on the dark site shell. If the logo file is already white, remove
   this filter — it would invert a white logo to black. */
.brand-logo {
  display: block;
  height: clamp(30px, 2.3vw, 42px);
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity .25s var(--ease), height .35s var(--ease);
}

.brand:hover .brand-logo {
  opacity: 0.82;
}

.site-header.scrolled .brand-logo {
  height: clamp(26px, 1.9vw, 34px);
}

.site-footer .brand-logo {
  height: 40px;
}

.brand-tagline {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  white-space: nowrap;
  transition: color .35s var(--ease);
}

.brand:hover .brand-tagline {
  color: var(--pink);
}

/* The apostrophe rides as a Big Shoulders italic accent — pink, larger,
   tilted by its own glyph italics. Single most expressive character
   in the whole wordmark. */
.brand-apos {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  color: var(--pink);
  font-size: 1.18em;
  letter-spacing: 0;
  margin: 0 0.04em 0 0.02em;
  transition: transform .35s var(--ease);
  display: inline-block;
}

.brand:hover .brand-apos {
  transform: translateY(-2px) rotate(-3deg);
}


/* Retained for footer usage (uses brand-text + brand-sub). */
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.brand-sub {
  display: block;
  font-family: var(--body);
  font-size: 9px;
  letter-spacing: 0;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 32px);
  list-style: none;
}

/* Every item is a flex box centering its child, so the <button> dropdown
   toggle lines up on the exact same axis as the <a> links (a plain inline
   anchor and an inline-flex button otherwise resolve to different vertical
   baselines). */
.nav-links>li {
  display: inline-flex;
  align-items: center;
}

/* Each link: muted at rest, white on hover/active. Underline draws in
   from the left on hover via ::after; the active state stays drawn
   in pink with bolder weight. */
.nav-links a {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--bone-dim);
  position: relative;
  padding: 10px 0;
  transition: color .3s var(--ease);
  white-space: nowrap;
}

/* Hover sweep — thin white underline draws in from the left. */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Active state — pink text, heavier weight, and a 2px pink underbar
   that sits flush against the bottom of the link. Calmer + more
   confident than the old dot-plus-line combo. */
.nav-links a.active {
  color: var(--pink);
  font-weight: 700;
}

.nav-links a.active::after {
  height: 2px;
  bottom: 0;
  background: var(--pink);
  transform: scaleX(1);
}

/* ---------- Dropdown nav ----------
   A nav item whose label opens a submenu. The toggle is a <button> styled
   to match the sibling <a> links; the panel reveals on hover (desktop),
   focus-within (keyboard) and a .open class (app.js click/touch). Hidden
   entirely below 1180px where the mobile drawer takes over. */
.nav-links .has-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: 12px;
  /* Match the sibling <a> metrics exactly — buttons don't inherit the body
     line-height, so without this the label sits a few px off the other
     nav items. */
  line-height: 1.55;
  letter-spacing: 0;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--bone-dim);
  background: none;
  border: 0;
  margin: 0;
  padding: 10px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color .3s var(--ease);
}

.has-dropdown:hover .nav-dropdown-toggle,
.has-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--white);
}

.nav-dropdown-toggle.active {
  color: var(--pink);
  font-weight: 700;
}

/* The clickable variant (e.g. HYROX) is an <a>, so the .nav-links a underline
   sweep would otherwise apply — cancel it so both dropdown parents read the
   same (caret + pink active text, no underbar). */
.nav-dropdown-toggle::after {
  content: none;
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bone-dim);
  transition: transform .3s var(--ease), color .3s var(--ease);
}

.nav-caret svg {
  display: block;
}

.has-dropdown:hover .nav-dropdown-toggle .nav-caret,
.has-dropdown:focus-within .nav-dropdown-toggle .nav-caret,
.nav-dropdown-toggle.active .nav-caret {
  color: currentColor;
}

.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret,
.has-dropdown.open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  margin: 0;
  padding: 8px;
  min-width: 200px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 60;
}

/* Transparent bridge so the cursor can travel from toggle to panel without
   crossing a dead gap that would collapse the hover state. */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
}

.nav-dropdown a {
  display: block;
  padding: 11px 14px;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--bone-dim);
  white-space: nowrap;
  border-radius: 4px;
  transition: color .25s var(--ease), background .25s var(--ease);
}

/* Cancel the underline sweep inherited from `.nav-links a`. */
.nav-dropdown a::after {
  content: none;
}

.nav-dropdown a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown a.active {
  color: var(--pink);
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Lang switch — sliding pill indicator. The white "tab" lives on the
   container as a pseudo-element and slides left/right via :has() match
   on the active option. CSS-only, no JS bookkeeping. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  padding: 3px;
  gap: 0;
  position: relative;
  isolation: isolate;
  border-radius: 2px;
}

.lang-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: var(--white);
  transition: transform .35s var(--ease);
  z-index: -1;
}

.lang-switch:has(.lang-opt:nth-child(2).is-active)::before {
  transform: translateX(100%);
}

/* Anchor-based (public header/footer) */
.lang-switch .lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 5px 10px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--bone-dim);
  text-transform: uppercase;
  transition: color .35s var(--ease);
  position: relative;
}

.lang-switch .lang-opt.is-active {
  color: #000;
}

.lang-switch .lang-opt:hover:not(.is-active) {
  color: var(--white);
}

/* Button-based (legacy — admin or any remaining markup) */
.lang-switch button {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gray);
  transition: color .2s var(--ease), background .2s var(--ease);
}

.lang-switch button.active {
  background: var(--white);
  color: #000;
}

.lang-switch button:hover:not(.active) {
  color: var(--white);
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease), color .3s var(--ease),
    background .3s var(--ease), transform .3s var(--ease);
  color: var(--bone-dim);
}

.icon-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(255, 106, 0, 0.06);
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
}

/* ----- Header-scoped compact sizing -----
   Lang switch, icon button and CTA all lock to the same 36px height
   so the nav row reads as one clean line. */
.site-header .nav-right .icon-btn,
.site-header .nav-right .btn,
.site-header .nav-right .btn-cta-line,
.site-header .lang-switch {
  height: 36px;
  box-sizing: border-box;
}

.site-header .nav-right .icon-btn {
  width: 36px;
}

.site-header .nav-right .icon-btn svg {
  width: 14px;
  height: 14px;
}

/* ---------- Header CTA — outlined pink pill ----------
   Premium spec: thin pink border, pink label, pink arrow at rest;
   on hover the pill fills pink and the label inverts to ink black.
   Reads more like a "button" than the old underline link, but stays
   far less aggressive than a filled accent button at all times. */
.btn-cta-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--pink);
  border-radius: 0;
  background: transparent;
  font-family: var(--body);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--pink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color .35s var(--ease), border-color .35s var(--ease),
    transform .35s var(--ease);
  white-space: nowrap;
}

/* Pink fill slides up from the bottom on hover — mechanical, premium. */
.btn-cta-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pink);
  transform: translateY(101%);
  transition: transform .4s var(--ease);
  z-index: -1;
}

.btn-cta-line:hover {
  color: #0a0205;
  transform: translateY(-1px);
}

.btn-cta-line:hover::before {
  transform: translateY(0);
}

.btn-cta-line-arrow {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform .35s var(--ease);
}

.btn-cta-line:hover .btn-cta-line-arrow {
  transform: translateX(4px);
}

/* When the header compacts (scrolled), CTA loses a little vertical
   weight too — keeps the row visually unified. */
/* Scroll keeps right-rail sizing identical — geometry stable. */

.site-header .nav-right .btn {
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: 0;
  gap: 8px;
}

.site-header .nav-right .btn svg {
  width: 13px;
  height: 13px;
}

.site-header .lang-switch {
  padding: 2px;
}

.site-header .lang-switch .lang-opt {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  font-size: 10.5px;
}

@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  /* On the mobile header only the language switch + hamburger remain.
     Instagram + WhatsApp CTAs live inside the drawer, so we hide them
     here to avoid a cramped row of icons next to the burger. */
  .nav-right .icon-btn,
  .nav-right .btn-cta-line {
    display: none;
  }
}

/* ----- Mobile header: compact row + drawer offset alignment ----- */
@media (max-width: 900px) {

  /* Mobile uses opaque header — backdrop-filter is unreliable on some
     mobile browsers and the dim translucent bg + low-contrast content
     made the row invisible on small viewports. */
  .site-header {
    background: rgba(5, 5, 5, 0.95);
    height: 64px;
  }

  /* High-contrast borders so the lang switch + hamburger don't disappear
     against the dark header bg on small screens. */
  .site-header .lang-switch,
  .site-header .hamburger {
    border-color: rgba(255, 255, 255, 0.35);
  }

  .site-header .lang-switch .lang-opt {
    color: rgba(255, 255, 255, 0.9);
  }

  .site-header .lang-switch .lang-opt.is-active {
    color: #000;
  }

  .nav {
    padding: 0 var(--gutter);
    gap: 14px;
  }

  .brand-logo {
    height: 30px;
  }

  .site-header.scrolled .brand-logo {
    height: 26px;
  }

  .site-header .nav-right .icon-btn,
  .site-header .nav-right .btn,
  .site-header .nav-right .btn-cta-line,
  .site-header .lang-switch,
  .hamburger {
    height: 34px;
  }

  .nav-right {
    gap: 10px;
  }

  .lang-switch .lang-opt {
    min-width: 26px;
    padding: 4px 8px;
    font-size: 10px;
  }

  /* Drawer aligns with the compact header bottom (12 + 38 + 12 = 62).
     Closed transform must also push past this inset so the bottom edge
     of the drawer doesn't cover the header strip. */
  .mobile-drawer {
    inset: 62px 0 0 0;
    transform: translateY(calc(-100% - 62px));
  }
}

@media (max-width: 640px) {
  .site-header .nav-right .btn-wa .btn-text {
    display: none;
  }

  .site-header .nav-right .btn-wa {
    padding: 9px 10px;
  }
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--white);
  position: relative;
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--white);
  transition: transform .3s var(--ease);
}

.hamburger span::before {
  top: -6px;
}

.hamburger span::after {
  top: 6px;
}

.hamburger.open span {
  background: transparent;
}

.hamburger.open span::before {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile drawer — only rendered when the hamburger is reachable
   (max-width: 1180px). On wider viewports the drawer stays out of
   the layout entirely so it can't accidentally cover the page. */
.mobile-drawer {
  display: none;
}

@media (max-width: 1180px) {
  .mobile-drawer {
    position: fixed;
    inset: 58px 0 0 0;
    z-index: 70;
    background: var(--black);
    padding: clamp(28px, 5vh, 48px) var(--gutter) clamp(40px, 8vh, 64px);
    /* translateY(-100%) leaves the bottom edge at top:58, so the drawer's
       bottom padding sits over the header. Subtract the inset-top as well
       so the closed drawer ends exactly at y=0 (just above the viewport). */
    transform: translateY(calc(-100% - 58px));
    transition: transform .5s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer>a {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 6vw, 36px);
  letter-spacing: -0.01em;
  line-height: 1;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  text-decoration: none;
  color: var(--white);
  transition: color .25s var(--ease), padding-left .3s var(--ease);
}

.mobile-drawer>a:hover {
  color: var(--pink);
  padding-left: 6px;
}

/* Grouped sub-items (e.g. Kurumsal → Hakkımızda / Eğitmenler). The label is
   a small mono eyebrow; children are indented and a touch smaller than the
   top-level display links. */
/* Non-link group header (e.g. Kurumsal). Sized like the top-level links so it
   anchors its indented children the same way HYROX does — but muted (not white)
   to signal it isn't tappable. */
.mobile-drawer .drawer-group-label {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 6vw, 36px);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--bone-dim);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

/* Grouped sub-items cluster tightly under their parent/label: no full-width
   divider (which looked misaligned against the indented text) and a dimmer,
   slightly smaller treatment so the hierarchy reads clearly. A left accent
   bar ties each child to its group. */
.mobile-drawer>a.drawer-sub {
  font-size: clamp(18px, 4.2vw, 23px);
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: 18px;
  border-bottom: 0;
  border-left: 2px solid var(--line-strong);
  color: var(--bone-dim);
}

.mobile-drawer>a.drawer-sub:hover {
  padding-left: 24px;
  color: var(--pink);
  border-left-color: var(--pink);
}

.mobile-drawer .cta-row {
  margin-top: clamp(20px, 3vh, 28px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-drawer .cta-row .btn {
  width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0;
  padding: 14px 12px;
}

/* Drawer açıkken alttaki sticky-cta'yı gizle (overlap engeli). */
body.is-drawer-open .sticky-cta {
  display: none;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.02);
  transition: transform 0.05s linear;
}

/* ---------- Hero intro choreography ----------
   Page-load fade-up sequence: meta → headline → sub → CTA → strip.
   Each step lifts 24px and fades in over 900ms with --ease curve. */
.hero-intro .hero-meta,
.hero-intro .hero-headline,
.hero-intro .hero-sub,
.hero-intro .hero-cta,
.hero-intro .hero-strip {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIntroIn 900ms var(--ease) forwards;
}

.hero-intro .hero-headline {
  animation-delay: 120ms;
}

.hero-intro .hero-sub {
  animation-delay: 260ms;
}

.hero-intro .hero-cta {
  animation-delay: 400ms;
}

.hero-intro .hero-strip {
  animation-delay: 560ms;
}

/* Headline letter-by-line stagger when split into spans. */
.hero-intro .hero-headline .accent,
.hero-intro .hero-headline .outline,
.hero-intro .hero-headline em {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: heroIntroIn 800ms var(--ease) forwards;
  animation-delay: 320ms;
}

@keyframes heroIntroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Brand badge joins the entrance, a beat before the headline. */
.hero-intro .hero-brand-badge {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIntroIn 900ms var(--ease) forwards;
  animation-delay: 40ms;
}

/* Word-by-word headline reveal — each word rises in on its own --d delay.
   Overrides the block-level intro animation for the default markup; DB-set
   headings keep the simpler block reveal. */
.hero-intro .hero-headline--anim {
  animation: none;
  opacity: 1;
  transform: none;
}

.hero-intro .hero-headline--anim .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  animation: heroWordIn 0.75s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes heroWordIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%) contrast(108%) brightness(0.55);
  transform: scale(1.04);
  animation: heroZoom 14s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 10%, var(--pink-glow) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(255, 106, 0, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.45) 0%, rgba(5, 5, 5, 0.55) 50%, rgba(5, 5, 5, 0.95) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-strong);
}

.hero-meta .left {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-headline {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(42px, 7vw, 128px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 18ch;
  overflow-wrap: break-word;
  hyphens: manual;
}

/* Shared emphasis spans emitted by the heading() helper on any display
   heading (hero h1, page-hero h1, sec-head h2, …). Admins mark up
   content as `*word*` or `_word_` and these rules render the accent /
   outline treatment consistently. The accent ships as Big Shoulders
   italic — a condensed display sans with a true italic axis, giving
   the same editorial register lift as a serif counterpoint while
   staying inside the athletic visual language of the rest of the type. */
.hero-headline .accent,
.page-hero h1 .accent,
.sec-head h2 .accent,
.display .accent,
.display em,
.sec-head h2 em,
.final-headline em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: -0.005em;
}

.hero-headline .outline,
.page-hero h1 .outline,
.sec-head h2 .outline,
.display .outline {
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
}

.hero-sub {
  margin-top: 28px;
  max-width: 58ch;
  font-size: clamp(15px, 1.1vw, 18px);
  color: var(--muted);
  line-height: 1.55;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  transition: color .25s var(--ease);
}

.hero-link svg {
  width: 16px;
  height: 16px;
  transition: transform .35s var(--ease);
}

.hero-link:hover {
  color: var(--pink);
}

.hero-link:hover svg {
  transform: translateX(5px);
}

/* ----- Hero bottom strip -----
   Two-column layout: upcoming event card + 4 pillar labels.
   Collapses to single column on tablet/mobile. */
.hero-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
}

.hero-strip.has-event {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
}

@media (max-width: 900px) {
  .hero-strip.has-event {
    grid-template-columns: 1fr;
  }
}

/* --- Upcoming event card --- */
.hero-event {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 106, 0, 0.04);
  transition: background .3s var(--ease), padding .3s var(--ease);
}

.hero-event:hover {
  background: rgba(255, 106, 0, 0.09);
}

@media (max-width: 900px) {
  .hero-event {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.hero-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 14px;
  border: 1px solid var(--pink);
  color: var(--pink);
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1;
}

.hero-event-date .day {
  font-size: 28px;
  font-weight: 900;
}

.hero-event-date .mon {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0;
}

.hero-event-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.hero-event-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 24px);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.hero-event-loc {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gray);
}

.hero-event-arrow {
  font-size: 20px;
  color: var(--white);
  opacity: 0.7;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.hero-event:hover .hero-event-arrow {
  transform: translateX(6px);
  opacity: 1;
  color: var(--pink);
}

/* --- Pillars grid --- */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-pillars .pillar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.hero-pillars .pillar:last-child {
  border-right: 0;
}

.hero-pillars .pillar-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--pink);
}

.hero-pillars .pillar-label {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}

.hero-pillars .pillar-sub {
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gray);
}

@media (max-width: 700px) {
  .hero-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-pillars .pillar {
    border-bottom: 1px solid var(--line);
  }

  .hero-pillars .pillar:nth-child(2n) {
    border-right: 0;
  }
}

.hero-scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0;
  color: var(--gray);
  text-transform: uppercase;
}

.hero-scroll .line {
  width: 40px;
  height: 1px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-scroll .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pink);
  animation: scrollLine 2.2s infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* ---------- HERO CINEMATIC ----------
   Full-bleed video background with gradient veil, top status rail,
   bottom-aligned editorial content block, and a floating event card
   anchored to the bottom-right corner. Layout overrides .hero defaults
   to flex-column instead of bottom-aligned, so the top rail can sit
   independently from the main content stack. */
.hero-cinematic {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: 120px;
  padding-bottom: 0;
  background: #050505;
}

.hero-cinematic .hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-cinematic .hero-video,
.hero-cinematic .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(28%) contrast(110%) brightness(0.62) saturate(96%);
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

/* Veil — three-stop dark gradient + radial vignettes for text contrast.
   Top stop is darker so the status rail stays legible; bottom stop is
   nearly opaque so the headline+CTA cluster reads at full contrast. */
.hero-cinematic .hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(255, 106, 0, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 95% 92%, rgba(255, 106, 0, 0.10) 0%, transparent 40%),
    linear-gradient(180deg,
      rgba(5, 5, 5, 0.72) 0%,
      rgba(5, 5, 5, 0.32) 28%,
      rgba(5, 5, 5, 0.55) 65%,
      rgba(5, 5, 5, 0.95) 100%);
}

.hero-cinematic .hero-grain {
  z-index: 2;
}

/* --- Main content block: grows to fill, content bottom-aligned, so the
   meta-bar can sit as a fixed strip beneath it. --- */
.hero-cinematic .hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(84px, 11vh, 152px);
}

/* On phones, bottom-aligning leaves a big empty photo area up top and the
   content sits too low — centre it vertically. Also trim the top header
   inset so the content + meta-bar (incl. the event) all fit in one screen
   instead of the event spilling below the fold. */
@media (max-width: 760px) {
  .hero-cinematic {
    padding-top: 84px;
  }
  .hero-cinematic .hero-content {
    justify-content: center;
    padding-top: clamp(14px, 2.5vh, 28px);
    padding-bottom: clamp(16px, 2.5vh, 26px);
  }
}

/* Brand badge above the hero headline — a glassy pill that makes the
   O'Wellness Training Club identity explicit on the landing page. */
.hero-cinematic .hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-bottom: clamp(10px, 1.5vh, 16px);
  padding: 9px 16px 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.hero-cinematic .hero-brand-badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  flex: none;
}

/* Soft pulsing halo around the dot. */
.hero-cinematic .hero-brand-badge-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--pink);
  opacity: 0.6;
  animation: brandBadgePulse 2.4s var(--ease) infinite;
}

@keyframes brandBadgePulse {
  0% { transform: scale(0.7); opacity: 0.7; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-cinematic .hero-brand-badge-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
}

.hero-cinematic .hero-brand-badge-div {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.22);
  flex: none;
}

.hero-cinematic .hero-brand-badge-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.hero-cinematic .hero-headline {
  font-size: clamp(46px, 6.4vw, 108px);
  /* Spacing tuned for Turkish diacritics (Ç, İ, Ğ, Ş, Ü, Ö):
     - line-height 1.15 leaves room above for Ü / İ dots and below for
       Ç / Ş cedillas
     - letter-spacing 0 prevents adjacent glyphs from kissing
     - padding-top 0.12em + overflow visible guarantees the umlaut /
       title dots are not clipped by the parent's box. */
  line-height: 1.15;
  letter-spacing: 0;
  padding-top: 0.12em;
  overflow: visible;
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero-cinematic .hero-sub {
  margin-top: clamp(22px, 3vh, 34px);
  max-width: 56ch;
  color: var(--bone-dim);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-cinematic .hero-cta {
  margin-top: clamp(28px, 3.5vh, 40px);
}

/* --- Hero meta-bar: four pillars (left) + upcoming event (right). --- */
.hero-metabar {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.45));
}

.hero-metabar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px clamp(18px, 3vw, 40px);
  flex-wrap: wrap;
  /* Only set vertical padding — leave the horizontal gutter from .container
     intact (a `padding: x 0` shorthand here would zero it and glue the
     content to the viewport edges). */
  padding-top: clamp(16px, 2vh, 22px);
  padding-bottom: clamp(16px, 2vh, 22px);
}

.hero-pillars {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  min-width: 0;
}

.hero-pillars li {
  position: relative;
  padding: 0 clamp(12px, 1.4vw, 20px);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.hero-pillars li:first-child { padding-left: 0; }

.hero-pillars li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

.hero-pillars li span { color: var(--pink); margin-right: 7px; }

/* Upcoming event — chip on the right of the meta-bar. */
.hero-metabar-event {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: var(--white);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}

.hero-metabar-event:hover {
  border-color: var(--pink);
  background: rgba(255, 106, 0, 0.06);
  transform: translateY(-2px);
}

.hme-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 44px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 9px;
  color: var(--pink);
  font-family: var(--display);
  line-height: 1;
  text-transform: uppercase;
}

.hme-date b { font-size: 19px; font-weight: 900; }
.hme-date span { font-size: 9px; margin-top: 3px; letter-spacing: 0.05em; }

.hme-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.hme-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.hme-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--pink); flex: none; }

.hme-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 26ch;
}

.hme-arrow {
  display: inline-flex;
  flex: none;
  color: var(--gray);
  transition: color .3s var(--ease), transform .35s var(--ease);
}

.hme-arrow svg { width: 17px; height: 17px; }

.hero-metabar-event:hover .hme-arrow { color: var(--pink); transform: translate(3px, -3px); }

@media (max-width: 760px) {
  /* Hide the whole meta-bar (pillars + event) on phones — it crowds the
     viewport and competes with the sticky bottom CTA. The hero stays clean:
     photo + centred content. */
  .hero-metabar { display: none; }
}

/* --- Floating event card (right-bottom) --- */
.hero-event-floating {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(48px, 7vh, 90px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: clamp(280px, 24vw, 340px);
  padding: 18px 20px 18px 22px;
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--pink);
  border-radius: 16px;
  color: var(--white);
  text-decoration: none;
  opacity: 0;
  animation: heroFadeIn 0.8s var(--ease) 0.75s forwards;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}

@keyframes heroFadeIn {
  to { opacity: 1; }
}

.hero-event-floating:hover {
  transform: translateY(-3px);
  background: rgba(20, 20, 20, 0.84);
  border-color: rgba(255, 106, 0, 0.35);
  border-left-color: var(--pink);
}

.hero-event-floating-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.hero-event-floating-tag .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

.hero-event-floating-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.hero-event-floating-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 10px 12px;
  border: 1px solid var(--pink);
  border-radius: 12px;
  color: var(--pink);
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1;
}

.hero-event-floating-date .day {
  font-size: 24px;
  font-weight: 900;
}

.hero-event-floating-date .mon {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0;
}

.hero-event-floating-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hero-event-floating-body h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--white);
  overflow-wrap: break-word;
  margin: 0;
}

.hero-event-floating-body .loc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.hero-event-floating-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  color: var(--white);
  opacity: 0.65;
  transition: transform .3s var(--ease), opacity .3s var(--ease), color .3s var(--ease);
}

.hero-event-floating-arrow svg {
  width: 17px;
  height: 17px;
}

.hero-event-floating:hover .hero-event-floating-arrow {
  transform: translateX(4px);
  opacity: 1;
  color: var(--pink);
}

@media (max-width: 900px) {
  .hero-event-floating {
    position: static;
    width: auto;
    margin: clamp(28px, 4vh, 40px) var(--gutter) clamp(24px, 4vh, 36px);
  }

  .hero-cinematic .hero-content {
    min-height: calc(100svh - 220px);
  }
}

/* Cinematic scroll cue — repositioned right side */
.hero-cinematic .hero-scroll {
  left: auto;
  right: var(--gutter);
  bottom: 18px;
  flex-direction: row-reverse;
}

@media (max-width: 900px) {
  .hero-cinematic .hero-scroll {
    display: none;
  }

  .hero-cinematic .hero-headline {
    font-size: clamp(40px, 12vw, 64px);
  }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--white);
  color: #000;
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marqueeMove 28s linear infinite;
}

.marquee-pink {
  background: var(--pink);
  color: #0a0205;
}

.marquee-dark {
  background: var(--black);
  color: var(--white);
}

/* Quiet dark marquee — a subtle editorial ticker rather than a loud
   cream shout. Dark band, small muted uppercase type, hairline rules.
   Reads as a soft transition strip, not a banner. */
/* Dark editorial marquee — bold display register on a dark band, sized
   one step down from the original shout so it reads as a flowing strip,
   not a banner. Italic accents carry the rhythm; outline words are made
   solid (hollow stroke dropped) for one calm, even weight. Doubled
   selectors beat the base .marquee rules (same specificity, later in
   source). */
.marquee-bone {
  background: var(--black-soft);
  color: var(--bone);
  border-color: var(--line);
  padding: 14px 0;
}

.marquee.marquee-bone .marquee-track {
  gap: 48px;
}

.marquee.marquee-bone span {
  font-size: clamp(20px, 2vw, 30px);
}

.marquee.marquee-bone .m-outline {
  color: var(--bone);
  -webkit-text-stroke: 0;
}

.marquee.marquee-bone .dot {
  color: var(--pink);
  font-size: clamp(14px, 1.6vw, 20px);
  margin: 0 22px;
}

.marquee span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 42px);
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.marquee .dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  margin: 0 28px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1;
  opacity: .85;
}

.marquee .dot::before {
  content: "✱";
  display: inline-block;
}

.marquee .m-item {
  display: inline-block;
}

.marquee em {
  font-style: italic;
  font-weight: 900;
  margin-left: 0.18em;
}

.marquee .m-item>em:first-child {
  margin-left: 0;
  margin-right: 0.18em;
}

.marquee .m-outline {
  color: transparent;
  -webkit-text-stroke: 1.6px currentColor;
  -webkit-text-stroke-color: #0a0205;
}

.marquee-dark .m-outline {
  -webkit-text-stroke-color: var(--white);
}

.marquee-dark .dot,
.marquee-dark span {
  color: var(--white);
}

.marquee-dark .dot {
  background: var(--pink);
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section head ---------- */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}

.sec-head.single {
  grid-template-columns: 1fr;
}

.sec-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 5.2vw, 88px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
  margin: 0;
}

/* Sentence-case sec-head variant — restrained scale, no caps. Used
   for FAQ-style headings that should feel calmer than the brutalist
   default. The em accent stays serif italic + pink for register. */
.sec-head.sec-head-sentence h2 {
  font-size: clamp(34px, 3.6vw, 60px);
  text-transform: none;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 16ch;
}

/* Inline pink highlight that doesn't change the font — used to tint a
   word inside a display heading without dropping into the serif italic
   accent treatment. */
.sec-head h2 .hl,
.display .hl {
  color: var(--pink);
}

/* Section eyebrow — shared across .sec-head, .editorial-head and
   .hyrox-intro. Pink dot + bone-dim mono caps; matches the .intro-eyebrow
   used on internal intro sections so every up-title reads identically. */
.sec-head .num,
.editorial-head .num,
.hyrox-intro .num {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  color: var(--bone-dim);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sec-head .num::before,
.editorial-head .num::before,
.hyrox-intro .num::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--pink);
  flex-shrink: 0;
}

.sec-head p {
  color: var(--muted);
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .sec-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
}

/* ---------- Editorial spread (homepage manifesto) ---------- */
.section-editorial {
  position: relative;
  overflow: hidden;
}

.editorial-watermark {
  position: absolute;
  right: -4vw;
  bottom: -6vw;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(220px, 32vw, 540px);
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  will-change: transform;
}

@media (max-width: 800px) {
  .editorial-watermark {
    display: none;
  }
}

.editorial-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 90px);
  align-items: start;
}

.editorial-head {
  position: relative;
  z-index: 1;
  align-self: start;
  padding-top: 4px;
}

/* Editorial head — eyebrow style is owned by the shared .num rule
   above. Anything extra (h2 sizing) lives in .editorial-head h2. */

.editorial-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 5.6vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Manifesto headings drop into Big Shoulders italic for the emphasised
   word — counterpoints the upright condensed display with a sharper,
   atletik register lift. */
.editorial-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  color: var(--pink);
  font-size: 1.02em;
  letter-spacing: -0.005em;
}

/* Editorial lede sizing is owned by .ed-lede-serif / .ed-lede-body,
   which compose typography for the manifesto + body pair. The base
   .lede only sets color + max-width as a fallback. */

/* Editorial leding — opening italic manifesto + body. Condensed italic
   sits above the body lede as a typographic counterpoint to the upright
   display. Sentence case keeps the body legible while italics carry the
   editorial register. */
.ed-lede-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.36;
  color: var(--bone);
  letter-spacing: 0.005em;
  max-width: 42ch;
  margin-top: 28px;
}

.ed-lede-body {
  margin-top: 18px;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.62;
}

/* Three principles strip — replaces the redundant stats. Roman numerals
   give a higher register than Arabic figures and reinforce the editorial
   tone. Each principle: a numeral, a label and a one-line maxim. */
.ed-principles {
  list-style: none;
  margin: clamp(34px, 4vw, 52px) 0 clamp(28px, 3vw, 40px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ed-principles li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px 22px 0;
  border-right: 1px solid var(--line);
}

.ed-principles li:last-child {
  border-right: 0;
  padding-right: 0;
}

.ed-principles li+li {
  padding-left: 18px;
}

.ed-principles-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
  color: var(--pink);
  letter-spacing: 0.01em;
}

.ed-principles-label {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(15px, 1.05vw, 18px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
}

.ed-principles-sub {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray-dim);
  max-width: 26ch;
}

@media (max-width: 700px) {
  .ed-principles {
    grid-template-columns: 1fr;
  }

  .ed-principles li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
  }

  .ed-principles li:last-child {
    border-bottom: 0;
  }

  .ed-principles li+li {
    padding-left: 0;
  }
}

.editorial-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.editorial-actions .link-sweep {
  color: var(--white);
}

.editorial-actions .link-sweep:hover {
  color: var(--pink);
}

/* ---------- Generic section CTA row utilities ---------- */
.section-cta-row {
  margin-top: clamp(32px, 4vw, 56px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.section-cta-split {
  justify-content: space-between;
}

/* ---------- HYROX intro body (paragraph + CTA stacked) ---------- */
.hyrox-intro-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.hyrox-intro-cta {
  align-self: flex-start;
}

/* ---------- Final CTA eyebrow ---------- */
.final-eyebrow {
  display: flex;
  justify-content: center;
  margin: 0 auto 30px;
}

/* ---------- Community / Instagram block ---------- */
.ig-eyebrow {
  margin-bottom: 14px;
}

.ig-foot {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ig-foot-note {
  color: var(--gray-dim);
}

.editorial-images {
  position: relative;
  display: flex;
  flex-direction: column;
}

.ed-img {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
}

.ed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(108%);
  transition: transform 1s var(--ease), filter .6s var(--ease);
}

.ed-img:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(112%);
}

.ed-img figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 0 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.ed-img figcaption .dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--pink);
  transform: translateY(-1px);
}

.ed-img-lead {
  aspect-ratio: 4 / 3;
  width: 100%;
  z-index: 1;
}

.ed-img-trail {
  aspect-ratio: 5 / 6;
  width: 45%;
  max-width: 100%;
  margin-left: auto;
  margin-top: -48px;
  z-index: 2;
  box-shadow: -14px -14px 0 0 var(--black);
  border-color: var(--line-strong);
}

.ed-img-lead::after,
.ed-img-trail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 5, 5, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity .4s var(--ease);
}

.ed-img:hover::after {
  opacity: 0.4;
}

@media (max-width: 1100px) {
  .editorial-top {
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 64px);
  }

  .ed-img-lead {
    aspect-ratio: 4 / 3;
  }

  .ed-img-trail {
    aspect-ratio: 4 / 3;
    width: 60%;
    margin-top: -28px;
    box-shadow: -10px -10px 0 0 var(--black);
  }
}

@media (max-width: 600px) {
  .ed-img-trail {
    width: 75%;
    margin-top: -20px;
    box-shadow: -8px -8px 0 0 var(--black);
  }

  .editorial-meta li {
    padding-right: 12px;
    margin-right: 12px;
  }
}

/* ---------- Placeholder image ---------- */
.ph {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  border: 1px solid var(--line);
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, var(--pink-glow-2) 0%, transparent 60%);
}

.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--gray);
  text-transform: uppercase;
}

.ph .ph-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--white);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ph .ph-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--pink);
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: grayscale(15%) contrast(105%) brightness(.82);
}

.ph.with-image::before,
.ph.with-image::after {
  display: none;
}

/* ---------- HYROX section ----------
   Background/border are owned by .section--soft / .section--bordered modifiers
   when this class is composed on a homepage section. */
.hyrox {
  position: relative;
}

/* ---------- HYROX Editorial Track ----------
   Full-bleed horizontal scroll-snap rail. Each station is an editorial
   card with a giant numeral watermark — used by the homepage protocol
   summary for a magazine-style walkthrough. */
.hyrox-track-wrap {
  margin-top: clamp(36px, 5vw, 64px);
  position: relative;
}

.hyrox-track-rail {
  /* Full bleed: ignore the parent container. The first station carries
     its own start padding so the cards still align to the page gutter. */
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  outline: none;
}

.hyrox-track-rail::-webkit-scrollbar {
  display: none;
}

/* Desktop drag affordance — JS adds .is-dragging while pointer is down,
   which disables snap mid-drag and changes cursor + suppresses selection
   so the scrub feels native. */
@media (pointer: fine) {
  .hyrox-track-rail {
    cursor: grab;
  }

  .hyrox-track-rail.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
    -webkit-user-select: none;
  }

  .hyrox-track-rail.is-dragging .hyrox-station {
    pointer-events: none;
  }
}

.hyrox-track {
  list-style: none;
  display: flex;
  gap: 0;
  padding: 0 0 0 var(--gutter);
  margin: 0;
}

/* Right-edge spacer so the last card can fully snap to the start. */
.hyrox-track::after {
  content: "";
  flex: 0 0 var(--gutter);
}

.hyrox-station {
  flex: 0 0 clamp(320px, 32vw, 460px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  isolation: isolate;
  background: var(--black-soft);
  border-right: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.4vw, 36px) clamp(36px, 4vw, 56px);
  min-height: clamp(380px, 42vw, 520px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 24px);
  overflow: hidden;
  transition: background .5s var(--ease);
}

.hyrox-station:first-child {
  border-left: 1px solid var(--line);
}

.hyrox-station:hover {
  background: var(--black-card);
}

/* Giant numeral watermark — sits flush to the top-right of the card
   like a magazine folio. Solid fill at very low opacity reads cleaner
   than a stroke at this size; italic adds editorial cadence. */
.hyrox-station-watermark {
  position: absolute;
  top: clamp(8px, 1vw, 16px);
  right: clamp(10px, 1.2vw, 22px);
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(140px, 14vw, 220px);
  line-height: 0.85;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color .5s var(--ease), transform .8s var(--ease);
}

.hyrox-station:hover .hyrox-station-watermark {
  color: rgba(255, 106, 0, 0.10);
  transform: translateY(2px);
}

/* Optional station background image (4th cell element). A dark veil keeps the
   title + description legible over any photo; image slowly zooms on hover. */
.hyrox-station-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hyrox-station-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(22%) contrast(106%);
  transition: transform 1.2s var(--ease), filter .5s var(--ease);
}

.hyrox-station.has-media:hover .hyrox-station-media img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(110%);
}

.hyrox-station-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.35) 38%, rgba(5, 5, 5, 0.9) 100%);
}

/* Over a photo the faint white folio numeral would muddy the image — brighten
   it slightly so it still reads as an intentional stamp. */
.hyrox-station.has-media .hyrox-station-watermark {
  color: rgba(255, 255, 255, 0.12);
}

.hyrox-station-head,
.hyrox-station-title,
.hyrox-station-desc,
.hyrox-station-rule {
  position: relative;
  z-index: 1;
}

.hyrox-station-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hyrox-station-step {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0;
  color: var(--pink);
  text-transform: uppercase;
}

.hyrox-station-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--bone);
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  white-space: nowrap;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

.hyrox-station:hover .hyrox-station-tag {
  border-color: var(--pink);
  color: var(--white);
}

.hyrox-station-title {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.hyrox-station-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray);
  max-width: 36ch;
  transition: color .35s var(--ease);
}

.hyrox-station:hover .hyrox-station-desc {
  color: var(--muted);
}

/* Accent rule that draws in from the left on hover — the protocol's
   "you are here" signature. */
.hyrox-station-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}

.hyrox-station:hover .hyrox-station-rule {
  transform: scaleX(1);
}

/* ----- Track foot: progress + drag affordance ----- */
.hyrox-track-foot {
  margin-top: clamp(20px, 2.4vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hyrox-progress {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--bone-dim);
}

.hyrox-progress-current {
  color: var(--white);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hyrox-progress-total {
  font-variant-numeric: tabular-nums;
}

.hyrox-progress-bar {
  position: relative;
  width: clamp(120px, 14vw, 220px);
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}

.hyrox-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 12.5%;
  background: var(--pink);
  transition: width .35s var(--ease);
}

.hyrox-track-hint {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0;
  color: var(--bone-dim);
  text-transform: uppercase;
}

.hyrox-track-arrows {
  display: inline-flex;
  gap: 6px;
}

.hyrox-track-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  color: var(--bone);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}

.hyrox-track-arrow:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(255, 106, 0, 0.06);
}

.hyrox-track-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .hyrox-station {
    flex-basis: clamp(280px, 78vw, 360px);
    min-height: clamp(340px, 80vw, 440px);
  }

  .hyrox-track-hint span:not(.hyrox-track-arrows) {
    display: none;
  }

  .hyrox-track-foot {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .hyrox-track {
    padding-left: var(--gutter);
  }

  .hyrox-station {
    flex-basis: 80vw;
    min-height: 380px;
    padding: 28px 22px 32px;
  }

  .hyrox-station-watermark {
    font-size: clamp(120px, 40vw, 180px);
    top: 10px;
    right: 14px;
  }

  .hyrox-station-title {
    font-size: clamp(36px, 10vw, 48px);
  }

  .hyrox-progress-bar {
    width: clamp(100px, 28vw, 140px);
  }
}

.hyrox-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(20px, 4vw, 64px);
  margin-bottom: 48px;
  align-items: end;
}

/* hyrox-intro eyebrow style is owned by the shared .num rule above. */

@media (max-width: 900px) {
  .hyrox-intro {
    grid-template-columns: 1fr;
  }
}

/* ---------- HYROX race-system strip ----------
   A compact "formula" (1 KM RUN + STATION × 8) beside four key facts that
   make the race system legible at a glance, under the What-is-HYROX intro. */
.hyrox-system {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: 48px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.hyrox-system-formula {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hyrox-system-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.hyrox-system-pill em {
  font-style: normal;
  color: var(--pink);
  margin-left: 0.35em;
}

.hyrox-system-pill--alt {
  border-style: dashed;
  color: var(--bone-dim);
}

.hyrox-system-op,
.hyrox-system-mult {
  font-family: var(--display);
  font-weight: 800;
  color: var(--pink);
  font-size: clamp(18px, 2vw, 24px);
}

.hyrox-system-facts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(18px, 3vw, 40px);
  list-style: none;
}

.hyrox-system-facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hyrox-system-facts b {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  color: var(--white);
}

.hyrox-system-facts span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

@media (max-width: 700px) {
  .hyrox-system-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Services ----------
   Editorial card grid. Each card: pink num + category tag (top row),
   big stroked icon (no box), display title, body, mono arrow CTA. Hover
   sweeps a pink rule across the top edge and lifts the icon slightly. */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(28px, 3vw, 40px) clamp(26px, 2.6vw, 36px) clamp(32px, 3.4vw, 44px);
  background: var(--ink);
  overflow: hidden;
  transition: background .4s var(--ease);
  text-decoration: none;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width .55s var(--ease);
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover {
  background: rgba(20, 20, 20, 0.7);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-card-num,
.service-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--pink);
}

.service-card-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding: 4px 9px;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}

.service-card:hover .service-card-tag {
  border-color: rgba(255, 106, 0, 0.45);
  color: var(--white);
}

/* Icon — large stroke-only pink, no border box. */
.service-card-icon,
.service-card .icon {
  display: inline-flex;
  width: clamp(48px, 4.2vw, 64px);
  height: clamp(48px, 4.2vw, 64px);
  align-items: center;
  justify-content: center;
  color: var(--pink);
  margin-top: clamp(6px, 1vw, 12px);
  transition: transform .5s var(--ease);
}

.service-card-icon svg,
.service-card .icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.service-card:hover .service-card-icon,
.service-card:hover .icon {
  transform: translateY(-3px);
}

.service-card-title,
.service-card h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--white);
  margin: 0;
}

.service-card-body,
.service-card p {
  margin: 0;
  flex: 1;
  font-family: var(--body);
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.6;
  color: var(--bone-dim);
}

.service-card-cta,
.service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: clamp(8px, 1vw, 12px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-decoration: none;
  transition: color .35s var(--ease), gap .35s var(--ease);
}

.service-card-cta svg,
.service-card .arrow svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.6;
}

.service-card:hover .service-card-cta,
.service-card:hover .arrow {
  color: var(--pink);
  gap: 16px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage services preview keeps a 4-column layout. */
body.page-homepage #services .services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: 0;
}

@media (max-width: 1100px) {
  body.page-homepage #services .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  body.page-homepage #services .services-grid {
    grid-template-columns: 1fr;
  }
}

body.page-homepage #services .service-card {
  min-height: 320px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035) 0%, rgba(255, 255, 255, 0) 42%),
    var(--black-soft);
}

body.page-homepage #services .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--pink-glow-2) 0%, transparent 58%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}

body.page-homepage #services .service-card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

body.page-homepage #services .service-card {
  transition: background .45s var(--ease), border-color .45s var(--ease),
    transform .45s var(--ease);
}

body.page-homepage #services .service-card:hover {
  background: #121212;
  border-color: rgba(255, 255, 255, .22);
  transform: translateY(-6px);
}

body.page-homepage #services .service-card:hover::before {
  opacity: 1;
}

body.page-homepage #services .service-card:hover::after {
  transform: scaleX(1);
}

body.page-homepage #services .service-card .icon,
body.page-homepage #services .service-card h3,
body.page-homepage #services .service-card .arrow svg {
  transition: transform .45s var(--ease), color .35s var(--ease),
    border-color .35s var(--ease), background .35s var(--ease);
}

body.page-homepage #services .service-card:hover .icon {
  transform: scale(1.12) rotate(-3deg);
  border-color: var(--pink);
  background: rgba(255, 106, 0, 0.06);
}

body.page-homepage #services .service-card:hover h3 {
  transform: translateX(2px);
}

body.page-homepage #services .service-card:hover .arrow svg {
  transform: translateX(6px);
}

body.page-homepage #services .service-card .num {
  color: var(--pink);
}

body.page-homepage #services .service-card .icon {
  width: 52px;
  height: 52px;
  margin-top: 32px;
  background: rgba(255, 255, 255, .025);
  border-color: var(--line);
}

body.page-homepage #services .service-card h3 {
  margin-top: 28px;
  font-size: clamp(24px, 2vw, 34px);
}

body.page-homepage #services .service-card p {
  color: var(--gray);
}

@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.page-homepage #services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  body.page-homepage #services .services-grid {
    grid-template-columns: 1fr;
  }

  body.page-homepage #services .service-card {
    min-height: 260px;
  }
}

/* ---------- Services hero cards — image-driven grid ----------
   Premium fitness club pattern (Equinox / Barry's). Each card carries
   a full-bleed background image with a dark gradient veil; meta (num +
   category tag) sits top, title + body + arrow CTA sit bottom. Hover
   zooms the image, deepens the veil, and pushes the arrow forward. */
.services-hero-grid {
  --shg-gap: clamp(12px, 1.4vw, 20px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--shg-gap);
}

/* ---------- Additional services (extras) ----------
   Compact icon cards for amenities + expert support, distinct from the
   image-led class cards above. */
/* Bento layout — first card is a tall feature in the left column, the other
   four form a 2×2 block on the right. */
.extras-grid {
  --extras-gap: clamp(12px, 1.4vw, 18px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(158px, auto);
  gap: var(--extras-gap);
  margin-top: clamp(28px, 4vh, 48px);
}

.extra-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}

.extra-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

/* Icon sits in a tinted rounded chip — the modern "feature card" pattern. */
.extra-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 106, 0, 0.10);
  border: 1px solid rgba(255, 106, 0, 0.22);
  color: var(--pink);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}

.extra-card:hover .extra-card-icon {
  background: rgba(255, 106, 0, 0.16);
  border-color: rgba(255, 106, 0, 0.4);
}

.extra-card-icon svg {
  width: 23px;
  height: 23px;
}

.extra-card-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--white);
  margin: 0;
}

.extra-card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.extra-card-desc {
  font-family: var(--body);
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.6;
  color: var(--bone-dim);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tall feature tile (first extra) — occupies the left column across both
   rows; the other four cards form a 2×2 block on the right. Content is pushed
   to the top + bottom edges so the larger card never reads as empty. */
.extra-card--feature {
  grid-column: 1;
  grid-row: span 2;
  justify-content: space-between;
  gap: clamp(24px, 4vh, 56px);
}

.extra-card--feature .extra-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.extra-card--feature .extra-card-icon svg {
  width: 29px;
  height: 29px;
}

.extra-card--feature .extra-card-title {
  font-size: clamp(26px, 2.8vw, 40px);
}

.extra-card--feature .extra-card-desc {
  font-size: clamp(14px, 1.1vw, 16px);
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

@media (max-width: 760px) {
  .extras-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .extras-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .extra-card--feature {
    grid-column: 1;
    grid-row: span 1;
  }
}

/* Uniform grid: every class card is the same 4:3 tile, laying out cleanly
   for any multiple-of-3 class count. */
.service-hero-card {
  flex: 0 1 calc((100% - 2 * var(--shg-gap)) / 3);
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--ink);
  text-decoration: none;
  color: inherit;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  isolation: isolate;
}

.service-hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.service-hero-card-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-hero-card-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Stronger editorial photo treatment — desaturated, more contrast,
     warmer tone. Reads less like stock and more like a lookbook. */
  filter: grayscale(35%) contrast(115%) saturate(85%) brightness(94%);
  transition: transform 1.4s var(--ease), filter .6s var(--ease);
}

.service-hero-card:hover .service-hero-card-stage img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(118%) saturate(105%) brightness(100%);
}

.service-hero-card-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 5, 5, 0.45) 0%,
      rgba(5, 5, 5, 0.05) 35%,
      rgba(5, 5, 5, 0.55) 65%,
      rgba(5, 5, 5, 0.96) 100%);
  transition: background .55s var(--ease);
  pointer-events: none;
}

.service-hero-card:hover .service-hero-card-veil {
  background:
    linear-gradient(180deg,
      rgba(5, 5, 5, 0.55) 0%,
      rgba(5, 5, 5, 0.15) 30%,
      rgba(5, 5, 5, 0.75) 60%,
      rgba(5, 5, 5, 0.98) 100%);
}

/* Tag pulled out of the meta row — small mono caps at top-left, no
   backdrop chip. Reads as an editorial section tag, not a UI badge. */
.service-hero-card-tag {
  position: absolute;
  top: clamp(18px, 2vw, 26px);
  left: clamp(18px, 2vw, 26px);
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  padding-left: 14px;
  white-space: nowrap;
}

.service-hero-card-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 1px;
  background: var(--pink);
  transition: width .35s var(--ease);
}

.service-hero-card:hover .service-hero-card-tag::before {
  width: 14px;
}

.service-hero-card-content {
  position: absolute;
  left: clamp(20px, 2.2vw, 30px);
  right: clamp(20px, 2.2vw, 30px);
  bottom: clamp(20px, 2.2vw, 28px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* Italic display title — magazine masthead. Larger on feature card.
   Uppercase is applied PHP-side via locale_upper() so Turkish `i`
   becomes `İ` and English `i` becomes `I` reliably across browsers
   (CSS text-transform respects element-level `lang` inconsistently). */
.service-hero-card-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-style: normal;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.service-hero-card-body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(13px, 0.95vw, 14.5px);
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* CTA collapses to a single arrow icon — the whole card is clickable,
   so no need for a labeled link. */
.service-hero-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink);
}

.service-hero-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform .35s var(--ease);
}

.service-hero-card:hover .service-hero-card-cta svg {
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .service-hero-card {
    flex-basis: calc((100% - var(--shg-gap)) / 2);
  }
}

@media (max-width: 540px) {
  .service-hero-card {
    flex-basis: 100%;
  }
}

/* ---------- Class detail page ----------
   Editorial split: a rounded feature photo plate on the left, an overview
   column on the right (eyebrow · intro · spec pills · highlight points ·
   actions). Mirrors the coach detail layout for cross-page consistency. */
.class-detail-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(14px, 1.6vw, 20px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--pink);
}

.class-detail-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.class-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 4.5vw, 72px);
  align-items: start;
}

.class-detail-media {
  position: relative;
  margin: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--black-soft);
  isolation: isolate;
}

.class-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(108%);
}

.class-detail-media::after {
  content: "";
  position: absolute;
  inset: 55% 0 0 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.7) 100%);
  pointer-events: none;
}

.class-detail-media-tag {
  position: absolute;
  left: clamp(16px, 1.6vw, 20px);
  bottom: clamp(16px, 1.6vw, 20px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.5);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone);
}

.class-detail-media-tag .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

.class-detail-body {
  padding-top: clamp(4px, 1vw, 16px);
  display: flex;
  flex-direction: column;
}

.class-detail-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: clamp(16px, 1.8vw, 22px);
}

.class-detail-section-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.class-detail-intro {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.72;
  max-width: 56ch;
}

.class-detail-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(22px, 2.6vw, 32px) 0 0;
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--line);
}

.class-detail-spec {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.class-detail-spec-label {
  position: relative;
  padding-right: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.class-detail-spec-label::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  transform: translateY(-50%);
}

.class-detail-spec-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}

.class-detail-tagline {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--white);
}

.class-detail-block {
  margin-top: clamp(26px, 3vw, 36px);
}

.class-detail-subhead {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(16px, 1.3vw, 19px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}

.class-detail-goal {
  margin: clamp(24px, 2.8vw, 32px) 0 0;
  padding: 16px 20px;
  border-left: 2px solid var(--pink);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 106, 0, 0.05);
  color: var(--bone);
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.6;
  font-style: italic;
}

.class-detail-audience {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.7;
}

.class-detail-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.class-detail-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.5;
  color: var(--bone);
}

.class-detail-points svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  color: var(--pink);
}

.class-detail-actions {
  margin-top: clamp(28px, 3.4vw, 40px);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .class-detail-grid {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 40px);
  }
}

@media (max-width: 560px) {
  .class-detail-points {
    grid-template-columns: 1fr;
  }
}

/* ---------- Services list — editorial numbered rows ----------
   Used on /dersler (services.php). Each row: giant pink ordinal · title
   + body · category tag + arrow. Top + bottom rules carve the list,
   hover sweeps a warm gradient from the left and pushes the arrow right.
   No icons — typography + numerals carry the visual weight. */
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.service-row {
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .35s var(--ease);
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 106, 0, 0.10) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .55s var(--ease);
  pointer-events: none;
}

.service-row:hover::before {
  opacity: 1;
}

.service-row-link {
  display: grid;
  grid-template-columns: clamp(72px, 9vw, 132px) minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(24px, 2.8vw, 40px) clamp(8px, 1vw, 14px);
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
}

.service-row-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--pink);
}

.service-row-body {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.8vw, 10px);
  max-width: 64ch;
  min-width: 0;
}

.service-row-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--white);
}

.service-row-desc {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.6;
  color: var(--bone-dim);
}

.service-row-aside {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
}

.service-row-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding: 5px 9px;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}

.service-row:hover .service-row-tag {
  border-color: rgba(255, 106, 0, 0.45);
  color: var(--white);
}

.service-row-arrow {
  font-size: 22px;
  color: var(--bone-dim);
  transition: transform .35s var(--ease), color .35s var(--ease);
}

.service-row:hover .service-row-arrow {
  transform: translateX(8px);
  color: var(--pink);
}

@media (max-width: 900px) {
  .service-row-link {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 10px;
    padding: 20px 8px;
  }

  .service-row-num {
    grid-column: 1;
    grid-row: 1;
  }

  .service-row-body {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .service-row-aside {
    grid-column: 2 / -1;
    grid-row: 1;
    justify-self: end;
  }

  .service-row-num {
    font-size: clamp(36px, 11vw, 56px);
  }

  .service-row-title {
    font-size: clamp(20px, 5.4vw, 28px);
  }
}

/* ---------- Experience ---------- */
.exp {
  position: relative;
}

.exp-flow {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.exp-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 280px) minmax(0, 1fr) 32px;
  grid-template-areas: "num img body arrow";
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(20px, 2.4vw, 32px) clamp(8px, 1vw, 16px);
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease);
  position: relative;
}

.exp-row-num {
  grid-area: num;
}

.exp-row-img {
  grid-area: img;
}

.exp-row-body {
  grid-area: body;
}

.exp-row-arrow {
  grid-area: arrow;
}

.exp-row:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px) 80px 32px;
  grid-template-areas: "body img num arrow";
}

.exp-row:nth-child(even) .exp-row-body {
  text-align: right;
  align-items: flex-end;
}

.exp-row:nth-child(even) .exp-row-num {
  text-align: right;
}

.exp-row:nth-child(even)::before {
  left: auto;
  right: 0;
  transform-origin: bottom;
}

.exp-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--pink);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}

.exp-row:hover {
  background: #0a0a0a;
}

.exp-row:hover::before {
  transform: scaleY(1);
}

.exp-row-num {
  font-family: var(--display);
  font-weight: 900;
  color: var(--pink);
  font-size: clamp(36px, 3.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.exp-row-img {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
}

.exp-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(108%);
  transition: transform 1s var(--ease), filter .6s var(--ease);
}

.exp-row:hover .exp-row-img img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(112%);
}

.exp-row-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.exp-row-body h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(24px, 2.2vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
}

.exp-row-body p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
  max-width: 64ch;
  transition: color .3s var(--ease);
}

.exp-row:hover .exp-row-body p {
  color: var(--muted);
}

.exp-row-arrow {
  font-family: var(--display);
  font-size: 24px;
  color: var(--gray-dim);
  justify-self: end;
  transition: color .3s var(--ease), transform .35s var(--ease);
}

.exp-row:hover .exp-row-arrow {
  color: var(--pink);
  transform: translateX(6px);
}

@media (max-width: 900px) {

  .exp-row,
  .exp-row:nth-child(even) {
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-areas:
      "num   body"
      "img   img";
    column-gap: 18px;
    row-gap: 18px;
    padding: 24px 8px;
  }

  .exp-row-img {
    aspect-ratio: 16 / 9;
  }

  .exp-row-arrow {
    display: none;
  }

  .exp-row:nth-child(even) .exp-row-body {
    text-align: left;
    align-items: flex-start;
  }

  .exp-row:nth-child(even) .exp-row-num {
    text-align: left;
  }
}

/* ---------- Schedule ----------
   Magazine programme layout. Outer card holds a date masthead, a day
   filter strip, the 7-column day grid, and the published-by footer. */
.schedule-wrap {
  border: 1px solid var(--line);
  background: var(--black-soft);
  position: relative;
  overflow: hidden;
}

/* Subtle radial wash from the top-right — adds depth without noise. */
.schedule-wrap::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, var(--pink-glow-2) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.schedule-wrap>* {
  position: relative;
  z-index: 1;
}

/* ---------- Date masthead ---------- */
.schedule-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 20px 24px;
}

/* Editorial rule fills the space between the date block and the weekly
   stat, anchoring the month against the right-hand meta. */
.schedule-top-rule {
  flex: 1 1 40px;
  min-width: 30px;
  height: 1px;
  margin-bottom: 9px;
  background: var(--line-strong);
}

.schedule-top-mark {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.schedule-month {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.schedule-month-name {
  text-transform: capitalize;
}

.schedule-month-year {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(13px, 0.95vw, 15px);
  letter-spacing: 0;
  color: var(--bone-dim);
  position: relative;
  padding-left: 14px;
}

.schedule-month-year::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--pink);
  transform: translateY(-50%);
}

.schedule-top-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--bone-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.schedule-top-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.schedule-top-meta strong {
  color: var(--pink);
  font-weight: 700;
  font-size: 15px;
}

.schedule-top-meta-sep {
  color: var(--gray-dim);
}

/* ---------- Day filters ---------- */
.schedule-filters {
  display: flex;
  gap: 8px;
  padding: 16px clamp(24px, 3vw, 36px);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

/* ---------- Editorial Day Rows ----------
   Replaces the legacy 7-column grid. Each day is a full-width row:
   big italic display day name on the left, horizontal class chips on
   the right. Reads like a weekly magazine spread. Class-type colour
   lives on the chip's top rail (pink HYROX, bone strength, soft-blue
   recovery). Class .schedule-row keeps the legacy data-day-col attribute
   so the existing day-filter chip JS continues to work unchanged. */
.schedule-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.schedule-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 3.4fr);
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(13px, 1.5vw, 18px) clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--line);
  align-items: center;
  position: relative;
  transition: background .35s var(--ease);
}

.schedule-row:first-child {
  border-top: none;
}

.schedule-row:hover {
  background: rgba(255, 255, 255, 0.015);
}

.schedule-row.is-rest {
  opacity: 0.78;
}

/* ----- Left mark column ----- */
.schedule-row-mark {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
}

.schedule-row-day {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .3s var(--ease);
}

.schedule-row:hover .schedule-row-day {
  color: var(--pink);
}

.schedule-row-count {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--pink);
  text-transform: uppercase;
}

.schedule-row-count.is-rest {
  color: var(--gray);
}

/* ----- Right classes column ----- */
.schedule-row-classes {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 0.7vw, 12px);
}

.schedule-class {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: clamp(138px, 12vw, 168px);
  padding: 11px 14px 12px;
  border-radius: 12px;
  background: var(--black-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  isolation: isolate;
}

/* Top accent rail — class-type colour. */
.schedule-class::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: background .35s var(--ease);
}

.schedule-class.is-hyrox::before {
  background: var(--pink);
}

.schedule-class.is-strength::before {
  background: rgba(245, 241, 234, 0.65);
}

.schedule-class.is-recovery::before {
  background: #7AB8C0;
}

.schedule-class:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--black-card);
}

.schedule-class-time {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.schedule-class.is-hyrox .schedule-class-time {
  color: var(--pink);
}

.schedule-class-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--bone);
}

.schedule-class-meta {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gray);
}

.schedule-class-meta span+span::before {
  content: "·";
  margin-right: 6px;
  color: var(--gray-dim);
}

/* ----- Rest day placeholder ----- */
.schedule-rest {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--bone-dim);
  text-transform: uppercase;
}

.schedule-rest-dash {
  width: 32px;
  height: 1px;
  background: var(--line-strong);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .schedule-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px clamp(18px, 3vw, 24px);
  }

  .schedule-row-mark {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
  }

  .schedule-row-day {
    font-size: clamp(28px, 7vw, 38px);
  }

  .schedule-row-count {
    margin-left: auto;
  }

  .schedule-class {
    min-width: 0;
    flex: 1 1 calc(50% - 6px);
  }
}

@media (max-width: 540px) {
  .schedule-class {
    flex: 1 1 100%;
  }
}

/* ---------- Refined chip ---------- */
.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  background: transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease),
    background .3s var(--ease);
}

.chip:hover {
  border-color: var(--white);
  color: var(--white);
}

.chip.active {
  background: var(--white);
  color: #0a0205;
  border-color: var(--white);
}

.chip.pink.active {
  background: var(--pink);
  color: #0a0205;
  border-color: var(--pink);
}

/* ---------- Schedule footer (CTA + note) ---------- */
.schedule-cta {
  padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 36px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
}


.schedule-wrap.is-image-only {
  padding: 24px;
}

.schedule-wrap.is-image-only img {
  width: 100%;
  height: auto;
}

.schedule-supplement {
  margin-top: 40px;
}

.schedule-supplement img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

/* ---------- Live schedule callout ----------
   Single-line card with an Instagram glyph, a two-tier label and an
   arrow. Replaces the older dashed-border ad-block layout. */
.schedule-live {
  margin-top: clamp(28px, 3.6vw, 44px);
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  color: var(--white);
  text-decoration: none;
  background: var(--black-soft);
  transition: border-color .35s var(--ease), background .35s var(--ease),
    transform .35s var(--ease);
}

.schedule-live:hover {
  border-color: var(--pink);
  background: rgba(255, 106, 0, 0.04);
  transform: translateY(-2px);
}

.schedule-live-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--pink);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.schedule-live:hover .schedule-live-icon {
  border-color: var(--pink);
  background: rgba(255, 106, 0, 0.08);
}

.schedule-live-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.schedule-live-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.schedule-live-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.schedule-live-label {
  font-family: var(--body);
  font-size: 14px;
  color: var(--white);
  line-height: 1.4;
}

.schedule-live-arrow {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: 0.04em;
  color: var(--pink);
  white-space: nowrap;
  transition: transform .35s var(--ease);
}

.schedule-live:hover .schedule-live-arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .day-col {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
  }

  .schedule-live {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .schedule-month-year {
    padding-left: 0;
  }

  .schedule-month-year::before {
    display: none;
  }

  .schedule-month {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}



/* Recovery service card meta line — kept compact, mono, monogram-style. */
.service-meta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--gray);
  text-transform: uppercase;
}

.service-meta .dot-sep {
  color: var(--pink);
}

/* Recovery page location callout — replaces the old inline-styled box. */
.recovery-location {
  margin-top: clamp(40px, 5vw, 60px);
  padding: 22px 28px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--black-soft);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}

.recovery-location:hover {
  border-color: var(--pink);
  background: #121212;
}

.recovery-location>span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Coaches ----------
   Photo card with bottom-overlay caption. Image fills the card edge
   to edge; a strong gradient at the bottom carries the name + role
   in caps. Rounded corners + subtle border give it a premium "card
   inside the page" feel rather than a flat magazine plate. */
.coaches-grid {
  /* Flex + centered wrap so any coach count stays balanced: full rows sit
     edge-to-edge and a trailing partial row (e.g. the 5th card) centers
     instead of stranding a lone card on the left. */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 2vw, 32px);
}

/* Modern team card: portrait photo on top, structured info panel below
   (specialty eyebrow · name · view-profile CTA). No-grow flex basis keeps
   widths uniform; rows center via the grid's justify-content. */
.coach-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 1 clamp(264px, 23vw, 322px);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--black-soft);
  overflow: hidden;
  text-decoration: none;
  transition: transform .45s var(--ease), border-color .45s var(--ease),
    box-shadow .45s var(--ease);
}

.coach-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.coach-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.coach-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(108%);
  transition: transform 1.2s var(--ease), filter .5s var(--ease);
}

.coach-card:hover .coach-card-media img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(112%);
}

/* Soft foot-fade so the photo melts into the info panel. */
.coach-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.5) 100%);
  pointer-events: none;
}

.coach-card-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: clamp(18px, 1.6vw, 24px);
}

.coach-card-spec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.coach-card-spec .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  flex: none;
}

.coach-card-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .3s var(--ease);
}

.coach-card:hover .coach-card-name {
  color: var(--pink);
}

.coach-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color .3s var(--ease);
}

.coach-card-cta .arrow {
  transition: transform .35s var(--ease);
}

.coach-card:hover .coach-card-cta {
  color: var(--pink);
}

.coach-card:hover .coach-card-cta .arrow {
  transform: translateX(5px);
}

/* On phones each card takes the full row. */
@media (max-width: 560px) {
  .coach-card {
    flex: 1 1 100%;
  }
}

/* Card is an <a> when slug links exist — strip the link decoration. */
a.coach-card {
  text-decoration: none;
  color: inherit;
}

/* ---------- Coach detail page ----------
   Hero shows the name in caps display + the role in mono caps below.
   Body splits into a left photo plate (with a stamped caption) and a
   right body column. Bottom: prev / next coach navigator. */
.coach-hero h1 {
  font-size: clamp(40px, 5.6vw, 84px);
}

.coach-hero .crumb a {
  color: var(--bone-dim);
  text-decoration: none;
  transition: color .25s var(--ease);
}

.coach-hero .crumb a:hover {
  color: var(--white);
}

.coach-hero .crumb-sep {
  margin: 0 4px;
  color: var(--gray-dim);
}

/* Role tagline under the hero name — mono caps, bone tone, generous
   tracking. Sits inside .page-hero so its left margin aligns with the
   pink rail. */
.coach-hero-role {
  margin-top: clamp(20px, 2.4vw, 28px) !important;
  padding-top: 0 !important;
  font-family: var(--mono);
  font-size: clamp(11px, 0.95vw, 13px);
  letter-spacing: 0;
  color: var(--bone);
  text-transform: uppercase;
  max-width: none !important;
}

.coach-hero-role::before {
  display: none !important;
}

.coach-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.coach-detail-photo {
  margin: 0;
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--black-soft);
  isolation: isolate;
}

.coach-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(108%);
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}

.coach-detail-photo:hover img {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(112%);
}

/* Bottom gradient + stamped caption: pink ordinal on the left, name
   caps on the right. Reads like a magazine cover credit. */
.coach-detail-photo::after {
  content: "";
  position: absolute;
  inset: 50% 0 0 0;
  background: linear-gradient(180deg,
      rgba(5, 5, 5, 0) 0%,
      rgba(5, 5, 5, 0.55) 55%,
      rgba(5, 5, 5, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
}

.coach-detail-photo-meta {
  position: absolute;
  left: clamp(20px, 2vw, 26px);
  right: clamp(20px, 2vw, 26px);
  bottom: clamp(20px, 2.2vw, 28px);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  z-index: 2;
  margin: 0;
}

.coach-detail-photo-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 3.2vw, 52px);
  line-height: 1;
  color: var(--pink);
  letter-spacing: -0.02em;
}

.coach-detail-photo-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
}

.coach-detail-photo-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  flex: none;
}

.coach-detail-body {
  padding-top: clamp(8px, 1.4vw, 24px);
}

.coach-detail-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.coach-detail-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--pink);
}

.coach-detail-bio {
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  max-width: 56ch;
  margin: 0;
}

.coach-detail-bio p {
  margin: 0 0 14px;
}

.coach-detail-bio p:last-child {
  margin-bottom: 0;
}

/* Coach metadata — compact tag-chip pills (Role · Speciality). Each
   chip carries a small mono label and the value in display caps. Top
   border separates them from the bio body above. */
.coach-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(20px, 2.4vw, 32px) 0 0;
  padding-top: clamp(18px, 2.2vw, 26px);
  border-top: 1px solid var(--line);
}

.coach-detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}

.coach-detail-tag:hover {
  border-color: rgba(255, 106, 0, 0.4);
  background: rgba(255, 106, 0, 0.05);
}

.coach-detail-tag-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  position: relative;
  padding-right: 12px;
}

.coach-detail-tag-label::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  transform: translateY(-50%);
}

.coach-detail-tag-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.coach-detail-actions {
  margin-top: clamp(28px, 3.4vw, 40px);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Prev / next coach navigator at the bottom of the detail page. */
.coach-nav {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.coach-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--black-soft);
  color: var(--white);
  text-decoration: none;
  transition: border-color .35s var(--ease), background .35s var(--ease),
    transform .35s var(--ease);
}

.coach-nav-link.is-next {
  justify-content: flex-end;
  text-align: right;
  justify-self: end;
}

.coach-nav-link.is-prev {
  justify-self: start;
}

.coach-nav-link:hover {
  border-color: var(--pink);
  background: rgba(255, 106, 0, 0.04);
  transform: translateY(-2px);
}

.coach-nav-arrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--pink);
  transition: transform .35s var(--ease);
}

.coach-nav-link.is-prev:hover .coach-nav-arrow {
  transform: translateX(-4px);
}

.coach-nav-link.is-next:hover .coach-nav-arrow {
  transform: translateX(4px);
}

.coach-nav-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.coach-nav-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.coach-nav-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--white);
  letter-spacing: -0.005em;
}

@media (max-width: 900px) {
  .coach-detail-grid {
    grid-template-columns: 1fr;
  }

  .coach-nav {
    grid-template-columns: 1fr;
  }

  .coach-nav-link.is-next {
    justify-self: stretch;
    text-align: right;
  }

  .coach-nav-link.is-prev {
    justify-self: stretch;
  }
}

/* ---------- Events ----------
   Magazine event cover pattern: full-bleed photo plate, big pink date
   stamp at the top-left, a category eyebrow + name + arrow caption
   over a bottom gradient. Past events fade slightly until hovered. */
/* Featured "next event" banner — large horizontal plate: media + details.
   Keeps the page rich even with a single event, instead of a lone card. */
.event-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.event-feature-media {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-soft);
  isolation: isolate;
}

.event-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(108%);
}

.event-feature-body {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5vw, 20px);
}

.event-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--pink);
}

/* Countdown badge — sits top-right of the media, mirroring the date stamp
   top-left. Glassy like the stamp; pulses for a touch of urgency. */
.event-feature-countdown {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 106, 0, 0.5);
  background: rgba(5, 5, 5, 0.5);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--pink);
}

.event-feature-countdown-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.55);
  animation: final-status-pulse 2.4s var(--ease) infinite;
}

/* Date / location facts as small bordered pills with a pink icon. */
.event-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone);
}

.event-feature-chip svg {
  width: 14px;
  height: 14px;
  color: var(--pink);
  flex: none;
}

.event-feature-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.event-feature-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
}

.event-feature-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.event-feature-meta .sep {
  color: var(--pink);
}

.event-feature-desc {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
}

.event-feature-actions {
  margin-top: clamp(6px, 1vw, 10px);
}

@media (max-width: 860px) {
  .event-feature {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 28px);
  }
}

.events-grid {
  /* Flex + centered wrap so any event count stays balanced (a trailing
     partial row centers instead of stranding a lone card on the left). */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 2vw, 32px);
}

.event-card {
  position: relative;
  flex: 0 1 clamp(300px, 30vw, 440px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--black-soft);
  isolation: isolate;
  cursor: pointer;
  transition: transform .45s var(--ease), border-color .45s var(--ease),
    box-shadow .45s var(--ease);
}

@media (max-width: 560px) {
  .event-card {
    flex: 1 1 100%;
  }
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 106, 0, 0.18);
}

.event-card>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(108%);
  transition: transform 1.2s var(--ease), filter .5s var(--ease);
  z-index: 0;
}

.event-card:hover>img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(112%);
}

/* Bottom gradient — keeps the caption legible against any photo. */
.event-card::after {
  content: "";
  position: absolute;
  inset: 30% 0 0 0;
  background: linear-gradient(180deg,
      rgba(5, 5, 5, 0) 0%,
      rgba(5, 5, 5, 0.6) 50%,
      rgba(5, 5, 5, 0.96) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Date stamp (top-left) ----------
   Horizontal capsule: large pink day, thin pink rule, vertical mon
   over year. Glass blur + soft border anchors it without competing
   with the photo. Hover pulses the rule + glows. */
.event-stamp {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}

.event-card:hover .event-stamp {
  border-color: rgba(255, 106, 0, 0.5);
  background: rgba(5, 5, 5, 0.65);
}

.event-stamp-day {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 0.9;
  color: var(--pink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.event-stamp-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg,
      rgba(255, 106, 0, 0) 0%,
      rgba(255, 106, 0, 0.7) 50%,
      rgba(255, 106, 0, 0) 100%);
}

.event-stamp-rest {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.event-stamp-mon {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
}

.event-stamp-year {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0;
  color: var(--bone-dim);
}

/* ---------- Caption (bottom) ---------- */
.event-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-cat .dot {
  width: 5px;
  height: 5px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--pink);
  flex-shrink: 0;
}

.event-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(18px, 1.5vw, 24px);
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--white);
  margin: 0;
  transition: color .3s var(--ease);
}

.event-card:hover .event-name {
  color: var(--pink);
}

.event-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  color: var(--pink);
  transition: transform .35s var(--ease);
}

.event-arrow svg {
  width: 18px;
  height: 18px;
}

.event-card:hover .event-arrow {
  transform: translateX(8px);
}

/* Past events read at lower visual weight until hovered. */
.event-card.is-past>img {
  filter: grayscale(50%) contrast(102%);
  opacity: 0.7;
}

.event-card.is-past:hover>img {
  filter: grayscale(0%) contrast(112%);
  opacity: 1;
}

@media (max-width: 1000px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Community / IG ---------- */
.quote-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}

.quote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 0.98;
  text-transform: none;
  letter-spacing: -0.01em;
}

.quote em {
  font-style: italic;
  color: var(--pink);
  font-weight: 800;
}

.quote-attr {
  margin-top: 24px;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0;
  text-transform: uppercase;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ig-grid .ph {
  aspect-ratio: 1/1;
}

.ig-grid .ph::after {
  content: "Instagram";
}

@media (max-width: 900px) {
  .quote-wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- Final CTA (back-cover style, shared across all public pages) ---------- */
.section-final {
  padding: clamp(56px, 7vw, 104px) 0 clamp(52px, 6vw, 88px);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.section-final::before {
  content: "";
  position: absolute;
  right: -12vw;
  top: 50%;
  transform: translateY(-50%);
  width: 70vw;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, var(--pink-glow) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Two-column CTA: editorial intro (left) + vertical channel list (right). */
.final-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(36px, 5vw, 88px);
}

.final-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 22px);
}

.final-marker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.final-marker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 14px var(--pink);
}

/* Live availability pill — a small trust signal under the lede. */
.final-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  padding: 8px 15px 8px 13px;
  border: 1px solid rgba(255, 106, 0, 0.2);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(255, 106, 0, 0.06);
}

.final-status-icon {
  width: 14px;
  height: 14px;
  color: var(--pink);
  flex: none;
}

@keyframes final-status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(255, 106, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0); }
}

@media (max-width: 900px) {
  .final-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: clamp(28px, 6vw, 44px);
  }
}

.final-headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
}

.final-headline em {
  font-style: italic;
  font-weight: 900;
  color: var(--pink);
}

.final-lede {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.62;
}

/* 3 channel cards */
.final-channels {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.final-channel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "icon eyebrow arrow"
    "icon label   arrow";
  align-items: center;
  column-gap: 14px;
  row-gap: 3px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--black-soft);
  text-decoration: none;
  color: var(--white);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.final-channel:hover {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--pink);
  transform: translateY(-2px);
}

.final-channel-icon {
  grid-area: icon;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  border: 1px solid rgba(255, 106, 0, 0.22);
  background: rgba(255, 106, 0, 0.1);
  color: var(--pink);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

/* Hover: the icon chip fills solid orange and its glyph flips dark — a
   tactile "this is the button" cue. */
.final-channel:hover .final-channel-icon {
  border-color: var(--pink);
  background: var(--pink);
  color: #160a00;
}

.final-channel-icon svg {
  width: 16px;
  height: 16px;
}

.final-channel-eyebrow {
  grid-area: eyebrow;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
}

.final-channel-label {
  grid-area: label;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(17px, 1.3vw, 21px);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1;
}

.final-channel-arrow {
  grid-area: arrow;
  display: inline-flex;
  align-items: center;
  color: var(--gray);
  transition: color .3s var(--ease), transform .35s var(--ease);
}

.final-channel-arrow svg {
  width: 18px;
  height: 18px;
}

.final-channel:hover .final-channel-arrow {
  color: var(--pink);
  transform: translateX(6px);
}


@media (max-width: 900px) {
  .final-channels {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   FOOTER — premium editorial closing
   Three-tier structure:
     1. .footer-closing    — eyebrow + huge slogan + CTA, asymmetric
     2. .footer-masthead   — full-width cream marquee (decorative bridge)
     3. .footer-top        — brand + columns + hours card
     4. .footer-watermark  — colossal outline wordmark, full-bleed
     5. .footer-bottom     — micro mono copyright row
   Background fades into deep black with a radial pink wash from the
   bottom-right — same atmosphere as .section-final, bookending the
   page in a single mood. */
.site-footer {
  position: relative;
  background: #030303;
  color: var(--muted);
  padding: 0 0 28px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -16vw;
  bottom: -8vw;
  width: 80vw;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, var(--pink-glow) 0%, transparent 55%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

/* ---------- Masthead marquee ----------
   Full-bleed cream scroller, the visual bridge between the closing
   slogan and the listings below. Reuses .marquee.marquee-bone styling
   so the typographic register matches what's used elsewhere. */
.footer-masthead {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Top columns ----------
   Bottom border lives on .footer-bottom only (single divider rule) so
   we don't get the "two parallel lines" effect that hits when both
   sections paint their own edge. */
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1.6fr 1fr 1fr;
  gap: clamp(28px, 3.4vw, 56px);
  padding: clamp(56px, 6.5vw, 84px) 0 clamp(40px, 5vw, 64px);
}

.footer-brand .tag {
  margin-top: 18px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.65;
  max-width: 38ch;
}

/* Column heading — eyebrow with pink dot, premium register. */
.footer-col h5 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--bone-dim);
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 500;
}

.footer-col h5 .dot {
  width: 5px;
  height: 5px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--pink);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* GEZİN listesi 8 link içerir; tek sütunda dikeyde fazla uzar. 2-sütun
   grid daha kompakt + diğer kolonlarla yatayda denge kurar. */
.footer-col .footer-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px clamp(16px, 2vw, 28px);
}

/* Contact column — icon-led links. The icon sits in a tiny outlined
   square that mirrors the header's icon-button affordance, then the
   label, then the arrow on the far right. */
.footer-col-contact a {
  gap: 12px;
}

.footer-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--bone-dim);
  transition: border-color .3s var(--ease), color .3s var(--ease),
    background .3s var(--ease);
}

.footer-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.footer-col-contact a:hover .footer-icon {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(255, 106, 0, 0.06);
}

/* Make the label flex-fill so the arrow lands on the right edge of
   each row uniformly — even when the email address is longer. */
.footer-col-contact a>span:nth-child(2) {
  flex: 1;
}


/* Each link slides its label slightly right and reveals an arrow on
   hover — premium magazine pattern. */
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  transition: color .3s var(--ease);
  position: relative;
}

.footer-col a>span:first-child {
  transition: transform .35s var(--ease);
}

.footer-col a .arrow {
  font-family: var(--display);
  font-size: 13px;
  color: var(--pink);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col a:hover>span:first-child {
  transform: translateX(4px);
}

.footer-col a:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Meta column ----------
   Two distinct outlined cards (DİL + SAATLER) so the eyebrow labels
   can never visually run together, and the meta column gains the
   visual weight needed to balance the longer link columns. */
.footer-col-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-meta-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}

.footer-meta-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.footer-meta-card h5 {
  margin-bottom: 0;
}

/* Hours grid — each row is a labeled day-range + a mono time range,
   joined by space-between so the times right-align on every row.
   Reads like a programme listing rather than a paragraph. */
.hours-grid {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
  line-height: 1.3;
}

.hours-day {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bone-dim);
  white-space: nowrap;
}

.hours-time {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--white);
  font-feature-settings: 'tnum' 1;
  white-space: nowrap;
}

/* ---------- Bottom row — copyright (left) · legal (center) · credit (right) ---------- */
.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-bottom-copy {
  white-space: nowrap;
}

/* Legal links fill the space between the copyright and credit and centre
   themselves there, so the gap to each side is equal. */
.footer-bottom .footer-legal {
  flex: 1;
  justify-content: center;
}

@media (max-width: 1100px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .footer-bottom .footer-legal {
    flex: none;
  }

  .footer-bottom-copy {
    white-space: normal;
  }
}

.footer-bottom-loc em,
.footer-bottom-copy em {
  color: var(--pink);
  font-style: normal;
  margin: 0 6px;
}

/* Studio credit — sits centered between the copyright and the rights
   line. Reads as a quiet eyebrow at rest, brightens on hover. The
   logo slot (.footer-credit-name) is intentionally text-first so the
   layout doesn't break before the real asset lands. */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  white-space: nowrap;
}

.footer-credit-label,
.footer-credit-by {
  color: var(--gray);
}

.footer-credit-by {
  opacity: 0.85;
}

.footer-credit-name {
  display: inline-flex;
  align-items: center;
}

/* Logo is rendered as-is (no color filters). Sits muted at rest and
   lifts to full opacity + a faint scale on hover — gives the same
   "this is a link" affordance the surrounding text gets, without
   touching the logo's actual colors. */
.footer-credit-name img {
  display: block;
  height: 16px;
  width: auto;
  opacity: 0.78;
  transform: scale(1);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}

/* Hover scoped to the logo span only — moving the cursor over the
   label or the "by" connector leaves the logo at rest. */
.footer-credit-name:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* Legal links row — sits just above the copyright bar. */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-legal a {
  color: var(--gray);
  transition: color .25s var(--ease);
}

.footer-legal a:hover {
  color: var(--bone);
}

.footer-legal-sep {
  color: var(--gray-dim);
}

/* Legal / policy page body. */
.legal-body {
  max-width: 76ch;
}

.legal-note {
  font-family: var(--body);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--bone-dim);
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 clamp(30px, 3.2vw, 44px);
  padding-bottom: clamp(22px, 2.2vw, 30px);
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.legal-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }

.legal-section { margin-top: clamp(34px, 3.6vw, 52px); }
.legal-section:first-of-type { margin-top: 0; }
.legal-section h2 {
  display: flex;
  gap: 14px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(19px, 2vw, 27px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 16px;
}
.legal-section h2 .n { color: var(--pink); flex: none; }

.legal-body p {
  font-family: var(--body);
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.78;
  color: var(--bone-dim);
  margin: 0 0 14px;
}
.legal-body p:last-child { margin-bottom: 0; }
.legal-body a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .25s var(--ease);
}
.legal-body a:hover { opacity: 0.75; }
.legal-body strong { color: var(--bone); font-weight: 600; }

.legal-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.legal-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--body);
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.7;
  color: var(--bone-dim);
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-col-explore {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-col .footer-link-grid {
    grid-template-columns: 1fr;
  }

  /* Bottom bar: single centered column, balanced blocks.
     Order: legal links (2×2) · copyright · studio credit. */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
  }

  /* Legal links become a tidy 2×2 grid — separators dropped so the
     wrapped cluster reads clean instead of trailing stray dots. */
  .footer-bottom .footer-legal {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    width: 100%;
    max-width: 340px;
  }

  .footer-legal-sep {
    display: none;
  }

  /* Keep the copyright on its own line, no mid-string break. */
  .footer-bottom-copy {
    white-space: normal;
    line-height: 1.6;
  }

  .footer-bottom-copy .footer-bottom-sep {
    display: none;
  }

  .footer-bottom-copy .footer-bottom-rights {
    display: block;
  }

  .footer-meta-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- FAQ accordion ---------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
  position: relative;
  transition: padding .3s var(--ease);
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--pink);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}

.faq-item:hover::before,
.faq-item.open::before {
  transform: scaleY(1);
}

.faq-item:hover {
  padding-left: 18px;
}

.faq-item.open {
  padding-left: 18px;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Question label — sentence case display, restrained scale. Caps was
   too brutal at this density; this reads like a magazine FAQ block. */
.faq-q h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 24px);
  text-transform: none;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--white);
  transition: color .3s var(--ease);
  margin: 0;
}

.faq-item:hover .faq-q h4 {
  color: var(--pink);
}

/* Plus toggle — frame-less, just two thin strokes. The cross collapses
   into a minus when the item opens. */
.faq-q .plus {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 0;
  position: relative;
  transition: transform .35s var(--ease);
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--bone-dim);
  transition: transform .35s var(--ease), background .3s var(--ease);
}

.faq-q .plus::before {
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-q .plus::after {
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item:hover .faq-q .plus::before,
.faq-item:hover .faq-q .plus::after,
.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after {
  background: var(--pink);
}

.faq-item.open .faq-q .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}

.faq-a .inner {
  padding-top: 16px;
  color: var(--muted);
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Custom cursor ----------
   Active only on fine-pointer devices; JS adds .has-op-cursor on <html>
   to hide native cursor everywhere. Ring lerps with weight; dot snaps. */
.has-op-cursor,
.has-op-cursor * {
  cursor: none !important;
}

.op-cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity .25s var(--ease);
  mix-blend-mode: difference;
}

.op-cursor.is-visible {
  opacity: 1;
}

.op-cursor-ring,
.op-cursor-dot,
.op-cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
}

.op-cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--white);
  border-radius: 50%;
  transition: width .3s var(--ease), height .3s var(--ease),
    background .3s var(--ease), border-color .3s var(--ease);
}

.op-cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.op-cursor-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .25s var(--ease);
  padding: 0 4px;
}

/* Active state — hovering a link/card. Ring inflates, dot fades. */
.op-cursor.is-active .op-cursor-ring {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.85);
}

.op-cursor.is-active .op-cursor-dot {
  opacity: 0;
}

/* With-label state — ring inflates further, label appears. */
.op-cursor.has-label .op-cursor-ring {
  width: 84px;
  height: 84px;
  background: var(--pink);
  border-color: var(--pink);
}

.op-cursor.has-label .op-cursor-label {
  opacity: 1;
}

@media (pointer: coarse) {
  .op-cursor {
    display: none;
  }
}

/* ---------- Reveal animations ----------
   Progressive enhancement: content is VISIBLE by default so a failed, blocked
   or slow script never hides it. The hidden start-state is gated behind
   <html class="js"> (set by an inline head script before paint, so no flash). */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0s);
}

html.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

html.js .reveal-slow {
  transition-duration: 1.2s;
}

/* ---------- Event modal ----------
   Premium magazine-style detail. Top: photo plate with a pink date
   stamp. Bottom: eyebrow + name (sentence case) + meta row + desc +
   CTA pair. Rounded corners, generous padding, restrained tipografi. */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--black-card);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform .45s var(--ease);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.modal-backdrop.open .modal {
  transform: translateY(0);
}

/* Photo aspect-ratio matches the event card (4:5) so the same image
   crops identically in both places. max-height caps the plate so the
   modal stays inside the viewport on shorter screens. No border —
   the photo flows straight into the body. */
.modal .ph {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 48vh;
  background-color: var(--black-soft);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

/* Modal's .ph element keeps the global .ph rule's pseudo-elements,
   which paint a "with-image" hint label. Suppress them inside the
   modal — the date stamp + body header already carry context. */
.modal .ph::before,
.modal .ph::after {
  content: none;
}

.modal .body {
  padding: clamp(22px, 2.6vw, 32px);
}

/* Modal stamp shares all .event-stamp* styles. Just position it inside
   the modal photo plate. */
.modal .event-stamp {
  top: 14px;
  left: 14px;
}

.modal-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--white);
  margin: 0;
  max-width: 24ch;
}

/* Meta strip — date + location chips. Each chip: small icon + text,
   mono caps. Sits between the name and the description. */
.modal-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.modal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.modal-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--pink);
  flex-shrink: 0;
}

.modal-desc {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 56ch;
}

.modal-actions {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* Compact CTA inside the modal — primary button drops a touch in
   padding + size to stop dominating the row visually. */
.modal-actions .btn-primary {
  padding: 12px 18px 11px;
  font-size: 11px;
  letter-spacing: 0;
}

.modal-actions .btn-primary svg {
  width: 13px;
  height: 13px;
}

.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color .3s var(--ease);
}

.modal-link-arrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--pink);
  transition: transform .35s var(--ease);
}

.modal-link:hover {
  color: var(--pink);
}

.modal-link:hover .modal-link-arrow {
  transform: translate(4px, -4px);
}

/* Close button — minimalist, sits over the photo. */
.modal .close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s var(--ease), color .3s var(--ease),
    background .3s var(--ease), transform .3s var(--ease);
}

.modal .close:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(255, 106, 0, 0.1);
  transform: rotate(90deg);
}

/* ---------- Hero variants (internal pages) ---------- */
/* ---------- Page hero (internal pages) ----------
   Asymmetric editorial hero. Sits the crumb + headline + lede in a
   left-leaning column (max ~14 cols of a 16-col grid) so the right
   gutter breathes; a thin pink rail on the left edge plus a corner
   tick on the right anchor it as a magazine masthead rather than a
   centered banner. Headline scale is restrained (40 → 96px) so
   long Turkish copy reads on two-three lines, not a wall of glyphs. */
.page-hero {
  position: relative;
  padding: clamp(96px, 10vw, 140px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* Single very soft pink wash on the right edge — replaces the prior
   double radial + corner L-mark for a calmer, minimalist masthead. */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 92% 30%, rgba(255, 106, 0, 0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: none;
}

/* Inner block lives inside .container; we add a left rail by giving
   .container an inner pseudo-element that draws the spine. Avoids
   touching every page view's markup. */
.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .container>.crumb,
.page-hero .container>h1,
.page-hero .container>p {
  margin-left: clamp(20px, 3vw, 56px);
  max-width: calc(100% - clamp(20px, 3vw, 56px));
}

/* Vertical pink rail running down the left edge of the hero content —
   the masthead's spine. Premium magazine accent. */
/* Thin pink rail — the ONE remaining accent on the masthead. The dot
   at the top is the rail's anchor, kept small and unglowing so the rest
   of the type does the lifting. */
.page-hero .container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--pink) 0%, rgba(255, 106, 0, 0.4) 40%, transparent 100%);
  pointer-events: none;
}

.page-hero .container::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 4px;
  width: 5px;
  height: 5px;
  background: var(--pink);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .crumb {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

/* Within a plain-text crumb (the default markup is just "Home / Konsept"
   with a slash separator), tint the trailing segment so the current page
   reads as the emphasised end of the breadcrumb. Implemented via the slash
   character itself — first child stays muted, anything after a slash gets
   slightly lifted color via a generated separator below. Without rewriting
   8 page templates, this is a CSS-only refinement; the trainer show page
  q already uses anchor + .crumb-sep markup which the rule below also covers. */
.page-hero .crumb a {
  color: var(--gray);
  text-decoration: none;
  transition: color .25s var(--ease);
}

.page-hero .crumb a:hover {
  color: var(--white);
}

.page-hero .crumb .crumb-sep {
  margin: 0 2px;
  color: var(--gray-dim);
}

.page-hero .crumb::before {
  display: none;
}

/* spine + dot replaces old crumb dot */

.page-hero h1 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 22ch;
  overflow-wrap: break-word;
  margin: 0;
}

/* Italic accent for the page-hero h1 .accent / em — same typographic
   move used everywhere else (Big Shoulders italic, pink). */
.page-hero h1 em,
.page-hero h1 .accent {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: -0.005em;
}

/* Description sits tight under the headline. The pink rule between
   them is removed — the vertical rail already carries the accent. */
.page-hero p {
  position: relative;
  margin: clamp(20px, 2.2vw, 28px) 0 0;
  max-width: 56ch;
  color: var(--bone-dim);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.65;
}

@media (max-width: 700px) {

  .page-hero .container>.crumb,
  .page-hero .container>h1,
  .page-hero .container>p {
    margin-left: 16px;
    max-width: calc(100% - 16px);
  }

  .page-hero h1 {
    max-width: 100%;
  }
}

/* Page hero intro choreography — same staggered fade-up the homepage
   uses. Adds a premium "page enters frame" feel on every internal page. */
.page-hero .crumb,
.page-hero h1,
.page-hero p {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIntroIn 900ms var(--ease) forwards;
}

.page-hero h1 {
  animation-delay: 120ms;
}

.page-hero p {
  animation-delay: 260ms;
}

/* ---------- Concept page: editorial intro ----------
   Restrained magazine spread. Left column: small mono eyebrow →
   display headline with a single italic accent word → body lede →
   CTA pair. Right column: one tall plate + mono caption stamp.
   No watermark, no overlap, no italic body — just the essentials. */
.intro-editorial-section {
  position: relative;
}

.intro-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
}

.kicker-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.intro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: clamp(24px, 3vw, 32px);
}

.intro-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--pink);
}

.big-text {
  font-family: var(--display);
  font-weight: 800;
  text-transform: none;
  font-size: clamp(34px, 3.6vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 18ch;
}

/* A single italic accent word — Big Shoulders italic, pink, condensed.
   Reads as a typographic counterpoint to the upright display family. */
.big-text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: -0.005em;
}

.intro-body {
  margin: clamp(28px, 3.2vw, 36px) 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
}

.intro-actions {
  margin-top: clamp(32px, 3.6vw, 44px);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Premium understated arrow link — no underline at rest, just a label
   and a pink arrow that nudges right on hover. */
.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color .3s var(--ease);
  white-space: nowrap;
}

.intro-link-arrow {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--pink);
  transition: transform .35s var(--ease);
}

.intro-link:hover {
  color: var(--pink);
}

.intro-link:hover .intro-link-arrow {
  transform: translateX(6px);
}

/* ---------- Single feature plate ---------- */
.intro-figure {
  position: relative;
  margin: 0;
}

.intro-figure-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--black-soft);
}

.intro-figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(108%);
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}

.intro-figure:hover .intro-figure-frame img {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(112%);
}

.intro-figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 5, 5, 0.65) 100%);
  pointer-events: none;
}

/* Caption sits at the bottom of the plate — pink ordinal + label. */
.intro-figure-meta {
  position: absolute;
  left: clamp(28px, 3vw, 36px);
  right: clamp(28px, 3vw, 36px);
  bottom: clamp(26px, 2.8vw, 34px);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  z-index: 2;
}

.intro-figure-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 3vw, 48px);
  line-height: 1;
  color: var(--pink);
  letter-spacing: -0.02em;
}

.intro-figure-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  text-align: right;
}

@media (max-width: 900px) {
  .intro-editorial {
    grid-template-columns: 1fr;
  }
}

/* ---------- Editorial triptych — concept manifesto figure ----------
   Asymmetric two-column magazine spread: a single large portrait lead
   on the left + two stacked landscape side plates on the right. The
   ordinal "01" sits inside the lead's bottom-left corner as a solid
   pink display numeral; a meta strip closes the figure below. */
.intro-triptych {
  position: relative;
  margin: 0;
}

.intro-triptych-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  /* Two equal rows. Row height set explicitly so the lead's full-column
     height and the two side cells' total height always match. Sized to
     align roughly with the manifesto text column on the left. */
  grid-template-rows: clamp(160px, 14vw, 220px) clamp(160px, 14vw, 220px);
  gap: clamp(10px, 1.2vw, 18px);
}

.intro-triptych-cell {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  /* Subtle warm gradient — keeps the figure visually "alive" even when
     an image source is missing or still loading. */
  background:
    radial-gradient(ellipse at 18% 14%, rgba(255, 106, 0, 0.10) 0%, transparent 55%),
    linear-gradient(160deg, #161616 0%, #0a0a0a 100%);
  border: 1px solid var(--line);
}

.intro-triptych-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Hide broken-image alt text — the cell's gradient stands in instead. */
  font-size: 0;
  color: transparent;
  filter: grayscale(15%) contrast(106%) saturate(95%);
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}

.intro-triptych-cell:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(110%);
}

/* Lead — left column, spans both rows. */
.intro-triptych-lead {
  grid-column: 1;
  grid-row: 1 / -1;
}

/* Side cells — right column, stacked. */
.intro-triptych-side {
  grid-column: 2;
}

.intro-triptych-side-top {
  grid-row: 1;
}

.intro-triptych-side-bot {
  grid-row: 2;
}

/* Lead overlay gradient so the ordinal + label read on any photo. */
.intro-triptych-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 5, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Solid display ordinal anchored to the lead's bottom-left corner. */
.intro-triptych-num {
  position: absolute;
  left: clamp(18px, 2vw, 28px);
  bottom: clamp(56px, 5vw, 72px);
  z-index: 2;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(72px, 8.5vw, 132px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--pink);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  user-select: none;
}

/* Per-cell mono label, anchored bottom-left of each plate. */
.intro-triptych-label {
  position: absolute;
  bottom: clamp(14px, 1.4vw, 20px);
  left: clamp(14px, 1.4vw, 20px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 15, 15, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone);
}

.intro-triptych-label .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
}

/* The lead's label anchors bottom-right so it doesn't collide with the
   bottom-left ordinal. Side cells stay default (bottom-left). */
.intro-triptych-lead .intro-triptych-label {
  left: auto;
  right: clamp(14px, 1.4vw, 20px);
}

/* Bottom meta strip — tagline + location/year. */
.intro-triptych-meta {
  margin-top: clamp(20px, 2.4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(14px, 1.6vw, 18px);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.intro-triptych-meta-label {
  color: var(--bone);
}

@media (max-width: 900px) {
  .intro-triptych-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: clamp(200px, 50vw, 280px) clamp(140px, 32vw, 200px);
  }

  .intro-triptych-lead {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .intro-triptych-side-top {
    grid-row: 2;
    grid-column: 1;
  }

  .intro-triptych-side-bot {
    grid-row: 2;
    grid-column: 2;
  }
}

/* ---------- Concept pillars (no-image) ----------
   Editorial 4-column grid for the manifesto pillars. Pure typography:
   mono eyebrow + giant outline ordinal + display title with pink underline
   accent + body. No image plates — type carries the visual weight, hover
   adds a subtle warm glow. */
.concept-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
  margin-top: clamp(40px, 5vw, 64px);
}

.concept-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.4vw, 32px) clamp(32px, 3.4vw, 48px);
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}

.concept-pillar:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.concept-pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 12% 18%, rgba(255, 106, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.concept-pillar:hover::before {
  opacity: 1;
}

.concept-pillar:hover .concept-pillar-num {
  -webkit-text-stroke-color: rgba(255, 106, 0, 0.85);
}

/* The hollow ordinals charge bottom-to-top like a meter as the section
   scrolls into view — 01 first, then 02, 03, 04 ripple in sequence
   (driven by the stagger --delay). A pink copy wipes up over the outline. */
.concept-pillar-num::after {
  content: attr(data-num);
  position: absolute;
  inset: 0;
  color: var(--pink);
  -webkit-text-fill-color: var(--pink);
  -webkit-text-stroke: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .85s var(--ease);
}

.concept-pillar.in .concept-pillar-num::after {
  clip-path: inset(0 0 0 0);
  /* Amplify the group stagger so the four charge up slowly, one by one. */
  transition-delay: calc(var(--delay, 0s) * 2.4 + 0.35s);
}

.concept-pillar>* {
  position: relative;
  z-index: 1;
}

.concept-pillar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.concept-pillar-eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

/* Giant outline ordinal — visual anchor without an image. */
.concept-pillar-num {
  position: relative;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(72px, 7.5vw, 124px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 106, 0, 0.55);
  margin-top: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(8px, 1vw, 16px);
  transition: -webkit-text-stroke-color .4s var(--ease);
}

.concept-pillar-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: clamp(10px, 1.2vw, 14px);
  margin: 0;
}

.concept-pillar-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--pink);
  transition: width .4s var(--ease);
}

.concept-pillar:hover .concept-pillar-title::after {
  width: 56px;
}

.concept-pillar-body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.6;
  color: var(--bone-dim);
  /* Reserve three lines so all four pillars align however each wraps. */
  min-height: calc(1.6em * 3);
  transition: color .4s var(--ease);
}

.concept-pillar:hover .concept-pillar-body {
  color: var(--bone);
}

.concept-pillar:hover .concept-pillar-eyebrow .dot {
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.16);
}

.concept-pillar-eyebrow .dot {
  transition: box-shadow .4s var(--ease);
}

@media (max-width: 900px) {
  .concept-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .concept-pillars {
    grid-template-columns: 1fr;
  }
}

/* ---------- HYROX Categories — magazine TOC list ----------
   Editorial table-of-contents row layout. Each category is a single
   row: ordinal · title · description · arrow. Top + bottom rules
   carve the list, hover sweeps a warm gradient from left and pushes
   the arrow right. Used on hyrox.php for the four-category section. */
.hyrox-cats {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}

.hyrox-cat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
  cursor: default;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}

.hyrox-cat:hover {
  border-color: var(--pink);
  background: rgba(255, 106, 0, 0.04);
  transform: translateY(-3px);
}

/* Oversized ghost ordinal bleeding out of the top-right corner. */
.hyrox-cat-ghost {
  position: absolute;
  top: -0.2em;
  right: 0.1em;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(86px, 9vw, 150px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  transition: color .4s var(--ease);
}

.hyrox-cat:hover .hyrox-cat-ghost {
  color: rgba(255, 106, 0, 0.09);
}

.hyrox-cat>*:not(.hyrox-cat-ghost) {
  position: relative;
  z-index: 1;
}

.hyrox-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hyrox-cat-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--pink);
}

.hyrox-cat-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.hyrox-cat-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0;
}

.hyrox-cat-desc {
  font-family: var(--body);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.6;
  color: var(--bone-dim);
  margin: 0;
}

.hyrox-cat-arrow {
  margin-top: auto;
  font-size: 22px;
  color: var(--bone-dim);
  transition: transform .35s var(--ease), color .35s var(--ease);
}

.hyrox-cat:hover .hyrox-cat-arrow {
  transform: translateX(8px);
  color: var(--pink);
}

@media (max-width: 760px) {
  .hyrox-cats {
    grid-template-columns: 1fr;
  }
}

/* ---------- HYROX Prep: Coach Telemetry HUD ----------
   Deliberate departure from the rest of the site's editorial magazine
   language. Reads as a coach's training-load dashboard: bordered
   "screen" with corner ticks, mono tabular data rows, dual horizontal
   bars per phase (LOAD + INTENSITY), and a final READINESS meter.
   Sport-tech, not magazine. */
.prep-hud {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 32px);
  padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.4vw, 36px);
  font-family: var(--mono);
  color: var(--bone);
}

/* Editorial corner ticks bracketing the panel — anchors the "screen"
   metaphor without the heaviness of a full pink frame. */
.prep-hud::before,
.prep-hud::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.prep-hud::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--pink);
  border-left: 1px solid var(--pink);
}

.prep-hud::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid var(--pink);
  border-right: 1px solid var(--pink);
}

.prep-hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 10.5px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: clamp(14px, 1.6vw, 22px);
  margin-bottom: clamp(16px, 1.8vw, 24px);
}

.prep-hud-sig {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  flex-shrink: 0;
}

.prep-hud-id {
  flex: 1;
  color: var(--white);
  font-weight: 500;
}

.prep-hud-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
}

.prep-hud-status-dot {
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  animation: prepHudPulse 1.6s var(--ease) infinite;
}

@keyframes prepHudPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* ----- Data table — one row per phase, single readiness bar ----- */
.prep-hud-table {
  display: flex;
  flex-direction: column;
}

.prep-hud-row {
  display: grid;
  grid-template-columns:
    36px 80px minmax(110px, 0.9fr) minmax(0, 2.6fr) minmax(180px, 1.1fr);
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
  padding: clamp(18px, 1.8vw, 26px) 0;
  position: relative;
}

.prep-hud-row+.prep-hud-row {
  border-top: 1px solid var(--line);
}

.prep-hud-col {
  font-variant-numeric: tabular-nums;
  min-width: 0;
}

.prep-hud-col--id {
  color: var(--pink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
}

.prep-hud-col--wk {
  color: var(--white);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* ----- Phase name column ----- */
.prep-hud-col--name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prep-hud-name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--white);
}

.prep-hud-row[data-phase="4"] .prep-hud-name {
  color: var(--pink);
}

.prep-hud-flag {
  color: var(--pink);
  font-size: 10px;
  animation: prepHudPulse 1.6s var(--ease) infinite;
}

/* Description inline, sentence-case mono — keeps the HUD voice without
   shouting like uppercase caps did. */
.prep-hud-col--desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray);
  letter-spacing: 0;
  text-transform: none;
}

/* ----- Single readiness bar per row ----- */
.prep-hud-col--bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prep-hud-bar {
  position: relative;
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  min-width: 80px;
  overflow: hidden;
}

.prep-hud-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--w, 0%);
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.35);
  transition: width 1.1s var(--ease);
}

.prep-hud-bar-num {
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
  font-size: 11.5px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ----- Footer: single-line race readiness meter ----- */
.prep-hud-foot {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  border-top: 1px solid var(--line-strong);
  padding-top: clamp(18px, 1.8vw, 26px);
  margin-top: clamp(10px, 1.2vw, 16px);
  flex-wrap: wrap;
}

.prep-hud-meter-label {
  font-size: 10.5px;
  letter-spacing: 0;
  color: var(--pink);
  text-transform: uppercase;
  font-weight: 600;
  flex-shrink: 0;
}

.prep-hud-meter-bar {
  position: relative;
  flex: 1;
  height: 4px;
  background: var(--line-strong);
  min-width: 100px;
  overflow: hidden;
}

.prep-hud-meter-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--bone) 0%, var(--pink) 100%);
}

.prep-hud-meter-pct {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.prep-hud-legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0;
  color: var(--bone-dim);
  text-transform: uppercase;
  flex-shrink: 0;
}

.prep-hud-legend-arrow {
  color: var(--pink);
}

@media (max-width: 900px) {
  .prep-hud-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "id    wk    bar"
      "name  name  name"
      "desc  desc  desc";
    gap: 12px 14px;
    padding: 22px 0;
  }

  .prep-hud-col--id {
    grid-area: id;
  }

  .prep-hud-col--wk {
    grid-area: wk;
  }

  .prep-hud-col--bar {
    grid-area: bar;
    min-width: 90px;
  }

  .prep-hud-col--name {
    grid-area: name;
  }

  .prep-hud-col--desc {
    grid-area: desc;
  }

  .prep-hud-col--bar .prep-hud-bar {
    min-width: 60px;
  }

  .prep-hud-name {
    font-size: clamp(24px, 6.5vw, 32px);
  }

  .prep-hud-head {
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 9.5px;
  }

  .prep-hud-foot {
    flex-wrap: wrap;
  }

  .prep-hud-legend {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---------- Recovery ecosystem — 2x2 editorial grid ----------
   Magazine-cover composition: each item carries a giant italic display
   word as its visual anchor (no images), prefixed by a mono eyebrow and
   followed by a short body. Hover sweeps a thin pink rule across the
   top edge. Used on recovery.php for NUTRITION · PHYSIO · SLEEP · FLOW. */
.recovery-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 5vw, 64px);
}

.recovery-stack-item {
  position: relative;
  padding: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) clamp(36px, 4vw, 56px);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 26px);
  overflow: hidden;
  transition: background .4s var(--ease);
}

.recovery-stack-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width .55s var(--ease);
}

.recovery-stack-item:hover::before {
  width: 100%;
}

.recovery-stack-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.recovery-stack-eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

/* Giant italic display title — visual anchor without an image. */
.recovery-stack-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(54px, 6.4vw, 108px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--white);
  margin: 0;
}

.recovery-stack-desc {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.6;
  color: var(--bone-dim);
  max-width: 48ch;
}

@media (max-width: 700px) {
  .recovery-stack {
    grid-template-columns: 1fr;
  }
}

/* ---------- Experience flow (homepage race-day rehearsal) ----------
   Editorial vertical step list with no images. Each step: a giant solid
   pink ordinal anchored on the left (the visual hero), an uppercase
   display title and a short body in the right column. Steps are
   separated by a thin rule. Scale of the numeral does the work that
   would normally fall to a photograph. */
/* ---------- Experience: editorial timeline ribbon ----------
   A "typical session" walkthrough. Mono timestamp on the left, a thin
   vertical rail with bullet marker in the middle, italic display title
   + description on the right. Reads like a concierge itinerary. */
.exp-timeline-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: clamp(36px, 4vw, 56px) 0 clamp(20px, 2vw, 32px);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--bone-dim);
  text-transform: uppercase;
}

.exp-timeline-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

.exp-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.exp-timeline-step {
  position: relative;
  display: grid;
  grid-template-columns:
    clamp(96px, 11vw, 150px) clamp(20px, 2vw, 28px) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 36px);
  padding: clamp(28px, 3.4vw, 48px) 0;
  align-items: start;
}

/* Per-step rule between rows — but not above the first step (the section
   has its own border-top via section--bordered). */
.exp-timeline-step+.exp-timeline-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.exp-timeline-time {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}

.exp-timeline-time-stamp {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(44px, 5vw, 80px);
  letter-spacing: -0.02em;
  color: var(--pink);
  line-height: 0.9;
}

.exp-timeline-time-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0;
  color: var(--gray-dim);
  text-transform: uppercase;
}

/* Vertical rail — extends through the column, dot punches through it
   at the row's top alignment. The rail is drawn as a thin gradient so
   the first and last steps fade to/from line color, masking the cut. */
.exp-timeline-rail {
  position: relative;
  width: 1px;
  align-self: stretch;
  background: var(--line-strong);
  justify-self: center;
}

.exp-timeline-step:first-child .exp-timeline-rail {
  background: linear-gradient(to bottom, transparent 0, var(--line-strong) 22px);
}

.exp-timeline-step:last-child .exp-timeline-rail {
  background: linear-gradient(to bottom, var(--line-strong) 0, var(--line-strong) calc(100% - 22px), transparent calc(100% - 22px));
}

.exp-timeline-dot {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--black-soft);
  border: 2px solid var(--pink);
  box-shadow: 0 0 0 4px var(--black-soft), 0 0 18px rgba(255, 106, 0, 0.18);
  transition: background .35s var(--ease), transform .4s var(--ease);
}

.exp-timeline-step:hover .exp-timeline-dot {
  background: var(--pink);
  transform: translateX(-50%) scale(1.15);
}

.exp-timeline-body {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 16px);
  padding-top: 2px;
}

.exp-timeline-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .3s var(--ease);
}

.exp-timeline-step:hover .exp-timeline-title {
  color: var(--bone);
}

.exp-timeline-desc {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--gray);
}

@media (max-width: 700px) {
  .exp-timeline-step {
    grid-template-columns: 64px 18px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .exp-timeline-time-stamp {
    font-size: clamp(32px, 9vw, 44px);
  }

  .exp-timeline-time-num {
    font-size: 9.5px;
    letter-spacing: 0;
  }

  .exp-timeline-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .exp-timeline-desc {
    font-size: 14px;
  }
}

/* ---------- Experience steps grid (concept / hyrox / recovery) ----------
   4-column premium card grid sharing the homepage exp-flow visual
   register. Each step: image plate + index numeral + heading + body. */
.exp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 5vw, 64px);
}

.exp-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 26px;
  background: var(--black-soft);
  transition: background .45s var(--ease), transform .45s var(--ease);
  isolation: isolate;
  overflow: hidden;
}

.exp-step::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
  z-index: 2;
}

.exp-step:hover {
  background: #121212;
  transform: translateY(-4px);
}

.exp-step:hover::after {
  transform: scaleX(1);
}

.exp-step .ph {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.exp-step .ph img {
  transition: transform .8s var(--ease), filter .6s var(--ease);
}

.exp-step:hover .ph img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(112%);
}

.exp-step .index {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1;
  color: var(--pink);
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.exp-step h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
}

.exp-step p {
  margin: 0;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.55;
  transition: color .35s var(--ease);
}

.exp-step:hover p {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .exp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .exp-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Forms ---------- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.form-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bone-dim);
  font-weight: 600;
}

/* Inputs: subtle dark fill + soft outline. Focus pulls in a pink
   ring so the active field reads clearly without changing layout. */
.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--body);
  font-size: 15px;
  padding: 13px 16px;
  outline: none;
  accent-color: var(--pink);
  transition: border-color .25s var(--ease), background .25s var(--ease),
    box-shadow .25s var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  /* Lifted from the very dim --gray-dim for readability. */
  color: var(--gray);
  opacity: 1;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--pink);
  background: rgba(255, 106, 0, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

/* Custom select: drop the native dropdown arrow, paint a pink chevron
   via background SVG. Reads consistent across browsers. */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23FF6A00' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.form-field select option {
  background: var(--black-card);
  color: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Utility ---------- */
.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

.center {
  text-align: center;
}

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* ---------- Flash messages (stacked top-right) ---------- */
.flash-stack {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: calc(100vw - 40px);
  pointer-events: none;
}

.flash-stack .flash {
  pointer-events: auto;
  padding: 14px 18px;
  background: var(--black-card);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: flashIn .4s var(--ease);
}

.flash .flash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex: 0 0 8px;
}

.flash.flash-success {
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 106, 0, 0.18);
}

.flash.flash-success .flash-dot {
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: flashPulse 1.6s ease-in-out infinite;
}

@keyframes flashPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.78);
  }
}

.flash.flash-error {
  border-color: #ff6b6b;
}

.flash.flash-error .flash-dot {
  background: #ff6b6b;
  box-shadow: 0 0 10px #ff6b6b;
}

.flash.flash-info .flash-dot {
  background: var(--white);
}

@keyframes flashIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Field errors ---------- */
.field-err {
  color: #ff6b6b;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 6px;
}

.form-field input.has-err,
.form-field textarea.has-err,
.form-field select.has-err {
  border-bottom-color: #ff6b6b;
}

/* ---------- Honeypot (visually hidden) ---------- */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  background: rgba(5, 5, 5, 0.92);
  color: var(--white);
  transition: background .25s var(--ease), color .25s var(--ease);
}

.sticky-cta a svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.sticky-cta a.is-primary {
  background: var(--pink);
  color: #0a0205;
}

.sticky-cta a.is-primary:hover {
  background: var(--pink-hot);
}

.sticky-cta a.is-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--pink);
}

@media (max-width: 900px) {
  .sticky-cta {
    display: grid;
  }

  body {
    padding-bottom: 56px;
  }
}

/* ---------- Hero brand fallback (no image uploaded) ---------- */
.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, var(--pink-glow) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(255, 106, 0, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, #050505 0%, #0a0a0a 50%, #111 100%);
  overflow: hidden;
}

.hero-fallback::before {
  content: "O'PEOPLE";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(120px, 22vw, 360px);
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- Contact page (extracted from inline styles) ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: stretch;
}

/* Both columns stretch to the grid's tallest row; the form column
   then forwards that height down to .contact-form-card so the right
   side never ends short of the left. */
.contact-layout>.reveal {
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}


/* ---------- Contact info cells ----------
   Outlined grid of key/value cells. Each cell: pink-dot eyebrow, a
   display value, and a sweeping link. Hover lights up the border. */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-info-cell {
  padding: clamp(22px, 2.2vw, 30px);
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .4s var(--ease), background .4s var(--ease),
    transform .4s var(--ease), box-shadow .4s var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-info-cell:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

a.contact-info-cell:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.contact-info-cell .info-link {
  transition: color .3s var(--ease), transform .35s var(--ease);
}

a.contact-info-cell:hover .info-link {
  color: var(--white);
  transform: translateX(4px);
}

/* Primary cell — WhatsApp. Pink left rail + pink eyebrow dot stays
   loud, but the cell still sits in the same grid as everything else. */
.contact-info-cell.is-primary {
  position: relative;
  border-color: var(--pink);
  background:
    radial-gradient(circle at 100% 100%, var(--pink-glow-2) 0%, transparent 55%),
    var(--black-soft);
}

.contact-info-cell.is-primary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink-glow);
}

.contact-info-cell.is-primary:hover {
  border-color: var(--pink);
  background:
    radial-gradient(circle at 100% 100%, var(--pink-glow) 0%, transparent 55%),
    rgba(255, 106, 0, 0.04);
}

.contact-info-cell.is-primary .info-link {
  color: var(--pink);
}

.contact-info-cell h3 {
  margin-top: 10px;
  word-break: break-word;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(17px, 1.3vw, 20px);
  text-transform: none;
  letter-spacing: -0.005em;
  line-height: 1.2;
  color: var(--white);
}

.contact-info-cell .info-text {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.4;
  text-transform: none;
  letter-spacing: -0.005em;
  white-space: pre-line;
  color: var(--white);
}

.contact-info-cell .info-text.is-hours {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.55;
  color: var(--bone);
}

.contact-info-cell .info-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--pink);
  transition: color .3s var(--ease);
}

.contact-info-cell .info-link svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Hours inside the contact cell — stacked layout: small mono day
   label on top, larger display time row below. Reads as a programme
   listing rather than a cramped key/value row. */
.contact-info-cell .hours-grid {
  margin-top: 12px;
  gap: 0;
  display: flex;
  flex-direction: column;
}

.contact-info-cell .hours-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  /* Symmetric vertical padding so the dashed divider sits with equal space
     above and below it. */
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.contact-info-cell .hours-row:first-child {
  padding-top: 0;
}

.contact-info-cell .hours-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-info-cell .hours-day {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bone-dim);
}

.contact-info-cell .hours-time {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(17px, 1.3vw, 20px);
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.contact-map-frame {
  margin-top: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

/* Minimal dark Leaflet map (CARTO dark tiles). Interaction is disabled in
   JS so it reads as a static locator; the "Haritada Gör" link opens the live
   map. CARTO tiles are already dark, so no filter is applied. */
.contact-osm {
  width: 100%;
  height: clamp(320px, 42vh, 460px);
  background: #0d0d0d;
}

.contact-osm.leaflet-container {
  background: #0d0d0d;
  font-family: var(--body);
}

.contact-osm .leaflet-control-attribution {
  background: rgba(5, 5, 5, 0.6);
  color: var(--gray);
  font-size: 10px;
}

.contact-osm .leaflet-control-attribution a {
  color: var(--bone-dim);
}

/* Dark info card popped above the marker. */
.op-map-popup .leaflet-popup-content-wrapper {
  background: rgba(10, 10, 10, 0.96);
  color: var(--bone);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.op-map-popup .leaflet-popup-content {
  margin: 14px 16px;
  line-height: 1.5;
}

.op-map-popup .leaflet-popup-tip {
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid var(--line-strong);
}

.op-map-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.op-map-card-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}

.op-map-card-addr {
  font-family: var(--body);
  font-size: 12.5px;
  color: var(--bone-dim);
}

.op-map-popup .op-map-card-link {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--pink);
}

.op-map-popup .op-map-card-link:hover {
  color: var(--pink-hot);
}

.contact-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 10%, var(--pink-glow-2) 0%, transparent 55%);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.contact-map-placeholder {
  aspect-ratio: 16/7;
  margin-top: 40px;
}

.contact-map-placeholder .ph-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.contact-map-placeholder .ph-icon {
  margin: 0 auto;
}

.contact-map-placeholder .ph-label {
  margin-top: 14px;
}

.contact-form-card {
  padding: clamp(28px, 3.2vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--black-soft);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-card form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Textarea field eats remaining vertical space so the message box
   grows to fill the column. Submit row stays pinned to the bottom. */
.contact-form-card .form-field:has(textarea) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-card .form-field textarea {
  flex: 1;
  min-height: 110px;
  resize: vertical;
}

.contact-form-headline {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--white);
}

.contact-form-headline .hl {
  color: var(--pink);
}

/* ---------- Event application modal ----------
   In-page registration form opened from any "Başvur / Apply" trigger
   (featured banner + event detail modal). Submits via fetch; success
   and field errors render inline without leaving the page. */
.apply-modal .modal {
  max-width: 540px;
}

.apply-modal-body {
  padding: clamp(26px, 3vw, 34px);
}

.apply-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
}

.apply-modal-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.apply-modal-title {
  /* Reserve room on the right so a long title never collides with the
     floating close button. */
  margin: 12px 0 26px;
  padding-right: 46px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(23px, 2.3vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--white);
}

/* Eyebrow + title live inside the form; no extra top margin or the body
   padding doubles up into a big empty band at the top. */
.apply-form {
  margin-top: 0;
}

.apply-form-error-summary {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 90, 90, 0.4);
  border-radius: 10px;
  background: rgba(255, 90, 90, 0.08);
  color: #ff9b9b;
  font-size: 13px;
  line-height: 1.5;
}

/* Last field already carries a 20px bottom margin — keep the gap to the
   button modest so the footer doesn't drift away. */
.apply-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

/* Drop the trailing field margin right before the action row. */
.apply-form .form-field:last-of-type {
  margin-bottom: 4px;
}

.apply-form.is-submitting .btn-primary {
  opacity: .6;
  pointer-events: none;
}

.apply-modal-success {
  text-align: center;
  padding: clamp(10px, 2vw, 24px) 0;
}

.apply-modal-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 46, 136, 0.12);
  color: var(--pink);
  margin-bottom: 18px;
}

.apply-modal-success h4 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  color: var(--white);
}

.apply-modal-success p {
  margin: 0 auto;
  max-width: 38ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.contact-form-card .form-intro {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 44ch;
}

.contact-form-card form {
  margin-top: clamp(24px, 2.8vw, 32px);
}

.contact-form-card .form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.contact-form-card .required-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  color: var(--bone-dim);
  text-transform: uppercase;
}

/* Submit button — slightly more padding than default btn-primary,
   pink shadow grows on hover. */
.contact-form-card .form-actions .btn-primary {
  padding: 14px 24px 13px;
  font-size: 12px;
  letter-spacing: 0;
  box-shadow: 0 12px 36px var(--pink-glow);
}

.contact-form-card .form-actions .btn-primary:hover {
  box-shadow: 0 18px 50px var(--pink-glow);
}

@media (max-width: 600px) {
  .contact-form-card .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .contact-form-card .form-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Allow .hl to tint a word inside the page-hero h1. */
.page-hero h1 .hl {
  color: var(--pink);
}

/* Form errors live region */
.form-errors-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-err {
  display: block;
}

/* ---------- Social proof strip ---------- */
.social-proof {
  padding: var(--section-py-tight) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black-soft);
}

.social-proof .sp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.social-proof .sp-stat {
  padding: 24px clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-proof .sp-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.social-proof .sp-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 5vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
}

.social-proof .sp-num .accent {
  color: var(--pink);
}

.social-proof .sp-label {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
}

.social-proof .sp-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 28ch;
}

@media (max-width: 900px) {
  .social-proof .sp-grid {
    grid-template-columns: 1fr 1fr;
  }

  .social-proof .sp-stat {
    border-left: 1px solid var(--line);
    padding-left: clamp(16px, 4vw, 32px);
  }

  .social-proof .sp-stat:nth-child(2n+1) {
    border-left: 0;
    padding-left: 0;
  }

  .social-proof .sp-stat:nth-child(n+3) {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 8px;
  }
}

/* ---------- Homepage gallery (bento) ----------
   A 4-column bento grid: tile 1 is the 2×2 feature, tile 6 is a full-width
   banner, the rest are 1×1. Placeholders render a gradient + camera glyph;
   swap each .gallery-ph for an <img> when real photos arrive. */
/* Tessellated bento — 9 tiles fill a perfect 4×3 rectangle (flush bottom).
   Tiles 1 & 5 are portrait (2 rows), tile 2 is the 16:9 landscape (2 cols),
   the rest are square-ish. Sizes come from the grid areas below. */
/* Bento: two portraits (cols 2 & 4) + a 16:9 landscape banner on top, squares
   filling the rest. Tessellates 4×3 flush — all nine tiles, even bottom. */
.gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a b b c"
    "f d e c"
    "g d h i";
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: clamp(28px, 4vh, 48px);
}

.gallery-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0d0d0d;
  transition: border-color .3s var(--ease);
}

/* Square singles set every row height (1:1); the landscape (tile 2) just fills
   its 2-col row, and tiles 3 & 4 span two rows → the two portraits. */
.gallery-tile:nth-child(1),
.gallery-tile:nth-child(5),
.gallery-tile:nth-child(6),
.gallery-tile:nth-child(7),
.gallery-tile:nth-child(8),
.gallery-tile:nth-child(9) {
  aspect-ratio: 1 / 1;
}

.gallery-tile:nth-child(1) { grid-area: a; }
.gallery-tile:nth-child(2) { grid-area: b; }
.gallery-tile:nth-child(3) { grid-area: c; }
.gallery-tile:nth-child(4) { grid-area: d; }
.gallery-tile:nth-child(5) { grid-area: e; }
.gallery-tile:nth-child(6) { grid-area: f; }
.gallery-tile:nth-child(7) { grid-area: g; }
.gallery-tile:nth-child(8) { grid-area: h; }
.gallery-tile:nth-child(9) { grid-area: i; }

.gallery-tile:hover {
  border-color: var(--pink);
}

.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--bone-dim);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255, 106, 0, 0.10), transparent 60%),
    linear-gradient(135deg, #101010 0%, #1b1b1b 100%);
  transition: transform .5s var(--ease);
}

.gallery-tile:hover .gallery-ph {
  transform: scale(1.04);
}

.gallery-ph svg {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}

/* Tablet: 2-column tessellation (still flush). */
@media (max-width: 900px) {
  .gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "b b"
      "a c"
      "e c"
      "f d"
      "g d"
      "h i";
  }
}

/* Phones: single column, every tile a square. */
@media (max-width: 560px) {
  .gallery .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    grid-auto-rows: auto;
  }

  .gallery .gallery-grid .gallery-tile {
    grid-area: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ---------- Gallery lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 5vw, 64px);
  background: rgba(5, 5, 5, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox.open {
  display: flex;
}

.lightbox-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.lightbox-count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--bone-dim);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #0a0205;
}

.lightbox-close {
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.lightbox-prev {
  left: clamp(10px, 2vw, 28px);
}

.lightbox-next {
  right: clamp(10px, 2vw, 28px);
}

@media (max-width: 560px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
}


/* =========================================================================
   HOME · CINEMATIC HERO (layout only — rest of homepage unchanged)
   Palette unchanged (black / white / orange #FF6A00 + bone). Hero content is
   statically visible (not reveal-gated). Namespaced .cine-* (no collisions).
   ========================================================================= */

.cine-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

.cine-eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim);
  line-height: 1;
}
.cine-eyebrow-soft { color: var(--gray); letter-spacing: 0.14em; }
.cine-eyebrow-sep { width: 22px; height: 1px; background: var(--line-strong); }
.cine-dot {
  flex: 0 0 6px; width: 6px; height: 6px; background: var(--pink);
  border-radius: 50%; box-shadow: 0 0 14px var(--pink);
}

/* accent inside the hero title (heading() helper output) — italic orange,
   matching the site-wide accent treatment. */
.cine-hero-title .accent {
  font-family: var(--serif); font-style: italic; color: var(--pink);
}

/* ---------- Buttons ---------- */
.cine-btn {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  padding: 15px 26px; border-radius: var(--radius, 2px);
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.cine-btn svg { transition: transform .4s var(--ease); }
.cine-btn--solid {
  background: var(--pink); color: #0a0a0a;
  box-shadow: 0 10px 40px -12px var(--pink-glow);
}
.cine-btn--solid:hover { background: var(--pink-hot); transform: translateY(-2px); box-shadow: 0 18px 50px -14px var(--pink-glow); }
.cine-btn--solid:hover svg { transform: translateX(3px); }
.cine-btn--ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--white);
  border: 1px solid var(--line-strong); backdrop-filter: blur(6px);
}
.cine-btn--ghost:hover { border-color: var(--white); transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); }
.cine-btn--ghost:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.cine-hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; background: var(--black);
}
.cine-hero-stage { position: absolute; inset: 0; z-index: 0; }
.cine-hero-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(1.02) contrast(1.04);
}
.cine-hero-fallback {
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(255, 106, 0, 0.18), transparent 60%),
    linear-gradient(160deg, #161310, #050505 70%);
}
.cine-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0) 26%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.96) 4%, rgba(5, 5, 5, 0.55) 32%, rgba(5, 5, 5, 0.12) 60%, rgba(5, 5, 5, 0.3) 100%);
}
.cine-hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 100% at 50% 38%, transparent 52%, rgba(0, 0, 0, 0.6) 100%);
}
.cine-hero-inner { position: relative; z-index: 3; width: 100%; }
.cine-hero-brand { margin-bottom: clamp(20px, 2vw, 30px); }
.cine-hero-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  line-height: 1.1; letter-spacing: -0.015em;
  font-size: clamp(54px, 9vw, 138px); color: var(--white); max-width: 16ch;
}
.cine-hero-sub {
  margin-top: clamp(20px, 2vw, 28px); max-width: 54ch;
  font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: var(--muted);
}
.cine-hero-actions { margin-top: clamp(26px, 3vw, 38px); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

@media (max-width: 540px) {
  .cine-hero-actions .cine-btn { flex: 1 1 auto; justify-content: center; }
}


/* ---------- Page hero · MEDIA variant ----------
   Optional atmospheric background image behind the masthead, for image-rich
   inner pages (HYROX, recovery, services, trainers, concept). Same structure
   + text as the default .page-hero; only adds a cinematic backdrop so pages
   stop sharing one identical hero. Text stays left + legible via a left-dark
   scrim. Opt in by adding `page-hero--media` + a `.page-hero-stage` with an
   <img> (and optional .cine-grain). */
.page-hero--media {
  padding-top: clamp(132px, 14vw, 200px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
.page-hero--media .page-hero-stage {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.page-hero--media .page-hero-stage img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.5) contrast(1.08) brightness(0.5);
}
.page-hero--media .page-hero-stage::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.66) 44%, rgba(5, 5, 5, 0.32) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.12) 52%);
}
/* tone down the default right pink wash so it doesn't fight the photo */
.page-hero--media::before { opacity: 0.5; }

/* ---------- About · closing invitation (para 3 pull-statement) ---------- */
.about-closing {
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.about-closing-text {
  max-width: 34ch;
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-size: clamp(24px, 3vw, 44px);
  color: var(--white);
}
.about-closing-text em {
  font-style: italic;
  font-weight: 900;
  color: var(--pink);
}


/* =========================================================================
   HOME · HERO — FULL-BLEED IMAGE
   The photo covers the whole hero; its dark left side is the bed for the
   content (eyebrow / headline / sub / CTAs), so the athlete on the right
   stays clear. Palette unchanged (black / white / orange + bone). Entrance
   is pure-CSS on load (image scale-only so it never hides); always runs.
   ========================================================================= */
.hs-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

/* ---- full-bleed media ---- */
.hs-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hs-media img, .hs-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: contrast(1.05) saturate(1.02) brightness(0.96);
  animation: hsZoom 18s var(--ease) forwards;
}
@keyframes hsZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hs-media-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 20%, rgba(255, 106, 0, 0.22), transparent 60%),
    linear-gradient(160deg, #161310, #050505 72%);
}
/* reinforce the image's own dark-left + a bottom + slight top for the header */
.hs-media-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.86) 0%, rgba(5, 5, 5, 0.5) 30%, rgba(5, 5, 5, 0.08) 56%, transparent 78%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.5) 0%, transparent 34%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.5) 0%, transparent 16%);
}

/* ---- content over the dark left ---- */
.hs-panel { position: relative; z-index: 2; width: 100%; }
.hs-panel-inner { max-width: 660px; }

.hs-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-dim);
  line-height: 1; margin: 0 0 clamp(22px, 2.4vw, 32px);
}
.hs-eyebrow b { font-weight: 700; color: var(--white); letter-spacing: 0.16em; }
.hs-eyebrow-soft { color: var(--gray); }
.hs-eyebrow-sep { width: 26px; height: 1px; background: var(--line-strong); }
.hs-dot { flex: 0 0 6px; width: 6px; height: 6px; background: var(--pink); border-radius: 50%; box-shadow: 0 0 14px var(--pink); }

.hs-title {
  margin: 0;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  line-height: 1.3; letter-spacing: -0.015em;
  font-size: clamp(46px, 5.4vw, 104px);
  color: var(--white);
}
.hs-title .accent { color: var(--pink); font-style: normal; }
.hs-title .outline { -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.6); color: transparent; }

.hs-sub {
  margin: clamp(20px, 2.2vw, 30px) 0 0;
  max-width: 42ch;
  font-size: clamp(15px, 1.05vw, 17px); line-height: 1.62; color: var(--muted);
}
.hs-cta { margin-top: clamp(28px, 3.2vw, 42px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hs-media-cap {
  position: absolute; right: clamp(20px, 2.4vw, 40px); bottom: clamp(22px, 3.2vh, 36px); z-index: 2;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dim);
}
.hs-media-cap i { color: var(--pink); font-style: normal; }

/* ---- entrance (always on) ---- */
.hs-eyebrow, .hs-title, .hs-sub, .hs-cta {
  opacity: 0; transform: translateY(16px);
  animation: hsRise 0.8s var(--ease) forwards;
}
.hs-eyebrow { animation-delay: 0.12s; }
.hs-title   { animation-delay: 0.22s; }
.hs-sub     { animation-delay: 0.36s; }
.hs-cta     { animation-delay: 0.5s; }
.hs-media-cap { opacity: 0; animation: hsFade 0.9s var(--ease) forwards 0.85s; }
@keyframes hsRise { to { opacity: 1; transform: none; } }
@keyframes hsFade { to { opacity: 1; } }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .hs-hero { align-items: flex-end; }
  .hs-media img, .hs-media video { object-position: 70% center; }
  .hs-media-grade {
    background:
      linear-gradient(0deg, rgba(5, 5, 5, 0.92) 4%, rgba(5, 5, 5, 0.35) 46%, rgba(5, 5, 5, 0.55) 100%);
  }
  .hs-panel { padding-bottom: clamp(40px, 12vh, 96px); }
  .hs-panel-inner { max-width: 100%; }
  .hs-sub { max-width: 100%; }
  .hs-cta .cine-btn { flex: 1 1 auto; justify-content: center; }
  .hs-media-cap { display: none; }
}
