/* ==========================================================================
   Madison Recovery Center — main stylesheet (no build step).
   1. Tokens   2. Base   3. Layout & type   4. Buttons & links
   5. Header & nav   6. Footer   7. Sections   8. Forms   9. Blog   10. Utilities
   Breakpoints: 640px (small tablet), 900px (two columns), 1200px (desktop menu).
   The look: an editorial page. Forum headlines (one weight: size does the
   work) over DM Sans, the logo's red on warm white, thin red rules under
   headings, small-caps kickers with a red dot, numbered details, and photos
   set inside a thin red outline that sits a step off the picture.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --red: #d8314c;           /* the logo's red: buttons, rules, accents */
  --red-2: #ef4d48;         /* its lighter partner: accents on maroon */
  --red-deep: #d90700;      /* button hover */
  --red-ink: #b3213b;       /* red as small text on light backgrounds (AA) */
  --ink: #2b161b;           /* maroon-charcoal: headings, dark bands, footer */
  --ink-2: #3b2228;         /* panels on maroon */
  --text: #4a3b40;
  --muted: #6e5d62;
  --paper: #f7f3f5;         /* warm blush white */
  --sand: #f2ebe3;
  --line: #e7dde0;          /* hairlines on white and blush */
  --line-2: #dcd0c5;        /* hairlines on sand */
  --field: #9a888d;         /* form field borders (3:1 on white) */
  --white: #fff;

  /* What sits on the current background. Dark bands and light panels reset these,
     so headings, copy, rules and outline buttons follow wherever they are placed. */
  --bg: var(--white);
  --head: var(--ink);
  --copy: var(--text);
  --soft: var(--muted);
  --rule: var(--line);
  --accent: var(--red);     /* rules, dots, numerals, *accent* words (large type) */
  --kicker: var(--red-ink); /* small red text */
  --link: var(--red-ink);

  --font-head: "Forum", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-sm: 8px;
  --frame: 14px;            /* how far the red outline sits off a photo */
  --shadow: 0 1px 2px rgba(43, 22, 27, .05), 0 18px 36px -24px rgba(43, 22, 27, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --gutter: 20px;
  --section: 64px;
  --header-h: 64px;
  --mobile-bar-h: 64px;
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 900px) { :root { --section: 100px; } }
@media (min-width: 1200px) { :root { --header-h: 58px; } }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--copy);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--mobile-bar-h);
}
@media (min-width: 1200px) { body { padding-bottom: 0; } }
body.nav-open { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--head); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--head); font-family: var(--font-head); font-weight: 400; line-height: 1.14; }
:is(h1, h2, h3, h4, h5, h6) :is(b, strong) { font-weight: inherit; color: inherit; }   /* old copy often bolds its headings: Forum has one weight */
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
small { font-size: .85em; }
b, strong { font-weight: 700; }
.skip-link { position: absolute; left: 12px; top: -70px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 600; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The red dot that opens kickers and notes. */
.dot { display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* 3. Layout & type --------------------------------------------------------- */
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--mid { max-width: 1010px; }
.wrap--narrow { max-width: 800px; }

.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .5) 0; }
/* Two sections on the same background share one gap. */
.section:not([class*="bg-"]) + .section:not([class*="bg-"]),
.bg-tint + .section.bg-tint, .bg-alt + .section.bg-alt, .bg-dark + .section.bg-dark { padding-top: 0; }
.bg-tint { --bg: var(--paper); background: var(--paper); }
.bg-alt { --bg: var(--sand); --rule: var(--line-2); background: var(--sand); }
/* Maroon bands: copy turns light, the red brightens. */
.bg-dark, .cta__panel--dark, .quote-band, .footer-main {
  --bg: var(--ink); --head: #fff; --copy: rgba(255, 255, 255, .82); --soft: rgba(255, 255, 255, .68);
  --rule: rgba(255, 255, 255, .18); --accent: var(--red-2); --kicker: #f6b4bc; --link: #fff;
  background: var(--ink); color: var(--copy);
}
/* White panels keep their own colours wherever they sit. */
.card, .checklist__panel, .testimonial, .callout__panel, .contact__form, .logos__item, .cta__panel--light, .nav__menu, .drawer {
  --bg: var(--white); --head: var(--ink); --copy: var(--text); --soft: var(--muted);
  --rule: var(--line); --accent: var(--red); --kicker: var(--red-ink); --link: var(--red-ink);
  color: var(--copy);
}
.bg-dark :focus-visible, .footer-main :focus-visible, .mobile-bar :focus-visible { outline-color: #fff; }
.card :focus-visible, .checklist__panel :focus-visible, .contact__form :focus-visible { outline-color: var(--red); }
.section__foot { margin-top: 40px; }

.display, .h1, .h2, .h3 { font-family: var(--font-head); font-weight: 400; letter-spacing: 0; }
.display { font-size: clamp(2.35rem, 1.5rem + 3.5vw, 3.7rem); line-height: 1.05; }
.h1 { font-size: clamp(2.2rem, 1.55rem + 2.7vw, 3.4rem); line-height: 1.07; }
.h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1.1; }
.h3 { font-size: 1.6rem; line-height: 1.16; }
/* *accent* words: the same letters in red. */
.accent { font-style: normal; color: var(--accent); }
.ln { display: block; }
.lead { font-size: 1.12rem; line-height: 1.65; }
@media (min-width: 900px) { .lead { font-size: 1.18rem; } }

