/* ============================================================
   DEEPER LAYERS — BLOCK ENGINE (Increment 1)
   Self-contained: tokens + base + Direction-C theme.
   Derived from design-review mockups (tokens.css / base.css / theme-c.css)
   but font paths point at the engine's own LOCAL copies under /static.
   ============================================================ */

/* ---- Monolith brand face (LOCAL copies under /static/fonts) ---- */
@font-face {
  font-family: 'Monolith';
  src: url('/static/fonts/monolith-light-webfont.woff2') format('woff2'),
       url('/static/fonts/monolith-light-webfont.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Monolith';
  src: url('/static/fonts/monolith-lightitalic-webfont.woff2') format('woff2'),
       url('/static/fonts/monolith-lightitalic-webfont.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Monolith';
  src: url('/static/fonts/monolith-regular-webfont.woff2') format('woff2'),
       url('/static/fonts/monolith-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Monolith';
  src: url('/static/fonts/monolith-regularitalic-webfont.woff2') format('woff2'),
       url('/static/fonts/monolith-regularitalic-webfont.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Surfaces */
  --paper: #F7F4ED;
  --cream: #EDE9DD;
  --warm-gray: #E3DFD5;
  --warm-gray-dark: #C5BFB3;

  /* Ink */
  --charcoal: #3C3A35;
  --charcoal-light: #5E5B54;

  /* Brand oxblood */
  --maroon: #5A2D2D;        /* global accent, nav active, primary CTA */
  --maroon-light: #7A4D4D;
  --maroon-ink: #3E1B1B;    /* deepest — dark sections, footer, hero */
  --on-dark: #F7F4ED;       /* cream text on dark */

  /* Restrained metallic — stars + thin rules ONLY */
  --gold: #C5A572;

  /* Layout */
  --maxw: 1180px;

  /* Type families */
  --font-head: 'Monolith', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  line-height: 1.65;
  font-weight: 400;
  background: var(--paper);
}

img { max-width: 100%; display: block; }

/* ---------- Typographic system ---------- */
h1, h2, h3, .head {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 300;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.06;
}

h1 { font-size: clamp(34px, 5.6vw, 62px); }
h2 { font-size: clamp(26px, 3.6vw, 42px); }
h3 { font-size: clamp(17px, 1.6vw, 22px); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon);
  margin: 0 0 1.1em;
  display: block;
}

a { color: inherit; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.section {
  padding-block: clamp(64px, 9vw, 128px);
}

.lede {
  font-size: clamp(16px, 1.25vw, 18px);
  color: var(--charcoal-light);
  max-width: 60ch;
}

/* ============================================================
   BAND SYSTEM — the contrast guarantee.
   Each block's <section> carries a band class; text colour is
   ALWAYS derived from the band, never free-form.
   ============================================================ */
.band-paper   { background: var(--paper); color: var(--charcoal); }
.band-cream   { background: var(--cream); color: var(--charcoal); }
.band-oxblood { background: var(--maroon); color: var(--on-dark); }
.band-ink     { background: var(--maroon-ink); color: var(--on-dark); }

/* On dark bands (oxblood/ink), headings + accents flip to cream/gold */
.band-oxblood h1, .band-oxblood h2, .band-oxblood h3,
.band-ink h1, .band-ink h2, .band-ink h3 { color: var(--on-dark); }
.band-oxblood .eyebrow, .band-ink .eyebrow { color: var(--gold); }
.band-oxblood .lede, .band-ink .lede { color: rgba(247,244,237,0.82); }
.band-oxblood p, .band-ink p { color: rgba(247,244,237,0.88); }

/* hairline top separators between consecutive light bands */
.blk + .blk.band-paper,
.blk + .blk.band-cream { border-top: 1px solid var(--warm-gray-dark); }

/* A heading block and the body block that follows it read as ONE editorial
   row: collapse the join (no separator, no doubled vertical padding) so the
   number | title | body grid lines up across the two sections. */
.heading + .heading-body { border-top: 0; padding-top: 0; }
.heading + .heading-body .row { align-items: start; }
.section.heading { padding-bottom: clamp(20px, 2vw, 28px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn--primary {
  background: var(--maroon);
  color: #fff;
  padding: .9em 1.5em;
  border-radius: 4px;
}
.btn--primary:hover { background: var(--maroon-light); }
.btn--ghost {
  background: transparent;
  color: var(--maroon);
  padding: .9em 0;
  letter-spacing: 0.12em;
}
.band-oxblood .btn--ghost, .band-ink .btn--ghost { color: var(--gold); }
.btn--invert { background: var(--paper); color: var(--maroon-ink); padding:.9em 1.5em; border-radius:4px; }
.btn--invert:hover { background: #fff; }

/* ---------- Global nav (identical across the brand) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237,233,221,0.86); /* cream w/ alpha for blur */
  border-bottom: 1px solid var(--warm-gray);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__sun { width: 34px; height: 34px; flex-shrink: 0; }
.brand__sun circle, .brand__sun line { stroke: var(--maroon); }
.brand__word {
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.08em;
  font-size: 15px;
}
.brand__word span { display: block; }
.brand__word .l2 { font-size: 11px; letter-spacing: 0.22em; color: var(--maroon-light); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav__links a {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: color .15s ease;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--maroon); }
.nav__links a.is-active { position: relative; }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
@media (max-width: 860px) { .nav__links a.is-active::after { display: none; } }
.nav__cta { margin-left: 6px; }

/* ---------- Photo duotone (on-brand maroon treatment) ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--maroon-ink);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo--duotone img { filter: grayscale(1) sepia(0.2); }
.photo--duotone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--maroon-ink);
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- Stars ---------- */
.stars { color: var(--gold); letter-spacing: 0.12em; font-size: 15px; }

/* ============================================================
   BLOCK: hero
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.85;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(120% 120% at 50% 30%, rgba(62,27,27,0.35), var(--maroon-ink) 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 4;
  padding-block: clamp(110px, 17vw, 220px);
  max-width: 900px;
}
.hero--center .hero__inner { text-align: center; margin-inline: auto; }
.hero--plain .hero__inner { padding-block: clamp(56px, 7vw, 96px); }
.hero h1 {
  font-size: clamp(36px, 6vw, 76px);
  letter-spacing: 0.06em;
  line-height: 1.02;
  max-width: 16ch;
}
.hero--center h1 { margin-inline: auto; }
.hero .lede { max-width: 52ch; }
.hero--center .lede { margin-inline: auto; }
.hero__buttons { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap; margin-top: clamp(24px, 3vw, 36px); }
.hero--center .hero__buttons { justify-content: center; }

/* ============================================================
   BLOCK: heading / richtext row layout
   big number | title (w/ vertical maroon rule) | body
   ============================================================ */
.row {
  display: grid;
  grid-template-columns: minmax(90px, 0.5fr) 1fr 1.3fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.row--wide { grid-template-columns: minmax(90px, 0.5fr) 1fr 2fr; }
.row--nonum { grid-template-columns: 1fr 2fr; }

.bignum {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(46px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--maroon);
  text-stroke: 1px var(--maroon);
}
.bignum--dark { -webkit-text-stroke-color: var(--gold); text-stroke-color: var(--gold); }

.row__title {
  position: relative;
  padding-left: 22px;
}
.row__title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px;
  background: var(--maroon);
}
.row__title h2 { font-size: clamp(26px, 3.4vw, 40px); }
.row__body { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.72; color: var(--charcoal-light); max-width: 60ch; }
.band-oxblood .row__body, .band-ink .row__body { color: rgba(247,244,237,0.82); }
.row__body p:not(:last-child) { margin-bottom: 1.1em; }

/* title-less testimonials: full-width review cards, tight rhythm */
.testimonials--bare .row--wide { grid-template-columns: 1fr; }
.testimonials--bare .row--wide > *:not(.row__body) { display: none; }
.testimonials--bare .row__body { max-width: none; }
.testimonials--bare .cards-3 { gap: 0 clamp(24px, 2.4vw, 36px); }
.testimonials--bare { padding-block: clamp(10px, 1.4vw, 18px); }

/* ============================================================
   BLOCK: bullet_grid ("Is the FMM for me")
   ============================================================ */
.helps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px clamp(28px, 5vw, 64px);
  margin: 0;
  padding: 0;
}
.helps li {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--warm-gray-dark);
  font-size: 15px;
}
.helps li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--maroon);
  flex-shrink: 0;
  transform: translateY(-1px);
}

/* ============================================================
   BLOCK: image
   ============================================================ */
.imgblock { }
.imgblock__fig { margin: 0; }
.imgblock--contained .imgblock__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
.imgblock__cap {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--charcoal-light);
  margin-top: 12px;
  text-align: center;
}
.band-oxblood .imgblock__cap, .band-ink .imgblock__cap { color: rgba(247,244,237,0.7); }

/* ============================================================
   BLOCK: testimonials — hairline-separated, no boxes
   ============================================================ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 14px;
}
.tcard {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--warm-gray-dark);
  border-radius: 0;
  padding: 4px clamp(20px, 2.2vw, 30px);
  margin: 0;
}
.band-oxblood .tcard, .band-ink .tcard { border-left-color: rgba(247,244,237,0.18); }
.tcard:first-child { border-left: 0; padding-left: 0; }
.tcard .quote {
  font-size: 16px;
  line-height: 1.6;
  margin: 14px 0 16px;
  color: var(--charcoal);
}
.band-oxblood .tcard .quote, .band-ink .tcard .quote { color: rgba(247,244,237,0.92); }
.tcard .name {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon);
}
.band-oxblood .tcard .name, .band-ink .tcard .name { color: var(--gold); }

/* ============================================================
   BLOCK: compare — columns separated by hairlines, no boxes
   ============================================================ */
.compare__head { text-align: center; margin-bottom: 40px; }
.compare__head .bignum { margin: 0 auto 14px; display: block; width: max-content; }
.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--warm-gray-dark);
}
.band-oxblood .compare, .band-ink .compare { border-top-color: rgba(247,244,237,0.18); }
.ccard {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--warm-gray-dark);
  border-radius: 0;
  padding: clamp(26px, 3vw, 40px) clamp(22px, 2.4vw, 34px);
}
.band-oxblood .ccard, .band-ink .ccard { border-left-color: rgba(247,244,237,0.18); }
.ccard:first-child { border-left: 0; }
.ccard h3 { margin-bottom: 10px; }
.ccard p { font-size: 15px; margin: 0; }
/* light-band compare text */
.band-paper .ccard h3, .band-cream .ccard h3 { color: var(--charcoal); }
.band-paper .ccard p, .band-cream .ccard p { color: var(--charcoal-light); }
/* dark-band compare text */
.band-oxblood .ccard h3, .band-ink .ccard h3 { color: rgba(247,244,237,0.78); }
.band-oxblood .ccard p, .band-ink .ccard p { color: rgba(247,244,237,0.7); }
/* emphasized FMM card — filled oxblood tint, gold accents */
.ccard--fmm { background: rgba(197,165,114,0.06); }
.band-paper .ccard--fmm, .band-cream .ccard--fmm { background: var(--maroon); }
.band-paper .ccard--fmm h3, .band-cream .ccard--fmm h3,
.band-oxblood .ccard--fmm h3, .band-ink .ccard--fmm h3 { color: var(--gold); }
.band-paper .ccard--fmm p, .band-cream .ccard--fmm p { color: rgba(247,244,237,0.95); }
.band-oxblood .ccard--fmm p, .band-ink .ccard--fmm p { color: rgba(247,244,237,0.95); }

