/* Layout: ridgeline hero with a live program card, then alternating fog / redwood bands that read like a training log */
:root {
  --fog: #EDF0EE;
  --fog-2: #E1E6E3;
  --paper: #F8FAF9;
  --ink: #15211C;
  --ink-soft: #4A5953;
  --redwood: #23402F;
  --redwood-ink: #E9F0EB;
  --poppy: #D9661F;
  --poppy-soft: #F6DCC8;
  --line: #C9D1CD;
  --ridge-1: #C7D1CC;
  --ridge-2: #A9B7B0;

  --f-display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --s-xs: .8125rem; --s-sm: .9375rem; --s-md: 1.0625rem; --s-lg: 1.375rem;
  --s-xl: clamp(2rem, 4.5vw, 3rem); --s-hero: clamp(2.75rem, 8vw, 5.75rem);
  --wrap: 1160px;
}
:root { color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--fog); color: var(--ink); font-family: var(--f-body); font-size: var(--s-md); line-height: 1.6; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
h1, h2, h3 { font-family: var(--f-display); line-height: .95; text-wrap: balance; margin: 0; letter-spacing: .005em; }
h2 { font-size: var(--s-xl); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.75rem; font-weight: 800; text-transform: uppercase; }
p { margin: 0; }
a { color: inherit; }
.eyebrow { font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--poppy); }
.lede { font-size: var(--s-lg); line-height: 1.45; color: var(--ink-soft); max-width: 36ch; }
:focus-visible { outline: 3px solid var(--poppy); outline-offset: 3px; border-radius: 2px; }

.btn { display: inline-flex; align-items: center; gap: .5rem; font: 600 var(--s-sm)/1 var(--f-body); text-decoration: none; padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: var(--fog); cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); background: var(--poppy); border-color: var(--poppy); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--fog); border-color: var(--ink); }