/* Kicker: small caps after a red dot. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font: 600 .74rem/1.3 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--kicker);
}
.eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* The thin red rule under section headings and the page title. */
:is(.shead__title, .text-split__head, .faq__head, .contact__info, .media-text__text, .gallery__text, .video__text, .map__text, .footer-cta__text) > :is(.h1, .h2, .h3)::after,
.prose > .wrap > .h2::after,
.page-hero .h1::after,
.post-title::after {
  content: ""; display: block; width: 88px; height: 1px; margin-top: .45em; background: var(--accent);
}

/* Section head: kicker and heading; the intro sits beside them from 900px. */
.shead { display: grid; gap: 18px; margin-bottom: 44px; }
.shead__title { max-width: 760px; }
.shead__lead { max-width: 640px; }
.shead--center { justify-items: center; text-align: center; }
.shead--center .eyebrow { justify-content: center; }
.shead--center .shead__title > :is(.h2, .h3)::after { margin-inline: auto; }
@media (min-width: 900px) {
  .shead { margin-bottom: 56px; }
  .shead--split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: end; }
  .shead--split .shead__lead { padding-bottom: 2px; }
}

.grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .grid { gap: 26px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Rich text (WYSIWYG fields, blog posts, plain pages) */
.rich { overflow-wrap: break-word; }
.rich > * + * { margin-top: 1.05em; }
.rich > :first-child { margin-top: 0; }
.rich h2, .rich h3, .rich h4 { margin-top: 1.6em; }
.rich h2 { font-size: 1.95rem; }
.rich h3 { font-size: 1.5rem; }
.rich h4 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; line-height: 1.4; }
.rich h2 + *, .rich h3 + *, .rich h4 + * { margin-top: .6em; }
.rich ul { list-style: none; display: grid; gap: 10px; }
.rich ul li { position: relative; padding-left: 24px; }
.rich ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 10px; height: 1px; background: var(--accent); }
.rich ol { padding-left: 1.5em; display: grid; gap: 8px; }
.rich ol li { padding-left: 4px; }
.rich ol li::marker { color: var(--kicker); font-family: var(--font-head); font-size: 1.1em; }
.rich li > ul, .rich li > ol { margin-top: 10px; }
.rich strong { color: var(--head); font-weight: 700; }
.rich blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--accent); font: 400 1.45rem/1.35 var(--font-head); color: var(--head); }
.rich img { border-radius: var(--radius); }
.rich figure { margin: 1.8em 0; }
.rich figure img { width: 100%; }
.rich figcaption { margin-top: 10px; font-size: .88rem; color: var(--soft); }
.rich table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.rich th, .rich td { padding: 11px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.rich th { border-bottom-color: var(--head); color: var(--head); font-weight: 600; }

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 100%; min-height: 50px; padding: 12px 22px;
  border: 1.5px solid var(--btn-bd); border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.25 var(--font-body); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--btn-fg); }
.btn svg { flex: none; }
.btn__arrow { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--primary:hover { --btn-bg: var(--red-deep); --btn-bd: var(--red-deep); }
/* Outline: charcoal on light backgrounds, white on maroon (it follows --head). */
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--head); --btn-bd: var(--head); }
.btn--secondary:hover { --btn-bg: var(--head); --btn-fg: var(--bg); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .7); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--white:hover { --btn-bg: var(--paper); --btn-bd: var(--paper); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .94rem; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn small { font-weight: 500; opacity: .85; }
@media (max-width: 639px) { .btn { white-space: normal; text-align: center; } }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
.btn-row__group { display: contents; }
.btn-row--center { margin-top: 40px; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--head); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.link-arrow svg { flex: none; color: var(--accent); transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--head); }
.link-arrow:hover svg, .is-link:hover .link-arrow svg { transform: translateX(4px); }
.link-arrow--back svg { transform: rotate(180deg); }
.link-arrow--back:hover svg { transform: rotate(180deg) translateX(4px); }

.phone-link { display: inline-flex; align-items: center; gap: 10px; color: var(--head); font-weight: 700; text-decoration: none; }
.phone-link svg { flex: none; color: var(--accent); }
.phone-link small { font-weight: 500; color: var(--soft); font-size: .92rem; }
.phone-link--lg { font-size: 1.1rem; }

.pill { display: inline-block; padding: 4px 10px; border: 1px solid var(--accent); border-radius: 999px; color: var(--kicker); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }

