/* ==========================================================================
   FITCAVE v3 — "Lights on"
   Materials from the studio: black walls, rubber floor, white sled-track
   lanes, chalk dust, the oiled-orange lifting platform.
   One signature moment: the home hero switches the studio lights on.
   ========================================================================== */
@font-face { font-family: "Big Shoulders"; src: url("/assets/fonts/bigshoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("/assets/fonts/schibsted.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("/assets/fonts/schibsted-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --cave: #000000;
  --rubber: #1c1c1a;
  --rubber-2: #282826;
  --lane: #f2f1ec;
  --chalk: #e3e1db;
  --platform: #c8102e;          /* Fitcave red, from the ROXPERIENCE poster */
  --platform-ink: #b00e28;      /* red for small text on light backgrounds */
  --platform-hi: #ff4d5e;       /* brighter red for small text on black */
  --steel: #8a8d90;
  --ink-2: #4b4c4e;
  --rule-light: rgba(0,0,0,.14);
  --rule-dark: rgba(242,241,236,.16);

  --f-display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-body: "Schibsted", "Helvetica Neue", Arial, sans-serif;

  /* modular scale 1.25 on 17px body */
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-lead: clamp(1.15rem, 1.02rem + .5vw, 1.4rem);
  --fs-h3: clamp(1.6rem, 1.25rem + 1.2vw, 2.4rem);
  --fs-h2: clamp(3rem, 1.6rem + 5vw, 6.6rem);
  --fs-hero: clamp(5rem, 1rem + 15vw, 15rem);

  --gutter: clamp(18px, 4.5vw, 64px);
  --max: 1380px;
  --section: clamp(5rem, 3rem + 7vw, 10rem);
  --ease: cubic-bezier(.2, .75, .15, 1);
  --header: 72px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; background: var(--lane); color: var(--cave); font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { font-weight: 650; }
::selection { background: var(--platform); color: var(--lane); }
:focus-visible { outline: 2px solid var(--platform); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--lane); color: var(--cave); padding: .75rem 1rem; }
.skip:focus { left: 16px; top: 8px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* ---------- type ---------- */
.display, .h2, .h1, .ticket__price, .step__n, .opt__price {
  font-family: var(--f-display); font-weight: 850; text-transform: uppercase; line-height: .86; letter-spacing: -.005em;
}
.display { font-size: var(--fs-hero); }
.display--page { font-size: clamp(3.6rem, 1rem + 9vw, 10rem); }
.h1 { font-size: clamp(3.4rem, 1.2rem + 7vw, 8rem); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-family: var(--f-display); font-weight: 750; font-size: var(--fs-h3); line-height: 1; text-transform: uppercase; letter-spacing: .005em; }
.h4 { font-weight: 650; font-size: 1.15rem; line-height: 1.3; }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 34em; }
.small { font-size: var(--fs-small); }
.muted { color: var(--ink-2); }
.label { font-size: var(--fs-small); font-weight: 600; }
/* the small line above a heading: sentence case, platform orange, a lane-line tick */
.eyebrow { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: var(--fs-small); color: var(--platform-ink); }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; flex: none; }
.dark .eyebrow, .hero .eyebrow, .final .eyebrow, .page-hero .eyebrow { color: var(--platform-hi); }
.stack { display: grid; gap: 1.4rem; align-content: start; }
.prose { display: grid; gap: 1.1rem; max-width: 40rem; align-content: start; }
.prose p, .card__body p, .block p { max-width: 62ch; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn {
  --bg: var(--cave); --fg: var(--lane); --bd: var(--cave);
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: .9rem 1.5rem;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd); border-radius: 999px;
  font-weight: 650; font-size: 1rem; line-height: 1.15; text-align: center; text-decoration: none; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lane); transform: translateX(-101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--cave); }
.btn:active { transform: scale(.98); }
.btn--mat { --bg: var(--platform); --fg: var(--lane); --bd: var(--platform); }
.btn--mat::before { background: var(--cave); }
.btn--mat:hover { color: var(--lane); border-color: var(--cave); }
.dark .btn--mat::before, .hero .btn--mat::before, .final .btn--mat::before, .page-hero .btn--mat::before { background: var(--lane); }
.dark .btn--mat:hover, .hero .btn--mat:hover, .final .btn--mat:hover { color: var(--cave); border-color: var(--lane); }
.btn--ghost { --bg: transparent; --fg: var(--cave); --bd: var(--cave); }
.btn--ghost::before { background: var(--cave); }
.btn--ghost:hover { color: var(--lane); }
.btn--ghost-light { --bg: transparent; --fg: var(--lane); --bd: rgba(242,241,236,.4); }
.btn--ghost-light:hover { color: var(--cave); border-color: var(--lane); }
.btn--block { width: 100%; }
.btn--sm { min-height: 46px; padding: .6rem 1.1rem; font-size: .95rem; }
.textlink { font-weight: 650; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease), color .2s; }
.textlink:hover { color: var(--platform-ink); background-size: 30% 2px; }
.arr { display: none; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); color: var(--lane); transition: background .35s var(--ease), box-shadow .35s; }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; }
.is-scrolled .site-header, .menu-open .site-header { background: rgba(0,0,0,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--rule-dark); }
.brand img { height: 24px; width: auto; }
.nav { display: flex; gap: clamp(.6rem, 1.15vw, 1.5rem); margin-left: auto; font-size: clamp(.8rem, .55rem + .35vw, .92rem); font-weight: 600; }
.nav a { white-space: nowrap; }
.nav a { text-decoration: none; opacity: .8; padding-block: .4rem; background: linear-gradient(var(--platform), var(--platform)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease), opacity .2s; }
.nav a:hover, .nav a[aria-current] { opacity: 1; background-size: 100% 2px; }
.header-cta { min-height: 42px; padding: .5rem 1.1rem; font-size: .9rem; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn::before { top: 16px; } .menu-btn span { top: 22px; } .menu-btn::after { top: 28px; }
.menu-open .menu-btn::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span { opacity: 0; }
.menu-open .menu-btn::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header) 0 0; z-index: 49; background: var(--cave); color: var(--lane); padding: 1.5rem var(--gutter) 2rem; display: grid; align-content: space-between; overflow-y: auto; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.05; text-decoration: none; padding-block: .15rem; }
.mobile-menu nav a[aria-current] { color: var(--platform-hi); }
.mobile-menu .sub { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; color: var(--steel); }
@media (max-width: 1240px) { .nav, .header-cta { display: none; } .menu-btn { display: block; } }