/* Nav */
header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--fog) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.brand { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; display: flex; align-items: center; gap: .5rem; }
.brand svg { width: 44px; height: 18px; flex: none; }
.brand-text { display: grid; line-height: .9; }
.brand small { font-family: var(--f-mono); font-size: .625rem; font-weight: 400; text-transform: none; letter-spacing: .02em; color: var(--ink-soft); margin-top: .25rem; }
@media (max-width: 420px) { .brand { font-size: 1.2rem; } .nav .btn { padding: .6rem .85rem; font-size: var(--s-xs); } }
.nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; font-size: var(--s-sm); font-weight: 500; }
.nav ul a { text-decoration: none; color: var(--ink-soft); }
.nav ul a:hover { color: var(--ink); }
.nav .btn { padding: .7rem 1.1rem; }
@media (max-width: 820px) { .nav ul { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; position: relative; z-index: 1; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: var(--s-hero); font-weight: 900; text-transform: uppercase; margin-block: .9rem 1.4rem; }
.hero h1 em { font-style: normal; color: var(--poppy); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.formats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.chip { font-family: var(--f-mono); font-size: var(--s-xs); padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: var(--paper); }


.hero-photo { margin: 0 0 3rem; display: grid; gap: .6rem; justify-self: end; width: 100%; max-width: 440px; }
.hero-photo img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%; border-radius: 18px; box-shadow: 0 24px 50px -28px rgba(20,40,30,.55); }
.hero-photo figcaption { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.ridge { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; z-index: 0; pointer-events: none; }
.ridge svg { width: 100%; height: 100%; display: block; }
.ridge-label { position: absolute; left: 50%; top: 1.6rem; transform: translateX(-50%); font-family: var(--f-mono); font-size: .6875rem; color: var(--ink-soft); letter-spacing: .06em; white-space: nowrap; }

/* Marin strip */
.marin { background: var(--poppy); color: #fff; }
.marin .wrap { display: flex; align-items: center; gap: 1.25rem 2rem; padding-block: 1.1rem; flex-wrap: wrap; }
.marin strong { font-family: var(--f-display); font-size: 1.5rem; text-transform: uppercase; font-weight: 900; letter-spacing: .02em; }
.marin ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0; padding: 0; font-family: var(--f-mono); font-size: var(--s-xs); text-transform: uppercase; letter-spacing: .06em; }
.marin li::before { content: "▲ "; opacity: .7; }
.marin li.sf { font-weight: 500; border-left: 1px solid rgba(255,255,255,.5); padding-left: 1.2rem; }
.marin li.sf::before { content: none; }
@media (max-width: 620px) { .marin li.sf { border-left: 0; padding-left: 0; flex-basis: 100%; } }

section.band { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; align-items: end; margin-bottom: 3rem; }
.section-head > * { min-width: 0; }
.section-head p { color: var(--ink-soft); max-width: 46ch; }
@media (max-width: 820px) { .section-head, .hero-grid { grid-template-columns: 1fr; } .hero-photo { justify-self: start; max-width: 380px; margin-bottom: 2rem; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.service-photo { display: block; width: calc(100% + 3.5rem); max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 70%; margin: -1.75rem -1.75rem .25rem; border-radius: 13px 13px 0 0; }
.service { overflow: hidden; position: relative; transition: border-color .15s ease; }
.service:hover { border-color: var(--poppy); }
.service h3 a { text-decoration: none; }
.service h3 a span { color: var(--poppy); }
.service h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 13px; }
.service h3 a:focus-visible { outline: none; }
.service h3 a:focus-visible::after { outline: 3px solid var(--poppy); outline-offset: -3px; }
#consult { scroll-margin-top: 6rem; }
.service .tag { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--ink-soft); display: flex; justify-content: space-between; }
.service p { color: var(--ink-soft); font-size: var(--s-sm); }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; font-size: var(--s-sm); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: auto; }
.service li { display: flex; gap: .6rem; }
.service li::before { content: "✓"; font-family: var(--f-mono); color: var(--poppy); font-weight: 500; }
.service .who { font-family: var(--f-mono); font-size: var(--s-xs); background: var(--fog-2); border-radius: 8px; padding: .6rem .8rem; color: var(--ink); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* Method (dark band) */
.method { background: var(--redwood); color: var(--redwood-ink); }
.method .section-head p { color: color-mix(in srgb, var(--redwood-ink) 72%, transparent); }
.method-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.method-grid > * { min-width: 0; }
.method h3 { margin-bottom: 1rem; }
.addon-check { display: flex; align-items: center; gap: .6rem; font: 500 var(--s-sm) var(--f-body); text-transform: none; letter-spacing: 0; color: var(--ink); cursor: pointer; }
.addon-check input { width: 1.1rem; height: 1.1rem; accent-color: var(--poppy); flex: none; }
.method .body { color: color-mix(in srgb, var(--redwood-ink) 78%, transparent); margin-bottom: 1.75rem; max-width: 52ch; }
.patterns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: color-mix(in srgb, var(--redwood-ink) 20%, transparent); border: 1px solid color-mix(in srgb, var(--redwood-ink) 20%, transparent); border-radius: 12px; overflow: hidden; }
.patterns div { background: var(--redwood); padding: 1rem 1.1rem; }
.patterns b { display: block; font-family: var(--f-display); font-size: 1.35rem; text-transform: uppercase; font-weight: 800; }
.patterns span { font-size: var(--s-xs); font-family: var(--f-mono); color: color-mix(in srgb, var(--redwood-ink) 65%, transparent); }
.plate { display: grid; gap: .75rem; }
.plate-row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid color-mix(in srgb, var(--redwood-ink) 18%, transparent); font-size: var(--s-sm); }
.plate-row:last-child { border-bottom: 1px solid color-mix(in srgb, var(--redwood-ink) 18%, transparent); }
.plate-row dt { font-family: var(--f-mono); font-size: var(--s-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--poppy); padding-top: .15rem; }
.plate-row dd { margin: 0; color: color-mix(in srgb, var(--redwood-ink) 85%, transparent); }
@media (max-width: 820px) { .method-grid { grid-template-columns: 1fr; } .patterns { grid-template-columns: repeat(2, 1fr); } }

