/* ── /gantry — section styles ──────────────────────────────────────────
   Home-page-aligned: paper backgrounds, soft rules, refined cards with
   layered shadows, sentence-case labels, forest-green accent. Keeps all
   the original class names so the JSX hooks still apply.
─────────────────────────────────────────────────────────────────────── */

/* ── Hero ── */
.hero {
  padding-top: clamp(56px, 7vw, 100px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
}
.hero-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-header .h-display { margin-top: 0; }
.hero-photo {
  position: relative;
  /* Top edge sits one headline line-height down so it aligns with the
     second line of the headline ("under control.") — a light offset
     rather than dropping the photo to the bottom of the column. */
  margin-top: clamp(40px, 6.4vw, 80px);
  /* Bleed the right edge of the photo to the viewport's right edge,
     escaping .wrap's 1280px max-width + 48px right padding. */
  margin-right: calc((min(1280px, 100vw) - 100vw) / 2 - 48px);
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 24px 56px -28px rgb(0 0 0 / 0.22), 0 4px 12px -4px rgb(0 0 0 / 0.06);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 1100px) {
  .hero-top { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo {
    margin-top: 0;
    margin-right: 0;
    aspect-ratio: 16 / 10;
    max-width: 720px;
    border-radius: 16px;
  }
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-platform {
  display: flex;
  align-items: stretch;
  /* Sits at wrap width with rest of page; reaches down past the hero
     section's bottom so the certifications strip below clips the lower
     portion, leaving the top of the platform "peeking out" above. */
  position: relative;
  z-index: 2;
  margin-bottom: -140px;
}
.hero-platform > * { width: 100%; }
/* Standalone platform mockup band (moved out of the hero). */
.platform-showcase {
  padding: clamp(8px, 2vw, 24px) 0 clamp(48px, 6vw, 80px);
}
.platform-frame { display: flex; align-items: stretch; }
.platform-frame > * { width: 100%; }
@media (max-width: 1100px) {
  .hero-platform { margin-bottom: -80px; }
}
@media (max-width: 700px) {
  .hero-platform { margin-bottom: -48px; }
}
.hero-stat {
  margin-top: 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-stat-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.hero-stat-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  /* Centre each stat within its half so the "vs" lands exactly midway
     between the 1.8d and 9.0d figures. */
  align-items: center;
  text-align: center;
}
.hero-stat-big {
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stat-big sub {
  font-size: 0.4em;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 3px;
  vertical-align: baseline;
  letter-spacing: 0;
}
.hero-stat-cell-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.hero-stat-cell-sub {
  font-size: 12.5px;
  color: var(--ink-3);
}
.hero-stat-cell-muted .hero-stat-big { color: var(--ink-3); }
.hero-stat-cell-muted .hero-stat-cell-label { color: var(--ink-2); font-weight: 500; }
.hero-stat-vs {
  font-size: 12px;
  color: var(--ink-3);
  font-style: normal;
  letter-spacing: 0.02em;
  padding: 0 4px;
  align-self: center;
  text-align: center;
}
.hero-stat-foot {
  font-size: 12.5px;
  color: var(--ink-3);
  padding-top: 4px;
  border-top: 1px dashed var(--rule);
  margin-top: 4px;
}
.hero-stat-foot strong { color: var(--ink); font-weight: 600; }
.hero-stat-foot-src { color: var(--ink-4); }
@media (max-width: 520px) {
  /* Keep the reeve vs industry stats side-by-side on mobile rather than
     stacking — fits comfortably with reduced number size + tighter gap. */
  .hero-stat-pair { grid-template-columns: 1fr auto 1fr; gap: 10px; }
  .hero-stat-big { font-size: 36px; }
  .hero-stat-cell-label { font-size: 13px; }
  .hero-stat-cell-sub { font-size: 11.5px; }
  .hero-stat-vs { padding: 0 2px; }
}


/* ── Dispatch log (rolling ticker) ── */
.dispatch-log {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.dispatch-log .wrap { padding-top: 14px; padding-bottom: 14px; }
.dispatch-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: dispatchScroll 60s linear infinite;
  width: max-content;
}
:root[data-motion='off'] .dispatch-track { animation: none; }
.dispatch-track .item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
}
.dispatch-track .time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.dispatch-track .badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink-2);
}
.dispatch-track .badge.r3 { background: var(--ink); color: oklch(85% 0.10 160); border-color: var(--ink); }
.dispatch-track .ev {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.dispatch-track .sep { color: var(--rule-strong); }
.dispatch-track .ok { color: var(--accent-ink); font-weight: 500; }
@keyframes dispatchScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Certifications strip — sized to match the home page exactly.
   Sits in front of the hero platform (which extends down past its
   section bottom) so the platform peeks out from underneath. ── */
.certs {
  position: relative;
  z-index: 5;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px 0;
}
.certs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px 72px;
  flex-wrap: wrap;
}
.cert-img { height: 72px; width: auto; opacity: 0.9; }
.cert-img-sm { height: 56px; opacity: 0.85; }
.cert-bcorp { color: var(--ink); }
/* Mobile: keep all three on one row by shrinking the gap and the
   logos so IWFM doesn't wrap. */
@media (max-width: 600px) {
  .certs-row { gap: 24px; flex-wrap: nowrap; }
  .cert-img { height: 48px; }
  .cert-img-sm { height: 38px; }
  .cert-bcorp { width: 48px; height: 48px; }
}

/* ── Trust strip (client logos) ── */
.trust {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.trust-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.trust-label {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 28px 36px;
  width: 100%;
}
.trust-logo {
  max-height: 28px;
  max-width: 100%;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: 0.7;
}
/* Amazon Property + Endurance Land files are cropped tight to the
   wordmark (no built-in padding) while the rest carry whitespace in
   the source, so the same max-height makes the tight ones read
   visually heavier. Knock them down to match the others' cap-height. */
.trust-logo[src*="client_amazon_property"] { max-height: 22px; }
.trust-logo[src*="client_enduranceland"]   { max-height: 22px; }
@media (max-width: 1100px) {
  .trust-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .trust-logos { grid-template-columns: repeat(2, 1fr); }
}

/* ── Problem ── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}
.pains { display: grid; gap: 18px; margin-top: 24px; }
.pain {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.pain-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
  line-height: 1;
  margin-top: 2px;
}
.pain-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.pain-desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* ── Section split — two-column header used by sections from Routes
   downwards. Heading + eyebrow live in one column, lede in the other.
   Each section toggles which side the heading sits on so the page reads
   left → right → left etc. ── */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
  align-items: end;
}
.section-split-lede {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
}
@media (max-width: 900px) {
  .section-split { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; align-items: start; }
}
/* Reverse variant — heading flips to the right column to follow the
   page's left/right inversion rhythm. Only kicks in above 900px so
   mobile keeps natural reading order (heading first). */
@media (min-width: 901px) {
  .section-split-reverse > :first-child  { order: 2; }
  .section-split-reverse > :nth-child(2) { order: 1; }
}

/* ── Routes ── */
.routes-block {
  padding: clamp(72px, 9vw, 112px) 0;
  border-top: 1px solid var(--rule);
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.route {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 200ms ease;
}
.route:hover { box-shadow: var(--shadow-card); }
.route-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-ink);
}
.route-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.route-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
.route-desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.route-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 10px;
}
.route-list li {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.route-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 5px; /* nudges dot centre onto the text x-height line */
  border-radius: 50%;
  background: var(--accent-wash);
  border: 1.5px solid var(--accent);
}
.route-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--ink-3);
  gap: 12px;
}
.route-foot strong {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  text-align: right;
}
.route.premium {
  background: var(--ink);
  border-color: var(--ink);
  color: oklch(85% 0.05 160);
}
.route.premium .route-tag { color: oklch(85% 0.12 160); }
.route.premium .route-tag .dot { background: oklch(85% 0.12 160); }
.route.premium .route-title { color: var(--paper); }
.route.premium .route-desc { color: oklch(75% 0.02 160); }
.route.premium .route-list li { color: oklch(80% 0.02 160); }
.route.premium .route-list li::before {
  background: oklch(35% 0.07 160);
  border-color: oklch(80% 0.12 160);
}
.route.premium .route-foot {
  border-top-color: oklch(28% 0.02 160);
  color: oklch(72% 0.02 160);
}
.route.premium .route-foot strong { color: oklch(88% 0.10 160); }

