/* 2weekAI Phase A/B restructure — shared stylesheet
 * Agent A owns this file. Agent B links only — never edits.
 * Tokens + shared components per docs/2weekai-phase-b-build-spec-v1.md Section 1–2
 */

/* ── Design tokens ───────────────────────────────────────── */
:root {
  --bg: #FAFAF8;
  --ink: #1A1917;
  /* Accent darkened for WCAG AA (≥4.5:1) white-on-accent + accent-on-cream */
  --accent: #A5583C;
  --accent-dark: #8B4530;
  --surface: #FFFFFF;
  --line: #E7E4DF;
  --ok: #2E6B4F;
  --warm-bar: #F4F1EB;
  /* M1 status tokens — homepage rebuild (DESIGN-CLOSE-REPORT.md); no page-local hexes */
  --error: #B91C1C;
  --error-bg: #FEF2F2;
  --error-border: #FECACA;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  --g2-bg: #FFF7ED;
  --g2-border: #FED7AA;
  --g2-ink: #9A3412;
  --img-tint: #F1EEE8;
  --font-head: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --text-min: 16px;
  --text-body: 17px;
  --section-pad: clamp(32px, 6vw, 56px);
  --section-pad-heavy: clamp(40px, 7vw, 72px);
  --divider-soft: color-mix(in srgb, var(--ink) 15%, transparent);
  --radius: 12px;
  --gap: 24px;
  --tap-min: 48px;
  --max: 1100px;
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-min);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body {
    font-size: var(--text-body);
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

main {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-min);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-primary:active {
  transform: translateY(1px);
}

/* ── 2.1 Site nav ─────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  min-height: var(--nav-h);
  padding: 0 clamp(16px, 4vw, 32px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-nav .logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.site-nav > nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.site-nav > nav > a {
  font-size: var(--text-min);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
}

.site-nav > nav > a:hover {
  color: var(--accent);
}

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--accent-dark);
  color: #fff !important;
}

.nav-drop {
  position: relative;
}

.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--tap-min);
  padding: 0 4px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-min);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.nav-drop-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.6;
}

.nav-drop-btn:hover,
.nav-drop-btn[aria-expanded="true"] {
  color: var(--accent);
}

.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  padding: 8px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26, 25, 23, 0.08);
}

.nav-drop-menu a {
  display: block;
  padding: 10px 16px;
  font-size: var(--text-min);
  color: var(--ink);
  min-height: var(--tap-min);
  display: flex;
  align-items: center;
}

.nav-drop-menu a:hover {
  background: var(--warm-bar);
  color: var(--accent);
}

.nav-drop.is-open .nav-drop-menu {
  display: block;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--tap-min);
  height: var(--tap-min);
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav > nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px clamp(16px, 4vw, 32px) 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(26, 25, 23, 0.06);
  }

  .site-nav > nav.is-open {
    display: flex;
  }

  .site-nav > nav > a,
  .site-nav .nav-drop-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    justify-content: center;
    text-align: center;
  }

  .nav-drop-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
  }

  .nav-drop.is-open .nav-drop-menu {
    display: block;
  }

  .nav-drop-menu a {
    border-bottom: none;
    padding: 10px 0;
    min-height: 40px;
  }
}

/* ── 2.2 Viewing-as strip ─────────────────────────────────── */
.viewing-as {
  padding: 10px clamp(16px, 4vw, 32px);
  font-size: var(--text-min);
  text-align: center;
  background: var(--warm-bar);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.viewing-as a {
  margin-left: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.viewing-as a:hover {
  color: var(--accent-dark);
}

/* ── 2.3 Delivery selector ────────────────────────────────── */
.delivery-selector {
  padding: clamp(48px, 8vw, 80px) 0;
  background: var(--bg);
}

.delivery-selector h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  text-align: center;
  max-width: 28ch;
  margin: 0 auto clamp(28px, 5vw, 40px);
}

.delivery-intro {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto clamp(24px, 4vw, 32px);
  font-size: var(--text-min);
  color: var(--ink);
  opacity: 0.85;
}

.delivery-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.delivery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid transparent;
  padding: clamp(20px, 4vw, 28px);
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.delivery-card:hover {
  border-top-color: var(--accent);
  transform: translateY(-2px);
}

.delivery-card h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  margin-bottom: 10px;
}

.delivery-card p {
  font-size: var(--text-min);
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.88;
}

.delivery-note {
  text-align: center;
  margin-top: clamp(24px, 4vw, 32px);
  padding: 0 clamp(16px, 4vw, 32px);
  font-size: var(--text-min);
  color: var(--ink);
  opacity: 0.82;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .delivery-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── 2.4 Booking band ─────────────────────────────────────── */
.booking-band {
  padding: clamp(48px, 8vw, 72px) clamp(16px, 4vw, 32px);
  text-align: center;
  background: var(--ink);
  color: #fff;
}

.booking-band h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #fff;
  margin-bottom: 12px;
}

.booking-band p {
  font-size: clamp(15px, 2vw, 18px);
  max-width: 42ch;
  margin: 0 auto 24px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.booking-band .btn-primary {
  font-size: var(--text-min);
}

/* ── 2.5 Footer ───────────────────────────────────────────── */
.site-footer {
  padding: clamp(40px, 6vw, 56px) clamp(16px, 4vw, 32px) clamp(32px, 5vw, 48px);
  background: var(--warm-bar);
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-nav a {
  font-size: var(--text-min);
  font-weight: 500;
  color: var(--ink);
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-industries {
  position: relative;
  width: 100%;
}

.footer-industries summary {
  font-size: var(--text-min);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-industries summary::-webkit-details-marker {
  display: none;
}

.footer-industries summary::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.6;
}

.footer-industries-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding-left: 4px;
}

.footer-industries-menu a {
  font-size: var(--text-min);
  padding: 6px 0;
  color: var(--ink);
}

.footer-industries-menu a:hover {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.footer-legal a {
  font-size: var(--text-min);
  color: var(--ink);
  opacity: 0.75;
}

.footer-legal a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-copy {
  font-size: var(--text-min);
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .site-footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto auto;
    gap: 16px 32px;
  }

  .footer-logo {
    grid-row: 1 / 3;
  }

  .footer-nav {
    grid-column: 2;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

/* ── Image slots (post-build insert pass) ─────────────────── */
.img-slot {
  width: 100%;
  background: var(--img-tint);
  border-radius: var(--radius);
  overflow: hidden;
}

.img-slot[data-aspect="16x9"] {
  aspect-ratio: 16 / 9;
}

.img-slot[data-aspect="4x3"] {
  aspect-ratio: 4 / 3;
}

.img-slot[data-aspect="1x1"] {
  aspect-ratio: 1 / 1;
}

.hero-adjacent-img {
  margin: clamp(20px, 4vw, 28px) 0;
}

.hero-adjacent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Homepage: hero + door cards ──────────────────────────── */
.hero-doors {
  padding: clamp(40px, 8vw, 72px) 0 clamp(32px, 6vw, 56px);
}

.hero-doors .container {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 32px);
}

.hero-doors h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  max-width: 22ch;
  line-height: 1.1;
}

.hero-subline {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 500;
  color: var(--ink);
  opacity: 0.85;
}

.door-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-top: 8px;
}

.door-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: var(--tap-min);
  padding: clamp(16px, 3vw, 20px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.door-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(165,88,60, 0.12);
  transform: translateY(-2px);
}

.door-card:focus-visible {
  border-color: var(--accent);
}

.door-card .img-slot {
  border-radius: 8px;
}

.door-card h2 {
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  color: var(--ink);
}

.door-card p {
  font-size: var(--text-min);
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.82;
  flex: 1;
}

@media (min-width: 640px) {
  .door-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Homepage: belief strip ───────────────────────────────── */
.belief-strip {
  padding: clamp(28px, 5vw, 40px) clamp(16px, 4vw, 32px);
  background: var(--warm-bar);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.belief-strip p {
  font-size: clamp(15px, 2vw, 18px);
  max-width: 52ch;
  margin: 0 auto 12px;
  line-height: 1.55;
}

.belief-strip a {
  font-size: var(--text-min);
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.belief-strip a:hover {
  color: var(--accent-dark);
}

/* ── Homepage: proof strip ──────────────────────────────── */
.proof-strip {
  padding: clamp(48px, 8vw, 72px) 0;
  background: var(--bg);
}

.proof-strip .container {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 40px);
}

.proof-intro {
  font-size: clamp(15px, 2vw, 18px);
  text-align: center;
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.9;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.proof-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 28px);
}

.proof-item blockquote {
  font-size: var(--text-min);
  line-height: 1.6;
  font-style: normal;
  margin-bottom: 12px;
}

.proof-cite {
  font-size: var(--text-min);
  color: var(--ink);
  opacity: 0.72;
  font-style: normal;
}

@media (min-width: 768px) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Homepage: human image band ─────────────────────────── */
.human-band {
  padding: 0 0 clamp(48px, 8vw, 72px);
}

.human-band .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.human-band figcaption {
  font-size: var(--text-min);
  text-align: center;
  color: var(--ink);
  opacity: 0.8;
  font-style: italic;
}

/* ── Forms (shared — waitlist, request tool hooks) ────────── */
.form-inline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.form-inline input[type="email"],
.form-inline input[type="text"],
.form-inline textarea {
  width: 100%;
  min-height: var(--tap-min);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--text-min);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.form-inline textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: var(--text-min);
  color: var(--ink);
  opacity: 0.75;
}

.form-success {
  font-size: var(--text-min);
  color: var(--ok);
  font-weight: 500;
}

.form-error {
  font-size: var(--text-min);
  color: var(--accent-dark);
}

/* ── Page sections (audience landing pages) ───────────────── */
.page-hero {
  padding: var(--section-pad-heavy) 0 clamp(32px, 6vw, 48px);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  max-width: 24ch;
  margin-bottom: 16px;
}

.page-hero .hero-body {
  font-size: clamp(var(--text-min), 2vw, var(--text-body));
  max-width: 52ch;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.9;
}

.content-blocks {
  padding: var(--section-pad-heavy) 0;
}

.content-block {
  padding: clamp(28px, 5vw, 44px) 0;
  border-bottom: 1px solid var(--divider-soft);
}

.content-block:last-child {
  border-bottom: none;
}

.content-block h2 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 12px;
}

.content-block p {
  font-size: var(--text-min);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 62ch;
}

/* Phase 7 finding 11 — center text-heavy main columns at desktop */
main > .content-block,
main > .page-hero,
main > .content-blocks {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

.content-block a.block-cta {
  font-size: var(--text-min);
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
}

.content-block a.block-cta:hover {
  color: var(--accent-dark);
}

.plain-line {
  font-size: var(--text-min);
  font-style: italic;
  text-align: center;
  max-width: 42ch;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 32px) 0;
  opacity: 0.85;
}

.waitlist-section {
  padding: clamp(32px, 6vw, 48px) 0;
  background: var(--warm-bar);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.waitlist-section .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* ── E3 polish: card grid hover (one place, all grids) ─────── */
.card-grid > *,
.card-cell,
.rc,
.scard,
.lgcard,
.shelf-card,
.catalog-card,
.proof-item {
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.card-grid > *:hover,
.card-cell:hover,
.rc:hover,
.scard:hover,
.lgcard:hover,
.shelf-card:hover,
.catalog-card:hover,
.proof-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(165,88,60, 0.1);
}

/* Delivery selector — icon vocabulary (22px, one per card) */
.delivery-card-icon {
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}

.delivery-card-icon .ph-bold {
  font-size: 22px;
  vertical-align: -0.1em;
}

/* Card grid header icons (industry-page pattern) */
.card-grid-icon,
.shelf-card-icon,
.catalog-card-icon {
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}

.card-grid-icon .ph-bold,
.shelf-card-icon .ph-bold,
.catalog-card-icon .ph-bold {
  font-size: 22px;
  vertical-align: -0.1em;
}

@media (max-width: 375px) {
  .pricing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-table,
  .deliverables-table {
    width: 100%;
  }

  .pricing-table thead,
  .deliverables-table thead {
    display: none;
  }

  .pricing-table tbody tr,
  .deliverables-table tbody tr {
    display: block;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .pricing-table th[scope="row"],
  .pricing-table td,
  .deliverables-table td {
    display: block;
    padding: 6px 0;
    border: none;
    text-align: left;
  }

  .compare-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 320px;
  }

  .compare-table thead,
  .compare-table tbody,
  .compare-table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .pricing-cards {
    grid-template-columns: 1fr !important;
  }

  /* CPA / practice calculator — horizontal scroll, no breakage */
  .cw .cb {
    grid-template-columns: 1fr;
  }

  .cw .cin {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .cw .tt {
    min-width: 300px;
  }

  /* Site agent widget clearance */
  body {
    padding-bottom: 80px;
  }
}

/* ── Audience / door heroes (text-heavy rhythm) ─────────────── */
.audience-hero {
  padding: var(--section-pad-heavy) clamp(16px, 4vw, 32px);
  max-width: var(--max);
  margin: 0 auto;
}

.audience-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  max-width: 22ch;
  line-height: 1.1;
  margin-bottom: 16px;
}

.audience-hero p {
  font-size: clamp(var(--text-min), 2vw, var(--text-body));
  max-width: 52ch;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.9;
}

/* ── Split-hero: text + visual two-column (Wave B markup) ───── */
.split-hero > .container {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 42%);
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
}

.split-hero-visual {
  min-width: 0;
}

.split-hero-visual .img-slot {
  width: 100%;
}

/* ONE collapse rule — bare visual column → single centered column */
.split-hero > .container:not(:has(.split-hero-visual img[src]:not([src=""]))) {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: min(var(--max), 42rem);
}

.split-hero > .container:not(:has(.split-hero-visual img[src]:not([src=""]))) :is(h1, p, .hero-body) {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .split-hero > .container {
    grid-template-columns: 1fr;
    text-align: left;
    justify-items: stretch;
    max-width: none;
  }

  .split-hero > .container:not(:has(.split-hero-visual img[src]:not([src=""]))) {
    text-align: left;
    justify-items: stretch;
  }
}

/* ── Silver Platter motion (paired with assets/motion.js) ───── */
@media (prefers-reduced-motion: no-preference) {
  html.sp-motion .sp-fade-target {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 250ms ease-out, transform 250ms ease-out;
  }

  html.sp-motion .sp-fade-target.sp-inview {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.sp-motion .sp-fade-target {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── B-0: Homepage tools band + readiness pointer + Fixer block ── */
.tools-band {
  padding: clamp(40px, 7vw, 64px) clamp(16px, 4vw, 32px);
  background: var(--warm-bar);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.tools-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--ink);
  margin-bottom: 12px;
}

.tools-band p {
  font-size: clamp(15px, 2vw, 18px);
  max-width: 52ch;
  margin: 0 auto 20px;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.9;
}

.tools-band-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: center;
}

.tools-band-links a {
  font-size: var(--text-min);
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
}

.tools-band-links a:hover {
  color: var(--accent-dark);
}

.door-readiness {
  margin: clamp(20px, 4vw, 32px) auto 0;
  text-align: center;
  font-size: var(--text-min);
  color: var(--ink);
  opacity: 0.85;
}

.door-readiness a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.door-readiness a:hover {
  color: var(--accent-dark);
}

.fixer-block {
  margin: clamp(24px, 4vw, 36px) 0;
  padding: clamp(20px, 4vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
}

.fixer-block h3 {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--ink);
  margin-bottom: 10px;
}

.fixer-block p {
  font-size: var(--text-min);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.9;
  margin: 0;
  max-width: 60ch;
}

/* ═══════════════════════════════════════════════════════════
   P0 — Overhaul micro-patterns (CI-a · docs/g3-g4-design-report-v1.md)
   Tokens only. Builders: see class usage notes in station report.
   ═══════════════════════════════════════════════════════════ */

/* ── D6 · .fact-reveal ───────────────────────────────────────
   Place under the answered question card. Toggle .is-open (or
   [hidden] removal) after selection; motion ≤250ms. */
.fact-reveal {
  display: none;
  margin-top: 12px;
  padding: 16px 18px;
  background: var(--warm-bar);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink);
}

.fact-reveal.is-open,
.fact-reveal[data-open="true"] {
  display: block;
}

.fact-reveal__label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.fact-reveal__body {
  font-size: var(--text-min);
  line-height: 1.55;
  margin: 0 0 8px;
}

.fact-reveal__source {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink);
  opacity: 0.65;
  margin: 0 0 14px;
}

