:root {
  --bg: #f5f2ec;
  --ink: #181713;
  --muted: #6a645b;
  --line: #d7d0c4;
  --panel: #fffaf1;
  --accent: #bb4e2d;
  --accent-2: #236d70;
  --accent-3: #7a5c0f;
  --shadow: 0 18px 60px rgba(44, 39, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.progress {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(24, 23, 19, 0.08);
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}

main {
  scroll-snap-type: y mandatory;
}

.slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: 44px;
  align-items: center;
  min-height: 100vh;
  padding: 72px 7vw 56px 9vw;
  border-bottom: 1px solid rgba(24, 23, 19, 0.08);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(24, 23, 19, 0.08);
  pointer-events: none;
}

.title-slide,
.slide:has(.wide) {
  grid-template-columns: 1fr;
}

.slide-copy {
  max-width: 680px;
}

.slide-copy.wide {
  max-width: 1040px;
}

.slide-copy.compact {
  max-width: 500px;
}

.eyebrow {
  display: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--h1-size, 76px);
  font-weight: 500;
  line-height: 0.93;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--h2-size, 48px);
  font-weight: 500;
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lead {
  max-width: 900px;
  color: #3a362f;
  font-size: var(--lead-size, 23px);
  line-height: 1.35;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.three-up > div,
.outcome-block,
.table-panel {
  background: rgba(255, 250, 241, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.three-up > div {
  padding: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.three-up strong,
.outcome-block strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.three-up.numbered span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--panel);
  font-size: 13px;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.metric-row div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.metric-row span {
  display: block;
  color: var(--ink);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.metric-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-data-slide {
  grid-template-columns: minmax(320px, 0.36fr) minmax(720px, 1.64fr);
  align-content: start;
  align-items: start;
  gap: 14px 46px;
  padding: 46px 6vw 34px 8vw;
}

.brand-data-copy {
  display: grid;
  gap: 22px;
  max-width: 560px;
}

.brand-data-slide > h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
  white-space: normal;
  font-size: var(--h2-large-size, 54px);
  line-height: 0.9;
}

.brand-data-copy p {
  max-width: 560px;
  font-size: var(--body-size, 17px);
  line-height: 1.42;
  margin-bottom: 0;
}

.brand-data-copy .metric-row {
  margin-top: 0;
}

.outcome-stack {
  display: grid;
  gap: 16px;
}

.outcome-block {
  padding: 24px;
}

.outcome-block span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.plain-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  margin-bottom: 10px;
  padding-left: 18px;
  border-left: 3px solid var(--accent-2);
}

.note {
  margin-top: 22px;
  font-weight: 700;
}

.matrix-slide {
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start;
  gap: 18px;
  padding-top: 56px;
  padding-bottom: 34px;
}

.matrix-header {
  display: grid;
  gap: 8px;
  align-items: start;
  max-width: none;
}

.matrix-header .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.matrix-header h2 {
  margin-bottom: 4px;
  white-space: normal;
  font-size: var(--h2-large-size, 54px);
}

.matrix-header p:not(.eyebrow) {
  max-width: 900px;
  margin-bottom: 0;
}

.matrix-stage {
  position: relative;
  min-height: min(68vh, 700px);
}

#panelMatrix {
  display: block;
  width: 100%;
  height: min(66vh, 680px);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: fill;
  cursor: crosshair;
}

.chart-slide {
  grid-template-columns: 330px minmax(620px, 1fr);
}

.static-morph-slide {
  position: relative;
  min-height: 300vh;
  border-bottom: 1px solid rgba(24, 23, 19, 0.08);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.static-morph-slide.with-summary {
  min-height: 400vh;
}

.static-morph-slide.two-step {
  min-height: 200vh;
}

.morph-snap-point {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  pointer-events: none;
}

.morph-snap-awareness {
  top: 0;
}

.morph-snap-consideration {
  top: 100vh;
}

.morph-snap-preference {
  top: 200vh;
}

.morph-snap-lines {
  top: 300vh;
}

.static-morph-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.36fr) minmax(760px, 1.64fr);
  gap: 34px;
  align-items: start;
  min-height: 100vh;
  padding: 58px 7vw 42px 9vw;
}

