/* =========================================================================
   Lorena Chiropractic - shared stylesheet
   "Grounded & Premium": warm cream, charcoal-brown, sage, brass.
   Single source of truth. All pages compose documented component classes.
   No frameworks. No icon fonts. Hand-rolled SVG line icons in currentColor.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette */
  --canvas: #F6F1E7;       /* warm cream page background */
  --surface: #FCFAF3;      /* lighter cream for cards/raised surfaces */
  --surface-2: #EDE4D3;    /* subtle warm panel */
  --anchor: #211C18;       /* charcoal-brown: primary text */
  --ink-on-dark: #F4EEE3;  /* cream text on dark bands */
  --sage: #93A68C;         /* support/secondary, calm + healing */
  --sage-deep: #6E8068;    /* sage hover/detail */
  --brass: #C99A4B;        /* primary CTA color + key accents ONLY */
  --brass-deep: #B0843A;   /* brass hover */
  --brass-btn: #D1A966;    /* slightly lighter gold, oval button fill only */
  --navy: #23375A;         /* headings + dark button fill + dark band background */
  --navy-deep: #16223E;    /* dark button hover */
  --navy-soft: #2A4066;    /* soft dark band background (slightly lighter than navy) */
  --navy-light: #3F577D;   /* boxes sitting on top of navy backgrounds, to stand out */
  --line: rgba(33, 28, 24, 0.14); /* hairline rules */
  --muted: #6B6157;        /* muted/secondary body text */

  /* On-dark helpers */
  --line-on-dark: rgba(244, 238, 227, 0.16);
  --muted-on-dark: rgba(244, 238, 227, 0.74);

  /* Type families */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", Helvetica, Arial, sans-serif;

  /* Fluid type scale (clamp) */
  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --fs-small: clamp(0.85rem, 0.82rem + 0.2vw, 0.92rem);
  --fs-body: clamp(1rem, 0.96rem + 0.3vw, 1.1rem);
  --fs-lead: clamp(1.12rem, 1.02rem + 0.6vw, 1.35rem);
  --fs-h4: clamp(1.18rem, 1.08rem + 0.5vw, 1.4rem);
  --fs-h3: clamp(1.45rem, 1.2rem + 1.1vw, 1.95rem);
  --fs-h2: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --fs-h1: clamp(2.5rem, 1.85rem + 3.3vw, 4.6rem);
  --fs-display: clamp(3rem, 2rem + 5vw, 6rem);

  /* Spacing + shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(33, 28, 24, 0.08);
  --shadow-lift: 0 24px 56px rgba(33, 28, 24, 0.12);
  --shadow-inset-line: inset 0 0 0 1px var(--line);

  --container: 1180px;
  --container-narrow: 880px;
  --gutter: clamp(1.15rem, 0.7rem + 2vw, 2.4rem);
  --section-y: clamp(3.5rem, 2.2rem + 5vw, 6.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.55s;
}

/* ---------- 2. Reset + base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* clears sticky header on anchor jumps */
}

body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--anchor);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle warm grain overlay on the canvas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Keep real content above the grain layer */
.site-header,
main,
.site-footer,
.mobile-menu,
.mobile-bar { position: relative; z-index: 1; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--navy);
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: var(--fs-h4); line-height: 1.2; font-weight: 600; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.4rem; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.section--flush-top { padding-top: 0; }

/* Dark feature bands - the premium high-contrast moments */
.band-dark {
  background-color: var(--navy);
  color: var(--ink-on-dark);
}
.band-dark.band-dark--soft { background-color: var(--navy-soft); }
.band-dark h1,
.band-dark h2,
.band-dark h3,
.band-dark h4 { color: var(--ink-on-dark); }
.band-surface { background-color: var(--surface); }
.band-surface-2 { background-color: var(--surface-2); }

/* Hairline divider */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.skip-link {
  position: absolute;
  left: 50%;
  top: -120%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--navy);
  color: var(--ink-on-dark);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-small);
}
.skip-link:focus { top: 0.6rem; }

/* Visually hidden but available to assistive tech */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 4. Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage-deep);
  margin: 0 0 1.1rem;
}
.band-dark .eyebrow { color: var(--brass); }
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brass);
  border-radius: 2px;
  flex: none;
}
.eyebrow--center { justify-content: center; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}
.band-dark .lead { color: var(--muted-on-dark); }

.muted { color: var(--muted); }
.band-dark .muted { color: var(--muted-on-dark); }

.measure { max-width: 62ch; }
.text-center { text-align: center; }
.center-block { margin-inline: auto; }

