/* ============================================================
   BOURNE BODYWORKS — Core Stylesheet
   Sports massage, recovery & craniosacral therapy for active people
   Roaring Fork Valley, Colorado
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  /* Palette */
  --slate:        #1B2A33;   /* deep grounding blue-slate */
  --slate-soft:   #2C3E48;
  --stone:        #E8E2D6;   /* warm stone */
  --sage:         #7A8B6F;   /* living sage */
  --sage-deep:    #5C6B52;
  --copper:       #B07B49;   /* copper accent */
  --copper-soft:  #C9986A;
  --bone:         #FAF8F3;   /* bone white background */
  --ink:          #20272B;   /* near-black text */
  --muted:        #5A6660;   /* muted text */
  --line:         #DAD3C5;   /* hairline */

  /* Typography */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale (fluid) */
  --step--1: clamp(0.83rem, 0.78rem + 0.2vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --step-1:  clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --step-2:  clamp(1.6rem, 1.35rem + 1.1vw, 2.4rem);
  --step-3:  clamp(2.1rem, 1.6rem + 2.2vw, 3.6rem);
  --step-4:  clamp(2.8rem, 1.9rem + 4vw, 5.5rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --maxw: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--slate);
  overflow-wrap: break-word; /* guard: never let a long token force horizontal overflow */
}

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.section { padding-block: var(--space-xl); }
.section--tight { padding-block: var(--space-lg); }

.eyebrow {
  font-family: var(--body);
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;     /* long eyebrows wrap instead of forcing horizontal overflow */
  max-width: 100%;
}
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--copper);
  display: inline-block;
}

/* ---- Skip link (a11y) ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--slate);
  color: var(--bone);
  padding: 0.75rem 1.25rem;
  z-index: 2000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---- Focus visibility (a11y) ---- */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 1.1rem;
}
.brand {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
}
.brand__mark { width: 26px; height: 26px; flex: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.2rem);
  list-style: none;
}
.nav__links a {
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--slate);
  font-weight: 500;
  position: relative;
  padding-block: 0.25rem;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--copper);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--slate);
  background: var(--slate);
  color: var(--bone);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(27,42,51,0.5); }
.btn--ghost { background: transparent; color: var(--slate); }
.btn--ghost:hover { background: var(--slate); color: var(--bone); }
.btn--copper { background: var(--copper); border-color: var(--copper); }
.btn--copper:hover { background: var(--copper-soft); border-color: var(--copper-soft); }
.btn--lg { padding: 1.05rem 2rem; font-size: var(--step-0); }
.btn--block { width: 100%; }

/* mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  width: 26px; height: 2px; background: var(--slate);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    background: var(--bone);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: var(--space-lg) var(--space-md);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(27,42,51,0.4);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: var(--step-1); font-family: var(--display); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-soft) 60%, #34474F 100%);
  color: var(--bone);
}
.hero__bg {
  position: absolute; inset: 0;
  object-fit: cover; width: 100%; height: 100%;
  opacity: 0.34;
  filter: grayscale(20%);
}
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(27,42,51,0.92) 0%, rgba(27,42,51,0.55) 55%, rgba(27,42,51,0.2) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__inner { max-width: 760px; }
.hero h1 {
  color: var(--bone);
  font-size: var(--step-4);
  font-weight: 300;
  margin-block: 1.2rem 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--copper-soft); }
.hero__lede {
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(250,248,243,0.86);
  max-width: 56ch;
  margin-bottom: 2.2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero .eyebrow { color: var(--copper-soft); }
.hero .eyebrow::before { background: var(--copper-soft); }

.hero__trust {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  align-items: center;
  font-size: var(--step--1);
  color: rgba(250,248,243,0.75);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trust svg { width: 18px; height: 18px; color: var(--copper-soft); flex: none; }

/* The signature copper "spine" line motif (echoes spine, trail & river) */
.spine {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--copper) 12%, var(--copper) 88%, transparent);
  opacity: 0.22;
  z-index: 1;
  pointer-events: none;
}
.spine::before, .spine::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--copper);
}
.spine::before { top: 18%; }
.spine::after { bottom: 18%; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head { max-width: 680px; margin-bottom: var(--space-lg); }
.section-head h2 { font-size: var(--step-3); margin-top: 1rem; font-weight: 300; }
.section-head p { margin-top: 1.1rem; color: var(--muted); font-size: var(--step-1); font-weight: 300; line-height: 1.55; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ============================================================
   PHILOSOPHY / LONGEVITY band
   ============================================================ */
.philosophy { background: var(--stone); position: relative; overflow: hidden; }
.philosophy__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.philosophy__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sage-deep);
}
.philosophy__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.philosophy blockquote {
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.3;
  color: var(--slate);
  margin-bottom: 1.6rem;
}
.philosophy blockquote em { color: var(--copper); font-style: italic; }
.philosophy p { color: var(--muted); margin-bottom: 1.1rem; max-width: 52ch; }

