/* Rockies homepage. Palette G2 Sage (D-025, 15 Oct 2026).
   Fonts are self-hosted (CSP font-src 'self'): Poppins SemiBold for headings,
   times and prices, the wordmark's closest free match (D-025); Figtree for everything else. */

@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --white: #FFFFFF;
  --ink: #232826;        /* logo, headings, text, button text */
  --slate: #4C5450;      /* descriptions */
  --pebble: #646C68;     /* labels, small print */
  --line: #DEE5E0;
  --line-soft: #E6ECE8;
  --sage: #86AD91;       /* buttons (dark text), footer, selected */
  --sage-hover: #7AA286;
  --sage-pale: #E8F0EA;  /* section backgrounds */
  --sage-line: #C9DACE;  /* borders on pale sage */
  --sage-text: #4F7059;  /* small labels only */
  --fog: #F5F7F5;
  --pill: #EEF3EF;
  --flag: #B5452F;       /* "to confirm" marks, preview only */

  /* Class dots: G2 tones only, told apart by lightness; the name always sits beside the dot. */
  --k-strength: #86AD91;
  --k-sweat: #4F7059;
  --k-tryka: #232826;
  --k-foundations: #C9DACE;
  --k-sgpt: #FFFFFF;

  --head: "Poppins", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: #000000; }