/* Brass underline accent under select headings */
.accent-underline {
  background-image: linear-gradient(var(--brass), var(--brass));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 4px;
  padding-bottom: 2px;
}

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
  text-align: center;
  line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; flex: none; }

/* Primary = brass fill, deep ink label for AA contrast */
.btn--primary {
  background: var(--brass-btn);
  color: var(--anchor);
  border-color: var(--brass-btn);
  box-shadow: 0 10px 24px rgba(209, 169, 102, 0.28);
}
.btn--primary:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
  box-shadow: 0 16px 32px rgba(176, 132, 58, 0.34);
}

/* Dark = charcoal fill, cream label (for use on cream surfaces) */
.btn--dark {
  background: var(--navy);
  color: var(--ink-on-dark);
  border-color: var(--navy);
}
.btn--dark:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

/* Ghost = outline; adapts to light or dark context via currentColor */
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(35, 55, 90, 0.04); }
.band-dark .btn--ghost {
  color: var(--ink-on-dark);
  border-color: var(--line-on-dark);
}
.band-dark .btn--ghost:hover {
  border-color: var(--ink-on-dark);
  background: rgba(244, 238, 227, 0.08);
}

.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding: 1rem 2rem; font-size: var(--fs-body); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 238, 227, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.site-header.is-condensed {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(33, 28, 24, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 140px;
  transition: min-height 0.3s var(--ease);
}
.site-header.is-condensed .header-inner { min-height: 100px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { width: auto; height: 128px; }
.site-header.is-condensed .brand img { height: 88px; }

.primary-nav { display: none; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.4rem + 1.4vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--navy);
  padding: 0.4rem 0;
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.28s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { width: 100%; }
.primary-nav a[aria-current="page"] { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 0.85rem; }

.header-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--anchor);
  white-space: nowrap;
}
.header-phone .ico { width: 17px; height: 17px; color: var(--sage-deep); }
.header-phone:hover { color: var(--brass-deep); }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--anchor);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

/* ---------- 7. Mobile menu (full-screen warm) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  padding: 1.1rem var(--gutter) 2rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.42s var(--ease), visibility 0.42s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.mobile-menu__close {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--anchor);
}
.mobile-menu__close .ico { width: 22px; height: 22px; }
.mobile-menu nav { margin-top: 1.5rem; }
.mobile-menu nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu nav li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-menu nav a {
  display: block;
  padding: 1.1rem 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem);
  font-weight: 400;
  color: var(--navy);
}
.mobile-menu nav a:hover { color: var(--brass-deep); }
.mobile-menu__footer { margin-top: auto; padding-top: 1.8rem; }
.mobile-menu__footer .btn { width: 100%; margin-bottom: 0.7rem; }
.mobile-menu__meta {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ---------- 8. Persistent mobile bottom action bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(33, 28, 24, 0.08);
  padding: 0.5rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  gap: 0.5rem;
}
.mobile-bar .btn { flex: 1; min-height: 50px; padding: 0.7rem 0.5rem; }

/* ---------- 9. Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  height: 100%;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}
.card__icon .ico { width: 26px; height: 26px; }
.card h3, .card h4 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: var(--fs-small); }

/* Grids */
.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.4vw, 1.6rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }

/* ---------- 10. Photo + media placeholders ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(147, 166, 140, 0.28), transparent 60%),
    linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  min-height: 260px;
  color: var(--muted);
}
.ph::after { /* faint brand watermark texture corner */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M0 8 L8 0' stroke='%23211C18' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ph__caption {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--muted);
  background: linear-gradient(transparent, rgba(251, 247, 239, 0.85) 40%);
}
.ph__tag {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--sage-deep);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
}
.ph__tag .ico { width: 14px; height: 14px; }
.ph--tall { min-height: 420px; }
.ph--portrait { min-height: 480px; aspect-ratio: 4 / 5; }
.ph--wide { min-height: 220px; }

/* Video placeholder: poster-first, play button over a .ph */
.video-ph { min-height: 340px; align-items: center; justify-content: center; cursor: default; }
.video-ph__play {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--anchor);
  box-shadow: 0 14px 30px rgba(33, 28, 24, 0.22);
  margin: auto;
}
.video-ph__play .ico { width: 30px; height: 30px; margin-left: 3px; }
.video-ph .ph__caption { text-align: center; font-style: normal; }