/* ============================================================
   BLOCK: cta — restrained, centered
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: .5em; }
.band-paper .cta-band h2, .band-cream .cta-band h2 { color: var(--maroon); }
.cta-band .lede { margin-inline: auto; margin-bottom: 1.8em; }

/* ============================================================
   BLOCK: spacer
   ============================================================ */
.spacer-s { height: 32px; }
.spacer-m { height: 72px; }
.spacer-l { height: 128px; }

/* ============================================================
   BLOCK: accordion — JS-free FAQ (native <details>/<summary>)
   ============================================================ */
.accordion { border-top: 1px solid var(--warm-gray-dark); }
.band-oxblood .accordion, .band-ink .accordion { border-top-color: rgba(247,244,237,0.18); }
.accordion__item {
  border-bottom: 1px solid var(--warm-gray-dark);
}
.band-oxblood .accordion__item, .band-ink .accordion__item { border-bottom-color: rgba(247,244,237,0.18); }
.accordion__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--charcoal);
}
.band-oxblood .accordion__q, .band-ink .accordion__q { color: var(--on-dark); }
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }
.accordion__q-text { flex: 1; }
.accordion__icon {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.accordion__icon::before, .accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--maroon);
  transition: transform .2s ease, opacity .2s ease;
}
.band-oxblood .accordion__icon::before, .band-oxblood .accordion__icon::after,
.band-ink .accordion__icon::before, .band-ink .accordion__icon::after { background: var(--gold); }
.accordion__icon::before { left: 0; right: 0; top: 7px; height: 2px; }            /* horizontal */
.accordion__icon::after  { top: 0; bottom: 0; left: 7px; width: 2px; }            /* vertical */
.accordion__item[open] .accordion__icon::after { transform: scaleY(0); opacity: 0; }
.accordion__a {
  padding: 0 0 22px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.72;
  color: var(--charcoal-light);
  max-width: 62ch;
}
.band-oxblood .accordion__a, .band-ink .accordion__a { color: rgba(247,244,237,0.82); }
.accordion__a h3 {
  font-size: clamp(15px, 1.3vw, 18px);
  margin: 18px 0 8px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--maroon);
}
.band-oxblood .accordion__a h3, .band-ink .accordion__a h3 { color: var(--gold); }
.accordion__a p { margin: 0 0 1em; }
.accordion__a a { color: var(--maroon); text-decoration: underline; }
.band-oxblood .accordion__a a, .band-ink .accordion__a a { color: var(--gold); }