/* Short facts under the home hero's buttons: small caps between red dots. */
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--head); }
.ticks li { display: inline-flex; align-items: center; gap: 10px; }
.ticks li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* 5. Header & nav ---------------------------------------------------------- */
/* Masthead: a one-line strip on phones and tablets, the logo's own row from 1200px. */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead__in { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 36px; padding-top: 7px; padding-bottom: 7px; }
.masthead__note { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; text-align: center; color: var(--ink); }
.masthead__note .dot, .masthead__logo, .masthead__end, .masthead__cta, .masthead__phone small { display: none; }
.masthead__phone { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.masthead__phone small { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); }
.masthead__phone:hover span { color: var(--red-ink); }
@media (min-width: 760px) {
  .masthead__in { justify-content: space-between; }
  .masthead__note { text-align: left; }
  .masthead__note .dot { display: inline-block; }
  .masthead__end { display: flex; align-items: center; gap: 18px; }
}
@media (min-width: 1200px) {
  .masthead { background: var(--white); border-bottom: 0; }
  .masthead__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 32px; min-height: 0; padding-top: 22px; padding-bottom: 22px; }
  .masthead__note { max-width: 250px; align-items: flex-start; }
  .masthead__note .dot { margin-top: .45em; }
  .masthead__logo { display: block; }
  .masthead__logo img { width: auto; height: 58px; }
  .masthead__end { justify-self: end; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
  .masthead__phone { display: grid; gap: 5px; justify-items: end; text-align: right; }
  .masthead__phone small { display: block; }
  .masthead__phone span { font: 400 1.6rem/1 var(--font-head); }
  .masthead__cta { display: inline-flex; }
}

/* The bar that stays at the top. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 14px 30px -24px rgba(43, 22, 27, .55); }
.site-header__in { display: flex; align-items: center; gap: 14px; min-height: var(--header-h); }
.site-header__brand { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.logo { flex: none; display: inline-flex; align-items: center; text-decoration: none; }
.logo img { width: auto; height: 40px; }
.logo__mark, .header-phone { display: none; }
.nav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: none; }
@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
  .logo img { height: 44px; }
}
.burger { display: grid; gap: 5px; width: 46px; height: 46px; place-content: center; padding: 0; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; }
.burger span { width: 20px; height: 1.5px; background: var(--ink); }

@media (min-width: 1200px) {
  .site-header { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
  .site-header__in { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); gap: 16px; }
  .site-header__brand { margin: 0; justify-self: start; }
  .site-header__actions { justify-self: end; }
  .burger { display: none; }
  .logo__full { display: none; }
  .logo__mark { display: block; }
  .site-header .logo img { height: 38px; }
  .header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
  .header-phone svg { color: var(--red); }
  .header-phone:hover { color: var(--red-ink); }
  .header-cta .btn__arrow { display: none; }
  /* The emblem, phone number and button appear once the masthead has scrolled away. */
  .site-header__brand, .site-header__actions { opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .site-header.is-stuck .site-header__brand, .site-header.is-stuck .site-header__actions { opacity: 1; visibility: visible; }

  .nav { display: flex; align-items: stretch; align-self: stretch; }
}
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { position: relative; display: flex; align-items: center; height: 100%; padding: 0 10px; color: var(--ink); font-weight: 500; font-size: .93rem; text-decoration: none; white-space: nowrap; }
.nav__item .nav__link { padding-right: 2px; }
.nav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 13px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__item .nav__link::after { right: 2px; }
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after, .nav__item:hover > .nav__link::after { transform: scaleX(1); }
.nav__toggle { display: grid; place-items: center; width: 22px; height: 32px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.nav-chev { transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .nav-chev, .nav__item:hover .nav-chev { transform: rotate(180deg); }
.nav__menu {
  position: absolute; left: -8px; top: 100%; min-width: 310px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-top: 1px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.nav__menu--wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 580px; }
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu, .nav__toggle[aria-expanded="true"] + .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__sub { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; line-height: 1.35; }
.nav__num { flex: none; min-width: 1.5em; font: 400 1rem/1 var(--font-head); color: var(--red-ink); }
.nav__sub:hover, .nav__sub.is-active { background: var(--paper); color: var(--ink); }

.drawer-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(43, 22, 27, .55); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(400px, 92vw);
  display: flex; flex-direction: column; background: var(--white); overflow-y: auto;
  transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
}
.drawer.open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter); border-bottom: 1px solid var(--ink); }
.drawer__logo img { width: auto; height: 40px; }
.drawer__close { flex: none; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); background: var(--white); font-size: 1.5rem; line-height: 1; color: var(--ink); cursor: pointer; }
.drawer__links { padding: 6px var(--gutter) 20px; }
.drawer__link, .drawer__group summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 400 1.45rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .nav-chev { transform: rotate(180deg); }
.drawer__group[open] { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.drawer__group[open] summary { border-bottom: 0; }
.drawer__sub { display: block; padding: 9px 14px; color: var(--text); text-decoration: none; border-left: 1px solid var(--line); }
.drawer__sub:hover { color: var(--ink); border-left-color: var(--red); }
.drawer__sub--parent { font-weight: 600; color: var(--ink); border-left-color: var(--red); }
.drawer__cta { display: grid; gap: 12px; margin-top: auto; padding: 20px var(--gutter) 28px; background: var(--paper); border-top: 1px solid var(--line); }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--ink); box-shadow: 0 -12px 30px -20px rgba(0, 0, 0, .7);
}
.mobile-bar__call { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; min-height: 48px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: var(--radius-sm); color: #fff; font-weight: 600; font-size: .98rem; text-decoration: none; }
.mobile-bar__call:hover { color: #fff; border-color: #fff; }
.mobile-bar__cta { min-width: 0; min-height: 48px; padding: 8px 14px; }
.mobile-bar__cta .btn__arrow { display: none; }
@media (min-width: 1200px) { .mobile-bar { display: none; } }

/* Breadcrumbs */
.crumbs { margin-bottom: 26px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6; }
.crumbs__list { list-style: none; display: flex; flex-wrap: wrap; color: var(--soft); }
.crumbs__list li + li::before { content: "/"; margin: 0 10px; color: var(--accent); }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--head); text-decoration: underline; }
.crumbs [aria-current] { color: var(--head); }