/* ── Routes: anchored layout ─ core route LEFT (full height), two
   outline add-on cards stacked on the RIGHT. ── */
.route-grid-anchored {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}
.route-core { /* uses .route.premium for the dark look — no extra rules */ }
.route-addons {
  display: grid;
  grid-template-rows: 1fr;
  gap: 18px;
}
.route-outline {
  background: #ffffff;
  border: 1.5px dashed var(--rule-strong);
  padding: 28px;
  gap: 10px;
}
.route-outline:hover {
  border-color: var(--accent);
  box-shadow: none;
}
.route-tag-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px dashed var(--rule-strong);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-3);
  transition: color 200ms ease, border-color 200ms ease;
}
.route-outline:hover .route-tag-add {
  color: var(--accent);
  border-color: var(--accent);
}
.route-outline .route-title {
  font-size: 22px;
  color: var(--ink);
}
.route-outline .route-desc {
  font-size: 14px;
  color: var(--ink-2);
}
@media (max-width: 900px) {
  .route-grid-anchored { grid-template-columns: 1fr; }
  .route-addons { grid-template-rows: auto; }
}

/* ── Routes: operative avatars footer ─ overlapping circular badges on
   the core route card, replacing the old "Speed · margin · standard"
   footer. Each badge reveals a tooltip on hover/focus. ── */
.route-operatives {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid oklch(28% 0.02 160);
  display: flex;
  align-items: center;
}
.op-avatar {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  cursor: default;
  outline: none;
}
.op-avatar + .op-avatar { margin-left: -10px; }
.op-avatar:hover,
.op-avatar:focus-visible { z-index: 50 !important; }
.op-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--ink); /* cuts the chip out of the dark card */
  overflow: hidden;
  background: oklch(28% 0.02 160);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.op-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.op-avatar:hover .op-photo,
.op-avatar:focus-visible .op-photo {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.35);
}
/* Trish — the in-built AI agent. Slim purple ring + paper fill behind the
   adventurer SVG so she reads as software, not crew. */
.op-avatar-ai .op-photo {
  border-color: oklch(58% 0.18 295);
  background: oklch(96% 0.02 295);
}
.op-avatar-ai .op-photo img {
  object-position: center 32%;
}
.op-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 100;
  white-space: nowrap;
}
.op-tooltip::after {
  /* little caret pointing down at the avatar */
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--paper);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transform: translate(-50%, -50%) rotate(45deg);
}
.op-avatar:hover .op-tooltip,
.op-avatar:focus-visible .op-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Mobile — the first two avatars sit too close to the viewport's left
   edge for a centered tooltip to fit. Anchor those tooltips to the
   avatar's left edge and re-point the caret accordingly. */
@media (max-width: 600px) {
  .op-tooltip { min-width: 160px; max-width: calc(100vw - 80px); }
  .op-avatar:nth-child(-n+2) .op-tooltip {
    left: 0;
    transform: translate(0, 4px);
  }
  .op-avatar:nth-child(-n+2):hover .op-tooltip,
  .op-avatar:nth-child(-n+2):focus-visible .op-tooltip {
    transform: translate(0, 0);
  }
  .op-avatar:nth-child(-n+2) .op-tooltip::after {
    left: 18px;
  }
}
.op-tooltip-name {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.op-tooltip-ai {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px 2px 5px;
  border-radius: 999px;
  background: oklch(95% 0.03 295);
  color: oklch(48% 0.18 295);
  font-family: var(--display);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.op-tooltip-ai svg { display: block; }
.op-tooltip-skill {
  font-size: 12px;
  color: var(--ink-2);
}
.op-tooltip-tenure {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* Services section uses inline styles from sections.jsx (exact port of
   the home-page ServiceExplorer). The card width lives on .services-card
   so we can shrink it on mobile and let the next card peek. */
.services-card { flex: 0 0 360px; }
@media (max-width: 600px) {
  .services-card { flex: 0 0 82vw; max-width: 320px; }
}

/* ── Modules grid ─ replaces the old carousel. 7 module cards + 1
   placeholder in a 4×2 layout. ── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}
@media (max-width: 1100px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .modules-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ── Module card (uniform across the grid) ──
   Platform surfaces (anything that represents the actual Reeve product
   UI) sit on white per brand guidelines — the cream paper is reserved
   for marketing/document grounds. Inner accent layers (`.m-card-visual`,
   `.desk-chrome`, etc.) keep their cream tint so the card has depth. */
.m-card {
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.04);
  min-height: 0;
}

/* Placeholder card — kept inert (no JSX references it). */
.m-card-placeholder {
  background: var(--paper-2);
  border: 1.5px dashed var(--rule-strong);
  box-shadow: none;
  align-items: center;
  justify-content: center;
}
.m-card-placeholder-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px;
  text-align: center;
  color: var(--ink-3);
}
.m-card-placeholder-plus {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px dashed var(--rule-strong);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-3);
}
.m-card-placeholder-text {
  font-size: 13.5px;
  font-weight: 500;
}

