/* ==========================================================================
   Sawtooth Strength Club template
   Art direction: mill-floor poster. Concrete, rubber and painted plate colors.
   The three bumper-plate colors code the three blocks of every session:
   yellow = warm-up, blue = strength, red = conditioning. Use them for that only.
   ========================================================================== */

/* ---------- Tokens (palette can also be overridden from config.js) ---------- */
:root {
  --concrete: #E4E1DA;     /* page background */
  --paper: #F6F5F1;        /* cards, schedule */
  --ink: #1C1F21;          /* text, dark buttons */
  --rubber: #25292C;       /* dark sections */
  --steel: #5E656A;        /* secondary text on light (AA on concrete and paper) */
  --steel-light: #B9BDBF;  /* secondary text on dark */
  --line: rgba(28, 31, 33, .16);
  --plate-yellow: #F2C21B;
  --plate-blue: #2A55AE;
  --plate-red: #C53A2B;

  /* Type */
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-h3: 1.75rem;
  --fs-h2: clamp(2.6rem, 6.2vw, 4.9rem);
  --fs-h1: clamp(4.4rem, 10.5vw, 9.4rem);

  /* Space and layout */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --sec: clamp(72px, 10vw, 140px);
  --radius: 4px;

  /* Motion */
  --dur-micro: 180ms; --dur-short: 320ms; --dur-enter: 750ms; --dur-hero: 1100ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --ease-land: cubic-bezier(.3, 1.45, .55, 1);
}

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Big Shoulders Display"; src: url(fonts/bigshoulders-latin.woff2) format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(fonts/worksans-latin.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: .005em; margin: 0; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 750; line-height: 1; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--plate-blue); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* Section heads: headline left, short note beside it on wide screens */
.sec-head { display: grid; gap: 14px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head p { max-width: 46ch; color: var(--steel); margin: 0; }
.sec-head--light p { color: var(--steel-light); }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--plate-yellow); color: var(--ink); font: 600 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); box-shadow: 4px 4px 0 var(--ink); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--paper); box-shadow: none; transform: none; }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: .92rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--block { width: 100%; }

/* ---------- Template label ---------- */
.tpl-label p { margin: 0; }
.tpl-label { background: var(--ink); color: var(--steel-light); font-size: .8rem; text-align: center; padding: 6px var(--gutter); }
.tpl-label a { color: var(--paper); text-decoration-color: var(--plate-yellow); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--concrete); border-bottom: 1px solid transparent; transition: border-color var(--dur-short); }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand__mark { width: 34px; height: 24px; fill: var(--ink); flex: none; }
.brand__name { font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.brand__name--short { display: none; }
.btn--small { white-space: nowrap; }
@media (max-width: 560px) { .brand__name--full { display: none; } .brand__name--short { display: inline; } }
@media (max-width: 379px) { .hide-sm { display: none; } }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: var(--radius); }
.nav a:hover { background: rgba(28,31,33,.07); }
.top .btn { margin-left: auto; }
@media (min-width: 980px) { .nav { display: flex; } .top .btn { margin-left: 8px; } }