/* 6. Footer ---------------------------------------------------------------- */
/* The closing call to action: a quiet sand spread with one large line. */
.footer-cta { --bg: var(--sand); --rule: var(--line-2); background: var(--sand); border-top: 1px solid var(--line-2); }
.footer-cta__card { display: grid; gap: 26px; padding: 56px 0 60px; }
.footer-cta__side p { font-size: 1.1rem; max-width: 520px; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (min-width: 900px) {
  .footer-cta__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; align-items: end; padding: 88px 0 92px; }
}
@media (max-width: 639px) { .footer-cta__actions .btn { width: 100%; } }

.site-footer { font-size: .96rem; }
.footer-main { padding: 64px 0 30px; }
.footer-main a:not(.btn) { color: #fff; text-decoration: none; }
.footer-main a:not(.btn):hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red-2); text-underline-offset: 4px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.25fr 1.2fr repeat(var(--footer-cols, 2), 1fr); gap: 48px; } }
.footer-brand, .footer-contact, .footer-col { min-width: 0; }
.footer-logo { display: inline-block; margin-bottom: 22px; }
.footer-logo img { width: auto; height: 118px; }
.footer-blurb { max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.footer-badge img { height: 52px; width: auto; max-width: 130px; object-fit: contain; }
.footer-title { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); font: 600 .72rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); }
.footer-contact__list { list-style: none; display: grid; gap: 15px; }
.footer-contact__list li { display: flex; gap: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.footer-contact__list svg { flex: none; margin-top: 3px; color: var(--red-2); }
.footer-contact__list b { color: #fff; font-weight: 600; }
.footer-phone { font: 400 1.5rem/1.1 var(--font-head); }
.footer-directions { display: inline-block; margin-top: 4px; font-weight: 600; text-decoration: underline !important; text-decoration-color: var(--red-2) !important; text-underline-offset: 4px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .84) !important; }
.footer-links a:hover { color: #fff !important; }
.footer-crisis { display: flex; gap: 12px; align-items: flex-start; margin: 48px 0 0; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: .92rem; }
.footer-crisis svg { flex: none; margin-top: 4px; color: var(--red-2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; margin-top: 22px; font-size: .84rem; color: var(--soft); }
.footer-legal p { margin: 0; }
.footer-legal__links { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.footer-legal a { color: rgba(255, 255, 255, .84) !important; }

/* 7. Sections -------------------------------------------------------------- */

/* A photo or video frame inside its thin red outline (the outline is a pair of
   shadows: the page colour over the red, a pixel smaller). */
.hero__frame, .page-hero__photo, .media-text__photo, .video__media .video__frame, .post-frame img {
  box-shadow: var(--frame) var(--frame) 0 -1px var(--bg), var(--frame) var(--frame) 0 0 var(--accent);
}

/* Home hero: headline left, the founders' video right. */
.hero { --bg: var(--paper); background: var(--paper); border-bottom: 1px solid var(--line); padding: 36px 0 48px; }
.hero__in { display: grid; gap: 44px; align-items: center; }
.hero__text { min-width: 0; }
.hero .display { margin-bottom: 22px; }
.hero .lead { max-width: 580px; }
.hero__media { position: relative; min-width: 0; padding-right: var(--frame); }
.hero__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--ink); }
.hero__frame img, .hero__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.hero__photo2 { position: absolute; right: 0; bottom: 56px; width: 34%; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); box-shadow: 0 0 0 6px var(--bg); }
.hero__photo2 img { width: 100%; height: 100%; object-fit: cover; }
.hero__note { display: grid; gap: 6px; margin: calc(var(--frame) + 20px) 0 0; }
.hero__note small { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); }
.hero__note small::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.hero__note b { font: 400 1.5rem/1.2 var(--font-head); color: var(--head); }
@media (min-width: 1000px) {
  .hero { padding: 64px 0 80px; }
  .hero--media .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 64px; }
}