/* ── Visual: Integrations card — three channel rows ── */
.m-integrations {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
}
.m-int-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 12.5px;
}
.m-int-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--paper);
  flex-shrink: 0;
  overflow: hidden;
}
.m-int-icon svg { display: block; }
.m-int-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.m-int-icon-whatsapp { background: oklch(70% 0.16 145); }
.m-int-icon-email    { background: oklch(55% 0.13 250); }
/* Zendesk tile background is provided by the image itself — keep a
   fallback for if the asset fails to load. */
.m-int-icon-zendesk  { background: oklch(40% 0.06 145); }
.m-int-label {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
  flex: 1;
}
.m-int-meta {
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.m-card-visual {
  flex: 0 0 260px;
  background: #f4f4f4;
  border-bottom: 1px solid var(--rule);
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.m-vis-tint { background: #f4f4f4; }
.m-card-body {
  flex: 1;
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}
.m-card-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-ink);
}
.m-card-title {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.m-card-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 4px 0 0;
}

/* ── Visual: Live tracking (mini phone) ── */
.m-vis-tracking { padding: 0; background: var(--ink); align-items: stretch; justify-content: center; }
.m-tracking-phone {
  background: #ffffff;
  border-radius: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 12px;
  gap: 10px;
}
.m-tracking-head { display: flex; align-items: center; gap: 8px; }
.m-tracking-mark {
  width: 24px; height: 24px; border-radius: 5px;
  background: oklch(0.32 0.06 250);
  position: relative;
  flex-shrink: 0;
}
.m-tracking-mark::after {
  content: ""; position: absolute; inset: 6px;
  background: oklch(0.96 0.02 80);
  border-radius: 2px;
}
.m-tracking-brand { font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: -0.015em; }
.m-tracking-sub { font-size: 10.5px; color: var(--ink-3); }
.m-tracking-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; color: var(--accent-ink); font-weight: 500;
}
.m-tracking-map {
  flex: 1;
  background: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.m-tracking-map svg { width: 100%; height: 100%; display: block; }
.m-tracking-eta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 6px;
  border-top: 1px dashed var(--rule);
}
.m-tracking-eta-label { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.m-tracking-tech { font-size: 11.5px; color: var(--ink); font-weight: 600; margin-top: 2px; }
.m-tracking-eta-num {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.m-tracking-eta-num small { font-size: 11px; color: var(--ink-3); margin-left: 2px; font-weight: 500; }

/* ── Visual: Front door (branding panel) ── */
.m-vis-brand {
  background: #f4f4f4;
  padding: 16px;
}
.m-brand-panel {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.08);
}
.m-brand-row { display: flex; flex-direction: column; gap: 6px; }
.m-brand-row-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
}

/* Logo upload row */
.m-brand-logo {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  transition: border-color 280ms ease;
}
.m-brand-logo-uploading {
  border-color: var(--accent);
}
/* Upload progress bar — sits inside the logo box on its own row,
   spanning all columns. Grid gap separates it from the thumb / meta
   row above so it doesn't crowd them. */
.m-brand-upload-bar {
  grid-column: 1 / -1;
  height: 3px;
  background: var(--rule);
  border-radius: 999px;
  overflow: hidden;
}
.m-brand-upload-fill {
  width: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  animation: brandUploadFill 1500ms cubic-bezier(0.55, 0, 0.4, 1) forwards;
}
@keyframes brandUploadFill {
  from { width: 0; }
  to   { width: 100%; }
}
:root[data-motion='off'] .m-brand-upload-fill {
  animation: none;
  width: 100%;
}
.m-brand-logo-thumb {
  width: 36px;
  height: 36px;
  background: oklch(28% 0.06 250);
  color: var(--paper);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
/* Empty-state placeholder — no logo uploaded yet */
.m-brand-logo-thumb-empty {
  background: transparent;
  border: 1.5px dashed var(--rule-strong);
  color: var(--ink-3);
}
.m-brand-logo-empty {
  font-size: 12px;
  color: var(--ink-3);
  font-style: italic;
}
/* Image variant — visitor uploaded a real image. Paper background +
   contain so any aspect ratio fits cleanly inside the 36×36 tile. */
.m-brand-logo-thumb-img {
  background: #ffffff;
  border: 1px solid var(--rule);
  padding: 3px;
}
.m-brand-logo-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.m-brand-logo-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.m-brand-logo-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-brand-logo-size {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.m-brand-replace {
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-ink);
  padding: 4px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #f4f4f4;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.m-brand-replace:hover {
  background: #ececec;
  border-color: var(--rule-strong);
}
.m-brand-replace:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Brand colour swatches */
.m-brand-swatches { display: flex; gap: 8px; align-items: center; }
.m-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.m-swatch {
  transition: transform 120ms ease;
}
.m-swatch:hover:not(.m-swatch-add) { transform: scale(1.08); }
.m-swatch-active {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink);
  transform: scale(1.05);
}
.m-swatch-add {
  background: #f4f4f4 !important;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  border-style: dashed;
  border-color: var(--rule-strong);
}

/* Tone slider */
.m-tone { display: flex; flex-direction: column; gap: 6px; }
.m-tone-track {
  position: relative;
  height: 6px;
  background: var(--rule);
  border-radius: 3px;
  margin-top: 4px;
  margin-bottom: 4px;
}
.m-tone-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: background 280ms ease;
}
.m-tone-thumb {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.12);
  transition: border-color 280ms ease;
  pointer-events: none;
}
/* Invisible native range input — sits across the track (with a taller
   hit area than the 6px visual) so the slider is draggable / clickable
   / keyboard-accessible. The visible fill + thumb are bound to its
   value via React state. */
.m-tone-input {
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.m-tone-input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: transparent;
  cursor: grab;
}
.m-tone-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: grab;
}
.m-tone-input:active { cursor: grabbing; }
.m-tone-input:focus-visible + .m-tone-thumb,
.m-tone-track:has(.m-tone-input:focus-visible) .m-tone-thumb {
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 25%, transparent);
}
.m-tone-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10.5px;
  color: var(--ink-3);
}
.m-tone-current {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-ink);
}