/* ---------- 1. Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 0; position: relative; }
.hero__grid { display: grid; gap: 36px; }
@media (max-width: 959px) {
  .hero__grid { gap: 0; }
  .hero__copy { display: contents; }
  .hero__where { order: 1; } .hero__title { order: 2; } .hero__media { order: 3; margin: 6px 0 30px; } .hero__lede { order: 4; } .hero__ctas { order: 5; }
  .hero__title .line:nth-child(-n+2) { display: inline-block; }
  .hero__media { padding-bottom: 170px; }
}
.hero__where { font-weight: 500; color: var(--steel); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero__where::before { content: ""; width: 28px; height: 4px; background: linear-gradient(90deg, var(--plate-yellow) 0 33%, var(--plate-blue) 33% 66%, var(--plate-red) 66%); }
.hero__title { font-size: var(--fs-h1); line-height: .82; letter-spacing: -.005em; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: block; }
.hero__title .line:nth-child(2) { margin-top: -.02em; }
.hero__lede { font-size: 1.15rem; max-width: 40ch; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { position: relative; padding-bottom: 150px; }
.hero__photo { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3.4; background: var(--rubber); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

/* Session card */
.card-pass { position: absolute; left: 12px; right: 12px; bottom: 0; max-width: 360px; background: var(--paper); border-radius: var(--radius); padding: 18px 20px 14px 40px; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 22px 40px -18px rgba(20,22,24,.55); transform: rotate(-1.5deg); }
.card-pass__holes { position: absolute; left: 12px; top: 18px; bottom: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.card-pass__holes i { width: 12px; height: 12px; border-radius: 50%; background: var(--concrete); box-shadow: inset 0 2px 2px rgba(0,0,0,.18); }
.card-pass__head { display: flex; flex-direction: column; gap: 2px; font-size: .8rem; color: var(--steel); padding: 0 92px 10px 0; border-bottom: 1px dashed var(--line); }
.card-pass__club { font: 800 1.05rem/1 var(--display); text-transform: uppercase; color: var(--ink); letter-spacing: .02em; }
.card-pass__kind b { font-weight: 600; color: var(--ink); }
.card-pass__list { list-style: none; margin: 8px 0; padding: 0; }
.card-pass__list li { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font: 750 1.45rem/1 var(--display); text-transform: uppercase; }
.card-pass__list li:last-child { border-bottom: 0; }
.card-pass__list em { margin-left: auto; font: 500 .85rem/1 var(--body); text-transform: none; color: var(--steel); font-style: normal; }
.tick { width: 26px; height: 26px; flex: none; border-radius: 3px; padding: 3px; fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.b-warm .tick { background: var(--plate-yellow); }
.b-str .tick { background: var(--plate-blue); stroke: #fff; }
.b-cond .tick { background: var(--plate-red); stroke: #fff; }
.card-pass__foot { font-size: .8rem; color: var(--steel); margin: 0; padding-top: 8px; border-top: 1px dashed var(--line); }
.stamp { position: absolute; right: -8px; top: -30px; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--plate-red); border: 3px solid currentColor; box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 6px currentColor; background: rgba(246,245,241,.86); transform: rotate(-14deg); font: 700 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.stamp b { display: block; font-size: 2.1rem; font-weight: 900; letter-spacing: .02em; margin-top: 2px; }

/* Facts strip */
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 48px auto 0; padding-top: 0; padding-bottom: clamp(56px, 8vw, 96px); }
.facts li { padding: 18px 16px 4px 0; border-top: 3px solid var(--ink); display: flex; flex-direction: column; gap: 6px; }
.facts b { font: 800 clamp(2.6rem, 5vw, 3.6rem)/.9 var(--display); }
.facts span { font-size: .92rem; color: var(--steel); max-width: 18ch; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; } }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 48px; }
  .hero__media { padding-bottom: 0; }
  .hero__photo { aspect-ratio: 5 / 5.4; }
  .card-pass { left: -72px; right: auto; bottom: -40px; width: 340px; }
  .facts { margin-top: 88px; }
}

