/* Strength Sanctuary — elevated boutique register.
   Brand: aqua #0cc0df · dark turquoise #0097b2 · deep green #04170c
   Warm neutrals pulled from the photo set. */

:root {
  --green: #04170c;
  --green-soft: #0b2417;
  --aqua: #0cc0df;
  --teal: #0097b2;
  --teal-ink: #056a80;       /* link color, AA on cream */
  --cream: #faf7f2;
  --sand: #f1ebe2;
  --taupe: #6e6253;          /* was #8a7d6f: 3.75:1 on cream, under AA. Now 5.56 cream / 5.01 sand */
  --ink: #1b241f;
  --line: #e3dccf;
  /* Type: a light display serif carries the design, a clean sans does the
     reading, a mono labels things. Presence comes from size, not weight. */
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-hero: clamp(52px, 5vw + 12px, 92px);
  --fs-h2: clamp(44px, 5.4vw, 80px);
  --fs-number: clamp(104px, 11vw, 160px);
  --fs-sub: clamp(18px, 0.6vw + 14px, 22px);
  --fs-h3: clamp(22px, 1vw + 16px, 28px);
  --fs-body: clamp(17px, 0.15vw + 16px, 18px);
  --fs-label: 12px;
  --track-display: -0.03em;
  --track-label: 0.12em;
  /* Imagery and pacing: one radius, one soft shadow, one section rhythm. */
  --radius: 12px;
  --shadow-soft: 0 1px 2px rgba(4, 23, 12, .05), 0 22px 44px -26px rgba(4, 23, 12, .32);
  --space-section: clamp(80px, 9vw, 144px);
  --space-tight: clamp(56px, 6vw, 96px);
  /* Motion. Measured from the reference site; recorded in CLAUDE.md. */
  --ease-reveal: cubic-bezier(.455, .03, .515, .955);   /* slow at both ends */
  --ease-zoom: cubic-bezier(.2, .7, .2, 1);
  --dur-reveal: 1.3s;        /* a single revealed block */
  --dur-reveal-group: 1.1s;  /* each child of a group (cards, lists) */
  --step-group: .1s;         /* per child, capped at the 6th */
  --dur-hero: 2.5s;          /* hero entrance lines */
  --dur-nav: .4s;            /* header switching to its scrolled style */
  --travel-reveal: 18px;
  --travel-hero: 14px;
  --header-h: 64px;
  --header-top: 12px;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, picture { max-width: 100%; display: block; }
picture img { width: 100%; height: 100%; object-fit: cover; }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0 0 .5em; }
h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: var(--track-display); }
h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: var(--track-display); }
h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
/* The one-word accent: the display face's true italic, never faux. */
h1 em, h2 em { font-style: italic; font-weight: 300; }
p { margin: 0 0 1em; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--green); }
.muted { color: var(--taupe); }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

/* grids: allow children to shrink below min-content (prevents phone-width overflow) */
.hero-grid > *, .two-col > *, .space-grid > *, .detail-strip > *,
.fit-grid > *, .card-grid > *, .contact-grid > *, .footer-grid > * { min-width: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* Labels in mono. --teal-ink, not --teal: at 12px the brighter teal measured
   about 3.4:1 on cream, under the 4.5:1 floor. */
.kicker {
  display: block; font-family: var(--mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--teal-ink); margin-bottom: 1.1rem;
}
.section-green .kicker, .page-hero .kicker, .hero .kicker { color: var(--aqua); }

/* buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.6rem; border-radius: 2rem; text-decoration: none;
  background: var(--green); color: var(--cream); border: 1px solid var(--green);
  transition: background .18s, color .18s;
}
.btn:hover { background: var(--green-soft); color: #fff; }
.btn-light { background: var(--aqua); border-color: var(--aqua); color: var(--green); }
.btn-light:hover { background: #3fd0e8; color: var(--green); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(250, 247, 242, .5); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* header */
/* Floating header: a rounded bar inset from the screen edges that stays with
   the reader. Frosted over whatever scrolls beneath; where backdrop-filter is
   unsupported the bar is solid so the text stays readable. */
.site-header {
  position: fixed; top: var(--header-top); left: 0; right: 0; z-index: 50;
  padding: 0 var(--gutter); pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  max-width: 1280px; margin: 0 auto; height: var(--header-h); padding: 0 1rem 0 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-radius: 16px; color: var(--cream);
  background: rgba(4, 23, 12, .96);
  transition: background var(--dur-nav) ease, box-shadow var(--dur-nav) ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .14), inset 0 0 0 1px rgba(12, 192, 223, .16);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  /* .82, not the brief's .55-.70: the small aqua tagline measured 3.3:1 over
     the cream page at .70. At .82 it clears 4.5:1 everywhere. */
  .header-inner { background: rgba(4, 23, 12, .82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
}
/* Over a dark hero the bar starts clear and takes its frosted style after 40px
   of scroll (nav.js). Pages with a light top never get is-top. */
.site-header.is-top .header-inner { background: rgba(4, 23, 12, 0); box-shadow: none; }
/* Docked: at the top of the page the bar is a plain full-width header, flush
   to the top edge; after 40px of scroll (html.at-top drops) it lifts into the
   floating bar. Phones always; wider screens only on pages that don't open on
   a dark hero (those keep the clear is-top bar). Docked, the logo and menu
   line up with the page text; they glide in by one gutter as the bar lifts. */
.site-header { transition: top var(--dur-nav) ease, padding var(--dur-nav) ease; }
.header-inner { transition: background var(--dur-nav) ease, box-shadow var(--dur-nav) ease, border-radius var(--dur-nav) ease, height var(--dur-nav) ease, padding var(--dur-nav) ease, max-width var(--dur-nav) ease; }
html.at-top body:not(:has(main > :is(.hero, .page-hero):first-child)) .site-header { top: 0; padding: 0; }
html.at-top body:not(:has(main > :is(.hero, .page-hero):first-child)) .header-inner {
  max-width: 100%; height: calc(var(--header-h) + var(--header-top)); border-radius: 0; box-shadow: none; background: var(--green);
  padding: 0 calc(max(0px, (100% - 1280px) / 2) + var(--gutter));
}
@media (max-width: 600px) {
  html.at-top .site-header { top: 0; padding: 0; }
  html.at-top .site-header .header-inner {
    max-width: 100%; height: calc(var(--header-h) + var(--header-top)); border-radius: 0; box-shadow: none; background: var(--green);
    padding: 0 var(--gutter);
  }
}
/* Pages start below the bar; the dark hero and page banners run up under it. */
body { padding-top: calc(var(--header-h) + var(--header-top)); }
.hero, .page-hero { margin-top: calc(-1 * (var(--header-h) + var(--header-top))); padding-top: calc(var(--header-h) + var(--header-top) + 24px); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--cream); }
.brand-mark { width: auto; height: 2.4rem; }
.brand-name { display: block; font-family: var(--serif); font-size: 1.12rem; letter-spacing: .04em; }
.brand-sub { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--aqua); }
.site-nav { display: flex; align-items: center; gap: .35rem; }
.site-nav a { color: var(--cream); text-decoration: none; font-size: .92rem; padding: .45rem .8rem; border-radius: 2rem; white-space: nowrap; }
.site-nav a:hover { color: var(--aqua); }
.site-nav a[aria-current="page"] { background: rgba(12, 192, 223, .16); color: var(--aqua); }
.site-nav a:focus-visible, .nav-toggle:focus-visible, .brand:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }
.btn-nav { background: var(--aqua); color: var(--green); padding: .55rem 1.15rem; border-radius: 2rem; font-weight: 600; margin-left: .5rem; }
.btn-nav:hover { background: #3fd0e8; color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px auto; transition: transform .2s; }

/* 960, not 760: with five menu links the row ran out of room around 800px
   and "Book a Tour" wrapped onto three lines. */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    background: rgba(4, 23, 12, .96); border-radius: 16px; flex-direction: column; align-items: stretch;
    padding: .6rem; gap: .1rem; box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  /* The bar is too narrow for a two-line brand on phones. */
  .brand-sub { display: none; }
  .brand-name { font-size: 1.05rem; }
  .site-nav.open { display: flex; }
  .btn-nav { margin: .4rem 0 0; justify-content: center; }
}