.static-morph-sticky::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(24, 23, 19, 0.08);
  pointer-events: none;
}

.static-morph-copy {
  position: relative;
  z-index: 1;
}

.static-morph-copy h2 {
  white-space: normal;
  font-size: var(--h2-large-size, 54px);
}

.static-morph-copy p:not(.eyebrow) {
  max-width: 430px;
}

.static-morph-chart {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 110px);
}

.static-morph-chart svg {
  min-height: calc(100vh - 120px);
}

.event-study-morph .static-morph-sticky {
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding: 48px 6vw 34px;
}

.event-study-morph .static-morph-copy {
  max-width: none;
}

.event-study-morph .static-morph-copy h2 {
  margin-bottom: 8px;
  white-space: normal;
  font-size: var(--h2-large-size, 54px);
}

.event-study-morph .static-morph-copy p:not(.eyebrow) {
  max-width: 980px;
  margin-bottom: 0;
}

.event-study-morph .static-morph-chart,
.event-study-morph .static-morph-chart svg {
  min-height: calc(100vh - 220px);
}

@media (max-width: 1380px) {
  .static-morph-sticky {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 56px 6vw 34px;
  }

  .static-morph-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
    column-gap: 34px;
    row-gap: 8px;
    align-items: end;
  }

  .event-study-morph .static-morph-copy {
    display: block;
  }

  .event-study-morph .static-morph-copy h2 {
    margin-bottom: 8px;
  }

  .static-morph-copy .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .static-morph-copy h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
    font-size: var(--h2-large-size, 54px);
    line-height: 0.92;
  }

  .static-morph-copy p:not(.eyebrow) {
    grid-column: 1 / -1;
    max-width: 820px;
    margin-bottom: 4px;
  }

  .static-morph-chart {
    min-height: min(62vh, 650px);
  }

  .static-morph-chart svg {
    min-height: min(61vh, 640px);
  }
}

.static-single-slide {
  grid-template-columns: minmax(420px, 0.42fr) minmax(760px, 1.58fr);
  align-items: start;
  padding-top: 58px;
}

.static-single-slide .chart-copy {
  padding-top: 0;
}

.static-single-slide .chart-copy h2 {
  max-width: none;
  white-space: normal;
  font-size: var(--h2-compact-size, 40px);
}

.static-single-slide .chart-copy p:not(.eyebrow) {
  max-width: 420px;
}

.static-single-slide .chart-wrap {
  min-height: min(78vh, 760px);
}

.static-single-slide svg {
  min-height: min(76vh, 730px);
}

.static-results-slide {
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start;
  gap: 18px;
  padding-top: 56px;
  padding-bottom: 34px;
}

.static-results-slide .slide-copy.compact {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: end;
  max-width: none;
}

.static-results-slide .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.static-results-slide h2 {
  margin-bottom: 0;
  font-size: var(--h2-size, 48px);
  line-height: 0.98;
}

.static-results-slide p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 6px;
}

.mini-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.mini-chart-grid > div {
  min-height: min(58vh, 560px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: var(--shadow);
}

.mini-chart-grid h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.mini-chart-grid svg {
  min-height: min(51vh, 500px);
  height: min(51vh, 500px);
}

.chart-copy {
  align-self: start;
  padding-top: 26px;
}

.chart-copy h2 {
  font-size: var(--h2-compact-size, 40px);
}

.chart-wrap {
  min-height: 620px;
}

.brand-data-chart {
  min-height: min(66vh, 690px);
}

.brand-data-chart svg {
  min-height: min(65vh, 680px);
}

.brand-data-chart .axis text {
  font-size: 14px;
}

.brand-data-chart .chart-title {
  font-size: 18px;
}

.brand-data-chart .chart-label {
  font-size: 14px;
}

.google-trends-slide {
  grid-template-columns: minmax(320px, 0.36fr) minmax(720px, 1.64fr);
  align-content: start;
  align-items: start;
  gap: 14px 46px;
  padding: 46px 6vw 34px 8vw;
}

.google-trends-slide > h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
  white-space: normal;
  font-size: var(--h2-large-size, 54px);
  line-height: 0.9;
}