@media (max-width: 800px) {
  .philosophy__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .philosophy__media { aspect-ratio: 16 / 11; order: -1; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--copper);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -28px rgba(27,42,51,0.35);
  border-color: var(--copper-soft);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon {
  width: 48px; height: 48px; color: var(--sage-deep);
  margin-bottom: 1.4rem;
}
.service-card h3 { font-size: var(--step-1); margin-bottom: 0.7rem; }
.service-card p { color: var(--muted); font-size: var(--step-0); margin-bottom: 1.4rem; flex-grow: 1; }
.service-card__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: var(--step--1);
}
.service-card__price { font-family: var(--display); font-size: var(--step-1); color: var(--slate); }
.service-card__dur { color: var(--muted); }
.service-card__link {
  margin-top: 1.4rem;
  font-weight: 600; font-size: var(--step--1);
  color: var(--copper);
  letter-spacing: 0.03em;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.service-card__link svg { width: 15px; transition: transform 0.3s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ============================================================
   PROCESS / JOURNEY (numbered — a real sequence)
   ============================================================ */
.journey { background: var(--slate); color: var(--bone); }
.journey h2, .journey .section-head h2 { color: var(--bone); }
.journey .section-head p { color: rgba(250,248,243,0.7); }
.journey__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem 2rem;
}
.journey__step { position: relative; padding-top: 2.5rem; }
.journey__step::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 1px;
  background: rgba(176,123,73,0.45);
}
.journey__num {
  font-family: var(--display);
  font-size: var(--step-2);
  color: var(--copper-soft);
  font-weight: 300;
  display: block;
  margin-bottom: 0.6rem;
}
.journey__step h3 { color: var(--bone); font-size: var(--step-1); margin-bottom: 0.6rem; }
.journey__step p { color: rgba(250,248,243,0.72); font-size: var(--step-0); }

/* ============================================================
   STATS / CREDIBILITY
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat__num {
  font-family: var(--display);
  font-size: var(--step-3);
  color: var(--copper);
  font-weight: 300;
  display: block;
  line-height: 1;
}
.stat__label { color: var(--muted); font-size: var(--step--1); letter-spacing: 0.04em; margin-top: 0.6rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--stone); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--bone);
  border-radius: var(--radius);
  padding: 2.2rem;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.testimonial__stars { color: var(--copper); letter-spacing: 0.15em; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial p {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.4;
  color: var(--slate);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}
.testimonial__who { font-size: var(--step--1); color: var(--muted); }
.testimonial__who strong { color: var(--slate); display: block; font-weight: 600; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: linear-gradient(150deg, var(--sage-deep), var(--sage));
  color: var(--bone);
  text-align: center;
}
.cta-band h2 { color: var(--bone); font-size: var(--step-3); font-weight: 300; max-width: 18ch; margin: 0 auto 1.2rem; }
.cta-band p { color: rgba(250,248,243,0.9); max-width: 52ch; margin: 0 auto 2rem; font-size: var(--step-1); font-weight: 300; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--slate);
  color: rgba(250,248,243,0.78);
  padding-block: var(--space-lg) var(--space-md);
  font-size: var(--step--1);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.footer__brand { font-family: var(--display); font-size: 1.5rem; color: var(--bone); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.footer__brand .brand__mark { width: 28px; height: 28px; }
.footer p { max-width: 36ch; line-height: 1.6; }
.footer h4 { color: var(--bone); font-family: var(--body); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; }
.footer a:hover { color: var(--copper-soft); }
.footer__bottom {
  border-top: 1px solid rgba(250,248,243,0.12);
  padding-top: var(--space-md);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.8rem;
  color: rgba(250,248,243,0.55);
}
.footer__bottom a:hover { color: var(--copper-soft); }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--slate), var(--slate-soft));
  color: var(--bone);
  padding-block: calc(var(--space-xl) + 1rem) var(--space-lg);
  position: relative; overflow: hidden;
}
.page-hero .eyebrow { color: var(--copper-soft); }
.page-hero .eyebrow::before { background: var(--copper-soft); }
.page-hero h1 { color: var(--bone); font-size: var(--step-3); font-weight: 300; margin-top: 1rem; max-width: 18ch; }
.page-hero p { color: rgba(250,248,243,0.82); font-size: var(--step-1); font-weight: 300; margin-top: 1.2rem; max-width: 58ch; }

/* breadcrumbs */
.crumbs { font-size: var(--step--1); color: rgba(250,248,243,0.6); margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--copper-soft); }
.crumbs span { margin-inline: 0.5rem; }

