/* ============================================================================
   Dr. Augello Chiropractic — stylesheet
   Implementation of DESIGN.md plus SITE.md overrides.
   Edits to design tokens belong in SITE.md first.
   ========================================================================= */

/* ---------- 1. Reset + base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  background: var(--ink-deep);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
::selection { background: var(--primary); color: var(--bg); }

/* ---------- 2. Design tokens ---------------------------------------------- */
:root {
  /* Augello family palette — forest / cream / brass.
     Identical token surface to sister health-site so the two read as siblings.
     Inner-page additions: --ink-deep for masthead/dark moments, --paper for
     textured "editorial" surfaces, --brass/--brass-soft for hairlines + marks.
     A single accent layer (--accent === --brass) keeps the chrome consistent. */
  --bg: #F5F0E6;
  --bg-alt: #EEE6D6;
  --bg-deep: #0E1612;       /* alias of --ink-deep; some chiro classes reference --bg-deep */
  --surface: #FFFFFF;
  --ink: #1C2A21;
  --ink-soft: #4A5950;
  --ink-mute: #8A938B;
  --primary: #2A4431;       /* forest green — sister-site primary */
  --primary-hover: #1F3325;
  --primary-soft: #E5EDE4;
  --accent: #B8893B;        /* brass — sister-site accent */
  --accent-hover: #9C7229;
  --border: #E0D7C4;
  --border-strong: #BFB29A;
  --success: #3F6B4E;
  --danger: #8C3A2E;

  --font-head: 'Newsreader', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Instrument Serif', 'Newsreader', Georgia, serif;
  --font-body: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --max-w: 1200px;
  --max-w-prose: 680px;
  --gutter: 1.5rem;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --motion-fast: 150ms;
  --motion-base: 300ms;
  --motion-slow: 600ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-sm: 0 1px 2px rgba(28, 42, 33, 0.04);
  --shadow-md: 0 4px 16px rgba(28, 42, 33, 0.06);
}
@media (min-width: 768px) { :root { --gutter: 3rem; } }
@media (min-width: 1024px) { :root { --gutter: 5rem; } }

/* ---------- 3. Typography -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-5);
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1, .h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.1; }
.h1-display { font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.05; letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; }
h3, .h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.3; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.005em; }
h4 { font-size: 1.1875rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }

p, ul, ol { margin: 0 0 var(--space-5); color: var(--ink-soft); }
.lede { font-size: 1.25rem; line-height: 1.6; color: var(--ink-soft); max-width: 52ch; font-weight: 500; }
.small { font-size: 0.9375rem; line-height: 1.5; }
.eyebrow, .label {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
  display: inline-block;
  font-family: var(--font-body);
}

/* Athletic chrome — pipe-divided number prefix.
   Used on hero + key dossier moments to differentiate from sister site's bracket eyebrows. */
.eyebrow-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.625em;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
  line-height: 1;
}
.eyebrow-bar::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow-bar .num {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.eyebrow-bar .pipe {
  color: var(--border-strong);
  font-weight: 400;
  margin-inline: 0.125em;
}
em, i, .italic { font-family: var(--font-head); font-style: italic; font-weight: 600; }
strong, b { font-weight: 700; color: var(--ink); }

a.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--motion-fast) var(--ease-out);
}
a.text-link:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

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

.section { padding-block: var(--space-8); }
@media (min-width: 768px) { .section { padding-block: var(--space-9); } }
@media (min-width: 1024px) { .section { padding-block: var(--space-10); } }

.section-alt { background: var(--bg-alt); }
.section-ink { background: var(--primary); color: var(--bg); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--bg); }
.section-ink p { color: rgba(245, 240, 230, 0.85); }
.section-ink .eyebrow { color: var(--accent); }

.section-head { max-width: 760px; margin: 0 auto var(--space-7); text-align: center; }
.section-head.align-left { margin-inline: 0; text-align: left; }
.section-title { max-width: 22ch; margin-inline: auto; }
.section-head.align-left .section-title { margin-inline: 0; }

.grid { display: grid; gap: var(--space-5); }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.flow > * + * { margin-top: var(--space-5); }
.flow-tight > * + * { margin-top: var(--space-3); }