.fact-reveal .btn-primary {
  width: 100%;
}

@media (min-width: 768px) {
  .fact-reveal .btn-primary {
    width: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .fact-reveal.is-open,
  .fact-reveal[data-open="true"] {
    animation: fact-reveal-in 220ms ease-out both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fact-reveal.is-open,
  .fact-reveal[data-open="true"] {
    animation: none;
  }
}

@keyframes fact-reveal-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── D4/D7 · .seg-toggle ─────────────────────────────────────
   Segmented control: wrap buttons; mark active with
   .seg-toggle__btn.is-active (or aria-pressed="true"). */
.seg-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.seg-toggle__btn {
  flex: 1 1 calc(33.333% - 8px);
  min-width: min(100%, 9.5rem);
  min-height: var(--tap-min);
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.seg-toggle__btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.seg-toggle__btn.is-active,
.seg-toggle__btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.seg-toggle__btn.is-active:hover,
.seg-toggle__btn[aria-pressed="true"]:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

/* Horizontal scroll + snap variant (dense labels / many chips) */
.seg-toggle--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}

.seg-toggle--scroll .seg-toggle__btn {
  flex: 0 0 auto;
  min-width: 8.5rem;
  scroll-snap-align: start;
}

@media (prefers-reduced-motion: reduce) {
  .seg-toggle__btn {
    transition: none;
  }

  .seg-toggle--scroll {
    scroll-snap-type: none;
  }
}

/* ── D8 · .loop-steps ────────────────────────────────────────
   Four-step loop: YOU → US → HELPFUL.APP → EVERYONE.
   Markup: ol.loop-steps > li.loop-steps__item (+ optional
   .loop-steps__num / __title / __desc). */
.loop-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  margin: 0;
  padding: 0;
  counter-reset: loop-step;
}

.loop-steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  counter-increment: loop-step;
  min-width: 0;
}