/* Hero intro motion (only with JS and motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { transform: translateY(105%); transition: transform var(--dur-hero) var(--ease-out); }
  .js .hero__title .line:nth-child(2) > span { transition-delay: 80ms; }
  .js .hero__title .line:nth-child(3) > span { transition-delay: 160ms; }
  .js .hero__where, .js .hero__lede, .js .hero__ctas { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); }
  .js .hero__lede { transition-delay: 300ms; }
  .js .hero__ctas { transition-delay: 380ms; }
  .js .hero__photo { clip-path: inset(0 0 14% 0); transition: clip-path var(--dur-hero) var(--ease-out) 100ms; }
  .js .hero__photo img { transform: scale(1.1); transition: transform 1400ms var(--ease-out) 100ms; }
  .js .card-pass { opacity: 0; transform: translateY(34px) rotate(2deg); transition: opacity 450ms var(--ease-out) 420ms, transform 800ms var(--ease-out) 420ms; }
  .js .tick path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 280ms var(--ease-inout); transition-delay: calc(760ms + var(--i) * 190ms); }
  .js .card-pass__list li { transition: color 200ms; transition-delay: calc(760ms + var(--i) * 190ms); }
  .js .stamp { opacity: 0; transform: rotate(-38deg) scale(1.9); transition: opacity 140ms ease-out 1340ms, transform 420ms var(--ease-land) 1340ms; }

  .js.is-loaded .hero__title .line > span { transform: none; }
  .js.is-loaded .hero__where, .js.is-loaded .hero__lede, .js.is-loaded .hero__ctas { opacity: 1; transform: none; }
  .js.is-loaded .hero__photo { clip-path: inset(0 0 0 0); }
  .js.is-loaded .hero__photo img { transform: none; }
  .js.is-loaded .card-pass { opacity: 1; transform: rotate(-1.5deg); }
  .js.is-loaded .tick path { stroke-dashoffset: 0; }
  .js.is-loaded .stamp { opacity: 1; transform: rotate(-14deg); }
  .js.is-loaded .card-pass.is-stamped { animation: thud 260ms ease-out 1; }
}
@keyframes thud { 0% { transform: rotate(-1.5deg); } 40% { transform: rotate(-1.5deg) translateY(4px) scale(.992); } 100% { transform: rotate(-1.5deg); } }

/* Sawtooth edge used on top of dark sections (the roofline of the mill) */
.saw { position: relative; }
.saw::before { content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px; background: var(--rubber); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28L80 2V28z' fill='%23000'/%3E%3C/svg%3E") 0 0 / 80px 28px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28L80 2V28z' fill='%23000'/%3E%3C/svg%3E") 0 0 / 80px 28px repeat-x; }

/* ---------- 2. One hour, three blocks (signature scroll scene) ---------- */
.hour { background: var(--rubber); color: var(--paper); padding: var(--sec) 0; }
.hour h2 { color: var(--paper); }
.hour__grid { display: grid; gap: 28px; }
.stage { background: var(--rubber); border: 1px solid rgba(246,245,241,.14); border-radius: var(--radius); padding: 10px; }
.scene { display: block; width: 100%; height: auto; overflow: visible;
  --pw: 1; --ps: 1; --pc: 1; --p: 1; }
.bar__shaft { fill: #8E9599; }
.bar__sleeve { fill: #C4C8CA; }
.bar__collar { fill: #E4E1DA; }
.plates rect { transition: none; }
.plates--warm rect { fill: var(--plate-yellow); }
.plates--str rect { fill: var(--plate-blue); stroke: rgba(0,0,0,.25); stroke-width: 1; }
.plates--cond rect { fill: var(--plate-red); stroke: rgba(0,0,0,.25); stroke-width: 1; }
.plates--warm .R { transform: translateX(calc((1 - var(--pw)) * 110px)); opacity: var(--pw); }
.plates--warm .L { transform: translateX(calc((var(--pw) - 1) * 110px)); opacity: var(--pw); }
.plates--str .R { transform: translateX(calc((1 - var(--ps)) * 110px)); opacity: var(--ps); }
.plates--str .L { transform: translateX(calc((var(--ps) - 1) * 110px)); opacity: var(--ps); }
.plates--cond .R { transform: translateX(calc((1 - var(--pc)) * 110px)); opacity: var(--pc); }
.plates--cond .L { transform: translateX(calc((var(--pc) - 1) * 110px)); opacity: var(--pc); }
.z { opacity: .16; }
.z--warm { fill: var(--plate-yellow); }
.z--str { fill: var(--plate-blue); opacity: .3; }
.z--cond { fill: var(--plate-red); opacity: .26; }
.ticks line { stroke: rgba(246,245,241,.4); stroke-width: 1; }
.ticks text { fill: var(--steel-light); font: 500 13px var(--body); }
.hr { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.hr--ghost { stroke: rgba(246,245,241,.16); stroke-width: 2; stroke-dasharray: 3 5; }
.hr--live { stroke: var(--paper); stroke-width: 3.5; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--p)); }
.hr__dot { fill: var(--plate-yellow); stroke: var(--rubber); stroke-width: 3; }
.clock { fill: var(--paper); font: 800 34px var(--display); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.blocks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.block { position: relative; padding: 26px 24px 22px; background: rgba(246,245,241,.05); border-radius: var(--radius); border-top: 6px solid rgba(246,245,241,.18); transition: border-color var(--dur-short), background-color var(--dur-short); }
.block h3 { color: var(--paper); font-size: 2.4rem; margin-bottom: 12px; }
.block p { color: var(--steel-light); margin: 0; max-width: 44ch; }
.block .block__time { font-weight: 600; color: var(--paper); margin-bottom: 6px; font-size: .95rem; }
.block.is-on { background: rgba(246,245,241,.09); }
.b-warm.block.is-on { border-top-color: var(--plate-yellow); }
.b-str.block.is-on { border-top-color: var(--plate-blue); }
.b-cond.block.is-on { border-top-color: var(--plate-red); }

/* Phones: the drawing sticks under the header while the three blocks scroll past (sticky, not pinned) */
@media (max-width: 959px) {
  .stage { position: sticky; top: 66px; z-index: 2; box-shadow: 0 0 0 10px var(--rubber); }
  .blocks { gap: 14px; }
  .block { min-height: 34vh; }
}
@media (min-width: 960px) {
  .hour__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; }
  .stage { position: sticky; top: calc(50vh - 190px); padding: 24px; }
  .blocks { gap: 0; }
  .block { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; background: transparent; border-top-width: 6px; }
  .block.is-on { background: transparent; }
}

/* ---------- 3. Training options ---------- */
.training { padding: var(--sec) 0; }
.training__grid { display: grid; gap: 20px; }
.offer { background: var(--paper); border-radius: var(--radius); padding: 28px 26px 24px; border-top: 6px solid var(--ink); }
.offer h3 { margin-bottom: 12px; font-size: 2.1rem; }
.offer p { color: var(--ink); max-width: 46ch; }
.offer { display: flex; flex-direction: column; }
.offer .price { margin-top: auto; padding-top: 18px; }
.offer--feature { padding: 0; border-top: 0; overflow: hidden; display: grid; }
.offer__body { display: flex; flex-direction: column; }
.offer__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--rubber); }
.offer__photo img { width: 100%; height: 100%; object-fit: cover; }
.offer__body { padding: 28px 26px 24px; }
.offer--feature h3 { font-size: clamp(2.2rem, 4vw, 3rem); }
.price { margin: 18px 0 0; display: grid; gap: 8px; }
.price div { display: flex; align-items: baseline; gap: 10px; }
.price dt { color: var(--steel); }
.price div::after { content: none; }
.price dd { margin: 0 0 0 auto; font: 800 1.9rem/1 var(--display); white-space: nowrap; }
.price dd small { font: 500 .85rem var(--body); color: var(--steel); }
.price dt { flex: 1; display: flex; align-items: baseline; gap: 10px; }
.price dt::after { content: ""; flex: 1; border-bottom: 2px dotted rgba(28,31,33,.3); transform: translateY(-4px); }
.training__note { margin: 6px 0 0; font-weight: 500; }
@media (min-width: 960px) {
  .training__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto auto; }
  .offer--feature { grid-row: 1 / 3; grid-template-rows: auto 1fr; }
  .training__note { grid-column: 2; }
}