/* ---------- 5. Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5); min-height: 48px;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em;
  border-radius: var(--r-sm); border: 1px solid transparent;
  transition: background var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out);
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-lg { min-height: 56px; padding: var(--space-4) var(--space-6); font-size: 1rem; }
.btn-sm { min-height: 40px; padding: var(--space-2) var(--space-4); font-size: 0.9375rem; }

.btn-primary { background: var(--primary); color: var(--bg); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--primary-soft); border-color: var(--primary); }

.btn-link { background: transparent; color: var(--accent); padding-inline: 0; border: 0; text-decoration: underline; text-underline-offset: 3px; min-height: auto; }
.btn-link:hover { color: var(--accent-hover); }

.btn-on-dark { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn-on-dark:hover { background: var(--bg-alt); border-color: var(--bg-alt); }

.btn-call::before {
  content: ''; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") center / contain no-repeat;
}
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ---------- 6. Header / Nav ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 40; background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--motion-base) var(--ease-out), padding var(--motion-base) var(--ease-out);
}
.site-header.scrolled { border-color: var(--border); background: rgba(241, 236, 226, 0.97); backdrop-filter: saturate(180%) blur(8px); -webkit-backdrop-filter: saturate(180%) blur(8px); }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding-block: var(--space-4); min-height: 72px; flex-wrap: nowrap;
}
.site-header.scrolled .nav { padding-block: var(--space-3); min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; text-decoration: none; color: var(--ink); flex-shrink: 0; margin-right: auto; }
.brand-seal {
  width: 40px; height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-mark {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: var(--ink);
}
.brand-mark em { font-style: normal; }
.brand-sub { display: none; }
@media (max-width: 700px) {
  .brand-mark { font-size: 1.0625rem; }
  .brand-seal { width: 34px; height: 34px; }
  .brand { gap: 9px; }
}
@media (max-width: 380px) {
  .brand-mark { display: none; }
}
.brand-drawer { gap: 10px; }
.brand-drawer .brand-seal { width: 36px; height: 36px; }

/* Announcement bar — sits above the header, carries the
   "Home of Valley Sports Chiropractic" tagline that used to clutter the brand lockup */
.announce-bar {
  background: var(--bg-deep);
  color: var(--bg);
  padding-block: 9px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}
.announce-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  line-height: 1.4;
}
.announce-bar .accent { color: var(--accent); }
.announce-bar .sep { color: var(--accent); opacity: 0.5; }
@media (max-width: 600px) {
  .announce-bar { letter-spacing: 0.18em; font-size: 0.6875rem; }
  .announce-bar .sep { display: none; }
}

.nav-links { display: none; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
@media (min-width: 1024px) { .nav-links { display: flex; align-items: center; } }

.nav-links a {
  position: relative; font-size: 0.9375rem; font-weight: 500; color: var(--ink);
  padding: var(--space-2) 0; transition: color var(--motion-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.current { color: var(--primary); }
.nav-links a.current::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); }

.nav-item { position: relative; }
.nav-links .nav-item-trigger { display: inline-flex; align-items: center; gap: 5px; padding-right: 4px; }
.nav-links .nav-item-trigger::after {
  content: '\2304' !important;
  position: static !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  display: inline-block;
  font-size: 0.875em;
  line-height: 1;
  font-weight: 700;
  color: var(--ink-mute);
  transform-origin: center center;
  transition: transform var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out);
  margin-top: 1px;
}
.nav-item:hover .nav-links .nav-item-trigger::after,
.nav-links .nav-item:hover .nav-item-trigger::after,
.nav-links .nav-item:focus-within .nav-item-trigger::after { transform: rotate(180deg); color: var(--primary); }
.nav-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  transform: translateY(6px);
  min-width: 240px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: var(--space-3);
  opacity: 0; visibility: hidden;
  transition: opacity var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out);
  list-style: none; margin: 0; z-index: 50;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: var(--space-3) var(--space-4); border-radius: var(--r-sm); font-size: 0.9375rem; color: var(--ink); font-weight: 500; }
.nav-dropdown a:hover { background: var(--primary-soft); color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.nav-phone {
  display: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--bg);
  border: 1px solid var(--bg-deep);
  transition: background var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out);
}
.nav-phone svg { color: var(--accent); }
.nav-phone:hover { background: var(--accent); border-color: var(--accent); color: var(--bg-deep); }
.nav-phone:hover svg { color: var(--bg-deep); }
@media (min-width: 1024px) { .nav-phone { display: inline-flex; } }
/* Hide "Book an appointment" CTA below desktop — keeps mobile/tablet header clean.
   CTA still available in drawer + below the hero. */
.nav-actions .btn-primary { display: none; }
@media (min-width: 1024px) { .nav-actions .btn-primary { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--r-sm); color: var(--ink);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav-drawer {
  position: fixed; inset: 0; background: var(--bg); z-index: 60;
  display: none; flex-direction: column; overflow-y: auto;
  padding: var(--space-5) var(--gutter) var(--space-7);
}
.nav-drawer.open { display: flex; }
.nav-drawer-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.nav-drawer-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--r-sm); color: var(--ink);
  cursor: pointer; flex-shrink: 0;
}
.nav-drawer-close:hover { border-color: var(--primary); color: var(--primary); }
.nav-drawer-list { list-style: none; padding: 0; margin: 0; }
.nav-drawer-list > li { border-bottom: 1px solid var(--border); }
.nav-drawer-list a, .nav-drawer-list summary {
  display: block; padding: var(--space-4) 0;
  font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); cursor: pointer; list-style: none;
}
.nav-drawer-list summary::-webkit-details-marker { display: none; }
.nav-drawer-list details .nav-sublist { list-style: none; padding: 0 0 var(--space-4) var(--space-4); margin: 0; }
.nav-drawer-list details .nav-sublist a { font-family: var(--font-body); font-size: 1rem; padding: var(--space-2) 0; color: var(--ink-soft); }
.nav-drawer-cta { margin-top: var(--space-7); display: flex; flex-direction: column; gap: var(--space-3); }