.hero { background: var(--green); color: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding: 3.5rem 1.25rem 4rem; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lede { font-size: 1.15rem; color: #d6d2c8; max-width: 34rem; }
/* height:100% is a no-op until .hero-media has a definite height to fill (it
   doesn't at desktop — auto, sized by the image); the mobile aspect-ratio
   below gives it one, which is what lets object-fit/object-position (and so
   a focal point from image-map.json) actually do the cropping there. */
.hero-media picture { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); height: 100%; }
.hero-media { position: relative; }
.hero-phone { margin-top: 1.2rem; font-size: .95rem; color: #b9b4a8; }
.hero-phone a { color: var(--aqua); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 2.5rem; }
  /* was max-height: 46vh — that clipped against the DEVICE'S screen height, so
     the crop amount (and whether it cropped at all) depended on how tall the
     visiting phone happened to be, not on the image. A fixed aspect-ratio
     crops the same amount everywhere. */
  .hero-media { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); }
}

/* sections */
.section { padding: var(--space-section) 0; }
.section-tight { padding: var(--space-tight) 0; }
.section-sand { background: var(--sand); }
.section-green { background: var(--green); color: var(--cream); }
.section-green h2 { color: #fff; }
.section-green p { color: #d6d2c8; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.two-col-text { max-width: 32rem; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* space gallery */
.space-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.space-grid picture, .space-grid .pending-photo, .space-grid .pending-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
@media (max-width: 700px) { .space-grid { grid-template-columns: 1fr 1fr; } }

.pending-photo {
  background: repeating-linear-gradient(-45deg, var(--sand), var(--sand) 14px, #ece4d8 14px, #ece4d8 28px);
  border: 1px dashed var(--taupe);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem; color: var(--taupe);
}
.pending-photo img { width: auto; height: 52px; opacity: .45; margin-bottom: .8rem; }
.pending-photo p { margin: 0; font-size: .9rem; max-width: min(14rem, 100%); }
.pending-photo .pending-note { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .5rem; }

/* preview-only: real pending-permission photo with a visible marker */
.pending-wrap { position: relative; }
.pending-wrap picture { width: 100%; height: 100%; }
.pending-badge {
  position: absolute; top: .6rem; left: .6rem; z-index: 2;
  background: #b5451b; color: #fff;
  font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: .25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* for / not-for */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.fit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.fit-card.not { background: var(--sand); }
.fit-card h3 { margin-bottom: 1rem; }
.fit-card ul { margin: 0; padding-left: 1.1rem; }
.fit-card li { margin-bottom: .6rem; }
@media (max-width: 700px) { .fit-grid { grid-template-columns: 1fr; } }

/* quotes */
.pull-quote {
  font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.15; letter-spacing: -0.02em;
  max-width: 42rem; margin: 0 auto; text-align: center;
}
.pull-quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 1.2rem; color: var(--taupe); }
.section-green .pull-quote cite { color: var(--aqua); }

/* cards / meeting types */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4rem; }
.card .card-meta { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .8rem; }
.card p { flex: 1; }
@media (max-width: 820px) { .card-grid { grid-template-columns: 1fr; } }

/* Reviews: a fixed grid of six cards (card-grid gives the columns and the
   grouped reveal), with a link to the rest on Google. */
.reviews-grid { margin-top: 1.5rem; }
.review-card {
  display: flex; flex-direction: column; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.review-card figcaption { margin-top: auto; }
.reviews-more { margin: 2rem 0 0; text-align: center; }
.review-card blockquote { margin: 0 0 1rem; font-size: 1rem; line-height: 1.6; }
.review-card figcaption { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.review-stars { color: var(--teal); letter-spacing: .2em; margin-bottom: .8rem; }
.review-card.is-sample { border-style: dashed; border-color: var(--taupe); background: var(--sand); }
.review-card.is-sample .review-stars { opacity: .35; }
.sample-chip {
  background: #b5451b; color: #fff; border-radius: .25rem;
  padding: .1rem .45rem; font-size: .68rem; letter-spacing: .1em;
}
/* about media. height:100% is a no-op for the plain (no-override) uses of this
   class — .portrait-frame has no explicit height there, so it stays auto —
   but it's what lets an inline aspect-ratio override (e.g. the self-led
   training photo on the services page) actually crop via object-fit instead
   of just overflow-clipping a full-height image from the top. Same fix as
   .hero-media above. */
.portrait-frame picture { border-radius: var(--radius); overflow: hidden; height: 100%; }

/* placeholder copy blocks */
.placeholder-block {
  border: 1px dashed var(--taupe); border-radius: var(--radius); background: var(--sand);
  padding: 1.5rem 1.8rem; color: var(--taupe); font-size: .95rem;
}
.placeholder-block strong { color: var(--ink); }

/* detail strip */
.detail-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.detail-strip picture, .detail-strip .pending-photo, .detail-strip .pending-wrap { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; }
@media (max-width: 700px) { .detail-strip { grid-template-columns: 1fr 1fr; } }

/* single-photo slot with a declared ratio outside of any grid — same 3:4 as
   the detail-strip tiles, so a solo slot (e.g. the sauna/cold-plunge photo)
   looks consistent with its neighbors instead of having no ratio at all.
   Works whichever element ends up carrying the class: the placeholder tile,
   the preview pending-wrap, or eventually a live picture via m.slot(). */
.photo-frame { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; }
.photo-frame picture { width: 100%; height: 100%; }

/* footer */
.site-footer { background: var(--green); color: #cfc9bc; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; padding: 3.5rem 1.25rem 2rem; }
/* full lockup PNG (transparent bg). Negative margins trim the artwork's internal padding. */
.footer-logo { width: min(21rem, 100%); height: auto; margin: -2.6rem 0 -2.2rem -2.3rem; }
.footer-h { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); margin: 0 0 .9rem; }
.site-footer a { color: #e8e4da; }
.site-footer a:hover { color: var(--aqua); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; padding-bottom: 1.6rem; font-size: .82rem; color: #8d887d; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list .label { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin-bottom: .2rem; }

/* photo slideshow: several photos in one region, cross-fading in place.
   The box carries the aspect ratio (set inline per region) so nothing reflows
   as the photos change, and every slide is stacked in the same grid cell
   rather than absolutely positioned, which keeps the box's height honest. */
/* The slides are absolutely positioned, not grid-stacked: as in-flow content
   they can push the box past the aspect-ratio it declares (aspect-ratio loses
   to content's min-height), and then overflow:hidden clips the photo from the
   top instead of object-fit cropping it around its subject. Out of flow, the
   inline aspect-ratio alone decides the box. */
.slideshow { position: relative; border-radius: var(--radius); overflow: hidden; }
.slideshow .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
}
.slideshow .slide.is-active { opacity: 1; }
.slideshow picture, .slideshow img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Without JS only the first slide ever shows, so it must not be transparent. */
.slideshow:not(.is-cycling) .slide:first-child { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .slideshow .slide { transition: none; }
}

/* ---------------------------------------------------------------------------
   Texture, ornament and icons. The reference sites the client liked carry their
   mood in a photographic backdrop, line ornaments and small icons. The same
   three devices here, drawn from this brand instead of that one: the deep green
   and aqua, the kettlebell mark, and a water-like wash that echoes the painted
   mural on the gym's own wall. No new photography, nothing bought in.
   --------------------------------------------------------------------------- */

/* A green band stops being flat colour: two aqua washes bleeding in from the
   corners, a hairline top edge, and the kettlebell mark set large and nearly
   invisible in the corner. */
.section-green {
  position: relative; overflow: hidden;
  background-image:
    radial-gradient(60rem 30rem at 12% -10%, rgba(12, 192, 223, .20), transparent 70%),
    radial-gradient(44rem 26rem at 92% 110%, rgba(0, 151, 178, .22), transparent 72%);
}
/* The organic backdrop the client asked for, taken from the gym rather than a
   stock library: the water-like mural painted on their own wall, held well
   back so the type stays the subject. */
.section-green::before {
  content: ""; position: absolute; inset: 0;
  background: url("/img/crop-mural-4x3-720.jpg") center / cover no-repeat;
  /* Held this far back on purpose: measured against the aqua caption type,
     a brighter mural pushed the contrast under the WCAG AA floor. */
  opacity: .13; filter: saturate(1.15) brightness(.72); pointer-events: none;
}
.section-green::after {
  content: ""; position: absolute; right: -2.5rem; bottom: -4rem; width: 20rem; height: 20rem;
  background: url("/img/mark-aqua.svg") no-repeat center / contain;
  opacity: .05; pointer-events: none;
}
.section-green > * { position: relative; z-index: 1; }

/* Sand sections carry a fine diagonal weave instead of a flat fill. Two
   degrees of contrast only, so it reads as texture, never as stripes. */
.section-sand {
  background-image: repeating-linear-gradient(
    135deg, rgba(138, 125, 111, .055) 0 1px, transparent 1px 11px
  );
}
/* A hairline where one section meets the next, so the page is divided by
   drawn edges and not only by blocks of colour. */
.section-sand, .section-green { border-top: 1px solid rgba(138, 125, 111, .22); }

/* Ornamental divider: hairline across the column, the mark centred in it. */
.divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 3.5rem auto 0; max-width: 72rem; padding: 0 1.25rem; color: var(--teal);
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
.divider-mark { display: inline-flex; opacity: .85; }

/* Icon + label + line: used where the copy already names concrete things, so
   the icons label facts rather than decorate claims. */
.feature-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.75rem; margin-top: 2.25rem;
}
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
}
.feature .icon { color: var(--teal); margin-top: .15rem; }
.feature h3 { font-size: 1rem; margin: 0 0 .25rem; letter-spacing: .01em; }
.feature p { margin: 0; font-size: .95rem; color: var(--taupe); line-height: 1.5; }
.section-green .feature .icon { color: var(--aqua); }
.section-green .feature p { color: rgba(250, 247, 242, .78); }

/* Centred variant for a short set that sits under a heading. */
.feature-row.is-centred { text-align: center; }
.feature-row.is-centred .feature { grid-template-columns: 1fr; justify-items: center; gap: .5rem; }

.card-icon { display: inline-flex; color: var(--teal); margin-bottom: .6rem; }

/* ---- full-bleed page header --------------------------------------------------
   The photo is the background of the whole header; an overlay built from the
   brand green-black keeps the type readable. Version A (text bottom-left,
   crop --focal-a) or B (text centred in the lower third, crop --focal-b) is
   chosen by site.heroVersion in site.json. */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: min(88vh, 820px);
  display: grid; align-items: end;
  background: var(--green); color: var(--cream);
}
.page-hero-photo { position: absolute; inset: 0; z-index: 0; }
.page-hero-photo picture, .page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--a .page-hero-photo img { object-position: var(--focal-a); }
.page-hero--b .page-hero-photo img { object-position: var(--focal-b); }
.page-hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* A: dark at the left edge, easing to clear at the right, plus a soft
   darkening at the top (under the nav) and bottom edges. */
.page-hero--a .page-hero-scrim {
  background:
    linear-gradient(180deg, rgba(4, 23, 12, .42) 0%, rgba(4, 23, 12, 0) 24%, rgba(4, 23, 12, 0) 68%, rgba(4, 23, 12, .5) 100%),
    linear-gradient(90deg, rgba(4, 23, 12, .86) 0%, rgba(4, 23, 12, .62) 33%, rgba(4, 23, 12, .12) 60%, rgba(4, 23, 12, 0) 100%);
}
/* B: rises from the bottom, clear by the middle, light darkening under the nav. */
.page-hero--b .page-hero-scrim {
  background: linear-gradient(180deg, rgba(4, 23, 12, .38) 0%, rgba(4, 23, 12, 0) 20%, rgba(4, 23, 12, 0) 48%, rgba(4, 23, 12, .72) 78%, rgba(4, 23, 12, .9) 100%);
}
.page-hero-inner { position: relative; z-index: 2; width: 100%; padding: 2.5rem 0 clamp(2.5rem, 5vh, 3.5rem); }
.page-hero .kicker { color: var(--aqua); }
.page-hero h1 { color: var(--cream); margin-bottom: .3em; }
.page-hero p { color: rgba(250, 247, 242, .92); max-width: 40rem; margin: 0 0 .9rem; }
.page-hero .muted { color: rgba(250, 247, 242, .8); }
.page-hero .btn-light { margin-top: .4rem; }
/* A: bottom-left, heading kept to about 11 characters so it stays on the
   clear left of the photo and off the subject. */
.page-hero--a .page-hero-inner { text-align: left; }
/* The text column is held to ~21rem: in this photo she spans the frame from
   about a quarter of the way in, so anything wider runs under her. */
.page-hero--a .page-hero-inner .wrap > * { max-width: 21rem; }
.page-hero--a h1 { max-width: 11ch; font-size: clamp(44px, 4.2vw, 60px); }
/* B: centred in the lower third. */
.page-hero--b .page-hero-inner { text-align: center; }
.page-hero--b .page-hero-inner .wrap > * { margin-left: auto; margin-right: auto; }
.page-hero--b h1 { max-width: 16ch; }
.page-hero--b .btn-row { justify-content: center; }
/* Phones: the photo is a 470px band weighted to the face, fading into the page
   at its foot, and the text sits below it, not on it. */
@media (max-width: 600px) {
  .page-hero { height: auto; grid-template-rows: 470px auto; align-items: start; background: var(--cream); color: var(--ink); margin-top: 0; padding-top: 0; }
  .page-hero-photo { position: relative; grid-row: 1; height: 470px; }
  .page-hero--a .page-hero-photo img, .page-hero--b .page-hero-photo img { object-position: var(--focal-phone); }
  .page-hero-scrim { position: absolute; inset: 0 0 auto 0; height: 470px; }
  .page-hero--a .page-hero-scrim, .page-hero--b .page-hero-scrim {
    background: linear-gradient(180deg, rgba(4, 23, 12, .35) 0%, rgba(4, 23, 12, 0) 28%, rgba(250, 247, 242, 0) 70%, var(--cream) 100%);
  }
  .page-hero-inner { grid-row: 2; padding: 1.5rem 0 2.5rem; }
  .page-hero--a .page-hero-inner, .page-hero--b .page-hero-inner { text-align: left; }
  .page-hero--b .page-hero-inner .wrap > * { margin-left: 0; margin-right: 0; }
  .page-hero h1 { color: var(--ink); max-width: none; }
  .page-hero p { color: var(--ink); }
  .page-hero .muted { color: var(--taupe); }
  .page-hero .kicker { color: var(--teal-ink); }
}

/* ---- cycling option tabs ---------------------------------------------------
   A row of options with a highlight that slides between them, and one detail
   panel below. The marker is a separate absolutely positioned element rather
   than a border on the active tab, because only a free element can animate
   from one tab's box to the next. */
.tabset { margin-top: 2.75rem; }
.tablist {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .75rem;
}
.tab {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start;
  padding: 1rem 1.1rem; margin: 0; text-align: left; cursor: pointer;
  font: inherit; color: inherit; background: transparent;
  border: 1px solid transparent; border-radius: .5rem;
}
.tab .icon { color: var(--teal); margin-top: .1rem; }
.tab-title {
  display: block; font-family: var(--serif); font-size: 1.02rem; color: var(--ink);
  margin-bottom: .15rem;
}
.tab-blurb { display: block; font-size: .92rem; line-height: 1.45; color: var(--taupe); }
.tab:hover .tab-title { color: var(--teal-ink); }
.tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.tab-marker {
  position: absolute; top: 0; left: 0; width: 0; height: 0;
  border: 1.5px solid var(--teal); border-radius: .5rem;
  background: rgba(12, 192, 223, .07);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1), width .45s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
/* Until tabs.js has measured, no marker and no hiding: the page is readable
   as a plain list of options with all the detail shown. */
.tabset:not(.is-ready) .tab-marker { opacity: 0; }
.tabpanel {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.25rem; align-items: center;
  margin-top: 2rem;
}
/* Needed explicitly: the display:grid above outranks the browser's own
   [hidden] { display: none }, so without this every panel stays on screen. */
.tabpanel[hidden] { display: none; }
.tabset.is-ready .tabpanel { animation: tabpanel-in .45s ease both; }
@keyframes tabpanel-in { from { opacity: 0; transform: translateY(.4rem); } to { opacity: 1; transform: none; } }
.tabpanel:focus-visible { outline: 2px solid var(--teal); outline-offset: .5rem; }
.tabpanel-text h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.tabpanel-text p { margin: 0; }
.tabpanel-media { border-radius: var(--radius); overflow: hidden; }
@media (min-width: 821px) {
  .tabpanel--media-left { grid-template-columns: 1fr 1.05fr; }
  .tabpanel--media-left .tabpanel-media { order: -1; }
}
/* Child combinators on purpose: a bare ".tabpanel-media img" also caught the
   small kettlebell icon inside a placeholder tile and blew it up to fill the
   panel. */
.tabpanel-media > picture, .tabpanel-media > picture img,
.tabpanel-media > .pending-photo { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .tabpanel { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tab-marker { transition: none; }
  .tabset.is-ready .tabpanel { animation: none; }
}

/* ---- section formula --------------------------------------------------------
   Every section: small label, big light headline (one italic word at most),
   one muted sentence of context, then the content. A skimmer should get the
   argument from headlines and subheads alone. */
h1, h2, .subhead { text-wrap: balance; }   /* no orphaned last word */
.subhead {
  font-size: var(--fs-sub); line-height: 1.45; color: var(--taupe);
  max-width: 36rem; margin: -.15em 0 1.8rem;
}
[style*="text-align:center"] .subhead, .page-hero .subhead { margin-left: auto; margin-right: auto; }
.section-green .subhead, .hero .subhead, .page-hero .subhead { color: rgba(250, 247, 242, .82); }
/* A headline that shares its row with a photo gets a smaller ceiling: at the
   full 80px a ten-word line ran six lines deep in a half-width column. */
.two-col-text h2 { font-size: clamp(40px, 4.2vw, 62px); }
/* Headline and subhead read as one unit: close the display margin when a
   subhead follows. */
h1:has(+ .subhead), h2:has(+ .subhead) { margin-bottom: .22em; }

/* Photos sit on the page with a very soft shadow; placeholders and cards do not,
   so only real imagery lifts. */
.portrait-frame picture, .slideshow, .detail-strip picture, .tabpanel-media:has(> picture),
.space-grid picture, .tour-video { box-shadow: var(--shadow-soft); }

/* Services walk-through video (16:9), with one Pause/Play button. */
.tour-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--green); }
.tour-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tour-video-toggle {
  position: absolute; right: .75rem; bottom: .75rem;
  padding: .45rem .9rem; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .82rem; font-weight: 600;
  background: rgba(4, 23, 12, .72); color: var(--cream);
}
.tour-video-toggle:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }

/* Closing statement: each page ends on one big line and its buttons, with
   more air than an ordinary section and a soft light behind the words. */
.closing { padding: clamp(96px, 11vw, 176px) 0; }
.closing h2 { font-size: var(--fs-h2); margin-bottom: .3em; }
.closing.section-sand { background-image: radial-gradient(48rem 22rem at 50% 45%, rgba(255, 255, 255, .7), transparent 70%); }

/* ---- scroll reveal ---------------------------------------------------------
   Everything below the page's opening section is hidden from the first paint
   under html.js-reveal (set by the inline script in <head>), then fades and
   rises into place when reveal.js marks it .is-visible. A section's content
   block (.wrap) moves as one; card-grid children step in --step-group apart.
   The first section of main (the hero, or Contact's opening content) is never
   hidden. Keep these selectors in step with reveal.js. Only opacity and
   translate move, so nothing in the layout shifts. */
html.js-reveal main > :not(:first-child) > .wrap,
html.js-reveal main > .divider,
html.js-reveal main > :not(:first-child) .divider,
html.js-reveal main > :not(:first-child) .card-grid > *,
html.js-reveal main > :not(:first-child) .fit-grid > * {
  opacity: 0;
  translate: 0 var(--travel-reveal);
  transition: opacity var(--dur-reveal) var(--ease-reveal), translate var(--dur-reveal) var(--ease-reveal);
}
html.js-reveal main > :not(:first-child) .card-grid > *,
html.js-reveal main > :not(:first-child) .fit-grid > * {
  transition-duration: var(--dur-reveal-group);
  transition-delay: calc(var(--reveal-i, 0) * var(--step-group));
}
/* The shown state repeats each hidden selector plus .is-visible, so it is
   always more specific than what it overrides. A bare "main .is-visible" lost
   to "main > :not(:first-child) > .wrap" and left section content invisible. */