/* scroll lane: a thin orange line fills down the left edge as you read */
.lane-progress { position: fixed; left: 0; top: 0; bottom: 0; width: 3px; z-index: 60; pointer-events: none; background: transparent; }
.lane-progress::after { content: ""; position: absolute; inset: 0; background: var(--platform); transform-origin: top; transform: scaleY(var(--p, 0)); }

/* ---------- hero (all pages) ---------- */
.hero { position: relative; background: var(--cave); color: var(--lane); overflow: hidden; min-height: min(100svh, 980px); display: grid; isolation: isolate; }
.hero .wrap { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(1.5rem, 4vw, 4rem); align-items: end; padding-top: calc(var(--header) + clamp(2rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.hero__copy { display: grid; gap: 1.6rem; position: relative; z-index: 2; }
.hero__copy .lead { color: #c9c7c0; }
.hero__more { color: #a4a39d; max-width: 36em; }
.hero__media { position: relative; z-index: 1; align-self: stretch; min-height: 340px; }
.hero__media img { width: 100%; height: 100%; max-height: 78svh; object-fit: cover; object-position: 50% 35%; }
.hero--noimg { min-height: 0; }
.hero--noimg .wrap { grid-template-columns: minmax(0, 1fr); }
.hero--noimg .hero__copy { max-width: 66rem; }
.hero .btns { margin-top: .4rem; }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--header) + 2.2rem); }
  .hero__media { order: 2; margin-inline: calc(-1 * var(--gutter)); min-height: 0; }
  .hero__media img { aspect-ratio: 4 / 4.4; max-height: 70svh; display: block; }
  .hero:not(.hero--noimg) .wrap { padding-bottom: 0; }
}

/* ---------- HOME: "lights on" ---------- */
.home-hero { min-height: 100svh; }
.home-hero .wrap { grid-template-columns: minmax(0, 1fr); align-items: end; min-height: 100svh; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.home-hero .hero__copy { gap: clamp(1rem, 2.5vh, 1.8rem); }
.home-hero .lead { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.home-hero__photo { position: absolute; inset: 0; z-index: -2; }
.home-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(.72) contrast(1.06) saturate(.9); }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.92) 100%); }
.home-hero .display { font-size: min(clamp(4.6rem, .8rem + 15vw, 16rem), 25svh); line-height: .8; transform: skewX(-6deg); transform-origin: left bottom; margin-left: -.04em; }
.home-hero .display span { display: block; }
.home-hero__base { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; }
.home-hero__base .hero__h { font-family: var(--f-display); font-weight: 750; text-transform: uppercase; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1; }
.home-hero__lights { position: absolute; inset: 0 0 auto; z-index: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12vw; padding: 0 14vw; height: 14px; pointer-events: none; }
.home-hero__lights i { display: block; height: 6px; margin-top: calc(var(--header) + 10px); background: #fffbea; border-radius: 6px; box-shadow: 0 0 22px 6px rgba(255,248,220,.55), 0 0 90px 30px rgba(255,240,200,.18); opacity: 0; }
@media (max-width: 900px) { .home-hero__base { grid-template-columns: minmax(0, 1fr); } }

/* the switch-on sequence (only when motion is OK and JS is ready) */
.js .home-hero.is-dark .home-hero__photo img { filter: brightness(0) contrast(1.08); }
.js .home-hero.is-dark .display span, .js .home-hero.is-dark .home-hero__base { opacity: 0; }
.home-hero.is-on .home-hero__lights i { animation: flick 1.1s steps(1) both; }
.home-hero.is-on .home-hero__lights i:nth-child(2) { animation-delay: .35s; }
.home-hero.is-on .home-hero__lights i:nth-child(3) { animation-delay: .7s; }
.home-hero.is-on .home-hero__photo img { animation: lightsup 1.8s var(--ease) .2s both; }
.home-hero.is-on .display span { animation: rise .9s var(--ease) both; }
.home-hero.is-on .display span:nth-child(1) { animation-delay: .9s; }
.home-hero.is-on .display span:nth-child(2) { animation-delay: 1.02s; }
.home-hero.is-on .display span:nth-child(3) { animation-delay: 1.14s; }
.home-hero.is-on .home-hero__base { animation: fadein .8s var(--ease) 1.45s both; }
@keyframes flick { 0% { opacity: 0 } 8% { opacity: 1 } 14% { opacity: .15 } 22% { opacity: 1 } 30% { opacity: .4 } 36%, 100% { opacity: 1 } }
@keyframes lightsup { 0% { filter: brightness(0) contrast(1.08); } 20% { filter: brightness(.25) contrast(1.08); } 45% { filter: brightness(.38) contrast(1.08); } 100% { filter: brightness(.72) contrast(1.06) saturate(.9); } }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); } }
@keyframes fadein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* sled-track lanes: perspective lines running toward you (home hero + final CTA) */
.lanes { position: absolute; left: 50%; bottom: 0; width: 240vw; height: 46%; transform: translateX(-50%) perspective(420px) rotateX(64deg); transform-origin: 50% 100%; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 3px), rgba(242,241,236,.55) calc(12.5% - 3px) 12.5%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(242,241,236,.0) 46px 48px);
  mask-image: linear-gradient(0deg, #000 10%, transparent 95%); -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 95%); opacity: .35; }
.lanes::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 110px, rgba(200,16,46,0) 110px 112px); }
.lanes--run { background-size: auto, auto; }
.lanes--run::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 140px, rgba(242,241,236,.35) 140px 146px); animation: run var(--lane-speed, 2.4s) linear infinite; }
@keyframes run { from { background-position: 0 0; } to { background-position: 0 146px; } }