/* Page hero: warm white, breadcrumbs, the title over a thin red rule, a framed photo. */
.page-hero { --bg: var(--paper); background: var(--paper); border-bottom: 1px solid var(--line); padding: 26px 0 48px; }
.page-hero__in { display: grid; gap: 40px; align-items: center; }
.page-hero__text { min-width: 0; max-width: 800px; }
.page-hero .h1 { margin-bottom: 22px; }
.page-hero .lead { max-width: 660px; }
.page-hero__note { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: .92rem; font-weight: 500; color: var(--head); }
.page-hero__media { min-width: 0; padding: 0 var(--frame) var(--frame) 0; }
.page-hero__photo { overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--sand); }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.page-hero--compact { padding-bottom: 40px; }
@media (min-width: 1000px) {
  .page-hero { padding: 32px 0 72px; }
  .page-hero--image .page-hero__in { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 72px; }
  .page-hero__photo { aspect-ratio: 5 / 4; }
  .page-hero--compact { padding-bottom: 52px; }
}

/* Trust bar */
.trust { padding: 30px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.trust__in { display: grid; gap: 18px; justify-items: center; text-align: center; }
.trust__label { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 40px; }
.trust__logo img { height: 54px; width: auto; max-width: 170px; object-fit: contain; }
.trust__note { margin: 0; max-width: 340px; font-size: .95rem; }
@media (min-width: 900px) {
  .trust__in { grid-template-columns: minmax(200px, 280px) 1fr; grid-template-areas: "label logos" "note logos"; justify-items: start; text-align: left; column-gap: 52px; row-gap: 4px; align-items: center; }
  .trust__label { grid-area: label; align-self: end; }
  .trust__note { grid-area: note; align-self: start; }
  .trust__logos { grid-area: logos; justify-self: end; }
}

/* Callout: the quick answer under a page hero. */
.callout__panel { padding: 26px 24px; border: 1px solid var(--line); border-left: 2px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; background: var(--paper); }
.bg-tint .callout__panel, .bg-alt .callout__panel, .bg-dark .callout__panel { background: var(--white); }
.callout__label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); }
.callout__label svg { color: var(--red); }
.callout .rich { font-size: 1.08rem; }
@media (min-width: 640px) { .callout__panel { padding: 34px 40px; } }

/* Cards */
.card { position: relative; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card.is-link:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ink); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.card__title { font: 400 1.45rem/1.2 var(--font-head); margin-bottom: 10px; }
.card__title:last-child { margin-bottom: 0; }
.card__text { flex: 1; margin-bottom: 18px; font-size: .98rem; }
.card__text:last-child { margin-bottom: 0; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }
.card--photo { overflow: hidden; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card.is-link:hover .card__media img { transform: scale(1.04); }
.card__media.is-empty { background: var(--paper); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 3; }
.card__icon { display: grid; place-items: center; width: 50px; height: 50px; margin: 26px 26px -6px; border: 1px solid var(--red); border-radius: 50%; color: var(--red-ink); }
.card__num { display: block; margin: 24px 26px -8px; font: 400 2.5rem/1 var(--font-head); color: var(--red); }
.card--number .card__num::after { content: ""; display: block; width: 32px; height: 1px; margin-top: 12px; background: var(--red); }
.card--plain { border-top: 1px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 12px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__meta span { color: var(--red-ink); }
/* Numbered list: rows between hairlines, the heading beside them. */
.card--list {
  --bg: inherit; --head: inherit; --copy: inherit; --soft: inherit; --rule: inherit; --accent: inherit; --kicker: inherit; --link: inherit;
  flex-direction: row; align-items: baseline; gap: 18px; height: auto; padding: 20px 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: none; color: inherit;
}
.cards--list .grid { gap: 0; border-bottom: 1px solid var(--rule); }
.card--list.is-link:hover { transform: none; box-shadow: none; color: inherit; border-color: var(--rule); }
.card--list .card__num { flex: none; min-width: 1.6em; margin: 0; font-size: 1.5rem; color: var(--accent); }
.card--list .card__body { padding: 0; }
.card--list .card__title { margin-bottom: 0; font-size: 1.5rem; }
.card--list .card__text { margin: 8px 0 0; }
.card--list .link-arrow { margin-top: 10px; }
.card--list.is-link:hover .card__title { color: var(--accent); }
@media (min-width: 640px) {
  .card--list .card__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 24px; align-items: baseline; }
  .card--list .card__title, .card--list .card__text { grid-column: 1; }
  .card--list .link-arrow { grid-column: 2; grid-row: 1; margin-top: 0; align-self: baseline; }
}
@media (min-width: 900px) {
  .cards--list > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 72px; align-items: start; }
  .cards--list .shead { grid-column: 1; margin-bottom: 0; }
  .cards--list .grid { grid-column: 2; grid-row: 1 / span 2; }
  .cards--list .section__foot { grid-column: 1; margin-top: 30px; }
}

