/* Recovery1 — site styles
   One stylesheet for every page. Tokens live in :root; change colors/type there. */

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

:root {
  --ink: #111213;          /* header, hero, dark bands */
  --ink-2: #1b1c1e;        /* raised surface on dark */
  --paper: #f6f5f3;        /* page ground */
  --surface: #ffffff;      /* form, panels */
  --text: #16171a;
  --muted: #55565b;        /* 6.9:1 on paper */
  --on-ink: #ffffff;
  --on-ink-muted: #bdbab5; /* 9.6:1 on ink */
  --line: #e2e0dc;
  --line-ink: #2c2d30;
  --field-border: #86837d; /* 3.7:1 on white, WCAG 1.4.11 */
  --red: #c80000;          /* brand red, 6.0:1 with white */
  --red-hover: #a30000;
  --red-on-ink: #ff5a4f;   /* red for small text on dark, 6.1:1 */
  --focus: #1f6feb;
  --ok: #1e7a3c;
  --err: #b00020;

  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-hero: clamp(2.25rem, 1.6rem + 3.2vw, 4rem);

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --radius: 10px;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: var(--fs-base); line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.lede { font-size: var(--fs-md); color: var(--muted); max-width: 58ch; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons — one primary action across the site: Book a session */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 500 var(--fs-base)/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: var(--fs-sm); }
.text-link { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--red); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(17, 18, 19, 0.96); color: var(--on-ink); border-bottom: 1px solid var(--line-ink); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(17, 18, 19, 0.86); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: var(--fs-sm); }
.nav a { text-decoration: none; color: var(--on-ink-muted); padding: 6px 0; }
.nav a:hover { color: var(--on-ink); }
.site-header .btn { margin-left: 8px; }
@media (max-width: 900px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .brand img { height: 22px; }
}

/* Hero */
.hero { background: var(--ink); color: var(--on-ink); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { font-size: var(--fs-hero); margin-top: 16px; }
.hero .lede { color: var(--on-ink-muted); margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.hero-note { font-size: var(--fs-sm); color: var(--on-ink-muted); }
.hero figure { margin: 0; position: relative; }
.hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.hero figcaption { margin-top: 12px; font-size: var(--fs-sm); color: var(--on-ink-muted); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero figure img { aspect-ratio: 5 / 4; object-position: 50% 60%; }
}

/* Sections */
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--fs-xl); }

/* Services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.services figure { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.services figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.services figcaption { margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); }
.service-list { display: grid; }
.service { padding-block: 28px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service h3 { font-size: var(--fs-lg); }
.service p { color: var(--muted); max-width: 52ch; }
.service .tag { font-size: var(--fs-sm); font-weight: 500; color: var(--text); }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .services figure { position: static; }
}

/* Who we serve */
.band-white { background: var(--surface); }
.wide-photo { margin: 0 0 clamp(40px, 6vw, 64px); }
.wide-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.wide-photo figcaption { margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); }
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.audiences li { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 2px solid var(--text); }
.audiences h3 { font-size: var(--fs-md); letter-spacing: -0.01em; }
.audiences p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 960px) { .audiences { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .audiences { grid-template-columns: 1fr; gap: 24px; } .wide-photo img { aspect-ratio: 4 / 3; } }

/* About */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about figure { margin: 0; }
.about figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about figcaption { margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); }
.people { display: grid; gap: 28px; margin-top: 32px; }
.person { display: grid; gap: 6px; }
.person h3 { font-size: var(--fs-md); }
.person .role { font-size: var(--fs-sm); font-weight: 500; color: var(--red); }
.person p { color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about figure img { aspect-ratio: 4 / 3; object-position: 50% 25%; } }

/* Events (dark band) */
.events { background: var(--ink); color: var(--on-ink); }
.events .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.events h2 { font-size: var(--fs-xl); }
.events .lede { color: var(--on-ink-muted); margin-top: 16px; }
.hero .eyebrow, .events .eyebrow, .page-head .eyebrow { color: var(--red-on-ink); }
.event-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 28px; font-size: var(--fs-sm); }
.event-list li { padding-left: 18px; position: relative; }
.event-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--red); }
.events figure { margin: 0; }
.events figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.events figcaption { margin-top: 12px; font-size: var(--fs-sm); color: var(--on-ink-muted); }
.events .btn { margin-top: 32px; }
@media (max-width: 860px) { .events .wrap { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .event-list { grid-template-columns: 1fr; } }

/* Book */
.book { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.book h2 { font-size: var(--fs-xl); }
.steps { display: grid; gap: 20px; margin-top: 32px; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: baseline; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--text); font-size: var(--fs-sm); font-weight: 500; }
.steps strong { display: block; font-weight: 500; }
.steps span { color: var(--muted); font-size: 0.95rem; }
.book-aside { margin-top: 32px; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }

/* Form */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 4vw, 40px); display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; /* 16px stops iOS zoom */
  color: var(--text); background: var(--surface); border: 1px solid var(--field-border); border-radius: 8px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2316171a' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.35); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .error { font-size: var(--fs-sm); color: var(--err); min-height: 0; }
