/* ==========================================================================
   reportwithecho.com — section styles (v4 — healthcare / EVS pitch)

   Drenched-violet bookends (.surface--inverted: hero + pilot ask) bracket a
   light-surface narrative: persona → noise → silent → fix → steps →
   before/after → dashboard → value cards → compounding flow. Scroll-triggered
   reveals via .reveal + reveal.js; prefers-reduced-motion is honored globally
   (base.css clamps + reveal.js falls through to .is-visible immediately).
   ========================================================================== */

/* ==========================================================================
   REVEAL SYSTEM — IntersectionObserver-driven entrance animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms var(--ease-out-quart),
    transform 700ms var(--ease-out-quart);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   HERO — drenched violet, asymmetric, editorial
   ========================================================================== */

/* Drenched-violet treatment shared by the hero and the pilot ask — the two
   bookends of the page. Extracted so #pilot reuses it without duplicating the
   gradient. Sets white text + white focus ring for legibility on violet. */
.surface--inverted {
  background: var(--accent-violet-deep);
  background-image:
    radial-gradient(
      ellipse at top right,
      var(--accent-violet) 0%,
      var(--accent-violet-deep) 50%,
      var(--accent-violet-deeper) 100%
    );
  color: var(--text-inverse);
  --focus-ring: var(--text-inverse);
}

.hero {
  padding: var(--space-3xl) 0 var(--space-4xl);
  overflow: hidden;
  position: relative;
}

/* Hero eyebrow — light violet on the drenched surface (replaces the dark
   .eyebrow which is unreadable on violet-deep). */
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-violet-on-deep);
  margin: 0 0 var(--space-lg);
}

/* Hero masthead — brand + audience tagline lifted into a full-width header
   strip above the two-column hero. Tagline stacks directly under the logo. */
.hero__masthead {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto var(--space-3xl);
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  position: relative;
  z-index: 1;
}
.hero__masthead .hero__brand { margin-bottom: 0; }
.hero__masthead .hero__eyebrow { margin: 0; }

@media (min-width: 768px) {
  .hero__masthead { margin-bottom: var(--space-4xl); }
}

.hero__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  gap: var(--space-3xl);
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero brand: orb (PNG) + wordmark (inline SVG, currentColor for white-on-violet).
   Sized via the link's height so both elements stay proportional. */
.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  height: 36px;
  margin-bottom: var(--space-2xl);
  color: var(--text-inverse);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal);
}
.hero__brand:hover { transform: translateY(-1px); text-decoration: none; }

.hero__brand-orb {
  height: 100%;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hero__brand-wordmark {
  height: 100%;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .hero__brand { height: 44px; gap: var(--space-md); }
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 11vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--text-inverse);
  margin: 0 0 var(--space-xl);
  text-wrap: balance;
}

.hero__headline-line {
  display: block;
}

.hero__subhead {
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 2.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-inverse);
  margin: 0 0 var(--space-lg);
  max-width: 28em;
}

.hero__coverage {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-violet-on-deep);
  margin: 0 0 var(--space-2xl);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--text-inverse);
  color: var(--accent-violet-deep);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  box-shadow: 0 4px 0 oklch(20% 0.05 300 / 0.5);
}

.hero__cta:hover {
  color: var(--accent-violet-deep);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 oklch(20% 0.05 300 / 0.5);
  text-decoration: none;
}

.hero__cta:hover .hero__cta-arrow {
  transform: translateY(2px);
}

.hero__cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 oklch(20% 0.05 300 / 0.5);
}

.hero__cta-arrow {
  display: inline-block;
  transition: transform var(--transition-normal);
}

/* Hero media — the payoff photo that fills the left column on desktop. The
   mobile hero stays copy-first, so the image is hidden below the breakpoint. */
.hero__media { display: none; margin: 0; }
.hero__media-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 26px 60px oklch(16% 0.06 300 / 0.5);
}

/* Hero placard — a real restroom sign mockup floating on the violet. White
   card + scannable QR; reads as "scan the placard, report the problem" at a
   glance. Desktop-only: the mobile hero stays copy-first. */
.hero__placard { display: none; }

.hero__placard-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent-violet-ink);
}
.hero__placard-glyph { width: 16px; height: 16px; flex: none; }