/* Photo + text: the photo sits in its thin red outline. */
.media-text__in { display: grid; gap: 40px; align-items: center; }
.media-text__media { position: relative; min-width: 0; padding: 0 var(--frame) var(--frame) 0; }
.media-text__photo { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--sand); }
.media-text__photo img { width: 100%; height: 100%; object-fit: cover; }
.media-text__photo:empty { display: none; }
.media-text__photo2 { position: absolute; right: 0; bottom: 0; width: 40%; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); box-shadow: 0 0 0 6px var(--bg); }
.media-text__photo2 img { width: 100%; height: 100%; object-fit: cover; }
.media-text__text { min-width: 0; }
.media-text__text .h2 { margin-bottom: 22px; }
.media-text__text .btn-row { margin-top: 28px; }
@media (min-width: 900px) {
  .media-text__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
  .media-text--right .media-text__media { order: 2; }
  .media-text--left .media-text__media { padding: 0 0 var(--frame) var(--frame); }
  .media-text--left .media-text__photo { box-shadow: calc(var(--frame) * -1) var(--frame) 0 -1px var(--bg), calc(var(--frame) * -1) var(--frame) 0 0 var(--accent); }
  .media-text--left .media-text__photo2 { right: auto; left: 0; }
}

/* Text split: heading left, copy right; a run of them reads as a list between hairlines. */
.text-split__in { display: grid; gap: 22px; }
.text-split__head { min-width: 0; }
.text-split__body { min-width: 0; max-width: 720px; }
.text-split__body .btn-row { margin-top: 28px; }
@media (min-width: 900px) {
  .text-split__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .text-split__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
/* A run of text sections on one background shares its gaps and gets a hairline between. */
.text-split:not([class*="bg-"]):has(+ .text-split:not([class*="bg-"])),
.text-split.bg-tint:has(+ .text-split.bg-tint),
.text-split.bg-alt:has(+ .text-split.bg-alt),
.text-split.bg-dark:has(+ .text-split.bg-dark) { padding-bottom: calc(var(--section) * .5); }
.text-split:not([class*="bg-"]) + .text-split:not([class*="bg-"]) .text-split__in,
.text-split.bg-tint + .text-split.bg-tint .text-split__in,
.text-split.bg-alt + .text-split.bg-alt .text-split__in,
.text-split.bg-dark + .text-split.bg-dark .text-split__in { padding-top: calc(var(--section) * .5); border-top: 1px solid var(--rule); }

/* Prose */
.prose .eyebrow + .h2, .prose .h2 { margin-bottom: 24px; }
.prose .btn-row { margin-top: 28px; }

/* Checklists */
.checklist__grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .checklist__grid--2 { grid-template-columns: 1fr 1fr; } .checklist__grid--3 { grid-template-columns: repeat(3, 1fr); } }
.checklist__panel { padding: 28px; border: 1px solid var(--line); border-top: 1px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); background: var(--white); }
.checklist__title { margin-bottom: 18px; font: 400 1.45rem/1.2 var(--font-head); }
.checklist__list { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .checklist__list.is-multi { grid-template-columns: 1fr 1fr; column-gap: 36px; } }
@media (min-width: 1024px) { .checklist__list.is-multi { grid-template-columns: repeat(3, 1fr); } }
.checklist__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--ink); font-weight: 500; }
.checklist__list svg { flex: none; width: 16px; height: 16px; margin-top: 5px; color: var(--red); }
.checklist__list small { display: block; color: var(--muted); font-size: .86rem; font-weight: 400; margin-top: 2px; }
.checklist__note { max-width: 760px; margin: 32px 0 0; font-size: 1.05rem; }

/* Steps: a large numeral over each hairline. */
.steps__list { list-style: none; display: grid; gap: 30px; }
.steps__item { position: relative; padding-top: 20px; border-top: 1px solid var(--rule); }
.steps__item::before { content: ""; position: absolute; left: 0; top: -1px; width: 44px; height: 1px; background: var(--accent); }
.steps__num { display: block; font: 400 2.9rem/1 var(--font-head); color: var(--accent); }
.steps__title { font: 400 1.45rem/1.2 var(--font-head); margin: 14px 0 8px; }
.steps__title:last-child { margin-bottom: 0; }
.steps__text { font-size: .98rem; }
@media (min-width: 640px) { .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 30px; } }
@media (min-width: 1000px) {
  .steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 34px; }
  .steps__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__list--3, .steps__list--5, .steps__list--6, .steps__list--9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Logos (insurance plans) and linked names (cities, employers) */