.google-trends-slide p {
  max-width: 560px;
  font-size: var(--body-size, 17px);
  line-height: 1.42;
}

.google-trends-chart {
  min-height: min(66vh, 690px);
}

.google-trends-chart svg {
  min-height: min(65vh, 680px);
}

@media (max-width: 1280px) {
  .brand-data-slide,
  .google-trends-slide {
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    gap: 18px;
    padding-top: 54px;
  }

  .brand-data-slide > h2,
  .google-trends-slide > h2 {
    margin-bottom: 8px;
    white-space: normal;
    font-size: var(--h2-large-size, 54px);
  }

  .brand-data-copy,
  .brand-data-copy p,
  .google-trends-slide p {
    max-width: 960px;
  }

  .brand-data-chart,
  .brand-data-chart svg,
  .google-trends-chart,
  .google-trends-chart svg {
    min-height: min(58vh, 620px);
  }
}

.event-study-slide {
  grid-template-columns: minmax(420px, 0.42fr) minmax(760px, 1.58fr);
  align-content: center;
  align-items: center;
  gap: 42px;
  padding-top: 72px;
}

.event-study-copy {
  max-width: 620px;
  padding-top: 0;
}

.event-study-copy h2 {
  margin-bottom: 20px;
  white-space: normal;
  font-size: var(--h2-large-size, 54px);
  line-height: 0.96;
}

.event-study-copy p:not(.eyebrow) {
  max-width: 500px;
}

.event-study-wrap {
  min-height: min(74vh, 740px);
}

.event-study-wrap svg {
  min-height: min(74vh, 740px);
}

svg {
  display: block;
  width: 100%;
  min-height: 560px;
  overflow: visible;
}

.axis path,
.axis line,
.grid line {
  stroke: rgba(24, 23, 19, 0.16);
}

.axis text {
  fill: var(--muted);
  font-size: 12px;
}

.chart-title {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

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

.method-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.method-strip div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.method-strip strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.method-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.static-method-slide {
  align-content: center;
}

.static-method-slide .slide-copy {
  max-width: 1180px;
}

.static-method-slide h2 {
  margin-bottom: 26px;
}

.method-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.method-card-row div {
  min-height: 150px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.66);
  color: var(--muted);
  font-size: var(--card-text-size, 16px);
  line-height: 1.45;
}

.method-card-row span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.math-panel {
  display: grid;
  gap: 14px;
  justify-items: stretch;
  max-width: 1080px;
  margin: 0 auto 24px;
  padding: 32px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: var(--shadow);
}

.equation {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) auto minmax(430px, 1.4fr);
  gap: 18px;
  align-items: baseline;
  justify-content: center;
  color: var(--ink);
  font-family: "Times New Roman", Cambria, Georgia, serif;
  font-style: italic;
  font-size: 30px;
  line-height: 1.2;
}

.equation .lhs {
  text-align: right;
}

.equation .equals {
  font-weight: 600;
}

.equation var {
  font-family: inherit;
  font-style: normal;
}

.equation sub {
  font-size: 0.58em;
}

.event-math-panel .equation {
  grid-template-columns: minmax(90px, 0.34fr) auto minmax(0, 2.66fr);
  font-size: 24px;
}

.beta-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 20px;
  border-left: 4px solid var(--ink);
  background: rgba(255, 250, 241, 0.58);
}

.beta-callout span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.beta-callout p {
  margin: 0;
  color: var(--muted);
  font-size: var(--body-size, 17px);
  line-height: 1.35;
}

.table-panel {
  max-height: 640px;
  overflow: auto;
  padding: 0 12px 12px;
  background: var(--panel);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

thead {
  position: sticky;
  z-index: 4;
  top: 0;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(24, 23, 19, 0.1);
}

th,
td {
  border-bottom: 1px solid rgba(24, 23, 19, 0.1);
  padding: 10px 9px;
  text-align: left;
  vertical-align: top;
}

th {
  position: relative;
  z-index: 5;
  background: var(--panel);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.result-grid div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.result-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
}

.result-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.takeaway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.takeaway-grid > div {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.68);
  box-shadow: var(--shadow);
}