/* ── Visual: Audit trail ── */
.m-audit { width: 100%; display: grid; gap: 6px; align-content: center; }
.m-audit-row {
  display: grid;
  grid-template-columns: 44px auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 11.5px;
}
.m-audit-time { font-family: var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.m-audit-meta { color: var(--ink-2); font-size: 10.5px; }

/* ── Visual: Evidence — report mockup ── */
.m-vis-report {
  background: #f4f4f4;
  padding: 14px;
}
.m-report {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.08);
}
.m-report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rule);
  gap: 8px;
}
.m-report-title {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-report-status {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 600;
  flex-shrink: 0;
}
.m-report-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.m-report-section { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.m-report-label {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.m-report-task {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 6px;
  font-size: 11px;
  color: var(--ink);
  line-height: 1.4;
  align-items: start;
}
.m-report-check {
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.m-report-bottom {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: auto;
}
.m-report-photo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  border: 1px solid var(--rule);
}
.m-report-note {
  font-size: 10.5px;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}

/* ── Visual: CAFM tiles ── */
.m-cafm { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; align-content: center; }
.m-cafm-tile {
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.m-cafm-tile-num {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--accent-ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.m-cafm-tile-l { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* ── Visual: Compliance — ISO 45001 readiness progress + evidence rows ── */
.m-iso {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: center;
}
.m-iso-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
}
.m-iso-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.m-iso-badge {
  font-family: var(--display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--accent-wash);
  color: var(--accent-ink);
  text-transform: uppercase;
}
.m-iso-pct {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.m-iso-bar {
  height: 6px;
  background: var(--rule);
  border-radius: 999px;
  overflow: hidden;
}
.m-iso-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}
.m-iso-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}
.m-iso-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 7px 11px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 7px;
  font-size: 12px;
}
.m-iso-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.m-iso-check svg { display: block; }
.m-iso-check-pending {
  background: oklch(95% 0.04 70);
  color: oklch(45% 0.13 60);
}
.m-iso-row-label {
  color: var(--ink);
  font-weight: 500;
}
.m-iso-row-meta {
  color: var(--ink-3);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

/* ── Visual: Suppliers (chips) ── */
.m-suppliers {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
}
.m-suppliers .sup-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 12.5px;
}

/* ── Visual: Automated quoting engine ─ supplier-comparison rows ── */
.m-quote {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-quote-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
}
.m-quote-title {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.m-quote-time {
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.m-quote-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.m-quote-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 9px 12px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 12.5px;
  position: relative;
}
.m-quote-name {
  grid-column: 1;
  grid-row: 1;
  font-weight: 600;
  color: var(--ink);
}
.m-quote-meta {
  grid-column: 1;
  grid-row: 2;
  font-size: 11px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.m-quote-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.m-quote-tag {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-ink);
  white-space: nowrap;
}
/* Neutral "User uploaded" chip — sits inline after the supplier name to
   signal the supplier was added by the customer rather than coming
   from Reeve's network. */
.m-quote-uploaded {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  padding: 2px 6px 2px 5px;
  border-radius: 999px;
  background: #f4f4f4;
  color: var(--ink-3);
  border: 1px solid var(--rule);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}
.m-quote-uploaded svg { display: block; }
.m-quote-row-best {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--accent) 12%, transparent);
}
.m-quote-row-pending {
  background: #f4f4f4;
  border-style: dashed;
}
.m-quote-row-pending .m-quote-price { color: var(--ink-3); }
.m-quote-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* ── Visual: Estate ops — guest registration form mockup ── */
.m-vis-guest {
  background: #f4f4f4;
  padding: 14px;
}
.m-guest {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.08);
}
.m-guest-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rule);
}
.m-guest-back {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-2);
  flex-shrink: 0;
}
.m-guest-title {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.m-guest-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.m-guest-field { display: flex; flex-direction: column; gap: 3px; }
.m-guest-field label {
  font-size: 9.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.m-guest-input {
  padding: 7px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #f4f4f4;
  font-size: 11.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.m-guest-input-select {
  color: var(--ink-3);
}
.m-guest-input-select span { color: var(--ink); }

/* Coffee on arrival — F&B add-on, accent-tinted to feel "selected/upsold" */
.m-guest-coffee {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 8px;
  background: var(--accent-wash);
  border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent);
  border-radius: 999px;
  margin-top: 2px;
}
.m-guest-coffee-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f4f4f4;
  color: var(--accent-ink);
  flex-shrink: 0;
}
.m-guest-coffee-label {
  font-size: 11.5px;
  color: var(--accent-ink);
  font-weight: 600;
  flex: 1;
}

/* Mini iOS-style toggle */
.m-guest-toggle {
  width: 28px;
  height: 16px;
  background: var(--rule-strong);
  border-radius: 999px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  transition: background 160ms ease;
}
.m-guest-toggle-handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.16);
  transition: transform 160ms ease;
}
.m-guest-toggle-on { background: var(--accent); }
.m-guest-toggle-on .m-guest-toggle-handle { transform: translateX(12px); }

/* Continue button — accent-filled CTA */
.m-guest-submit {
  margin-top: auto;
  padding: 9px 14px;
  background: var(--accent);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 140ms ease;
}
.m-guest-submit:hover { background: var(--accent-ink); }
.m-guest-submit .arrow { transition: transform 140ms ease; }
.m-guest-submit:hover .arrow { transform: translateX(2px); }

/* ── Visual: Performance intelligence — Ada AI comment card ── */
.m-vis-summary {
  background: #f4f4f4;
  padding: 14px;
}
.m-summary {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.08);
  font-family: var(--sans);
}
.m-summary-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.m-summary-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: oklch(55% 0.12 200);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.m-summary-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.m-summary-ai {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  border-radius: 999px;
  background: oklch(95% 0.04 290);
  color: oklch(45% 0.18 290);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.m-summary-time {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--ink-3);
}
.m-summary-title {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.m-summary-subtitle {
  font-size: 10.5px;
  color: var(--ink-3);
  margin-top: -4px;
  margin-bottom: 2px;
}
.m-summary-rows {
  display: grid;
  gap: 4px;
}
.m-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink);
}
.m-summary-pill {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-ink);
}
.m-summary-pill-green { background: var(--accent-wash); }
.m-summary-pill-amber { background: oklch(94% 0.06 90); }
.m-summary-pill-blue  { background: oklch(94% 0.04 260); }
.m-summary-footer {
  font-size: 10.5px;
  color: var(--ink-3);
  line-height: 1.4;
  padding-top: 2px;
  margin-top: auto;
}

