:root {
  color-scheme: light;
  --font-sans: "Instrument Sans", "Aptos", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ink: #141719;
  --muted: #68717a;
  --soft: #f2f0e7;
  --surface: #fffdf7;
  --line: #d9ded8;
  --charcoal: #171d1c;
  --teal: #008c7b;
  --coral: #ff6547;
  --gold: #c9a227;
  --blue: #4f6df5;
  --lime: #c8ff52;
  --violet: #7561ff;
  --green-soft: #e0f4ee;
  --coral-soft: #ffe1d9;
  --gold-soft: #f5ead1;
  --shadow: 0 28px 90px rgba(20, 23, 25, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(20, 23, 25, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 23, 25, 0.04) 1px, transparent 1px),
    var(--soft);
  background-size: 48px 48px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
}

.page-shell {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out),
    filter 800ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal .kpi-bar span,
.reveal .multiple-track span,
.reveal .bar-fill,
.reveal .ranking-meter span {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 950ms var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0ms) + 180ms);
}

.reveal.is-visible .kpi-bar span,
.reveal.is-visible .multiple-track span,
.reveal.is-visible .bar-fill,
.reveal.is-visible .ranking-meter span {
  transform: scaleX(1);
}

.reveal .matrix-point,
.reveal .segment-point,
.reveal .occasion-node,
.reveal .diverging-row {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.reveal .matrix-point,
.reveal .segment-point {
  transform: translate(-50%, calc(-50% + 16px));
}

.reveal.is-visible .matrix-point,
.reveal.is-visible .segment-point,
.reveal.is-visible .occasion-node,
.reveal.is-visible .diverging-row {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .matrix-point,
.reveal.is-visible .segment-point {
  transform: translate(-50%, -50%);
}

.reveal.is-visible .matrix-point:nth-of-type(1),
.reveal.is-visible .segment-point:nth-of-type(1),
.reveal.is-visible .occasion-node:nth-child(1),
.reveal.is-visible .diverging-row:nth-child(1) {
  transition-delay: 120ms;
}

.reveal.is-visible .matrix-point:nth-of-type(2),
.reveal.is-visible .segment-point:nth-of-type(2),
.reveal.is-visible .occasion-node:nth-child(2),
.reveal.is-visible .diverging-row:nth-child(2) {
  transition-delay: 210ms;
}

.reveal.is-visible .matrix-point:nth-of-type(3),
.reveal.is-visible .segment-point:nth-of-type(3),
.reveal.is-visible .occasion-node:nth-child(3),
.reveal.is-visible .diverging-row:nth-child(3) {
  transition-delay: 300ms;
}

.reveal.is-visible .matrix-point:nth-of-type(4),
.reveal.is-visible .segment-point:nth-of-type(4),
.reveal.is-visible .occasion-node:nth-child(4),
.reveal.is-visible .diverging-row:nth-child(4) {
  transition-delay: 390ms;
}

.reveal.is-visible .occasion-node:nth-child(5) {
  transition-delay: 480ms;
}

.reveal.is-visible .occasion-node:nth-child(6) {
  transition-delay: 570ms;
}

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) 40px;
  background:
    linear-gradient(90deg, rgba(200, 255, 82, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 253, 247, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(0, 140, 123, 0.24) 0%, transparent 34%),
    linear-gradient(315deg, rgba(255, 101, 71, 0.18) 0%, transparent 32%),
    var(--charcoal);
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
  color: #fffdf7;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 82, 0.8), transparent);
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-grid {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
}

.hero-copy {
  max-width: 840px;
}

.eyebrow,
.panel-kicker,
.chart-label {
  margin: 0;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-section .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  font-family: var(--font-sans);
  margin: 16px 0 22px;
  max-width: 940px;
  font-size: clamp(3.2rem, 7.2vw, 7.1rem);
  line-height: 0.9;
  letter-spacing: 0;
  color: var(--charcoal);
}

.hero-section h1 {
  color: #fffdf7;
}

.lead {
  max-width: 790px;
  margin: 0;
  color: #3d4755;
  font-size: clamp(1.06rem, 1.6vw, 1.35rem);
  line-height: 1.62;
}

.hero-section .lead {
  color: rgba(255, 253, 247, 0.76);
}

.argument-strip {
  margin-top: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 253, 247, 0.22);
  border-bottom: 1px solid rgba(255, 253, 247, 0.22);
  background: rgba(255, 253, 247, 0.035);
  backdrop-filter: blur(16px);
}

.argument-strip div {
  min-height: 112px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255, 253, 247, 0.88);
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  font-weight: 720;
  border-right: 1px solid rgba(255, 253, 247, 0.16);
}