.field .error:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form-foot small { color: var(--muted); font-size: 0.8125rem; max-width: 40ch; }
.form-status { font-size: var(--fs-sm); }
.form-status[data-state="error"] { color: var(--err); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: var(--fs-sm); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 56px 32px; }
.site-footer img { height: 22px; width: auto; }
.site-footer p { margin-top: 16px; max-width: 34ch; }
.site-footer h2 { font-size: var(--fs-sm); color: var(--on-ink); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a, .site-footer .linklike { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover, .site-footer .linklike:hover { color: var(--on-ink); text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.footer-base { grid-column: 1 / -1; border-top: 1px solid var(--line-ink); padding-top: 24px; margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }

/* Cookie consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 520px; margin-inline: auto; background: var(--ink); color: var(--on-ink); border: 1px solid var(--line-ink); border-radius: 14px; padding: 20px; display: grid; gap: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .28); font-size: var(--fs-sm); }
.consent p { color: var(--on-ink-muted); }
.consent a { color: var(--on-ink); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost { background: transparent; color: var(--on-ink); border: 1px solid #55575c; }
.btn-ghost:hover { border-color: var(--on-ink); }

/* Legal + utility pages */
.page-head { background: var(--ink); color: var(--on-ink); }
.page-head .wrap { padding-block: clamp(48px, 7vw, 88px); display: grid; gap: 12px; }
.page-head h1 { font-size: var(--fs-xl); }
.page-head p { color: var(--on-ink-muted); }
.prose { max-width: 70ch; padding-block: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: var(--fs-lg); margin-top: 40px; margin-bottom: 12px; }
.prose p, .prose ul { margin-bottom: 14px; color: #2c2d31; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--red); }
.center-page { min-height: 56vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.center-page .wrap { display: grid; gap: 16px; justify-items: center; }
.center-page h1 { font-size: var(--fs-xl); }
.center-page p { color: var(--muted); max-width: 46ch; }
.center-page .big-num { font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; line-height: 1; color: var(--red); letter-spacing: -0.04em; }
.consent-title { color: var(--on-ink) !important; font-weight: 500; }
.about h2 { font-size: var(--fs-xl); }
.book .lede { margin-top: 16px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: grid; gap: 16px; align-content: start; background: var(--paper); }
.price-card h3 { font-size: var(--fs-md); letter-spacing: -0.01em; }
.price-list { margin: 0; display: grid; gap: 12px; }
.price-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.price-list dt { color: var(--muted); }
.price-list dd { margin: 0; font-size: var(--fs-lg); font-weight: 700; font-variant-numeric: tabular-nums; }
.price-note { display: block; font-size: 0.8125rem; color: var(--red); font-weight: 500; }
.price-foot { margin-top: 28px; color: var(--muted); }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; gap: 16px; } .price-card { padding: 22px; } }

/* Address + focus areas */
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.fieldset legend { font-size: var(--fs-sm); font-weight: 500; padding: 0; margin-bottom: 2px; }
.fieldset .hint { font-size: var(--fs-sm); color: var(--muted); margin-top: -8px; }
.form-row-3 { grid-template-columns: 1.4fr 1fr 0.8fr; }
@media (max-width: 560px) { .form-row-3 { grid-template-columns: 1fr; } }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--field-border); border-radius: 8px; font-size: 0.95rem; cursor: pointer; background: var(--surface); }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.check:has(input:checked) { border-color: var(--text); background: var(--paper); }
.check:focus-within { box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.35); }
.book-online { margin-top: 24px; }

/* Conditional form sections */
.cond { display: grid; gap: 20px; padding: 18px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.cond[hidden] { display: none !important; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--field-border); border-radius: 8px; background: var(--surface); cursor: pointer; font-size: 0.95rem; line-height: 1.5; }
.choice input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.choice strong { display: block; font-weight: 500; }
.choice span { color: var(--muted); }
.choice strong { color: var(--text); }
.choice:has(input:checked) { border-color: var(--text); }

/* Packages & memberships */
.subhead { font-size: var(--fs-lg); margin-top: clamp(48px, 7vw, 72px); }
.sublede { color: var(--muted); margin-top: 10px; margin-bottom: 24px; max-width: 62ch; }
.plans .price-card { gap: 8px; }
.plan-kind { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.plan-price { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; margin-top: 4px; }
.plan-price span { font-size: var(--fs-sm); font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-desc { color: var(--muted); font-size: 0.95rem; }
.price-card.featured { border-color: var(--text); background: var(--surface); }

/* Events: two ways */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.ways > div { border: 1px solid var(--line-ink); border-radius: 10px; padding: 16px; }
.ways h3 { font-size: var(--fs-base); color: var(--on-ink); margin-bottom: 6px; }
.ways p { font-size: var(--fs-sm); color: var(--on-ink-muted); }
@media (max-width: 520px) { .ways { grid-template-columns: 1fr; } }
.about-lede { color: var(--muted); margin-top: 14px; max-width: 58ch; }

.plans-2 { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
@media (max-width: 860px) { .plans-2 { grid-template-columns: 1fr; } }
.way-price { font-size: var(--fs-lg) !important; font-weight: 700; color: var(--on-ink) !important; margin-top: 10px; letter-spacing: -0.01em; }
.way-price span { font-size: var(--fs-sm); font-weight: 400; color: var(--on-ink-muted); }
.way-note { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-ink); }