@media (max-width: 900px) {
  .modules-carousel-layout { grid-template-columns: 1fr; gap: 24px; }
  .modules-carousel-wrap::after { display: none; }
  /* Match the Services-section pattern: heading + sub + nav above,
     carousel content beneath. */
  .modules-text { order: 1; }
  .modules-carousel-wrap { order: 2; }
}
@media (max-width: 520px) {
  .m-card { flex: 0 0 280px; height: 460px; }
}

/* ── Legacy module pieces (orphaned — no JSX references them). The
   old `.modules-grid` 12-col rule was deleted because it collided with
   the new grid up top. Rest of the rules kept inert for now. ── */
.module {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.module-eyebrow {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-ink);
  text-transform: lowercase;
}
.module-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.module-desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* Featured live-tracking + paired front-door — span 7+5 on wide */
.module-feature {
  grid-column: span 7;
  background: var(--ink);
  color: oklch(85% 0.05 160);
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.module-feature-copy {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.module-feature-pair {
  grid-column: span 5;
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 380px;
}
.module-image-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.module-image-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.75) 100%);
}
.module-image-copy {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modspec {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.modspec-l {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  color: var(--ink-2);
}
.modspec-on-dark .modspec-l {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: var(--paper);
}

/* Audit trail mini list */
.audit-trail {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}
.audit-row {
  display: grid;
  grid-template-columns: 56px 102px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: var(--paper-2);
  border-radius: 8px;
  font-size: 12.5px;
}
.audit-time { font-family: var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.audit-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
}
.audit-state.s-open  { background: #f4f4f4; color: var(--ink-2); border: 1px solid var(--rule); }
.audit-state.s-disp  { background: oklch(96% 0.06 70); color: oklch(45% 0.13 60); }
.audit-state.s-site  { background: var(--accent-wash); color: var(--accent-ink); }
.audit-state.s-ok    { background: var(--accent-wash); color: var(--accent-ink); font-weight: 600; }
.audit-meta { color: var(--ink-2); }

/* Evidence thumb grid */
.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.evidence-thumb {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--paper-2);
}
.evidence-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.evidence-thumb figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--paper);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
}

/* Tall modules — wider columns so two fill a row */
.module-tall { grid-column: span 6; min-height: 280px; }
.supplier-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sup-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  font-size: 12.5px;
  color: var(--ink);
}
.sup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.sup-dot.good { background: var(--accent); }
.sup-dot.warn { background: oklch(65% 0.15 65); }

.mini-row {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mini-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-2);
}

/* Wide KPI module */
.module-wide { grid-column: span 12; background: var(--paper-2); }
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.kpi-l { font-size: 12.5px; color: var(--ink-3); }
.kpi-v {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--accent-ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* ── Compare ── */
.compare-with-demo {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  align-items: stretch;
}
.compare-tiles {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 16px;
}
.compare-demo { display: flex; align-items: stretch; }
.compare-demo > * { width: 100%; }
@media (max-width: 1024px) {
  .compare-with-demo { grid-template-columns: 1fr; gap: 24px; }
}

/* legacy `.compare` kept inert in case anywhere still references it */
.compare {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.compare-col {
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.compare-col h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 18px;
}
.compare-col.legacy { background: var(--paper-2); }
.compare-col.legacy h3 { color: var(--ink-3); }
.compare-col.reeve { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.compare-col.reeve h3 { color: var(--paper); }
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.compare-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.compare-col.reeve .compare-list li { color: oklch(80% 0.02 160); }
.compare-list em { color: var(--accent-ink); font-style: italic; }
.compare-col.reeve .compare-list em { color: oklch(85% 0.12 160); }
.compare-list .mark { display: inline-block; flex-shrink: 0; }
.compare-list .mark path { stroke: var(--accent); }
.compare-col.legacy .compare-list .mark circle { fill: var(--ink-3); }
.compare-col.reeve .compare-list .mark path { stroke: oklch(85% 0.12 160); }

/* ── Desktop workstation mockup ────────────────────────────────────── */
.desk-mockup {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 56px -28px rgb(0 0 0 / 0.22), 0 4px 12px -4px rgb(0 0 0 / 0.06);
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
}
.desk-chrome {
  background: #f4f4f4;
  border-bottom: 1px solid var(--rule);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.desk-chrome-dots {
  display: flex;
  gap: 6px;
}
.desk-chrome-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rule-strong);
}
.desk-chrome-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.desk-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.desk-mono {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.desk-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
}

.desk-ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.desk-ticket-title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 2px;
}
.desk-status-pill {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  flex-shrink: 0;
  transition: background 240ms ease, color 240ms ease;
}
.desk-status-new { background: #f4f4f4; color: var(--ink-3); border: 1px solid var(--rule); }
.desk-status-triaged { background: oklch(95% 0.04 290); color: oklch(45% 0.18 290); }
.desk-status-dispatched { background: var(--accent-wash); color: var(--accent-ink); }

.desk-field { display: flex; flex-direction: column; gap: 6px; }
.desk-input {
  background: #f4f4f4;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  color: var(--ink);
  min-height: 44px;
  position: relative;
  line-height: 1.4;
}
.desk-input-text { display: inline; }
.desk-input-placeholder { color: var(--ink-3); position: absolute; top: 11px; left: 14px; pointer-events: none; }
.desk-cursor {
  display: inline-block;
  width: 1.5px;
  height: 14px;
  background: var(--ink);
  margin-left: 2px;
  vertical-align: middle;
  animation: kblink 0.8s steps(2) infinite;
}
@keyframes kblink { 50% { opacity: 0; } }

/* AI triage panel */
.desk-triage {
  background: oklch(96% 0.025 290);
  border: 1px solid color-mix(in oklch, oklch(60% 0.15 290) 20%, transparent);
  border-radius: 10px;
  padding: 12px 14px;
}
.desk-triage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.desk-triage-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.desk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f4f4f4;
  border: 1px solid var(--rule);
  font-size: 11.5px;
  color: var(--ink);
}
.desk-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: oklch(55% 0.18 290);
}

/* Supplier table */
.desk-suppliers {
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.desk-supplier {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 0.6fr 0.7fr;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--rule);
  transition: background 240ms ease;
  gap: 8px;
}
.desk-supplier-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
.desk-supplier-name .m-quote-uploaded { margin-left: 0; }
.desk-supplier:last-child { border-bottom: 0; }
.desk-supplier-head {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  background: #f4f4f4;
}
.desk-supplier-name { color: var(--ink); font-weight: 500; }
.desk-supplier-rating { font-family: var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.desk-supplier-cost {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.desk-supplier-action {
  text-align: right;
  font-size: 11.5px;
  color: var(--accent-ink);
  font-weight: 500;
}
.desk-supplier-selected {
  background: var(--accent-wash);
  position: relative;
}
.desk-supplier-selected::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
}
.desk-supplier-selected-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
}

