/* ============================================
   SageTechTN Production CSS
   BUILD-004 Phase 4: Design and Branding
   Design Canon: mark-aesthetic.md
   Approved by Father: April 6, 2026
   ============================================ */

/* --- Fonts: self-hosted latin woff2 (Merriweather + Source Sans 3 variable), copied to /fonts/ at build ---
   ----------------------------------------- */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://media.beargrassai.com/sagetechtn/fonts/merriweather-latin.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://media.beargrassai.com/sagetechtn/fonts/merriweather-latin.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://media.beargrassai.com/sagetechtn/fonts/sourcesans3-latin.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('https://media.beargrassai.com/sagetechtn/fonts/sourcesans3-latin.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://media.beargrassai.com/sagetechtn/fonts/sourcesans3-latin.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://media.beargrassai.com/sagetechtn/fonts/sourcesans3-latin.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* CiC: prevent horizontal scroll from header flex overflow on narrow viewports */
  overflow-x: hidden;
}

/* ============================================
   DESIGN TOKENS
   Canon: intention density over defaults.
   Every value is a deliberate choice.
   ============================================ */
/* Readable column width for body copy (centered in max-width container) */
:root {
  /* --- Backgrounds: Nashville Warm Cream ---
     "What color is my cream?" Southern afternoon light.
     Tinted toward sage at near-imperceptible saturation. */
  --bg-cream: #FBF6EF;
  --bg-warm: #F5EDE2;
  --bg-tinted: #EDE5DA;
  --bg-white: #FFFCF8;

  /* --- Text: warm near-blacks, never pure black --- */
  --text-primary: #2C2926;
  --text-secondary: #5C554E;
  --text-light: #8A837B;
  --text-on-dark: #F5EDE2;

  /* --- Accent: Sage Teal (from logo) --- */
  --color-accent: #45968A;
  --color-accent-hover: #3D8A7A;
  --color-accent-dark: #2D6B5F;
  --color-accent-light: #DCF0EA;
  --color-accent-subtle: rgba(74, 158, 142, 0.08);
  --color-accent-glow: rgba(74, 158, 142, 0.20);

  /* --- Warm Accent: Nashville Gold --- */
  --color-warm: #C8943E;
  --color-warm-light: #FEF3E5;
  --color-warm-subtle: rgba(200, 148, 62, 0.10);

  /* --- Borders: accent-derived, not flat gray --- */
  --border-light: rgba(74, 158, 142, 0.12);
  --border-warm: rgba(200, 148, 62, 0.15);
  --border-accent: rgba(74, 158, 142, 0.25);

  /* --- Shadows: brand-warm, sage-tinted ---
     Canon: "shadows are part of the palette."
     Never rgba(0, 0, 0, ...). */
  --shadow-sm: 0 1px 4px rgba(74, 110, 90, 0.08), 0 1px 2px rgba(74, 110, 90, 0.04);
  --shadow-md: 0 4px 16px rgba(74, 110, 90, 0.10), 0 2px 4px rgba(74, 110, 90, 0.06);
  --shadow-lg: 0 8px 32px rgba(74, 110, 90, 0.12), 0 4px 8px rgba(74, 110, 90, 0.06);
  --shadow-glow: 0 0 24px rgba(74, 158, 142, 0.12), 0 0 48px rgba(200, 148, 62, 0.06);

  /* --- Footer: dark sage forest --- */
  --footer-bg: #1E3330;
  --footer-text: #E8E0D6;
  --footer-accent: #5AAFA0;

  /* --- Typography --- */
  --font-display: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-hero: clamp(2.2rem, 4vw, 3.2rem);
  --font-size-h2: clamp(1.6rem, 3vw, 2.2rem);
  --font-size-h3: clamp(1.2rem, 2vw, 1.5rem);
  --font-size-body: 1.125rem;
  --font-size-sm: 0.9375rem;
  --font-size-lg: 1.25rem;
  --font-size-xs: 0.8125rem;
  --line-height-body: 1.75;
  --line-height-heading: 1.3;

  /* --- Spacing & Layout --- */
  --max-width: 1100px;
  /* Wider measure for section intros; keeps rhythm with 1100px container */
  --prose-max: 80ch;
  --nav-height: 72px;
  --section-pad: clamp(3rem, 6vw, 5rem);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  /* --- Components --- */
  --card-radius: 10px;
  --button-radius: 8px;
  --touch-target: 48px;

  /* Atmospheric texture (Visual QA Round 2: FD-2, BG-1) + coarse offset grid for depth */
  --dot-matrix: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='1' fill='%2345968A' opacity='0.09'/%3E%3C/svg%3E");
  --dot-matrix-coarse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='1.1' fill='%2345968A' opacity='0.055'/%3E%3C/svg%3E");
  --dot-matrix-warm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='1' fill='%23C8943E' opacity='0.075'/%3E%3C/svg%3E");
  --dot-matrix-warm-coarse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='1.1' fill='%23C8943E' opacity='0.06'/%3E%3C/svg%3E");
}

/* ============================================
   BODY
   ============================================ */
body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--text-primary);
  background-color: var(--bg-cream);
  background-image: var(--dot-matrix), var(--dot-matrix-coarse);
  background-repeat: repeat, repeat;
  background-position: 0 0, 16px 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--text-primary);
}

h1 { font-size: var(--font-size-hero); margin-bottom: var(--space-sm); }
h2 { font-size: var(--font-size-h2); margin-bottom: var(--space-sm); }
h3 { font-size: var(--font-size-h3); margin-bottom: var(--space-xs); }

/* Body copy: centered column (was max-width without auto margins = ragged left in wide layout) */
p {
  margin-bottom: var(--space-sm);
  max-width: min(var(--prose-max), 100%);
  margin-left: auto;
  margin-right: auto;
}

/* Main headings: use full container band so titles align with 1100px grid */
main .section .container :is(h1, h2, h3, h4) {
  max-width: min(var(--max-width), 100%);
  margin-left: auto;
  margin-right: auto;
}

/* Stack sections: titles optically centered (short headings in a centered measure) */
/* Round 2 UX-5: gradient paint swatch; fit-content keeps swatch under the title line */
main .section .container > h2 {
  text-align: center;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 0;
}
main .section .container > h2:not(:focus-visible)::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -8px;
  right: -8px;
  height: 10px;
  background: linear-gradient(90deg, rgba(200, 148, 62, 0.12), rgba(74, 158, 142, 0.08));
  border-radius: 4px;
  z-index: -1;
}