.takeaway-grid h3 {
  margin-bottom: 18px;
  font-size: var(--h3-size, 24px);
}

.takeaway-grid ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.takeaway-grid li {
  font-size: var(--body-size, 17px);
  line-height: 1.42;
}

.takeaway-grid strong {
  color: var(--ink);
}

.caveat-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.caveat-list li {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.caveat-list strong {
  color: var(--ink);
}

.tooltip {
  position: fixed;
  z-index: 30;
  max-width: 300px;
  pointer-events: none;
  opacity: 0;
  transform: none;
  border: 1px solid rgba(24, 23, 19, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.96);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
}

.tooltip strong {
  display: block;
  margin-bottom: 4px;
}

.tooltip-section {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .slide,
  .chart-slide,
  .event-study-slide,
  .static-results-slide,
  .matrix-slide {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 66px 24px 44px;
  }

  .slide::before {
    inset: 10px;
  }

  .three-up,
  .metric-row,
  .method-strip,
  .method-card-row,
  .result-grid,
  .takeaway-grid,
  .mini-chart-grid {
    grid-template-columns: 1fr;
  }

  .method-card-row div {
    min-height: auto;
  }

  .math-panel {
    padding: 22px 18px;
  }

  .equation {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
    font-size: 20px;
  }

  .equation .lhs {
    text-align: center;
  }

  .beta-callout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .chart-wrap,
  .matrix-stage {
    min-height: auto;
  }

  .static-morph-sticky {
    padding: 56px 24px 34px;
  }

  .static-morph-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .static-morph-copy h2 {
    font-size: var(--h2-large-size, 36px);
    white-space: normal;
  }

  .static-morph-copy p:not(.eyebrow) {
    max-width: 760px;
  }

  .static-morph-chart,
  .static-morph-chart svg {
    min-height: min(58vh, 560px);
  }

  svg {
    min-height: 460px;
  }
}

/* Layout consistency pass: keep slide typography and chart proportions stable. */
:root {
  --slide-pad-top: 54px;
  --slide-pad-right: 6vw;
  --slide-pad-bottom: 42px;
  --slide-pad-left: 7vw;
  --slide-gap: 34px;
  --h1-size: 76px;
  --h2-size: 48px;
  --h2-large-size: 54px;
  --h2-compact-size: 40px;
  --h3-size: 24px;
  --lead-size: 23px;
  --body-size: 17px;
  --card-text-size: 16px;
  --chart-min-height: 500px;
  --large-chart-min-height: 520px;
}

body {
  overflow-x: hidden;
}

.slide {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: var(--slide-gap);
  min-height: 100vh;
  padding: var(--slide-pad-top) var(--slide-pad-right) var(--slide-pad-bottom) var(--slide-pad-left);
}

.slide-copy,
.chart-copy,
.static-morph-copy,
.chart-wrap,
.table-panel,
.math-panel {
  min-width: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
}

h1 {
  margin-bottom: 18px;
  font-size: var(--h1-size);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: var(--h2-size);
  line-height: 1.04;
}

h3 {
  font-size: var(--h3-size);
  line-height: 1.12;
}

.lead {
  font-size: var(--lead-size);
  line-height: 1.35;
}

p,
li,
.brand-data-copy p,
.google-trends-slide p {
  font-size: var(--body-size);
}

.three-up {
  gap: 16px;
  margin-top: 30px;
}

.three-up > div {
  padding: 18px;
}

.metric-row span {
  font-size: 56px;
}

.metric-row small,
.method-strip span,
th {
  letter-spacing: 0;
}

svg {
  min-height: var(--chart-min-height);
}

.chart-wrap {
  min-height: var(--chart-min-height);
}

.brand-data-slide,
.google-trends-slide {
  gap: 14px 38px;
  padding-top: 42px;
  padding-bottom: 30px;
}

.brand-data-slide > h2,
.google-trends-slide > h2,
.matrix-header h2,
.static-morph-copy h2,
.event-study-morph .static-morph-copy h2,
.static-single-slide .chart-copy h2,
.event-study-copy h2 {
  white-space: normal;
}

.brand-data-slide > h2,
.google-trends-slide > h2,
.matrix-header h2,
.static-morph-copy h2 {
  font-size: var(--h2-large-size);
  line-height: 1.02;
}

.brand-data-chart,
.brand-data-chart svg,
.google-trends-chart,
.google-trends-chart svg {
  min-height: var(--large-chart-min-height);
}

@media (min-width: 1120px) {
  .brand-data-slide,
  .google-trends-slide {
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1.62fr);
    align-content: start;
    align-items: start;
  }
}