.argument-strip div:last-child {
  border-right: 0;
}

.argument-strip span {
  color: rgba(200, 255, 82, 0.78);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.opportunity-panel {
  background: rgba(255, 253, 247, 0.08);
  color: #f8f5ef;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 8px;
  border: 1px solid rgba(255, 253, 247, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.opportunity-panel .panel-kicker {
  color: var(--lime);
}

.opportunity-panel h2 {
  margin: 18px 0 16px;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.opportunity-panel p:last-child {
  margin: 0;
  color: rgba(248, 245, 239, 0.78);
  font-size: 1rem;
  line-height: 1.62;
}

.story-section {
  padding: 42px clamp(20px, 5vw, 72px) clamp(64px, 8vw, 110px);
  background: #fffdf7;
  border-top: 1px solid rgba(24, 33, 47, 0.10);
}

.insight-section {
  background:
    linear-gradient(90deg, rgba(0, 140, 123, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 23, 25, 0.032) 1px, transparent 1px),
    #edf4ee;
  background-size: 48px 48px;
}

.opportunity-section {
  background: #fffdf7;
}

.segment-section {
  background: var(--charcoal);
  color: #f8f5ef;
}

.segment-section .eyebrow {
  color: #9ed7cf;
}

.segment-section .section-heading h2 {
  color: #f8f5ef;
}

.segment-section .section-number {
  border-color: rgba(200, 255, 82, 0.30);
  color: var(--lime);
  background: rgba(248, 245, 239, 0.08);
}

.segment-section .section-insight {
  color: rgba(248, 245, 239, 0.92);
}

.segment-section .section-copy p:not(.section-insight) {
  color: rgba(248, 245, 239, 0.70);
}

.action-section {
  background:
    linear-gradient(90deg, rgba(79, 109, 245, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 23, 25, 0.032) 1px, transparent 1px),
    #eef0f8;
  background-size: 48px 48px;
}

.final-section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background: #fffdf7;
  border-top: 1px solid rgba(24, 33, 47, 0.10);
}

.final-grid {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.final-grid h2 {
  margin: 16px 0 0;
  color: var(--charcoal);
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.final-lead {
  margin: 18px 0 0;
  color: var(--teal);
  font-size: clamp(1.6rem, 3.4vw, 3.2rem);
  font-weight: 840;
  line-height: 0.98;
}

.final-content {
  display: grid;
  gap: 28px;
}

.final-thesis {
  padding: 22px 0 26px;
  border-top: 1px solid rgba(24, 33, 47, 0.14);
  border-bottom: 1px solid rgba(24, 33, 47, 0.14);
}

.final-thesis p {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(1.28rem, 2.5vw, 2rem);
  font-weight: 720;
  line-height: 1.22;
}

.final-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.final-insight-grid article {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(248, 246, 237, 0.96)),
    #fffdf7;
  box-shadow: 0 18px 48px rgba(20, 23, 25, 0.08);
}

.final-insight-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 140, 123, 0.55), transparent 62%);
}

.final-insight-grid span {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.final-insight-grid h3 {
  margin: 34px 0 0;
  color: var(--charcoal);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.08;
}

.final-insight-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.final-action {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  border: 1px solid rgba(200, 95, 74, 0.20);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 225, 217, 0.92), rgba(255, 253, 247, 0.96)),
    var(--coral-soft);
  box-shadow: 0 18px 42px rgba(200, 95, 74, 0.12);
}

.final-action::before {
  content: "STRATEGIC MOVE";
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(143, 63, 49, 0.10);
  color: #8f3f31;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.final-action span {
  color: #8f3f31;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  display: none;
}