/* ---------- sections ---------- */
.band { padding-block: var(--section); position: relative; }
.band--paper { background: var(--lane); }
.band--concrete { background: var(--chalk); }
.band--dark, .dark { background: var(--rubber); color: var(--lane); }
.dark .muted, .dark .block p, .dark .card__body p { color: #b6b5af; }
.band + .band--paper.band, .band--paper + .band--paper { border-top: 1px solid var(--rule-light); }
.section-head { display: grid; gap: 1.3rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 60rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.split--text { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split--text .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header) + 2rem); }
.split--blocks { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--reviews { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--media { align-items: center; }
.split--rev > :first-child { order: 0; }
@media (max-width: 900px) {
  .split, .split--text, .split--blocks, .split--reviews { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .split--text .section-head { position: static; }
}

/* photos: cropped into the frame, a slow "push in" as they enter */
.figure { overflow: hidden; background: var(--rubber); }
.figure img { width: 100%; height: auto; }
.figure--tall img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 82svh; }
.js .reveal-img img { transform: scale(1.12); clip-path: inset(12% 0 12% 0); transition: transform 1.4s var(--ease), clip-path 1.1s var(--ease); }
.js .reveal-img.is-in img { transform: none; clip-path: inset(0); }
.split--blocks .figure { margin-top: 1.5rem; }
.split--blocks .figure img { aspect-ratio: 4 / 5; object-fit: cover; }

/* checklist: lane-line ticks */
.checklist { display: grid; border-top: 1px solid var(--rule-light); }
.checklist li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; padding-block: .8rem; border-bottom: 1px solid var(--rule-light); }
.checklist li::before { content: ""; width: .95rem; height: .5rem; margin-top: .5rem; border-left: 2.5px solid var(--platform); border-bottom: 2.5px solid var(--platform); transform: rotate(-45deg); }
.dark .checklist, .dark .checklist li { border-color: var(--rule-dark); }

/* steps: real sequences only (they come from ordered lists) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 3vw, 2.5rem); counter-reset: s; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { display: grid; gap: .6rem; align-content: start; padding-top: 1.2rem; border-top: 3px solid var(--cave); position: relative; }
.step::before { content: ""; position: absolute; left: 0; top: -3px; height: 3px; width: 0; background: var(--platform); transition: width 1s var(--ease); }
.step.is-in::before, .no-js .step::before { width: 100%; }
.step__n { font-size: clamp(3.4rem, 2rem + 4vw, 6rem); color: var(--platform-ink); line-height: .8; }
.step .muted { color: var(--ink-2); }
@media (max-width: 1100px) { .steps--4, .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
@media (max-width: 640px) { .steps, .steps--4, .steps--5 { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; } }
.block .steps, .split .stack .steps, .prose .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
.block .step, .split .stack .step, .prose .step { grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 1rem; padding-block: 1rem; border-top-width: 1px; }
.block .step__n, .split .stack .step__n, .prose .step__n { grid-row: span 2; font-size: 2.6rem; }

/* h3 blocks */
.blocks { display: grid; border-top: 3px solid var(--cave); }
.block { display: grid; gap: .9rem; padding-block: clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--rule-light); }
.block p { color: var(--ink-2); }
.blocks--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); border-top: 0; }
.blocks--grid .block { border-top: 3px solid var(--cave); border-bottom: 0; }
@media (max-width: 760px) { .blocks--grid { grid-template-columns: minmax(0, 1fr); } }

/* reviews: a quote wall */
.reviews { columns: 3 300px; column-gap: 1.25rem; }
.review { break-inside: avoid; margin: 0 0 1.25rem; padding: 1.8rem 1.6rem 1.5rem; background: var(--lane); border-radius: 18px; display: grid; gap: 1rem; }
.band--paper .review { background: var(--chalk); }
.review__stars { color: var(--platform-ink); letter-spacing: .15em; font-size: .9rem; }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.review figcaption { display: grid; gap: .15rem; font-size: var(--fs-small); }
.review__name { font-weight: 700; }
.review .label { font-weight: 500; color: var(--ink-2); }
.split--reviews .reviews { columns: 2 260px; }
/* reviews over the client's own photo */
.reviews.reviews--photo { columns: auto; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; padding-bottom: .5rem; }
.reviews--photo .review { position: relative; overflow: hidden; margin: 0; min-height: clamp(520px, 44vw, 620px); align-content: end; padding: 1.8rem 1.6rem 1.6rem; background: var(--rubber); color: var(--lane); scroll-snap-align: start; isolation: isolate; }
.band--paper .reviews--photo .review { background: var(--rubber); }
.reviews--photo .review__bg { position: absolute; inset: 0; z-index: -1; }
.reviews--photo .review__bg img { position: absolute; left: 0; top: calc(var(--lift, 0%) * -1); width: 100%; height: calc(100% + var(--lift, 0%)); object-fit: cover; object-position: var(--px, 50%) 50%; }
.reviews--photo .review__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.12) 28%, rgba(0,0,0,.8) 50%, rgba(0,0,0,.94) 100%); }
.reviews--photo .review__stars { color: #ffc93c; }
.reviews--photo .review blockquote { font-size: 1.02rem; }
.reviews--photo .review .label { color: rgba(242,241,236,.78); }
.reviews--photo .review__story { margin-top: .45rem; font-weight: 700; color: var(--lane); text-decoration: underline; text-underline-offset: .2em; }
.reviews--photo .review__story:hover { color: var(--platform-hi); }
@media (max-width: 700px) { .reviews.reviews--photo { grid-auto-columns: 82vw; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); } .reviews--photo .review { min-height: 540px; } }