:focus-visible { outline: 3px solid var(--sage-text); outline-offset: 2px; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 600; line-height: 1.15; letter-spacing: -0.005em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap.narrow { max-width: 760px; }
.to-confirm { outline: 2px dashed var(--flag); outline-offset: 2px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo img { height: 28px; width: auto; }
.top-nav { margin-left: auto; display: flex; gap: 26px; font-size: 16px; font-weight: 500; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { text-decoration: underline; }
.menu-btn { display: none; margin-left: auto; margin-right: -10px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .i-close { display: none; }
.top.is-open .menu-btn .i-open { display: none; }
.top.is-open .menu-btn .i-close { display: block; }
.menu { display: none; }
/* The header in the footer's sage, for a little colour at the top (Michael, 2 Nov). The wordmark
   is white on sage, as in the footer (D-025). Links and the menu icon stay ink (6:1): white on
   this sage is 2.5:1, below the 4.5:1 text minimum, and logos are exempt. Focus rings turn ink
   here because the usual dark sage would be 2.2:1 on it. */
.top { background: var(--sage); border-bottom-color: rgba(35, 40, 38, 0.12); }
.top :focus-visible { outline-color: var(--ink); }
@media (max-width: 760px) {
  .top-row { min-height: 60px; }
  .top-nav { display: none; }
  .js .menu-btn { display: inline-flex; }
  .menu { flex-direction: column; padding: 4px 24px 8px; border-top: 1px solid var(--line); }
  .menu a:last-child { border-bottom: 0; }
  .menu, .menu a { border-color: rgba(35, 40, 38, 0.16); }
  .js .top.is-open .menu { display: flex; }
  .menu a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 20px; }
  /* Without JavaScript the links show as one wrapping row. */
  .no-js .menu { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0 18px; padding: 4px 24px 8px; }
  .no-js .menu a { min-height: 40px; border: 0; font-family: var(--body); font-size: 15px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 12px; border: 2px solid var(--sage); background: var(--sage); color: var(--ink); font-family: var(--body); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--sage-hover); border-color: var(--sage-hover); color: var(--ink); }
.btn-ghost { background: var(--white); }
.btn-ghost:hover { background: var(--sage-pale); border-color: var(--sage); }
.btn-sm { flex: none; min-height: 44px; min-width: 84px; padding: 0 18px; font-size: 15px; }

/* Hero */
.hero-band { background: linear-gradient(180deg, var(--sage-pale) 0%, var(--fog) 100%); border-bottom: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; padding-bottom: 28px; }
/* The photo card: the gym photo fills it whatever its height; the text sits on a dark scrim at the
   foot of the photo, where the floor and dumbbell rack are (NN/g: text near the lower edge). */
.hero-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 500px; border-radius: 20px; background: #1C2320; color: var(--white); }
.hero-card picture { position: absolute; inset: 0; z-index: -2; }
/* Desktop: the photo is framed so the sign sits above the text at every width (Michael, 3 Nov). */
.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(22, 29, 25, 0.95) 0%, rgba(22, 29, 25, 0.9) 44%, rgba(22, 29, 25, 0.78) 60%, rgba(22, 29, 25, 0.4) 74%, rgba(22, 29, 25, 0.08) 86%, rgba(22, 29, 25, 0) 92%); }
.hero-text { min-width: 0; padding: 24px 20px 22px; }
@media (max-width: 899px) {
  /* Phones and tablets: one column, edge to edge (Michael, 2 Nov: a box nearly the screen's width
     looked odd). The photo of the training floor is a band under the header, fading into the dark
     panel that holds the text; the timetable follows as a plain white section. */
  .hero-band { background: var(--white); }
  .wrap.hero { gap: 0; padding: 0; }
  .hero-card { display: block; min-height: 0; border-radius: 0; }
  .hero-card picture { position: relative; inset: auto; display: block; height: clamp(200px, 54vw, 420px); z-index: auto; }
  .hero-img { object-position: 50% 50%; }
  .hero-card::after { display: none; }
  .hero-card picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #1C2320 0%, rgba(28, 35, 32, 0.6) 20%, rgba(28, 35, 32, 0) 45%); }
  .hero-text { padding: 4px 24px 28px; }
  .hero-text .actions { margin-top: 24px; }
  .hero-text .actions .btn { flex: 1 1 auto; padding: 0 18px; }
}
.hero-text .eyebrow { color: #E6F1E9; }
.hero-text .eyebrow, .hero h1 { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.hero-text .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.75); }
.hero-text .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); color: var(--white); }
.hero-trust { margin: 18px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.86); }
/* A gentle settle as the page opens: under 2 seconds, once, and none for people who ask for less motion. */
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
.hero-img { animation: hero-settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; padding-top: 32px; padding-bottom: 48px; }
  .hero-card { min-height: 600px; }
  .hero-text { padding: 40px 40px 36px; }
}
.eyebrow { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--sage-text); }
.hero h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.015em; color: var(--white); }
.hero-sub { margin: 14px 0 0; font-size: 19px; color: rgba(255, 255, 255, 0.9); max-width: 36ch; }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
/* Phones and tablets: the text sits on a light panel under the photo (Michael, 2 Nov: the dark
   panel felt heavy). Same pale-sage-to-fog gradient as the desktop hero band. Every line passes
   AA: ink 12.9:1, slate 6.7:1, the dark-sage address 4.8:1. */
@media (max-width: 899px) {
  .hero-card { background: linear-gradient(180deg, var(--sage-pale) 0%, var(--fog) 100%); color: var(--ink); }
  .hero-card picture::after { display: none; }
  .hero-text { padding-top: 22px; }
  .hero-text .eyebrow { color: var(--sage-text); }
  .hero-text .eyebrow, .hero h1 { text-shadow: none; }
  .hero h1 { color: var(--ink); }
  .hero-sub { color: var(--slate); }
  .hero-text .btn-ghost { background: var(--white); color: var(--ink); border-color: var(--sage); }
  .hero-text .btn-ghost:hover { background: var(--sage-pale); color: var(--ink); border-color: var(--sage); }
  .hero-trust { color: var(--slate); }
  /* Tighter, so the timetable's heading shows below the hero on a 390px iPhone (NN/g: content
     peeking above the fold invites the scroll). */
  .hero-card picture { height: clamp(180px, 46vw, 380px); }
  .hero-img { object-position: 50% 28%; }
  .hero-text { padding-top: 18px; padding-bottom: 22px; }
  .hero-text .eyebrow { margin-bottom: 8px; }
  .hero-text .actions { margin-top: 20px; }
  .hero-trust { margin-top: 14px; }
  .hero-text .hero-trust a { color: var(--ink); }
}
.hero-trust a { font-weight: 700; color: inherit; }
/* One phrase in the headline gets a sage brush mark (Michael, 2 Nov). It sits under the words,
   not behind them, so the text keeps its contrast on the dark card and the light panel. It draws
   in once, in 0.7 seconds, and not at all for people who ask for less motion. */