.final-action p {
  margin: 8px 0 0;
  color: var(--charcoal);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 680;
  line-height: 1.38;
}

.final-points {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: final-point;
  display: grid;
  gap: 12px;
}

.final-points li {
  counter-increment: final-point;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  color: #3d4755;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.45;
}

.final-points li::before {
  content: counter(final-point, decimal-leading-zero);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.8;
}

blockquote {
  position: relative;
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(248, 245, 239, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 140, 123, 0.18), transparent 42%),
    var(--charcoal);
  color: #f8f5ef;
  box-shadow: var(--shadow);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 2.05rem);
  font-weight: 400;
  line-height: 1.18;
}

blockquote::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 46px;
  height: 1px;
  background: rgba(200, 255, 82, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal .matrix-point,
  .reveal .segment-point,
  .reveal .occasion-node,
  .reveal .diverging-row {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .reveal .kpi-bar span,
  .reveal .multiple-track span,
  .reveal .bar-fill,
  .reveal .ranking-meter span {
    transform: scaleX(1);
  }
}

.section-heading {
  width: min(1220px, 100%);
  margin: 0 auto clamp(26px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1.18fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: start;
}

.section-marker {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 10px;
  padding-top: 8px;
}

.section-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 140, 123, 0.28);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(255, 253, 247, 0.72);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
}

.section-copy {
  max-width: 860px;
}

.section-heading h2 {
  margin: 0;
  color: var(--charcoal);
  scroll-margin-top: 32px;
  font-size: clamp(2.15rem, 4.8vw, 4.95rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-insight {
  max-width: 760px;
  margin: clamp(14px, 2.4vw, 24px) 0 0;
  color: var(--charcoal);
  font-size: clamp(1.08rem, 1.75vw, 1.46rem);
  font-weight: 660;
  line-height: 1.28;
}

.section-copy p:not(.section-insight) {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.analysis-layout {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.wellbeing-layout {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.opportunity-layout {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
}

.segment-layout {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.segment-strategy-layout {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 18px;
}

.segment-matrix-card,
.territory-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(248, 245, 239, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(248, 245, 239, 0.09), rgba(248, 245, 239, 0.045)),
    rgba(248, 245, 239, 0.055);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.20);
}

.segment-matrix-card::before,
.territory-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 255, 82, 0.42), transparent 62%);
}

.segment-matrix-card .card-heading h3,
.territory-panel .card-heading h3 {
  color: #f8f5ef;
}

.segment-matrix-card .chart-label,
.territory-panel .chart-label {
  color: var(--lime);
}

.segment-matrix {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(248, 245, 239, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(248, 245, 239, 0.24) calc(50% - 1px), rgba(248, 245, 239, 0.24) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), rgba(248, 245, 239, 0.24) calc(50% - 1px), rgba(248, 245, 239, 0.24) calc(50% + 1px), transparent calc(50% + 1px)),
    rgba(20, 23, 25, 0.36);
  overflow: hidden;
}

.segment-axis,
.segment-quadrant {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.segment-axis {
  color: rgba(248, 245, 239, 0.62);
}

.segment-axis.x-low {
  left: 18px;
  bottom: 14px;
}

.segment-axis.x-high {
  right: 18px;
  bottom: 14px;
}

.segment-axis.y-high {
  left: 16px;
  top: 132px;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.segment-axis.y-low {
  left: 16px;
  bottom: 74px;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.segment-quadrant {
  color: rgba(200, 255, 82, 0.46);
}

.segment-quadrant.q-core {
  top: 18px;
  right: 18px;
}

.segment-quadrant.q-volume {
  right: 18px;
  bottom: 42px;
}

.segment-quadrant.q-niche {
  top: 18px;
  left: 54px;
}

.segment-quadrant.q-low {
  left: 54px;
  bottom: 42px;
}

.segment-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: min(198px, 35%);
  transform: translate(-50%, -50%);
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--point-color) 44%, transparent);
  border-radius: 8px;
  background: rgba(248, 245, 239, 0.09);
  backdrop-filter: blur(14px);
}