/* FAQ */
.faq { border-top: 3px solid var(--cave); max-width: 64rem; }
.faq details { border-bottom: 1px solid var(--rule-light); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 2.2rem; gap: 1rem; align-items: center; padding: 1.35rem 0; font-weight: 650; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; justify-self: end; width: 2rem; height: 2rem; border-radius: 50%; background: var(--cave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23f2f1ec' stroke-width='1.8'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--platform-ink); }
.faq .ans { padding: 0 3.5rem 1.6rem 0; color: var(--ink-2); display: grid; gap: .8rem; }
.faq details[open] .ans { animation: fadein .45s var(--ease); }

/* coach / person cards: tap to flip */
.cards { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards--3 { grid-template-columns: minmax(0, 1fr); max-width: 34rem; } }
@media (max-width: 700px) { .cards--2 { grid-template-columns: minmax(0, 1fr); } }
.card { display: grid; gap: 1.2rem; align-content: start; }
.card__img { overflow: hidden; background: var(--rubber); }
.card__img img { width: 100%; height: auto; }
.card__body { display: grid; gap: .8rem; align-content: start; }
.card__sub { color: var(--platform-ink); font-weight: 600; }
.card--person { perspective: 1400px; }
.flip { position: relative; display: grid; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip > * { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip__back { transform: rotateY(180deg); background: var(--cave); color: var(--lane); padding: clamp(1.4rem, 3vw, 2rem); display: grid; align-content: start; gap: 1rem; overflow-y: auto; }
.flip__back .checklist, .flip__back .checklist li { border-color: var(--rule-dark); font-size: .95rem; }
.flip__back p { color: #c9c7c0; font-size: .97rem; }
.flip__front img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; width: 100%; }
.card--person.is-flipped .flip { transform: rotateY(180deg); }
.flip-btn { justify-self: start; display: inline-flex; align-items: center; gap: .6rem; background: none; border: 0; padding: .2rem 0; font: inherit; font-weight: 650; cursor: pointer; color: inherit; }
.flip-btn::before { content: ""; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--cave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8a5 5 0 0 1 9-3m1-2v3h-3M13 8a5 5 0 0 1-9 3m-1 2v-3h3' fill='none' stroke='%23f2f1ec' stroke-width='1.5'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .5s var(--ease); }
.card--person.is-flipped .flip-btn::before { transform: rotate(180deg); }
.card__name { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }

/* wall of fame: swipe through each year like a results board */
.strip-wrap { position: relative; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 34%); gap: clamp(1rem, 2vw, 1.6rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 1.2rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); cursor: grab; scrollbar-width: thin; scrollbar-color: var(--cave) transparent; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip .card { scroll-snap-align: start; }
.strip .card__img img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; transition: transform 1s var(--ease); pointer-events: none; }
.strip .card:hover .card__img img { transform: scale(1.04); }
.strip .card .figure { display: none; }
.strip-nav { display: flex; gap: .6rem; justify-content: flex-end; margin-top: -4.5rem; margin-bottom: 2rem; }
.strip-nav button { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 2px solid var(--cave); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; color: var(--cave); }
.strip-nav button:hover { background: var(--cave); color: var(--lane); }
.strip-nav button:disabled { opacity: .25; cursor: default; background: transparent; color: var(--cave); }
.strip-count { font-weight: 600; color: var(--ink-2); align-self: center; margin-right: auto; }
@media (max-width: 700px) { .strip { grid-auto-columns: 84%; } .strip-nav { margin-top: 0; } }
.card--photo .h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); }

/* package pages */
.page-hero { background: var(--cave); color: var(--lane); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .wrap { padding-top: calc(var(--header) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero__copy { display: grid; gap: 1.4rem; max-width: 62rem; }
.page-hero .lead { color: #c9c7c0; }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.phases--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 66rem; }
.phase { background: var(--lane); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; gap: 1.1rem; align-content: start; position: relative; overflow: hidden; }
.band--paper .phase { background: var(--chalk); }
.phase::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--platform); transform-origin: left; transform: scaleX(.18); transition: transform .6s var(--ease); }
.phase:hover::before { transform: none; }
.phase__head { display: grid; gap: .4rem; }
.phase__head .label { color: var(--ink-2); }
.phase__desc { color: var(--ink-2); }
.phase .ticket__price { font-size: clamp(3.2rem, 5vw, 4.6rem); }
.opts { display: grid; border-top: 1px solid var(--rule-light); margin-top: auto; }
.opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label price" "btn btn"; gap: .5rem 1rem; padding-block: 1.2rem; border-bottom: 1px solid var(--rule-light); align-items: baseline; }
.opt__label { grid-area: label; font-weight: 600; }
.opt__price { grid-area: price; font-size: 2.1rem; line-height: .9; }
.opt .btn { grid-area: btn; }
@media (max-width: 1000px) { .phases { grid-template-columns: minmax(0, 1fr); max-width: 38rem; } .phases--2 { grid-template-columns: minmax(0, 1fr); } }
.seg-wide { margin-top: clamp(2.5rem, 5vw, 4rem); }
.seg-intro { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.seg-foot, .seg-note { margin-top: 2.5rem; }
.lead-ish p { font-size: var(--fs-lead); line-height: 1.5; }

/* ---------- final call ---------- */
.final { position: relative; background: var(--cave); color: var(--lane); overflow: hidden; isolation: isolate; }
.final .wrap { padding-block: clamp(6rem, 12vw, 12rem) clamp(9rem, 16vw, 15rem); display: grid; gap: 1.8rem; justify-items: start; }
.final .display { font-size: clamp(4.4rem, 1rem + 13vw, 14rem); line-height: .82; max-width: 12ch; }
.final .lead { color: #c9c7c0; }
.final .lanes { height: 60%; }

/* ---------- footer ---------- */
.site-footer { background: var(--cave); color: var(--steel); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: var(--fs-small); border-top: 1px solid var(--rule-dark); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.site-footer h2 { font-family: var(--f-display); font-weight: 750; text-transform: uppercase; color: var(--lane); font-size: 1.2rem; margin-bottom: .9rem; }
.site-footer ul { display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; color: #c9c7c0; }
.site-footer a:hover { color: var(--platform-hi); }
.site-footer address { font-style: normal; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--rule-dark); margin-top: 3rem; padding-top: 1.4rem; }
.footer-motto { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; color: var(--lane); font-size: clamp(3.5rem, 1rem + 10vw, 11rem); line-height: .82; margin-bottom: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.005em; }
.footer-motto span { color: var(--platform-hi); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- mobile action bar ---------- */
.actionbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; transform: translateY(150%); transition: transform .45s var(--ease); display: none; }
.actionbar .btn { width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.actionbar.is-visible { transform: none; }
@media (max-width: 900px) { .actionbar { display: block; } body { padding-bottom: 0; } }

/* reveal for steps/figures (only when JS + motion) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal-img img { transform: none; clip-path: none; }
  .js .home-hero.is-dark .home-hero__photo img { filter: brightness(.72) contrast(1.06) saturate(.9); }
  .js .home-hero.is-dark .display span, .js .home-hero.is-dark .home-hero__base { opacity: 1; }
  .lanes--run::before { animation: none; }
}
.flip { aspect-ratio: 4 / 5; }
.flip > * { height: 100%; min-height: 0; }
.flip__front img { height: 100%; aspect-ratio: auto; }
.flip__back { overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--platform) transparent; }
.card__part { font-family: var(--f-body); font-size: .8rem; font-weight: 600; color: var(--ink-2); vertical-align: middle; margin-left: .3rem; }

/* feature panel: one photo, a headline and a line, laid over the image */
.feature { position: relative; min-height: min(92svh, 860px); display: grid; align-items: end; color: var(--lane); background: var(--cave); overflow: hidden; isolation: isolate; }
.feature__img { position: absolute; inset: 0; z-index: -2; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.85) 100%); }
.feature__copy { padding-block: clamp(3rem, 7vw, 6rem); display: grid; gap: 1.2rem; }
.feature .section-head { margin-bottom: 0; }
.feature .eyebrow { color: var(--platform-hi); }
.feature .h2 { font-size: clamp(3.4rem, 1.4rem + 7vw, 9rem); max-width: 12ch; }
.feature .stack p { font-size: var(--fs-lead); max-width: 30em; color: #dedcd5; }
.feature .textlink { color: var(--lane); }
.feature .textlink:hover { color: var(--platform-hi); }
.js .feature .reveal-img img { clip-path: none; transform: scale(1.08); }
.js .feature .reveal-img.is-in img { transform: none; }
@media (max-width: 700px) { .feature { min-height: 78svh; } }

/* "tell us first" dialog on self-serve booking pages */
.guard { width: min(560px, calc(100vw - 32px)); border: 0; border-radius: 26px; padding: clamp(1.6rem, 4vw, 2.4rem); background: var(--lane); color: var(--cave); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.guard::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.guard[open] { display: grid; gap: 1.1rem; animation: guardIn .45s var(--ease); }
.guard .h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); }
.guard p:not(.eyebrow) { color: var(--ink-2); }
.guard__actions { display: grid; gap: .7rem; margin-top: .4rem; justify-items: stretch; }
.guard__actions .textlink { justify-self: start; margin-top: .3rem; }
.guard__close { position: absolute; top: .9rem; right: .9rem; }
.guard__close button { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: var(--chalk); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.guard { position: fixed; }
@keyframes guardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* buttons that open the enquiry form carry a little form icon */
a.btn[href*="form.typeform.com"]::after {
  content: ""; flex: none; width: 1.05em; height: 1.05em; margin-left: .55em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1M9 10h6M9 14h6M9 18h3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1M9 10h6M9 14h6M9 18h3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* visually hidden, still read by Google and screen readers */
.vh, .home-hero .display .vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* portrait photo in a feature panel: photo on the right half on wide screens, so a face is not stretched across the page */
@media (min-width: 900px) {
  .feature--portrait .feature__img { left: auto; width: 50%; }
  .feature--portrait .feature__img img { object-position: 50% 20%; }
  .feature--portrait::after { background: linear-gradient(90deg, #000 0%, #000 50%, rgba(0,0,0,.55) 58%, rgba(0,0,0,0) 72%), linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.6) 100%); }
  .feature--portrait .feature__copy { align-self: center; }
  .feature--portrait .feature__copy > * { max-width: 46%; }
}

/* outbound arrow, drawn so phones never turn it into an emoji */
.story-video { margin-top: 1.5rem; }
.story-video .btn { padding-left: .55rem; gap: .7rem; }
.play { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--platform); color: #fff; flex: none; }
.play svg { width: 1rem; height: 1rem; margin-left: 2px; }
.watch { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); align-items: center; gap: clamp(1.2rem, 3vw, 2.5rem); margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(.8rem, 1.5vw, 1rem); padding-right: clamp(1.2rem, 3vw, 2.5rem); background: var(--cave); color: var(--lane); text-decoration: none; border-radius: 18px; max-width: 52rem; }
.watch__thumb { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; }
.watch__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .8s var(--ease), opacity .3s; }
.watch__play { position: absolute; left: .8rem; bottom: .8rem; width: 4.2rem; height: 4.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--platform); color: #fff; box-shadow: 0 0 0 8px rgba(200,16,46,.28); transition: transform .4s var(--ease); }
.watch__play svg { width: 1.7rem; height: 1.7rem; margin-left: 3px; }
.watch__body { display: grid; gap: .7rem; }
.watch .eyebrow { color: var(--platform-hi); }
.watch__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: .92; }
.watch__meta { font-weight: 600; opacity: .8; }
.watch:hover .watch__thumb img { transform: scale(1.05); opacity: 1; }
.watch:hover .watch__play { transform: scale(1.1); }
.watch:focus-visible { outline: 3px solid var(--platform); outline-offset: 4px; }
@media (max-width: 560px) { .watch { grid-template-columns: 7.5rem minmax(0, 1fr); } .watch__play { left: .5rem; bottom: .5rem; width: 2.6rem; height: 2.6rem; box-shadow: 0 0 0 5px rgba(200,16,46,.28); } .watch__play svg { width: 1.2rem; height: 1.2rem; } }
.ext { display: inline-block; width: .7em; height: .7em; vertical-align: .05em; margin-left: .15em; }

/* ---------- client stories ---------- */
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.story-card__link { display: grid; gap: 1.1rem; color: inherit; text-decoration: none; }
.story-card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cave); }
.story-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story-card__link:hover .story-card__img img { transform: scale(1.04); }
.story-card__body { display: grid; gap: .45rem; }
.story-card__role { color: var(--ink-2); font-weight: 600; }
.story-card__quote { font-family: var(--f-display); font-weight: 750; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.02; margin: .4rem 0 .5rem; }
.story-card .textlink { justify-self: start; }

.story-hero .eyebrow a { color: inherit; text-decoration: none; }
.story-hero .eyebrow a:hover { text-decoration: underline; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 1.6rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--rule-dark); max-width: 34rem; }
.facts dt { font-size: var(--fs-small); color: var(--platform-hi); font-weight: 600; margin-bottom: .15rem; }
.facts dd { margin: 0; color: var(--lane); font-weight: 600; }

.pull { background: var(--platform); color: var(--lane); padding-block: clamp(3.5rem, 8vw, 7rem); }
.pull blockquote { margin: 0; }
.pull blockquote p { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 1.2rem + 4.6vw, 6.4rem); line-height: .92; margin: 0; max-width: 17ch; }
.pull footer { margin-top: 1.4rem; font-weight: 600; opacity: .85; }
.pull footer::before { content: "— "; }

.qa-list { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.qa-chapter { padding-top: clamp(1rem, 3vw, 2rem); max-width: 40rem; }
.qa-chapter .eyebrow { margin-bottom: .6rem; }
.qa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 2px solid var(--cave); }
.qa__q { position: sticky; top: calc(var(--header) + 1.5rem); display: grid; gap: .8rem; }
.qa__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: .8; color: var(--platform-ink); }
.qa__a p { font-size: var(--fs-lead); line-height: 1.55; margin: 0 0 1.1em; max-width: 36em; }
.qa__pull { margin: 1.8rem 0 0; padding-left: 1.2rem; border-left: 4px solid var(--platform); }
.qa__pull p { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 3rem) !important; line-height: .98 !important; margin: 0 !important; }
.qa__fig { grid-column: 2; margin: .5rem 0 0; overflow: hidden; }
.qa__fig img { width: 100%; height: auto; max-height: 80svh; object-fit: cover; }
.qa__fig figcaption { margin-top: .6rem; font-size: var(--fs-small); color: var(--ink-2); }
.story-back { margin-top: clamp(3rem, 6vw, 5rem); }
@media (max-width: 800px) {
  .qa { grid-template-columns: 1fr; }
  .qa__q { position: static; }
  .qa__fig { grid-column: 1; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* a single story is featured: photo beside the words */
@media (min-width: 800px) {
  .story-grid--one { grid-template-columns: 1fr; }
  .story-grid--one .story-card__link { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .story-grid--one .story-card__quote { font-size: clamp(2rem, 1.2rem + 2vw, 3.4rem); }
  .story-grid--one .h3 { font-size: clamp(2.4rem, 1.4rem + 2.4vw, 4rem); }
}

.facts a { color: inherit; text-underline-offset: 3px; }
.facts a:hover { color: var(--platform-hi); }
.pull__orig { font-family: var(--f-body) !important; text-transform: none !important; font-weight: 500 !important; font-size: var(--fs-lead) !important; line-height: 1.45 !important; max-width: 40em !important; margin: 0 0 1.4rem !important; opacity: .85; font-style: italic; }
.story-outro { margin-top: clamp(3rem, 6vw, 5rem); padding: 1.6rem 1.8rem; background: var(--chalk); border-left: 4px solid var(--platform); font-size: var(--fs-lead); max-width: 44em; }
.gallery { margin-top: clamp(4rem, 8vw, 7rem); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.gallery__item { margin: 0; overflow: hidden; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cave); }
.gallery__item figcaption { margin-top: .6rem; font-size: var(--fs-small); color: var(--ink-2); }
@media (max-width: 700px) { .gallery__grid { grid-template-columns: 1fr 1fr; } .gallery__item:first-child { grid-column: 1 / -1; } }

/* home: the coaches. A group photo, shown whole on every screen, with names under each coach */
.team { background: var(--cave); color: var(--lane); padding-block: clamp(3.5rem, 8vw, 7rem); }
.team__img { position: relative; margin: 0; border-radius: clamp(12px, 2vw, 22px); overflow: hidden; background: var(--rubber); }
.team__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.team__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85)); pointer-events: none; }
.team__names { position: absolute; z-index: 1; inset: auto 0 0 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 2% clamp(.8rem, 2.4vw, 1.8rem); text-align: center; }
.team__names span { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.25rem, .8rem + 2.2vw, 2.6rem); line-height: 1; }
.team__names span::before { content: "Coach"; display: block; font-family: inherit; font-size: .42em; letter-spacing: .14em; color: var(--platform-hi); margin-bottom: .35em; }
.team__copy { display: grid; gap: 1.4rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.team .section-head { margin-bottom: 0; }
.team .eyebrow { color: var(--platform-hi); }
.team .stack p { font-size: var(--fs-lead); max-width: 32em; color: #dedcd5; }
.team .textlink { color: var(--lane); }
.team .textlink:hover { color: var(--platform-hi); }
@media (min-width: 900px) {
  .team__img img { aspect-ratio: 16 / 9; object-position: 50% 0%; }
  .team__copy { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: clamp(2rem, 5vw, 5rem); }
  .team .h2 { font-size: clamp(3.4rem, 1.4rem + 4.6vw, 7rem); }
  .team .stack { padding-bottom: .6rem; }
}

/* coach cards: Instagram handle */
.card__ig { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; font-weight: 600; font-size: var(--fs-small); color: inherit; text-decoration: none; opacity: .85; }
.card__ig svg { width: 1.05rem; height: 1.05rem; color: var(--platform-ink); }
.card__ig:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* wall of fame: show every collage whole (no cropping), a little larger */
.strip { align-items: start; }
.strip .card--photo .card__img { background: var(--cave); border-radius: 10px; overflow: hidden; }
.strip:has(.card--photo) { grid-auto-columns: clamp(300px, 40vw, 580px); }
@media (max-width: 700px) { .strip:has(.card--photo) { grid-auto-columns: 86vw; } }
.strip .card--photo:hover .card__img img { transform: none; }

.team__names { color: var(--lane); }
.team__img--page { margin-block: clamp(1.5rem, 4vw, 3rem) 0; }
@media (min-width: 900px) { .team__img--page img { aspect-ratio: 16 / 9; object-position: 50% 0%; } }

/* divider between the team photo and the coach cards */
.team-divider { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.4rem); margin-block: clamp(2.2rem, 5vw, 3.6rem) clamp(1.8rem, 4vw, 2.8rem); }
.team-divider__label { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1; white-space: nowrap; }
.team-divider__label::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--platform); flex: none; }
.team-divider__rule { flex: 1; height: 2px; background: linear-gradient(90deg, var(--cave) 0 3.5rem, var(--rule-light) 3.5rem); }
.team-divider__count { font-weight: 600; font-size: var(--fs-small); color: var(--ink-2); white-space: nowrap; }