html.js-reveal main > :not(:first-child) > .wrap.is-visible,
html.js-reveal main > .divider.is-visible,
html.js-reveal main > :not(:first-child) .divider.is-visible,
html.js-reveal main > :not(:first-child) .card-grid > .is-visible,
html.js-reveal main > :not(:first-child) .fit-grid > .is-visible { opacity: 1; translate: 0 0; }
html.js-reveal main .reveal-now { transition: none !important; }

/* Hero entrance on page load: each line starts 14px low and invisible and
   rises over --dur-hero, lines 1-4 at 0, .25, .6 and .85s. Home hero and the
   page headers alike. */
@keyframes hero-in { from { opacity: 0; translate: 0 var(--travel-hero); } to { opacity: 1; translate: 0 0; } }
html.js-reveal .hero .hero-copy > *,
html.js-reveal .page-hero-inner > .wrap > * { animation: hero-in var(--dur-hero) var(--ease-reveal) both; }
html.js-reveal .hero .hero-copy > :nth-child(2), html.js-reveal .page-hero-inner > .wrap > :nth-child(2) { animation-delay: .25s; }
html.js-reveal .hero .hero-copy > :nth-child(3), html.js-reveal .page-hero-inner > .wrap > :nth-child(3) { animation-delay: .6s; }
html.js-reveal .hero .hero-copy > :nth-child(n+4), html.js-reveal .page-hero-inner > .wrap > :nth-child(n+4) { animation-delay: .85s; }