/* ============================================================
   PROSE (article bodies / SEO content)
   ============================================================ */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.6rem; margin-bottom: 1rem; font-weight: 300; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; margin-bottom: 0.8rem; }
.prose p { margin-bottom: 1.2rem; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.4rem 1.2rem; }
.prose li { margin-bottom: 0.6rem; padding-left: 0.3rem; }
.prose li::marker { color: var(--copper); }
.prose a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--sage-deep); }
.prose strong { color: var(--slate); }

/* ============================================================
   FAQ (accordion — boosts AEO via FAQPage schema)
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 400;
  color: var(--slate);
  padding: 1.5rem 3rem 1.5rem 0;
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__q::after {
  content: "+";
  font-family: var(--body);
  font-size: 1.5rem;
  color: var(--copper);
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__a-inner { padding-bottom: 1.6rem; color: var(--muted); max-width: 68ch; }

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  background: var(--bone);
  display: flex; flex-direction: column;
  position: relative;
}
.price-card--featured {
  border-color: var(--copper);
  box-shadow: 0 24px 60px -36px rgba(176,123,73,0.6);
}
.price-card--featured::before {
  content: "Most Chosen";
  position: absolute; top: -0.8rem; left: 2rem;
  background: var(--copper); color: var(--bone);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  padding: 0.35rem 0.9rem; border-radius: 100px;
}
.price-card h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.price-card__price { font-family: var(--display); font-size: var(--step-3); color: var(--slate); font-weight: 300; line-height: 1; margin: 1rem 0; }
.price-card__price small { font-size: var(--step-0); color: var(--muted); }
.price-card ul { list-style: none; margin: 1.2rem 0; flex-grow: 1; }
.price-card li { padding: 0.6rem 0 0.6rem 1.8rem; position: relative; color: var(--ink); font-size: var(--step-0); border-bottom: 1px solid var(--line); }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--sage-deep); font-weight: 700;
}

/* ============================================================
   CONTACT / BOOKING FORM
   ============================================================ */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
@media (max-width: 820px) { .booking-grid { grid-template-columns: 1fr; gap: var(--space-md); } }

.form-field { margin-bottom: 1.3rem; }
.form-field label {
  display: block; font-size: var(--step--1); font-weight: 600;
  color: var(--slate); margin-bottom: 0.5rem; letter-spacing: 0.02em;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  font-family: var(--body); font-size: var(--step-0);
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--bone);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(176,123,73,0.15);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: var(--step--1); color: var(--muted); margin-top: 1rem; }

.contact-aside {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2.4rem;
}
.contact-aside h3 { font-size: var(--step-1); margin-bottom: 1.4rem; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 1rem; margin-bottom: 1.4rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--copper); flex: none; margin-top: 2px; }
.contact-list strong { display: block; color: var(--slate); margin-bottom: 0.15rem; }
.contact-list a:hover { color: var(--copper); }
.contact-list span { color: var(--muted); font-size: var(--step--1); }

/* ============================================================
   AREAS SERVED (local SEO)
   ============================================================ */
.areas {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
}
.area-chip {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.6rem 1.3rem;
  font-size: var(--step--1);
  color: var(--slate);
  background: var(--bone);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.area-chip:hover { background: var(--slate); color: var(--bone); border-color: var(--slate); }

/* ============================================================
   SCROLL REVEAL
   Reveal styles apply ONLY when JS is active (html.js). With JS off,
   content stays fully visible — it is never trapped at opacity:0.
   js/main.js adds .js to <html> and a ~1.2s timeout force-reveals
   anything the IntersectionObserver hasn't reached.
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--space-lg); }
.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;
}

/* ============================================================
   V2 ENHANCEMENTS (audit-driven)
   ============================================================ */

/* ---- Sticky mobile booking bar (thumb-reach CTA) ---- */
.mobile-book-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  display: none;
  gap: 0.7rem;
  padding: 0.7rem clamp(0.9rem, 4vw, 1.2rem);
  background: rgba(250,248,243,0.96);
  backdrop-filter: saturate(140%) blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px -18px rgba(27,42,51,0.4);
}
.mobile-book-bar .btn { flex: 1; padding-block: 0.9rem; }
.mobile-book-bar .btn--call {
  flex: 0 0 auto;
  background: transparent;
  color: var(--slate);
  border-color: var(--slate);
}
@media (max-width: 760px) {
  .mobile-book-bar { display: flex; }
  body { padding-bottom: 4.5rem; } /* clear the bar */
}