/* coaches in action strip */
.strip.strip--action { grid-auto-columns: clamp(220px, 23vw, 320px); }
.strip--action .card__img img { aspect-ratio: 4 / 5; object-fit: cover; }
.strip--action .card__body { gap: .3rem; }
.strip-wrap--action .strip-nav { margin-top: 0; }
.team-divider--action { margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 700px) { .strip.strip--action { grid-auto-columns: 72vw; } }
/* running coach: one card, with the intro beside it on wide screens */
@media (min-width: 1000px) {
  #your-running-coach .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  #your-running-coach .cards { grid-column: 1; grid-row: 1 / span 3; grid-template-columns: minmax(0, 1fr); }
  #your-running-coach .section-head, #your-running-coach .seg-intro, #your-running-coach .wrap > :not(.cards) { grid-column: 2; }
  #your-running-coach .section-head { margin-bottom: 1.5rem; }
}
.header-cta { white-space: nowrap; }
.header-cta { flex-shrink: 0; }

/* Fitcave Store block: on phones the photo sits above the words so the FITCAVE lettering stays readable */
@media (max-width: 760px) {
  #wear-the-work { min-height: 0; display: block; }
  #wear-the-work .feature__img { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 5; }
  #wear-the-work .feature__img img { object-position: 50% 30%; }
  #wear-the-work::after { display: none; }
  #wear-the-work .feature__copy { padding-block: 2rem 3rem; }
}