.matrix-slide {
  gap: 14px;
  padding-top: 44px;
  padding-bottom: 30px;
}

.matrix-stage {
  min-height: min(60vh, 560px);
}

#panelMatrix {
  height: min(60vh, 560px);
}

.static-method-slide h2 {
  margin-bottom: 22px;
}

.method-card-row {
  gap: 12px;
  margin-bottom: 22px;
}

.method-card-row div {
  min-height: 126px;
  padding: 16px 18px;
  font-size: var(--card-text-size);
  line-height: 1.4;
}

.math-panel {
  gap: 12px;
  margin-bottom: 20px;
  padding: 26px 34px;
}

.equation {
  display: flex;
  justify-content: center;
  text-align: center;
  grid-template-columns: none;
  gap: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-size: 30px;
  line-height: 1.24;
}

.equation math {
  max-width: 100%;
  font-size: 1em;
  overflow: visible;
}

.share-equation {
  margin-top: 7px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.event-math-panel .equation {
  grid-template-columns: none;
  font-size: 27px;
}

.beta-callout {
  padding: 14px 18px;
}

.beta-callout p {
  font-size: var(--body-size);
}

.table-panel {
  max-height: min(62vh, 540px);
}

.chart-copy h2 {
  font-size: var(--h2-compact-size);
  line-height: 1.06;
}

.static-morph-sticky {
  gap: 24px;
  padding: 48px var(--slide-pad-right) 34px var(--slide-pad-left);
}

.static-morph-chart,
.static-morph-chart svg {
  min-height: min(58vh, 520px);
}

.event-study-morph .static-morph-copy h2 {
  font-size: var(--h2-large-size);
  line-height: 1.02;
}

.event-study-morph .static-morph-chart,
.event-study-morph .static-morph-chart svg {
  min-height: min(54vh, 470px);
}

.takeaway-grid {
  gap: 18px;
  margin-top: 26px;
}

.takeaway-grid > div {
  padding: 22px 24px;
}

.takeaway-grid h3 {
  font-size: var(--h3-size);
}

.takeaway-grid li {
  font-size: var(--body-size);
}

@media (max-width: 1280px) {
  :root {
    --slide-pad-top: 48px;
    --slide-pad-bottom: 34px;
    --h1-size: 64px;
    --h2-size: 42px;
    --h2-large-size: 48px;
    --h2-compact-size: 36px;
    --lead-size: 21px;
    --chart-min-height: 460px;
    --large-chart-min-height: 480px;
  }
}

@media (max-width: 960px) {
  :root {
    --slide-pad-top: 46px;
    --slide-pad-right: 24px;
    --slide-pad-bottom: 30px;
    --slide-pad-left: 24px;
    --slide-gap: 20px;
    --h1-size: 44px;
    --h2-size: 32px;
    --h2-large-size: 36px;
    --h2-compact-size: 30px;
    --h3-size: 21px;
    --lead-size: 18px;
    --body-size: 15px;
    --card-text-size: 14px;
    --chart-min-height: 360px;
    --large-chart-min-height: 340px;
  }

  .slide,
  .chart-slide,
  .event-study-slide,
  .static-results-slide,
  .matrix-slide {
    grid-template-columns: 1fr;
    gap: var(--slide-gap);
    padding: var(--slide-pad-top) var(--slide-pad-right) var(--slide-pad-bottom) var(--slide-pad-left);
  }

  .three-up,
  .method-card-row {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .takeaway-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-row span {
    font-size: 42px;
  }

  .brand-data-slide,
  .google-trends-slide {
    gap: 12px;
  }

  .brand-data-chart,
  .brand-data-chart svg,
  .google-trends-chart,
  .google-trends-chart svg,
  .chart-wrap,
  svg {
    min-height: var(--chart-min-height);
  }

  .matrix-stage {
    min-height: 340px;
  }

  #panelMatrix {
    height: 340px;
  }

  .method-card-row div {
    min-height: 118px;
    padding: 14px;
  }

  .math-panel {
    padding: 18px;
  }

  .equation {
    grid-template-columns: minmax(108px, 0.72fr) auto minmax(0, 1.58fr);
    gap: 8px;
    text-align: left;
    font-size: 20px;
  }

  .equation .lhs {
    text-align: right;
  }

  .event-math-panel .equation {
    grid-template-columns: minmax(48px, 0.24fr) auto minmax(0, 2.76fr);
    font-size: 18px;
  }

  .beta-callout {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .static-morph-sticky {
    padding: var(--slide-pad-top) var(--slide-pad-right) var(--slide-pad-bottom) var(--slide-pad-left);
  }

  .static-morph-chart,
  .static-morph-chart svg {
    min-height: 360px;
  }

  .event-study-morph .static-morph-chart,
  .event-study-morph .static-morph-chart svg {
    min-height: 350px;
  }
}

@media (max-width: 560px) {
  :root {
    --h1-size: 38px;
    --h2-size: 29px;
    --h2-large-size: 31px;
    --h2-compact-size: 27px;
    --lead-size: 17px;
    --chart-min-height: 320px;
    --large-chart-min-height: 310px;
  }

  .three-up,
  .method-card-row,
  .metric-row,
  .takeaway-grid {
    grid-template-columns: 1fr;
  }

  .equation,
  .event-math-panel .equation {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .equation .lhs {
    text-align: center;
  }
}

.method-question {
  max-width: 900px;
  margin: -10px 0 24px;
  color: #3a362f;
  font-size: 22px;
  line-height: 1.34;
}

.brand-data-slide,
.google-trends-slide {
  grid-template-columns: minmax(250px, 0.3fr) minmax(0, 1.7fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: 18px 38px;
  padding-top: 40px;
  padding-bottom: 24px;
}

.brand-data-copy {
  align-self: start;
  gap: 18px;
}

.brand-data-chart,
.brand-data-chart svg {
  min-height: min(72vh, 720px);
}

.google-method-copy {
  max-width: 410px;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid rgba(24, 23, 19, 0.14);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(24, 23, 19, 0.14);
}

.process-list strong {
  color: var(--ink);
  font-size: 13px;
}

.term-cleaning-examples {
  display: block;
  margin-top: 7px;
  color: #3a362f;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.process-list .share-equation {
  margin: 8px auto 0;
  text-align: center;
}

.google-trends-chart,
.google-trends-chart svg {
  min-height: min(70vh, 700px);
}

.matrix-stage {
  min-height: min(60vh, 570px);
}

#panelMatrix {
  height: min(60vh, 570px);
}

.matrix-header {
  align-self: start;
}

.matrix-header p {
  margin-bottom: 12px;
}

.matrix-analysis-intro {
  margin: 28px 0 4px;
  color: #3a362f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.matrix-analysis-table {
  margin-top: 0;
}

.matrix-analysis-table li {
  padding: 10px 0;
}

.method-context {
  max-width: 900px;
  margin: -6px 0 8px;
  color: #3a362f;
  font-size: 21px;
  line-height: 1.34;
}

#dynamic-method .method-question {
  margin: 0 0 24px;
  color: #3a362f;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.34;
}

.event-method-copy .method-question {
  margin-bottom: 18px;
}

.event-method-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-method-grid div {
  min-height: 168px;
  padding: 15px 16px;
  font-size: 15px;
}

.equation-note {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

#shockSummary {
  font-size: 18px;
}

#shock-list {
  align-items: start;
  padding-top: 54px;
}

#shock-list .slide-copy {
  padding-top: 0;
}