.logos__grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .logos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .logos__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.logos__item { display: grid; place-items: center; height: 100%; min-height: 76px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.3; text-align: center; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.logos__item:has(img) { min-height: 112px; padding: 10px 14px; }
a.logos__item:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
a.logos__item .logos__name { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.logos__item img { max-height: 88px; width: auto; max-width: 100%; object-fit: contain; }
.logos__note { margin: 20px 0 0; font-size: .92rem; color: var(--soft); }

/* Photos */
.gallery__in { display: grid; gap: 32px; }
.gallery__text { min-width: 0; }
.gallery__text .h2 { margin-bottom: 22px; }
.gallery__track { display: flex; gap: 14px; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--red) var(--rule); }
.gallery__item { flex: 0 0 78%; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--sand); scroll-snap-align: start; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .gallery__item { flex-basis: 44%; } }
@media (min-width: 900px) {
  .gallery--text .gallery__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  .gallery:not(.gallery--text) .gallery__item { flex-basis: 31%; }
  .gallery--text .gallery__item { flex-basis: 62%; }
}

/* Video */
.video__in { display: grid; gap: 32px; }
.video__text { min-width: 0; }
.video__text .h2 { margin-bottom: 22px; }
.video__media { min-width: 0; padding: 0 var(--frame) var(--frame) 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.video__frame img, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0 0 0 4px; border: 0; border-radius: 50%; background: var(--white); color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 0 8px rgba(255, 255, 255, .35); cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s; }
.video__play:hover { transform: scale(1.06); background: var(--red); color: #fff; }
.video__play:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 50%; }
@media (min-width: 900px) {
  .video--text .video__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  .video:not(.video--text) .video__media { width: 100%; max-width: 920px; margin: 0 auto; }
}
.video-embed { margin: 1.8em 0; }

/* Map */
.map__in { display: grid; gap: 32px; }
.map__text { min-width: 0; }
.map__text .h2 { margin-bottom: 22px; }
.map__frame { overflow: hidden; aspect-ratio: 4 / 3; min-height: 300px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sand); }
.map__frame iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .map__in { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }

/* FAQ: numbered questions between hairlines. */
.faq__in { display: grid; gap: 32px; }
.faq__head { min-width: 0; }
.faq__head .h2 { margin-bottom: 18px; }
@media (min-width: 900px) {
  .faq__in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.faq__list { min-width: 0; counter-reset: faq; border-bottom: 1px solid var(--rule); }
.faq__item { counter-increment: faq; border-top: 1px solid var(--rule); }
.faq__item summary { display: flex; gap: 16px; align-items: baseline; padding: 20px 0; cursor: pointer; list-style: none; font: 400 1.32rem/1.3 var(--font-head); color: var(--head); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: counter(faq, decimal-leading-zero); flex: none; min-width: 1.7em; color: var(--accent); }
.faq__item summary > span:first-of-type { flex: 1; }
.faq__icon { position: relative; flex: none; align-self: center; width: 28px; height: 28px; border: 1px solid var(--accent); border-radius: 50%; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; margin: -.5px 0 0 -5px; background: var(--head); transition: transform .25s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item[open] summary { padding-bottom: 12px; }
.faq__answer { padding: 0 44px 22px calc(1.7em * 1.32 + 16px); }
@media (max-width: 639px) { .faq__answer { padding: 0 0 20px; } }

/* Quote band */
.quote-band { position: relative; overflow: hidden; padding: 96px 0; text-align: center; isolation: isolate; }
.quote-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(43, 22, 27, .86); }
.quote-band__mark { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 26px; border: 1px solid var(--red-2); border-radius: 50%; color: var(--red-2); }
.quote-band__mark svg { width: 26px; height: 26px; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font: 400 clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem)/1.16 var(--font-head); color: #fff; }
.quote-band cite { display: block; margin-top: 24px; font-style: normal; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); }

/* Testimonials */
.testimonial { position: relative; display: flex; flex-direction: column; gap: 16px; height: 100%; margin: 0; padding: 30px 28px 28px; border: 1px solid var(--line); border-top: 1px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); background: var(--white); }
.testimonial__stars { display: flex; gap: 3px; color: var(--red); }
.testimonial blockquote { margin: 0; flex: 1; font: 400 1.22rem/1.45 var(--font-head); color: var(--ink); }
.testimonial figcaption { padding-top: 14px; border-top: 1px solid var(--line); }
.testimonial figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.testimonial figcaption span { font-size: .88rem; color: var(--muted); }

/* Team */
.team__grid { display: grid; gap: 40px 26px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-items: start; }
.person { min-width: 0; }
.person__photo { overflow: hidden; aspect-ratio: 4 / 4.6; margin-bottom: 18px; border-radius: var(--radius); background: var(--sand); }
.person__photo.is-empty { display: none; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s var(--ease); }
.person__photo a:hover img { transform: scale(1.03); }
.person__name { font: 400 1.45rem/1.2 var(--font-head); }
.person__name a { color: var(--head); text-decoration: none; }
.person__name a:hover { color: var(--accent); }
.person__role { margin: 8px 0 12px; color: var(--kicker); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.person__bio summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; list-style: none; font-weight: 600; color: var(--head); font-size: .95rem; }
.person__bio summary::-webkit-details-marker { display: none; }
.person__bio summary svg { color: var(--accent); transition: transform .2s; }
.person__bio[open] summary svg { transform: rotate(180deg); }
.person__bio .is-open, .person__bio[open] .is-closed { display: none; }
.person__bio[open] .is-open { display: inline; }
.person__bio-text { margin: 10px 0 14px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: .95rem; }
.person__more { margin-top: 6px; }
.person__bio + .person__more { display: flex; width: fit-content; }