/* Cards and split hero: headings use full component width (beats rule above via extra class) */
main .section .container .guarantee-box :is(h1, h2, h3, h4),
main .section .container .service-category-collapsible .service-category-title,
main .section .container .service-category :is(h1, h2, h3, h4),
main .section .container .faq-summary :is(h1, h2, h3, h4),
main .section .container .service-item :is(h1, h2, h3, h4),
main .section .container .feature-card :is(h1, h2, h3, h4),
main .section .container .process-step :is(h1, h2, h3, h4),
main .section .container .contact-method :is(h1, h2, h3, h4) {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

main .section .container .service-item p,
main .section .container .feature-card p,
main .section .container .process-step p,
main .section .container .contact-method p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

main .about-hero .about-hero__text :is(h1, h2, h3, h4) {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

main .about-hero .about-hero__text p.about-hero__lead {
  margin-left: 0;
  margin-right: 0;
  max-width: min(52ch, 100%);
}

.site-footer p,
.site-footer :is(h1, h2, h3, h4) {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Chatbot bubbles: do not inherit prose column constraints */
.chatbot-messages p,
.chatbot-messages h4,
.chatbot-input-area p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* ============================================
   ENH-005: LINK STYLE MATRIX (3 patterns)
   1. Nav: no underline, accent on hover/active
   2. Body inline: underline + offset, accent color
   3. Footer on dark: no underline, footer-accent, underline on hover
   ============================================ */
a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(69, 150, 138, 0.4);
  text-underline-offset: 2px;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}
a:hover, a:focus {
  color: var(--color-accent-hover);
  text-decoration-color: var(--color-accent-hover);
}
a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================
   PER-WORD COLOR GRADATION
   Canon: discrete steps at semantic boundaries.
   ============================================ */
.grad-word { display: inline; }
/* Round 2 BG-2: per-word hero h1 (palette-native steps) */
.grad-w1 { color: var(--color-accent-dark); }
.grad-w2 { color: var(--color-accent); }
.grad-w3 { color: var(--color-warm); }
.grad-w4 { color: var(--text-primary); }

.grad-warm-w1 { color: var(--text-primary); }
.grad-warm-w2 { color: #6B6040; }
.grad-warm-w3 { color: #9E7E3E; }
.grad-warm-w4 { color: var(--color-warm); }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.125rem, 4vw, 1.75rem);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  min-height: var(--nav-height);
  /* Round 2 UX-4: glass-edge separation from hero */
  border-bottom: 1px solid rgba(74, 158, 142, 0.10);
  box-shadow: 0 1px 0 rgba(200, 148, 62, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.site-logo:hover {
  text-decoration: none;
  color: var(--color-accent-hover);
}
.site-logo__mark {
  height: 48px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}
.site-logo:hover .site-logo__mark,
.site-logo:focus-visible .site-logo__mark {
  opacity: 0.92;
}
.site-logo:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: var(--space-xs) 0;
  transition: color 200ms ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}
.nav-links a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Nav phone button */
.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--font-size-sm);
  padding: 0.5rem 1rem;
  border-radius: var(--button-radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms ease, box-shadow 200ms ease;
  box-shadow: var(--shadow-sm);
  min-height: var(--touch-target);
}
.nav-phone-btn:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.nav-phone-btn:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
  border-radius: var(--button-radius);
}
.nav-phone-btn__icon {
  flex-shrink: 0;
}
.nav-phone-btn__text {
  line-height: 1;
}

/* Keeps Call + menu adjacent on the right (mobile and desktop) */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* NO DRAWER, and no script. v1 toggled a drawer with a 285-byte inline script, which editor 2
   forbids. A <details>/<summary> disclosure was tried and is WRONG: a closed <details> hides its
   own content by a mechanism CSS cannot override, so the nav vanished above 767px entirely.
   Measured 2026-09-01: nav bounding box 0x0 at 1280/1024/768.
   Five links wrap onto a second row on a phone. For an audience of seniors that is better than a
   hamburger anyway -- nothing to discover, nothing to tap twice. */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  color: var(--text-primary);
}

@media (max-width: 767px) {
  .site-header .container {
    gap: 0.35rem;
    min-width: 0;
    flex-wrap: wrap;          /* the nav drops to a row of its own */
    height: auto;
    padding-block: 0.5rem;
  }
  .site-logo {
    min-width: 0;
    flex-shrink: 1;
  }
  .site-logo__mark {
    max-width: min(200px, 46vw);
  }
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;      /* NOT column: five stacked 48px links overflow a fixed-height header */
    justify-content: center;
    position: static;
    width: 100%;
    order: 3;
    gap: 0.25rem;
    padding: 0.25rem 0;
  }
  .nav-links a { display: block; min-height: var(--touch-target); min-width: var(--touch-target);
    display: flex; align-items: center; justify-content: center; padding: 0 0.75rem; }
  .nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .nav-phone-btn {
    display: inline-flex;
    flex-shrink: 0;
    padding: 0.45rem 0.65rem;
    font-size: 0.8125rem;
    gap: 0.35rem;
    min-height: 44px;
  }

  /* CiC: inline tel links meet ~44px minimum tap target */
  .footer-phone a[href^="tel:"],
  .chatbot-fallback a[href^="tel:"],
  .section--cta-center a[href^="tel:"],
  a.tel-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem 0.65rem;
    box-sizing: border-box;
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-pad) 0;
}
/* Round 2 FD-4 + BG-1: warm sections get gold dots + soft radials on warm base */
.section--alt {
  background-color: var(--bg-warm);
  background-image:
    var(--dot-matrix-warm),
    var(--dot-matrix-warm-coarse),
    radial-gradient(ellipse at 30% 50%, rgba(200, 148, 62, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(74, 158, 142, 0.06) 0%, transparent 45%);
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  background-position: 0 0, 16px 16px, 50% 50%, 50% 50%;
  background-size: auto, auto, 140% 100%, 140% 100%;
}


/* ============================================
   SVG SECTION DIVIDER (leaf + hairlines)
   Leaf stroke uses currentColor: warm gold on cream, sage teal on warm bands.
   Dividers that introduce section--alt carry the same surface as the next block
   so we do not stack “stripe + leaf + new background.”
   ============================================ */
.section-divider {
  text-align: center;
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
  padding-bottom: clamp(0.5rem, 1.5vw, 1rem);
  line-height: 0;
  color: var(--color-warm);
}
/* Entering a warm section: divider is the start of the warm band; leaf reads in teal */
.section-divider:has(+ .section.section--alt) {
  background-color: var(--bg-warm);
  background-image:
    var(--dot-matrix-warm),
    var(--dot-matrix-warm-coarse),
    radial-gradient(ellipse at 30% 50%, rgba(200, 148, 62, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(74, 158, 142, 0.06) 0%, transparent 45%);
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  background-position: 0 0, 16px 16px, 50% 50%, 50% 50%;
  background-size: auto, auto, 140% 100%, 140% 100%;
  color: var(--color-accent);
}
/* Leaving a warm section: divider returns to cream field (matches body) before plain sections */
.section--alt + .section-divider:has(+ .section:not(.section--alt)) {
  background-color: var(--bg-cream);
  background-image: var(--dot-matrix), var(--dot-matrix-coarse);
  background-repeat: repeat, repeat;
  background-position: 0 0, 16px 16px;
  color: var(--color-accent);
}

.section-divider + section {
  padding-top: clamp(2rem, 5vw, 3rem);
}
.section-divider--compact {
  padding: 0.5rem 0;
}
.section-divider svg {
  width: 100%;
  max-width: 600px;
  height: auto;
}
.section-divider--compact svg {
  max-width: 300px;
  opacity: 0.85;
}

/* ============================================
   HERO
   Canon: "the hero answers the question: where am I?"
   ============================================ */
.hero {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

/* Atmospheric depth: stronger radials + slow breathe (reduced motion at end of stylesheet) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 40% 35%, rgba(74, 158, 142, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 65% 55%, rgba(200, 148, 62, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(74, 158, 142, 0.10) 0%, transparent 40%),
    var(--dot-matrix) repeat,
    var(--dot-matrix-coarse) repeat;
  background-position: 0 0, 0 0, 0 0, 0 0, 16px 16px;
  pointer-events: none;
}

/* Round 2 FD-3: grain visible on cream (slope + layer opacity) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.12'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}


.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: var(--font-size-hero);
}
/* ENH-002: tagline demoted from h2 to p.hero-tagline */
.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: var(--line-height-body);
  max-width: min(var(--prose-max), 100%);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-sm);
}
/* Legacy .hero h2 kept for any remaining semantic h2 in heroes */
.hero h2 {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: var(--line-height-body);
  max-width: min(var(--prose-max), 100%);
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  max-width: min(var(--prose-max), 100%);
  margin-left: auto;
  margin-right: auto;
  font-size: var(--font-size-body);
  color: var(--text-secondary);
}

/* Split hero layout */
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
  }
  .hero__text { flex: 1 1 50%; }
  .hero__photos { flex: 1 1 50%; }
}

