/* ==========================================================================
   T.R.U.E. Consulting Service LLC: main stylesheet
   The ONLY design stylesheet for this theme (style.css holds theme metadata only).

   CONTENTS
    1. Design tokens (colors, type, spacing, widths, breakpoints)
    2. Base: reset, typography, links, focus
    3. Layout: container, sections, utilities
    4. Buttons
    5. Header and navigation
    6. Heroes (home hero, inner-page hero, breadcrumbs)
    7. Content components (cards, lists, process, quotes, placeholders, bio grid)
    8. Home page sections
    9. Insurance slider and logo grid
   10. On This Page (layout + floating tab and panel)
   11. Contact page and inquiry form
   12. Footer, map, social icons
   13. Mobile sticky call to action
   14. Reduced motion

   BREAKPOINTS (CSS cannot read variables inside @media, so the values are
   written out. Keep them in sync with the --bp-* reference tokens below):
     --bp-mobile: 600px   forms stack to one column
     --bp-sticky: 760px   sticky CTA shows, bio grid stacks
     --bp-tablet: 860px   two-column layouts stack, slider shows 2 logos
     --bp-toc:    900px   On This Page floating UI hides, contact stacks
     --bp-nav:    960px   mobile menu replaces desktop menu
   ========================================================================== */

/* 1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors */
  --espresso: #35271D;
  --bronze: #A48655;
  --olive: #74785B;
  --ivory: #F5F0E8;
  --black: #171411;
  --ivory-dim: #E9E1D3;
  --card-bg: #FBF8F2;
  --white: #fff;

  /* Accessible tints (small text needs 4.5:1 contrast) */
  --bronze-on-light: #7A6030;
  --olive-text: #5C6046;
  --bronze-on-dark: #C3A672;
  --ivory-soft: #E4DACB;
  --muted: #5A4E40;
  --error: #8A2D1F;
  --error-dark: #6E2418;
  --line-bronze: rgba(164, 134, 85, .45);

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  /* Spacing and shape */
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --space-section-slim: clamp(2rem, 4vw, 3rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;

  /* Widths */
  --maxw: 1260px;
  --header-h: 76px;

  /* Breakpoint reference (documentation only, see header) */
  --bp-mobile: 600px;
  --bp-sticky: 760px;
  --bp-tablet: 860px;
  --bp-toc: 900px;
  --bp-nav: 960px;
}

/* 2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--black); background: var(--ivory); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--espresso); text-underline-offset: 3px; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .6em; color: var(--espresso); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; max-width: none; }
.eyebrow { display: block; font-family: var(--font-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--olive-text); margin-bottom: .9rem; }
.meta-line { display: block; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-text); font-weight: 600; margin-bottom: .4rem; }
.pending { font-size: .85rem; color: #6A5D4C; font-style: italic; }
.rule { width: 64px; height: 2px; background: var(--bronze); border: 0; margin: 0 0 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--black); color: var(--ivory); padding: .75rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }

/* 3. LAYOUT
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-section) 0; }
.section--flush-top { padding-top: 0; }
.section--slim { padding: var(--space-section-slim) 0; }
.section--slim .eyebrow { margin-bottom: .4rem; }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--ivory); }
.section--dark a { color: var(--ivory); }
.section--black { background: var(--black); color: var(--ivory); }
.section--black h2, .section--black h3 { color: var(--ivory); }
.section--dark .eyebrow, .section--black .eyebrow, .page-hero .eyebrow, .hero--image .eyebrow, .quote-band .eyebrow { color: var(--bronze-on-dark); }
.text-center { text-align: center; }
.prose p { font-size: 1.1rem; }
.draft-flag { background: var(--black); color: var(--bronze); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: .4rem 1rem; }

/* 4. BUTTONS
   -------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.6rem; font: 600 .95rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--bronze); border-radius: var(--radius); background: var(--bronze); color: var(--black); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--ivory); color: var(--black); }
.btn--ghost { background: transparent; color: var(--ivory); }
.btn--ghost:hover { background: var(--bronze); color: var(--black); }
.btn--dark { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.btn--dark:hover { background: var(--black); color: var(--ivory); border-color: var(--black); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
/* Buttons inside dark sections: keep button text color (links there are ivory) */
.section--dark a.btn, .section--black a.btn { color: var(--black); }
.section--dark a.btn:hover, .section--black a.btn:hover { background: var(--ivory); color: var(--black); }
.section--dark a.btn--ghost, .section--black a.btn--ghost { color: var(--ivory); background: transparent; }
.section--dark a.btn--ghost:hover, .section--black a.btn--ghost:hover { background: var(--bronze); color: var(--black); }
/* Ghost buttons on light sections */
.section:not(.section--dark):not(.section--black):not(.hero--image) .btn--ghost { color: var(--espresso); border-color: var(--espresso); }
.section:not(.section--dark):not(.section--black):not(.hero--image) .btn--ghost:hover { background: var(--espresso); color: var(--ivory); }