/* Testimonials */
.feature-quote { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2.5rem; align-items: start; padding-block: 0 3rem; margin: 0 0 3rem; border-bottom: 2px solid var(--ink); }
.feature-quote > * { min-width: 0; }
.feature-quote .mark { font-family: var(--f-display); font-weight: 900; font-size: clamp(6rem, 14vw, 10rem); line-height: .7; color: var(--poppy); }
.feature-quote blockquote { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.35; font-weight: 500; max-width: 40ch; text-wrap: pretty; }
.feature-quote figcaption { grid-column: 2; display: grid; gap: .15rem; }
.feature-quote figcaption b { font-family: var(--f-display); font-size: 1.5rem; text-transform: uppercase; font-weight: 800; }
.feature-quote figcaption span { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--ink-soft); }
@media (max-width: 620px) { .feature-quote { grid-template-columns: 1fr; } .feature-quote figcaption { grid-column: 1; } .feature-quote .mark { font-size: 5rem; } }
.quotes { columns: 2 22rem; column-gap: 1.25rem; }
.quote { break-inside: avoid; margin: 0 0 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem 1.75rem; display: grid; gap: 1rem; }
.quote .ctx { display: flex; flex-wrap: wrap; gap: .4rem .75rem; align-items: center; font-family: var(--f-mono); font-size: var(--s-xs); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.quote .stat { background: var(--poppy); color: #fff; border-radius: 999px; padding: .2rem .6rem; letter-spacing: .03em; }
.quote blockquote { margin: 0; display: grid; gap: .8rem; font-size: var(--s-sm); line-height: 1.65; }
.quote blockquote strong { font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; font-weight: 800; line-height: 1; }
.quote figcaption { font-family: var(--f-display); font-size: 1.3rem; text-transform: uppercase; font-weight: 800; border-top: 1px solid var(--line); padding-top: .8rem; }

/* About */
.about { background: var(--fog-2); }
.about-grid { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-grid > * { min-width: 0; }
.about-photo { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: 16px; }
.about-text h2 { font-size: clamp(2.5rem, 6vw, 4rem); margin-block: .8rem 1.4rem; }
.about-bio { color: var(--ink-soft); max-width: 58ch; }
.about-bio + .about-bio { margin-top: 1rem; }
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 2rem 0; }
.creds div { background: var(--paper); padding: .9rem 1rem; min-width: 0; }
.creds dt { font-family: var(--f-display); font-size: 1.6rem; font-weight: 900; text-transform: uppercase; color: var(--poppy); line-height: 1; }
.creds dd { margin: .35rem 0 0; font-family: var(--f-mono); font-size: .6875rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 320px; } }
@media (max-width: 560px) { .creds { grid-template-columns: 1fr 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.gallery figure { margin: 0; display: grid; gap: .6rem; min-width: 0; }
.gallery img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.gallery figcaption { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } .gallery img { aspect-ratio: 4 / 3; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.step { padding: 1.4rem 1.4rem 0 0; display: grid; gap: .6rem; min-width: 0; }
.step + .step { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.step .n { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--poppy); }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--ink-soft); font-size: var(--s-sm); }
.step .time { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 2rem; } .step:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding-left: 0; border-left: 0; } .step + .step { border-top: 1px solid var(--line); padding-top: 1.4rem; } }