.hero__photos {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: var(--space-md);
}
.hero__photos .hero__placeholder-img {
  max-width: min(100%, 420px);
  width: 100%;
  height: auto;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  object-fit: contain;
  background: var(--bg-white);
}

/* Homepage "now" photo: square frame, full-color cover crop (ENH hero polish) */
.hero__photo-square {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  flex-shrink: 0;
}
.hero__photo-square-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}

/* 2026 founder portrait (tall JPEG): bias crop toward upper third in square frame */
.hero__photo-square-img--founder-2026 {
  object-position: 50% 28%;
}

.hero__photo-placeholder {
  width: 200px;
  height: 240px;
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--text-light);
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

.hero__photo-placeholder--vintage {
  background: var(--bg-tinted);
  border: 1px solid var(--border-warm);
}

.hero__photo-placeholder--current {
  background: var(--color-accent-light);
  border: 1px solid var(--border-accent);
}

/* Centered hero (non-split) */
.hero--centered {
  text-align: center;
}
.hero--centered h1,
.hero--centered h2,
.hero--centered p {
  margin-left: auto;
  margin-right: auto;
}

.hero--vignette-bottom::before {
  background:
    radial-gradient(ellipse at 40% 35%, rgba(74, 158, 142, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 65% 55%, rgba(200, 148, 62, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(74, 158, 142, 0.10) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(251, 246, 239, 0) 70%, rgba(245, 237, 226, 0.4) 100%),
    var(--dot-matrix) repeat,
    var(--dot-matrix-coarse) repeat;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 16px 16px;
}

/* Round 2 UX-1: grain on ::after (dots live on ::before + body so they are not doubled) */
.hero--centered::after,
.hero--split-home::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.12'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.8;
}

/* Home: split hero on tablet+ (headline leads; photos sit beside copy instead of a tall stack) */
.hero--split-home .hero__inner {
  align-items: center;
}
.hero--split-home .hero__text {
  text-align: center;
  width: 100%;
}
.hero--split-home .hero__text .hero-eyebrow,
.hero--split-home .hero__text h1,
.hero--split-home .hero__text p,
.hero--split-home .hero__text .hero-tagline-bar,
.hero--split-home .hero__text .hero-cta-group,
.hero--split-home .hero__text .hero-micro-trust {
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .hero--split-home .hero__text {
    text-align: left;
    flex: 1 1 52%;
    min-width: 0;
  }
  .hero--split-home .hero__text .hero-eyebrow,
  .hero--split-home .hero__text h1,
  .hero--split-home .hero__text p,
  .hero--split-home .hero__text .hero-tagline-bar,
  .hero--split-home .hero__text .hero-cta-group,
  .hero--split-home .hero__text .hero-micro-trust {
    margin-left: 0;
    margin-right: 0;
  }
  /* Fill the text column so rhythm matches lower sections (no extra narrow measure). */
  .hero--split-home .hero__text p:not(.hero-micro-trust) {
    max-width: none;
  }
  .hero--split-home .hero-cta-group {
    justify-content: flex-start;
  }
  .hero--split-home .hero__inner .hero__photos {
    flex: 1 1 44%;
    margin-bottom: 0;
    margin-top: 0;
    justify-content: flex-start;
    align-items: center;
    gap: var(--space-md);
  }
}
/* Then/now: vertical stack, 16:9 frames, cover crop (home hero right column) */
.hero--split-home .hero__photos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.hero--split-home .hero__photo-figure {
  margin: 0;
  width: 100%;
  max-width: min(100%, 440px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 16:9 frame; cover fills the card (minor crop vs native aspect) */
.hero--split-home .hero__photo-square-img--vintage,
.hero--split-home .hero__photo-square-img--founder-2026 {
  object-fit: cover;
  object-position: center;
}
.hero--split-home .hero__photo-square {
  width: 100%;
  max-width: min(100%, 440px);
  aspect-ratio: 16 / 9;
}
@media (min-width: 768px) {
  .hero--split-home .hero__photo-figure,
  .hero--split-home .hero__photo-square {
    max-width: min(100%, 420px);
  }
}
@media (max-width: 767px) {
  .hero--split-home .hero__inner .hero__photos {
    margin-top: var(--space-md);
    margin-bottom: 0;
  }
}

/* Hero eyebrow */
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-xs);
}

.hero-value-prop {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.hero--split-home .hero-value-prop {
  font-style: italic;
}
.about-hero .hero-tagline {
  font-style: italic;
}

.hero-tagline-bar {
  border-left: 3px solid var(--color-warm);
  padding-left: var(--space-sm);
  margin: var(--space-md) auto;
  max-width: fit-content;
}
.hero-tagline-bar .hero-tagline {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.hero-micro-trust {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  color: var(--text-light);
  margin-top: var(--space-sm);
  letter-spacing: 0.02em;
}

.hero__photo-figure {
  text-align: center;
}
.hero__photo-caption {
  font-family: var(--font-display);
  font-size: var(--font-size-xs);
  color: var(--color-warm);
  margin-top: var(--space-xs);
  font-style: italic;
}

/* About page: split hero with portrait */
.about-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 768px) {
  .about-hero__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .about-hero__text {
    flex: 1 1 55%;
  }
  .about-hero__photo {
    flex: 0 1 40%;
    max-width: 380px;
  }
}
.about-hero__text h1 {
  margin-bottom: var(--space-sm);
}
.about-hero__text h2 {
  margin-bottom: var(--space-md);
}
.about-hero__lead {
  font-size: var(--font-size-body);
  color: var(--text-secondary);
  line-height: var(--line-height-body);
  max-width: 52ch;
}
.about-hero__img {
  width: 100%;
  height: auto;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: block;
}
.section--cta-center {
  text-align: center;
}
.section--cta-center p {
  margin-left: auto;
  margin-right: auto;
  max-width: 52ch;
}

/* Services: chatbot is the main action */
.chatbot-section--prominent {
  scroll-margin-top: calc(var(--nav-height) + 8px);
}
.chatbot-section--prominent .chatbot-container {
  max-width: min(680px, 100%);
}
.chatbot-section--prominent .chatbot-messages {
  min-height: 260px;
  height: min(50vh, 460px);
}
@media (max-width: 767px) {
  .chatbot-section--prominent .chatbot-messages {
    height: min(55vh, 520px);
  }
}
.services-written-intro {
  max-width: min(62ch, 100%);
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-body);
}
.services-written-intro a {
  color: var(--color-accent);
  font-weight: 600;
}
#all-services-written {
  scroll-margin-top: calc(var(--nav-height) + 12px);
}
.hero.section a:not(.cta-button) {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(69, 150, 138, 0.35);
  text-underline-offset: 2px;
}
.hero.section a:not(.cta-button):hover {
  color: var(--color-accent-hover);
}
/* Hero links are styled as teal inline links; solid CTAs stay white (Round 3 N3: exclude outline from fill rule). */
.hero a.cta-button:not(.cta-button--outline),
.hero a.cta-button:not(.cta-button--outline):link,
.hero a.cta-button:not(.cta-button--outline):visited,
.hero .cta-button:not(.cta-button--outline) {
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  text-decoration: none;
}
.hero a.cta-button:not(.cta-button--outline):hover,
.hero a.cta-button:not(.cta-button--outline):focus-visible,
.hero .cta-button:not(.cta-button--outline):hover,
.hero .cta-button:not(.cta-button--outline):focus-visible {
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
}