/* 5. HEADER AND NAVIGATION
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); border-bottom: 1px solid var(--line-bronze); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.logo-link { display: inline-flex; align-items: center; text-decoration: none; min-height: 48px; color: var(--ivory); }
.logo-img { height: 52px; width: auto; }
.logo-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: .08em; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link, .nav-toggle { display: inline-flex; align-items: center; gap: .35rem; min-height: 48px; padding: .5rem .85rem; color: var(--ivory); text-decoration: none; font: 500 .95rem var(--font-body); background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-toggle:hover, .nav-link[aria-current="page"] { color: var(--bronze); }
.nav-toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-cta { margin-left: .5rem; min-height: 44px; padding: .55rem 1.1rem; font-size: .8rem; }
/* Parent items are links (Speaking, Consulting) with a separate caret button */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > .nav-link { padding-right: .35rem; }
.nav-toggle--caret { padding: .5rem .6rem .5rem .1rem; min-width: 36px; justify-content: center; }
.submenu { list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--black); border: 1px solid var(--line-bronze); display: none; }
.has-sub.open > .submenu { display: block; }
.submenu a { display: block; padding: .7rem 1.1rem; color: var(--ivory); text-decoration: none; font-size: .95rem; }
.submenu a:hover { background: var(--espresso); color: var(--bronze); }
@media (hover: hover) and (min-width: 961px) { .has-sub:hover > .submenu { display: block; } }
.menu-button { display: none; min-width: 48px; min-height: 48px; background: none; border: 1px solid var(--bronze); color: var(--ivory); font: 600 .85rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 0 1rem; border-radius: var(--radius); cursor: pointer; }
@media (max-width: 960px) {
  .menu-button { display: inline-flex; align-items: center; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--black); border-bottom: 1px solid var(--line-bronze); display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: .75rem var(--gutter) 1.5rem; }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; }
  .submenu { position: static; border: 0; padding: 0 0 .5rem 1rem; min-width: 0; }
  .nav-cta { margin: .75rem 0 0; width: 100%; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > .nav-link { flex: 1 1 auto; width: auto; justify-content: flex-start; }
  .nav-toggle--caret { width: 48px; flex: 0 0 48px; padding: .5rem; }
  .has-sub > .submenu { flex: 1 0 100%; }
}

/* 6. HEROES AND BREADCRUMBS
   -------------------------------------------------------------------------- */