/* Green viewfinder corners around the QR — the "scan / act" cue (green = action). */
.hero__placard-qrwrap {
  position: relative;
  padding: var(--space-sm);
}
.hero__placard-qrwrap::before,
.hero__placard-qrwrap::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid var(--accent-green);
}
.hero__placard-qrwrap::before { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.hero__placard-qrwrap::after { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
.hero__placard-qr {
  display: block;
  width: 100%;
  max-width: 196px;
  height: auto;
  aspect-ratio: 1;
}
.hero__placard-cta {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-violet-ink);
  text-align: center;
}

@media (min-width: 768px) {
  .hero { padding: var(--space-5xl) 0; }
  .hero__inner {
    /* Even 50/50 split — image left, copy right. */
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
  /* Image left, copy right — copy stays first in the DOM for a11y/SEO and is
     placed into column 2 explicitly. */
  .hero__media { display: block; grid-column: 1; grid-row: 1; }
  .hero__copy { grid-column: 2; grid-row: 1; }
  .hero__brand { margin-bottom: var(--space-3xl); }
  .hero__placard {
    display: grid;
    justify-items: center;
    gap: var(--space-md);
    justify-self: end;
    width: min(280px, 100%);
    padding: var(--space-xl);
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    transform: rotate(3deg);
    box-shadow: 0 26px 60px oklch(16% 0.06 300 / 0.5);
  }
}

@media (min-width: 1024px) {
  .hero__placard { width: 300px; }
}

/* Hero entrance choreography. One orchestrated load moment.
   Headline lines reveal in sequence; brand fades; motif rotates in;
   subhead/coverage/CTA fade together. */
@keyframes hero-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hero-line-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-placard-rotate-in {
  from { opacity: 0; transform: rotate(-9deg) scale(0.92); }
  to   { opacity: 1; transform: rotate(3deg) scale(1); }
}
@keyframes hero-cta-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Logo entrance choreography:
   1. Orb slides in from -100px while rotating 540deg, settles to center
   2. Wordmark fades in from the left after the orb settles */
@keyframes hero-orb-in {
  from { opacity: 0; transform: translateX(-160px) rotate(-540deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-wordmark-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}

.hero__brand-orb {
  transform-origin: center;
  animation: hero-orb-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__brand-wordmark {
  animation: hero-wordmark-in 600ms var(--ease-out-quart) 600ms both;
}
.hero__headline-line:nth-child(1) {
  animation: hero-line-rise 700ms var(--ease-out-quart) 700ms both;
}
.hero__headline-line:nth-child(2) {
  animation: hero-line-rise 700ms var(--ease-out-quart) 820ms both;
}
.hero__subhead {
  animation: hero-fade-in 600ms var(--ease-out-quart) 1000ms both;
}
.hero__coverage {
  animation: hero-fade-in 600ms var(--ease-out-quart) 1100ms both;
}
.hero__cta {
  animation: hero-cta-rise 600ms var(--ease-out-quart) 1200ms both;
}
.hero__media {
  animation: hero-fade-in 800ms var(--ease-out-quart) 200ms both;
}

@media (prefers-reduced-motion: reduce) {
  .hero__brand-orb,
  .hero__brand-wordmark,
  .hero__headline-line,
  .hero__subhead,
  .hero__coverage,
  .hero__cta,
  .hero__media { animation: none; }
}

/* Subtle ambient orb behind the hero placard for depth */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(
    circle at center,
    oklch(70% 0.18 300 / 0.18) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   SECTIONS — shared shell
   ========================================================================== */

.section {
  padding: var(--space-4xl) 0;
}

@media (min-width: 768px) {
  .section { padding: var(--space-5xl) 0; }
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 var(--space-2xl);
  text-wrap: balance;
  max-width: 18em;
}

/* Shared supporting note under a section's content (deck footnotes). */
.section__note {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 40em;
  margin: var(--space-2xl) 0 0;
}
.section__note strong { color: var(--text-primary); }

/* ==========================================================================
   PERSONA — Meet Dana. Two-column lede + supporting "channels" card.
   ========================================================================== */

.section--persona { background: var(--bg-canvas); }

/* Two stacked 50/50 rows: Meet Dana (copy + portrait), then How it reaches
   her today (channels card + the storm). */
.persona-split {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
.persona-split__media { margin: 0; }
.persona-split + .persona-split { margin-top: var(--space-4xl); }

@media (min-width: 768px) {
  .persona-split { grid-template-columns: 1fr 1fr; gap: var(--space-4xl); }
  /* Reverse row: image left, card right (DOM keeps the card first). */
  .persona-split--reverse .persona-split__media { grid-column: 1; grid-row: 1; }
  .persona-split--reverse .persona__card { grid-column: 2; grid-row: 1; }
}

.persona__lede {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.45;
  color: var(--text-primary);
  max-width: 32em;
  margin: 0 0 var(--space-xl);
}

.persona__emphasis {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent-violet-ink);
  max-width: 22em;
  margin: 0 0 var(--space-lg);
}
.persona__emphasis em { font-style: normal; color: var(--accent-violet); }

.persona__note {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 32em;
  margin: 0;
}

.persona__card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.persona__card-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin-bottom: var(--space-lg);
}

.persona__channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
}
.persona__channels li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--text-primary);
}
/* Shared status dot — used by persona channels, before/after panels, and the
   dashboard bar. --bad (danger) / --good (green) carry the semantic. */
.status-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: var(--radius-full);
}
.status-dot--bad { background: var(--accent-danger); }
.status-dot--good { background: var(--accent-green); }

/* ==========================================================================
   SIGNAL LIST — the "broken report" bullets (deck 4/5/6).
   Bold violet-ink lead-in + detail. --plain drops the lead-in styling.
   ========================================================================== */

.section--noise { background: var(--bg-elevated); }
.section--silent { background: var(--accent-violet-soft); }
.section--fix { background: var(--bg-canvas); }

.signal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
  max-width: 44em;
}