/* ============================================================
   BLOCK: map — responsive, lazy-loaded Google Maps iframe
   ============================================================ */
.mapblock__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); padding-block: clamp(48px, 7vw, 96px); }
.mapblock__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: var(--warm-gray);
  box-shadow: 0 1px 0 var(--warm-gray-dark);
}
.mapblock__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.mapblock__cap {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--charcoal-light);
  margin-top: 14px;
  text-align: center;
}
.band-oxblood .mapblock__cap, .band-ink .mapblock__cap { color: rgba(247,244,237,0.7); }

/* ============================================================
   BLOCK: form — configurable, JS-free, brand-styled
   ============================================================ */
.dl-form { max-width: 640px; }
.dl-form__hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.dl-field { margin-bottom: 22px; }
.dl-field__label, .dl-form legend.dl-field__label {
  display: block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon);
  margin: 0 0 8px;
}
.band-oxblood .dl-field__label, .band-ink .dl-field__label { color: var(--gold); }
.dl-req { color: var(--maroon); }
.band-oxblood .dl-req, .band-ink .dl-req { color: var(--gold); }
.dl-form input[type="text"],
.dl-form input[type="email"],
.dl-form input[type="tel"],
.dl-form textarea,
.dl-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid var(--warm-gray-dark);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.dl-form textarea { resize: vertical; min-height: 120px; }
.dl-form input:focus, .dl-form textarea:focus, .dl-form select:focus {
  outline: 0;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(90,45,45,0.12);
}
.dl-field__group {
  border: 1px solid var(--warm-gray-dark);
  border-radius: 4px;
  padding: 14px 16px;
  margin: 0;
  background: rgba(255,255,255,0.5);
}
.band-oxblood .dl-field__group, .band-ink .dl-field__group { background: rgba(247,244,237,0.06); border-color: rgba(247,244,237,0.2); }
.dl-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  padding: 6px 0;
  cursor: pointer;
}
.dl-check input { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--maroon); }
.dl-form__actions { margin-top: 28px; }
.band-oxblood .dl-form input, .band-ink .dl-form input,
.band-oxblood .dl-form textarea, .band-ink .dl-form textarea,
.band-oxblood .dl-form select, .band-ink .dl-form select { color: var(--charcoal); }

/* ============================================================
   FOOTER (global)
   ============================================================ */
.footer {
  background: var(--maroon-ink);
  color: var(--on-dark);
  padding-block: clamp(48px, 6vw, 80px) 28px;
}
.footer__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .7;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}
.footer h4 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 14px;
}
.footer p, .footer a { color: rgba(247,244,237,0.82); font-size: 14px; text-decoration: none; line-height: 1.9; }
.footer__brand .brand__word, .footer__brand .brand__word .l2 { color: var(--on-dark); }
.footer__brand .brand__sun circle, .footer__brand .brand__sun line { stroke: var(--gold); }
.footer__tag { margin-top: 14px; max-width: 30ch; }
.footer__copy {
  margin-top: clamp(36px, 5vw, 56px);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(247,244,237,0.5);
}
.footer__social { display: flex; gap: 14px; margin-top: 18px; list-style: none; padding: 0; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: rgba(247,244,237,0.82); border: 1px solid rgba(247,244,237,0.18); transition: color .2s, border-color .2s, background .2s; }
.footer__social a:hover { color: var(--maroon-ink); background: var(--gold); border-color: var(--gold); }
.footer__social svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE — mobile single column
   ============================================================ */
@media (max-width: 760px) {
  .nav__inner { gap: 14px; flex-wrap: wrap; }
  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    order: 3;
    flex-basis: 100%;
    border-top: 1px solid var(--warm-gray);
    padding-top: 10px;
  }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 9px 0; font-size: 13px; }
  .nav__cta { margin: 10px 0 2px; }
  .brand { margin-right: auto; }

  .row, .row--wide, .row--nonum { grid-template-columns: 1fr; gap: 12px; }
  .bignum { font-size: 48px; }

  .helps { grid-template-columns: 1fr; }

  .cards-3 { grid-template-columns: 1fr; gap: 0; }
  .tcard { border-left: 0; border-top: 1px solid var(--warm-gray-dark); padding: 22px 0; }
  .band-oxblood .tcard, .band-ink .tcard { border-top-color: rgba(247,244,237,0.18); }
  .tcard:first-child { border-top: 0; }

  .compare { grid-template-columns: 1fr; border-top: 0; }
  .ccard { border-left: 0; border-top: 1px solid var(--warm-gray-dark); }
  .band-oxblood .ccard, .band-ink .ccard { border-top-color: rgba(247,244,237,0.18); }
  .ccard:first-child { border-top: 0; }

  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   ============================================================
   DIRECTION-G HOME ("home-paired" / layout-paired)
   ------------------------------------------------------------
   Ported faithfully from the approved mockup:
     design-review/mockups/{tokens,base,theme-g,home-buildout}.css
   Everything below is SCOPED to body.dir-g so the Direction-C
   tokens + chrome above stay the default for every OTHER CMS page
   (contact/headache use their own templates; other page.html pages
   never get .dir-g unless they carry home-only blocks).
   Token overrides cascade into the existing global nav/footer/btn/
   row/section/eyebrow chrome — no need to re-declare those.
   ============================================================
   ============================================================ */