/* Extra specificity so WebKit never inherits solid-CTA white fill on outline (PicViewer / mobile QA) */
.hero.section .hero__text a.cta-button.cta-button--outline,
.hero.section .hero__text a.cta-button.cta-button--outline:link,
.hero.section .hero__text a.cta-button.cta-button--outline:visited {
  color: var(--color-accent);
  -webkit-text-fill-color: var(--color-accent);
}
.hero.section .hero__text a.cta-button.cta-button--outline:hover,
.hero.section .hero__text a.cta-button.cta-button--outline:focus-visible {
  color: var(--color-accent-hover);
  -webkit-text-fill-color: var(--color-accent-hover);
}

/* ============================================
   CTA BUTTON
   ============================================ */
.cta-button {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 600;
  padding: 0.875rem 2rem;
  text-decoration: none;
  border: none;
  border-radius: var(--button-radius);
  min-height: var(--touch-target);
  cursor: pointer;
  transition: all 200ms ease;
  box-shadow: var(--shadow-sm);
}
/* Primary phone CTAs: same handset + label pattern as .nav-phone-btn */
.cta-button--call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.cta-button--call .nav-phone-btn__icon {
  flex-shrink: 0;
}
.cta-button:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.cta-button:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}

/* Outline / secondary CTA: 1px teal border + shadow (must follow .cta-button so border is not cleared). */
.cta-button.cta-button--outline {
  background: var(--bg-white);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.cta-button.cta-button--outline:hover {
  background: var(--color-accent-subtle);
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.cta-button.cta-button--outline:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}

.cta-button--warm {
  background: var(--color-warm);
}
.cta-button--warm:hover {
  background: #B8842F;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  padding: var(--section-pad) 0;
  text-align: center;
}
/* When testimonial is not on an alt band, keep flat warm (rare layout) */
.testimonial:not(.section--alt) {
  background: var(--bg-warm);
}
.testimonial blockquote {
  max-width: min(var(--max-width), 100%);
  margin: 0 auto var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-style: italic;
  line-height: 1.8;
  color: var(--text-primary);
  /* Round 2 UX-3 */
  box-shadow: inset 0 0 30px rgba(74, 158, 142, 0.05);
  border-radius: var(--card-radius);
}
.testimonial blockquote p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.testimonial cite {
  color: var(--text-light);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--font-size-sm);
}

/* ============================================
   CHATBOT
   Messaging-app feel: avatar header, quick actions, conversational bubbles.
   ============================================ */
.chatbot-section {
  padding: var(--section-pad) 0;
  text-align: center;
}
/* Lead + fallback: same 1100px band as headings, not global prose measure */
.chatbot-section .container > p {
  max-width: min(var(--max-width), 100%);
}
.chatbot-container {
  position: relative;
  z-index: 101;
  max-width: min(var(--max-width), 100%);
  margin: var(--space-md) auto 0;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-white);
  /* Round 2 BG-5: sage halo */
  box-shadow:
    var(--shadow-lg),
    0 0 60px rgba(74, 158, 142, 0.10),
    0 0 120px rgba(74, 158, 142, 0.05);
}

.chatbot-header {
  background: var(--color-accent);
  color: #fff;
  padding: 0.875rem var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chatbot-avatar-wrap {
  flex-shrink: 0;
}
.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}
.chatbot-header-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.chatbot-header-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--font-size-body);
  line-height: 1.2;
}
.chatbot-header-sub {
  font-size: var(--font-size-xs);
  opacity: 0.8;
  font-weight: 400;
}

.chatbot-messages {
  height: 320px;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: var(--bg-cream);
}
@media (max-width: 767px) {
  .chatbot-messages { height: 360px; }
}
.chatbot-message {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: var(--font-size-sm);
  line-height: 1.6;
}
.chatbot-message--bot {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chatbot-message--typing {
  font-style: italic;
  opacity: 0.92;
  color: var(--text-secondary);
}
.chatbot-message--user {
  background: var(--color-accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chatbot-message--match {
  max-width: 92%;
}
.chatbot-message--match h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-accent-dark);
  font-family: var(--font-display);
}
.chatbot-message--match ul {
  list-style: none;
  padding: 0;
  margin-top: var(--space-xs);
}
.chatbot-message--match li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--font-size-sm);
}
.chatbot-message--match li:last-child { border-bottom: none; }

.chatbot-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.75rem var(--space-md);
  background: var(--bg-cream);
  border-top: 1px solid var(--border-light);
}
.chatbot-quick-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: all 200ms ease;
  min-height: var(--touch-target);
}
.chatbot-quick-btn:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.chatbot-quick-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.chatbot-quick-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.chatbot-quick-icon svg {
  display: block;
}

.chatbot-input-area {
  display: flex;
  border-top: 1px solid var(--border-light);
  padding: 0.75rem;
  gap: 0.5rem;
  background: var(--bg-white);
}
.chatbot-input {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 0.625rem 1rem;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  min-height: var(--touch-target);
  background: var(--bg-cream);
}
.chatbot-input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: -1px;
  border-color: var(--color-accent);
}
.chatbot-send {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--font-size-sm);
  cursor: pointer;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  transition: background 200ms ease, box-shadow 200ms ease;
  box-shadow: var(--shadow-sm);
}
.chatbot-send:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
}
.chatbot-send:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}
.chatbot-fallback {
  text-align: center;
  padding: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-light);
}
.chatbot-fallback a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================
   GUARANTEE
   Canon: Nashville Gold for trust signals.
   ============================================ */