/* ---------- 4. Schedule ---------- */
.schedule { padding: var(--sec) 0; background: var(--paper); }
.sched__tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 18px; }
.sched__tab { min-height: 56px; border: 2px solid var(--ink); background: transparent; border-radius: var(--radius); font: 800 1.2rem/1 var(--display); text-transform: uppercase; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 0; }
.sched__tab small { font: 500 .68rem/1 var(--body); text-transform: none; color: var(--steel); }
.sched__tab:hover { background: rgba(28,31,33,.06); }
.sched__tab[aria-selected="true"] { background: var(--ink); color: var(--plate-yellow); }
.sched__tab[aria-selected="true"] small { color: var(--steel-light); }
.sched__panel { border-top: 3px solid var(--ink); }
.sched__panel:focus-visible { outline-offset: 6px; }
.slot { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0 18px 14px; border-bottom: 1px solid var(--line); position: relative; }
.slot::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 5px; border-radius: 2px; background: var(--c, var(--ink)); }
.slot__time { font: 800 1.9rem/1 var(--display); font-variant-numeric: tabular-nums; grid-row: 1 / 3; }
.slot__name { font: 800 1.45rem/1.05 var(--display); text-transform: uppercase; }
.slot__meta { color: var(--steel); font-size: .92rem; margin: 0; }
.slot__book { grid-column: 2; justify-self: start; margin-top: 8px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 2px solid var(--ink); border-radius: var(--radius); font-weight: 600; font-size: .92rem; text-decoration: none; }
.slot__book:hover { background: var(--plate-yellow); }
.sched__empty { padding: 24px 0; }
.legend { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--steel); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 14px; height: 14px; border-radius: 2px; background: var(--c); }
.t-foundations { --c: var(--plate-yellow); }
.t-barbell { --c: var(--plate-blue); }
.t-engine { --c: var(--plate-red); }
.t-mobility { --c: #8A9195; }
.t-fifty { --c: repeating-linear-gradient(135deg, var(--plate-blue) 0 3px, var(--paper) 3px 5px); }
.t-open { --c: var(--ink); }
@media (min-width: 760px) {
  .sched__tab { font-size: 1.45rem; min-height: 64px; }
  .slot { grid-template-columns: 110px minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; padding: 20px 0 20px 22px; }
  .slot::before { top: 20px; bottom: 20px; }
  .slot__time { grid-row: auto; font-size: 2.3rem; }
  .slot__book { grid-column: auto; margin: 0; }
}

/* ---------- 5. Coaches ---------- */
.coaches { padding: var(--sec) 0; }
.coaches__grid { display: grid; gap: 48px; }
.coach__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--rubber); }
.coach__photo img { width: 100%; height: 100%; object-fit: cover; }
.coach__body { position: relative; margin-top: -46px; padding: 0 20px; }
.coach h3 { font-size: clamp(4rem, 9vw, 6.5rem); line-height: .8; color: var(--ink); text-shadow: 0 0 0 var(--concrete); }
.coach h3 { display: inline-block; background: var(--concrete); padding: 8px 14px 0 0; }
.coach__role { font-weight: 600; margin: 14px 0 10px; }
.coach p:last-child { max-width: 48ch; color: var(--ink); }
@media (min-width: 860px) {
  .coaches__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .coach--offset { margin-top: 120px; }
}