/* CTA band: a panel in the logo's red (brand), maroon (dark) or blush (light). */
.cta__panel { position: relative; overflow: hidden; display: grid; gap: 24px; padding: 36px 26px; border-radius: var(--radius); }
.cta__panel--brand { --bg: var(--red); --head: #fff; --copy: #fff; --soft: #fff; --rule: rgba(255, 255, 255, .45); --accent: #fff; --kicker: #fff; --link: #fff; background: var(--red); color: #fff; }
.cta__panel--light { background: var(--paper); border: 1px solid var(--red); }
.bg-tint .cta__panel--light { background: var(--white); }
.cta__panel .h2 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem); }
.cta__text > p:not(.eyebrow) { margin-top: 12px; font-size: 1.05rem; }
.cta__actions, .cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__panel--dark .btn--white { --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red); }
.cta__panel--dark .btn--white:hover { --btn-bg: var(--red-deep); --btn-bd: var(--red-deep); }
@media (min-width: 900px) {
  .cta__panel { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; padding: 48px 56px; }
  .cta__panel > :only-child { grid-column: 1 / -1; }
  .cta__actions { justify-content: flex-end; }
}
@media (max-width: 639px) { .cta__actions .btn { width: 100%; } .cta__buttons { width: 100%; } }

/* Contact */
.contact__in { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: start; } .contact--single .contact__in { grid-template-columns: 1fr; } }
.contact__info { min-width: 0; }
.contact__info .h2 { margin-bottom: 20px; }
.contact__details { list-style: none; display: grid; gap: 0; margin-top: 30px; border-bottom: 1px solid var(--rule); }
.contact__details li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--rule); line-height: 1.5; color: var(--head); }
.contact__details small { display: block; margin-bottom: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); }
.contact__details a { color: var(--head); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__details a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.contact__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); }
.contact__form { min-width: 0; padding: 28px 22px; border: 1px solid var(--line); border-top: 1px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); background: var(--white); box-shadow: var(--shadow); }
@media (min-width: 640px) { .contact__form { padding: 40px; } }
.contact__map { overflow: hidden; margin-top: 52px; border: 1px solid var(--rule); border-radius: var(--radius); aspect-ratio: 16 / 7; min-height: 300px; background: var(--sand); }
.contact__map iframe { width: 100%; height: 100%; border: 0; }
.contact__map--side { margin-top: 0; aspect-ratio: 4 / 3.2; align-self: stretch; }

/* 8. Forms ----------------------------------------------------------------- */
.form__title { margin-bottom: 22px; font: 400 1.7rem/1.2 var(--font-head); color: var(--ink); }
.form__grid { display: grid; gap: 16px; margin-bottom: 22px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__field--wide { grid-column: 1 / -1; } }
.form__field label { display: block; margin-bottom: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.form__field label span { color: var(--red-ink); }
.form__field label small { font-size: .9em; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.form input, .form textarea, .form select {
  width: 100%; min-height: 50px; padding: 11px 14px;
  border: 1px solid var(--field); border-radius: var(--radius-sm); background: var(--white);
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(216, 49, 76, .28); }
.form [aria-invalid] { border-color: #a3261f; background: #fdf1f0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form__status.is-sent { background: #eaf5ec; color: #1f5c2b; }
.form__status.is-error { background: #fdf1f0; color: #a3261f; }
.form__privacy { display: flex; gap: 10px; margin: 18px 0 0; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.form__privacy svg { flex: none; margin-top: 2px; color: var(--red); }

/* 9. Blog ------------------------------------------------------------------ */
.post-hero { --bg: var(--paper); padding: 26px 0 44px; background: var(--paper); border-bottom: 1px solid var(--line); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-title { margin-bottom: 20px; font-size: clamp(2.1rem, 1.5rem + 2.3vw, 3.1rem); }
.post-frame { margin-top: 44px; padding-right: calc(var(--gutter) + var(--frame)); }
.post-frame img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }
.post-body { padding-top: 60px !important; }
.post-body .rich { font-size: 1.08rem; }
.post-faqs { margin-top: 56px; }
.post-faqs > .h3 { margin-bottom: 18px; font-size: 1.9rem; }
.post-back { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.card--post .card__title { font-size: 1.4rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--ink); text-decoration: none; color: var(--ink); font-weight: 600; }
a.page-numbers:hover { background: var(--paper); color: var(--ink); }
.page-numbers.current { background: var(--ink); color: #fff; }
.page-numbers.dots { border-color: transparent; }

/* 10. Utilities / motion --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