.guarantee {
  padding: var(--section-pad) 0;
}
.guarantee-box {
  background: var(--color-warm-light);
  border: 1px solid var(--border-warm);
  border-left: 4px solid var(--color-warm);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: 1.5rem 2rem;
  max-width: min(var(--max-width), 100%);
  margin: 0 auto;
  text-align: center;
  /* Round 2 UX-3 */
  box-shadow: inset 0 0 40px rgba(200, 148, 62, 0.06), var(--shadow-sm);
}
.guarantee-box :is(h2, h3) {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.guarantee-box p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   AUDIENCE SECTIONS
   ============================================ */
.audience {
  padding: var(--section-pad) 0;
}
.audience .feature-card-grid {
  max-width: min(72rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   ABOUT JOURNEY (P1 V2: timeline + icons)
   ============================================ */
.about-journey-timeline {
  max-width: min(42rem, 100%);
  margin-left: auto;
  margin-right: auto;
}
.journey-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md) var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-lg);
  text-align: left;
}
.journey-section:last-child {
  margin-bottom: 0;
}
.journey-section__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 2.5rem;
  min-height: 100%;
}
.journey-section__dot {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.journey-section__line {
  flex: 1;
  width: 2px;
  min-height: var(--space-md);
  margin: 0.35rem 0;
  background: linear-gradient(
    180deg,
    rgba(74, 158, 142, 0.45),
    rgba(200, 148, 62, 0.35)
  );
  border-radius: 1px;
}
.journey-section:last-child .journey-section__line {
  display: none;
}
.journey-section__body {
  min-width: 0;
}
.journey-section__body h3 {
  font-family: var(--font-display);
  color: var(--color-accent);
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

/* ============================================
   PHILOSOPHY (feature cards + icon badges)
   ============================================ */
.philosophy-card-grid {
  max-width: min(72rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CARDS
   Canon: lift + accent border + glow shadow.
   translateY(-4px). Accent bar: solid sage or gold, no blend.
   ============================================ */

/* CANON-LIFT-START: shared hover lift (keep pair in sync when tuning motion or shadow)
 * Consumers: .card, .feature-card, .process-step, .contact-method
 * Canon ref: BeargrassAI/design-cannon/design-canon.html #cards
 */
.card,
.feature-card,
.process-step,
.contact-method {
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.card:hover,
.feature-card:hover,
.process-step:hover,
.contact-method:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px var(--color-accent-glow);
}
/* CANON-LIFT-END */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
}
.card p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* Feature cards: icon-in-circle + wall-of-text relief (Home audience, About philosophy, shared shell) */
.feature-card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .feature-card-grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}
.feature-card__badge {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 10px rgba(69, 150, 138, 0.22);
}
.feature-card__badge svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: #fff;
  color: #fff;
}
.feature-card__badge--sm {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: var(--space-xs);
}
.feature-card__badge--sm svg {
  width: 1.45rem;
  height: 1.45rem;
}
.feature-card__title {
  font-family: var(--font-display);
  color: var(--color-accent);
  margin: 0 0 var(--space-xs);
  font-size: var(--font-size-h3);
  line-height: var(--line-height-heading);
}
.feature-card__body {
  color: var(--text-secondary);
  font-size: var(--font-size-body);
  line-height: 1.65;
  margin: 0;
  text-align: center;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-accent-bar {
  height: 3px;
  border-radius: 3px 3px 0 0;
  margin: -1.75rem -1.75rem 1.25rem;
}
.card-accent-bar--sage { background: var(--color-accent); }
.card-accent-bar--gold { background: var(--color-warm); }

/* ============================================
   SERVICE CATEGORIES
   ============================================ */
/* ENH-004: service cards constrained to prose measure, centered */
.service-category {
  margin-bottom: var(--space-lg);
  margin-left: auto;
  margin-right: auto;
  max-width: min(700px, 100%);
  padding: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  transition: all 250ms ease;
}
.service-category:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
}
.service-category h3 {
  font-family: var(--font-display);
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}
.service-item {
  margin-bottom: var(--space-md);
}
.service-item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--font-size-body);
  margin-bottom: var(--space-xs);
}

.service-category-collapsible {
  margin-bottom: var(--space-sm);
  margin-left: auto;
  margin-right: auto;
  max-width: min(700px, 100%);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 250ms ease;
}
.service-category-collapsible[open] {
  border-color: var(--border-accent);
}
.service-category-summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-category-summary::-webkit-details-marker { display: none; }
.service-category-summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 400;
  transition: transform 200ms ease;
  flex-shrink: 0;
}
.service-category-collapsible[open] .service-category-summary::after {
  content: '\2212';
}
.service-category-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--font-size-h3);
  line-height: var(--line-height-heading);
  color: var(--color-accent);
  margin: 0;
}
.service-category-body {
  padding: 0 1.5rem 1.5rem;
}
.service-category-body .service-item:last-child {
  margin-bottom: 0;
}

/* Services: "How It Works" closing callout + tel CTA */
.process-cta-callout {
  margin-top: var(--space-xl);
  margin-left: auto;
  margin-right: auto;
  max-width: min(36rem, 100%);
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2rem);
  background: var(--color-accent-light);
  border: 1px solid var(--border-accent);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
}
.process-cta-callout__lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--text-primary);
  margin: 0 0 var(--space-md);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.process-cta-callout__button {
  font-size: var(--font-size-lg);
  padding: 1rem 2.25rem;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}
.process-step {
  text-align: center;
  padding: 1.5rem 1.25rem;
}

.feature-card--align-start {
  text-align: left;
  align-items: flex-start;
}
.feature-card--align-start .feature-card__badge {
  margin-left: 0;
  margin-right: auto;
}
.feature-card--align-start .feature-card__title {
  width: 100%;
}
.feature-card--align-start .feature-card__body {
  text-align: left;
  width: 100%;
  align-items: flex-start;
}

/* ============================================
   FAQ
   ============================================ */
/* ENH-004: FAQ list pages may use faq-items (legacy) or faq-accordions (two-column desktop) */
.faq-items {
  max-width: min(var(--prose-max), 100%);
  margin-left: auto;
  margin-right: auto;
}

/* FAQ page: full container width; two columns on desktop */
.faq-accordions {
  width: 100%;
  max-width: min(var(--max-width), 100%);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) {
  .faq-accordions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: start;
  }
  .faq-accordions .faq-details {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}
.faq-items .faq-item p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-md) 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--font-size-body);
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}
.faq-answer {
  color: var(--text-secondary);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.faq-details {
  margin-bottom: var(--space-sm);
  margin-left: auto;
  margin-right: auto;
  max-width: min(var(--prose-max), 100%);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 250ms ease;
}
.faq-details[open] {
  border-color: var(--border-accent);
}
.faq-summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 400;
  flex-shrink: 0;
}
.faq-details[open] .faq-summary::after {
  content: '\2212';
}
.faq-summary-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--font-size-body);
  line-height: var(--line-height-heading);
  color: var(--text-primary);
  text-align: left;
}
/* FAQ question as real heading (h3); keep summary layout, not default h3 size */
.faq-summary h3.faq-summary-text {
  margin: 0;
  font-size: var(--font-size-body);
  font-weight: 700;
}
.faq-details-body {
  padding: 0 1.5rem 1.5rem;
}
.faq-details-body p {
  margin-bottom: 0;
  color: var(--text-secondary);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.classes-registration-note {
  max-width: min(var(--prose-max), 100%);
  margin: 0 auto var(--space-lg);
  padding: 1.25rem 1.5rem;
  background: var(--color-warm-light);
  border: 1px solid var(--border-warm);
  border-left: 3px solid var(--color-warm);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
}
.classes-registration-note p {
  margin-bottom: 0;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.form-group {
  margin-bottom: var(--space-md);
}
.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: var(--font-size-sm);
  font-family: var(--font-body);
  min-height: var(--touch-target);
  background: var(--bg-white);
  color: var(--text-primary);
  transition: border-color 200ms ease;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: -1px;
  border-color: var(--color-accent);
}
.form-helper {
  font-size: var(--font-size-xs);
  color: var(--text-light);
  margin-top: 4px;
}
.required-abbr {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
  cursor: help;
}
.optional-label {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.9em;
}
.form-fieldset {
  border: none;
  margin: 0 0 var(--space-md);
  padding: 0;
}
.form-fieldset legend {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  padding: 0;
}

.radio-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
/* Input and label are siblings; align the pair (label-only flex missed the control). */
.radio-option {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-xs);
  min-height: var(--touch-target);
}
.radio-group label {
  font-weight: 400;
  cursor: pointer;
}
.radio-group input[type="radio"] {
  width: 20px;
  height: 20px;
  min-height: auto;
  accent-color: var(--color-accent);
}