/* ---- Token overrides: warm the whole palette (theme-g) ---- */
body.dir-g {
  --paper:#FBF6E8; --cream:#F6ECD2; --warm-gray:#ECE0C4; --warm-gray-dark:#D8C9A6;
  --charcoal:#3A2A22; --charcoal-light:#6A5648;
  --maroon:#6B2F28; --maroon-light:#8A4A40; --maroon-ink:#451815;
  --on-dark:#FBF6E8; --gold:#C9A86A;
}
/* buildout: deepen the hero/dark ink to the A/B/C value */
body.dir-g.buildout { --maroon-ink:#3E1B1B; }

body.dir-g { background: var(--paper); }

/* ---- Row layout: big number | title (vertical rule) | body (theme-g) ---- */
body.dir-g .row {
  display: grid;
  grid-template-columns: minmax(90px, 0.5fr) 1fr 1.3fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
body.dir-g .row--wide { grid-template-columns: minmax(90px, 0.5fr) 1fr 2fr; }
body.dir-g .bignum { font-size: clamp(46px, 6vw, 88px); }
body.dir-g .row__title h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--charcoal); }
body.dir-g .row__body { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.72; color: var(--charcoal-light); max-width: 60ch; }

/* ============================================================
   HERO — warm-editorial: dark, photo to the right, text left
   (theme-g) + clean maroon duotone & trust line (home-buildout).
   The CMS hero__media always carries `.photo`; we treat it like
   the mockup regardless of the optional `duotone` prop.
   ============================================================ */
/* The CMS hero block carries the generic `.section` class, which adds
   clamp(48px,7vw,94px) of vertical padding on top of the hero's own
   `.hero__inner` padding. The approved mockup hero (`home-paired.html`)
   has NO `.section` class on its <section>, so its height is governed
   ENTIRELY by `.hero__inner`. Zero the section padding here so the
   dir-g hero pixel-matches the mockup height. Scoped to dir-g .hero,
   so other CMS sections keep their section padding. */
body.dir-g .hero { background: var(--maroon-ink); position: relative; overflow: hidden; }
/* `.section.hero` (0,3,1) beats both `.section` (line ~124) and the
   desktop `body.dir-g .section` override inside @media min-width:861px,
   so the hero carries ZERO section padding at every breakpoint. */
body.dir-g .section.hero { padding-block: 0; }
body.dir-g .hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(80px, 12vw, 150px);
  max-width: var(--maxw);
  margin-inline: auto;
}
body.dir-g .hero__inner .lede { max-width: 46ch; }
body.dir-g .hero h1 { letter-spacing: 0.05em; line-height: 1.04; }

/* photo as a soft right-side panel that fades into the maroon ground */
body.dir-g .hero__media {
  position: absolute;
  inset: 0 0 0 46%;
  z-index: 1;
  opacity: 1;            /* override the Direction-C 0.85 hero fade */
}
/* nuke the Direction-C radial vignette on the home hero */
body.dir-g .hero__media::before { background: none; }

/* 1) PHOTO -> clean light-gray base (home-buildout) */
body.dir-g .hero__media img {
  filter: grayscale(1) contrast(1.1) brightness(1.2);
}
/* 2) MAROON TINT over the whole photo, variable strength (home-buildout) */
body.dir-g .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,
    var(--maroon-ink) 0%,
    color-mix(in srgb, var(--maroon-ink) 70%, var(--maroon)) 50%,
    color-mix(in srgb, var(--maroon) 78%, var(--maroon-light)) 100%);
  mix-blend-mode: multiply;
  opacity: var(--hero-tint, 0.15);
  pointer-events: none;
}

/* desktop: photo starts earlier + hold-left gradient (home-buildout) */
@media (min-width: 761px) {
  body.dir-g .hero__media { inset: 0 0 0 28%; }
  body.dir-g .hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg,
      var(--maroon-ink) 0%,
      var(--maroon-ink) 26%,
      color-mix(in srgb, var(--maroon-ink) 78%, transparent) 42%,
      color-mix(in srgb, var(--maroon-ink) 44%, transparent) 54%,
      color-mix(in srgb, var(--maroon-ink) 16%, transparent) 66%,
      transparent 80%);
  }
}

/* nudge hero text left (home-buildout) */
body.dir-g .hero .hero__inner {
  padding-inline: clamp(16px, 3.4vw, 40px);
  padding-right: clamp(20px, 5vw, 56px);
}

/* hero text contrast (home-buildout) */
body.dir-g .hero h1 {
  color: var(--on-dark);
  font-weight: 400;
  opacity: 1;
  -webkit-text-stroke: 0;
  text-shadow: 0 1px 18px rgba(20,7,7,0.30);
  font-size: clamp(36px, 6vw, 76px);   /* base/F sizing; compacted below */
  max-width: none;
}
body.dir-g .hero .lede {
  color: #F1E7D6;
  opacity: 1;
  max-width: 46ch;
}
body.dir-g .hero__buttons { margin-top: clamp(24px, 3vw, 36px); }

/* HERO trust line (home-buildout) */
body.dir-g .hero__reviews {
  margin: clamp(16px, 1.6vw, 22px) 0 0;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1;
}
body.dir-g .hero__reviews-stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 14px;
}
body.dir-g .hero__reviews-text {
  color: #F1E7D6;
  font-weight: 500;
  text-transform: none;
}

/* mobile hero stacks (theme-g) */
@media (max-width: 760px) {
  body.dir-g .hero__media { position: relative; inset: auto; height: 240px; margin-top: 28px; opacity: 1; }
  body.dir-g .hero__media::before { background: linear-gradient(0deg, var(--maroon-ink), rgba(69,24,21,0.1) 60%); }
  body.dir-g .hero__inner { padding-bottom: 0; }
}