/* Real photos (replace .ph placeholders once images exist) */
.photo {
  position: relative;
  display: block;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 2;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo--tall { aspect-ratio: 4 / 5; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--soft { box-shadow: var(--shadow-lift); }
/* Optional caption strip, mirrors .ph__caption but for real photos */
.photo__caption {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 1.4rem 1rem 0.85rem;
  font-size: var(--fs-small);
  color: var(--ink-on-dark);
  background: linear-gradient(transparent, rgba(33, 28, 24, 0.55));
}

/* ---------- 11. Hero ---------- */
.hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
.hero__copy { max-width: 40rem; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.8rem; max-width: 48ch; }
.hero .btn-row { margin-bottom: 1.5rem; }

.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  font-size: var(--fs-small);
  color: var(--muted);
  font-weight: 500;
}
.trust-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust-item .ico { width: 15px; height: 15px; color: var(--brass); flex: none; }
@media (max-width: 600px) {
  .trust-line { flex-direction: column; align-items: flex-start; gap: 0.55rem; }
}

/* Large low-opacity brand watermark */
.watermark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  color: var(--anchor);
}
.band-dark .watermark { opacity: 0.06; color: var(--brass); }
.watermark--hero {
  width: clamp(280px, 40vw, 560px);
  top: -8%;
  right: -6%;
}
.watermark svg { width: 100%; height: auto; }

/* ---------- 12. Offer band ---------- */
.offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.1rem + 2vw, 2.8rem);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.offer::before { /* brass corner accent */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--brass);
}
.offer__price {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  font-size: clamp(3rem, 2rem + 4vw, 4.5rem);
  color: var(--anchor);
}
.offer__price .currency { font-size: 0.5em; vertical-align: top; color: var(--brass-deep); }
.offer__was { font-size: var(--fs-small); color: var(--muted); }
.offer__was s { color: var(--muted); }
.offer__list { list-style: none; padding: 0; margin: 1.2rem 0; }
.offer__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: var(--fs-small);
}
.offer__list .ico { width: 18px; height: 18px; color: var(--sage-deep); margin-top: 3px; flex: none; }
.offer__trust {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--muted);
}
.offer__scarcity {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}
.offer__scarcity .ico { width: 16px; height: 16px; }

/* ---------- 13. Pain-point split ---------- */
.pain-split { display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 1rem + 2vw, 2.4rem); align-items: stretch; }
.pain-cols { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.pain-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 1rem + 1vw, 1.8rem);
}
.pain-col h4 { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1rem; }
.pain-col h4 .ico { width: 22px; height: 22px; }
.pain-col--felt h4 .ico { color: var(--muted); }
.pain-col--after h4 .ico { color: var(--sage-deep); }
.pain-list { list-style: none; padding: 0; margin: 0; }
.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--muted);
}
.pain-list li:last-child { border-bottom: 0; }
.pain-list .ico { width: 17px; height: 17px; margin-top: 3px; flex: none; }
.pain-col--after .pain-list li { color: var(--anchor); }
.pain-col--after .pain-list .ico { color: var(--sage-deep); }

/* ---------- 14. "You Set the Pace" signature (dark) ---------- */
.pace { position: relative; overflow: hidden; }
.pace__head { max-width: 56ch; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem); }
.pace__grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.pace-option {
  background: var(--navy-light);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              background-color 0.35s var(--ease);
}
.pace-option:hover {
  transform: translateY(-5px);
  border-color: var(--brass);
}
.pace-option__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.pace-option__tag .ico { width: 18px; height: 18px; }
.pace-option h3 { color: var(--ink-on-dark); margin-bottom: 0.6rem; }
.pace-option p { color: var(--muted-on-dark); font-size: var(--fs-small); }
.pace__note {
  margin-top: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  padding: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  border-left: 3px solid var(--brass);
  background: var(--navy-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-on-dark);
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 70ch;
}
.watermark--pace { width: clamp(300px, 38vw, 520px); bottom: -14%; left: -5%; top: auto; right: auto; }

/* ---------- 15. Conditions grid ---------- */
.cond-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.cond-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 1rem + 1vw, 1.7rem);
  box-shadow: var(--shadow-soft);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.cond-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--sage); }