/* ---------- 7. Hero -------------------------------------------------------- */
.hero { position: relative; padding-block: var(--space-8) var(--space-9); background: var(--bg); overflow: hidden; }
@media (min-width: 1024px) { .hero { padding-block: var(--space-9) var(--space-10); } }

/* Type-led hero variant (athletic-documentary direction).
   Differentiates from sister health-site's editorial 2-column hero with placeholder photo. */
.hero-typeled { padding-block: var(--space-9) var(--space-8); border-bottom: 1px solid var(--border); }
@media (min-width: 1024px) { .hero-typeled { padding-block: var(--space-10) var(--space-9); } }
.hero-typeled-inner { max-width: 56rem; }
.hero-typeled-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--space-6);
  max-width: 18ch;
  text-wrap: balance;
}
.hero-typeled-title em {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}
.hero-typeled-tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 var(--space-5);
  letter-spacing: 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--accent);
}
.hero-typeled-tagline em { font-style: italic; color: var(--primary); font-weight: 600; }
.hero-typeled-sub {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 var(--space-7);
}
.hero-typeled-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* Athletic credentials strip — typographic logo replacement. */
.trust-strip {
  background: var(--bg-deep);
  color: var(--bg);
  padding-block: var(--space-7);
  border-top: 1px solid rgba(241, 236, 226, 0.08);
  border-bottom: 1px solid rgba(241, 236, 226, 0.08);
}
.trust-strip-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.trust-strip-eyebrow .rule {
  flex: 1;
  height: 1px;
  background: rgba(200, 147, 47, 0.35);
}
.trust-strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-6);
}
@media (min-width: 640px) { .trust-strip-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .trust-strip-list { grid-template-columns: repeat(4, 1fr); } }
.trust-strip-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: var(--space-2);
  border-top: 1px solid rgba(241, 236, 226, 0.12);
}
.trust-strip-list strong {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bg);
}
.trust-strip-list span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 147, 47, 0.85);
}
.hero-grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-9); } }
/* Inner pages still using the unfinished placeholder column — collapse to single column
   and hide the cross-hatched placeholder until real photography lands. */
@media (min-width: 1024px) {
  .hero-grid:has(.hero-placeholder-note) { grid-template-columns: minmax(0, 720px); }
}
.hero-grid:has(.hero-placeholder-note) .hero-media { display: none; }
.hero-copy { max-width: 38rem; }
.hero-copy .eyebrow { margin-bottom: var(--space-4); }
.hero-title { margin-bottom: var(--space-5); }
.hero-sub { font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); max-width: 48ch; margin-bottom: var(--space-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-5); color: var(--ink-mute); font-size: 0.9375rem; align-items: center; }
.hero-meta span { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-meta strong { color: var(--ink); font-weight: 500; }

.hero-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-caption {
  position: absolute; left: var(--space-5); bottom: var(--space-5); right: var(--space-5);
  background: rgba(28, 42, 33, 0.82); color: var(--bg); padding: var(--space-4) var(--space-5);
  border-radius: var(--r-md); font-size: 0.9375rem; backdrop-filter: blur(6px);
}
.hero-placeholder-note {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: var(--space-3);
  padding: var(--space-6); text-align: center; color: var(--ink-soft);
  background: linear-gradient(135deg, var(--bg-alt) 25%, var(--primary-soft) 25%, var(--primary-soft) 50%, var(--bg-alt) 50%, var(--bg-alt) 75%, var(--primary-soft) 75%) 0 0 / 24px 24px;
}
.hero-placeholder-note .label { color: var(--primary); }
/* When placeholder is used inside a card, render it as a contained block, not an absolute overlay */
.card .hero-placeholder-note,
.founder-media .hero-placeholder-note {
  position: relative; inset: auto;
  aspect-ratio: 4 / 5; min-height: 0;
  border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border);
}