.case-study-slide,
.case-study-scroll {
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  align-items: stretch;
  gap: 12px;
  padding-top: 42px;
  padding-bottom: 26px;
}

.case-study-scroll {
  position: relative;
  display: block;
  min-height: 200vh;
  padding: 0;
  border-bottom: 1px solid rgba(24, 23, 19, 0.08);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.case-study-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100vh;
  gap: 12px;
  padding: 42px 6vw 26px 7vw;
}

.case-study-sticky::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(24, 23, 19, 0.08);
  pointer-events: none;
}

.case-study-sticky > * {
  position: relative;
  z-index: 1;
}

.case-snap-single {
  top: 0;
}

.case-snap-all {
  top: 100vh;
}

.case-study-slide .chart-copy,
.case-study-scroll .chart-copy {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: 28px;
  align-items: end;
  max-width: none;
  padding-top: 0;
}

.case-study-slide .chart-copy h2,
.case-study-scroll .chart-copy h2 {
  margin-bottom: 0;
}

.case-study-slide .chart-copy p:not(.eyebrow),
.case-study-scroll .chart-copy p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 4px;
}

.case-study-slide .chart-wrap,
.case-study-slide .chart-wrap svg,
.case-study-scroll .chart-wrap,
.case-study-scroll .chart-wrap svg {
  min-height: min(72vh, 720px);
}