.hl { position: relative; display: inline-block; }
.hero h1 { line-height: 1.14; }
.hl-mark { position: absolute; left: -3%; bottom: -0.12em; width: 106%; height: 0.38em; color: var(--sage); pointer-events: none; }
@keyframes hl-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hl-mark { animation: hl-draw 0.7s cubic-bezier(0.3, 0.7, 0.2, 1) 0.6s both; }
@media (prefers-reduced-motion: reduce) { .hl-mark { animation: none; } }

/* Class colours (timetable dots) */
.dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.35); }
.dot[data-kind="strength"] { background: var(--k-strength); }
.dot[data-kind="sweat"] { background: var(--k-sweat); }
.dot[data-kind="tryka"] { background: var(--k-tryka); }
.dot[data-kind="foundations"] { background: var(--k-foundations); }

/* Timetable: Rockies' own, from LegitFit (D-042). One day at a time, Book first. */
.tt { flex: 1 1 460px; min-width: 0; padding: 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(35, 40, 38, 0.04), 0 10px 30px rgba(35, 40, 38, 0.06); }
.tt-title { font-size: 22px; }
.tt-note { margin: 10px 0 0; font-size: 14px; color: var(--slate); }
.tt-note[data-before-opening] { font-size: 15px; font-weight: 700; color: var(--sage-text); }
.js .tt-note[hidden] { display: none; }
.tt-days { display: flex; gap: 8px; margin: 16px -4px 0; padding: 0 4px 6px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.tt-days[hidden] { display: none; }
.tt-day { flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; padding: 8px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-family: var(--body); cursor: pointer; }
.tt-day:hover:not(:disabled) { border-color: var(--sage); }
.tt-day[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); }
.tt-day:disabled { opacity: 0.4; cursor: default; }
.tt-day-name { font-size: 13px; font-weight: 600; }
.tt-day-num { font-size: 18px; font-weight: 700; line-height: 1.1; }
.tt-list { margin-top: 10px; }
.tt-date { margin: 8px 0 4px; font-size: 15px; font-weight: 700; color: var(--sage-text); }
.tt-msg { margin: 14px 0 0; color: var(--slate); }
.tt-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.tt-item:first-of-type { border-top: 0; }
.tt-when { display: flex; flex-direction: column; }
.tt-time { font-weight: 700; font-size: 17px; }
.tt-mins { font-size: 13px; color: var(--slate); }
.tt-name { margin: 0; font-size: 17px; font-weight: 700; font-family: var(--body); }
.tt-about { margin: 2px 0 0; font-size: 14px; color: var(--slate); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tt-meta { margin: 4px 0 0; font-size: 13px; color: var(--slate); }
.tt-meta.is-low { color: var(--sage-text); font-weight: 700; }
.tt-book { min-height: 44px; padding: 0 20px; }
.tt { display: flex; flex-direction: column; }
.tt-head { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.tt-head .tt-name { flex: none; }
.tt .tt-about { display: block; flex: 1 1 auto; min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; }
.tt-item { padding: 11px 0; }
.tt-date-next { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.tt-date + .tt-item { border-top: 0; }
.tt-more { margin: 6px 0 0; padding: 6px 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tt-start { margin-top: auto; padding-top: 14px; }
.tt-start > p:first-child { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--fog); font-size: 14px; line-height: 1.45; color: var(--slate); }
.tt-start b { color: var(--ink); }
.tt-start a { font-weight: 700; color: var(--ink); }
.tt-foot { margin: 10px 0 0; font-size: 13px; color: var(--pebble); }
.tt-foot a { font-weight: 700; color: var(--ink); }
@media (max-width: 899px) {
  /* Phones and tablets: a plain section under the hero, the full width of the screen. */
  .tt { padding: 24px; border: 0; border-radius: 0; box-shadow: none; }
}
@media (max-width: 559px) {
  /* Phones: the page's usual 24px margins. */
  .tt { padding: 20px 24px 24px; }
  .tt-item { grid-template-columns: 62px minmax(0, 1fr) auto; gap: 4px 10px; }
  .tt-book { padding: 0 16px; }
}
/* "Join waitlist" says just "Waitlist" on phones, so the class name keeps its room. */
.tt-book .tt-short { display: none; }
@media (max-width: 559px) { .tt-book .tt-long { display: none; } .tt-book .tt-short { display: inline; } }

/* Sections */
.section { padding-top: 56px; padding-bottom: 60px; }
.section > h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.01em; }
.band { background: var(--sage-pale); border-top: 1px solid var(--sage-line); border-bottom: 1px solid var(--sage-line); }
.band-grey { background: var(--fog); border-color: var(--line); }

/* Prices */
.prices .lead { max-width: 640px; }
.tiers { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 860px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.tier { display: flex; flex-direction: column; padding: 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--sage-line); box-shadow: 0 1px 2px rgba(35, 40, 38, 0.04), 0 8px 24px rgba(35, 40, 38, 0.05); }
.tier-name { font-size: 18px; }
.tier-price { margin: 10px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.tier-price .amount { font-family: var(--head); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -0.01em; }
.tier-price .unit { font-size: 15px; color: var(--pebble); }
.tier-first { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--sage-text); }
.tier-points { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); display: grid; gap: 8px; }
.tier-points li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: var(--slate); }
.tier-points svg { flex: none; margin-top: 3px; color: var(--sage-text); }
.tier-btn { margin-top: 20px; width: 100%; }
.tier .tier-btn { margin-top: auto; }
.tier-points { margin-bottom: 20px; }
.dropin { margin: 14px 0 0; display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; padding: 18px 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--sage-line); }
.dropin > div { flex: 1 1 220px; min-width: 0; }
.dropin-line { margin: 4px 0 0; font-size: 15px; color: var(--slate); }
.dropin .tier-price { margin: 0; }
.dropin .tier-price .amount { font-size: 28px; }
.dropin .tier-btn { margin-top: 0; width: auto; min-width: 120px; }
@media (max-width: 559px) { .dropin .tier-btn { width: 100%; } }
/* Gift card (D-057): drop-in shape, dashed because it's arranged with Lucy, not bought here.
   "Got a question?": same layout with no box, set off by a line. */