.loop-steps__num,
.loop-steps__item::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--surface);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.loop-steps__item:not(:has(.loop-steps__num))::before {
  content: counter(loop-step);
}

.loop-steps__item:has(.loop-steps__num)::before {
  content: none;
  display: none;
}

.loop-steps__title {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}

.loop-steps__desc {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.8;
  max-width: 18ch;
  margin: 0;
}

/* Desktop: single row + chevron connectors between items */
@media (min-width: 720px) {
  .loop-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 8px;
    align-items: start;
  }

  /* 2px connector line between circles */
  .loop-steps__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background: var(--line);
    pointer-events: none;
  }

  /* Accent chevron tip at end of connector (optional span.loop-steps__chevron) */
  .loop-steps__chevron {
    position: absolute;
    top: 16px;
    right: -6px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--accent);
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loop-steps__item {
    transition: none;
  }
}

/* ── D9 · .footer-cols ───────────────────────────────────────
   Four-column footer. Mobile: each column is <details
   class="footer-cols__col">. Desktop ≥768px: open grid, hide
   disclosure chrome. Pair with existing .site-footer shell. */
.footer-cols {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.footer-cols__col {
  border-bottom: 1px solid var(--line);
}

.footer-cols__col:last-child {
  border-bottom: none;
}

.footer-cols__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--tap-min);
  padding: 4px 0;
  font-family: var(--font-body);
  font-size: var(--text-min);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.footer-cols__summary::-webkit-details-marker {
  display: none;
}