/* ---------- 6. The space ---------- */
.space { padding: 0 0 var(--sec); }
.space__grid { display: grid; gap: 28px; }
.space__wide { overflow: hidden; border-radius: var(--radius); background: var(--rubber); }
.space__wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.space__copy h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin-bottom: 18px; }
.kit { list-style: none; margin: 22px 0 0; padding: 0; border-top: 3px solid var(--ink); }
.kit li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
@media (min-width: 960px) {
  .space__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px 48px; align-items: center; }
  .space__wide img { aspect-ratio: 16 / 10.5; }
}

/* ---------- 7. Voices (sample) ---------- */
.voices { background: var(--rubber); color: var(--paper); padding: var(--sec) 0; }
.voices h2 { color: var(--paper); }
.voices__grid { display: grid; gap: 20px; }
.voice { margin: 0; padding: 28px 26px; border: 1px solid rgba(246,245,241,.16); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.voice blockquote { margin: 0; }
.voice p { font-size: 1.2rem; line-height: 1.5; margin: 0; }
.voice--big { background: var(--plate-yellow); color: var(--ink); border-color: var(--plate-yellow); }
.voice--big p { font: 800 clamp(1.9rem, 3.4vw, 2.8rem)/1.02 var(--display); text-transform: uppercase; }
.voice figcaption { font-size: .92rem; color: var(--steel-light); }
.voice--big figcaption { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .voices__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .voice--big { grid-row: 1 / 3; }
}

/* ---------- 8. FAQ ---------- */
.faq { padding: var(--sec) 0; }
.faq__grid { display: grid; gap: 28px; }
.faq__photo { margin-top: 32px; overflow: hidden; border-radius: var(--radius); background: var(--rubber); max-width: 420px; }
.faq__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 899px) { .faq__photo { max-width: none; } .faq__photo img { aspect-ratio: 16 / 10; } }
.faq__list { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; min-height: 60px; padding: 16px 44px 16px 0; position: relative; font-weight: 600; font-size: 1.1rem; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 6px; top: 50%; width: 18px; height: 3px; background: var(--ink); transition: transform var(--dur-short) var(--ease-out); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { margin: 0 0 20px; max-width: 60ch; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }

/* ---------- 9. Book + visit ---------- */
.book { background: var(--plate-yellow); padding: var(--sec) 0; }
.book__grid { display: grid; gap: 32px; }
.book h2 { margin-bottom: 14px; }
.book__form-wrap > p { max-width: 44ch; }
.form { margin-top: 26px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.opt { font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6A6F72; }
.field [aria-invalid="true"] { border-color: #8E1F14; box-shadow: 0 0 0 2px #8E1F14; }
.form__error { margin: 0; font-weight: 600; color: #6E150C; }
.form__hint { margin: 0; font-size: .88rem; }
.visit { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 30px 26px; align-self: start; }
.visit__title { color: var(--plate-yellow); margin-bottom: 18px; }
.visit__addr { margin-bottom: 16px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; border: 1px solid var(--steel-light); border-radius: 99px; color: var(--steel-light); vertical-align: 2px; margin-left: 4px; }
.visit__contact { display: grid; gap: 4px; margin-bottom: 26px; }
.visit__contact a { min-height: 44px; display: inline-flex; align-items: center; width: fit-content; }
.big-link { font: 800 2.4rem/1 var(--display); text-decoration: none; color: var(--paper); }
.big-link:hover { color: var(--plate-yellow); }
.visit__sub { font-size: 1.5rem; color: var(--paper); margin-bottom: 10px; }
.hours { margin: 0; border-top: 1px solid rgba(246,245,241,.2); }
.hours div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(246,245,241,.2); }
.hours dt { color: var(--steel-light); }
.hours dd { margin: 0; text-align: right; }
.hours .is-today dt, .hours .is-today dd { color: var(--plate-yellow); font-weight: 600; }
@media (min-width: 960px) { .book__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } .form { grid-template-columns: 1fr 1fr; } .form .field:nth-child(n+3), .form__error, .form button, .form__hint { grid-column: 1 / -1; } .form .field:nth-child(3), .form .field:nth-child(4) { grid-column: auto; } }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--steel-light); padding: 40px 0 120px; font-size: .92rem; }
.foot__in { display: grid; gap: 18px; }
.foot__brand { display: flex; gap: 12px; align-items: flex-start; }
.foot .brand__mark { fill: var(--plate-yellow); margin-top: 2px; }
.foot b { color: var(--paper); font: 800 1.3rem/1.2 var(--display); text-transform: uppercase; }
.foot p { margin: 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__links a, .foot__credit a { color: var(--paper); min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 860px) { .foot { padding-bottom: 40px; } .foot__in { grid-template-columns: 1.4fr 1fr auto; align-items: center; } }

/* ---------- Sticky mobile bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); transform: translateY(110%); transition: transform var(--dur-short) var(--ease-out); }
.mbar.is-on { transform: none; }
.mbar a { min-height: 50px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.mbar__book { flex: 2; background: var(--plate-yellow); color: var(--ink); }
.mbar__call { flex: 1; border: 2px solid var(--paper); color: var(--paper); }
@media (min-width: 860px) { .mbar { display: none; } }

/* ---------- Reduced motion: final states, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}