/* ============================================
   CONTACT METHODS
   ============================================ */
.contact-methods {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .contact-methods {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    align-items: stretch;
  }
}
.contact-method {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
}
.contact-method p:last-child {
  margin-bottom: 0;
}
.contact-method .feature-card__title {
  font-family: var(--font-display);
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}
.contact-method .phone-number {
  font-family: var(--font-display);
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-accent);
}

/* ============================================
   CLASSES
   ============================================ */
.class-listing {
  padding: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all 250ms ease;
}
.class-listing:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
}
.class-listing h3 {
  font-family: var(--font-display);
  color: var(--color-accent);
}
.class-detail {
  display: grid;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}
.class-detail dt {
  font-weight: 600;
  color: var(--text-primary);
}
.class-detail dd {
  margin-left: 0;
  color: var(--text-secondary);
}
.placeholder-tag {
  display: inline-block;
  background: var(--color-warm-light);
  color: var(--color-warm);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  border: 1px solid var(--border-warm);
}

/* ============================================
   PASSWORD GATE
   ============================================ */
.password-gate {
  padding: var(--space-lg);
  background: var(--bg-warm);
  border-radius: var(--card-radius);
  text-align: center;
  margin-top: var(--space-lg);
  border: 1px solid var(--border-light);
}
.password-gate h2 {
  font-family: var(--font-display);
}
.password-gate input {
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  min-height: var(--touch-target);
  width: 280px;
  max-width: 100%;
  background: var(--bg-white);
}
.password-gate input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: -1px;
}
.password-gate button {
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--button-radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--font-size-sm);
  min-height: var(--touch-target);
  margin-left: var(--space-xs);
  transition: background 200ms ease;
}
.password-gate button:hover {
  background: var(--color-accent-hover);
}
.password-error-msg {
  color: #b42318;
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
}
.password-error-msg[hidden] {
  display: none !important;
}
.gate-announce {
  min-height: 1.25em;
  margin: var(--space-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.resource-hub { display: none; }
.resource-hub.visible { display: block; }
.resource-class {
  margin-bottom: var(--space-lg);
}
.resource-class h3 {
  font-family: var(--font-display);
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.resource-list {
  list-style: none;
  padding: 0;
}
.resource-list li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.resource-list li:last-child { border-bottom: none; }

/* ============================================
   TESTIMONIAL PLACEHOLDER
   ============================================ */
.testimonial-placeholder {
  padding: 1.5rem;
  background: var(--bg-warm);
  border-left: 3px solid var(--color-warm);
  margin-bottom: var(--space-md);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
}

/* ============================================
   FOOTER
   Canon: dark sage forest, not black.
   ============================================ */
.site-footer {
  /* Round 2 BG-3 + BG-4 */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='0.7' fill='%235AAFA0' opacity='0.08'/%3E%3C/svg%3E") repeat,
    var(--footer-bg);
  color: var(--footer-text);
  padding: var(--space-xl) 0;
  border-top: 3px solid var(--color-warm);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.footer-logo {
  display: inline-block;
  text-decoration: none;
}
.footer-logo__img {
  height: 40px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.footer-logo:hover .footer-logo__img {
  opacity: 0.85;
}
.footer-logo:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
}
@media (max-width: 767px) {
  .footer-grid {
    gap: var(--space-sm);
    justify-items: center;
  }
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  .footer-logo__img {
    object-position: center center;
    margin-inline: auto;
  }
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
  }
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
    justify-content: space-between;
    column-gap: var(--space-xl);
  }
}
.footer-contact {
  min-width: 0;
}
@media (min-width: 768px) {
  .footer-contact {
    text-align: right;
  }
}
.site-footer a {
  color: var(--footer-accent);
  text-decoration: none;
  transition: color 200ms ease;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer a:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Full-width bottom row: pipe-separated links (mirrors top nav rhythm) */
.footer-nav {
  margin-top: var(--space-lg);
}
.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
}
.footer-nav__list li {
  display: flex;
  align-items: center;
}
.footer-nav__list li + li::before {
  content: '|';
  margin: 0 0.65rem;
  color: rgba(232, 224, 214, 0.35);
  font-weight: 400;
  pointer-events: none;
  user-select: none;
}
.footer-nav__list a {
  display: inline-block;
  padding: var(--space-xs) 0;
}

.footer-phone {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: 700;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--footer-accent);
}
.footer-copyright {
  margin-top: var(--space-md);
  padding-top: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-xs);
}

/* ============================================
   P1 VISUAL LIFE: Tabler-style stroke icons (MIT, 2px), no CDN
   Ref: sagetechtn-visual-punch-list.md V1-V9 + CTA parity
   ============================================ */
.p1-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.p1-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.p1-icon--lg {
  width: 3.5rem;
  height: 3.5rem;
}
.p1-icon--xl {
  width: 4.25rem;
  height: 4.25rem;
}
.p1-icon--sm {
  width: 1.125rem;
  height: 1.125rem;
}

.p1-skill-icons {
  list-style: none;
  padding: 0;
  margin: var(--space-md) auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  max-width: 36rem;
}
.p1-skill-icons li {
  margin: 0;
}
.p1-skill-icons .p1-icon--sm {
  width: 2.25rem;
  height: 2.25rem;
}

.service-area-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin: var(--space-md) auto var(--space-sm);
  opacity: 0.42;
  color: var(--color-accent);
}
.service-area-visual .p1-icon--sm {
  width: 2rem;
  height: 2rem;
}

.testimonial-placeholder-card {
  max-width: min(var(--prose-max), 100%);
  margin: var(--space-md) auto 0;
  padding: var(--space-lg) var(--space-md);
  background: var(--bg-cream);
  border: 2px solid rgba(200, 148, 62, 0.45);
  border-radius: var(--card-radius);
  box-shadow: inset 0 0 24px rgba(200, 148, 62, 0.06), var(--shadow-sm);
  text-align: center;
}
.testimonial-placeholder-card__glyph {
  margin: 0 auto var(--space-sm);
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 1;
  color: var(--color-warm);
  opacity: 0.88;
}
.testimonial-placeholder-card__body {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}
.testimonial-placeholder-card__cta {
  font-size: var(--font-size-sm);
  margin: 0;
}
.testimonial-placeholder-card__cta a {
  color: var(--color-accent);
  font-weight: 600;
}

.classes-learn-icons {
  list-style: none;
  padding: 0;
  margin: var(--space-md) auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 40rem;
}
/* Compact feature tiles: same shell as audience / process cards, tighter for icon row */
.classes-learn-icons > li.feature-card {
  margin: 0;
  text-align: center;
  flex: 0 0 auto;
  max-width: 10.5rem;
  min-height: unset;
  padding: 1rem 0.75rem 1.125rem;
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}
.classes-learn-icons > li.feature-card .feature-card__body {
  font-size: var(--font-size-xs);
  line-height: 1.5;
}
.classes-learn-icons .feature-card__badge--sm {
  margin-left: auto;
  margin-right: auto;
}
.classes-learn-icons strong {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
}