/* ---- Trust bar (scannable proofs) ---- */
.trust-bar { background: var(--slate); color: var(--bone); }
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 2rem;
  align-items: start;
}
.trust-bar__item { display: flex; gap: 0.9rem; align-items: flex-start; }
.trust-bar__item svg { width: 26px; height: 26px; color: var(--copper-soft); flex: none; margin-top: 2px; }
.trust-bar__item strong { display: block; color: var(--bone); font-size: var(--step-0); margin-bottom: 0.15rem; }
.trust-bar__item span { color: rgba(250,248,243,0.7); font-size: var(--step--1); line-height: 1.45; }

/* ---- Safety / clinical cards (geriatric trust) ---- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.safety-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sage-deep);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.safety-card h3 {
  font-size: var(--step-1);
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.safety-card h3 svg { width: 22px; height: 22px; color: var(--sage-deep); flex: none; }
.safety-card p { color: var(--muted); font-size: var(--step-0); }

/* ---- Email capture / newsletter ---- */
.capture { background: var(--stone); }
.capture__inner {
  max-width: 720px; margin-inline: auto; text-align: center;
}
.capture h2 { font-size: var(--step-2); font-weight: 300; margin-bottom: 0.8rem; }
.capture p { color: var(--muted); margin-bottom: 1.8rem; }
.capture__form {
  display: flex; gap: 0.7rem; max-width: 480px; margin-inline: auto;
}
.capture__form input {
  flex: 1;
  padding: 0.95rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--body); font-size: var(--step-0);
  background: var(--bone);
}
.capture__form input:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(176,123,73,0.15); }
.capture__note { font-size: var(--step--1); color: var(--muted); margin-top: 1rem; }
@media (max-width: 520px) {
  .capture__form { flex-direction: column; }
}

/* ---- In-home / mobile callout ---- */
.inhome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.inhome__media {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/11; background: var(--sage-deep);
}
.inhome__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .inhome { grid-template-columns: 1fr; gap: var(--space-md); } }

/* ---- Policy / what-to-expect list ---- */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.policy-item { padding: 1.5rem; background: var(--bone); border: 1px solid var(--line); border-radius: var(--radius); }
.policy-item h4 { font-family: var(--display); font-size: var(--step-1); color: var(--slate); margin-bottom: 0.5rem; font-weight: 400; }
.policy-item p { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }

/* ---- Booking option toggle (in-studio / in-home) ---- */
.toggle-row { display: flex; gap: 0.7rem; margin-bottom: 1.3rem; }
.toggle-opt {
  flex: 1; text-align: center;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--bone); cursor: pointer;
  font-size: var(--step--1); font-weight: 600; color: var(--muted);
  transition: all 0.25s var(--ease);
}
.toggle-opt[aria-pressed="true"] { border-color: var(--copper); background: rgba(176,123,73,0.08); color: var(--slate); }

/* ---- Contextual buyer / reassurance note (reused site-wide) ---- */
.parent-note {
  background: rgba(122,139,111,0.12);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-top: var(--space-md);
  font-size: var(--step-0);
  color: var(--slate);
  border-left: 3px solid var(--sage);
}
.parent-note strong { color: var(--slate); }

/* ============================================================
   CARE COORDINATION (physician/PT collaboration band + form)
   ============================================================ */
/* Slim one-line trust band, woven through home + service pages.
   Reuses the slate/copper band aesthetic — distinct from the sage CTA. */
.coord-band { background: var(--slate); color: var(--bone); }
.coord-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.4rem 2rem;
}
.coord-band p {
  margin: 0; max-width: 46ch;
  font-family: var(--display); font-weight: 300;
  font-size: var(--step-1); line-height: 1.35; color: rgba(250,248,243,0.92);
}
.coord-band p strong { color: var(--copper-soft); font-weight: 400; }
.coord-band .btn { flex: none; }