/* Home hero (photo + espresso overlay) */
.hero { position: relative; overflow: hidden; background: var(--espresso); color: var(--ivory); padding: clamp(3.5rem, 9vw, 7rem) 0; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--bronze), transparent); z-index: 2; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23, 20, 17, .92) 0%, rgba(53, 39, 29, .82) 55%, rgba(53, 39, 29, .6) 100%); z-index: 1; }
.hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 780px; }
.hero h1 { color: var(--ivory); font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.hero .lead p { font-size: 1.25rem; color: var(--ivory-soft); }

/* Inner-page hero: sunrise path photo under an espresso overlay */
.page-hero { color: var(--ivory); padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: linear-gradient(90deg, rgba(53, 39, 29, .94) 0%, rgba(53, 39, 29, .82) 55%, rgba(53, 39, 29, .7) 100%), url("../images/hero-inner-sunrise-path.jpg") center 40% / cover no-repeat, var(--espresso); }
.page-hero h1 { color: var(--ivory); font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero .meta-line { color: var(--ivory-dim); margin-top: 1.25rem; }
.page-hero .meta-line + .btn-row { margin-top: 1.25rem; }
.hero-tagline { font-family: var(--font-display); font-size: 1.6rem; color: var(--bronze); max-width: none; }
@media (max-width: 900px) { .page-hero { background: linear-gradient(rgba(53, 39, 29, .9), rgba(53, 39, 29, .9)), url("../images/hero-inner-sunrise-path.jpg") center 40% / cover no-repeat, var(--espresso); } }
.breadcrumbs { font-size: .9rem; margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--bronze); }
.breadcrumbs a { color: var(--ivory); }

/* 7. CONTENT COMPONENTS
   -------------------------------------------------------------------------- */
/* Page body wrapper used by pages with On This Page navigation */
.page-body > section { margin-bottom: 3rem; }
.page-body > .help-section { margin-bottom: 0; }
.page-body.about > section, .page-body.about > .story-pair { margin-bottom: 0; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.card { background: var(--card-bg); border: 1px solid var(--ivory-dim); border-top: 3px solid var(--bronze); padding: 1.75rem; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .5rem; }
.card .more { margin-top: auto; font-weight: 600; }
.card--wide p { max-width: none; }
.section--dark .card, .section--black .card { background: rgba(245, 240, 232, .06); border-color: rgba(164, 134, 85, .4); }
.section--dark .card h3, .section--black .card h3 { color: var(--ivory); }
.role { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--bronze-on-light); margin-bottom: .75rem; }
.section--dark .role { color: var(--bronze-on-dark); }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .6rem 2rem; }
.checklist li { padding-left: 1.5rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; background: var(--bronze); transform: rotate(45deg); }
.topic-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0; }
.topic-list li { padding: 1.25rem 0; border-top: 1px solid rgba(164, 134, 85, .4); }
.topic-list li:last-child { border-bottom: 1px solid rgba(164, 134, 85, .4); }
.topic-list h3 { margin: 0 0 .35rem; }
.topic-list p { margin: 0; }
.pending-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .75rem; }
.pending-list li { border: 1px dashed var(--bronze); padding: .85rem 1rem; background: var(--card-bg); }

/* Process steps */
.process { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.process li { counter-increment: step; border: 1px solid var(--ivory-dim); background: var(--card-bg); padding: 1.25rem; }
.process li::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 2rem; color: var(--bronze); }
.section--dark .process li { background: rgba(245, 240, 232, .06); border-color: rgba(164, 134, 85, .5); }
.section--dark .process li p { color: var(--ivory); }

/* Quotes */
.pull-quote { margin: 1.75rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--bronze); }
.pull-quote p { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.35; margin: 0; max-width: 40ch; }
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 26ch; font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.2; color: var(--ivory); }
.quote-band blockquote p { max-width: none; margin: 0; }
.quote-band cite { display: block; margin-top: 1.5rem; font-family: var(--font-body); font-style: normal; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-on-dark); }
.quote-band .rule { margin: 0 auto 1.75rem; }
.quote-band h2.eyebrow { font-family: var(--font-body); }

/* Placeholders for content that is still pending */
.placeholder-box { border: 1px dashed var(--bronze); border-radius: var(--radius); min-height: 160px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; color: var(--olive-text); font-size: .95rem; letter-spacing: .04em; margin-bottom: 1rem; }
.section--dark .placeholder-box { color: var(--ivory-dim); }
.placeholder-box--video { aspect-ratio: 16 / 9; min-height: 0; max-width: 720px; }

/* Image + text */
.bio-grid { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-bottom: 2rem; }
.bio-grid .photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; border: 1px solid var(--bronze); }
.book-photo img { width: 100%; max-width: 340px; height: auto; border: 1px solid var(--bronze); box-shadow: 0 18px 40px rgba(23, 20, 17, .35); }
@media (max-width: 760px) { .bio-grid { grid-template-columns: 1fr; } .bio-grid .photo { max-width: 320px; } }

/* Notice boxes */
.help-box { border: 2px solid var(--olive); background: var(--white); padding: 1.25rem; }
.help-box h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.help-box ul { list-style: none; padding: 0; margin: .75rem 0 0; }
.help-box li { padding: .3rem 0; font-weight: 600; }
.help-box p { font-size: .95rem; }
.help-box--section ul + p { margin-top: .75rem; }

/* Text placed after a button row */
.after-buttons { margin-top: 1.5rem; }