.before-you-send {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  max-width: min(52ch, 100%);
  margin-left: auto;
  margin-right: auto;
}
.before-you-send__icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.before-you-send__icon .feature-card__badge,
.before-you-send__icon .feature-card__badge--sm {
  margin-bottom: 0;
}
.before-you-send .before-you-send__text h2 {
  margin-top: 0;
}
@media (max-width: 480px) {
  .before-you-send {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .before-you-send__icon {
    margin-top: 0;
  }
}

.section-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-md);
}
.section-cta-actions .cta-button {
  margin: 0;
}

/* ============================================
   SKIP LINK (Accessibility)
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--color-accent);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  z-index: 200;
  border-radius: 0 0 6px 6px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }  /* CANON-LIFT-START pair: disable hover lift when motion is reduced */
  .card:hover,
  .feature-card:hover,
  .process-step:hover,
  .contact-method:hover {
    transform: none;
  }
}

/* Round 2 A11Y-5: forced-colors / high contrast */
@media (forced-colors: active) {
  body,
  .section--alt,
  .site-footer,
  .section-divider:has(+ .section.section--alt),
  .section--alt + .section-divider:has(+ .section:not(.section--alt)) {
    background-image: none !important;
  }
  .hero::before,
  .hero::after,
  .hero--centered::after,
  .hero--split-home::after {
    background-image: none !important;
    opacity: 0 !important;
  }
}



/* GLYPHS, generated by extract-v1.py 2026-09-04. Every inline SVG v1 carried, keyed by content hash and
   drawn as a mask so the element that carries it holds no markup. Decoration is stylesheet, not content. */