.signal {
  display: grid;
  gap: var(--space-xs);
  padding-left: var(--space-lg);
  border-left: 3px solid var(--accent-violet-muted);
}

.signal__lead {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.005em;
  color: var(--accent-violet-ink);
}

.signal__detail {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-primary);
}
.signal__detail strong { color: var(--accent-violet-ink); }

.signal-list--plain .signal { border-left-color: var(--accent-violet); }

.silent__lede {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 700;
  line-height: 1.32;
  color: var(--accent-violet-ink);
  max-width: 24em;
  margin: 0 0 var(--space-2xl);
}
.silent__lede em { font-style: normal; color: var(--accent-violet); }

/* Fix callout — violet-soft panel with a left accent bar. */
.callout {
  background: var(--accent-violet-soft);
  border-left: 5px solid var(--accent-violet);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.45;
  color: var(--text-primary);
  max-width: 36em;
  margin: 0 0 var(--space-2xl);
}
.callout strong { color: var(--accent-violet-ink); }

/* Fix layout — copy left, restroom placard mockup right (deck slide 6). */
.fix {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
.fix__copy > .callout:last-child,
.fix__copy > .section__note:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .fix { grid-template-columns: 1fr 1fr; gap: var(--space-4xl); }
}

/* Live placard example (raster from the deck). Framed with a soft shadow so
   it lifts off the canvas; the scene carries its own background. */
.placard {
  margin: 0;
  justify-self: center;
  width: min(460px, 100%);
}
.placard__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 44px oklch(34% 0.10 300 / 0.16);
}

/* ==========================================================================
   SECTION FIGURES — supporting raster art per section (deck slides).
   Shared frame: full-width, rounded, soft violet-tinted lift. Every figure
   sits below the fold, so all are lazy-loaded in markup.
   ========================================================================== */
.section-figure {
  margin: var(--space-3xl) 0 0;
  width: 100%;
}
.section-figure__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 44px oklch(34% 0.10 300 / 0.16);
}

/* Two-up figure — the noise section pairs the storm + the vague complaints
   (deck 3+4). Stacks on mobile, side-by-side from the tablet breakpoint. */
.section-figure--duo {
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .section-figure--duo { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}

/* Before/after scene art sits atop each compare panel. */
.compare__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   STEPS — How it works. Big numerals, civic muni-signage style.
   ========================================================================== */

.section--steps { background: var(--bg-elevated); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2xl);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--space-xl);
  row-gap: var(--space-sm);
  align-items: start;
}

.step__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 12vw, 7rem);
  line-height: 0.85;
  color: var(--accent-violet);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.05;
  margin: 0;
  color: var(--text-primary);
  align-self: end;
  letter-spacing: -0.01em;
}

.step p {
  grid-column: 2;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-primary);
  max-width: 36em;
}

@media (min-width: 768px) {
  .steps { gap: var(--space-3xl); }
}

/* Sub-card under each step (asset-anchored / zero-friction / fits-workflow). */
.step__aside {
  grid-column: 2;
  margin-top: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  gap: var(--space-xs);
  max-width: 36em;
}
.step__aside-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green-ink);
}
.step__aside-detail {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* ==========================================================================
   SHIFT — Before / After comparison (deck 8)
   ========================================================================== */

.section--shift { background: var(--bg-canvas); }

.compare {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .compare { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}

.compare__panel {
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid transparent;
}
.compare__panel--before {
  background: var(--accent-danger-soft);
  border-color: var(--accent-danger-muted);
}
.compare__panel--after {
  background: var(--accent-green-soft);
  border-color: var(--accent-green-muted);
}

.compare__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}
.compare__panel--before .compare__label { color: var(--accent-danger-ink); }
.compare__panel--after .compare__label { color: var(--accent-green-ink); }

.compare__chaos,
.compare__queue {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}
.compare__chaos li,
.compare__queue li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--text-primary);
}
.compare__caption {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  color: var(--accent-danger-ink);
  margin: 0;
}
.compare__caption--good { color: var(--accent-green-ink); }

/* ==========================================================================
   DASHBOARD — live-queue mockup (deck 9)
   ========================================================================== */