.segment-point::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 14px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--point-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--point-color) 18%, transparent);
}

.segment-point span {
  color: color-mix(in srgb, var(--point-color) 74%, white);
  font-size: 0.72rem;
  font-weight: 860;
}

.segment-point h4 {
  margin: 8px 0 0;
  color: #f8f5ef;
  font-size: 1rem;
  line-height: 1.12;
}

.segment-point p {
  margin: 8px 0 0;
  color: rgba(248, 245, 239, 0.66);
  font-size: 0.78rem;
  line-height: 1.34;
}

.matrix-method-note {
  margin: 14px 0 0;
  color: rgba(248, 245, 239, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.territory-cards {
  display: grid;
  gap: 12px;
}

.territory-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--territory-color) 28%, rgba(248, 245, 239, 0.16));
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--territory-color) 10%, rgba(248, 245, 239, 0.06)), rgba(248, 245, 239, 0.045)),
    rgba(248, 245, 239, 0.07);
}

.territory-card::before {
  content: "";
  position: absolute;
  inset: 12px 12px auto auto;
  width: 32px;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--territory-color) 26%, transparent);
  border-radius: 999px;
}

.territory-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(248, 245, 239, 0.54);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.territory-topline span:first-child {
  color: var(--territory-color);
}

.territory-card h4 {
  margin: 10px 0 0;
  color: #f8f5ef;
  font-size: 1.12rem;
  line-height: 1.12;
}

.territory-data {
  margin: 8px 0 0;
  color: color-mix(in srgb, var(--territory-color) 78%, white);
  font-size: 0.9rem;
  font-weight: 820;
  line-height: 1.35;
}

.territory-why {
  margin: 8px 0 0;
  color: rgba(248, 245, 239, 0.70);
  font-size: 0.86rem;
  line-height: 1.42;
}

.territory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.territory-actions span {
  padding: 6px 8px;
  border: 1px solid rgba(248, 245, 239, 0.14);
  border-radius: 999px;
  color: rgba(248, 245, 239, 0.78);
  font-size: 0.72rem;
  font-weight: 760;
}

.action-layout {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 18px;
}

.strategic-playbook {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.playbook-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 58px minmax(220px, 0.8fr) minmax(190px, 0.5fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(248, 246, 237, 0.94)),
    rgba(255, 253, 247, 0.88);
  box-shadow: 0 18px 54px rgba(20, 23, 25, 0.09);
}

.playbook-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(20, 23, 25, 0.32), transparent 55%);
}

.playbook-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(20, 23, 25, 0.18);
}

.playbook-main h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.playbook-message {
  margin: 10px 0 0;
  color: #3d4755;
  font-size: 0.95rem;
  line-height: 1.46;
}

.playbook-evidence,
.playbook-actions {
  display: grid;
  gap: 8px;
}

.playbook-evidence p,
.playbook-actions p {
  margin: 0;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.playbook-evidence span {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 140, 123, 0.12);
  background: rgba(237, 244, 238, 0.72);
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 790;
  line-height: 1.25;
}

.playbook-actions ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.playbook-actions li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

.playbook-actions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--charcoal);
}

.kpi-card,
.chart-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(249, 248, 241, 0.96)),
    var(--surface);
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  box-shadow: 0 24px 74px rgba(20, 23, 25, 0.11);
}

.kpi-card::before,
.chart-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(20, 23, 25, 0.20), transparent 68%);
}

.kpi-card {
  padding: clamp(20px, 3vw, 30px);
}

.chart-card {
  padding: clamp(20px, 3vw, 30px);
  min-width: 0;
}

.youth-card {
  background: var(--charcoal);
  color: #f8f5ef;
  border-color: rgba(200, 255, 82, 0.22);
}

.youth-card .chart-label {
  color: #9ed7cf;
}

.youth-card .card-heading h3 {
  color: #f8f5ef;
}

.card-heading {
  margin-bottom: 22px;
}