/* ---------- 8. Cards ------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--space-6);
  transition: border-color var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-out);
}
.card:hover { border-color: var(--border-strong); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { transform: translateY(-2px); }
.card-eyebrow { color: var(--accent); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-3); display: block; }
.card-title { font-size: 1.25rem; font-family: var(--font-head); font-weight: 500; margin-bottom: var(--space-3); }
.card-body { color: var(--ink-soft); margin: 0; }
.card-foot { margin-top: var(--space-4); font-size: 0.9375rem; color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: var(--space-2); }
.card-foot::after { content: '→'; display: inline-block; transition: transform var(--motion-fast) var(--ease-out); }
.card-link:hover .card-foot::after { transform: translateX(4px); }

.condition-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--space-7); display: flex; flex-direction: column; height: 100%;
  transition: border-color var(--motion-base) var(--ease-out);
}
.condition-card:hover { border-color: var(--primary); }
.condition-card-number { font-family: var(--font-head); font-size: 1.25rem; color: var(--accent); margin-bottom: var(--space-5); letter-spacing: 0.02em; }
.condition-card h3 { font-size: 1.5rem; font-family: var(--font-head); font-weight: 500; margin-bottom: var(--space-4); }
.condition-card p { margin-bottom: var(--space-5); }
.condition-card ul { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.condition-card ul li { font-size: 0.9375rem; color: var(--ink-soft); padding-left: var(--space-5); position: relative; }
.condition-card ul li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 12px; height: 1px; background: var(--accent); }
.condition-card .card-foot { margin-top: auto; padding-top: var(--space-5); border-top: 1px solid var(--border); }

/* ---------- 9. Stats / outcomes ------------------------------------------- */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-5);
  padding: var(--space-7) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: var(--space-2); }
.stat-number { font-family: var(--font-head); font-weight: 500; font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.stat-label { font-size: 0.875rem; font-weight: 500; color: var(--ink-mute); letter-spacing: 0.04em; text-transform: uppercase; }

.outcome-feature { display: grid; gap: var(--space-7); align-items: center; padding-block: var(--space-7); }
@media (min-width: 1024px) { .outcome-feature { grid-template-columns: 1fr 1fr; } }
.outcome-feature-headline { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: var(--primary); margin: 0; }
.outcome-feature-headline em { color: var(--accent); }

/* ---------- 10. Testimonials ---------------------------------------------- */
.testimonial {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); height: 100%;
}
.testimonial-outcome { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); padding-bottom: var(--space-3); border-bottom: 1px solid var(--border); }
.testimonial-quote { font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: 1.25rem; line-height: 1.55; color: var(--ink); margin: 0; }
.testimonial-footer { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1rem; color: var(--primary);
  flex-shrink: 0; overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.testimonial-meta { font-size: 0.875rem; color: var(--ink-mute); }

/* ---------- 11. Press strip ----------------------------------------------- */
.press { padding: var(--space-7) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.press-label { text-align: center; color: var(--accent); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-5); }
.press-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-7); opacity: 0.62; }
.press-logos span { font-family: var(--font-head); font-size: 1.125rem; color: var(--ink-mute); letter-spacing: -0.005em; font-style: italic; }
.press-pullquote { max-width: 44ch; margin: var(--space-7) auto 0; text-align: center; font-family: var(--font-head); font-style: italic; font-size: 1.125rem; color: var(--ink-soft); }

/* ---------- 12. Founder block --------------------------------------------- */
.founder { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .founder { grid-template-columns: 5fr 7fr; gap: var(--space-9); } }
.founder-media { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); position: relative; }
.founder-media img { width: 100%; height: 100%; object-fit: cover; }
.founder-copy { max-width: 46rem; }
.founder-copy blockquote { border-left: 2px solid var(--accent); padding-left: var(--space-5); margin: var(--space-6) 0; font-family: var(--font-head); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.founder-credentials { list-style: none; padding: var(--space-5) 0 0; margin: var(--space-5) 0 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-5); }
.founder-credentials li { display: flex; flex-direction: column; gap: var(--space-1); }
.founder-credentials .label { color: var(--ink-mute); margin: 0; }
.founder-credentials strong { color: var(--ink); font-size: 0.9375rem; font-weight: 500; }

/* ---------- 13. Process / approach ---------------------------------------- */
.process { display: grid; gap: var(--space-5); counter-reset: step; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process-step { position: relative; padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); counter-increment: step; }
.process-step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-size: 0.9375rem; color: var(--accent); letter-spacing: 0.04em; margin-bottom: var(--space-3); }
.process-step h3 { font-size: 1.125rem; font-family: var(--font-head); font-weight: 500; margin-bottom: var(--space-3); }
.process-step p { font-size: 0.9375rem; margin: 0; }