.takeaway-lead {
  max-width: 920px;
  margin-bottom: 26px;
}

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.evidence-strip div {
  padding: 18px 20px;
  border-top: 3px solid var(--ink);
  background: rgba(255, 250, 241, 0.62);
}

.takeaway-note {
  max-width: 980px;
  padding: 20px 24px;
  border-left: 4px solid var(--accent-2);
  background: rgba(255, 250, 241, 0.62);
}

.takeaway-note p {
  margin: 0;
  color: var(--muted);
  font-size: var(--body-size);
  line-height: 1.45;
}

.evidence-strip span,
.evidence-strip small {
  display: block;
  color: var(--muted);
}

.evidence-strip span {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.evidence-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-2);
  font-size: 34px;
  line-height: 1;
}

.evidence-strip small {
  font-size: 14px;
  line-height: 1.35;
}

.takeaway-grid.high-level {
  margin-top: 0;
}

.takeaway-grid.high-level p {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .brand-data-slide,
  .google-trends-slide {
    grid-template-columns: 1fr;
  }

  .google-method-copy {
    max-width: none;
  }

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

  .process-list li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  .process-list li:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(24, 23, 19, 0.14);
  }

  .brand-data-chart,
  .brand-data-chart svg,
  .google-trends-chart,
  .google-trends-chart svg {
    min-height: min(58vh, 620px);
  }

  .event-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-study-slide .chart-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  .method-question {
    margin-top: -4px;
    font-size: 18px;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .matrix-stage,
  #panelMatrix {
    min-height: 520px;
    height: 520px;
  }

  .google-trends-chart,
  .google-trends-chart svg {
    min-height: 405px;
  }

  .event-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-method-grid div {
    min-height: 132px;
    padding: 12px;
    font-size: 14px;
  }

  .case-study-slide .chart-wrap,
  .case-study-slide .chart-wrap svg {
    min-height: 480px;
  }
}

@media (max-width: 560px) {
  .process-list {
    grid-template-columns: 1fr;
  }

  .event-method-grid,
  .evidence-strip {
    grid-template-columns: 1fr;
  }

  .process-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .process-list li:last-child {
    border-bottom: 1px solid rgba(24, 23, 19, 0.14);
  }
}

/* Final responsive guards for the revised slide structure. */
.equation,
.event-math-panel .equation {
  display: flex;
  grid-template-columns: none;
  justify-content: center;
  text-align: center;
}

.equation math {
  font-family: Georgia, "Times New Roman", serif;
}

@media (max-width: 1100px) {
  .case-study-scroll .chart-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

}

@media (max-width: 760px) {
  .equation {
    font-size: 20px;
  }

  .event-math-panel .equation {
    font-size: 18px;
  }

  .share-equation {
    font-size: 16px;
  }

  .case-study-scroll .chart-wrap,
  .case-study-scroll .chart-wrap svg {
    min-height: 480px;
  }
}

.matrix-analysis-table {
  grid-template-columns: 1fr;
}

.matrix-analysis-table li {
  grid-template-columns: 86px minmax(0, 1fr);
}