/* ============================================================
   BULLET GRID — "Is the FMM for me?" (.helps) (base + theme-g)
   The CMS bullet_grid already emits .row.row--wide > bignum +
   .row__title + .row__body > ul.helps > li*. Match the look.
   ============================================================ */
body.dir-g .helps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px clamp(28px, 5vw, 64px);
  margin: 0;
  padding: 0;
}
body.dir-g .helps li {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--warm-gray-dark);
  font-size: 15px;
}
body.dir-g .helps li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--maroon);
  flex-shrink: 0;
  transform: translateY(-1px);
}
body.dir-g .row__body .helps { margin-top: 0; }

/* ============================================================
   TESTIMONIALS — hairline-separated, no boxes (base + theme-g)
   + the gold rating line + "read all reviews" link (home-buildout)
   ============================================================ */
body.dir-g .cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 14px;
}
body.dir-g .tcard {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--warm-gray-dark);
  border-radius: 0;
  padding: 4px clamp(20px, 2.2vw, 30px);
  margin: 0;
}
body.dir-g .tcard:first-child { border-left: 0; padding-left: 0; }
body.dir-g .tcard .quote {
  font-size: 16px;
  line-height: 1.6;
  margin: 14px 0 16px;
  color: var(--charcoal);
}
body.dir-g .tcard .name {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--maroon);
}
body.dir-g .stars { color: var(--gold); letter-spacing: 0.12em; font-size: 15px; }

/* (b) section-04 rating line under the h2 (home-buildout) */
body.dir-g .s-testimonials .row__rating,
body.dir-g .testimonials .row__rating {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
body.dir-g .row__rating-stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 15px;
}
body.dir-g .row__rating-text {
  color: var(--charcoal-light);
  font-weight: 500;
}
body.dir-g .row__rating-more {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.02em;
}
body.dir-g .row__rating-more a {
  color: var(--maroon);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--maroon) 35%, transparent);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
body.dir-g .row__rating-more a:hover {
  color: var(--maroon-light);
  border-color: var(--maroon-light);
}

/* ============================================================
   PAIRED-LAYOUT TONE ALTERNATION (theme-g, layout-paired only)
   hero(dark) -> 01+02 paper -> 03 helps cream -> 04 testimonials
   paper -> 05 compare dark -> cta paper.
   In the CMS bands drive the bg, but the content agent will set
   the bands accordingly. We still honor the explicit theme-g flips
   for pages that carry the matching section classes.
   ============================================================ */
body.dir-g.layout-paired .s-helps { background: var(--cream); }
body.dir-g.layout-paired .s-testimonials { background: var(--paper); }

/* ============================================================
   THERAPY + VIDEO paired band (copy_video block) (home-buildout)
   ============================================================ */
body.dir-g .therapy-video {
  background: var(--paper);
}
body.dir-g .therapy-video .tv-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
body.dir-g .therapy-video .tv-grid--video-left { direction: rtl; }
body.dir-g .therapy-video .tv-grid--video-left > * { direction: ltr; }

/* right-edge bleed: make the video noticeably larger (home-buildout) */
@media (min-width: 761px) {
  body.dir-g .therapy-video {
    --page-gutter: max(
      clamp(20px, 5vw, 56px),
      calc((100vw - var(--maxw)) / 2 + clamp(20px, 5vw, 56px))
    );
  }
  body.dir-g .therapy-video > .container {
    max-width: none;
    width: 100%;
    margin-inline: 0;
    padding-left: var(--page-gutter);
    padding-right: 0;
  }
  body.dir-g .therapy-video .tv-grid {
    grid-template-columns: minmax(0, 520px) 1fr;
    gap: clamp(40px, 5vw, 80px);
  }
  /* video-left variant keeps the bleed but flips columns to the left edge */
  body.dir-g .therapy-video .tv-grid--video-left {
    grid-template-columns: 1fr minmax(0, 520px);
  }
}

body.dir-g .therapy-video .tv-copy { display: grid; gap: clamp(28px, 4vw, 44px); }
body.dir-g .therapy-video .tv-item {
  display: grid;
  grid-template-columns: minmax(56px, auto) 1fr;
  gap: clamp(16px, 2vw, 26px);
  align-items: start;
}
body.dir-g .therapy-video .tv-item .bignum { line-height: 0.9; }
body.dir-g .therapy-video .tv-item .row__title h2 { font-size: clamp(22px, 2.6vw, 30px); }
body.dir-g .therapy-video .tv-item .row__body {
  font-size: clamp(15px, 1.1vw, 16px);
  line-height: 1.72;
  color: var(--charcoal-light);
  max-width: 52ch;
  margin-top: 12px;
}
body.dir-g .therapy-video .tv-video { width: 100%; }

@media (max-width: 760px) {
  body.dir-g .therapy-video .tv-grid { grid-template-columns: 1fr; gap: 32px; }
  body.dir-g .therapy-video .tv-grid--video-left { direction: ltr; }
  body.dir-g .therapy-video .tv-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   YOUTUBE-LITE PLAYER (home-buildout)
   ============================================================ */
body.dir-g .video-block { width: 100%; }
body.dir-g .ytlite {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--maroon-ink);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--warm-gray-dark);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(62,27,27,0.16);
}
body.dir-g .ytlite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(62,27,27,0.10), rgba(62,27,27,0.34));
  transition: background .18s ease;
  pointer-events: none;
}
body.dir-g .ytlite:hover::before { background: rgba(62,27,27,0.20); }
body.dir-g .ytlite__btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--maroon);
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(62,27,27,0.40);
  transition: background .18s ease, transform .18s ease;
}
body.dir-g .ytlite:hover .ytlite__btn,
body.dir-g .ytlite__btn:focus-visible {
  background: var(--maroon-light);
  transform: translate(-50%, -50%) scale(1.06);
}
body.dir-g .ytlite__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
body.dir-g .ytlite__btn::after {
  content: "";
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--on-dark);
}
body.dir-g .ytlite iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
body.dir-g .video-caption {
  margin-top: 12px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal-light);
  text-align: center;
}