/* Closing call-to-action band */
.cta-band { text-align: center; }
.cta-band p { margin-left: auto; margin-right: auto; max-width: 90%; }
@media (max-width: 760px) { .cta-band p { max-width: 100%; } }
.cta-band .btn-row { justify-content: center; }
.cta-photo { position: relative; overflow: hidden; }
.cta-photo .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::before { content: ""; position: absolute; inset: 0; background: rgba(23, 20, 17, .84); z-index: 1; }
.cta-photo .container { position: relative; z-index: 2; }

/* 7b. Card icon badges and spacious "story" layouts (About Ben)
   Icons: card Icon dropdown. Layouts: content section "Layout" dropdown. */
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; border: 1px solid var(--bronze); border-radius: 50%; background: rgba(164,134,85,.14); color: var(--espresso); flex: none; }
.icon-badge svg { display: block; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.section--dark .icon-badge, .section--black .icon-badge { color: var(--bronze-on-dark); background: rgba(164,134,85,.16); }
.card--wide { align-items: flex-start; }
.card--wide .more { align-self: flex-start; }

.section--about { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.about { display: grid; gap: clamp(2.25rem, 4.5vw, 3.75rem); }
.about-sec h2 { margin-bottom: .6rem; }
.about-sec .rule { margin-bottom: 1.25rem; }
.about-sec > :last-child, .about-text > :last-child, .split-body > :last-child { margin-bottom: 0; }
.about-meet .bio-grid { margin-bottom: 1.75rem; }
.about-meet .facts { margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--ivory-dim); grid-template-columns: repeat(4, 1fr); gap: 1.1rem 2rem; font-size: .95rem; }
.story-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.story-pair .pull-quote { margin: 1.25rem 0; }
.story-pair .pull-quote p { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.about-split { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; padding-top: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 1px solid var(--ivory-dim); }
.about-split .split-head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.about-split .split-head .rule { margin-bottom: 0; }
.about-cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1.75rem, 4.5vw, 4rem); align-items: start; padding-top: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 1px solid var(--ivory-dim); }
.about-cols .card-grid--stack { grid-template-columns: 1fr; margin-top: .35rem; gap: 1.25rem; }
.about-cols--photo { grid-template-columns: minmax(240px, .8fr) 1.7fr; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; border: 1px solid var(--bronze); }
.about-cols--photo .btn-row { margin-top: 1.5rem; }
.about-beliefs { padding-top: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 1px solid var(--ivory-dim); }
.about-beliefs .card-grid { grid-template-columns: repeat(4, 1fr); margin-top: 1.75rem; gap: 1.25rem; }
.about-beliefs .card { padding: 1.5rem; }
@media (max-width: 1100px) {
  .about-meet .facts { grid-template-columns: repeat(2, 1fr); }
  .about-beliefs .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .story-pair { grid-template-columns: 1fr; gap: 2.25rem; }
  .about-split, .about-cols, .about-cols--photo { grid-template-columns: 1fr; gap: 1.25rem; }
  .about-split .split-head { position: static; }
  .about-cols--photo .about-photo { max-width: 360px; }
  .about-cols .card-grid--stack { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .about-meet .facts, .about-beliefs .card-grid, .about-cols .card-grid--stack { grid-template-columns: 1fr; }
  .about { gap: 2rem; }
}
.about-flow { padding-top: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 1px solid var(--ivory-dim); }
.about-flow .split-body { column-count: 2; column-gap: clamp(2rem, 5vw, 4rem); }
.about-flow .split-body p { max-width: none; break-inside: avoid; }
.about-cols .card-grid--stack { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .about-flow .split-body { column-count: 1; } .about-cols .card-grid--stack { position: static; } }

/* 8. HOME PAGE SECTIONS
   -------------------------------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.intro-photo { margin: 0; position: relative; min-height: 280px; }
.intro-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--bronze); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } .intro-photo { min-height: 0; aspect-ratio: 16 / 10; } }
.network-note { border-left: 3px solid var(--bronze); padding: .25rem 0 .25rem 1.25rem; font-size: 1.1rem; max-width: none; margin: 2.5rem 0 1.5rem; }
.goal { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.3; color: var(--espresso); max-width: 40ch; }

.founder-grid { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; border: 1px solid var(--bronze); }
.founder-photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--bronze); z-index: -1; opacity: .7; }
.founder-copy p { font-size: 1.08rem; }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } .founder-photo { max-width: 380px; } }


.book-grid { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.book-cover img { width: 100%; height: auto; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); border: 1px solid rgba(164, 134, 85, .5); }
.book-copy h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.book-copy .checklist { grid-template-columns: 1fr; }
.learn-label { font-weight: 600; margin: 1.5rem 0 .25rem; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } .book-cover { max-width: 300px; } }

.featured-row { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0 1.25rem; padding: 0; }
.featured-row li { border: 1px solid var(--ivory-dim); background: var(--card-bg); padding: 1.5rem 1rem; text-align: center; font-family: var(--font-display); font-size: 1.35rem; color: var(--espresso); display: flex; align-items: center; justify-content: center; min-height: 96px; }
.featured-more { text-align: center; }
.featured-more p { margin-left: auto; margin-right: auto; }

/* 9. INSURANCE SLIDER AND LOGO GRID
   -------------------------------------------------------------------------- */
.slider { position: relative; margin-top: 1.5rem; padding: 0 4rem; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; gap: 1.25rem; transition: transform .4s ease; }
.slide { flex: 0 0 calc((100% - 5rem) / 5); display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 1rem .75rem; border-radius: var(--radius); }
.slide img { width: 100%; height: 64px; object-fit: contain; }
.slider-controls { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.icon-btn { pointer-events: auto; min-width: 48px; min-height: 48px; background: transparent; color: var(--ivory); border: 1px solid var(--bronze); border-radius: var(--radius); cursor: pointer; font-size: 1.1rem; }
.icon-btn:hover { background: var(--bronze); color: var(--black); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.icon-btn[disabled]:hover { background: transparent; color: var(--ivory); }
@media (max-width: 860px) {
  .slider { padding: 0 3rem; }
  .slide { flex-basis: calc((100% - 1.25rem) / 2); }
  .slider .icon-btn { min-width: 40px; min-height: 40px; }
}
.insurance-grid .eyebrow, .section--black.section--slim .eyebrow { text-align: center; }
.logo-grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem 2rem; align-items: center; }
.logo-grid li { display: flex; align-items: center; justify-content: center; min-height: 80px; padding: .5rem 1rem; }
.logo-grid img { width: 100%; max-width: 220px; height: 60px; object-fit: contain; }
@media (max-width: 860px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* 10. ON THIS PAGE
   -------------------------------------------------------------------------- */
.layout-toc { display: block; }
.toc { border-left: 2px solid var(--bronze); padding-left: 1rem; }
.toc h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-text); margin-bottom: .75rem; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: .35rem 0; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
/* Floating tab fixed to the right edge, plus the panel it opens (desktop only) */
.toc-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 60; writing-mode: vertical-rl; background: var(--espresso); color: var(--ivory); border: 1px solid var(--bronze); border-right: 0; border-radius: 8px 0 0 8px; padding: 1.25rem .65rem; font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; box-shadow: -4px 0 16px rgba(23, 20, 17, .25); transition: background-color .2s ease, color .2s ease; }
.toc-tab:hover, .toc-tab[aria-expanded="true"] { background: var(--bronze); color: var(--black); }
.toc-tab:focus-visible, .toc-close:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; }
.toc.toc--floating { position: fixed; top: 50%; right: 3.25rem; z-index: 59; width: 280px; max-height: calc(100vh - var(--header-h) - 4rem); overflow-y: auto; background: var(--espresso); color: var(--ivory); border: 1px solid var(--bronze); border-radius: 8px; padding: 1.25rem 1.25rem 1rem; box-shadow: 0 12px 32px rgba(23, 20, 17, .4); opacity: 0; visibility: hidden; transform: translate(16px, -50%); }
.toc.toc--floating.toc--anim { transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.toc.toc--floating.open { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.toc.toc--floating.toc--anim.open { transition: opacity .25s ease, transform .25s ease, visibility 0s; }
.toc--floating h2 { color: var(--bronze-on-dark); margin-right: 2rem; }
.toc--floating a { color: var(--ivory); padding: .45rem .75rem; margin-left: -.75rem; border-left: 2px solid transparent; }
.toc--floating a:hover { text-decoration: none; color: var(--bronze); }
.toc--floating a.is-active { color: var(--bronze); border-left-color: var(--bronze); font-weight: 600; }
.toc-close { position: absolute; top: .5rem; right: .6rem; width: 32px; height: 32px; background: transparent; color: var(--ivory); border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.toc-close:hover { color: var(--bronze); }
@media (max-width: 900px) { .toc, .toc-tab, .toc.toc--floating { display: none; } }

/* 11. CONTACT PAGE AND INQUIRY FORM
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.side-block { margin-bottom: 2rem; }
.side-block h2 { font-size: 1.6rem; }
.side-block p { font-size: .95rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .35rem 0; }

.form-card { background: var(--card-bg); border: 1px solid var(--ivory-dim); border-top: 3px solid var(--bronze); padding: clamp(1.25rem, 3vw, 2.25rem); }
.form-head { margin-bottom: 1.25rem; }
.form-title { font-size: clamp(1.7rem, 3vw, 2.1rem); margin: 0 0 .4rem; color: var(--espresso); }
.form-head p { margin: 0; max-width: none; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 600px) { .two-fields { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field .req, .req { color: #7A3B2E; font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; font: inherit; color: var(--black); background: var(--white); border: 1px solid #9A8E7B; border-radius: var(--radius); }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2335271D' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .9rem center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--bronze); outline-offset: 1px; }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.field .hint { display: block; font-size: .875rem; color: var(--muted); margin-top: .3rem; }
.field--consent { margin: 1.25rem 0 0; }
.consent { display: flex !important; align-items: flex-start; gap: .75rem; font-weight: 400 !important; cursor: pointer; }
.consent input { flex: 0 0 22px; width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--espresso); }
.consent input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.error { display: block; color: var(--error); font-size: .9rem; margin-top: .3rem; font-weight: 600; }
.error::before { content: "Error: "; }
/* Spam trap: kept off-screen, never display:none (some bots skip hidden fields) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { border-left: 4px solid var(--olive); background: var(--white); padding: .85rem 1rem; margin: 1.25rem 0; font-weight: 600; max-width: none; }
.btn--submit { width: 100%; min-height: 56px; font-size: 1.05rem; }
@media (min-width: 601px) { .btn--submit { width: auto; min-width: 240px; } }
.form-status { margin-top: 1.25rem; padding: 1rem 1.1rem; border: 2px solid var(--olive); background: var(--white); font-weight: 600; }
.form-status.is-error { border-color: var(--error); color: var(--error); }
.form-errors { border: 2px solid var(--error); border-left-width: 6px; background: var(--white); padding: 1rem 1.1rem; margin-bottom: 1.25rem; color: var(--error-dark); }
.form-errors p { margin: 0 0 .4rem; max-width: none; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors a { color: var(--error-dark); font-weight: 600; text-decoration: underline; }
.form-success { border: 2px solid var(--olive); background: var(--white); padding: clamp(1.25rem, 3vw, 2rem); text-align: center; }
.form-success:focus { outline: 3px solid var(--bronze); outline-offset: 2px; }
.form-success__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--olive-text); color: var(--white); font-size: 1.6rem; margin-bottom: .75rem; }
.form-success h3 { font-size: 1.6rem; color: var(--espresso); margin: 0 0 .75rem; }
.form-success p { margin: 0 auto 1rem; max-width: 46ch; }

/* 12. FOOTER, MAP, SOCIAL
   -------------------------------------------------------------------------- */
.site-footer { background: var(--black); color: #D9CFBE; padding: 4rem 0 6rem; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.site-footer a { color: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: .2rem 0; }
.footer-logo { display: inline-block; margin-bottom: 1rem; }
.footer-logo img { width: 210px; height: auto; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(164, 134, 85, .3); font-size: .9rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.footer-copy { margin: 0; flex: 1 1 320px; }
.social-row { display: flex; gap: .75rem; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(164, 134, 85, .5); border-radius: 50%; color: var(--ivory); }
a.social-icon:hover { background: var(--bronze); color: var(--black); }
.map-embed { position: relative; }
.map-embed iframe { display: block; width: 100%; height: 180px; border: 1px solid rgba(164, 134, 85, .5); background: var(--espresso); }
.map-embed--large iframe { height: 320px; }
.map-link { display: inline-block; margin-top: .6rem; font-size: .9rem; }
@media (max-width: 900px) {
  .footer-grid a:not(.footer-logo), .map-link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 13. MOBILE STICKY CTA
   -------------------------------------------------------------------------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--black); border-top: 1px solid var(--bronze); padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); }
  .sticky-cta .btn { width: 100%; min-height: 48px; }
}

/* 14. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