/* Tighter mobile layout — give the name + action columns extra room
   so chips/pills don't squeeze, drop padding, and let alignment stay
   clean across the 4 rows. */
@media (max-width: 600px) {
  .desk-supplier {
    grid-template-columns: 1.6fr 0.5fr 0.7fr 0.85fr;
    padding: 9px 11px;
    font-size: 12.5px;
    gap: 6px;
  }
  .desk-supplier-head { font-size: 10.5px; }
  .desk-supplier-cost { font-size: 13.5px; }
  .desk-supplier-action { font-size: 11px; }
  .desk-supplier-selected-pill {
    padding: 3px 7px;
    font-size: 10px;
  }
  .desk-supplier-name .m-quote-uploaded {
    font-size: 8.5px;
    padding: 2px 5px 2px 4px;
  }
}

/* Dispatch confirmation bar */
.desk-dispatch {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
}
.desk-dispatch-av {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(72% 0.06 80), oklch(58% 0.05 60));
  position: relative;
  overflow: hidden;
}
.desk-dispatch-av::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 22px; height: 18px;
  transform: translateX(-50%);
  background: oklch(46% 0.04 60);
  border-radius: 11px 11px 0 0;
}
.desk-dispatch-av::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 14px; height: 14px;
  transform: translateX(-50%);
  background: oklch(78% 0.05 70);
  border-radius: 50%;
}
.desk-dispatch-av .desk-dispatch-av-pulse { display: none; }
.desk-dispatch-title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.desk-dispatch-sub { font-size: 11.5px; color: oklch(72% 0.01 240); margin-top: 2px; }
.desk-dispatch-num {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: oklch(85% 0.10 160);
  font-variant-numeric: tabular-nums;
}

/* Phase visibility ─ each conditional section is always in the DOM so
   the desktop card (and the reeve tile next to it) stay at their final
   size from the start. We just fade & slide each section in on cue. */
.desk-phase {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 380ms cubic-bezier(.2,.7,.2,1), transform 380ms cubic-bezier(.2,.7,.2,1);
}
.desk-phase-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── WhatsApp message card — replaces the plain issue input. Shows the
   message arriving from a building occupier via WhatsApp, then types
   the body in. ── */
.desk-msg {
  background: oklch(28% 0.02 160);
  border: 1px solid oklch(36% 0.04 160);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.desk-msg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: oklch(80% 0.02 160);
}
.desk-msg-channel {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px 2px 5px;
  border-radius: 999px;
  background: oklch(70% 0.16 145);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.desk-msg-channel svg { display: block; }
.desk-msg-from {
  font-weight: 500;
  color: oklch(88% 0.02 160);
}
.desk-msg-time {
  margin-left: auto;
  color: oklch(72% 0.01 160);
  font-size: 10.5px;
}
.desk-msg-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.desk-msg-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: oklch(55% 0.10 200);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0;
}
.desk-msg-bubble {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  border-top-left-radius: 4px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--ink);
  min-height: 18px;
  line-height: 1.4;
  max-width: 80%;
}
.desk-msg-text { display: inline; }

/* ── Step timeline — sequential reveal of the journey from triage to
   dispatch. Each step fades + slides in based on its phase. ── */
.desk-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.desk-step {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  background: oklch(28% 0.02 160);
  border: 1px solid oklch(34% 0.03 160);
  border-radius: 9px;
  /* desk-phase governs opacity / transform; we only need to render
     the shell here. */
}
.desk-step-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}
.desk-step-icon-check {
  border-radius: 50%;
  background: oklch(35% 0.07 160);
  color: oklch(85% 0.12 160);
  display: grid;
  place-items: center;
}
.desk-step-icon-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.desk-step-icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(58% 0.16 290);
  box-shadow: 0 0 0 3px color-mix(in oklch, oklch(58% 0.16 290) 22%, transparent);
}
.desk-step-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.desk-step-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: oklch(92% 0.02 160);
  line-height: 1.25;
}
.desk-step-sub {
  font-size: 11.5px;
  color: oklch(72% 0.01 160);
  margin-top: 2px;
}
.desk-step-ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 5px 1px 4px;
  border-radius: 999px;
  background: color-mix(in oklch, oklch(58% 0.16 290) 18%, transparent);
  color: oklch(80% 0.12 290);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
}
.desk-step-ai-chip svg { display: block; }
:root[data-motion='off'] .desk-phase {
  transition: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ── Brand preservation ── */
/* Legacy brand-wrap rule (retained inert in case any third-party
   markup still references it — main Brand section uses .brand-showcase
   below). */
.brand-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Brand showcase ─ controls panel + service-requests preview ──
   Sits below the section-split heading. Controls on the left, live
   tenant dashboard on the right. */
.brand-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr 0.4fr;
  gap: 28px;
  align-items: start;
  margin-top: 48px;
}
.brand-extras {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
}
.brand-extra-box {
  flex: 1;
  min-height: 110px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 16px 36px -20px rgb(0 0 0 / 0.18), 0 4px 10px -4px rgb(0 0 0 / 0.06);
}
/* Upper box hosts two van photos stacked; only the active one is
   visible. Simple opacity crossfade switches between them when the
   whitelabel demo flips from Reeve to M&F. */
.brand-extra-box-van {
  position: relative;
  overflow: hidden;
}
.brand-van-photo {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(.2, .7, .2, 1);
}
.brand-van-photo[data-active='true'] { opacity: 1; }
:root[data-motion='off'] .brand-van-photo { transition: none; }
/* Overall box — zoom in on the chest so the logo + collar are the
   focus, not the trousers. cover + top-biased object-position. */
.brand-extra-box-overall .brand-van-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}
.brand-preview-panel {
  padding: 22px 24px;
  gap: 22px;
  border-radius: 16px;
  box-shadow: 0 16px 36px -20px rgb(0 0 0 / 0.18), 0 4px 10px -4px rgb(0 0 0 / 0.06);
}

/* Name field — native editable input. Auto-types Marlow & Finch on
   first view; visitor can type their own name to override. */
.brand-name-input {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 9px 12px;
  background: #f4f4f4;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  caret-color: var(--ink);
}
.brand-name-input::placeholder {
  color: var(--ink-3);
}
.brand-name-input:hover {
  border-color: var(--rule-strong);
}
.brand-name-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 16%, transparent);
}