/* ---------- 14. Comparison table ------------------------------------------ */
.compare { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--border); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { padding: var(--space-4) var(--space-5); font-size: 0.9375rem; color: var(--ink-soft); }
.compare-head { background: var(--bg-alt); font-weight: 600; color: var(--ink); font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-row .compare-us { background: var(--primary-soft); color: var(--ink); font-weight: 500; }
.compare-feature { color: var(--ink); font-weight: 500; }
@media (max-width: 767px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { border-bottom: 1px solid var(--border); }
  .compare-row > div:last-child { border-bottom: 0; }
}

/* ---------- 15. FAQ ------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-5);
  padding: var(--space-5) 0;
  font-family: var(--font-head); font-size: 1.125rem; font-weight: 500; color: var(--ink);
  cursor: pointer; list-style: none; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--font-body); font-size: 1.5rem; font-weight: 500; color: var(--accent);
  transition: transform var(--motion-fast) var(--ease-out); flex-shrink: 0; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item-body { padding: 0 0 var(--space-5); color: var(--ink-soft); max-width: 65ch; }
.faq-item-body :last-child { margin-bottom: 0; }

/* ---------- 16. Forms ----------------------------------------------------- */
.form { display: grid; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; padding: var(--space-3) var(--space-4); min-height: 48px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-sm); color: var(--ink);
  transition: border-color var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field-help { font-size: 0.875rem; color: var(--ink-mute); }

/* ---------- 17. Contact block --------------------------------------------- */
.contact-grid { display: grid; gap: var(--space-7); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: var(--space-9); } }
.contact-info h2 { font-size: 2rem; font-family: var(--font-head); font-weight: 500; margin-bottom: var(--space-4); }
.contact-info p { margin-bottom: var(--space-5); max-width: 40ch; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.contact-list li { display: flex; flex-direction: column; gap: var(--space-1); }
.contact-list .label { color: var(--ink-mute); margin: 0; }
.contact-list strong { color: var(--ink); font-weight: 500; font-size: 1rem; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--primary); }
.phone-big { font-family: var(--font-head); font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; color: var(--primary); font-weight: 500; }
.phone-big:hover { color: var(--primary-hover); }

/* ---------- 18. CTA section ----------------------------------------------- */
.cta-block { background: var(--primary); color: var(--bg); padding: var(--space-8) var(--gutter); border-radius: var(--r-lg); text-align: center; }
.cta-block h2 { color: var(--bg); font-family: var(--font-head); font-weight: 500; font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: var(--space-4); }
.cta-block p { color: rgba(245, 240, 230, 0.85); max-width: 48ch; margin: 0 auto var(--space-6); font-size: 1.0625rem; }
.cta-block .btn-group { justify-content: center; }

/* ---------- 19. Footer ---------------------------------------------------- */
.site-footer { background: var(--primary); color: rgba(245, 240, 230, 0.8); padding-block: var(--space-8) var(--space-6); margin-top: 0; }
.footer-grid { display: grid; gap: var(--space-7); grid-template-columns: 1fr; margin-bottom: var(--space-8); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); } }
.footer-brand h3 { color: var(--bg); font-family: var(--font-head); font-weight: 500; margin-bottom: var(--space-3); }
.footer-brand p { color: rgba(245, 240, 230, 0.72); font-size: 0.9375rem; max-width: 40ch; margin-bottom: var(--space-5); }
.footer-col h4 { color: var(--bg); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-4); font-family: var(--font-body); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a { color: rgba(245, 240, 230, 0.72); font-size: 0.9375rem; transition: color var(--motion-fast) var(--ease-out); }
.footer-col a:hover { color: var(--bg); }
.footer-legal { border-top: 1px solid rgba(245, 240, 230, 0.14); padding-top: var(--space-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); font-size: 0.875rem; color: rgba(245, 240, 230, 0.58); }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--bg); }

/* ---------- 20. Utilities + motion ---------------------------------------- */
.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; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; background: var(--ink); color: var(--bg); padding: var(--space-3) var(--space-5); border-radius: var(--r-sm); z-index: 100; transition: top var(--motion-fast) var(--ease-out); }
.skip-link:focus { top: var(--space-4); }
.align-center { text-align: center; }
.align-right { text-align: right; }

[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-out); }
[data-animate].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-animate] { opacity: 1; transform: none; }
}