/* Areas */
.areas-band { background: var(--fog-2); }
.areas { display: grid; grid-template-columns: 2.2fr 1fr; gap: 1.25rem; align-items: stretch; }
.area-sf { font-size: var(--s-sm); color: var(--ink-soft); }
.area.home li.more { color: var(--poppy); font-weight: 600; }
.area.home { padding: clamp(1.5rem, 4vw, 2.5rem); }
.area.home h3 { font-size: clamp(2rem, 5vw, 3rem); }
.areas .area.home ul { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); row-gap: .6rem; font-size: var(--s-md); }
.area { padding: 1.5rem; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); min-width: 0; }
.area.home { background: var(--ink); color: var(--fog); border-color: var(--ink); }
.area .label { font-family: var(--f-mono); font-size: var(--s-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.area.home .label { color: var(--poppy); }
.area h3 { margin-block: .5rem 1rem; }
.area ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: var(--s-sm); }
.area.home ul { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.area-note { margin-top: 1.75rem; font-size: var(--s-sm); color: var(--ink-soft); max-width: 70ch; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .area.home { grid-row: span 2; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.faq details { border-top: 1px solid var(--line); padding-block: 1.1rem; min-width: 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--poppy); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .7rem; color: var(--ink-soft); font-size: var(--s-sm); max-width: 60ch; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-grid h2 { font-size: clamp(2.5rem, 6vw, 4.25rem); margin-block: .8rem 1.2rem; }
.direct { margin-top: 2rem; display: grid; gap: .75rem; }
.direct div { display: grid; grid-template-columns: 4.5rem 1fr; gap: .75rem; font-size: var(--s-sm); align-items: baseline; }
.direct dt { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--ink-soft); text-transform: uppercase; }
.direct dd { margin: 0; user-select: all; word-break: break-word; }
form { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.row > * { min-width: 0; }
@media (max-width: 560px) { .row, .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
label { display: grid; gap: .4rem; font-size: var(--s-xs); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
input, select, textarea { font: 400 var(--s-md) var(--f-body); color: var(--ink); background: var(--fog); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; width: 100%; text-transform: none; letter-spacing: 0; }
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--poppy); outline-offset: 0; border-color: transparent; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
legend { font-size: var(--s-xs); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin-bottom: .5rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills label { font: 500 var(--s-sm) var(--f-body); text-transform: none; letter-spacing: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .95rem; cursor: pointer; display: inline-block; background: var(--fog); }
.pills input:checked + label { background: var(--ink); color: var(--fog); border-color: var(--ink); }
.pills input:focus-visible + label { outline: 3px solid var(--poppy); outline-offset: 2px; }
.result { border: 1px dashed var(--poppy); background: var(--poppy-soft); border-radius: 12px; padding: 1rem 1.1rem; font-size: var(--s-sm); display: grid; gap: .75rem; }
.result pre { margin: 0; white-space: pre-wrap; font-family: var(--f-mono); font-size: var(--s-xs); color: var(--ink); max-height: 14rem; overflow: auto; }
.result .actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.result .btn { padding: .6rem 1rem; }
.status { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--ink-soft); }

footer { border-top: 1px solid var(--line); padding-block: 2rem; font-size: var(--s-xs); color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--f-mono); }

/* Shared by every page */
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Page switcher */
.pages { background: var(--redwood); color: var(--redwood-ink); }
.pages .wrap { display: flex; gap: .4rem; padding-block: .5rem; }
.pages a { font: 600 var(--s-sm)/1 var(--f-body); text-decoration: none; white-space: nowrap; padding: .6rem .95rem; border-radius: 999px; }
.pages a:hover { background: color-mix(in srgb, var(--redwood-ink) 15%, transparent); }
.pages a[aria-current] { background: var(--redwood-ink); color: var(--redwood); }
@media (max-width: 480px) { .pages .wrap { gap: .1rem; justify-content: space-between; } .pages a { font-size: .75rem; padding: .6rem .55rem; } }

/* Run and golf coaching pages */
.hero.solo { padding-bottom: clamp(7rem, 16vw, 12rem); }
.hero.solo h1 { max-width: 14ch; }
.hero.solo .wrap { position: relative; z-index: 1; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 5vw, 4rem); }
.offer { border-top: 2px solid var(--ink); padding-top: 1.25rem; display: grid; gap: .6rem; align-content: start; min-width: 0; }
.offer p { color: var(--ink-soft); max-width: 48ch; }
@media (max-width: 700px) { .offers { grid-template-columns: 1fr; } }
.closer .wrap { display: grid; gap: 1.5rem; justify-items: start; }
.closer p { max-width: 52ch; color: color-mix(in srgb, var(--redwood-ink) 80%, transparent); }
.closer .btn { background: var(--redwood-ink); border-color: var(--redwood-ink); color: var(--redwood); }
.closer .btn:hover { background: var(--poppy); border-color: var(--poppy); color: #fff; }

/* Consult form confirmation */
.sent { display: grid; gap: .75rem; padding-block: 1rem; }
.sent p { color: var(--ink-soft); }

.offer-group { font-family: var(--f-mono); font-size: var(--s-xs); font-weight: 500; letter-spacing: .08em; color: var(--poppy); margin: 3rem 0 1.25rem; }
.section-head + .offer-group { margin-top: 0; }

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

/* Line up photo, title, text, "For" box and list across the three training cards */
@supports (grid-template-rows: subgrid) {
  .service { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 1rem; align-content: start; }
  .service ul { margin-top: 0; }
  .service .who { align-self: start; }
}

/* Phones: keep the section links in the sticky header as a swipeable row */
@media (max-width: 820px) {
  .nav .wrap { flex-wrap: wrap; row-gap: .6rem; padding-block: .6rem; }
  .nav nav { order: 3; flex-basis: 100%; min-width: 0; margin-inline: calc(-1 * clamp(16px, 4vw, 40px)); }
  .nav ul { display: flex; gap: .4rem; overflow-x: auto; padding-inline: clamp(16px, 4vw, 40px); scrollbar-width: none; }
  .nav ul::-webkit-scrollbar { display: none; }
  .nav ul a { display: block; white-space: nowrap; padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .875rem; }
  section[id], #consult { scroll-margin-top: 8.5rem; }
}
@media (max-width: 480px) {
  .nav .wrap { column-gap: .6rem; }
  .brand { font-size: 1.15rem; gap: .4rem; }
  .brand svg { width: 34px; height: 14px; }
  .brand small { font-size: .5625rem; }
  .nav .btn { padding: .6rem .8rem; font-size: .8125rem; }
}

.gallery.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gallery.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .gallery.four { grid-template-columns: 1fr; } }

/* Run page: one wide featured photo plus four tall ones */
.gallery.five { grid-template-columns: repeat(3, 1fr); }
/* Two tiles wide and one tile tall, so it lines up with its neighbor */
.gallery.five .feature { grid-column: span 2; }
.gallery.five .feature img { aspect-ratio: 1.65 / 1; }
@media (max-width: 900px) {
  .gallery.five { grid-template-columns: 1fr 1fr; }
  .gallery.five .feature img { height: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) {
  .gallery.five { grid-template-columns: 1fr; }
  .gallery.five .feature { grid-column: auto; }
  .gallery.five .feature img { aspect-ratio: 4 / 3; }
}