.footer-cols__summary::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.footer-cols__col[open] > .footer-cols__summary::after {
  transform: rotate(180deg);
}

.footer-cols__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 12px;
  padding: 0 0 4px;
}

.footer-cols__list a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-size: var(--text-min);
  font-weight: 500;
  color: var(--ink);
}

.footer-cols__list a:hover {
  color: var(--accent);
}

.footer-cols__desc {
  display: none;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink);
  opacity: 0.85;
  margin: 2px 0 6px;
  max-width: 28ch;
}

@media (min-width: 768px) {
  .footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 32px;
  }

  .footer-cols__col {
    border-bottom: none;
  }

  /* Force column lists visible even if open attr omitted */
  .footer-cols__col:not([open]) > :not(summary) {
    display: flex !important;
  }

  .footer-cols__col > .footer-cols__list {
    display: flex;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer-cols__summary {
    pointer-events: none;
    cursor: default;
    min-height: 0;
    padding: 0 0 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--divider-soft);
  }

  .footer-cols__summary::after {
    display: none;
  }

  .footer-cols__list a {
    min-height: 0;
    padding: 6px 0;
  }

  .footer-cols__desc {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-cols__summary::after {
    transition: none;
  }
}

/* When site-footer uses footer-cols, relax legacy 2-col grid */
.site-footer:has(.footer-cols) .site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .site-footer:has(.footer-cols) .site-footer-inner {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 3fr);
    gap: 24px 40px;
    align-items: start;
  }

  .site-footer:has(.footer-cols) .footer-logo {
    grid-row: auto;
  }

  .site-footer:has(.footer-cols) .footer-cols {
    grid-column: 2;
  }

  .site-footer:has(.footer-cols) .footer-legal,
  .site-footer:has(.footer-cols) .footer-copy {
    grid-column: 1 / -1;
  }
}