.dropin.gift { background: transparent; border: 1.5px dashed var(--sage); }
.ask { margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--sage-line); display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.ask > div { flex: 1 1 260px; min-width: 0; }
.ask .tier-btn { margin-top: 0; width: auto; }
@media (max-width: 559px) { .ask .tier-btn { width: 100%; } }
.faq-classes { margin: 10px 0 0; display: grid; gap: 6px; color: var(--slate); }
.faq-classes b { color: var(--ink); margin-right: 4px; }
.still { margin: 18px 0 0; font-size: 16px; color: var(--slate); }
.still a { font-weight: 700; }

/* Product cards */
.cards { border-radius: 16px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.band .cards { border-color: var(--sage-line); }
.card { padding: 18px; }
.card + .card { border-top: 1px solid var(--line-soft); }
.card h3, .card h4 { font-size: 18px; line-height: 1.25; }
.card .desc { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--slate); }
.card .row { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price .amount { font-family: var(--head); font-weight: 600; font-size: 23px; line-height: 1.1; }
.price .unit { font-size: 14px; color: var(--pebble); }

/* All prices */
.lead { margin: 6px 0 0; color: var(--slate); }
.lead .cls { font-weight: 700; color: var(--ink); }
/* The early-access offer: a white panel with the link in a pale strip along the bottom. */
.offer { margin-top: 18px; display: block; border-radius: 16px; background: var(--white); border: 1px solid var(--sage-line); color: var(--ink); text-decoration: none; overflow: hidden; }
.offer:hover { color: var(--ink); border-color: var(--sage); }
.offer-top { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.offer-big { flex: none; font-family: var(--head); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.01em; color: var(--sage-text); }
.offer-txt { min-width: 0; font-size: 16px; line-height: 1.35; }
.offer-go { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; background: var(--sage-pale); border-top: 1px solid var(--sage-line); font-size: 15px; font-weight: 700; }
.offer:hover .offer-go-txt { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) {
  .offer-top { gap: 20px; padding: 20px 24px; }
  .offer-big { font-size: 40px; }
  .offer-txt { font-size: 18px; }
  .offer-go { padding: 14px 24px; font-size: 16px; }
}
.groups { margin-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.group-title { margin: 0 0 10px; font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pebble); }
.fine { margin: 24px 0 0; font-size: 13px; color: var(--pebble); }

/* Coaches */
/* Coaches: Lucy's two photos and a short pitch. */
.coach-sec { display: grid; gap: 22px; grid-template-areas: "head" "photos" "body"; }
.coach-head { grid-area: head; }
.coach-photos { grid-area: photos; }
.coach-body { grid-area: body; }
.coach-body > .coach-intro:first-child { margin-top: 0; }
@media (min-width: 860px) {
  .coach-sec { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "photos head" "photos body"; gap: 0 56px; }
  .coach-head { align-self: end; }
  .coach-body { padding-top: 14px; }
  .coach-photos { align-self: center; }
}
.coach-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.cphoto { margin: 0; }
.cphoto:nth-child(2) { margin-top: 36px; }
.cphoto img, .cphoto-ph { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: var(--sage-pale); }
.cphoto-ph { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--sage-line); font-size: 14px; color: var(--slate); }
.coach-head h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.01em; text-wrap: balance; }
.coach-intro { margin: 12px 0 0; font-size: 18px; line-height: 1.5; }
.coach-intro + .coach-intro { margin-top: 10px; }
.coach-points { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.coach-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--slate); }
.coach-points svg { flex: none; margin-top: 5px; color: var(--sage-text); }
.coach-points b { color: var(--ink); }
.coach-body .actions { margin-top: 26px; }