.icon--686fda0b{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 class=%22nav-phone-btn__icon%22 width=%2216%22 height=%2216%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 aria-hidden=%22true%22%3E%3Cpath d=%22M22 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.72c.127.96.361 1.903.7 2.81a2 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-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z%22/%3E%3C/svg%3E")}
.icon--9ca2fae2{--glyph:url("data:image/svg+xml,%3Csvg viewBox=%220 0 800 64%22 xmlns=%22http://www.w3.org/2000/svg%22 preserveAspectRatio=%22xMidYMid meet%22%3E %3Cline x1=%22180%22 y1=%2240%22 x2=%22365%22 y2=%2240%22 stroke=%22currentColor%22 stroke-width=%220.5%22 opacity=%220.3%22/%3E %3Cline x1=%22435%22 y1=%2240%22 x2=%22620%22 y2=%2240%22 stroke=%22currentColor%22 stroke-width=%220.5%22 opacity=%220.3%22/%3E %3Cpath d=%22M 400,6 Q 375,22 378,40 Q 385,50 400,54 Q 415,50 422,40 Q 425,22 400,6 Z%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%221.3%22 stroke-linejoin=%22round%22/%3E %3Cpath d=%22M 400,10 L 400,50%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%220.7%22 stroke-linecap=%22round%22 opacity=%220.5%22/%3E %3Cpath d=%22M 400,18 Q 390,22 384,26%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%220.5%22 stroke-linecap=%22round%22 opacity=%220.35%22/%3E %3Cpath d=%22M 400,18 Q 410,22 416,26%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%220.5%22 stroke-linecap=%22round%22 opacity=%220.35%22/%3E %3Cpath d=%22M 400,28 Q 388,33 383,37%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%220.5%22 stroke-linecap=%22round%22 opacity=%220.35%22/%3E %3Cpath d=%22M 400,28 Q 412,33 417,37%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%220.5%22 stroke-linecap=%22round%22 opacity=%220.35%22/%3E %3C/svg%3E")}
.icon--bf254d0a{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2%22/%3E%3Ccircle cx=%2212%22 cy=%227%22 r=%224%22/%3E%3C/svg%3E")}
.icon--74b382a5{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 21h18%22/%3E%3Cpath d=%22M5 21V7l8-4v18%22/%3E%3Cpath d=%22M19 21V11l-6-4%22/%3E%3Cpath d=%22M9 9h.01%22/%3E%3Cpath d=%22M9 12h.01%22/%3E%3Cpath d=%22M9 15h.01%22/%3E%3Cpath d=%22M9 18h.01%22/%3E%3C/svg%3E")}
.icon--529ba957{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2%22/%3E%3Ccircle cx=%229%22 cy=%227%22 r=%224%22/%3E%3Cpath d=%22M23 21v-2a4 4 0 0 0-3-3.87%22/%3E%3Cpath d=%22M16 3.13a4 4 0 0 1 0 7.75%22/%3E%3C/svg%3E")}
.icon--9e39b77b{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 6v6%22/%3E%3Cpath d=%22M6 12h12%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3C/svg%3E")}
.icon--db1d282b{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78z%22/%3E%3C/svg%3E")}
.icon--67f12f20{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%227%22 width=%2220%22 height=%2214%22 rx=%222%22 ry=%222%22/%3E%3Cpath d=%22M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16%22/%3E%3C/svg%3E")}
.icon--416b4ef8{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%223%22 width=%2220%22 height=%2214%22 rx=%222%22 ry=%222%22/%3E%3Cline x1=%228%22 y1=%2221%22 x2=%2216%22 y2=%2221%22/%3E%3Cline x1=%2212%22 y1=%2217%22 x2=%2212%22 y2=%2221%22/%3E%3C/svg%3E")}
.icon--530298f7{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.55a11 11 0 0 1 14.08 0%22/%3E%3Cpath d=%22M1.42 9a16 16 0 0 1 21.16 0%22/%3E%3Cpath d=%22M8.53 16.11a6 6 0 0 1 6.95 0%22/%3E%3Cline x1=%2212%22 y1=%2220%22 x2=%2212.01%22 y2=%2220%22/%3E%3C/svg%3E")}
.icon--d4ea4aad{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z%22/%3E%3C/svg%3E")}
.icon--2a3d4335{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpolyline points=%226 9 6 2 18 2 18 9%22/%3E%3Cpath d=%22M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2%22/%3E%3Crect x=%226%22 y=%2214%22 width=%2212%22 height=%228%22/%3E%3C/svg%3E")}
.icon--907869d6{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 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.72c.127.96.361 1.903.7 2.81a2 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-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z%22/%3E%3C/svg%3E")}
.icon--a8634970{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z%22/%3E%3C/svg%3E")}
.icon--c801f309{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22/%3E%3Cpolyline points=%2212 6 12 12 16 14%22/%3E%3C/svg%3E")}
.icon--172fd9db{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z%22/%3E%3Cpath d=%22M5 3v4%22/%3E%3Cpath d=%22M19 17v4%22/%3E%3Cpath d=%22M3 5h4%22/%3E%3Cpath d=%22M17 19h4%22/%3E%3C/svg%3E")}
.icon--7a523f51{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z%22/%3E%3C/svg%3E")}
.icon--fa579062{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z%22/%3E%3Cpolyline points=%229 22 9 12 15 12 15 22%22/%3E%3C/svg%3E")}
.icon--c3d42878{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 11.08V12a10 10 0 1 1-5.93-9.14%22/%3E%3Cpolyline points=%2222 4 12 14.01 9 11.01%22/%3E%3C/svg%3E")}
.icon--2b54ff31{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%223%22/%3E%3C/svg%3E")}
.icon--3253d768{--glyph:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%224%22 width=%2220%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22m22 7-10 5L2 7%22/%3E%3C/svg%3E")}
/* ============================================================================================
   BUILD 1, 2026-09-04: DECORATION THAT v1 CARRIED AS INLINE SVG, NOW DRAWN BY THE STYLESHEET.
   v1 wrote icons, badges, the section divider and the timeline rail as inline <svg> and empty
   <div>s. Editor 2 emits words, not markup, so each glyph is a mask on an element that carries
   only a class (icons.css sets --glyph per hash) and each empty decorative element is a
   pseudo-element on its parent. The rules below mirror the v1 rules for the elements they
   replace, by name, so a measured difference points at one rule.
   ============================================================================================ */

/* A glyph element: the <i> the record's `glyph` part emits. Same box the v1 <svg> filled. */
i[class^="icon--"], i[class*=" icon--"] {
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}
/* mirrors `.feature-card__badge svg` and `.feature-card__badge--sm svg` */
.feature-card__badge > i { width: 1.75rem; height: 1.75rem; }
.feature-card__badge--sm > i { width: 1.45rem; height: 1.45rem; }
/* mirrors `.p1-icon svg`: the span carries the size, the glyph fills it */
.p1-icon > i { width: 100%; height: 100%; }

/* The phone glyph inside the call buttons (v1: an inline svg before the label), header and body alike */
.nav-phone-btn::before, .cta-button--call::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath 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.72c.127.96.361 1.903.7 2.81a2 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-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}

/* The section divider. v1: <div class="section-divider"> holding one svg, standing BEFORE a section.
   Here the section that followed it carries `section--divided` plus the divider's glyph class, and
   draws the divider as its own ::before. Mirrors `.section-divider`, `.section-divider svg`,
   `.section-divider + section` and the compact variant. The warm background v1 gave a divider that
   stood before an alt section is the alt section's own background here, which is the same pixels. */
.section--divided { padding-top: clamp(1.5rem, 4vw, 2.25rem); }   /* the divider's own padding-top */
.section--divided-compact { padding-top: 0.5rem; }
.section--divided::before, .section--divided-compact::before {
  content: '';
  display: block;
  width: min(100%, 600px);
  aspect-ratio: 800 / 64;
  /* the divider's padding-bottom, then the padding-top v1 gave the section that followed it */
  margin: 0 auto calc(clamp(0.5rem, 1.5vw, 1rem) + clamp(2rem, 5vw, 3rem));
  color: var(--color-warm);
  background-color: currentColor;
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}
.section--divided-compact::before { width: min(100%, 300px); opacity: 0.85; margin-bottom: calc(0.5rem + clamp(2rem, 5vw, 3rem)); }

/* The timeline rail's line. v1: an empty <div class="journey-section__line"> after the dot. */
.journey-section__rail::after {
  content: '';
  flex: 1;
  width: 2px;
  min-height: var(--space-md);
  margin: 0.35rem 0;
  background: linear-gradient(180deg, rgba(74, 158, 142, 0.45), rgba(200, 148, 62, 0.35));
}
.journey-section:last-child .journey-section__rail::after { display: none; }

/* THE CONTACT FORM, build 1. v1 wrapped each radio in div.radio-option inside div.radio-group, and marked
   required/optional with an <abbr> and a <span> inside the label. A form part draws one element, so the
   pairs sit directly in the fieldset and the marks are drawn here. Mirrors .radio-group, .radio-option,
   .required-abbr and .optional-label. */
/* Validator HARD-1: each option is a <label> holding its input, so the pair never wraps apart (v1: div.radio-option).
   The legend is a paragraph styled as v1's legend. Mirrors .form-fieldset legend, .radio-group, .radio-option. */
.contact-form .form-legend { font-family: var(--font-body); font-weight: 600; margin: 0 0 var(--space-xs); color: var(--text-primary); }
.contact-form label.radio-option { display: inline-flex; flex-direction: row; align-items: center; gap: var(--space-xs); min-height: var(--touch-target); margin: 0 0 var(--space-md); font-weight: 400; cursor: pointer; }
.contact-form label.radio-option + label.radio-option { margin-left: var(--space-md); }  /* v1's gap between pairs; a trailing margin made the row overflow at 390px */
.contact-form label.radio-option input[type="radio"] { width: 20px; height: 20px; min-height: auto; accent-color: var(--color-accent); margin: 0; }
.contact-form label.required::after { content: ' *'; color: var(--color-accent); font-weight: 700; }
.contact-form .optional::after { content: ' (optional)'; font-weight: 400; color: var(--text-secondary); font-size: 0.9em; }

/* Service items link to their pages ([MARK] 2026-09-04): the heading keeps v1's colour, underline on hover. */
.service-item h3 a { color: inherit; text-decoration: none; }
.service-item h3 a:hover, .service-item h3 a:focus-visible { text-decoration: underline; }

/* FAQ questions are h2 here (v1 jumped h1 -> h3, which H-4 refuses); the h3 rule, re-targeted so the card is the same height. */
.faq-summary h2.faq-summary-text { margin: 0; font-size: var(--font-size-body); font-weight: 700; }

/* The current page's nav link. v1 stamped class="active" on it per page; the shell is one file per shape, so
   the page's own data-page attribute selects it here. Mirrors `.nav-links a.active`. */
body[data-page="about"] .nav-links a[href="/about"],
body[data-page="classes"] .nav-links a[href="/classes"],
body[data-page^="services"] .nav-links a[href="/services"],
body[data-page="faq"] .nav-links a[href="/faq"],
body[data-page="contact"] .nav-links a[href="/contact"] { color: var(--color-accent); }

/* v1's header was a fixed --nav-height; the 09-01 port made it min-height so the nav could wrap on a phone.
   On a desktop the nav does not wrap, so the fixed height is restored there and the header is the same height. */
@media (min-width: 768px) { .site-header { height: var(--nav-height); } }

/* v1 carried this as an inline style on the 13 service pages (style="margin-top:1.5rem"); validator SOFT-2. */
.process-cta-callout + .services-written-intro { margin-top: 1.5rem; }
/* the submit button follows the inline option labels; v1's fieldset was a block, so the button starts its own line */
.contact-form > button[type="submit"] { display: block; }

/* THE PHONE DRAWER, without script ([MARK] 2026-09-04). The desktop <nav> and a <details> drawer each exist; each is
   hidden in the other's width range. A closed <details> hides its list natively, so no display:none is needed for
   the drawer's content. Mirrors v1's mobile block: .nav-toggle, .nav-links (drawer), .nav-links.open. */
.nav-drawer { position: static; }
.nav-drawer > summary { list-style: none; }
.nav-drawer > summary::-webkit-details-marker { display: none; }
@media (min-width: 768px) { .nav-drawer { display: none; } }
@media (max-width: 767px) {
  .site-header { height: var(--nav-height); }
  .site-header .container { flex-wrap: nowrap; height: var(--nav-height); padding-block: 0; }
  .site-header > .container > nav[aria-label="Main navigation"] { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .nav-drawer .nav-links--drawer {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: auto;
    order: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: var(--space-sm) 1.5rem;
    gap: var(--space-xs);
    box-shadow: var(--shadow-md);
  }
  .nav-drawer .nav-links--drawer a { min-height: 0; padding: 0.15rem 0; }  /* v1's drawer links: ~40px pitch, not 44px tap boxes */
}