.cond-card__icon { color: var(--sage-deep); margin-bottom: 0.9rem; }
.cond-card__icon .ico { width: 28px; height: 28px; }
.cond-card h4 { margin-bottom: 0.45rem; }
.cond-card p { color: var(--muted); font-size: var(--fs-small); margin-bottom: 1rem; }
.cond-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--brass-deep);
}
.cond-card__link .ico { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.cond-card:hover .cond-card__link .ico { transform: translateX(4px); }

/* ---------- 16. Stat band ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 1rem + 2vw, 2.6rem); }
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  font-size: clamp(2.6rem, 1.8rem + 3.5vw, 4.2rem);
  color: var(--brass);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.stat__num .suffix { font-size: 0.6em; }
.stat__label {
  font-size: var(--fs-small);
  color: var(--muted-on-dark);
  font-weight: 500;
  max-width: 22ch;
  margin-inline: auto;
}

/* ---------- 17. Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.review-card__stars { display: inline-flex; gap: 3px; color: var(--brass); margin-bottom: 0.9rem; }
.review-card__stars .ico { width: 18px; height: 18px; }
.review-card blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.4;
  color: var(--anchor);
}
.review-card__person { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.review-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  flex: none;
  border: 1px solid var(--line);
}
.review-card__name { font-weight: 600; font-size: var(--fs-small); }
.review-card__meta { font-size: 0.8rem; color: var(--muted); }
.sample-tag {
  align-self: flex-start;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px dashed var(--line);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}

/* Founder trust interim panel */
.founder-trust {
  background: var(--navy);
  color: var(--ink-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
}
.founder-trust h3 { color: var(--ink-on-dark); }
.founder-trust p { color: var(--muted-on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-small);
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-on-dark);
  background: var(--navy-light);
  color: var(--ink-on-dark);
}
.chip .ico { width: 16px; height: 16px; color: var(--brass); }
/* Chip on light surface */
.chips--light .chip {
  border-color: var(--line);
  background: var(--surface);
  color: var(--anchor);
}
.chips--light .chip .ico { color: var(--sage-deep); }

/* ---------- 18. How it works ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.4rem; counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
  box-shadow: var(--shadow-soft);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--anchor);
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}
.step__num::before { counter-increment: step; content: counter(step); }
.step h4 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: var(--fs-small); }

/* ---------- 19. FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 1.3rem 0.2rem;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--anchor);
  line-height: 1.3;
}
.faq-trigger:hover { color: var(--brass-deep); }
.faq-trigger .faq-icon {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
  color: var(--sage-deep);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::before { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.faq-panel__inner { padding: 0 0.2rem 1.4rem; color: var(--muted); max-width: 70ch; }

/* ---------- 20. Location & visit ---------- */
.location-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 1rem + 2vw, 2.4rem); align-items: start; }
.map-ph {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(147, 166, 140, 0.18), transparent 55%),
    var(--surface-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.map-ph__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.55;
  pointer-events: none;
}
.map-ph__pin {
  position: absolute;
  top: 42%; left: 48%;
  transform: translate(-50%, -100%);
  color: var(--brass-deep);
}
.map-ph__pin .ico { width: 40px; height: 40px; filter: drop-shadow(0 6px 10px rgba(33,28,24,0.18)); }
.map-ph__card {
  position: relative;
  z-index: 1;
  margin: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
}
.map-ph__card .addr { font-weight: 600; font-size: var(--fs-small); margin-bottom: 0.6rem; }

.visit-info { display: grid; gap: 1.2rem; }
.info-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 1rem + 1vw, 1.7rem);
  box-shadow: var(--shadow-soft);
}
.info-block h4 { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.9rem; }
.info-block h4 .ico { width: 20px; height: 20px; color: var(--sage-deep); }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  column-gap: 0.75rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: var(--muted); }
.hours-list .closed { color: var(--muted); }
.contact-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  margin-bottom: 0.7rem;
  font-weight: 500;
}
.contact-line .ico { width: 18px; height: 18px; color: var(--sage-deep); flex: none; }
.contact-line a:hover { color: var(--brass-deep); }
.parking-note { font-size: var(--fs-small); color: var(--muted); margin-top: 0.4rem; }