/* ── D2 · .price-trust-mark ──────────────────────────────────
   Large accent price block above scope/CTA — never footer-sized.
   Muted slot: add .price-trust-mark--muted until R-a fills. */
.price-trust-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: clamp(20px, 4vw, 28px) 0;
}

.price-trust-mark__value {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.price-trust-mark__sub {
  font-family: var(--font-body);
  font-size: var(--text-min);
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.85;
  max-width: 36ch;
  margin: 0;
}

.price-trust-mark__note {
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.7;
  margin: 0;
}

.price-trust-mark--muted .price-trust-mark__value {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  opacity: 0.55;
}

.price-trust-mark--center {
  align-items: center;
  text-align: center;
}

.price-trust-mark--center .price-trust-mark__sub,
.price-trust-mark--center .price-trust-mark__note {
  max-width: 40ch;
}

/* ── D1 · .category-menu ─────────────────────────────────────
   Outcome chooser: 3×2 category grid + full-width options band.
   Open band with .category-menu.is-expanded (or panel
   [hidden] removed). Offer links: target=_blank rel=noopener. */
.category-menu {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.category-menu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.category-menu__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
  min-height: var(--tap-min);
  font: inherit;
  color: inherit;
  width: 100%;
}

.category-menu__card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.category-menu__card.is-active {
  border-color: var(--accent);
  border-width: 2px;
  padding: 19px 21px;
  background: color-mix(in srgb, var(--warm-bar) 70%, var(--surface));
}

.category-menu__card-title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

.category-menu__card-desc {
  font-size: var(--text-min);
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.85;
  margin: 0;
  flex: 1;
}

.category-menu__card-action {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

.category-menu__panel {
  display: none;
  padding: clamp(20px, 4vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-menu.is-expanded .category-menu__panel,
.category-menu__panel.is-open,
.category-menu__panel[data-open="true"] {
  display: block;
}

.category-menu__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--tap-min);
  margin-bottom: 8px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-min);
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
}

.category-menu__back:hover {
  color: var(--accent-dark);
}

.category-menu__panel-title {
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  padding: 8px 0 12px;
  margin: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.category-menu__option {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.category-menu__option:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category-menu__option-name {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.category-menu__option-benefit {
  font-size: var(--text-min);
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.9;
  margin: 0;
}

.category-menu__roi {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.7;
  margin: 0;
}

.category-menu__price-slot {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.5;
  margin: 0;
}

.category-menu__offer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-size: var(--text-min);
  font-weight: 600;
  border-radius: 8px;
  width: fit-content;
}

.category-menu__offer-link:hover {
  background: var(--accent-dark);
  color: #fff;
}

@media (min-width: 900px) {
  .category-menu__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-menu__option {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name link"
      "benefit link"
      "roi link"
      "price link";
    column-gap: 24px;
    align-items: center;
  }

  .category-menu__option-name { grid-area: name; }
  .category-menu__option-benefit { grid-area: benefit; }
  .category-menu__roi { grid-area: roi; }
  .category-menu__price-slot { grid-area: price; }
  .category-menu__offer-link {
    grid-area: link;
    align-self: center;
  }
}

/* Two-column safety: optional visual beside menu drops first */
.category-menu-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.category-menu-layout__visual {
  min-width: 0;
}

@media (min-width: 900px) {
  .category-menu-layout {
    grid-template-columns: 1fr minmax(200px, 36%);
    align-items: start;
  }

  .category-menu-layout:not(:has(.category-menu-layout__visual img[src]:not([src=""]))) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 899px) {
  .category-menu-layout__visual {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-menu__card {
    transition: none;
  }

  .category-menu__card:hover {
    transform: none;
  }
}

/* ── D4 · .pipeline-bars ─────────────────────────────────────
   Abstract 90-day capacity bars. Mark gap weeks with
   .pipeline-bars__week--gap. Prefer horizontal ≥320px;
   .pipeline-bars--stack forces vertical week list. */
.pipeline-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 3vw, 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.pipeline-bars__track {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
  align-items: end;
  min-height: 72px;
}

.pipeline-bars__week {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.pipeline-bars__bar {
  width: 100%;
  max-width: 28px;
  height: var(--pipeline-fill, 64%);
  min-height: 12px;
  border-radius: 4px;
  background: var(--accent);
  opacity: 0.85;
}

.pipeline-bars__week--gap .pipeline-bars__bar {
  background: var(--warm-bar);
  border: 2px solid var(--accent);
  opacity: 1;
  box-sizing: border-box;
}

.pipeline-bars__week--empty .pipeline-bars__bar {
  background: var(--line);
  opacity: 0.7;
  height: 28%;
  border: none;
}

.pipeline-bars__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.65;
  white-space: nowrap;
}

.pipeline-bars__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.8125rem;
  color: var(--ink);
  opacity: 0.75;
}

.pipeline-bars__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pipeline-bars__swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--accent);
  flex-shrink: 0;
}

.pipeline-bars__swatch--gap {
  background: var(--warm-bar);
  border: 2px solid var(--accent);
  box-sizing: border-box;
}

/* Vertical week list when bars would be too dense */
@media (max-width: 319px) {
  .pipeline-bars__track {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 8px;
  }

  .pipeline-bars__week {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .pipeline-bars__bar {
    max-width: none;
    width: var(--pipeline-fill, 64%);
    height: 14px;
    min-height: 14px;
  }

  .pipeline-bars__week--empty .pipeline-bars__bar {
    height: 14px;
    width: 28%;
  }

  .pipeline-bars__label {
    flex: 0 0 2.5rem;
    font-size: 0.75rem;
  }
}

.pipeline-bars--stack .pipeline-bars__track {
  grid-template-columns: 1fr;
  min-height: 0;
  gap: 8px;
}

.pipeline-bars--stack .pipeline-bars__week {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.pipeline-bars--stack .pipeline-bars__bar {
  max-width: none;
  width: var(--pipeline-fill, 64%);
  height: 14px;
  min-height: 14px;
}

.pipeline-bars--stack .pipeline-bars__week--empty .pipeline-bars__bar {
  height: 14px;
  width: 28%;
}

.pipeline-bars--stack .pipeline-bars__label {
  flex: 0 0 2.5rem;
  font-size: 0.75rem;
}

/* Two-column safety: pipeline stays; photo drops */
.pipeline-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: start;
}

.pipeline-layout__visual {
  min-width: 0;
}

@media (min-width: 900px) {
  .pipeline-layout {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 36%);
  }

  .pipeline-layout:not(:has(.pipeline-layout__visual img[src]:not([src=""]))) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 899px) {
  .pipeline-layout__visual {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pipeline-bars__bar {
    transition: none;
  }
}