/* "How it works" numbered sequence — light variant of .journey for
   use on a bone background (Care Coordination page). */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem 2rem;
}
.steps__item { position: relative; padding-top: 2.5rem; }
.steps__item::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 1px; background: var(--line);
}
.steps__num {
  font-family: var(--display); font-size: var(--step-2);
  color: var(--copper); font-weight: 300; display: block; margin-bottom: 0.6rem;
}
.steps__item h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.steps__item p { color: var(--muted); font-size: var(--step-0); }

/* ============================================================
   PRINT CONSENT / REFERRAL FORM (coordination-form.html)
   ============================================================ */
.form-doc { max-width: 760px; margin-inline: auto; }
.form-doc .field-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.5rem; margin-bottom: 1.2rem;
}
.print-field { display: flex; flex-direction: column; gap: 0.3rem; }
.print-field label { font-size: var(--step--1); font-weight: 600; color: var(--slate); letter-spacing: 0.02em; }
.print-field .line {
  border-bottom: 1.5px solid var(--slate); min-height: 1.9rem;
}
.consent-box {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; margin-block: 1.4rem; background: var(--stone);
  font-size: var(--step--1); line-height: 1.6; color: var(--ink);
}
.print-actions { margin-block: var(--space-md); }
.print-only { display: none; }

/* ---- Checklist (lead-magnet printables) ---- */
.checklist { list-style: none; margin: 1.4rem 0; max-width: 70ch; }
.checklist li {
  position: relative; padding: 0.7rem 0 0.7rem 2.2rem;
  border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.5;
}
.checklist li::before {
  content: "\2610"; /* ballot box */
  position: absolute; left: 0; top: 0.5rem;
  font-size: 1.3rem; line-height: 1; color: var(--copper);
}
.checklist strong { color: var(--slate); }
.checklist--plain li::before { content: "\2014"; color: var(--copper); font-size: 1rem; top: 0.7rem; }

/* ---- Resource / guide doc meta line ---- */
.doc-tag {
  display: inline-block; font-size: var(--step--1); letter-spacing: 0.04em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 100px;
  padding: 0.3rem 0.9rem; margin-bottom: 0.4rem;
}

/* ---- Journal (article index + posts) ---- */
.post-list { display: grid; gap: 1.4rem; max-width: 880px; }
.post-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 2rem; background: var(--bone);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -28px rgba(27,42,51,0.32); border-color: var(--copper-soft); }
.post-card__meta { font-size: var(--step--1); color: var(--copper); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.6rem; }
.post-card h2 { font-size: var(--step-1); margin-bottom: 0.5rem; font-weight: 400; }
.post-card p { color: var(--muted); font-size: var(--step-0); }
.article-meta { color: var(--muted); font-size: var(--step--1); margin-top: 0.8rem; }
.article-meta span { color: var(--copper); }

/* ---- Booking choice (online self-book vs request a consult) ---- */
.book-choice {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  max-width: 880px; margin-inline: auto;
}
.book-choice__card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 2rem; background: var(--bone);
  display: flex; flex-direction: column; text-align: center;
}
.book-choice__card--primary { border-color: var(--copper); box-shadow: 0 24px 60px -36px rgba(176,123,73,0.55); }
.book-choice__card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.book-choice__card p { color: var(--muted); font-size: var(--step-0); margin-bottom: 1.4rem; }
.book-choice__card .btn { margin-top: auto; }
.book-choice__card .form-note { margin-top: 0.9rem; }
@media (max-width: 680px) { .book-choice { grid-template-columns: 1fr; } }

@media print {
  /* Clean US-Letter output: hide chrome, black on white, tidy margins. */
  @page { size: Letter; margin: 0.6in; }
  html, body { background: #fff !important; color: #000 !important; }
  .site-header, .site-footer, .mobile-book-bar, .skip-link,
  .print-actions, .page-hero .eyebrow, .crumbs { display: none !important; }
  body { padding: 0 !important; }
  .page-hero { background: #fff !important; color: #000 !important; padding: 0 0 0.3in 0 !important; }
  .page-hero h1, .page-hero p { color: #000 !important; }
  .spine { display: none !important; }
  .section { padding-block: 0.2in !important; }
  .consent-box { background: #fff !important; border-color: #000 !important; }
  .print-field .line { border-color: #000 !important; }
  .print-field label { color: #000 !important; }
  a { color: #000 !important; text-decoration: none !important; }
  .print-only { display: block !important; }
  .print-hide { display: none !important; }
  h1, h2, h3, h4 { color: #000 !important; break-after: avoid; break-inside: avoid; }
  .consent-box, .print-field, .field-row { break-inside: avoid; }
}