.section--dashboard { background: var(--bg-sunken); }

.dashboard {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px oklch(34% 0.10 300 / 0.10);
}

.dashboard__bar {
  background: var(--accent-violet-deep);
  color: var(--text-inverse);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.dashboard__title,
.dashboard__live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}
.dashboard__live { color: var(--accent-green-soft); font-weight: 700; }

.dashboard__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-soft);
}
@media (min-width: 640px) {
  .dashboard__stats { grid-template-columns: repeat(4, 1fr); }
}
.dashboard__stat {
  background: var(--bg-elevated);
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-xs);
}
.dashboard__stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1;
  color: var(--accent-violet-ink);
  letter-spacing: -0.02em;
}
.dashboard__stat-num--good { color: var(--accent-green-ink); }
.dashboard__stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.dashboard__table-wrap { overflow-x: auto; }
.dashboard__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 30rem;
}
.dashboard__table thead th {
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.dashboard__table td,
.dashboard__table tbody th {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-primary);
}
.dashboard__table tbody tr:last-child td,
.dashboard__table tbody tr:last-child th { border-bottom: 0; }
.dashboard__table tbody th {
  font-weight: 600;
  text-align: left;
}

.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px var(--space-md);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pill--new { background: var(--status-new-bg); color: var(--status-new-text); }
.pill--assigned { background: var(--status-assigned-bg); color: var(--status-assigned-text); }
.pill--resolved { background: var(--status-resolved-bg); color: var(--status-resolved-text); }

/* ==========================================================================
   WHY — built for EVS, 2×2 value cards (deck 10)
   ========================================================================== */

.section--why { background: var(--bg-canvas); }

.value-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 640px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-green);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-xs);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px oklch(48% 0.14 300 / 0.10);
}
.value-card__icon {
  width: 28px;
  height: 28px;
  color: var(--accent-green);
  margin-bottom: var(--space-sm);
}
.value-card__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green-ink);
}
.value-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.005em;
  color: var(--accent-violet-ink);
  margin: 0;
}
.value-card__detail {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-primary);
}

/* ==========================================================================
   COMPOUNDS — flow + win cards (deck 11)
   ========================================================================== */

.section--compounds { background: var(--accent-violet-soft); }

.compounds__lede {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent-violet-ink);
  margin: 0 0 var(--space-2xl);
  max-width: 28em;
}

.flow {
  list-style: none;
  margin: 0 0 var(--space-3xl);
  padding: 0;
  display: grid;
  gap: var(--space-md);
  align-items: center;
}
@media (min-width: 640px) {
  /* Three equal cards fill the full width, arrows auto-sized between them. */
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; gap: var(--space-lg); }
  /* Row layout — arrows point right again. */
  .flow__arrow { transform: none; }
}
.flow__node {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent-green);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-sm);
}
.flow__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent-violet-ink);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
/* Trend-chart glyphs replacing the ↓ / ↑ arrows on Response time & Trust. */
.flow__icon {
  width: 1.4em;
  height: 1.4em;
  flex: none;
}
.flow__detail {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
}
.flow__arrow {
  justify-self: center;
  font-size: 1.5rem;
  color: var(--accent-green);
  font-weight: 700;
  /* Cards stack vertically on mobile, so the → points down between them. */
  transform: rotate(90deg);
}

/* Operational / Experience / Coverage wins as a stacked list (green
   left-rule accent) rather than cards. */
.win-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
}
.win-item {
  display: grid;
  gap: var(--space-xs);
  padding-left: var(--space-lg);
  border-left: 3px solid var(--accent-green);
}
.win-item__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-green-ink);
}
.win-item__detail {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
}

/* ==========================================================================
   PILOT — the ask, drenched-violet bookend (deck 12)
   ========================================================================== */

.section--pilot .eyebrow { color: var(--accent-violet-on-deep); }
.section--pilot h2 { color: var(--text-inverse); }

.ask {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
  max-width: 44em;
}
.ask__step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-lg);
  background: oklch(100% 0 0 / 0.07);
  border: 1px solid oklch(100% 0 0 / 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.ask__step p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--text-inverse);
}
.ask__step strong { color: var(--text-inverse); }
.ask__num {
  flex: none;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--accent-green);
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
}
.ask__closing {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.1;
  color: var(--text-inverse);
  text-align: center;
  margin: var(--space-3xl) 0 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding: var(--space-3xl) 0;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-soft);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
  }
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  height: 28px;
  color: var(--accent-violet);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.site-footer__brand:hover {
  transform: translateY(-1px);
  color: var(--accent-violet-hover);
  text-decoration: none;
}

.site-footer__orb {
  height: 100%;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.site-footer__wordmark {
  height: 100%;
  width: auto;
  display: block;
}

.site-footer__copy {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}