.card-heading h3 {
  margin: 8px 0 0;
  color: var(--charcoal);
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.card-subtitle {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.chart-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.legend {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.legend-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 999px;
}

.year-start {
  background: var(--blue);
}

.year-end {
  background: var(--coral);
}

.kpi-strip {
  display: grid;
  gap: 14px;
}

.kpi-item {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, rgba(24, 33, 47, 0.08));
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 8%, #fffdf7), #fcfbf8 56%),
    #fcfbf8;
  box-shadow: 0 14px 34px rgba(20, 23, 25, 0.06);
}

.kpi-item::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 999px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
}

.kpi-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.kpi-topline span:first-child {
  color: var(--charcoal);
  font-weight: 820;
}

.kpi-topline span:last-child {
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 9%, #fffdf7);
  color: color-mix(in srgb, var(--accent) 72%, #141719);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.kpi-values {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--charcoal);
}

.kpi-values strong {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

.kpi-values span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.kpi-change {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.kpi-bar {
  margin-top: 16px;
  height: 8px;
  background: rgba(20, 23, 25, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.kpi-bar span {
  display: block;
  height: 100%;
  width: var(--bar);
  background: var(--accent);
  border-radius: inherit;
}

.slope-chart {
  min-height: 410px;
}

.slope-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.axis-label,
.row-label,
.value-label,
.year-label {
  font-family: var(--font-sans);
}

.axis-label {
  fill: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.row-label {
  fill: var(--charcoal);
  font-size: 14px;
  font-weight: 780;
}

.value-label {
  fill: var(--charcoal);
  font-size: 13px;
  font-weight: 760;
}

.delta-label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.slope-highlight .row-label {
  fill: #8f3f31;
}

.slope-highlight .delta-label {
  fill: #8f3f31;
  font-weight: 850;
}

.slope-muted .row-label {
  fill: #4f5d66;
}

.summary-kicker,
.summary-value,
.summary-text {
  font-family: var(--font-sans);
}

.summary-kicker {
  fill: #8f3f31;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.summary-value {
  fill: var(--charcoal);
  font-size: 20px;
  font-weight: 860;
}

.summary-text {
  fill: #8f3f31;
  font-size: 14px;
  font-weight: 850;
}

.adult-note {
  fill: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 780;
}

.year-label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.chart-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.status-pill {
  padding: 7px 10px;
  border: 1px solid rgba(24, 33, 47, 0.14);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.diverging-chart {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.diverging-row {
  display: grid;
  grid-template-columns: minmax(118px, 0.48fr) minmax(0, 1fr) 64px;
  gap: 14px;
  align-items: center;
}

.diverging-label {
  color: rgba(248, 245, 239, 0.80);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.25;
}

.diverging-track {
  position: relative;
  height: 38px;
}

.diverging-track::before {
  content: "";
  position: absolute;
  inset: 0;
  top: 18px;
  height: 1px;
  background: rgba(248, 245, 239, 0.22);
}

.diverging-track::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  background: rgba(248, 245, 239, 0.32);
}

.diverging-bar {
  position: absolute;
  top: 9px;
  height: 20px;
  border-radius: 999px;
  background: var(--bar-color);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

.diverging-value {
  color: #f8f5ef;
  font-size: 0.96rem;
  font-weight: 800;
  text-align: right;
}

.diverging-axis {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  color: rgba(248, 245, 239, 0.56);
  font-size: 0.78rem;
  font-weight: 740;
}

.diverging-axis span:nth-child(2) {
  color: rgba(248, 245, 239, 0.78);
}

.age-multiples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.multiple-panel {
  min-height: 270px;
  padding: 16px;
  border: 1px solid rgba(24, 33, 47, 0.10);
  border-radius: 8px;
  background: #fcfbf8;
}

.multiple-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  color: var(--charcoal);
  font-size: 0.94rem;
  font-weight: 800;
}

.multiple-title span:last-child {
  color: var(--teal);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.multiple-message {
  min-height: 58px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.multiple-bars {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.multiple-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.62fr) minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  min-height: 22px;
}

.multiple-row.is-highlighted {
  padding: 4px 6px;
  margin-inline: -6px;
  border-radius: 6px;
  background: rgba(0, 140, 123, 0.09);
}

.multiple-row.is-reference .multiple-row-label,
.multiple-row.is-reference .multiple-value {
  color: var(--muted);
  font-weight: 820;
}

.multiple-row.is-note .multiple-row-label,
.multiple-row.is-note .multiple-value {
  color: #8f3f31;
}

.multiple-row-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 740;
  line-height: 1.2;
}

.multiple-track {
  height: 8px;
  border-radius: 999px;
  background: #e6e8e8;
  overflow: hidden;
}

.multiple-track span {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: var(--indicator-color);
}

.multiple-row.is-reference .multiple-track span {
  opacity: 0.55;
}

.multiple-value {
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.multiple-placeholder {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.pending-line {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      #d8dde2 0 10px,
      transparent 10px 16px
    );
}

.integrated-reading {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(24, 33, 47, 0.10);
}

.integrated-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.integrated-heading h4 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.18;
}

.reading-table {
  display: grid;
  border: 1px solid rgba(24, 33, 47, 0.10);
  border-radius: 8px;
  overflow: hidden;
}

.reading-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 14px;
  background: #fcfbf8;
  border-bottom: 1px solid rgba(24, 33, 47, 0.08);
}

.reading-row:last-child {
  border-bottom: 0;
}

.reading-group {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
}

.reading-copy {
  color: #3d4755;
  font-size: 0.88rem;
  line-height: 1.42;
}

.horizontal-bars {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.bar-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 58px;
  gap: 14px;
  align-items: center;
}

.bar-label {
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 800;
}

.bar-track {
  position: relative;
  height: 26px;
  border-radius: 999px;
  background: #e8eceb;
  overflow: hidden;
}

.bar-fill {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: var(--bar-color);
}

.bar-value {
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 820;
  text-align: right;
}

.bar-row.is-highlighted .bar-label,
.bar-row.is-highlighted .bar-value {
  color: #8f3f31;
}

.bar-caption {
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(200, 95, 74, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 225, 217, 0.82), rgba(255, 253, 247, 0.92)),
    var(--coral-soft);
  color: #6d392f;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.45;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ranking-panel {
  position: relative;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--rank-color) 18%, rgba(24, 33, 47, 0.08));
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--rank-color) 7%, #fffdf7), #fcfbf8 54%),
    #fcfbf8;
  box-shadow: 0 14px 34px rgba(20, 23, 25, 0.06);
  overflow: hidden;
}

.ranking-panel::before {
  content: none;
}

.ranking-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 16px;
}

.ranking-panel-head h4 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--charcoal);
  font-size: 1rem;
  font-weight: 820;
}