/* Location 2x2 equal grid (homepage + contact): map, hours, contact, photo */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: clamp(1rem, 0.6rem + 1.4vw, 1.6rem);
}
.loc-cell { min-height: 300px; border-radius: var(--radius-lg); overflow: hidden; }
.loc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.loc-card__title { display: flex; align-items: center; gap: 0.55rem; font-size: var(--fs-h4); margin: 0 0 0.5rem; }
.loc-card__title .ico { width: 20px; height: 20px; color: var(--sage-deep); flex: none; }
.loc-card .addr { font-weight: 600; margin: 0; }
.loc-card .hours-list { margin-top: 0.2rem; }
.loc-card .btn { margin-top: auto; }
.loc-cell--map { position: relative; border: 1px solid var(--line); background: var(--surface-2); }
.loc-map { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.loc-card--photo { padding: 0; border: 1px solid var(--line); }
.loc-card--photo img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
@media (max-width: 720px) {
  .loc-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .loc-cell, .loc-map, .loc-card--photo img { min-height: 230px; }
  /* center card content + icons on mobile */
  .loc-card { text-align: center; align-items: center; }
  .loc-card__title { justify-content: center; }
  .loc-card .contact-line { justify-content: center; }
  .loc-card .hours-list { width: 100%; }
  .loc-card .btn { width: 100%; }
}

/* ---------- 21. CTA band ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band__inner { max-width: 720px; margin-inline: auto; position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .lead { margin: 0 auto 1.8rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- 22. Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--ink-on-dark);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 128px; width: auto; margin-bottom: 1rem; background: #fff; padding: 0.55rem 0.85rem; border-radius: 12px; box-sizing: content-box; }
.footer-brand p { color: var(--muted-on-dark); font-size: var(--fs-small); max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--brass);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a, .footer-col address {
  color: var(--muted-on-dark);
  font-size: var(--fs-small);
  font-style: normal;
  line-height: 1.7;
}
.footer-col a:hover { color: var(--ink-on-dark); }
.footer-disclaimer {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 1.8rem;
  font-size: 0.8rem;
  color: var(--muted-on-dark);
  line-height: 1.6;
  max-width: 80ch;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.8rem;
  color: var(--muted-on-dark);
}
.footer-credential {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-credential .ico { width: 15px; height: 15px; color: var(--brass); }

/* ---------- 23. Scroll reveal + motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Orchestrated hero page-load reveal (staggered) */
.hero-anim > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.8s var(--ease) forwards;
}
.hero-anim > *:nth-child(1) { animation-delay: 0.05s; }
.hero-anim > *:nth-child(2) { animation-delay: 0.15s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.25s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.35s; }
.hero-anim > *:nth-child(5) { animation-delay: 0.45s; }
.hero-anim > *:nth-child(6) { animation-delay: 0.55s; }
.hero__media { opacity: 0; animation: heroMedia 1s var(--ease) 0.3s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes heroMedia { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }

/* ---------- 24. Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 1.6rem; }
.flow > * + * { margin-top: 1rem; }
.pill-divider {
  display: inline-block;
  width: 48px; height: 3px;
  background: var(--brass);
  border-radius: 3px;
  margin-bottom: 1.2rem;
}

/* ---------- 25. Responsive ---------- */
@media (min-width: 560px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .pain-cols { grid-template-columns: 1fr 1fr; }
  .pace__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .offer { grid-template-columns: 0.9fr 1.1fr; }
}

@media (min-width: 920px) {
  .primary-nav { display: block; }
  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .cond-grid { grid-template-columns: repeat(4, 1fr); }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .pain-split { grid-template-columns: 0.85fr 1.15fr; }
  .location-grid { grid-template-columns: 1.1fr 0.9fr; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* Mobile bottom bar + spacing only on small screens */
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* ---------- 26. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-anim > *, .hero__media { opacity: 1; transform: none; animation: none; }
  .btn:hover, .card--hover:hover, .cond-card:hover,
  .pace-option:hover, .review-card:hover { transform: none; }
}

/* ---- Wellness plan cards (homepage teaser + services page) ---- */
.plan-price {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--anchor);
  margin: 0.4rem 0 0.7rem;
}
.plan-price .currency { color: var(--brass); font-size: 0.6em; vertical-align: 0.5em; margin-right: 0.04em; }
.plan-price__note { display: inline-block; font-family: "Hanken Grotesk", sans-serif; font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-left: 0.4rem; }
.card--feature { position: relative; outline: 2px solid var(--brass); outline-offset: -2px; }
.card--feature .eyebrow { color: var(--brass); }

/* ---- Jane booking launch panel (book.html) ---- */
.jane-launch {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem);
}
.jane-launch__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; margin-bottom: 0.4rem;
  border-radius: 50%;
  background: var(--surface-2); color: var(--sage-deep);
}
.jane-launch__icon .ico { width: 28px; height: 28px; }
.jane-launch .btn { margin-top: 0.4rem; }
.jane-launch__note { margin-top: 0.9rem; font-size: var(--fs-small); color: var(--muted); }

/* ---- Forms (Netlify contact form; on-brand fields) ---- */
.form { display: grid; gap: 1.1rem; }
.form__field { display: grid; gap: 0.4rem; }
.form__label { font-size: var(--fs-small); font-weight: 600; color: var(--anchor); }
.form__label .req { color: var(--brass-deep); }
.form__hint { font-size: var(--fs-small); color: var(--muted); }
.form__control {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--anchor);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea.form__control { min-height: 130px; resize: vertical; line-height: 1.5; }
select.form__control { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form__control::placeholder { color: var(--muted); opacity: 0.85; }
.form__control:hover { border-color: var(--sage); }
.form__control:focus-visible {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(201, 154, 75, 0.22);
}
.form__note { font-size: var(--fs-small); color: var(--muted); margin: 0.2rem 0 0; }