@media (prefers-reduced-motion: reduce), print {
  html.js-reveal main > :not(:first-child) > .wrap, html.js-reveal main > .divider,
  html.js-reveal main > :not(:first-child) .divider, html.js-reveal main > :not(:first-child) .card-grid > *,
  html.js-reveal main > :not(:first-child) .fit-grid > * { opacity: 1; translate: none; transition: none; }
  html.js-reveal .hero .hero-copy > *, html.js-reveal .page-hero-inner > .wrap > * { animation: none; }
  .site-header, .header-inner { transition: none; }
}

/* ---- wide layout, site-wide (trialled on home, then rolled out) --------------
   Most of the screen, not one narrow column: a 1280px container with small
   gutters, two columns at 40/60, lines of prose still capped at ~65-75
   characters, and the photo column holding still while the text scrolls past. */
.wrap { max-width: 1280px; padding: 0 var(--gutter); }
body { line-height: 1.7; color: #2a3430; }
.section p { margin-bottom: 24px; }
.section h2 { margin-bottom: 44px; }
.section h2:has(+ .subhead) { margin-bottom: .22em; }
.subhead { margin-bottom: 44px; }
.two-col { gap: clamp(48px, 5vw, 80px); align-items: start; }
.two-col:has(> :first-child.two-col-text) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.two-col:not(:has(> :first-child.two-col-text)) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.two-col-text { max-width: 42rem; }
/* Sticky image column: holds while the text beside it scrolls, releases when
   the section ends. Needs no overflow on any ancestor (html, body, .section
   and .wrap have none) and must be shorter than the screen. */
.two-col > :not(.two-col-text) {
  position: sticky; top: calc(var(--header-h) + var(--header-top) + 24px); align-self: start;
}
.two-col > :not(.two-col-text) .slideshow,
.two-col > .portrait-frame picture {
  max-height: calc(100vh - var(--header-h) - var(--header-top) - 48px);
}
.two-col > .portrait-frame img { max-height: inherit; object-fit: cover; }
@media (max-width: 900px) {
  .two-col, .two-col:has(> :first-child.two-col-text),
  .two-col:not(:has(> :first-child.two-col-text)) { grid-template-columns: 1fr; gap: 2rem; }
  /* relative, not static: on About and Services the photo column IS the
     slideshow, whose slides are absolutely positioned inside it. static let
     them escape to the page and a photo covered everything. */
  /* top: auto matters as much as position: the sticky offset (top: 88-104px)
     survived the switch to relative and pushed every phone photo down onto
     the headline below it. */
  .two-col > :not(.two-col-text) { position: relative; top: auto; order: -1; }
}

/* ---- portrait beside text (the coach section) --------------------------------
   Photo 5 parts, text 6 parts, gap scaling with the width, text centred on the
   photo when it is shorter, photo pinned 104px from the top when the text is
   longer. 4:5 portrait, cropped 50% 20%. */
/* Doubled class for specificity: :not(:has(:first-child.two-col-text)) above
   outranks a single .two-col:has(> .portrait-frame) and was winning. */
.two-col.two-col:has(> .portrait-frame) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
/* Photo on the right (About, "In her words"): text 6 parts, photo 5. */
.two-col.two-col:has(> .portrait-frame:last-child) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.two-col > .portrait-frame { top: 104px; align-self: start; }
.two-col > .portrait-frame picture { aspect-ratio: 4 / 5; height: auto; max-height: none; }
.two-col > .portrait-frame img { object-position: 50% 20%; }
@media (max-width: 960px) {
  .two-col.two-col:has(> .portrait-frame), .two-col.two-col:has(> .portrait-frame:last-child) { grid-template-columns: 1fr; }
  .two-col > .portrait-frame { position: relative; top: auto; max-width: 540px; }
}

/* ---- footer ------------------------------------------------------------------
   The logo is a transparent SVG sized as an ordinary column, no negative
   margins: the old square PNG carried its own dark background and was pulled
   out of the footer with margin: -2.6rem 0 -2.2rem -2.3rem. */
.site-footer { padding: var(--space-tight) 0 2rem; }
.footer-grid { padding-top: 0; padding-bottom: 0; align-items: start; }
.footer-logo { width: min(13rem, 100%); height: auto; margin: 0; }
.footer-legal { margin-top: 3rem; }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-grid > :first-child { order: -1; } }