/* ---------- 21. Breadcrumbs ----------------------------------------------- */
.breadcrumbs { padding: var(--space-4) 0; font-size: 0.875rem; color: var(--ink-mute); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.breadcrumbs li + li::before { content: '/'; margin-right: var(--space-2); color: var(--ink-mute); }
.breadcrumbs a { color: var(--ink-mute); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ---------- 22. Article / blog typography --------------------------------- */
.article { padding-block: var(--space-8); }
.article-head { max-width: var(--max-w-prose); margin: 0 auto var(--space-7); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: 0.875rem; color: var(--ink-mute); margin-bottom: var(--space-4); }
.article-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-family: var(--font-head); font-weight: 500; margin-bottom: var(--space-4); letter-spacing: -0.01em; }
.article-dek { font-size: 1.25rem; line-height: 1.55; color: var(--ink-soft); font-family: var(--font-head); font-style: italic; max-width: 40ch; }

.prose { max-width: var(--max-w-prose); margin: 0 auto; font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.prose h2 { font-size: 1.75rem; margin-top: var(--space-8); margin-bottom: var(--space-4); color: var(--ink); }
.prose h3 { font-size: 1.25rem; margin-top: var(--space-6); margin-bottom: var(--space-3); color: var(--ink); font-family: var(--font-head); font-weight: 500; }
.prose p { margin-bottom: var(--space-5); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: var(--space-5); margin-bottom: var(--space-5); }
.prose li { margin-bottom: var(--space-3); }
.prose blockquote { border-left: 2px solid var(--accent); padding-left: var(--space-5); margin: var(--space-6) 0; font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-7) 0; }
.prose figure { margin: var(--space-7) 0; }
.prose figcaption { font-size: 0.9375rem; color: var(--ink-mute); text-align: center; margin-top: var(--space-3); font-style: italic; }

.callout { background: var(--primary-soft); border-left: 3px solid var(--primary); padding: var(--space-5) var(--space-6); border-radius: 0 var(--r-md) var(--r-md) 0; margin: var(--space-7) 0; }
.callout .label { color: var(--primary); margin-bottom: var(--space-2); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- 23. Location pages -------------------------------------------- */
.location-hero { padding-block: var(--space-8); border-bottom: 1px solid var(--border); }
.location-hero .eyebrow { color: var(--primary); }
.location-meta { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--border); font-size: 0.9375rem; }
.location-meta > div { display: flex; flex-direction: column; gap: var(--space-1); }
.location-meta .label { margin: 0; color: var(--ink-mute); }

/* ---------- 24. Announcement bar ----------------------------------------- */
.announce { background: var(--ink); color: var(--bg); text-align: center; padding: var(--space-3) var(--gutter); font-size: 0.875rem; letter-spacing: 0.02em; }
.announce a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.announce a:hover { color: var(--bg); }

/* ---------- 26. SB7 sections (Problem · Stakes · Success Vision) -------- */

/* PROBLEM — three side-by-side cards (External · Internal · Philosophical) */
.sb-problem-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  transition: transform var(--motion-base) var(--ease-out), border-color var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out);
}
.sb-problem-card:hover { transform: translateY(-3px); border-top-color: var(--primary); box-shadow: var(--shadow-md); }
.sb-problem-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.sb-problem-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.8vw, 1.625rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.sb-problem-card p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

/* STAKES — dark, urgent, intentionally restrained */
.sb-stakes {
  background: var(--bg-deep);
  color: var(--bg);
  border-top: 1px solid rgba(241, 236, 226, 0.08);
}
.sb-stakes .section-title { color: var(--bg); max-width: 26ch; }
.sb-stakes-headline em { color: var(--accent); font-style: italic; font-weight: 500; }
.sb-stakes .eyebrow-bar { color: var(--accent); }
.sb-stakes .eyebrow-bar::before { background: var(--accent); }
.sb-stakes .eyebrow-bar .num { color: var(--bg); }
.sb-stakes .eyebrow-bar .pipe { color: rgba(200, 147, 47, 0.5); }
.sb-stakes-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-7);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .sb-stakes-grid { grid-template-columns: repeat(3, 1fr); } }
.sb-stakes-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(241, 236, 226, 0.18);
}
.sb-stakes-num {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
}
.sb-stakes-item p {
  margin: 0;
  color: rgba(241, 236, 226, 0.82);
  line-height: 1.6;
  font-size: 1.0625rem;
}
.sb-stakes-item strong { color: var(--bg); font-weight: 500; }
.sb-stakes-foot {
  margin: var(--space-7) 0 0;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  color: var(--accent);
  max-width: 56ch;
}

/* SUCCESS VISION — warm, large quote, named patient as the proof */
.sb-success-feature {
  margin: var(--space-7) 0 0;
  padding: var(--space-8) var(--space-7);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 64rem;
}
.sb-success-outcome {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}
.sb-success-quote {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.4375rem, 3vw, 2.125rem);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.sb-success-attrib { display: flex; flex-direction: column; gap: 4px; padding-top: var(--space-4); border-top: 1px solid var(--border); }
.sb-success-name {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--ink);
}
.sb-success-meta {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* CTA-block updates for new SB headline emphasis */
.cta-block h2 em { color: var(--accent); font-style: italic; font-weight: 500; }

/* ---------- 27. Doctor cards + photo cards ------------------------------- */
.doctor-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.doctor-card > :not(.doctor-photo) { margin-left: var(--space-6); margin-right: var(--space-6); }
.doctor-card > :first-child:not(.doctor-photo) { margin-top: var(--space-6); }
.doctor-card > :last-child { margin-bottom: var(--space-6); }
.doctor-photo {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: var(--space-5);
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo > :not(.card-photo-img) { margin-left: var(--space-6); margin-right: var(--space-6); }
.card-photo > :first-child:not(.card-photo-img) { margin-top: var(--space-6); }
.card-photo > :last-child { margin-bottom: var(--space-6); }
.card-photo-img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: var(--space-5);
}
.card-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease-out); }
.card-photo:hover .card-photo-img img { transform: scale(1.04); }