/* ── Service-requests preview panel ─────────────────────────────── */
.sr-panel {
  --sr-accent: oklch(28% 0.06 250);
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 16px 36px -20px rgb(0 0 0 / 0.18), 0 4px 10px -4px rgb(0 0 0 / 0.06);
}
.sr-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px;
}
.sr-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: color-mix(in oklch, var(--sr-accent) 14%, transparent);
  color: var(--sr-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 280ms ease, color 280ms ease;
}
.sr-icon-lg {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}
.sr-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sr-header-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.sr-header-sub {
  font-size: 12.5px;
  color: var(--ink-3);
}
.sr-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
.sr-view-all:hover { color: var(--accent-ink); }

.sr-rows {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}
.sr-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
}
.sr-row:last-child { border-bottom: none; }

.sr-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sr-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-sub {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.sr-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  flex-shrink: 0;
}
.sr-brand-mark svg { display: block; }
/* Icon variant — the Reeve brand mark leads the row at 24px (brand
   guideline minimum). Sits to the left of the "Delivered by …" text. */
.sr-brand-mark-icon {
  display: block;
  height: 24px;
  width: 24px;
  border-radius: 5px;
}
/* Image variant for the inline mark — used when the visitor uploads
   their own logo. Sits on a paper chip so any aspect ratio reads
   cleanly when leading the row. Matches the 24px height of the brand
   icon so M&F-style logos land at the same scale. */
.sr-brand-mark-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  width: 32px;
  padding: 2px 3px;
  background: #f4f4f4;
  border: 1px solid var(--rule);
  border-radius: 5px;
}
.sr-brand-mark-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.sr-brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 5px;
  background: var(--sr-accent);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 280ms ease;
}

.sr-btn {
  border: none;
  background: color-mix(in oklch, var(--sr-accent) 12%, transparent);
  color: var(--sr-accent);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 280ms ease, color 280ms ease;
}
.sr-btn:hover {
  background: color-mix(in oklch, var(--sr-accent) 20%, transparent);
}

/* ── Service-request timeline modal ─ opens when a visitor clicks
   Open on a row. Mirrors the structure of Reeve's tenant portal:
   status banner with phase track, description card, activity log. ── */
.sr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgb(0 0 0 / 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: srModalIn 240ms cubic-bezier(.2, .7, .2, 1);
}
@keyframes srModalIn { from { opacity: 0; } to { opacity: 1; } }
.sr-modal-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 32px 64px -28px rgb(0 0 0 / 0.4);
  animation: srModalCardIn 280ms cubic-bezier(.2, .7, .2, 1);
}
@keyframes srModalCardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.sr-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #f4f4f4;
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.sr-modal-close:hover { background: #ececec; color: var(--ink); }

/* Status banner — grey gradient panel with magnifying-glass icon,
   status title, supporting copy and the phase track underneath. */
.sr-modal-status {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px 22px;
  background: #f4f4f4;
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.sr-modal-status-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(180deg, oklch(88% 0 0) 0%, oklch(78% 0 0) 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
}
.sr-modal-status-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.sr-modal-status-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.15;
}
.sr-modal-status-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* Phase track — 6 steps with dots connected by a thin rule. */
.sr-modal-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
  padding: 4px 8px 16px;
  position: relative;
}
.sr-modal-track::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--rule);
}
.sr-modal-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}
.sr-modal-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  background: #ffffff;
  position: relative;
}
.sr-modal-step-dot::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--rule);
  opacity: 0;
}
.sr-modal-step-done .sr-modal-step-dot {
  border-color: var(--sr-accent);
  background: var(--sr-accent);
}
.sr-modal-step-done .sr-modal-step-dot::after {
  background: #ffffff;
  opacity: 1;
}
.sr-modal-step-active .sr-modal-step-dot {
  border-color: var(--sr-accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--sr-accent) 16%, transparent);
}
.sr-modal-step-active .sr-modal-step-dot::after {
  background: var(--sr-accent);
  opacity: 1;
}
.sr-modal-step-label {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}
.sr-modal-step-active .sr-modal-step-label {
  color: var(--ink);
  font-weight: 600;
}

/* Description + Activity cards — white cards with a small icon-led
   section heading and the section body underneath. */
.sr-modal-section {
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sr-modal-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sr-modal-section-head svg {
  color: var(--ink-3);
}
.sr-modal-section-body {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

/* Activity log — bullet timeline with event + meta line */
.sr-modal-activity {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sr-modal-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sr-modal-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
  flex-shrink: 0;
  margin-top: 6px;
}
.sr-modal-activity-event {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}
.sr-modal-activity-meta {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* Modal is desktop-only — hide on mobile as a safety net in case the
   viewport shrinks after open. The click handler also short-circuits
   on this breakpoint, so this just covers state-change edge cases. */
@media (max-width: 600px) {
  .sr-modal { display: none; }
}

@media (max-width: 900px) {
  .brand-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  .brand-extras { flex-direction: row; }
  .brand-extra-box { min-height: 120px; }
  .sr-header-title { font-size: 16px; }
  .sr-title { font-size: 13.5px; }
}
.brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.brand-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 18px 20px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}
.brand-list .num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-ink);
  letter-spacing: 0;
}

/* ── Proof / Rollout ── */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 40px;
  align-items: stretch;
}
.proof-stack { display: flex; flex-direction: column; gap: 24px; }
.rollout-steps {
  display: grid;
  gap: 10px;
  flex: 1;
  grid-auto-rows: 1fr;
}
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.step-n {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
  line-height: 1;
  margin-top: 2px;
}
.step-t {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 4px;
}
.step-d { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

/* Horizontal rollout — 4 step cards + 1 CTA card across one row. */
.rollout-steps-horizontal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  grid-auto-rows: 1fr;
  margin-top: 40px;
}
.rollout-steps-horizontal .step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px;
}
.rollout-steps-horizontal .step > div { display: flex; flex-direction: column; }
.rollout-steps-horizontal .step-n { margin-top: 0; margin-bottom: 4px; }
.rollout-steps-horizontal .step-t { font-size: 15.5px; }
.rollout-steps-horizontal .step-d { font-size: 13px; }

/* CTA card — same footprint as a step but visually distinct (dark fill,
   inverted text, big arrow). Acts as a link to book a walkthrough. */