.ranking-panel-head h4::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--rank-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--rank-color) 14%, transparent);
}

.ranking-panel-head span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.ranking-rows {
  display: grid;
  gap: 13px;
}

.ranking-row {
  display: grid;
  gap: 6px;
}

.ranking-row-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.ranking-name {
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 820;
}

.ranking-value {
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
}

.ranking-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #e8eceb;
  overflow: hidden;
}

.ranking-fill {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: var(--rank-color);
}

.average-line {
  position: absolute;
  z-index: 1;
  left: var(--average);
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--charcoal);
  opacity: 0.48;
}

.ranking-delta {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
}

.ranking-row.is-above .ranking-delta {
  color: var(--teal);
}

.ranking-row.is-below .ranking-delta {
  color: #8f3f31;
}

.ranking-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(24, 33, 47, 0.08);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.38;
}

/* Legacy metadata class kept harmless for older generated markup. */
.ranking-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 740;
}

.segment-card {
  position: relative;
  min-height: 230px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 20px;
  border: 1px solid rgba(248, 245, 239, 0.16);
  border-radius: 8px;
  background: rgba(248, 245, 239, 0.055);
}

.segment-card.is-core {
  grid-column: span 3;
  background: rgba(158, 215, 207, 0.12);
  border-color: rgba(158, 215, 207, 0.30);
}

.segment-card.is-niche {
  grid-column: span 6;
  min-height: 170px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
}

.segment-number {
  color: rgba(248, 245, 239, 0.46);
  font-size: 0.78rem;
  font-weight: 820;
}