/* ============================================================
   COMPARE (05) — 5-card SEO grid + payoff strip (theme-g + home-buildout)
   The compare_modal block emits .s-compare on a dark band.
   ============================================================ */
body.dir-g .s-compare__head { text-align: center; margin-bottom: 40px; }
body.dir-g .s-compare__head .bignum { margin: 0 auto 14px; display: block; width: max-content; }
body.dir-g .s-compare__head .eyebrow { color: var(--gold); }

body.dir-g .compare--5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0;
  margin-top: 18px;
  align-items: stretch;
  border-top: 1px solid rgba(247,244,237,0.18);
}
body.dir-g .compare--5 .ccard--rival {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(247,244,237,0.18);
  border-radius: 0;
  padding: clamp(22px, 2.4vw, 32px) clamp(18px, 2vw, 26px);
  transition: background .18s ease, transform .18s ease;
}
body.dir-g .compare--5 .ccard--rival:first-child { border-left: 0; }
body.dir-g .compare--5 .ccard--rival h3 {
  color: rgba(247,244,237,0.80);
  font-size: 15px;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
body.dir-g .compare--5 .ccard--rival p {
  color: rgba(247,244,237,0.68);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}
body.dir-g .compare--5 .ccard__vs {
  margin-top: auto;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.85;
  transition: opacity .18s ease, transform .18s ease;
}
body.dir-g .compare--5 .ccard--rival:hover,
body.dir-g .compare--5 .ccard--rival:focus-visible {
  background: rgba(247,244,237,0.05);
  transform: translateY(-2px);
}
body.dir-g .compare--5 .ccard--rival:hover .ccard__vs,
body.dir-g .compare--5 .ccard--rival:focus-visible .ccard__vs {
  opacity: 1;
  transform: translateX(3px);
}
body.dir-g .compare--5 .ccard--rival:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: -1px;
}

/* FMM payoff strip */
body.dir-g .compare__payoff {
  margin-top: 0;
  border-top: 1px solid rgba(247,244,237,0.18);
  background: rgba(201,168,106,0.06);
  padding: clamp(24px, 3vw, 38px) clamp(22px, 2.4vw, 34px);
}
body.dir-g .compare__payoff h3 {
  color: var(--gold);
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 8px;
}
body.dir-g .compare__payoff p {
  color: rgba(247,244,237,0.95);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  margin: 0;
  max-width: 60ch;
}

@media (max-width: 760px) {
  body.dir-g .compare--5 { grid-template-columns: 1fr; border-top: 0; }
  body.dir-g .compare--5 .ccard--rival {
    border-left: 0;
    border-top: 1px solid rgba(247,244,237,0.18);
  }
  body.dir-g .compare--5 .ccard--rival:first-child { border-top: 0; }
}

/* ============================================================
   COMPARE POP-UP modal (home-buildout)
   ============================================================ */
body.dir-g .cmp-content[hidden] { display: none; }
body.cmp-modal-open { overflow: hidden; }

/* BASE (un-scoped) modal default: page.html ALWAYS emits #cmpModal and
   #rev-modal, but the "hidden until .is-open" rules below are dir-g-scoped.
   On non-dir-g pages (contact/about/faqs/services) nothing hid them, so the
   modal panels' close buttons (the "×") leaked into normal flow below the
   footer. Hide every .cmp-modal by default everywhere; only the JS-added
   .is-open class reveals it (the modal is only ever opened on home/reviews,
   which are dir-g and carry the full overlay styling below). */
.cmp-modal { display: none; }
.cmp-modal.is-open { display: flex; }

body.dir-g .cmp-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
body.dir-g .cmp-modal.is-open { display: flex; }
body.dir-g .cmp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,7,7,0.55);
  opacity: 0;
  transition: opacity .22s ease;
}
body.dir-g .cmp-modal.is-open .cmp-modal__backdrop { opacity: 1; }
body.dir-g .cmp-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - clamp(32px, 8vw, 96px));
  overflow-y: auto;
  background: var(--paper);
  color: var(--charcoal);
  border-radius: 4px;
  border-top: 3px solid var(--maroon);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 60px rgba(20,7,7,0.42);
  outline: none;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity .22s ease, transform .22s ease;
}
body.dir-g .cmp-modal.is-open .cmp-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
body.dir-g .cmp-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--maroon);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
body.dir-g .cmp-modal__close:hover { background: rgba(90,45,45,0.08); }
body.dir-g .cmp-modal__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body.dir-g .cmp-modal__body h2,
body.dir-g .cmp-modal__body h3 {
  color: var(--maroon);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  margin: 0 0 16px;
  padding-bottom: 14px;
  padding-right: 28px;
  border-bottom: 1px solid var(--gold);
}
body.dir-g .cmp-modal__body p {
  color: var(--charcoal-light);
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 1.72;
  margin: 0 0 16px;
}
body.dir-g .cmp-modal__body .cmp-content__cta { margin-top: 8px; }