/* Booking pages: Rezerv widget embedded in the site */
.booking { padding-top: 0; }
.booking__frame { display: block; width: 100%; height: 1080px; border: 0; border-radius: 14px; background: var(--lane); }
.booking__frame--appointments { height: 860px; }
.booking__notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem; margin-top: 2rem; }
.booking__note { background: #fff; border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.booking__note h2 { font-family: var(--f-body, inherit); font-size: 1.15rem; font-weight: 700; margin: 0; letter-spacing: 0; text-transform: none; font-style: normal; }
.booking__note p { margin: 0 0 .4rem; color: var(--ink-2); }
@media (max-width: 760px) { .booking__frame { height: 1250px; border-radius: 10px; } .booking__frame--appointments { height: 1100px; } }
.hero--booking .wrap { padding-top: calc(var(--header) + clamp(1.5rem, 3vw, 2.5rem)); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero--booking .display { font-size: clamp(2.6rem, 1.4rem + 4.5vw, 4.75rem); }
.hero--booking .lead { margin-top: .75rem; }
.booking { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }

/* ---------- ad landing page (no menu, one action): the main site's dark look ---------- */
.lp main { background: var(--cave); color: var(--lane); }
.lp .site-header .wrap { justify-content: space-between; gap: 1rem; }
.lp .header-cta { display: inline-flex; margin-left: auto; }
.f-stars { color: #ffc93c; letter-spacing: .1em; }
.f-lead { font-size: var(--fs-lead); line-height: 1.5; color: #d6d4cd; max-width: 30em; }
.f-pill { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; padding: .5rem 1rem; border-radius: 999px; font-size: var(--fs-small); font-weight: 650; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.f-n { font-family: var(--f-display); font-weight: 850; line-height: .8; color: var(--platform-hi); }

/* hero: the lights come up on the photo, the offer sits on it as a ticket */
.f-hero { position: relative; isolation: isolate; overflow: hidden; }
.f-hero__photo { position: absolute; inset: 0; z-index: -2; }
.f-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; filter: brightness(1.3) contrast(1.05); }
.f-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.05) 100%), linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,.25) 70%, #000 100%); }
.f-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(310px, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; min-height: min(100svh, 920px); padding-top: calc(var(--header) + 2.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.f-hero__copy { display: grid; gap: 1.4rem; }
.f-h1 { font-size: clamp(3.9rem, 1rem + 9.6vw, 10.5rem); line-height: .84; }
.f-h1 span { display: block; overflow: hidden; padding-top: .06em; } .f-h1 i { display: block; font-style: normal; }
.f-ticket { background: var(--lane); color: var(--cave); border-radius: 22px; transform: rotate(-1.5deg); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.f-ticket__top { padding: 1.6rem 1.7rem 1.2rem; display: grid; gap: .2rem; }
.f-ticket__name { font-weight: 700; }
.f-ticket__price { font-family: var(--f-display); font-weight: 850; font-size: clamp(5.5rem, 3rem + 7vw, 8.5rem); line-height: .8; color: var(--platform-ink); margin-top: .3rem; }
.f-ticket__sub { color: var(--ink-2); font-size: var(--fs-small); margin-top: .5rem; }
.f-ticket__list { display: grid; gap: .55rem; padding: 0 1.7rem 1.5rem; font-size: var(--fs-small); }
.f-ticket__list li { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); gap: .4rem; }
.f-ticket__list li::before { content: ""; width: .8rem; height: .42rem; margin-top: .42rem; border-left: 2.5px solid var(--platform); border-bottom: 2.5px solid var(--platform); transform: rotate(-45deg); }
.f-ticket__cta { position: relative; display: grid; gap: .7rem; justify-items: start; padding: 1.5rem 1.7rem 1.6rem; border-top: 2px dashed rgba(0,0,0,.28); }
.f-ticket__cta::before, .f-ticket__cta::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: #0a0a09; }
.f-ticket__cta::before { left: -12px; } .f-ticket__cta::after { right: -12px; }
.f-ticket__cta .small { color: var(--ink-2); }
.f-ticket .btn--mat { box-shadow: 0 10px 26px rgba(200,16,46,.35); }
.f-ticket .btn--mat::before { background: var(--cave); }
.f-ticket .btn--mat:hover { color: var(--lane); border-color: var(--cave); }

.f-facts { background: var(--cave); border-block: 1px solid rgba(255,255,255,.12); }
.f-facts ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.f-facts li { padding: 1.5rem 1.5rem 1.5rem 0; color: #b9b7b0; font-size: var(--fs-small); }
.f-facts li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.12); }
.f-facts b { display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); line-height: 1; letter-spacing: .01em; color: var(--lane); margin-bottom: .4rem; }

.f-sec { padding-block: clamp(4rem, 8vw, 7.5rem); background: var(--cave); }
.f-sec--rubber { background: #0e0e0d; }
.f-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }

/* the session: five tiles */
.f-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.f-tile { position: relative; overflow: hidden; display: grid; gap: .6rem; align-content: end; min-height: 15rem; padding: 1.7rem; border-radius: 22px; background: linear-gradient(160deg, #1b1b1a, #111110); border: 1px solid rgba(255,255,255,.08); }
.f-tile .f-n { font-size: clamp(4rem, 3rem + 3vw, 6rem); position: absolute; top: 1.3rem; right: 1.5rem; opacity: .9; }
.f-tile h3, .f-steps h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); line-height: 1; letter-spacing: .01em; }
.f-tile p, .f-steps p { color: #b9b7b0; line-height: 1.5; max-width: 26em; }
.f-tile--photo { grid-column: 3; grid-row: 1 / span 2; padding: 0; }
.f-tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.f-tile--photo:hover img { transform: scale(1.04); }
.f-tile--photo > div { position: relative; display: grid; gap: .6rem; padding: 6rem 1.7rem 1.7rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.9) 60%); }
.f-tile--photo .f-n { position: static; color: var(--lane); font-size: clamp(4rem, 3rem + 3vw, 6rem); }
.f-tile--photo p { color: #e3e1db; }
.f-tile--red { background: var(--platform); border-color: transparent; } .f-tile--red p { color: #fde3e7; } .f-tile--red .f-n { color: var(--lane); }

/* reviews: one loud, two quiet, one photo */
.f-voices { background: var(--platform); color: var(--lane); padding-block: clamp(4rem, 8vw, 7.5rem); }
.f-voices__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.f-voices blockquote { margin: 0; }
.f-voices__big blockquote p { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: clamp(3.2rem, 1.2rem + 5.8vw, 7.4rem); line-height: .88; }
.f-voices__rest { font-size: var(--fs-lead); margin-top: 1.5rem; max-width: 28em; }
.f-voices figcaption { margin-top: .8rem; font-size: var(--fs-small); font-weight: 600; opacity: .9; }
.f-voices__main { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.f-voices__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.f-voices__photo { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.f-voices__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.f-quote { display: grid; gap: .6rem; align-content: start; padding: 1.3rem 1.4rem; border-radius: 18px; background: rgba(0,0,0,.2); }
.f-quote blockquote p { line-height: 1.5; }
.f-quote figcaption { margin-top: 0; }


.f-start { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.f-start__photo { position: relative; border-radius: 22px; overflow: hidden; }
.f-start__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-height: 82svh; }
.f-start__photo figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: var(--fs-small); font-weight: 600; color: var(--lane); }
.f-start__copy { display: grid; gap: 2rem; justify-items: start; }
.f-steps { display: grid; width: 100%; }
.f-steps li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; align-items: start; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); }
.f-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.f-steps .f-n { font-size: 4.2rem; }
.f-steps div { display: grid; gap: .4rem; }

.f-qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.f-faq { display: grid; gap: .7rem; }
.f-faq details { border-radius: 18px; background: #151514; border: 1px solid rgba(255,255,255,.08); padding: 0 1.4rem; transition: background .25s; }
.f-faq details[open] { background: #1c1c1b; }
.f-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-weight: 650; font-size: 1.08rem; }
.f-faq summary::-webkit-details-marker { display: none; }
.f-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--platform); color: var(--lane); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease); }
.f-faq details[open] summary::after { transform: rotate(45deg); }
.f-faq details p { padding-bottom: 1.35rem; color: #c4c2bb; line-height: 1.55; max-width: 38em; }

/* motion: one entrance at the top, then quiet rises on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .f-hero__photo img { animation: lightsUp 2.2s var(--ease) both; }
  @keyframes lightsUp { from { filter: brightness(.25) contrast(1.05); transform: scale(1.06); } to { filter: brightness(1.3) contrast(1.05); transform: none; } }
  .js .f-h1 i { animation: lineUp .9s var(--ease) both; } .js .f-h1 span:nth-child(2) i { animation-delay: .12s; } .js .f-h1 span:nth-child(3) i { animation-delay: .24s; }
  @keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
  .js .f-ticket { animation: ticketIn .9s var(--ease) .5s both; }
  @keyframes ticketIn { from { opacity: 0; transform: translateY(40px) rotate(4deg); } to { opacity: 1; transform: rotate(-1.5deg); } }
  .js .f-rise { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .f-rise.is-in { opacity: 1; transform: none; }
  .js .f-bento .f-rise:nth-child(2), .js .f-steps .f-rise:nth-child(2) { transition-delay: .08s; } .js .f-bento .f-rise:nth-child(3), .js .f-steps .f-rise:nth-child(3) { transition-delay: .16s; }
  .js .f-bento .f-rise:nth-child(4) { transition-delay: .24s; } .js .f-bento .f-rise:nth-child(5) { transition-delay: .32s; }
}

@media (max-width: 900px) {
  .lp .header-cta { display: none; }
  .f-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 22%, rgba(0,0,0,.85) 50%, #000 62%); }
  .f-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: calc(var(--header) + 30vh); gap: 2.2rem; }
  .f-hero__photo { bottom: auto; height: 72vh; }
  .f-ticket { transform: rotate(-1deg); }
  @keyframes ticketIn { from { opacity: 0; transform: translateY(40px) rotate(3deg); } to { opacity: 1; transform: rotate(-1deg); } }
  .f-facts ul { grid-template-columns: minmax(0, 1fr); } .f-facts li { padding: 1.1rem 0; } .f-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .f-bento { grid-template-columns: minmax(0, 1fr); } .f-tile { min-height: 12rem; } .f-tile--photo { grid-column: auto; grid-row: auto; min-height: 24rem; }
  .f-voices__grid, .f-start, .f-qa, .f-voices__more { grid-template-columns: minmax(0, 1fr); }
  .f-start__photo { order: 2; } .f-start__photo img { aspect-ratio: 4 / 3; }
}