.step-cta {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  text-decoration: none;
  justify-content: space-between;
  transition: transform 200ms ease, box-shadow 240ms ease;
}
.step-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -16px rgb(0 0 0 / 0.35);
}
.step-cta .step-t {
  color: var(--paper);
  font-size: 18px;
}
.step-cta .step-d {
  color: oklch(75% 0.005 80);
}
.step-cta-arrow {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  color: oklch(85% 0.12 160);
  margin-top: 20px;
  align-self: flex-start;
}

@media (max-width: 1100px) {
  .rollout-steps-horizontal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rollout-steps-horizontal { grid-template-columns: 1fr; }
  .step-cta-arrow { margin-top: 12px; font-size: 28px; }
}

/* ── Resolution Gap proof block ─ 3 stat cards, prominent figures ────── */
#proof .rollout-steps-horizontal {
  grid-template-columns: repeat(3, 1fr);
}
#proof .rollout-steps-horizontal .step-n {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
@media (max-width: 700px) {
  #proof .rollout-steps-horizontal { grid-template-columns: 1fr; }
}

/* ── Three ways to start ─ buyer-entry cards ─────────────────────────── */
.three-ways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.three-way-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.three-way-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.three-way-card h3 {
  margin: 14px 0 8px;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.01em;
}
.three-way-card p {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.5;
}
.text-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--accent);
}
@media (max-width: 860px) {
  .three-ways-grid { grid-template-columns: 1fr; }
}

.proof-pp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.proof-pp {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.proof-pp-label {
  font-size: 11.5px;
  color: var(--accent-ink);
  font-weight: 500;
  text-transform: lowercase;
}
.proof-pp-name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.proof-pp-meta { font-size: 12.5px; color: var(--ink-3); }

.proof-callout {
  padding: 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.proof-callout-eyebrow {
  font-size: 12px;
  color: oklch(85% 0.10 160);
  text-transform: lowercase;
  font-weight: 500;
}
.proof-callout-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
}
.proof-callout-big {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--paper);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.proof-callout-vs { font-size: 13px; color: oklch(72% 0.02 160); }
.proof-callout-vs strong { color: var(--paper); font-weight: 600; }
.proof-callout-bar { display: grid; gap: 10px; }
.pcb-row {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 12px;
  align-items: center;
  font-size: 12.5px;
  color: oklch(75% 0.02 160);
}
.pcb-track {
  height: 6px;
  background: oklch(22% 0.01 240);
  border-radius: 3px;
  overflow: hidden;
}
.pcb-fill { height: 100%; border-radius: 3px; }
.pcb-fill-ind { width: 100%; background: oklch(48% 0.005 240); }
.pcb-fill-reeve { width: 12%; background: oklch(70% 0.13 160); }
.pcb-v {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--paper);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ── Closing CTA ── */
.close-cta {
  position: relative;
  margin: clamp(48px, 6vw, 80px) auto 0;
  max-width: 1184px;
  padding: clamp(48px, 6vw, 80px);
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.close-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
.close-cta-inner {
  position: relative;
}
.close-cta-inner .h-section { color: var(--paper); }
.close-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 720px;
}
.close-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Floating WhatsApp bubble ── */
.wa-bubble {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.wa-bubble:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}
.wa-bubble:focus-visible { outline: 3px solid rgba(37, 211, 102, 0.5); outline-offset: 3px; }
@media (max-width: 640px) {
  .wa-bubble { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-bubble svg { width: 27px; height: 27px; }
}
/* Hide the WhatsApp bubble while the Book a Job overlay is open so the two
   floating widgets never stack on top of one another. */
body.job-open .wa-bubble { display: none; }

/* ── Book a Job overlay ── in-page /embed chat, fixed bottom-right ── */
.job-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  width: 400px;
  height: 640px;
  max-width: calc(100vw - 44px);
  max-height: calc(100vh - 44px);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  animation: job-widget-in 200ms ease;
}
@keyframes job-widget-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.job-widget-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.job-widget-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #3e3e3c;              /* dark grey — reads on the light chat header */
  background: transparent;     /* no backing circle */
  display: grid;
  place-items: center;         /* keeps the × perfectly centred */
  transition: color 140ms ease, background 140ms ease;
}
.job-widget-close:hover { color: #141417; background: rgba(20, 22, 24, 0.08); }
.job-widget-close:focus-visible { outline: 2px solid rgba(20, 22, 24, 0.4); outline-offset: 2px; }
@media (max-width: 640px) {
  .job-widget {
    right: 0;
    bottom: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}
.close-cta-body {
  font-size: 16px;
  line-height: 1.55;
  color: oklch(80% 0.02 160);
  margin: 0;
}

/* ── Footer ── */
.foot {
  background: var(--ink);
  color: oklch(75% 0.01 240);
  padding: 56px 0 28px;
  margin-top: clamp(56px, 6vw, 88px);
}
.accreditations {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid oklch(22% 0.01 240);
}
.accreditations-label {
  font-size: 12.5px;
  color: oklch(65% 0.01 240);
}
.accreditation-row { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.accreditation-row img { height: 36px; opacity: 0.8; filter: grayscale(100%) invert(0.85); }
.accreditation-bcorp {
  width: 36px;
  height: 36px;
  color: oklch(80% 0.005 240);
  opacity: 0.8;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid oklch(22% 0.01 240);
}
.foot-col h4 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0;
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13px; }
.foot-col ul a { color: oklch(72% 0.01 240); transition: color 120ms ease; }
.foot-col ul a:hover { color: var(--paper); }
.foot-base {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: oklch(55% 0.01 240);
}
.foot-base a { color: inherit; }
.foot-base a:hover { color: var(--paper); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-stack { gap: 32px; }
  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .route-grid { grid-template-columns: 1fr; }
  .modules-grid > .module,
  .modules-grid > .module-feature,
  .modules-grid > .module-feature-pair,
  .modules-grid > .module-tall { grid-column: span 6; }
  .modules-grid > .module-wide { grid-column: span 12; }
  .module-feature { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .brand-wrap { grid-template-columns: 1fr; gap: 28px; }
  /* On mobile, put the heading + lede above the numbered list. */
  .brand-wrap > :first-child { order: 2; }
  .brand-wrap > :nth-child(2) { order: 1; }
  .proof-grid { grid-template-columns: 1fr; gap: 40px; }
  .close-cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .modules-grid > .module,
  .modules-grid > .module-feature,
  .modules-grid > .module-feature-pair,
  .modules-grid > .module-tall,
  .modules-grid > .module-wide { grid-column: span 12; }
  .audit-row { grid-template-columns: 48px 88px 1fr; }
  .proof-pp-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .evidence-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
}