/* ---------- 28. Plan steps polish ---------------------------------------- */
.path-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  counter-reset: planstep;
}
@media (min-width: 768px) { .path-steps { grid-template-columns: repeat(3, 1fr); } }
.path-step {
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: var(--space-3);
  counter-increment: planstep;
}
.path-step-num {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1;
}
.path-step h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; margin: 0; line-height: 1.2; }
.path-step h3 em { font-style: italic; color: var(--primary); font-family: var(--font-head); font-weight: 600; }
.path-step p { margin: 0; color: var(--ink-soft); }
.path-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-7); align-items: center; }

/* ---------- 25. Print ----------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta-block, .announce, .nav-drawer { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}

/* ============================================================================
   v2 — Editorial layer (mirrored from health-site)
   Adds: --paper texture surface, --ink-deep masthead surface, --brass token
   pair, bracket-eyebrow chrome, page-mark rules, hero-editorial, dark section
   variant. Lets chiro pages reuse the same editorial component grammar.
   ========================================================================= */

/* ---------- v2.1 Tokens ---------------------------------------------------- */
:root {
  --paper: #F2EADA;
  --ink-deep: #0E1612;
  --brass: #B8893B;
  --brass-soft: #D9BB82;
  --fs-display-xl: clamp(4rem, 10vw, 8.5rem);
  --fs-display-lg: clamp(3rem, 7vw, 6rem);
}

/* Realign --bg-deep (chiro alias) onto --ink-deep so chiro classes that
   reference --bg-deep (announce-bar, trust-strip, sb-stakes) render with the
   same deep-green-black masthead as sister health-site. */
:root { --bg-deep: var(--ink-deep); }

/* ---------- v2.2 Paper + grain textures ----------------------------------- */
.paper,
.section-paper {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' seed='4'/><feColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.18 0 0 0 0 0.13 0 0 0 0.06 0'/></filter><rect width='240' height='240' filter='url(%23n)' opacity='0.9'/></svg>");
  background-size: 240px 240px;
}

.section-dark {
  background: var(--ink-deep);
  color: var(--bg);
  position: relative;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--bg); }
.section-dark p { color: rgba(245, 240, 230, 0.86); }
.section-dark .eyebrow { color: var(--brass); }
.section-dark::before,
.section-dark::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184, 137, 59, 0.3) 20%, rgba(184, 137, 59, 0.5) 50%, rgba(184, 137, 59, 0.3) 80%, transparent 100%);
}
.section-dark::before { top: 0; }
.section-dark::after { bottom: 0; }

/* ---------- v2.3 Bracket eyebrow chrome ----------------------------------- */
:root {
  --bracket-stroke: 1px;
  --bracket-color: var(--brass);
}

.bracket-eyebrow {
  display: inline;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-family: var(--font-body);
  font-feature-settings: "tnum" 1;
  line-height: 1.5;
}
.bracket-eyebrow::before,
.bracket-eyebrow::after {
  font-size: 1.05em;
  opacity: 0.9;
  font-weight: 500;
}
.bracket-eyebrow::before { content: "[ "; }
.bracket-eyebrow::after  { content: " ]"; }
@media (max-width: 480px) {
  .bracket-eyebrow { font-size: 0.9375rem; letter-spacing: 0.12em; }
  .bracket-eyebrow::before,
  .bracket-eyebrow::after { font-size: 1.2em; }
}
.bracket-eyebrow .num {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--brass);
  text-transform: none;
  padding-right: 0.35em;
  border-right: 1px solid currentColor;
  margin-right: 0.35em;
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.92;
}

/* Bracket-frame — L-shaped corner marks around imagery */
.bracket-frame { position: relative; }
.bracket-frame::before,
.bracket-frame::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border: var(--bracket-stroke) solid var(--bracket-color);
  pointer-events: none;
}
.bracket-frame::before { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.bracket-frame::after  { bottom: -12px; right: -12px; border-left: 0; border-top: 0; }
@media (min-width: 768px) {
  .bracket-frame::before,
  .bracket-frame::after { width: 72px; height: 72px; }
  .bracket-frame::before { top: -18px; left: -18px; }
  .bracket-frame::after  { bottom: -18px; right: -18px; }
}

/* Page-mark — masthead rule, e.g. [ No. 04 | FROM THE DOCTOR ] across the top */
.page-mark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1rem;
  color: var(--brass);
  letter-spacing: 0.04em;
}
.page-mark span { display: inline-flex; align-items: center; gap: var(--space-2); }
.page-mark .sep { color: var(--brass-soft); }

/* Rule-mark — horizontal hairline with a break for a character */
.rule-mark {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-7) 0;
  color: var(--brass);
}
.rule-mark::before,
.rule-mark::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--brass);
  opacity: 0.55;
}
.rule-mark .mark {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--brass);
}