.segment-card h3 {
  margin: 0;
  color: #f8f5ef;
  font-size: clamp(1.18rem, 1.9vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.segment-card p {
  margin: 12px 0 0;
  color: rgba(248, 245, 239, 0.72);
  font-size: 0.96rem;
  line-height: 1.48;
}

.segment-tag {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(158, 215, 207, 0.34);
  border-radius: 999px;
  color: #9ed7cf;
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.opportunity-matrix {
  position: relative;
  min-height: 520px;
  margin-top: 8px;
  border: 1px solid rgba(24, 33, 47, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(24, 33, 47, 0.18) calc(50% - 1px), rgba(24, 33, 47, 0.18) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), rgba(24, 33, 47, 0.18) calc(50% - 1px), rgba(24, 33, 47, 0.18) calc(50% + 1px), transparent calc(50% + 1px)),
    #fcfbf8;
  overflow: hidden;
}

.matrix-axis {
  position: absolute;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0;
}

.matrix-axis.x-left {
  left: 18px;
  bottom: 14px;
}

.matrix-axis.x-right {
  right: 18px;
  bottom: 14px;
}

.matrix-axis.y-low {
  left: 18px;
  bottom: 52px;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.matrix-axis.y-high {
  left: 18px;
  top: 128px;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.matrix-quadrant {
  position: absolute;
  color: rgba(94, 104, 119, 0.42);
  font-size: 0.75rem;
  font-weight: 820;
  text-transform: uppercase;
}

.matrix-quadrant.q1 {
  top: 18px;
  right: 20px;
}

.matrix-quadrant.q2 {
  top: 18px;
  left: 54px;
}

.matrix-quadrant.q3 {
  bottom: 42px;
  left: 54px;
}

.matrix-quadrant.q4 {
  right: 20px;
  bottom: 42px;
}

.matrix-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: min(220px, 34%);
  transform: translate(-50%, -50%);
  padding: 14px;
  border: 1px solid rgba(24, 33, 47, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(24, 33, 47, 0.10);
}

.matrix-point::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 14px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--point-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--point-color) 18%, transparent);
}

.matrix-point h4 {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.98rem;
  line-height: 1.16;
}

.matrix-point p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.occasion-map {
  display: grid;
  gap: 12px;
}

.occasion-node {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(24, 33, 47, 0.10);
  border-radius: 8px;
  background: #fcfbf8;
}

.occasion-node.is-format {
  background: #f1f8f5;
  border-color: rgba(11, 122, 117, 0.30);
}

.occasion-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--charcoal);
  color: #f8f5ef;
  font-size: 0.78rem;
  font-weight: 850;
}

.occasion-node.is-format .occasion-index {
  background: var(--teal);
}

.occasion-node h4 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.2;
}

.occasion-node p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .hero-section {
    min-height: auto;
  }

  .hero-grid,
  .section-heading,
  .final-grid,
  .analysis-layout,
  .wellbeing-layout,
  .opportunity-layout,
  .segment-strategy-layout,
  .action-layout {
    grid-template-columns: 1fr;
  }

  .segment-layout {
    grid-template-columns: 1fr;
  }

  .segment-card,
  .segment-card.is-core,
  .segment-card.is-niche {
    grid-column: auto;
  }

  .segment-card.is-niche {
    display: flex;
  }

  .playbook-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .playbook-evidence,
  .playbook-actions {
    grid-column: 2;
  }

  .opportunity-panel {
    max-width: 680px;
  }

  .section-heading {
    gap: 18px;
  }

  .section-marker {
    position: static;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 0;
  }

  .section-number {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }
}