@media (max-width: 560px) {
  body.dir-g .cmp-modal { padding: 14px; }
  body.dir-g .cmp-modal__panel { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.dir-g .cmp-modal__panel,
  body.dir-g .cmp-modal__backdrop { transition: none; }
}

/* ============================================================
   FINAL CTA (theme-g): light band, maroon heading
   ============================================================ */
body.dir-g .s-cta h2,
body.dir-g .cta-band h2 { color: var(--maroon); }

/* ============================================================
   GLOBAL NAV / FOOTER logo image (replaces the placeholder sun)
   The home chrome uses the recolored PNG logos (contract E).
   ============================================================ */
.brand__logo { display: block; height: 54px; width: auto; }
.footer .brand__logo { height: 56px; }

/* mobile nav: hamburger + drawer (base.css, ported globally so the
   home nav__toggle works; harmless on other pages — the toggle is
   only emitted in page.html's home/global nav) */
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--maroon);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
@media (max-width: 860px) {
  .nav__inner { flex-wrap: wrap; gap: 14px; }
  .brand { margin-right: auto; }
  .nav .brand__logo { height: 42px; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    flex-basis: 100%;
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__cta { display: none; }
  .nav--open .nav__links { display: flex; }
  .nav--open .nav__cta {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin: 10px 0 2px;
  }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    width: 100%;
    padding: 14px 2px;
    font-size: 13px;
    border-top: 1px solid var(--warm-gray-dark);
  }
  .nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   DESKTOP-ONLY COMPACTION (min-width: 861px) — Direction-G is
   ~20-25% smaller than F on wide desktop (theme-g).
   ============================================================ */
@media (min-width: 861px) {
  body.dir-g .hero__inner { padding-block: clamp(66px, 8.8vw, 123px); }
  body.dir-g .hero h1 { font-size: clamp(34px, 5vw, 54px); }
  body.dir-g .hero .lede { font-size: clamp(15px, 1.2vw, 17px); }
  /* absorb the review-line height so the hero keeps its pre-review height */
  body.dir-g.buildout .hero .hero__inner { padding-block: calc(clamp(66px, 8.8vw, 123px) - 20px); }

  body.dir-g .section { padding-block: clamp(48px, 7vw, 94px); }
  body.dir-g .row__title h2 { font-size: clamp(22px, 2.6vw, 30px); }
  body.dir-g .bignum { font-size: clamp(40px, 5vw, 64px); }
  body.dir-g .lede { font-size: clamp(15px, 1.05vw, 15px); }
  body.dir-g .row__body { font-size: clamp(15px, 1.1vw, 16px); }
  body.dir-g .s-compare__head h2,
  body.dir-g .s-testimonials .row__title h2,
  body.dir-g .s-helps .row__title h2 { font-size: clamp(22px, 3vw, 37px); }
  body.dir-g .row { gap: clamp(20px, 3.2vw, 51px); }
  body.dir-g .s-compare__head { margin-bottom: 32px; }
}

/* ============================================================
   REVIEWS PAGE (reviews block) — full grid of real reviews.
   Ported from design-review/mockups/home-buildout.css §7. Reuses the
   already-present dir-g idioms (.cmp-modal overlay/panel, .ytlite player,
   .cards-3/.tcard, .stars, .row__rating*, .s-testimonials light band) and
   adds ONLY the reviews-specific rules: centered head, video grid wrapper,
   condition filter chips, the 3-up equal-height card grid + 3-line clamp,
   chip pill, read-more link, card foot/date, and the rev-modal panel text.
   Scoped under body.dir-g to match the home agent's page-body scoping.
   ============================================================ */

/* The reviews section header: centered, light band. Carries .s-testimonials
   so the gold-star rating line (.s-testimonials .row__rating, above) applies. */
body.dir-g .s-reviews__head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto clamp(8px, 1.4vw, 16px);
}
body.dir-g .s-reviews__head .eyebrow { color: var(--maroon); }
body.dir-g .s-reviews__head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--charcoal);
  margin: 8px 0 0;
}
/* center the inherited rating line under the centered head */
body.dir-g .s-reviews__head .row__rating { justify-content: center; }
body.dir-g .s-reviews__head .row__rating-more { text-align: center; }

/* ---- VIDEO REVIEWS — responsive grid of the existing ytlite players ---- */
body.dir-g .video-reviews { margin-top: clamp(20px, 2.4vw, 30px); }
body.dir-g .video-reviews__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--charcoal);
  text-align: center;
  margin: 0 0 clamp(16px, 2vw, 24px);
}
body.dir-g .vr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
body.dir-g .vr-grid .vr-item { width: 100%; }
/* full-sentence captions here, NOT the uppercase label used in section 03 */
body.dir-g .vr-grid .video-caption {
  margin-top: 8px;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--charcoal-light);
  text-align: center;
  line-height: 1.4;
}
@media (max-width: 980px) { body.dir-g .vr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { body.dir-g .vr-grid { grid-template-columns: 1fr; } }

/* ---- CONDITION FILTER CHIPS — pill row, gold/maroon ---- */
body.dir-g .rev-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: clamp(30px, 3.4vw, 46px) auto clamp(6px, 1vw, 12px);
  padding-top: clamp(24px, 2.8vw, 36px);
  border-top: 1px solid var(--warm-gray-dark);
  max-width: 70ch;
}
body.dir-g .rev-filter {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal-light);
  background: transparent;
  border: 1px solid var(--warm-gray-dark);
  border-radius: 999px;
  padding: 7px 15px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
body.dir-g .rev-filter:hover {
  color: var(--maroon);
  border-color: var(--maroon-light);
}
body.dir-g .rev-filter:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body.dir-g .rev-filter.is-active {
  color: var(--on-dark);
  background: var(--maroon);
  border-color: var(--maroon);
}

/* ---- ALIGNED BOX GRID — equal-height boxes, 3/2/1 columns ----
   Scoped to .reviews-grid so the homepage 3-up testimonials band
   (.cards-3 w/o .reviews-grid) is untouched; overrides the boxless
   .cards-3/.tcard display for this page. */
body.dir-g .reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;                  /* equal-height rows -> aligned boxes */
  gap: clamp(16px, 1.8vw, 24px);
  margin-top: clamp(20px, 2.4vw, 30px);
  border-top: 0;
  max-width: none;
  align-items: stretch;
}
@media (max-width: 980px) { body.dir-g .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { body.dir-g .reviews-grid { grid-template-columns: 1fr; } }

/* each review box: bordered paper card, flex column so the footer pins to
   the bottom and all boxes share the same height. */
body.dir-g .reviews-grid .rev-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;                         /* fill the 1fr grid row -> uniform */
  border: 1px solid var(--warm-gray-dark);
  border-left: 1px solid var(--warm-gray-dark);  /* override .tcard single-left */
  border-radius: 4px;
  background: color-mix(in srgb, var(--paper) 60%, #fff);
  padding: clamp(16px, 1.5vw, 20px);
  margin: 0;
  box-shadow: 0 2px 10px rgba(62,27,27,0.05);
}
body.dir-g .reviews-grid .rev-card:first-child { padding-left: clamp(16px, 1.5vw, 20px); }

/* the stars sit at the very top, fixed */
body.dir-g .reviews-grid .rev-card .stars { flex: 0 0 auto; }

/* per-card condition chip (primary tag), small gold-hairline pill */
body.dir-g .reviews-grid .rev-card__chip {
  display: inline-block;
  align-self: flex-start;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: 999px;
  padding: 3px 9px;
}

/* quote: clamped to EXACTLY 3 lines with a fixed 3-line min-height so every
   box reserves the same vertical space whether the text is 1 line or 3. */
body.dir-g .reviews-grid .rev-card__quote {
  color: var(--charcoal);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 11px 0 8px;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  min-height: calc(3 * 1.5em);          /* reserve 3 lines so boxes align */
}

/* hidden full-text source for the modal (never shown inline) */
body.dir-g .reviews-grid .rev-card__full { display: none; }

/* 'Read full review →' modal trigger: quiet maroon text-button */
body.dir-g .reviews-grid .rev-more {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--maroon);
  background: transparent;
  border: 0;
  padding: 0 0 4px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: color .15s ease;
}
body.dir-g .reviews-grid .rev-more:hover { color: var(--maroon-light); }
body.dir-g .reviews-grid .rev-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* footer: pinned to the bottom of every box so name+date line up across rows */
body.dir-g .reviews-grid .rev-card__foot {
  margin-top: auto;
  padding-top: 8px;
}
body.dir-g .reviews-grid .rev-card__foot .name {
  display: block;
  color: var(--maroon);
}