/* FAQ */
.faq > h2 { margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--head); font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; color: var(--slate); }

/* Find us */
.find { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; padding-top: 24px; padding-bottom: 56px; }
.find h2 { font-size: 26px; }
.find address { margin-top: 10px; font-style: normal; }
.find p { margin: 0 0 6px; }
.find address + p { margin-top: 10px; }
.find h2 + p { margin-top: 10px; }
.find a { font-weight: 700; }

/* Footer: the white logo on sage echoes the white letters on the astro wall */
.foot { background: var(--sage); color: var(--ink); font-size: 14px; }
.foot .wrap { padding-top: 36px; padding-bottom: 40px; }
.foot img { height: 38px; width: auto; }
.foot p { margin: 16px 0 8px; max-width: 70ch; }
.foot .foot-links { margin: 0; display: flex; gap: 18px; font-weight: 600; }

/* Open morning line under the 25% panel (until 26 Oct) */
.offer-note { margin: 10px 0 0; font-size: 15px; color: var(--slate); }
.offer-note[hidden] { display: none; }


/* Hero eyebrow: the offer and how to get it, a few lines on a phone (20 Oct) */
.hero-eyebrow { max-width: 46ch; line-height: 1.45; margin-bottom: 20px; }
.offer[hidden], .tier-first[hidden], .hero-eyebrow [hidden] { display: none; }
.eyebrow-link { color: inherit; text-decoration: none; }
.eyebrow-act { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hero-eyebrow a[hidden] { display: none; }
/* In-page jumps (See prices, Book a class, the eyebrow) land below the pinned header */
html { scroll-padding-top: 72px; }

/* Book bar: on phones, a Book button stays on screen (growth plan, 28 Oct).
   site.js shows it once the hero buttons have scrolled away, and hides it while the
   timetable or prices are on screen. Without JavaScript it stays hidden. */
.book-bar { display: none; }
@media (max-width: 760px) {
  .js .book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(35, 40, 38, 0.08); transform: translateY(110%); transition: transform 0.2s ease; }
  .js .book-bar .btn { flex: 1 1 0; min-height: 48px; padding: 0 12px; }
  .js .book-bar.is-shown { transform: none; }
  .js body.has-book-bar .foot { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { .js .book-bar { transition: none; } }

/* Inside Rockies: one row of photos that scrolls sideways on every screen (Michael, 2 Nov), then a
   sage tile. Built to the research (NN/g on horizontal scrolling and carousels; eBay's and Chrome's
   carousel accessibility notes):
   - the row starts in line with the heading and runs to the screen's right edge, so the next
     photo always peeks in;
   - on screens with a mouse, Previous and Next sit by the heading, always visible, and move a
     whole set of photos at a time; at either end the button greys out but stays focusable;
   - a thin line under the row shows where you are and how much is left;
   - swipe, trackpad, keyboard (Tab to the row, then the arrow keys) and mouse drag all work;
   - no autoplay. Smooth scrolling is off for people who ask for less motion. */
.gym { --edge: max(24px, calc((100% - 1120px) / 2 + 24px)); --card: calc((100vw - 48px) * 0.8); }
.gym-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.gym-head h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.01em; }
.gym-nav { display: none; flex: none; gap: 10px; }
.gym-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--sage-line); background: var(--white); color: var(--ink); cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.gym-btn:hover { background: var(--sage-pale); border-color: var(--sage); }
.gym-btn[aria-disabled="true"] { opacity: 0.35; cursor: default; background: var(--white); border-color: var(--sage-line); }
@media (hover: hover) and (pointer: fine) {
  .gym.is-ready .gym-nav { display: flex; }
  .gym.is-ready .gym-scroller { cursor: grab; }
}
.gym-scroller { position: relative; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); -webkit-overflow-scrolling: touch; }
.js .gym-scroller { scrollbar-width: none; }
.js .gym-scroller::-webkit-scrollbar { display: none; }
.gym-scroller:focus-visible { outline: 3px solid var(--sage-text); outline-offset: -3px; }
.gym.is-ready .gym-scroller.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.gym-photos { display: grid; grid-auto-flow: column; grid-auto-columns: var(--card); gap: 16px; width: max-content; margin: 0; padding: 0 var(--edge) 2px; list-style: none; }
.gym-photos > li { margin: 0; scroll-snap-align: start; }
.gym-photos img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: var(--sage-pale); -webkit-user-drag: none; user-select: none; }
.gym-progress { position: relative; height: 3px; margin-top: 20px; border-radius: 3px; background: var(--line); overflow: hidden; }
.gym-progress > span { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; border-radius: 3px; background: var(--ink); }
.gym-progress[hidden], .gym.gym-fits .gym-progress, .gym.gym-fits .gym-nav { display: none; }
@media (min-width: 561px) { .gym { --card: calc((100vw - 48px) * 0.38); } }
@media (min-width: 1000px) { .gym { --card: clamp(280px, 24vw, 340px); } }
@media (prefers-reduced-motion: reduce) { .gym-btn { transition: none; } }
.gym-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 28px; border-radius: 16px; background: var(--sage); color: var(--ink); aspect-ratio: 4 / 5; }
.gym-tile-big { margin: 0; font-family: var(--head); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.gym-tile p { margin: 0; }
.gym-tile .btn { align-self: flex-start; background: var(--ink); border-color: var(--ink); color: var(--white); }
.gym-tile .btn:hover { background: #121614; border-color: #121614; color: var(--white); }

/* Book again, after the questions. */
.again { padding-top: 8px; padding-bottom: 56px; text-align: center; }
.again h2 { font-size: clamp(26px, 3vw, 34px); }
.again p { margin: 10px auto 0; color: var(--slate); max-width: 40ch; }
.again .actions { justify-content: center; margin-top: 22px; }

/* "Book a class": points right at the timetable beside it on wide screens, down to it on phones. */
.btn-arrow { gap: 8px; }
.btn-arrow .arr { flex: none; transition: transform 0.2s ease; }
.btn-arrow .arr-right { display: none; }
.btn-arrow:hover .arr-down { transform: translateY(2px); }
@media (min-width: 900px) {
  .btn-arrow .arr-right { display: block; }
  .btn-arrow .arr-down { display: none; }
  .btn-arrow:hover .arr-right { transform: translateX(3px); }
}
@keyframes tt-flash { 0% { box-shadow: 0 0 0 0 rgba(134, 173, 145, 0.75); } 100% { box-shadow: 0 0 0 14px rgba(134, 173, 145, 0); } }
.tt.tt-flash { animation: tt-flash 0.9s ease-out 2; }
@media (prefers-reduced-motion: reduce) { .btn-arrow .arr { transition: none; } .tt.tt-flash { animation: none; outline: 3px solid var(--sage); outline-offset: 4px; } }
/* Phones: the class's short line goes under its name rather than being cut off. */
/* Long names ("mama & baby strength") wrap rather than running under the Book button. */
@media (max-width: 559px) { .tt-head { flex-wrap: wrap; row-gap: 0; } .tt-head .tt-name { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; } .tt .tt-about { flex-basis: 100%; white-space: normal; } .tt-coach { display: none; } }
/* Each screen sees each photo once (the hero photo differs by width). */
@media (min-width: 900px) { .gym-photos .only-narrow { display: none; } }
@media (max-width: 899px) { .gym-photos .only-wide { display: none; } }

/* Personal training page (/personal-training, Michael 9 Nov). Reuses the price cards, ticks and
   questions from the homepage; only the hero, the start-here tag and the steps are its own. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pt-band { background: linear-gradient(180deg, var(--sage-pale) 0%, var(--fog) 100%); border-bottom: 1px solid var(--line); }
.pt-hero { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 36px; align-items: center; }
.pt-hero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.015em; }
.pt-sub { margin: 16px 0 0; font-size: 19px; color: var(--slate); max-width: 36ch; }
.pt-photo { margin: 0; }
.pt-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 20px; }
@media (min-width: 860px) {
  .pt-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; padding-top: 56px; padding-bottom: 56px; }
  .pt-photo img { aspect-ratio: 4 / 5; }
}
.tier { position: relative; }
.tier-start { border: 2px solid var(--sage); }
.tier-tag { position: absolute; top: -13px; left: 20px; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--sage); color: var(--ink); font-size: 13px; font-weight: 700; }
.pt-steps { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 860px) { .pt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.pt-steps li { padding: 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.pt-steps h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.pt-steps h3::before { counter-increment: step; content: counter(step); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); font-size: 15px; }
.pt-steps p { margin: 8px 0 0; font-size: 16px; color: var(--slate); }
.tier-gift { display: block; margin-top: 12px; text-align: center; font-size: 15px; font-weight: 700; }

/* Gift vouchers on /gifts (D-055, D-057; layout from PR 20, Michael, 3 Nov): a short hero with a
   picture of the voucher, the choice with a summary beside it, then the questions. */
.gift-band { background: linear-gradient(180deg, var(--sage-pale) 0%, var(--fog) 100%); border-bottom: 1px solid var(--line); }
.gift-hero { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.gift-hero h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.gift-sub { margin: 12px 0 0; font-size: 17px; color: var(--slate); }
.gift-facts { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.gift-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--sage-line); font-size: 14px; font-weight: 600; }
.gift-facts li::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border-left: 2px solid var(--sage-text); border-bottom: 2px solid var(--sage-text); transform: rotate(-45deg); }
.gift-visual { display: none; }
@media (min-width: 720px) {
  .gift-sub { font-size: 19px; }
  .gift-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; padding-top: 44px; padding-bottom: 44px; }
  .gift-visual { display: block; position: relative; height: 230px; }
}
.gift-card-art { position: absolute; right: 18px; top: 14px; width: 330px; max-width: 100%; aspect-ratio: 1.6; box-sizing: border-box; padding: 24px 26px; border-radius: 20px; background: var(--sage); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-4deg); box-shadow: 0 2px 4px rgba(35, 40, 38, 0.08), 0 22px 44px rgba(35, 40, 38, 0.18); }
.gift-card-art img { width: 120px; height: auto; }
.gift-card-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.gift-card-line { margin-top: -26px; font-size: 15px; font-weight: 600; }
.gift-card-back { right: 0; top: 30px; background: var(--white); border: 1px solid var(--sage-line); transform: rotate(5deg); box-shadow: 0 10px 30px rgba(35, 40, 38, 0.08); }
.gift-h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.01em; }
.gift-form { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 900px) {
  .gift-form { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .gift-summary { position: sticky; top: 88px; }
}
.gift-steps-col { display: grid; gap: 14px; min-width: 0; }
.gift-step { margin: 0; min-width: 0; padding: 20px 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.gift-step > legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: 18px; }
.gift-step > legend + * { clear: both; }
.gift-step-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); font-family: var(--body); font-size: 14px; font-weight: 700; }
.gift-choice { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.gift-choice-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gift-choice-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 560px) { .gift-choice { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gift-choice-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gift-opt { position: relative; display: block; cursor: pointer; }
.gift-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gift-opt-body { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 58px; height: 100%; box-sizing: border-box; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); }
.gift-opt-name { font-weight: 700; font-size: 15px; }
.gift-opt-sub { font-size: 13px; color: var(--slate); }
.gift-opt-mid { align-items: center; }
.gift-opt:hover .gift-opt-body { border-color: var(--sage); }
.gift-opt input:checked + .gift-opt-body { border: 2px solid var(--sage-text); background: var(--sage-pale); padding: 9.5px 13.5px; }
.gift-opt input:focus-visible + .gift-opt-body { outline: 3px solid var(--sage-text); outline-offset: 2px; }
.gift-hint { margin: 10px 0 0; font-size: 14px; color: var(--slate); }
.gift-mem { margin-top: 18px; padding-top: 4px; border-top: 1px solid var(--line-soft); }
.gift-mem[hidden] { display: none; }
.gift-sub-q { margin: 14px 0 8px; font-weight: 700; font-size: 15px; }
.gift-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 560px) { .gift-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gift-fields .field-wide { grid-column: span 2; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--pebble); }
.field input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #B7C2BB; background: var(--white); color: var(--ink); font: inherit; font-weight: 400; font-size: 16px; }
.field input:focus { outline: 3px solid var(--sage-text); outline-offset: 1px; border-color: var(--sage-text); }
.gift-summary { padding: 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(35, 40, 38, 0.04), 0 10px 30px rgba(35, 40, 38, 0.06); }
.gift-summary h3 { font-size: 20px; }
.gift-sum-what { margin: 12px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); font-weight: 700; }
.gift-total { margin: 14px 0 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gift-total span { font-weight: 700; }
.gift-total small { font-weight: 400; font-size: 14px; color: var(--slate); }
.gift-total b { font-family: var(--head); font-weight: 600; font-size: 32px; line-height: 1.1; white-space: nowrap; }
.gift-send { margin-top: 16px; width: 100%; min-height: 54px; font-size: 17px; }
.gift-fine { margin: 10px 0 0; font-size: 13px; color: var(--pebble); }
.field textarea { box-sizing: border-box; width: 100%; min-height: 84px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #B7C2BB; background: var(--white); color: var(--ink); font: inherit; font-weight: 400; font-size: 16px; resize: vertical; }
.field textarea:focus { outline: 3px solid var(--sage-text); outline-offset: 1px; border-color: var(--sage-text); }
.field-check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.field-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--sage-text); }