/* ---- 10/13 review ------------------------------------------------------------ */
/* Photo captions share one look site-wide (Steven, 2026-10-28): a dark band
   fading up from the bottom of the photo, an aqua mono label, then one serif
   line. The rule lives with .step-media figcaption below. */
/* Training path: two steps with an arrow between, the second marked as the goal. */
.path { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(16px, 2.5vw, 32px); align-items: center; margin-top: 2.5rem; }
.path-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.6rem; height: 100%; }
.path-step.is-goal { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.path-photo { aspect-ratio: 4 / 3; border-radius: calc(var(--radius) - 4px); overflow: hidden; margin-bottom: 1.1rem; }
.path-photo picture, .path-photo img { width: 100%; height: 100%; object-fit: cover; }
.path-step .card-meta { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: .5rem; }
.path-step h3 { margin-bottom: .5rem; }
.path-step p { margin-bottom: .8rem; }
.path-arrow { color: var(--teal); display: flex; }
@media (max-width: 820px) {
  .path { grid-template-columns: 1fr; }
  .path-arrow { justify-content: center; transform: rotate(90deg); }
}
/* A booking button whose Cal.com link isn't issued yet says what it does. */
.booking-pending { display: block; margin-top: .55rem; font-size: .85rem; color: var(--taupe); }

/* ---- Media page and articles (10/13) ----------------------------------------- */
.draft-flag {
  display: inline-block; margin: 0 0 1.2rem; padding: .3rem .75rem; border-radius: 999px;
  background: #fff3d6; color: #6b4a00; border: 1px solid #e8c56d;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.article-list { display: grid; gap: 1.25rem; margin-top: 2rem; max-width: 46rem; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.article-card.is-draft { border-style: dashed; border-color: #d6a93c; }
.article-card.is-placeholder { border-style: dashed; background: var(--sand); }
.article-card.is-placeholder h3, .article-card.is-placeholder p { color: var(--taupe); }
.article-card .card-meta { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: .5rem; }
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { color: var(--teal-ink); }
.article-more { font-weight: 600; }
.topic-grid .card h3 { margin-bottom: .4rem; }
.btn-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.article-page .wrap { max-width: 44rem; }
.article-back { display: inline-block; margin-bottom: 1.5rem; font-size: .9rem; }
.article-body h2 { font-size: var(--fs-h3); font-weight: 400; margin-top: 2rem; }
/* Two buttons side by side; the second an outline so the booking stays primary. */
.btn-outline { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.call-number { margin-top: .7rem; font-size: .92rem; color: var(--taupe); }
/* A pending-booking note inside a button row drops to its own line. */
.btn-row .booking-pending { flex-basis: 100%; order: 9; margin-top: 0; }
.draft-flag { display: block; width: fit-content; }

/* About (page-hero--inset): the whole photo, uncropped, inset below the menu
   bar, its edges feathered into a blurred copy of itself that fills the rest
   of the header. Phones keep the plain 470px band. */
@media (min-width: 601px) {
  .page-hero--inset { height: calc(min(88vh, 820px) + var(--header-h) + var(--header-top) + 8px); }
  .page-hero--inset .page-hero-bg {
    position: absolute; inset: -60px; z-index: 0;
    filter: blur(32px) brightness(.62) saturate(1.1);
  }
  .page-hero--inset .page-hero-bg picture, .page-hero--inset .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
  .page-hero--inset .page-hero-photo {
    top: calc(var(--header-h) + var(--header-top) + 12px); bottom: 0;
    left: 50%; right: auto; width: auto; max-width: 100%;
    aspect-ratio: 3 / 2; transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }
  .page-hero--inset .page-hero-photo img { object-position: 50% 50%; }
}
@media (max-width: 600px) { .page-hero--inset .page-hero-bg { display: none; } }

/* Full-photo hero (page-hero--home), used on Home and Services. The photo fills
   the screen below the menu bar; the text sits top-left, the one area clear
   of her body, over a dark wash that also tames the bright window. */
@media (min-width: 601px) {
  /* As tall as the photo itself (3:2, below the bar), so the whole pose shows
     at any width: a viewport-height box cropped her hand and foot on wide
     screens. On tall narrow windows 100vh wins and the sides crop instead. */
  .page-hero--home { height: max(640px, 100vh, calc(66.65vw + var(--header-h) + var(--header-top) + 8px)); align-items: start; }
  .page-hero--home .page-hero-photo { top: calc(var(--header-h) + var(--header-top) + 8px); }
  .page-hero--home .page-hero-scrim {
    background:
      linear-gradient(90deg, rgba(4, 23, 12, .9) 0%, rgba(4, 23, 12, .72) 26%, rgba(4, 23, 12, .2) 44%, rgba(4, 23, 12, 0) 58%),
      linear-gradient(180deg, rgba(4, 23, 12, .55) 0%, rgba(4, 23, 12, 0) 22%, rgba(4, 23, 12, 0) 82%, rgba(4, 23, 12, .45) 100%);
  }
  .page-hero--home .page-hero-inner { padding-top: calc(var(--header-h) + var(--header-top) + clamp(32px, 6vh, 72px)); }
  .page-hero--home .page-hero-inner .wrap > * { max-width: 30rem; }
  .page-hero--home h1 { max-width: 9ch; font-size: clamp(48px, 4.6vw, 76px); }
  .page-hero--home .btn-row { margin-top: 1.2rem; }
  .page-hero--home .hero-phone { margin-top: 1rem; }
}
.page-hero--home .hero-phone a { color: var(--aqua); }
@media (max-width: 600px) {
  .page-hero--home .hero-phone a { color: var(--teal-ink); }
  .page-hero--home .btn-light { background: var(--green); color: var(--cream); }
  .page-hero--home .btn-ghost { color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
}

/* Services, "How your program is built" and "Movement assessment": the photo
   fills the full height of its text column and doesn't stick on scroll
   (Steven, 2026-10-14). The text column narrows a little to give it room. */
@media (min-width: 901px) {
  /* Doubled class: the general 3fr / 2fr text-first rule otherwise wins. */
  .two-col.two-col:has(> .slideshow--fill) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; }
  .two-col > .slideshow--fill {
    position: relative; top: auto; align-self: stretch;
    aspect-ratio: auto !important; height: auto; min-height: 440px; max-height: none;
  }
  /* The bird dog spans nearly the whole frame: a tall box crops the sides, so
     the crop is centred on her body to keep both her hand and back foot. */
  .slideshow--fill img { object-position: 52% 50%; }
}

/* Home: Google rating strip under the hero (from the v1-linen mockup), and
   the coach section's quote and credentials list. */
.proof { padding: clamp(48px, 5vw, 72px) 0 clamp(8px, 1vw, 16px); text-align: center; }
.proof-rule { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.proof-rule::before, .proof-rule::after { content: ""; height: 1px; width: clamp(28px, 10vw, 120px); background: var(--ink); opacity: .7; }
.proof-score { margin: 1.1rem 0 0; display: flex; align-items: baseline; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.proof-num { font-family: var(--serif); font-size: clamp(48px, 6vw, 68px); line-height: 1; letter-spacing: var(--track-display); color: var(--ink); }
.proof-stars { font-size: 22px; letter-spacing: .1em; color: var(--teal); }
.proof-line { margin: .6rem 0 0; color: var(--taupe); }
.proof-facts { list-style: none; padding: 0; margin: 2rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.5rem; max-width: 900px;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }

.coach-quote { margin: 1.8rem 0 0; padding: 0; }
.coach-quote p { margin: 0; font-family: var(--serif); font-size: clamp(26px, 1.6vw + 16px, 34px); line-height: 1.2; color: var(--ink); }
.coach-quote footer { margin-top: .6rem; font-size: .9rem; color: var(--taupe); }
.creds { margin: 1.8rem 0 2rem; border-top: 1px solid var(--line); }
.creds > div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.creds dt { color: var(--taupe); }
.creds dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

/* ---- Services: How coaching works, pinned steps ------------------------------
   Default (phones, reduced motion, no JS): the three steps stack, each a photo
   with its copy. steps.js adds .is-pinned on wide screens: the section gets a
   scroll runway, .steps-pin holds on screen, and the active step's photo and
   copy cross-fade in place on the reveal curve. */
.steps-head { display: grid; gap: 1rem 4rem; align-items: end; margin-bottom: 2.5rem; }
.steps-head h2 { margin-bottom: 0; }
.steps-intro { margin: 0; max-width: 32rem; }
@media (min-width: 901px) { .steps-head { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }

.step { display: grid; gap: 1.5rem 3rem; padding: 2rem 0; border-top: 1px solid var(--line); }
@media (min-width: 901px) { .step { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; } }
.step-media { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: 80vh; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--green); }
.step-media picture, .step-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.step-media figcaption, .slide-caption, .life-photos figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 1; padding: 4.5rem 1.4rem 1.3rem;
  background: linear-gradient(0deg, rgba(4, 23, 12, .9) 0%, rgba(4, 23, 12, .72) 55%, rgba(4, 23, 12, 0) 100%);
  color: var(--cream); font-family: var(--serif); font-size: 1.25rem; line-height: 1.3;
}
.step-cap-label { display: block; margin-bottom: .45rem; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .3em; text-transform: uppercase; color: var(--aqua); }
/* Step label sits above its heading; the copy runs a size up from body so
   it holds its own beside the tall photo. */
.step-text { max-width: 36rem; }
.step-label { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; font-family: var(--sans); font-size: clamp(16px, .3vw + 14px, 18px); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; color: var(--teal-ink); }
.step-label::before { content: ""; width: 2.25rem; height: 3px; border-radius: 2px; background: var(--aqua); }
.step-text h3 { margin: 0 0 .75rem; font-family: var(--sans); font-size: clamp(24px, 1.1vw + 15px, 32px); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
.step-text p { margin-bottom: 1rem; font-size: clamp(18px, .35vw + 15px, 20px); line-height: 1.65; }
.step-text .step-note { color: var(--taupe); font-size: 1rem; }
/* Coaching steps: heading on one line with its intro straight underneath,
   instead of the intro floating alone in the right column. */
.steps-head--stack { display: block; }
.steps-head--stack h2 { margin-bottom: .22em; }
.steps-head--stack .subhead { max-width: 46rem; margin-bottom: 0; }
.step-text .btn-row { margin-top: 1rem; }

@media (min-width: 901px) {
  .steps.is-pinned { height: calc(100vh + (var(--n) - 1) * 85vh); }
  .steps.is-pinned .steps-pin {
    position: sticky; top: calc(var(--header-h) + var(--header-top));
    height: calc(100vh - var(--header-h) - var(--header-top));
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto minmax(0, 1fr);
    gap: 0 4rem; padding: 1.5rem 0 2rem;
  }
  .steps.is-pinned .steps-head { grid-column: 1 / -1; margin-bottom: 1.75rem; }
  .steps.is-pinned .step { display: contents; }
  .steps.is-pinned .step-media, .steps.is-pinned .step-text {
    grid-row: 2; opacity: 0; visibility: hidden;
    transition: opacity var(--dur-reveal-group) var(--ease-reveal), translate var(--dur-reveal-group) var(--ease-reveal), visibility 0s linear var(--dur-reveal-group);
  }
  .steps.is-pinned .step-media { grid-column: 1; aspect-ratio: auto; max-height: none; height: 100%; }
  .steps.is-pinned .step-text { grid-column: 2; align-self: center; translate: 0 18px; }
  .steps.is-pinned .step.is-active .step-media, .steps.is-pinned .step.is-active .step-text {
    opacity: 1; visibility: visible; translate: none; transition-delay: 0s;
  }
}

/* Services quote band: stars above the quote, reviewer below, on the same
   green marbled band and quote type as The Coach page. */
.quote-band { margin: 0; text-align: center; }
.quote-stars { color: var(--aqua); letter-spacing: .3em; margin-bottom: 1.2rem; }
.quote-cite { margin-top: 1.2rem; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }

/* Services walk-through: the video takes the wider column (about 60%) and
   the copy beside it steps down a size to suit the narrower column. */
@media (min-width: 901px) {
  .two-col.tour-row:has(> :first-child.two-col-text) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; }
  .tour-row .two-col-text h2 { font-size: clamp(40px, 3.6vw, 56px); }
  .tour-row .subhead { font-size: 1.15rem; margin-bottom: 1.25rem; }
}
.step-link { font-weight: 600; }
.steps-intro > p:last-child { margin-bottom: 0; }
.story-link { margin-top: 1.5rem; font-weight: 600; }
/* Home client story: photo and copy share the width equally, so the photo
   reads larger while still ending on the right content margin. */
@media (min-width: 901px) {
  .two-col.story-row:has(> :first-child.two-col-text) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Client story page (/stories/krista/): a readable column for the summary,
   and a small credit line under the opening. */
.story-body { max-width: 44rem; }
.story-body .coach-quote { margin: 2rem 0; }
/* Krista's text-only sections run the full width of the page (Steven, 2026-10-28). */
.story-body.story-wide { max-width: none; }
.story-credit { font-size: .92rem; color: var(--taupe); }

/* The Coach, Outside the gym: three of Vanessa's own photos in a row,
   captions beneath. */
.life-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.life-photos figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.life-photos picture { display: block; aspect-ratio: 3 / 4; }
.life-photos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .life-photos { grid-template-columns: 1fr; } }

/* Recovery tabs: published findings, set off from the description. */
.research-note { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.research-note p { font-size: .95rem; line-height: 1.6; margin: 0 0 .75rem; }
.research-note a { white-space: nowrap; font-size: .85rem; }
.research-label { font-family: var(--mono); font-size: var(--fs-label) !important; letter-spacing: .25em; text-transform: uppercase; color: var(--teal-ink); }
.creds dt { white-space: nowrap; }

/* The Coach hero: Vanessa sits left of centre in this photo, so on wide
   screens the text moves to the bare wall on the right and the dark wash
   follows it. Phones are unchanged (text sits below the photo). */
@media (min-width: 601px) {
  .page-hero--text-right .page-hero-inner .wrap { display: flex; flex-direction: column; align-items: flex-end; }
  .page-hero--text-right .page-hero-inner .wrap > * { width: min(30rem, 44vw); }
  .page-hero--text-right .page-hero-scrim {
    background:
      linear-gradient(270deg, rgba(4, 23, 12, .9) 0%, rgba(4, 23, 12, .8) 34%, rgba(4, 23, 12, .5) 50%, rgba(4, 23, 12, 0) 66%),
      linear-gradient(180deg, rgba(4, 23, 12, .55) 0%, rgba(4, 23, 12, 0) 22%, rgba(4, 23, 12, 0) 82%, rgba(4, 23, 12, .45) 100%);
  }
}
/* A titled sub-section inside a two-col text column (The Coach, In her words). */
.two-col-text h3.sub-section { margin: 2.5rem 0 .8rem; padding-top: 2rem; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 1.4vw + 18px, 38px); line-height: 1.15; letter-spacing: var(--track-display); color: var(--ink); }

/* Contact: what can be booked, then one large button to Mindbody. */
.book-panel { margin-top: 2.5rem; }
.book-panel h2.book-h { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0 0 .3rem; }
.book-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.book-list li { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.book-name { font-weight: 600; color: var(--green); }
.book-len { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); align-self: center; white-space: nowrap; }
.book-what { grid-column: 1 / -1; font-size: .95rem; color: #4b524e; }
.btn-big { font-size: 1.1rem; padding: 1.05rem 2.6rem; }
.book-note { margin-top: .8rem; font-size: .9rem; color: var(--taupe); }
@media (max-width: 520px) { .btn-big { display: block; text-align: center; } }

/* Privacy and terms pages: one readable column, smaller section heads. */
.footer-legal a { color: inherit; }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 2.4rem 0 .6rem; }