/* optional per-review date (rendered only when the source had one) */
body.dir-g .reviews-grid .tcard__date {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  opacity: 0.8;
}

/* ---- REVIEW MODAL — reuses the .cmp-modal overlay/panel idiom ---- */
body.dir-g .rev-modal .rev-modal__stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
body.dir-g .rev-modal .rev-modal__quote {
  color: var(--charcoal);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  margin: 0 0 18px;
  white-space: normal;
}
body.dir-g .rev-modal .rev-modal__meta {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--gold);
}
body.dir-g .rev-modal .rev-modal__name {
  font-weight: 600;
  color: var(--maroon);
}
body.dir-g .rev-modal .rev-modal__date {
  color: var(--charcoal-light);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ============================================================
   DIR-G MOBILE COLLAPSE (single column) — MUST be last so it wins.
   The generic mobile rules (~line 717) collapse .row/.helps/.cards-3, but
   the dir-g defaults declared later in this file (body.dir-g .row,
   body.dir-g .helps, body.dir-g .cards-3) re-establish the multi-column
   grids at EQUAL specificity and LATER source order — media queries add no
   specificity, so those win even at 390px. Result: home section 03's
   3-up checklist and section 04's 3-up testimonials never collapsed and blew
   the page out to ~800px wide with a sideways scroll + empty void on the right.
   Placing the dir-g mobile collapse at the very END of the file makes it win
   by source order without touching desktop layout. The bullet_grid template
   emits an INLINE grid-template-columns when columns!=2, so .helps needs
   !important to beat that inline style.
   ============================================================ */
@media (max-width: 760px) {
  body.dir-g .row,
  body.dir-g .row--wide,
  body.dir-g .row--nonum { grid-template-columns: 1fr; gap: 12px; }

  body.dir-g .helps { grid-template-columns: 1fr !important; }

  body.dir-g .cards-3 { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
  body.dir-g .tcard {
    border-left: 0;
    border-top: 1px solid var(--warm-gray-dark);
    padding: 22px 0;
  }
  body.dir-g .tcard:first-child { border-top: 0; padding-top: 0; }
}

/* ============================================================
   NON-DIR-G PAGE COMPACTION + IMAGE CAPS (services/about/faqs/etc.)
   ------------------------------------------------------------
   The base Direction-C chrome (hero/section/image) was tuned for a
   full-bleed editorial look that renders OVERSIZED on the migrated
   content pages: ~220px hero padding band + full-viewport hero photo,
   content images at the full 1180px column width at native aspect
   ratio, and up to 128px section padding on ~16 stacked sections.
   Everything below is scoped to body:not(.dir-g) so the Direction-G
   home + reviews pages are byte-for-byte unchanged. The dir-g pages
   already carry their own .hero/.section/image overrides earlier in
   this file; these rules only reshape the plain Direction-C pages.
   ============================================================ */

/* --- Tighter vertical rhythm: ~30% less section padding --- */
body:not(.dir-g) .section { padding-block: clamp(40px, 5vw, 76px); }
body:not(.dir-g) .section.heading { padding-bottom: clamp(14px, 1.6vw, 20px); }

/* --- HERO: constrain to a sensible band instead of a 220px monster.
   The image stays as a background band but capped in height; the inner
   padding is reduced so the heading/subhead read as a proper hero. --- */
body:not(.dir-g) .hero { min-height: clamp(300px, 42vh, 460px); display: flex; align-items: center; }
body:not(.dir-g) .hero__inner { padding-block: clamp(48px, 6vw, 84px); width: 100%; }
body:not(.dir-g) .hero h1 { font-size: clamp(32px, 4.6vw, 56px); }
body:not(.dir-g) .hero .lede { font-size: clamp(16px, 1.2vw, 18px); }

/* --- CONTENT IMAGES: cap height + width so a 1280/1920px upload no
   longer renders as a full-column giant. Contained images sit in a
   centered band with a max display height and cover-cropping; the
   figure gets a soft radius to match the brand cards. --- */
body:not(.dir-g) .imgblock--contained .imgblock__inner { max-width: 760px; }
body:not(.dir-g) .imgblock .photo {
  max-height: clamp(280px, 38vw, 440px);
  border-radius: 6px;
}
body:not(.dir-g) .imgblock .photo img {
  width: 100%;
  height: 100%;
  max-height: clamp(280px, 38vw, 440px);
  object-fit: cover;
}
/* full-bleed (uncontained) images: still cap the height so they read as
   a band, not a wall */
body:not(.dir-g) .imgblock--full .photo,
body:not(.dir-g) .imgblock--full .photo img { max-height: clamp(320px, 40vw, 520px); }

/* --- Body copy max width already 60ch via .row__body; keep blocks from
   feeling sparse by tightening the heading+body join spacing --- */
body:not(.dir-g) .heading + .heading-body { padding-top: 0; }

/* Desktop-only manual line breaks for "lede" marketing copy (e.g. stacking
   parallel contact methods onto their own lines). Authored as <br class="dl-br">
   in the field text; hidden on phones so narrow columns flow naturally.
   Reusable: add class="dl-br" to any <br> you want to apply on desktop only. */
@media (max-width: 760px) { br.dl-br { display: none; } }