@media (max-width: 680px) {
  .hero-section {
    padding: 34px 16px 38px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2.35rem, 13vw, 3.75rem);
    line-height: 0.94;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.52;
  }

  .opportunity-panel {
    padding: 20px;
  }

  .opportunity-panel h2 {
    font-size: clamp(1.38rem, 7vw, 1.9rem);
  }

  .opportunity-panel p:last-child {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .story-section {
    padding: 34px 16px 58px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 10.8vw, 3.35rem);
    line-height: 1;
  }

  .section-insight {
    margin-top: 12px;
    font-size: clamp(1.02rem, 4.8vw, 1.22rem);
    line-height: 1.32;
  }

  .section-copy p:not(.section-insight) {
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .eyebrow,
  .panel-kicker,
  .chart-label {
    font-size: 0.68rem;
  }

  .section-marker {
    gap: 10px;
  }

  .section-number {
    width: 38px;
    height: 38px;
    font-size: 0.82rem;
  }

  .argument-strip {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .argument-strip div {
    min-height: auto;
    padding: 14px 16px;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(24, 33, 47, 0.16);
  }

  .argument-strip div:last-child {
    border-bottom: 0;
  }

  .chart-card-heading {
    flex-direction: column;
    gap: 10px;
  }

  .age-multiples {
    grid-template-columns: 1fr;
  }

  .ranking-list {
    grid-template-columns: 1fr;
  }

  .diverging-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .diverging-value {
    text-align: left;
  }

  .bar-row {
    grid-template-columns: 64px minmax(0, 1fr) 54px;
  }

  .kpi-card,
  .chart-card,
  .segment-matrix-card,
  .territory-panel {
    padding: 18px;
  }

  .card-heading {
    margin-bottom: 18px;
  }

  .card-heading h3 {
    font-size: clamp(1.08rem, 5.8vw, 1.38rem);
    line-height: 1.16;
  }

  .card-subtitle,
  .chart-note,
  .bar-caption,
  .ranking-note,
  .matrix-method-note {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .kpi-item {
    min-height: auto;
    padding: 16px;
  }

  .kpi-values strong {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .multiple-panel {
    min-height: auto;
  }

  .multiple-message {
    min-height: auto;
    font-size: 0.8rem;
  }

  .reading-row {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .reading-copy,
  .territory-why {
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .ranking-panel {
    padding: 15px;
  }

  .ranking-panel-head {
    display: grid;
    gap: 4px;
  }

  .ranking-panel-head span {
    white-space: normal;
  }

  .final-insight-grid {
    grid-template-columns: 1fr;
  }

  .playbook-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .playbook-evidence,
  .playbook-actions {
    grid-column: auto;
  }

  .playbook-index {
    width: 38px;
    height: 38px;
  }

  .playbook-main h3 {
    font-size: clamp(1.12rem, 6vw, 1.45rem);
  }

  .playbook-message {
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .playbook-evidence span {
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .playbook-actions li {
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .territory-card {
    padding: 14px;
  }

  .territory-topline {
    display: grid;
    gap: 4px;
  }

  .territory-actions {
    gap: 6px;
  }

  .opportunity-matrix {
    min-height: 660px;
  }

  .segment-matrix {
    min-height: 680px;
  }

  .matrix-point,
  .segment-point {
    width: min(240px, 52%);
  }

  .slope-chart {
    min-height: 350px;
  }

  .final-section {
    padding: 58px 16px;
  }

  .final-grid h2 {
    font-size: clamp(2rem, 10.6vw, 3.25rem);
    line-height: 1;
  }

  .final-lead {
    font-size: clamp(1.35rem, 7.2vw, 2rem);
    line-height: 1.04;
  }

  .final-thesis p {
    font-size: clamp(1.08rem, 5.4vw, 1.42rem);
    line-height: 1.25;
  }

  .final-content {
    gap: 18px;
  }

  .final-insight-grid article {
    min-height: auto;
    padding: 16px;
  }

  .final-insight-grid h3 {
    margin-top: 18px;
    font-size: 1.08rem;
  }

  .final-action {
    padding: 16px;
  }

  .final-action p {
    font-size: 0.98rem;
    line-height: 1.34;
  }

  blockquote {
    padding: 22px 18px;
    font-size: clamp(1.08rem, 5.4vw, 1.38rem);
    line-height: 1.26;
  }
}

/* Embedded in Marksyte's study-case section: render content immediately inside iframe. */
.reveal,
.reveal .matrix-point,
.reveal .segment-point,
.reveal .occasion-node,
.reveal .diverging-row {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal .kpi-bar span,
.reveal .multiple-track span,
.reveal .bar-fill,
.reveal .ranking-meter span {
  transform: scaleX(1);
}