/* ---------- v2.4 Editorial hero (Newsreader display) ---------------------- */
.hero-editorial {
  position: relative;
  padding-block: var(--space-8) var(--space-7);
  background: var(--bg);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero-editorial { padding-block: var(--space-9) var(--space-8); }
}
.hero-editorial-grid {
  display: grid;
  gap: var(--space-7);
  align-items: end;
}
@media (min-width: 1024px) {
  .hero-editorial-grid { grid-template-columns: 62% 38%; gap: var(--space-8); }
}
.hero-editorial-headline {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  color: var(--ink);
  margin: var(--space-6) 0 var(--space-6);
  max-width: 16ch;
  text-wrap: balance;
}
.hero-editorial-headline em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
  font-size: 1.1em;
  letter-spacing: -0.03em;
}
.hero-editorial-sub {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  border-top: 1px solid var(--brass);
  padding-top: var(--space-5);
  margin-bottom: var(--space-6);
}

/* ---------- v2.5 Hero-typeled — bracket-eyebrow brass underline ----------- */
/* Inherits health-site's editorial grammar onto chiro's existing hero block:
   bracket-eyebrow chrome above the headline + brass rule. */
.hero-typeled .eyebrow-bar { color: var(--brass); }
.hero-typeled .eyebrow-bar::before { background: var(--brass); }

/* ---------- v2.6 Footer brass rules + brand seal ------------------------- */
.footer-brand-logo {
  display: block;
  width: auto;
  height: 60px;
  max-width: 340px;
  margin-bottom: var(--space-4);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.site-footer-seal-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-7);
}
.site-footer-seal-wrap .seal {
  width: 160px;
  height: 160px;
  color: var(--brass);
}
@media (max-width: 767px) {
  .site-footer-seal-wrap .seal { width: 130px; height: 130px; }
}
.footer-address-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(245, 240, 230, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-address-link:hover,
.footer-address-link:focus { color: var(--brass); border-bottom-color: var(--brass); }

/* ---------- v2.7 Trust strip — recolor onto brass on the dark masthead --- */
/* Chiro's trust-strip used jersey-gold accents on a near-black ink-deep; now
   that we are on forest+brass, recolor accents onto --brass so the strip
   reads as a sibling of the health-site ticker (same brass-on-ink-deep). */
.trust-strip { background: var(--ink-deep); border-color: rgba(245, 240, 230, 0.08); }
.trust-strip-eyebrow { color: var(--brass); }
.trust-strip-eyebrow .rule { background: rgba(184, 137, 59, 0.35); }
.trust-strip-list li { border-top-color: rgba(245, 240, 230, 0.12); }
.trust-strip-list strong { color: var(--bg); }
.trust-strip-list span { color: rgba(184, 137, 59, 0.85); }
@media (hover: hover) {
  .trust-strip-list li:hover strong { color: var(--brass); }
}

/* ---------- v2.8 Announce bar on brass ------------------------------------ */
.announce-bar { background: var(--ink-deep); }
.announce-bar .accent { color: var(--brass); }
.announce-bar .sep { color: var(--brass); }

/* ---------- v2.9 SB-stakes recolor onto brass ----------------------------- */
.sb-stakes { background: var(--ink-deep); border-top: 1px solid rgba(245, 240, 230, 0.08); }
.sb-stakes-headline em { color: var(--brass); }
.sb-stakes .eyebrow-bar { color: var(--brass); }
.sb-stakes .eyebrow-bar::before { background: var(--brass); }
.sb-stakes .eyebrow-bar .num { color: var(--bg); }
.sb-stakes .eyebrow-bar .pipe { color: rgba(184, 137, 59, 0.5); }
.sb-stakes-item { border-top-color: rgba(245, 240, 230, 0.18); }
.sb-stakes-num { color: var(--brass); }
.sb-stakes-foot { color: var(--brass); }
.sb-stakes-item p { color: rgba(245, 240, 230, 0.86); }
.sb-stakes-item strong { color: var(--bg); }

/* ---------- v2.10 Nav-phone pill on ink-deep + brass-on-hover ------------- */
.nav-phone { background: var(--ink-deep); border-color: var(--ink-deep); color: var(--bg); }
.nav-phone svg { color: var(--brass); }
.nav-phone:hover { background: var(--brass); border-color: var(--brass); color: var(--ink-deep); }
.nav-phone:hover svg { color: var(--ink-deep); }

/* ---------- v2.11 Section-ink (CTA backdrop) — soft-cream paragraph ------ */
.cta-block p { color: rgba(245, 240, 230, 0.9); font-size: 1.1875rem; font-weight: 500; }
.cta-block h2 em { color: var(--brass); }

/* ---------- v2.12 Hero on .scrolled — crisp brass-tinted border ---------- */
.site-header.scrolled { background: rgba(245, 240, 230, 0.97); box-shadow: 0 1px 0 rgba(28, 42, 33, 0.06); }

/* ---------- v2.13 Press-strip + outcome accents on brass ----------------- */
.press-label { color: var(--brass); }
.outcome-feature-headline em { color: var(--brass); }

/* ---------- v2.14 Tweak: announcement bar tracking + tagline color ------- */
.announce-bar { letter-spacing: 0.2em; }

