:root {
  --bg: #121313;
  --panel: #1c1e1e;
  --text: #ecebe4;
  --muted: #b5b6b1;
  --accent: #a3433b;
  --line: #353737;
  --display: 'Fixel Display', Arial, sans-serif;
  --body: 'Fixel Text', Arial, sans-serif;
  --gutter: max(clamp(20px, 4vw, 64px), env(safe-area-inset-left), env(safe-area-inset-right));
  --page-padding: max(var(--gutter), calc((100% - 1320px) / 2));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(96px + env(safe-area-inset-top)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--body); }
body.modal-open, body.analytics-modal-open, body.review-modal-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; }
:where(a, button, summary, select, textarea, [tabindex]):focus-visible { outline: 2px solid #d98c80; outline-offset: 4px; }
::selection { background: var(--accent); color: white; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font: 600 1em/1.15 var(--display); letter-spacing: -.025em; overflow-wrap: break-word; }
h2 { font-size: clamp(32px, 7vw, 48px); }
h3 { font-weight: 600; line-height: 1.4; }
p, li, a, label { overflow-wrap: break-word; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
:where(.hero-copy, .section-heading, .goals, .coach-copy, .training-details, .location-info, .location-map, .faq-list) { min-width: 0; }
.skip { position: fixed; top: -80px; left: 16px; background: var(--text); color: var(--bg); padding: 12px 20px; z-index: 50; }
.skip:focus { top: 12px; }

/* The header switches before its full navigation can become crowded. */
.header {
  position: sticky; top: 0; z-index: 20; min-height: 76px;
  display: flex; align-items: center; gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) var(--page-padding) 12px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; flex: none; gap: 6px; width: fit-content; color: var(--text); }
/* Preserve the selected white artwork; screen blending removes its dark canvas. */
.brand-mark { flex: none; width: 46px; height: 46px; object-fit: contain; filter: grayscale(1) contrast(8); mix-blend-mode: screen; }
.brand-wordmark { display: grid; gap: 4px; white-space: nowrap; }
.brand-wordmark strong { font: 600 21px/1 var(--display); letter-spacing: .025em; }
.brand-wordmark > span { font: 600 8px/1.3 var(--body); letter-spacing: .09em; }
.header-book { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 18px; min-height: 46px; padding: 10px 12px; margin-left: auto; background: none; border: 1px solid #686b66; font-size: 13px; line-height: 1.4; }
.header-book svg { display: none; }
.menu-button { display: flex; flex: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 46px; padding: 0; background: none; border: 1px solid var(--line); }
.menu-button span { width: 20px; height: 1px; background: var(--text); transition: transform .18s; }
.menu-button[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
#navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 90px); overflow-y: auto; padding: 14px var(--page-padding) 18px; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px #0005; }
#navigation.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
#navigation a { display: flex; align-items: center; min-height: 48px; padding: 8px 0; font-size: 15px; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; max-width: 100%; padding: 15px 20px; border: 1px solid transparent; border-radius: 0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.primary { background: var(--accent); color: #fff; }
.light { background: var(--text); color: var(--bg); }
.hero { position: relative; display: grid; gap: 30px; width: 100%; max-width: calc(1320px + 2 * var(--gutter)); margin: auto; padding: 34px var(--gutter) 38px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #d4b7ae; font-size: 14px; font-weight: 600; }
.hero-kicker::before { content: ''; width: 24px; height: 2px; flex: none; background: var(--accent); }
.hero h1 { font-size: clamp(44px, 10.6vw, 80px); line-height: 1.1; letter-spacing: -.025em; }
.hero-description { max-width: 43ch; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero .button { width: 100%; margin-top: 26px; }
.hero-footnote { max-width: 47ch; margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hero-social { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 14px; color: var(--text); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.hero-photo { position: relative; height: clamp(240px, 62vw, 400px); overflow: hidden; background: #292c2c; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 61%; filter: grayscale(.75) brightness(.72); }
.hero-photo:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #080909f2, #08090980 40%, transparent 75%); pointer-events: none; }
.hero-manifesto { position: absolute; z-index: 1; right: 20px; bottom: 22px; left: 20px; color: #f2f0e9; }
.manifesto-title { font: 600 clamp(34px, 7.5vw, 52px)/1.04 var(--display); letter-spacing: -.025em; }
.manifesto-values { display: flex; flex-wrap: wrap; gap: 3px 8px; max-width: 34em; margin-top: 14px; font-size: 10px; font-weight: 600; line-height: 1.6; letter-spacing: .08em; }
.manifesto-values span { white-space: nowrap; }

.section { padding: 60px var(--page-padding); scroll-margin-top: 0; }
.eyebrow { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.approach { display: grid; gap: 36px; background: #171919; border-block: 1px solid var(--line); }
.approach .section-heading::before { content: ''; display: block; width: 44px; height: 3px; margin-bottom: 24px; background: var(--accent); }
.approach-lead { max-width: 32ch; margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.goals article { padding: 28px 0; border-top: 1px solid #424644; }
.goals article:last-child { padding-bottom: 0; }
.goals h3 { font-size: 20px; }
.goals p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.coach { display: grid; gap: 32px; background: #1a1c1c; }
.coach-copy { order: 0; }
.coach-copy > p:not(.eyebrow):not(.coach-intro) { max-width: 56ch; margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.coach-intro { margin-top: 24px; font-size: clamp(19px, 2vw, 23px); line-height: 1.6; }
.credentials { padding: 0; margin: 26px 0 0; list-style: none; border-top: 1px solid var(--line); }
.credentials li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.credentials li:before { content: '+'; flex: none; color: #c47c70; }
.coach-visual { width: 100%; max-width: 620px; align-self: center; justify-self: center; order: 1; background: #161818; }
.competition-frame { position: relative; aspect-ratio: 1; overflow: hidden; }
.competition-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.coach-visual figcaption { padding: 13px 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }

/* Original Instagram comments with on-demand screenshot evidence. */
.reviews { background: #151717; border-top: 1px solid var(--line); }
.reviews-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.reviews .eyebrow { margin-bottom: 12px; }
.reviews-controls { display: flex; align-items: center; gap: 20px; }
.reviews-total { color: var(--muted); font-size: 13px; white-space: nowrap; }
.reviews-arrows { display: flex; gap: 8px; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: 92%; gap: 16px; margin-top: 32px; padding-bottom: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #777a72 #252827; }
.review-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px 20px 10px; border: 1px solid #3d4140; background: #1c1f1e; scroll-snap-align: start; }
.review-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.review-platform { display: inline-flex; align-items: center; gap: 9px; color: #d4b7ae; font-size: 12px; }
.review-platform svg { width: 19px; height: 19px; }
.review-number { color: #939a94; font-size: 12px; }
.review-author { margin-top: 20px; font: 600 15px/1.6 var(--body); overflow-wrap: anywhere; }
.review-card blockquote { margin: 18px 0 28px; color: #d9dcd5; font-size: 15px; line-height: 1.8; }
.review-source { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin-top: auto; border-top: 1px solid #444845; color: #c1c6be; font-size: 12px; }
.review-source::after { content: ''; position: absolute; inset: 0; }
.review-card:focus-within { outline: 2px solid #d98c80; outline-offset: -2px; }
.reviews-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 8px; }
.reviews-bottom p { max-width: 54ch; color: #a9afa7; font-size: 12px; }
.reviews-bottom a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
#review-viewer { width: min(620px, calc(100% - 32px)); padding: 16px; }
.review-viewer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; }
.review-viewer-header .eyebrow { margin-bottom: 4px; font-size: 12px; }
.review-viewer-header h2 { font: 600 16px/1.5 var(--body); overflow-wrap: anywhere; }
.review-viewer-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid #626560; background: transparent; font-size: 28px; line-height: 1; }
#review-viewer-image { width: 100%; height: auto; max-height: 68vh; max-height: 68dvh; object-fit: contain; background: #0b0c0c; }
#review-viewer-original { display: flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

.training { background: #c9cbc3; color: #222624; }
.training .eyebrow { color: #555d56; }
.training-top > p { max-width: 40ch; margin-top: 24px; color: #4d554e; font-size: 15px; }
.training-layout { display: grid; gap: 34px; margin-top: 34px; }
.steps { display: grid; gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px 14px; padding-top: 20px; border-top: 1px solid #899187; }
.step-number { grid-row: 1 / 3; color: #616b60; font: 600 29px/1.3 var(--display); }
.steps h3 { font-size: 18px; }
.steps p { grid-column: 2; color: #4d554e; font-size: 15px; line-height: 1.8; }
.sparring-note { display: flex; align-items: flex-start; gap: 14px; padding-top: 24px; margin-top: 30px; border-top: 1px solid #a7ada3; font-size: 14px; }
.check { flex: none; color: #4d5a49; font-size: 20px; }
.sparring-note strong { display: block; font-weight: 600; }
.training-photo { width: 100%; max-width: 520px; justify-self: center; }
.training-photo img { width: 100%; height: auto; }

.locations > .section-heading { margin-bottom: 30px; }
.muted { margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid #494c47; }
.tabs button { min-height: 56px; padding: 15px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 14px; }
.tabs button[aria-selected='true'] { background: #222423; border-color: #b85a4f; color: var(--text); }
.location-panel { display: flex; flex-direction: column; background: var(--panel); }
.location-info { order: 1; padding: 25px 20px; }
.location-type { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.location-panel h3 { margin-bottom: 12px; font: 600 clamp(30px, 7.5vw, 46px)/1.15 var(--display); letter-spacing: -.02em; }
#gym-address { color: var(--muted); font-size: 15px; }
.location-features { padding: 18px 0; margin-top: 22px; border-block: 1px solid var(--line); }
.location-features p { display: flex; gap: 10px; margin: 9px 0; color: #c2c4bd; font-size: 13px; }
.location-features span { flex: none; color: #a6b59f; }
.location-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
.location-actions a { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.price-note { margin-top: 18px; color: var(--muted); font-size: 13px; }
.location-map { order: 0; width: 100%; background: var(--bg); border-bottom: 1px solid var(--line); }
.location-map iframe { display: block; width: 100%; height: clamp(270px, 65vw, 360px); border: 0; background: #d9ddd7; }
.location-map figcaption { display: flex; flex-direction: column; gap: 5px; padding: 14px 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.location-map figcaption a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* A separate visit service; its details can later sit beside an approved home-training photo. */
.home-training { display: grid; gap: 36px; border-top: 1px solid var(--line); background: #1a1c1b; }
.home-training-copy, .home-training-details { min-width: 0; }
.home-training-lead { max-width: 44ch; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.home-training-copy .button { width: 100%; margin-top: 28px; }
.home-training-details article { padding: 24px 0; border-top: 1px solid #444843; }
.home-training-details article:last-child { padding-bottom: 0; }
.home-training-details h3 { font-size: 19px; }
.home-training-details p { max-width: 52ch; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.faq-invitation { max-width: 34ch; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.85; }

.faq { display: grid; gap: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding: 21px 0; list-style: none; cursor: pointer; font-size: 15px; line-height: 1.6; }
summary::-webkit-details-marker { display: none; }
summary span { position: relative; width: 16px; height: 16px; flex: none; }
summary span:before, summary span:after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 1px; background: #c6c8c0; }
summary span:after { transform: rotate(90deg); }
details[open] summary span:after { transform: none; }
.faq details p { max-width: 62ch; padding: 0 12px 24px 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.gallery { border-top: 1px solid var(--line); background: #191b1b; }
.gallery-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.gallery .eyebrow { margin-bottom: 12px; }
.gallery-controls { display: flex; flex: none; gap: 8px; }
.gallery-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #626560; background: transparent; }
.gallery-arrow:disabled { opacity: .3; cursor: default; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; margin-top: 30px; padding-bottom: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #777a72 #252827; }
.gallery-slide { min-width: 0; scroll-snap-align: start; }
.gallery-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: #151717; }
.gallery-media > img, .gallery-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gallery-media > video { background: #0b0c0c; }
.gallery-media--competition .competition-frame { width: 100%; }
.gallery-slide figcaption { display: flex; gap: 16px; padding-top: 16px; font-size: 14px; }
.gallery-slide figcaption > span { color: #969b94; font-size: 12px; padding-top: 2px; }
.gallery-slide .gallery-kind { margin-left: auto; color: #d4b7ae; }
.closing { background: #793a35; }
.closing .eyebrow { color: #e0c9c4; }
.closing h2 { font-size: clamp(32px, 7.8vw, 60px); }
.closing-bottom { display: flex; flex-direction: column; gap: 25px; margin-top: 28px; }
.closing-bottom p { color: #e0ceca; font-size: 15px; }
.closing .button { width: 100%; }
.contact-channels { display: grid; gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #ffffff40; }
.contact-phone { display: flex; align-items: center; width: fit-content; min-height: 48px; font: 600 clamp(23px, 3vw, 34px)/1.4 var(--display); white-space: nowrap; }
.contact-label { font-size: 13px; color: #e0ceca; }
.contact-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; font-size: 14px; }
.contact-socials { margin-top: 8px; }
.footer-phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-size: 16px; white-space: nowrap; }
.footer-contact .contact-links { gap: 0 14px; }
.footer-contact .contact-links a { font-size: 13px; }
.booking-alternatives { margin-top: 18px; color: var(--muted); font-size: 13px; }
.booking-phone { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: var(--text); }
.copy-message { margin-top: 6px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.site-footer { padding: 48px var(--page-padding) max(24px, env(safe-area-inset-bottom)); color: var(--muted); background: #101111; font-size: 13px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.footer-main > * { min-width: 0; }
.footer-name { display: inline-block; padding-block: 4px 16px; color: var(--text); font: 600 38px/1 var(--display); letter-spacing: .02em; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-mark { width: 64px; height: 64px; }
.footer-brand .brand-wordmark strong { font-size: 28px; }
.footer-brand .brand-wordmark > span { font-size: 10px; }
.footer-tagline { margin-top: 16px; color: #92958f; }
.footer-tagline strong { color: var(--text); font-weight: 600; }
.footer-heading { margin: 0 0 12px; color: var(--text); font: 600 14px/1.6 var(--body); letter-spacing: 0; }
.footer-nav a { display: flex; align-items: center; min-height: 44px; width: fit-content; padding-block: 8px; }
.footer-locations a { display: block; width: fit-content; padding-block: 8px; }
.footer-locations a + a { margin-top: 10px; }
.footer-locations strong { display: block; color: var(--text); font-weight: 600; }
.footer-locations span { display: block; margin-top: 4px; line-height: 1.7; }
.footer-book { width: 100%; max-width: 260px; margin-top: 18px; border-color: #686b66; background: transparent; color: var(--text); }
.footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.footer-bottom > p { padding-block: 12px; }
.footer-bottom > a:not(.back-top), .text-button { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; text-align: left; }
.text-button { padding-inline: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; }
.back-top { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin-top: 10px; border: 1px solid var(--line); color: var(--text); font-size: 24px; }

/* Consent does not load a vendor script until an explicit, stored opt-in. */
.analytics-banner { position: fixed; z-index: 30; bottom: max(16px, env(safe-area-inset-bottom)); left: var(--gutter); right: var(--gutter); display: grid; gap: 16px; max-width: 1040px; max-height: calc(100dvh - 32px); margin-inline: auto; padding: 20px; overflow-y: auto; border: 1px solid #62645e; background: #202222; box-shadow: 0 12px 64px #0009; }
.analytics-banner h2 { margin-bottom: 8px; font: 600 16px/1.5 var(--body); letter-spacing: 0; }
.analytics-banner p, .analytics-description { color: var(--muted); font-size: 13px; line-height: 1.8; }
.analytics-banner a, .analytics-description a, .privacy-copy a { text-decoration: underline; text-underline-offset: 4px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions button { flex: 1 1 130px; min-height: 48px; padding: 12px 14px; border: 1px solid #777a73; border-radius: 0; background: #292c2b; color: var(--text); font-size: 13px; line-height: 1.5; }
.consent-actions button:disabled { opacity: .45; }
.analytics-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; padding: 0; border: 0; background: none; font-size: 32px; line-height: 1; }
.analytics-description + .analytics-description { margin-top: 14px; }
#analytics-settings .consent-actions { margin-top: 24px; }
.privacy-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--page-padding); border-bottom: 1px solid var(--line); }
.privacy-header .footer-name { padding-bottom: 4px; font-size: 28px; }
.privacy-header > a:last-child { display: flex; align-items: center; min-height: 44px; font-size: 13px; }
.privacy-copy { max-width: 880px; margin-inline: auto; padding: 56px var(--gutter) 72px; }
.privacy-copy h1 { margin-bottom: 24px; font-size: clamp(30px, 6.5vw, 56px); overflow-wrap: anywhere; }
.privacy-copy h2 { margin: 32px 0 12px; font: 600 21px/1.5 var(--body); letter-spacing: 0; }
.privacy-copy p, .privacy-copy li { color: var(--muted); font-size: 15px; line-height: 1.9; }
.privacy-copy p + p { margin-top: 12px; }
.privacy-copy ul { padding-left: 22px; }
.privacy-copy .text-button { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.privacy-footer .footer-bottom { margin-top: 0; border: 0; padding-top: 0; }

/* Native dialog remains scrollable when a phone keyboard reduces the viewport. */
dialog { width: min(560px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #494b45; background: var(--panel); color: var(--text); box-shadow: 0 25px 100px #0009; }
dialog::backdrop { background: #000b; backdrop-filter: blur(4px); }
.dialog-inner { position: relative; padding: 28px 20px; }
.dialog-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; padding: 0; border: 0; background: none; font-size: 32px; line-height: 1; }
.dialog-inner h2 { font-size: clamp(30px, 7vw, 42px); }
.dialog-inner .eyebrow { padding-right: 42px; margin-bottom: 14px; font-size: 12px; }
.dialog-lead { margin: 22px 0; color: var(--muted); font-size: 15px; }
label { display: block; margin: 18px 0 8px; font-size: 14px; }
select, textarea { display: block; width: 100%; min-width: 0; max-width: 100%; padding: 13px 12px; border: 1px solid #52574e; border-radius: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; }
select { min-height: 52px; text-overflow: ellipsis; }
textarea { min-height: 148px; resize: vertical; }
.dialog-inner .button { justify-content: center; width: 100%; margin-top: 20px; }
.booking-status { margin-top: 18px; padding-top: 18px; border-top: 1px solid #44483e; color: #c7b9b4; font-size: 13px; line-height: 1.7; }
.copy-status { margin-top: 12px; color: #b8c7ad; font-size: 14px; }
.copy-status:empty { display: none; }

/* Keep the full booking action and menu visible on narrow phones. */
@media (max-width: 359px) {
  .header { gap: 8px; }
  .header .brand { gap: 4px; }
  .header .brand-mark { width: 42px; height: 42px; }
  .header-book { padding-inline: 10px; }
}
@media (min-width: 480px) {
  .brand { gap: 10px; }
  .brand-mark { width: 60px; height: 60px; }
  .brand-wordmark strong { font-size: 26px; }
  .brand-wordmark > span { font-size: 10px; }
  .header { gap: 16px; }
  .header-book { padding-inline: 17px; }
  .hero-manifesto { right: 28px; bottom: 28px; left: 28px; }
  .manifesto-values { font-size: 11px; }
  .location-info { padding: 30px; }
  .location-actions { align-items: flex-start; }
  .dialog-inner { padding: 36px; }
}
@media (min-width: 600px) {
  .contact-channels { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 32px; }
  .home-training-copy .button { width: auto; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .footer-bottom { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
  .back-top { margin-top: 0; margin-left: auto; }
  .hero .button, .closing .button { width: auto; min-width: 280px; align-self: flex-start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .steps li { display: block; }
  .steps h3 { margin-top: 16px; }
  .steps p { margin-top: 10px; }
}
@media (min-width: 700px) {
  .reviews-track { grid-auto-columns: 46%; gap: 24px; }
  .review-card { padding: 28px 24px 12px; }
  .gallery-track { grid-auto-columns: 46%; gap: 24px; }
  .goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .section { padding-block: 76px; }
}
@media (min-width: 1000px) {
  .gallery-track { grid-auto-columns: 39%; margin-top: 40px; }
  .home-training { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
  .home-training-details article:first-child { padding-top: 0; border-top: 0; }
  h2 { font-size: clamp(42px, 4.4vw, 62px); }
  .section { padding-block: 96px; }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 4vw, 64px); padding-block: 40px 64px; }
  .hero-copy { align-self: start; padding-block: 20px; }
  .hero-social { display: flex; width: fit-content; line-height: 24px; }
  .hero-kicker { margin-bottom: 22px; font-size: 15px; }
  .hero h1 { font-size: clamp(56px, 5.6vw, 80px); }
  /* Let the copy set the row height; crop the portrait within that height. */
  .hero-photo { height: auto; min-height: 0; align-self: stretch; }
  .hero-photo img { position: absolute; inset: 0; object-position: 50% 57%; }
  /* Match the last caption line to the centred text in the 44px Instagram link. */
  .hero-manifesto { right: 32px; bottom: 30px; left: 32px; }
  .hero .manifesto-values { line-height: 24px; }
  .manifesto-title { font-size: clamp(42px, 4vw, 60px); }
  .approach, .faq { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 5.5vw, 88px); }
  .goals { display: block; }
  .goals article { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; }
  .goals article:first-child { padding-top: 0; border: 0; }
  .goals p { margin-top: 0; }
  .coach { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 6vw, 88px); }
  .coach-visual { order: 0; }
  .coach-copy { order: 1; }
  .training-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
  .training-top > p { max-width: 32ch; margin-top: 0; padding-bottom: 3px; }
  .training-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(40px, 5vw, 72px); margin-top: 48px; }
  .training-photo { justify-self: end; }
  .locations > .section-heading { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 0 48px; margin-bottom: 36px; }
  .locations > .section-heading .eyebrow { grid-column: 1 / -1; }
  .locations > .section-heading .muted { margin: 0; padding-bottom: 3px; }
  .location-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 36px; padding: 32px; }
  .location-info { order: 0; padding: 0; }
  .location-map { order: 1; border: 1px solid var(--line); }
  .location-map iframe { height: 400px; }
  .location-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
  .location-actions a { align-self: center; }
  .closing h2 { font-size: clamp(60px, 5.8vw, 84px); }
  .closing-bottom { flex-direction: row; justify-content: space-between; align-items: center; gap: 40px; margin-top: 34px; }
  .closing .button { flex: none; align-self: center; }
  .site-footer { padding-top: 60px; }
  .footer-main { grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; }
  .footer-bottom { margin-top: 48px; }
  .analytics-banner { grid-template-columns: minmax(0, 1fr) 290px; align-items: center; gap: 32px; padding: 24px 28px; }
}
@media (min-width: 1200px) {
  .reviews-track { grid-auto-columns: calc((100% - 48px) / 3); }
  .header { position: relative; min-height: 96px; gap: 28px; }
  .header .brand { gap: 10px; }
  .header .brand-mark { width: 68px; height: 68px; }
  #navigation, #navigation.open { position: static; display: flex; flex: 1; justify-content: center; gap: clamp(20px, 2.2vw, 34px); max-height: none; overflow: visible; padding: 0; background: transparent; border: 0; box-shadow: none; }
  #navigation a { font-size: 14px; }
  .header-book { margin-left: 0; padding-inline: 18px; }
  .header-book svg { display: block; }
  .menu-button { display: none; }
}
@media (hover: hover) {
  .review-card:hover { border-color: #8c7770; }
  .contact-links a:hover, .contact-phone:hover, .footer-phone:hover, .booking-phone:hover, .hero-social:hover { text-decoration: underline; text-underline-offset: 5px; }
  .gallery-arrow:not(:disabled):hover { background: #343837; border-color: #aaa9a0; }
  #navigation a:hover { color: #d98c80; }
  .header-book:hover, .menu-button:hover { background: #242626; }
  .primary:hover { background: #b04d44; }
  .light:hover { background: #fff; }
  .footer-nav a:hover, .footer-locations a:hover, .footer-bottom a:hover, .text-button:hover { color: #e6a095; }
  .footer-book:hover, .consent-actions button:not(:disabled):hover { background: #373b38; }
}
@media (max-height: 500px) and (max-width: 1199px) {
  .header { position: relative; }
  dialog { max-height: calc(100dvh - 16px); }
  .dialog-inner { padding-top: 24px; padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
