/* ============================================================
   Deep-dive stylesheet — shared across p/01 through p/05 + closing
   Builds on styles.css tokens
   ============================================================ */

/* Chapter rail (deep-dive variant) */
.rail-nav.chapters a {
  align-items: flex-start;
  line-height: 1.3;
  padding: 8px 0;
}
.rail-nav.chapters a .h-num {
  width: 36px;
  font-size: 10px;
}
.rail-nav.chapters a .ch-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rail-nav.chapters a .ch-title {
  font-size: 11px;
  letter-spacing: 0.04em;
}
.rail-nav.chapters a .ch-range {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--taupe);
  opacity: 0.75;
}

/* Project header (top of every deep-dive) */
.proj-header {
  border-top: 0;
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
  border-bottom: var(--rule);
}
.proj-header .crumbs {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--taupe);
  letter-spacing: 0.04em;
}
.proj-header .crumbs a {
  color: var(--taupe);
  border-bottom: 0;
}
.proj-header .crumbs a:hover { color: var(--ink); }
.proj-header .crumbs .sep { opacity: 0.5; }

.proj-header .proj-num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--oxblood);
  margin: 0 0 8px 0;
  font-variation-settings: "opsz" 144;
}

.proj-header .proj-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--taupe);
  text-transform: lowercase;
  margin: 0 0 18px 0;
}

.proj-header .proj-title {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(40px, 5.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 24px 0;
  text-wrap: balance;
}

.proj-header .proj-deck {
  font-family: var(--body);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 60ch;
  color: var(--ink);
  margin: 0 0 32px 0;
}

.proj-header .proj-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: var(--rule);
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.proj-header .proj-meta .label {
  color: var(--taupe);
  display: block;
  margin-bottom: 4px;
}
@media (max-width: 700px) {
  .proj-header .proj-meta { grid-template-columns: repeat(2, 1fr); }
}

/* Generic deep-dive section */
.dd-section {
  border-top: var(--rule);
  padding: clamp(60px, 8vw, 120px) var(--gutter);
}
.dd-section.full-bleed {
  padding-left: 0;
  padding-right: 0;
}
.dd-section .dd-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
  padding: 0 0;
}
.dd-section.full-bleed .dd-head { padding: 0 var(--gutter); }
.dd-section .dd-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--taupe);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.dd-section .dd-label {
  font-family: var(--body);
  font-variant: small-caps;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: lowercase;
}

.dd-h2 {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 32px 0;
  text-wrap: balance;
  font-variation-settings: "opsz" 100;
}
.dd-h2 .accent { color: var(--oxblood); }

.dd-body {
  font-size: 18px;
  line-height: 1.7;
  max-width: var(--max-text);
  color: var(--ink);
  text-wrap: pretty;
}
.dd-body p { margin: 0 0 1.4em 0; }
.dd-body p:last-child { margin-bottom: 0; }

/* Cold open */
.cold-open {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(120px, 18vw, 220px) var(--gutter);
  border-top: 0;
}
.cold-open .lines {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--bone);
  margin: 0 0 64px 0;
  font-variation-settings: "opsz" 100;
}
.cold-open .lines p {
  margin: 0 0 0.5em 0;
  opacity: 0;
  transform: translateY(8px);
  animation: cold-fade 900ms cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.cold-open .lines p:nth-child(1) { animation-delay: 200ms; }
.cold-open .lines p:nth-child(2) { animation-delay: 800ms; }
.cold-open .lines p:nth-child(3) { animation-delay: 1400ms; }
.cold-open .lines p:nth-child(4) { animation-delay: 2000ms; }
.cold-open .lines p:nth-child(5) { animation-delay: 2600ms; }
@keyframes cold-fade { to { opacity: 1; transform: none; } }

.cold-open .title {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(64px, 10vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--bone);
  margin: 48px 0 32px 0;
  font-variation-settings: "opsz" 144;
  opacity: 0;
  animation: cold-fade 900ms 3300ms cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.cold-open .title .accent { color: var(--oxblood); }

.cold-open .sub {
  font-family: var(--body);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  max-width: 56ch;
  color: rgba(244, 241, 234, 0.75);
  opacity: 0;
  animation: cold-fade 900ms 4000ms cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

/* TOC */
.toc-list {
  display: flex;
  flex-direction: column;
  border-top: var(--rule);
}
.toc-row {
  display: grid;
  grid-template-columns: 90px 1fr 120px;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 2.4vw, 32px) 0;
  border-bottom: var(--rule);
  align-items: baseline;
}
.toc-row .toc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--taupe);
}
.toc-row .toc-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toc-row .toc-name {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.toc-row .toc-desc {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.75;
  max-width: 60ch;
}
.toc-row .toc-range {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--taupe);
  text-align: right;
  letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .toc-row { grid-template-columns: 60px 1fr; }
  .toc-row .toc-range { grid-column: 2; text-align: left; }
}

/* Patent block */
.patent-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.patent-block .patent-num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(72px, 11vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--oxblood);
  margin: 0 0 24px 0;
  font-variation-settings: "opsz" 144;
}
.patent-block .patent-meta {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin: 0 0 24px 0;
  border-top: var(--rule);
  padding-top: 16px;
}
.patent-block .patent-meta .label { color: var(--taupe); display: inline-block; min-width: 100px; }
@media (max-width: 800px) {
  .patent-block { grid-template-columns: 1fr; }
}

/* Vertical timeline */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 80px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--cocoa) 0%, var(--taupe) 60%, rgba(201, 192, 176, 0.3) 100%);
}
.timeline .tl-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 14px 0;
  position: relative;
}
.timeline .tl-row::before {
  content: "";
  position: absolute;
  left: -52px;
  top: 22px;
  width: 8px;
  height: 8px;
  background: var(--cocoa);
  border-radius: 50%;
}
.timeline .tl-row.fade::before { background: var(--taupe); }
.timeline .tl-row.silent::before { background: rgba(201, 192, 176, 0.35); }
.timeline .tl-year {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--cocoa);
}
.timeline .tl-row.fade .tl-year { color: var(--taupe); }
.timeline .tl-row.silent .tl-year { color: rgba(201, 192, 176, 0.6); }
.timeline .tl-event {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.timeline .tl-row.silent .tl-event { color: rgba(26, 24, 21, 0.5); }
@media (max-width: 700px) {
  .timeline { padding-left: 56px; }
  .timeline .tl-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Section 02 — Brookside fall timeline */
#s02 .copy-block {
  width: 100%;
}

.fall-timeline {
  --fall-progress: 0;
  position: relative;
  width: min(100%, 920px);
  margin: clamp(14px, 2vw, 28px) auto 0;
  padding: 16px 0;
}

.fall-line {
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(221, 216, 210, 0.78);
  opacity: 0.9;
  overflow: hidden;
}

.fall-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleY(var(--fall-progress));
  transform-origin: top;
  background: linear-gradient(to bottom, var(--taupe-soft), var(--oxblood) 54%, var(--ink));
  transition: transform 120ms linear;
}

.fall-event {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-bottom: clamp(38px, 5vw, 70px);
}

.fall-event:last-child {
  margin-bottom: 0;
}

.fall-event.left {
  justify-content: flex-start;
}

.fall-event.right {
  justify-content: flex-end;
}

.fall-card {
  position: relative;
  z-index: 1;
  width: min(42%, 360px);
  padding: 0 clamp(18px, 2.4vw, 32px);
  opacity: 0.46;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.fall-event.left .fall-card {
  text-align: right;
}

.fall-event.right .fall-card {
  text-align: left;
}

.fall-year {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 30px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--taupe);
  margin-bottom: 10px;
  transition: color 220ms ease;
}

.fall-card p {
  margin: 0;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.62;
  color: rgba(32, 33, 36, 0.76);
  transition: color 220ms ease;
}

.fall-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--taupe-soft);
  border: 4px solid var(--bone);
  box-shadow: 0 0 0 4px rgba(221, 216, 210, 0.8);
  transform: translateX(-50%);
  transition: background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.fall-event.is-passed .fall-card,
.fall-event.is-current .fall-card {
  opacity: 1;
  transform: translateY(0);
}

.fall-event.is-passed .fall-year,
.fall-event.is-current .fall-year {
  color: var(--oxblood);
}

.fall-event.is-passed .fall-dot {
  background: var(--oxblood);
  box-shadow: 0 0 0 4px var(--bone), 0 0 0 6px rgba(123, 45, 47, 0.14);
}

.fall-event:hover .fall-dot,
.fall-event.is-current .fall-dot,
.fall-event.is-now .fall-dot {
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--bone), 0 0 0 7px rgba(32, 33, 36, 0.14);
  transform: translateX(-50%) scale(1.08);
}

.fall-event:hover .fall-year {
  color: var(--ink);
}

@media (min-width: 901px) {
  #s02 .copy-block {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 980px;
  }
}

@media (max-width: 700px) {
  .fall-timeline {
    width: 100%;
    padding-left: 46px;
  }

  .fall-line {
    left: 18px;
  }

  .fall-event,
  .fall-event.left,
  .fall-event.right {
    justify-content: flex-start;
    margin-bottom: 34px;
  }

  .fall-card,
  .fall-event.left .fall-card,
  .fall-event.right .fall-card {
    width: 100%;
    max-width: none;
    padding: 0;
    text-align: left;
  }

  .fall-dot {
    left: 18px;
  }
}

/* Pull-quote pair */
.quote-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.quote-pair blockquote {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-left: 1px solid var(--taupe);
  padding-left: 20px;
}
.quote-pair blockquote .attrib {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  color: var(--taupe);
  margin-top: 16px;
  letter-spacing: 0.04em;
}
.footnote {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--cocoa);
  letter-spacing: 0.03em;
  border-top: var(--rule);
  padding-top: 16px;
  max-width: 70ch;
}
@media (max-width: 800px) {
  .quote-pair { grid-template-columns: 1fr; }
}

/* Inventor cards */
.inventor-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.inventor-card {
  border: var(--rule);
  padding: clamp(20px, 2vw, 28px);
  background: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.inventor-card .ic-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cocoa);
  letter-spacing: 0.04em;
}
.inventor-card .ic-name {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: auto 0 0 0;
}
.inventor-card .ic-role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--taupe);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
@media (max-width: 800px) {
  .inventor-row { grid-template-columns: 1fr; }
}

/* Bar chart */
.bar-chart {
  background: var(--cocoa);
  color: var(--bone);
  padding: clamp(40px, 5vw, 72px);
  margin: 0 0 32px 0;
}
.bar-chart .bc-headline {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin: 0 0 8px 0;
}
.bar-chart .bc-headline .accent { color: var(--oxblood); font-style: italic; }
.bar-chart .bc-sub {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.7);
  margin: 0 0 40px 0;
  max-width: 56ch;
}
.bars { display: flex; flex-direction: column; gap: 18px; }
.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 100px;
  gap: 20px;
  align-items: center;
}
.bar-row .bar-label {
  font-family: var(--body);
  font-size: 14px;
  color: var(--bone);
}
.bar-row .bar-track {
  height: 28px;
  background: rgba(244, 241, 234, 0.08);
  position: relative;
  overflow: hidden;
}
.bar-row .bar-fill {
  height: 100%;
  background: rgba(244, 241, 234, 0.35);
}
.bar-row.brand .bar-fill { background: var(--oxblood); }
.bar-row .bar-value {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--bone);
  text-align: right;
  letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .bar-row { grid-template-columns: 90px 1fr 60px; gap: 12px; }
  .bar-row .bar-label, .bar-row .bar-value { font-size: 11px; }
}

/* Inline bar-chart variant — no background, recolored for light page */
.bar-chart.inline-bars {
  background: transparent;
  color: var(--ink);
  padding: 0;
  margin: clamp(40px, 5vw, 64px) 0 0;
}
.bar-chart.inline-bars .bc-headline { color: var(--ink); }
.bar-chart.inline-bars .bc-sub { color: var(--taupe); }
.bar-chart.inline-bars .bar-row .bar-label { color: var(--ink); }
.bar-chart.inline-bars .bar-row .bar-value { color: var(--ink); }
.bar-chart.inline-bars .bar-row .bar-track { background: rgba(32, 33, 36, 0.08); }
.bar-chart.inline-bars .bar-row .bar-fill { background: rgba(32, 33, 36, 0.18); }
.bar-chart.inline-bars .bar-row.brand .bar-fill { background: var(--oxblood); }

/* Competitor cards */
#s07 {
  padding: clamp(120px, 12vw, 160px) var(--gutter) clamp(140px, 14vw, 180px);
}
#s07 .dd-head {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
#s07 .dd-h2 {
  text-align: center;
  font-size: clamp(52px, 6.2vw, 76px);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1;
  color: #111;
  margin: 0 auto 20px;
  max-width: 1100px;
  transform: translateX(-28px);
}
#s07 .copy-block {
  max-width: min(1280px, 100%);
  margin: 0 auto;
}
#s07 .competitors-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  justify-items: center;
  gap: 88px;
  margin: clamp(72px, 7vw, 104px) auto 76px;
}
#s07 .competitor {
  opacity: 0;
  transform: translateY(60px);
  width: 100%;
  max-width: 720px;
  text-align: left;
  transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#s07 .competitor.visible {
  opacity: 1;
  transform: translateY(0);
}
#s07 .brand-name {
  font-family: var(--display);
  font-size: clamp(2.55rem, 3.4vw, 3.1rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: 0;
  color: #111;
}
#s07 .stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 10px 20px;
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.35;
  color: #2b2b2b;
}
#s07 .stats > div {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
#s07 .stat {
  color: var(--oxblood);
  font-weight: 700;
}
#s07 .description {
  font-size: 1.25rem;
  color: #444;
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 560px;
  text-wrap: pretty;
}
#s07 .weakness {
  padding-top: 24px;
  border-top: 1px solid #d4c8b8;
  font-size: 1.2rem;
  font-style: italic;
  color: #666;
  line-height: 1.55;
  max-width: 560px;
  margin: 0;
}
#s07 .weakness strong {
  color: var(--oxblood);
  font-style: normal;
  font-weight: 700;
}
#s07 .insights-grid {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: clamp(52px, 6vw, 76px);
  max-width: 720px;
  margin: clamp(52px, 6vw, 78px) auto 0;
  align-items: start;
}
#s07 .insight-chart {
  width: 100%;
}
@media (max-width: 900px) {
  #s07 {
    padding-top: 100px;
    padding-bottom: 120px;
  }
  #s07 .competitors-grid { gap: 64px; }
  #s07 .insights-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

/* Ghost grid */
.ghost-grid-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.ghost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  position: relative;
}
.ghost-grid .gtile {
  aspect-ratio: 1 / 1;
  background: repeating-linear-gradient(
    45deg,
    var(--taupe-soft) 0 2px,
    var(--bone) 2px 8px
  );
  filter: grayscale(1) opacity(0.5);
}
.ghost-grid .gtile.stamp {
  background: var(--oxblood);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  color: var(--bone);
  letter-spacing: 0.06em;
  filter: none;
  transform: rotate(-6deg);
}
.ghost-grid-wrap .gg-handle {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.ghost-grid-wrap .gg-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--taupe);
  letter-spacing: 0.04em;
  margin-top: 16px;
  text-align: center;
}
.ghost-grid-wrap .gg-cap {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 32px;
  max-width: 60ch;
  text-align: left;
}

/* Big stat lines */
.gap-stats {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 48px);
}
.gap-stat {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 16px 0;
  border-top: var(--rule);
}
.gap-stat:first-child { border-top: 0; padding-top: 0; }
.gap-stat .gs-num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(56px, 7vw, 110px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--oxblood);
  font-variation-settings: "opsz" 144;
}
.gap-stat .gs-cap {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}
@media (max-width: 700px) {
  .gap-stat { grid-template-columns: 1fr; gap: 8px; }
}

/* Sarah split */
.sarah-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}
.sarah-portrait {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(32, 33, 36, 0.08), transparent 60%),
    repeating-linear-gradient(135deg, var(--taupe-soft) 0 2px, var(--bone) 2px 9px);
  border: var(--rule);
  position: relative;
  overflow: hidden;
}
.sarah-portrait .ph-cap {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--taupe);
  padding: 4px 10px;
}
.sarah-facts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sarah-facts .name {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 24px 0;
  font-variation-settings: "opsz" 144;
}
.sarah-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: var(--rule);
}
.sarah-facts li {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: var(--rule-soft);
  color: var(--ink);
}
@media (max-width: 800px) {
  .sarah-split { grid-template-columns: 1fr; }
}

/* Day-in-life screenplay */
.day-list {
  --day-progress: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 54px;
}

.day-line {
  position: absolute;
  left: 14px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: rgba(221, 216, 210, 0.78);
  overflow: hidden;
}

.day-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleY(var(--day-progress));
  transform-origin: top;
  background: linear-gradient(to bottom, var(--taupe-soft), var(--oxblood) 52%, var(--ink));
  transition: transform 120ms linear;
}
.day-row {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 18px 0;
  border-bottom: var(--rule-soft);
  align-items: baseline;
  opacity: 0.42;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease, border-color 260ms ease;
}

.day-line + .day-row {
  border-top: var(--rule);
}

.day-row .day-time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--taupe);
  transition: color 220ms ease;
}
.day-row .day-beat {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  transition: color 220ms ease;
}

.day-dot {
  position: absolute;
  left: -47px;
  top: 22px;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--taupe-soft);
  border: 3px solid var(--bone);
  box-shadow: 0 0 0 4px rgba(221, 216, 210, 0.8);
  transition: background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.day-row.is-passed,
.day-row.is-current {
  opacity: 1;
  transform: translateY(0);
}

.day-row.is-passed .day-time,
.day-row.is-current .day-time {
  color: var(--oxblood);
}

.day-row.is-passed .day-dot {
  background: var(--oxblood);
  box-shadow: 0 0 0 4px var(--bone), 0 0 0 6px rgba(123, 45, 47, 0.14);
}

.day-row:hover .day-dot,
.day-row.is-current .day-dot,
.day-row.is-now .day-dot {
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--bone), 0 0 0 7px rgba(32, 33, 36, 0.14);
  transform: scale(1.08);
}

.day-row:hover .day-time {
  color: var(--ink);
}
@media (max-width: 700px) {
  .day-list {
    padding-left: 40px;
  }

  .day-line {
    left: 12px;
  }

  .day-row {
    grid-template-columns: 90px 1fr;
    gap: 16px;
  }

  .day-dot {
    left: -34px;
  }
}

/* Cart flat lay */
.cart-frame {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, var(--taupe-soft) 0 2px, var(--bone) 2px 9px);
  border: var(--rule);
  position: relative;
  margin-bottom: 32px;
}
.cart-frame .ph-cap {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--taupe);
  padding: 4px 10px;
}
.cart-list {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 24px 0;
  padding-left: 20px;
}

/* Voices grid */
.voices-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.voice-card {
  border: var(--rule);
  padding: clamp(20px, 2vw, 28px);
  background: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
}
.voice-card.a { border-top: 4px solid var(--taupe); }
.voice-card.b { border-top: 4px solid var(--oxblood); }
.voice-card.c { border-top: 4px solid var(--cocoa); }
.voice-card .v-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.voice-card .v-attrib {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--taupe);
  letter-spacing: 0.04em;
  margin-top: auto;
}
@media (max-width: 900px) {
  .voices-row { grid-template-columns: 1fr; }
}

/* Section 28 visual concepts */
#s28 .vc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 100px;
  max-width: 1400px;
  margin: 0 auto;
  font-family: var(--body);
}

#s28 .vc-item {
  position: relative;
  padding: 18px 18px 18px 70px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1),
              transform .9s cubic-bezier(.22, 1, .36, 1),
              background-color .4s ease,
              box-shadow .4s ease;
  will-change: transform, opacity;
}

#s28 .vc-item.is-in {
  opacity: 1;
  transform: translateY(0);
}

#s28 .vc-grid:hover .vc-item:not(:hover) {
  opacity: .55;
}

#s28 .vc-item:hover {
  background: rgba(240, 237, 228, .55);
  box-shadow: 0 18px 40px -22px rgba(140, 47, 47, .35);
  transform: translateY(-4px);
}

#s28 .vc-item::before {
  content: attr(data-number);
  position: absolute;
  left: 8px;
  top: 10px;
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: #8c2f2f;
  opacity: .15;
  transition: opacity .5s cubic-bezier(.22, 1, .36, 1),
              transform .6s cubic-bezier(.22, 1, .36, 1),
              color .4s ease,
              letter-spacing .5s ease;
}

#s28 .vc-item:hover::before {
  opacity: .55;
  transform: scale(1.18) translateX(-2px);
  letter-spacing: -2px;
}

#s28 .vc-item h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 10px;
  color: #1a1a1a;
  font-weight: 700;
  transition: color .35s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}

#s28 .vc-item:hover h3 {
  color: #8c2f2f;
  transform: translateX(3px);
}

#s28 .vc-item .vc-platform {
  display: inline-block;
  background: #f0ede4;
  color: #8c2f2f;
  font-size: .85rem;
  padding: 3px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: background-color .35s ease, color .35s ease, transform .35s ease;
}

#s28 .vc-item:hover .vc-platform {
  background: #8c2f2f;
  color: #f8f6f1;
  transform: translateY(-1px);
}

#s28 .vc-item p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.55;
  margin: 0;
  transition: color .35s ease;
}

#s28 .vc-item:hover p {
  color: #2c2c2c;
}

#s28 .vc-item:nth-child(1).is-in { transition-delay: .05s; }
#s28 .vc-item:nth-child(2).is-in { transition-delay: .13s; }
#s28 .vc-item:nth-child(3).is-in { transition-delay: .21s; }
#s28 .vc-item:nth-child(4).is-in { transition-delay: .29s; }
#s28 .vc-item:nth-child(5).is-in { transition-delay: .37s; }
#s28 .vc-item:nth-child(6).is-in { transition-delay: .45s; }
#s28 .vc-item:nth-child(7).is-in { transition-delay: .53s; }
#s28 .vc-item:nth-child(8).is-in { transition-delay: .61s; }
#s28 .vc-item:nth-child(9).is-in { transition-delay: .69s; }
#s28 .vc-item:nth-child(10).is-in { transition-delay: .77s; }
#s28 .vc-item:nth-child(11).is-in { transition-delay: .85s; }
#s28 .vc-item:nth-child(12).is-in { transition-delay: .93s; }

@media (max-width: 1024px) {
  #s28 .vc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
}

@media (max-width: 640px) {
  #s28 .vc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #s28 .vc-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }

  #s28 .vc-item:hover {
    transform: none;
  }
}

/* Insight / big idea */
.insight-block {
  max-width: 32ch;
  margin: 0 0 32px 0;
}
.insight-block .ib-h {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 24px 0;
  font-variation-settings: "opsz" 144;
}
.insight-block .ib-h .accent { color: var(--oxblood); }

.sarah-label-img,
.sarah-label-video,
.sarah-keeps-up-img {
  object-fit: cover;
}

#s16 .media-fill {
  z-index: 1;
}

#s22 #tiktok-marquee {
  margin-top: clamp(42px, 6vw, 76px);
  margin-bottom: 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: var(--rule);
  border-left: var(--rule);
}
.pillar {
  border-right: var(--rule);
  border-bottom: var(--rule);
  padding: 24px;
}
.pillar .p-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: var(--oxblood);
  margin: 0 0 16px 0;
}
.pillar .p-body {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

.five-pillars {
  position: relative;
  max-width: min(100%, 980px);
  margin: clamp(42px, 7vw, 86px) auto 0;
  padding: clamp(28px, 4vw, 46px) 0 clamp(18px, 3vw, 34px);
}

.five-pillars-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(48px, 7vw, 84px);
}

.five-pillars .fp-kicker {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(44px, 6.5vw, 94px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}

.five-pillars .fp-sub {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  color: rgba(32, 33, 36, 0.68);
  margin: 0;
}

.five-pillars-line {
  position: absolute;
  left: calc(50% + 16px);
  top: clamp(170px, 17vw, 245px);
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(170, 167, 162, 0.72), rgba(170, 167, 162, 0.72), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.fp-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
  margin-bottom: clamp(72px, 9vw, 128px);
  z-index: 1;
}

.fp-item:last-child {
  margin-bottom: 0;
}

.fp-number {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(72px, 11vw, 150px);
  line-height: 0.85;
  letter-spacing: -0.035em;
  color: var(--signal);
}

.fp-item:nth-of-type(even) .fp-number {
  grid-column: 1;
}

.fp-item:nth-of-type(odd) .fp-number {
  grid-column: 3;
}

.fp-content {
  position: relative;
  max-width: 430px;
  z-index: 2;
}

.fp-item:nth-of-type(even) .fp-content {
  grid-column: 3;
  justify-self: start;
}

.fp-item:nth-of-type(odd) .fp-content {
  grid-column: 1;
  justify-self: end;
}

.fp-content h4 {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}

.fp-content p {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.55;
  color: rgba(32, 33, 36, 0.76);
  margin: 0;
}

.fp-dot {
  position: absolute;
  left: calc(50% + 16px);
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bone);
  border: 6px solid var(--signal);
  box-shadow: 0 0 0 8px rgba(123, 45, 47, 0.14);
  transform: translate(-50%, -50%);
  z-index: 3;
}

@media (max-width: 900px) {
  .five-pillars {
    margin-top: 42px;
    padding-top: 18px;
  }

  .five-pillars-head {
    text-align: left;
    margin-bottom: 42px;
  }

  .five-pillars-line,
  .fp-dot {
    display: none;
  }

  .fp-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 58px;
  }

  .fp-number {
    flex-basis: auto;
    text-align: left;
  }

  .fp-content {
    max-width: 100%;
  }
}
@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
}

/* Brief spread */
.brief-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: var(--rule);
  border-left: var(--rule);
}
.brief-field {
  border-right: var(--rule);
  border-bottom: var(--rule);
  padding: clamp(20px, 2vw, 32px);
}
.brief-field.span-2 { grid-column: 1 / -1; }
.brief-field .bf-label {
  font-family: var(--display);
  font-style: italic;
  font-variant: small-caps;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cocoa);
  margin: 0 0 12px 0;
  display: block;
}
.brief-field .bf-body {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}
.brief-field .bf-body p { margin: 0 0 0.8em 0; }
.brief-field .bf-body p:last-child { margin-bottom: 0; }
.brief-field .bf-body ol, .brief-field .bf-body ul { margin: 8px 0 0; padding-left: 18px; }
.brief-field.proposition {
  background: var(--cocoa);
  color: var(--bone);
}
.brief-field.proposition .bf-label { color: var(--taupe); }
.brief-field.proposition .bf-prop {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin: 0;
}
.brief-field.proposition .bf-prop .accent { color: var(--oxblood); font-style: italic; }
@media (max-width: 800px) {
  .brief-spread { grid-template-columns: 1fr; }
}

/* Donut chart */
.donut-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.donut-svg {
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.donut-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: var(--rule);
}
.donut-row {
  padding: 12px 0;
  border-bottom: var(--rule-soft);
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: baseline;
}
.donut-row .swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
}
.donut-row .dr-head {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 4px;
}
.donut-row .dr-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.donut-row .dr-amt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cocoa);
  letter-spacing: 0.04em;
}
.donut-row .dr-pct {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--taupe);
}
.donut-row .dr-body {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
@media (max-width: 800px) {
  .donut-wrap { grid-template-columns: 1fr; }
}

/* Gantt */
.gantt-wrap {
  overflow-x: auto;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.gantt {
  min-width: 960px;
  display: grid;
  grid-template-columns: 180px repeat(8, 1fr);
}
.gantt .g-cell {
  padding: 14px 12px;
  border-right: var(--rule-soft);
  border-bottom: var(--rule-soft);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.03em;
  min-height: 60px;
}
.gantt .g-cell.h {
  background: var(--bone);
  color: var(--cocoa);
  font-weight: 500;
  border-bottom: var(--rule);
}
.gantt .g-cell.label {
  border-right: var(--rule);
  background: var(--bone);
  font-family: var(--body);
  font-size: 13px;
}
.gantt .g-cell.tt { background: rgba(32, 33, 36, 0.12); }
.gantt .g-cell.ig { background: rgba(170, 167, 162, 0.2); }
.gantt .g-cell.is { background: rgba(232, 229, 223, 0.48); }
.gantt .g-cell.prep { background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(201, 192, 176, 0.4) 6px 7px); }
.gantt .g-cell.peak { box-shadow: inset 0 -3px 0 var(--oxblood); }
.gantt-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--taupe);
  margin-top: 16px;
  letter-spacing: 0.04em;
}
.gantt-legend .lg-sw {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Insights visualization charts */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  margin: clamp(60px, 8vw, 100px) 0;
}

.insight-chart,
.insight-chart-wide {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 350ms cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 350ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.insight-chart-wide {
  max-width: 700px;
}

.insight-chart.is-visible,
.insight-chart-wide.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.insights-grid .insight-chart:nth-child(2) {
  transition-delay: 150ms;
}

.chart-label {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 28px;
  text-align: center;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}

.chart-container {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.chart-container:hover {
  transform: scale(1.05);
}

.chart-container-bar {
  max-width: 600px;
  width: 100%;
  height: 200px;
  transition: transform 0.3s ease;
}

.chart-container-bar:hover {
  transform: translateY(-5px);
}

.chart-caption {
  text-align: center;
  margin-top: 24px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(14px, 1vw, 16px);
  letter-spacing: 0.005em;
  color: var(--taupe);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
}

.chart-fallback {
  text-align: center;
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--taupe);
}

/* Budget donut */
.budget-donut-wrap {
  margin-top: clamp(40px, 5vw, 64px);
  align-items: center;
  max-width: 100%;
}

.budget-donut-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.budget-donut-stage .chart-container {
  max-width: 420px;
}

.budget-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}

.bd-total {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}

.bd-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(13px, 1vw, 15px);
  color: var(--taupe);
  margin-top: 6px;
  letter-spacing: 0.01em;
}

.budget-legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: clamp(28px, 3vw, 40px) auto 0;
  max-width: 420px;
  width: 100%;
}

.bl-row {
  display: grid;
  grid-template-columns: 14px minmax(80px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
  font-family: var(--body);
  font-size: clamp(14px, 1vw, 16px);
}

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

.bl-sw {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  display: inline-block;
}

.bl-name {
  color: var(--ink);
  font-weight: 500;
}

.bl-val {
  color: var(--taupe);
  font-family: var(--mono);
  font-size: clamp(12px, 0.9vw, 14px);
  letter-spacing: 0.02em;
  text-align: right;
}

@keyframes chartFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .chart-container,
  .chart-container-bar {
    max-width: 100%;
  }

  .chart-container-bar {
    height: 180px;
  }
}

/* Stat-stack (TikTok / IG / aisle) */
.stat-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: var(--rule);
  max-width: 800px;
}
.stat-stack .ss-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: var(--rule-soft);
  align-items: baseline;
}
.stat-stack .ss-num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.stat-stack .ss-num.accent { color: var(--oxblood); }
.stat-stack .ss-cap {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
@media (max-width: 700px) {
  .stat-stack .ss-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Creator profile card */
.creator-spec {
  border: var(--rule);
  padding: clamp(24px, 3vw, 40px);
  max-width: 560px;
  background: var(--bone);
}
.creator-spec h4 {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.015em;
  margin: 0 0 20px 0;
}
.creator-spec ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: var(--rule-soft);
}
.creator-spec li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: var(--rule-soft);
  letter-spacing: 0.03em;
}
.creator-spec .cs-foot {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin-top: 20px;
}

/* Color swatches */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: var(--rule);
  border-left: var(--rule);
}
.swatch-grid.brand-palette {
  grid-template-columns: repeat(5, 1fr);
}
.swatch-grid.planet-palette {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  margin-top: clamp(28px, 4vw, 48px);
  border-top-color: rgba(197, 198, 200, 0.22);
  border-left-color: rgba(197, 198, 200, 0.22);
}
.swatch-cell {
  border-right: var(--rule);
  border-bottom: var(--rule);
  padding: 0;
  display: flex;
  flex-direction: column;
}
.swatch-cell .sw-color {
  height: 120px;
  background: var(--swatch);
}
.swatch-cell .sw-meta {
  padding: 16px;
  background: var(--bone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.swatch-cell .sw-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.swatch-cell .sw-hex { color: var(--taupe); }
.swatch-cell .sw-role { display: block; margin-top: 4px; color: var(--cocoa); }
.swatch-cell .sw-rationale { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--taupe); }
.planet-palette .swatch-cell {
  border-right-color: rgba(197, 198, 200, 0.22);
  border-bottom-color: rgba(197, 198, 200, 0.22);
}
.planet-palette .swatch-cell .sw-meta {
  background: var(--midnight);
  color: var(--platinum);
}
.planet-palette .swatch-cell .sw-name,
.planet-palette .swatch-cell .sw-role {
  color: var(--platinum);
}
.planet-palette .swatch-cell .sw-hex {
  color: rgba(197, 198, 200, 0.65);
}
@media (max-width: 1100px) {
  .swatch-grid,
  .swatch-grid.brand-palette { grid-template-columns: repeat(4, 1fr); }
  .swatch-grid.planet-palette { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
}
@media (max-width: 600px) {
  .swatch-grid,
  .swatch-grid.brand-palette,
  .swatch-grid.planet-palette { grid-template-columns: repeat(2, 1fr); }
}

/* Type specimen */
.type-specimen {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.specimen-row {
  border-top: var(--rule);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
}
.specimen-row .sp-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--taupe);
  line-height: 1.6;
}
.specimen-row .sp-meta strong {
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.specimen-row .sp-sample {
  color: var(--ink);
  text-wrap: balance;
}
.specimen-row .sp-rationale {
  grid-column: 2;
  margin-top: 12px;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--taupe);
  max-width: 60ch;
}
@media (max-width: 700px) {
  .specimen-row .sp-rationale { grid-column: 1; }
}
.specimen-row.display .sp-sample {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
}
.specimen-row.body .sp-sample {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  max-width: 60ch;
}
.specimen-row.mono .sp-sample {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .specimen-row { grid-template-columns: 1fr; gap: 12px; }
}

/* Contact sheet 12-up */
.contact-sheet {
  background: var(--cocoa);
  padding: clamp(24px, 3vw, 40px);
}
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(244, 241, 234, 0.3);
}
.cs-cell {
  background: var(--cocoa);
  aspect-ratio: 4 / 3;
  padding: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cs-cell .cs-num {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(244, 241, 234, 0.55);
  letter-spacing: 0.06em;
}
.cs-cell .cs-title {
  font-family: var(--body);
  font-variant: small-caps;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--bone);
  text-transform: lowercase;
  line-height: 1.3;
}
.cs-cell .cs-format {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(244, 241, 234, 0.55);
  letter-spacing: 0.06em;
}
.cs-cell .cs-mock {
  position: absolute;
  inset: 30% 14% 28% 14%;
  background: repeating-linear-gradient(45deg, rgba(244, 241, 234, 0.08) 0 2px, transparent 2px 9px);
  border: 1px solid rgba(244, 241, 234, 0.15);
}
@media (max-width: 800px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hooks (big-type beats) */
.hooks-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: var(--rule);
}
.hook-line {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  padding: clamp(28px, 4vw, 56px) 0;
  border-bottom: var(--rule);
  text-wrap: balance;
  font-variation-settings: "opsz" 100;
}

#s40 .hooks-stack {
  --hook-x: 50%;
  --hook-y: 50%;
  position: relative;
  isolation: isolate;
}

#s40 .hooks-stack::before {
  content: "";
  position: absolute;
  inset: -10% -8%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--hook-x) var(--hook-y), rgba(197, 198, 200, 0.34), rgba(197, 198, 200, 0.12) 18%, transparent 42%);
  filter: blur(4px);
  transition: opacity 220ms ease;
}

#s40 .hooks-stack.is-lit::before {
  opacity: 1;
}

#s40 .hook-line {
  --line-x: 50%;
  position: relative;
  cursor: default;
  transition:
    color 220ms ease,
    opacity 220ms ease,
    text-shadow 220ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

#s40 .hook-line::before {
  content: "";
  position: absolute;
  inset: 12px -22px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--line-x) 50%, rgba(255, 255, 255, 0.34), rgba(197, 198, 200, 0.12) 28%, transparent 64%);
  transition: opacity 220ms ease;
}

#s40 .hooks-stack.is-lit .hook-line {
  opacity: 0.56;
}

#s40 .hook-line.is-lit,
#s40 .hook-line:hover {
  color: var(--platinum);
  opacity: 1;
  transform: translateX(8px);
  text-shadow:
    0 0 12px rgba(236, 233, 229, 0.34),
    0 0 32px rgba(197, 198, 200, 0.24);
}

#s40 .hook-line.is-lit::before,
#s40 .hook-line:hover::before {
  opacity: 1;
}

/* Instagram caption mock */
.ig-mock {
  border: var(--rule);
  padding: 24px;
  max-width: 520px;
  background: var(--bone);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
}
.ig-mock .ig-handle {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.ig-mock .ig-handle::before {
  content: "";
  width: 28px;
  height: 28px;
  background: var(--oxblood);
  border-radius: 50%;
}
.ig-mock .ig-cap p { margin: 0 0 0.8em 0; }
.ig-mock .ig-tags {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--taupe);
  letter-spacing: 0.03em;
  margin-top: 14px;
  border-top: var(--rule-soft);
  padding-top: 14px;
}

/* Email mock */
.email-mock {
  border: var(--rule);
  background: var(--bone);
  max-width: 640px;
  padding: 0;
}
.email-mock .em-head {
  border-bottom: var(--rule);
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cocoa);
  letter-spacing: 0.03em;
  line-height: 1.7;
}
.email-mock .em-head .label { color: var(--taupe); display: inline-block; min-width: 64px; }
.email-mock .em-body {
  padding: 20px;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}
.email-mock .em-body p { margin: 0 0 1em 0; }

/* Payoff split */
.payoff {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(60px, 8vw, 120px) var(--gutter);
  margin: 0 calc(-1 * var(--gutter));
}
.payoff .pay-line {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin: 0 0 32px 0;
  max-width: 22ch;
  font-variation-settings: "opsz" 100;
}
.payoff p {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  max-width: 60ch;
  color: rgba(244, 241, 234, 0.85);
  margin: 0 0 1.4em 0;
}
.payoff .spine {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--bone);
  margin: 48px 0 0 0;
  border-top: 1px solid rgba(244, 241, 234, 0.15);
  padding-top: 32px;
  text-wrap: balance;
}
.payoff .spine .accent { color: var(--oxblood); }

/* Project footer / next-up */
.proj-footer {
  border-top: var(--rule);
  padding: clamp(60px, 6vw, 96px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}
.proj-footer .pf-back a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--taupe);
  letter-spacing: 0.04em;
  border-bottom: 0;
}
.proj-footer .pf-back a:hover { color: var(--ink); }
.proj-footer .pf-next {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proj-footer .pf-next .pf-l {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--taupe);
  letter-spacing: 0.04em;
}
.proj-footer .pf-next a {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 0;
}
.proj-footer .pf-next a:hover { color: var(--oxblood); }
.proj-footer .pf-next a span { color: var(--taupe); margin-left: 8px; }
@media (max-width: 700px) {
  .proj-footer { grid-template-columns: 1fr; }
  .proj-footer .pf-next { text-align: left; }
}

/* Planet Gummi inversion */
.planet-mode {
  background: var(--midnight);
  color: var(--platinum);
}
.planet-mode .rail {
  background: var(--midnight);
  border-right-color: rgba(197, 198, 200, 0.2);
}
.planet-mode .rail-mark { color: var(--platinum); }
.planet-mode .rail-mark .dot { color: var(--platinum); }
.planet-mode .rail-meta { color: rgba(197, 198, 200, 0.5); }
.planet-mode .rail-nav a { color: rgba(197, 198, 200, 0.5); }
.planet-mode .rail-nav a:hover, .planet-mode .rail-nav a.is-active { color: var(--platinum); }
.planet-mode .rail-nav a.is-active .h-num { color: var(--platinum); }
.planet-mode .rail-foot { color: rgba(197, 198, 200, 0.4); }
.planet-mode .topbar {
  background: var(--midnight);
  border-bottom-color: rgba(197, 198, 200, 0.2);
}
.planet-mode .topbar .mark { color: var(--platinum); }
.planet-mode .hamburger { color: var(--platinum); border-color: rgba(197, 198, 200, 0.3); }
.planet-mode .drawer { background: var(--midnight); }
.planet-mode .drawer a { color: var(--platinum); border-bottom-color: rgba(197, 198, 200, 0.15); }
.planet-mode .drawer-head { border-bottom-color: rgba(197, 198, 200, 0.25); }
.planet-mode .drawer-head .close { color: var(--platinum); border-color: rgba(197, 198, 200, 0.3); }

.planet-mode .proj-header .proj-num { color: var(--platinum); }
.planet-mode .proj-header .proj-title { color: var(--platinum); }
.planet-mode .proj-header .proj-deck { color: rgba(197, 198, 200, 0.85); }
.planet-mode .proj-header .proj-eyebrow { color: rgba(197, 198, 200, 0.55); }
.planet-mode .proj-header .crumbs,
.planet-mode .proj-header .crumbs a { color: rgba(197, 198, 200, 0.5); }
.planet-mode .proj-header .crumbs a:hover { color: var(--platinum); }
.planet-mode .proj-header,
.planet-mode .dd-section,
.planet-mode .proj-footer {
  border-top-color: rgba(197, 198, 200, 0.18);
}
.planet-mode .proj-header .proj-meta {
  border-top-color: rgba(197, 198, 200, 0.18);
  color: rgba(197, 198, 200, 0.65);
}
.planet-mode .proj-header .proj-meta .label { color: rgba(197, 198, 200, 0.4); }
.planet-mode .dd-num { color: rgba(197, 198, 200, 0.45); }
.planet-mode .dd-label { color: var(--platinum); }
.planet-mode .dd-h2 { color: var(--platinum); }
.planet-mode .dd-h2 .accent { color: var(--platinum); text-decoration: underline; text-decoration-color: rgba(197, 198, 200, 0.5); text-underline-offset: 6px; }
.planet-mode .dd-body { color: rgba(197, 198, 200, 0.85); }
.planet-mode .pillars,
.planet-mode .pillar,
.planet-mode .timeline::before {
  border-color: rgba(197, 198, 200, 0.18);
  background: rgba(197, 198, 200, 0.18);
}
.planet-mode .timeline .tl-year { color: var(--platinum); }
.planet-mode .timeline .tl-event { color: rgba(197, 198, 200, 0.8); }
.planet-mode .timeline .tl-row::before { background: var(--platinum); }
.planet-mode .ig-mock,
.planet-mode .email-mock,
.planet-mode .creator-spec {
  background: rgba(197, 198, 200, 0.05);
  border-color: rgba(197, 198, 200, 0.25);
  color: var(--platinum);
}
.planet-mode .ig-mock .ig-handle::before { background: var(--platinum); }
.planet-mode .ig-mock .ig-tags,
.planet-mode .email-mock .em-head { color: rgba(197, 198, 200, 0.6); border-color: rgba(197, 198, 200, 0.2); }
.planet-mode .email-mock .em-head .label { color: rgba(197, 198, 200, 0.4); }
.planet-mode .proj-footer .pf-back a,
.planet-mode .proj-footer .pf-next .pf-l { color: rgba(197, 198, 200, 0.5); }
.planet-mode .proj-footer .pf-next a { color: var(--platinum); }
.planet-mode .proj-footer .pf-next a:hover { color: var(--platinum); opacity: 0.7; }

/* Planet Gummi mission briefing */
.gummi-hero {
  background: var(--midnight);
  color: var(--platinum);
  padding: clamp(80px, 10vw, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.gummi-hero .crosshair {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--platinum) 1px, transparent 1px) 50% 0 / 100% 100%,
    linear-gradient(90deg, var(--platinum) 1px, transparent 1px) 0 50% / 100% 100%;
  opacity: 0.07;
  pointer-events: none;
}
.gummi-hero .gh-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-variant: small-caps;
  letter-spacing: 0.18em;
  color: var(--platinum);
  margin: 0 0 24px 0;
  text-transform: lowercase;
  position: relative;
}
.gummi-hero .gh-title {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--platinum);
  margin: 0 0 24px 0;
  font-variation-settings: "opsz" 144;
  position: relative;
}
.gummi-hero .gh-title-2 {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(36px, 4vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(197, 198, 200, 0.55);
  margin: 0 0 40px 0;
  position: relative;
}
.gummi-hero .gh-sub {
  font-family: var(--body);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  max-width: 56ch;
  color: rgba(197, 198, 200, 0.78);
  margin: 0;
  position: relative;
}

/* Concept rail (Planet Gummi) */
.concept-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(197, 198, 200, 0.2);
  border-top: 1px solid rgba(197, 198, 200, 0.2);
  border-bottom: 1px solid rgba(197, 198, 200, 0.2);
}
.concept-cell {
  background: var(--midnight);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}
.concept-cell .cc-num {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(197, 198, 200, 0.5);
  letter-spacing: 0.08em;
}
.concept-cell .cc-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--platinum);
}
.concept-cell .cc-format {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(197, 198, 200, 0.5);
  letter-spacing: 0.06em;
}
.concept-cell .cc-body {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(197, 198, 200, 0.78);
  margin-top: auto;
}
@media (max-width: 1100px) {
  .concept-rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .concept-rail { grid-template-columns: 1fr; }
}

/* Audience cards */
.audience-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.audience-card {
  border: var(--rule);
  padding: clamp(24px, 3vw, 36px);
  background: var(--bone);
}
.audience-card .ac-tier {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--oxblood);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.audience-card .ac-name {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  color: var(--ink);
}
.audience-card .ac-body {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}
.planet-mode .audience-card {
  background: rgba(197, 198, 200, 0.04);
  border-color: rgba(197, 198, 200, 0.2);
}
.planet-mode .audience-card .ac-name { color: var(--platinum); }
.planet-mode .audience-card .ac-body { color: rgba(197, 198, 200, 0.8); }
.planet-mode .audience-card .ac-tier { color: var(--platinum); }
@media (max-width: 800px) {
  .audience-row { grid-template-columns: 1fr; }
}

/* Anatomy diagram */
.anatomy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.anatomy.text-only {
  grid-template-columns: 1fr;
}
.anatomy .anat-svg {
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.anatomy ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(197, 198, 200, 0.18);
}
.anatomy li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(197, 198, 200, 0.18);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(197, 198, 200, 0.85);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.anatomy li .label { color: rgba(197, 198, 200, 0.5); }
@media (max-width: 800px) {
  .anatomy { grid-template-columns: 1fr; }
}

/* Sources */
.sources-block {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink);
  letter-spacing: 0.02em;
  max-width: 80ch;
  border-top: var(--rule);
  padding-top: 24px;
}
.sources-block .src-h {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 24px 0 12px 0;
}
.sources-block details {
  border: var(--rule);
  padding: 16px 20px;
  margin-top: 20px;
  background: var(--bone);
}
.sources-block summary {
  cursor: pointer;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  list-style: none;
}
.sources-block summary::-webkit-details-marker { display: none; }
.sources-block summary::after {
  content: " ↓";
  font-family: var(--mono);
  font-style: normal;
  font-size: 14px;
  color: var(--taupe);
}
.sources-block details[open] summary::after { content: " ↑"; }
.sources-block .src-body {
  margin-top: 16px;
  border-top: var(--rule-soft);
  padding-top: 16px;
}

/* Closing contact */
.closing-contact {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-pad-y) var(--gutter);
}
.closing-contact .cc-thanks {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 32px 0;
}
.closing-contact p {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 0 1.4em 0;
}
.closing-contact .cc-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  border-top: var(--rule);
  padding-top: 24px;
}
.closing-contact .cc-links a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Why-this-shows-range closing */
.range-close {
  max-width: 60ch;
  margin: 0 auto;
}
.range-close p {
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.7;
  margin: 0 0 1.4em 0;
}

/* Markdown-rendered chapter copy */
.copy-block {
  max-width: 78ch;
  color: var(--ink);
}
.copy-block h3 {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(34px, 4vw, 68px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--ink);
}
.copy-block p {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.72;
  margin: 0 0 1.25em;
  text-wrap: pretty;
}
.copy-block ul,
.copy-block ol {
  margin: 0 0 1.4em;
  padding-left: 1.2em;
}
.copy-block li {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 0.45em;
}
.copy-block blockquote {
  margin: clamp(28px, 4vw, 48px) 0;
  padding: 0 0 0 clamp(20px, 3vw, 32px);
  border-left: 2px solid var(--oxblood);
}
.copy-block blockquote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.sources-wrap {
  max-width: 1200px;
  margin: 48px auto 0;
}
#s43 .dd-h2 {
  font-size: clamp(64px, 10vw, 140px);
  text-align: center;
}
@media (min-width: 901px) {
  #s43 .sources-wrap {
    grid-column: 1 / -1;
  }
  #s43 .dd-h2 {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
    font-size: clamp(96px, 12vw, 180px);
  }
}
.sources-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  align-items: start;
}
.sources-col h3 {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(34px, 4vw, 68px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--ink);
}
.sources-col--left h3:not(:first-child) {
  margin-top: 48px;
  padding-top: 32px;
  border-top: var(--rule);
}
.sources-col--right {
  border-left: var(--rule);
  padding-left: 56px;
}
.sources-ol {
  margin: 0;
  padding-left: 1.6em;
}
.sources-ol li {
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 0.35em;
}
.sources-total {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--taupe);
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: var(--rule);
  text-align: center;
}
@media (max-width: 768px) {
  .sources-split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sources-col--right {
    border-left: none;
    padding-left: 0;
    border-top: var(--rule);
    padding-top: 36px;
    margin-top: 36px;
  }
}
.copy-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.8em;
  border-top: var(--rule);
}

/* Section 28 visual concepts: both marquees span the desktop grid and
   pull to the actual viewport edges instead of the content column. */
@media (min-width: 901px) {
  #s28 #visual-concepts-marquee,
  #s28 #visual-concepts-text-marquee {
    grid-column: 1 / -1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  #s28 #visual-concepts-marquee {
    margin-top: clamp(36px, 5vw, 72px);
  }

  #s28 #visual-concepts-text-marquee {
    margin-top: 0;
  }
}

.copy-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.copy-table th,
.copy-table td {
  border-bottom: var(--rule-soft);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.5;
}
.copy-table th {
  font-family: var(--mono);
  color: var(--taupe);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.image-brief {
  border: var(--rule);
  padding: clamp(20px, 3vw, 32px);
  margin: clamp(28px, 4vw, 48px) 0;
  background: rgba(201, 192, 176, 0.16);
}
.image-brief span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--taupe);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.image-brief strong {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 8px;
}
.image-brief p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.scrolly-visual {
  display: none;
}

@media (max-width: 900px) {
  .scrolly-visual {
    display: block;
    position: relative;
    margin: 28px 0 34px;
    opacity: 1;
    transform: none;
  }

  .scrolly-visual .visual-frame {
    min-height: clamp(280px, 62vw, 520px);
    transform: none;
  }

  .dd-section.has-visual .scrolly-visual,
  .gummi-hero .scrolly-visual {
    order: 2;
  }

  .dd-section.has-visual .copy-block,
  .gummi-hero .copy-block {
    order: 3;
  }
}
.planet-mode .copy-block,
.planet-mode .copy-block h3,
.planet-mode .copy-block p,
.planet-mode .copy-block li {
  color: rgba(197, 198, 200, 0.86);
}
.planet-mode .copy-block h3 {
  color: var(--platinum);
}
.planet-mode .copy-block blockquote {
  border-left-color: var(--platinum);
}
.planet-mode .copy-table th,
.planet-mode .copy-table td {
  border-color: rgba(197, 198, 200, 0.18);
}
.planet-mode .image-brief {
  background: rgba(197, 198, 200, 0.05);
  border-color: rgba(197, 198, 200, 0.24);
}
.planet-mode .image-brief strong,
.planet-mode .image-brief p {
  color: var(--platinum);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Desktop scrollytelling for project routes */
@media (min-width: 901px) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 0;
  }

  body:not(.planet-mode) {
    background: var(--bone);
  }

  .cold-open,
  .gummi-hero,
  .dd-section,
  .proj-footer {
    min-height: 100vh;
    scroll-snap-align: start;
    overflow: clip;
  }

  .dd-section {
    display: grid;
    grid-template-columns: minmax(170px, 0.32fr) minmax(0, 1fr);
    column-gap: clamp(42px, 6vw, 100px);
    align-items: start;
    padding-top: clamp(90px, 10vh, 140px);
    padding-bottom: clamp(90px, 10vh, 140px);
  }

  .dd-section.full-bleed {
    grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .dd-section.has-visual {
    grid-template-columns: minmax(150px, 0.22fr) minmax(0, 0.78fr) minmax(340px, 0.72fr);
  }

  .dd-section .dd-head {
    position: sticky;
    top: clamp(48px, 8vh, 96px);
    flex-direction: column;
    gap: 16px;
    margin: 0;
    max-width: 190px;
  }

  .dd-section .dd-num {
    font-size: clamp(24px, 4vw, 58px);
    font-family: var(--display);
    font-style: italic;
    line-height: 0.9;
    color: var(--oxblood);
    letter-spacing: -0.025em;
  }

  .planet-mode .dd-section .dd-num {
    color: var(--platinum);
  }

  .dd-section .dd-label {
    line-height: 1.5;
  }

  .dd-h2 {
    grid-column: 2;
    font-size: clamp(48px, 6.8vw, 116px);
    max-width: 11ch;
    margin-bottom: clamp(34px, 5vw, 72px);
  }

  .copy-block {
    grid-column: 2;
    max-width: 68ch;
  }

  .scrolly-visual {
    display: block;
    grid-column: 3;
    grid-row: 1 / span 3;
    position: sticky;
    top: clamp(58px, 9vh, 100px);
    align-self: start;
    transform: translateY(18px);
    opacity: 0.78;
    transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 600ms ease;
  }

  .dd-section.is-current .scrolly-visual,
  .gummi-hero.is-current .scrolly-visual {
    transform: none;
    opacity: 1;
  }

  .visual-frame {
    min-height: clamp(420px, 62vh, 680px);
    border: 1px solid rgba(170, 167, 162, 0.58);
    overflow: hidden;
    position: relative;
    background:
      radial-gradient(circle at 52% 43%, rgba(32, 33, 36, 0.12), transparent 34%),
      linear-gradient(135deg, rgba(251, 250, 248, 0.86), rgba(232, 229, 223, 0.42)),
      repeating-linear-gradient(45deg, rgba(170, 167, 162, 0.28) 0 1px, transparent 1px 12px);
    transform: translateY(calc((var(--section-progress, 0.5) - 0.5) * -26px));
    transition: transform 120ms linear;
  }

  .visual-frame::before,
  .visual-frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }

  .visual-frame::before {
    inset: 22px;
    border: 1px solid rgba(32, 33, 36, 0.12);
  }

  .visual-frame::after {
    width: 52%;
    height: 52%;
    right: 8%;
    top: 16%;
    border-radius: 50%;
    border: 1px solid rgba(32, 33, 36, 0.18);
    transform: rotate(-18deg) scaleY(0.42);
  }

  .visual-object {
    position: absolute;
    width: 48%;
    aspect-ratio: 0.74;
    right: 12%;
    bottom: 14%;
    border-radius: 50% 50% 8% 8% / 20% 20% 5% 5%;
    background:
      radial-gradient(circle at 35% 28%, rgba(255,255,255,0.32), transparent 26%),
      linear-gradient(155deg, #3b3d40, #202124 58%, #0d0f11);
    box-shadow: 0 34px 60px rgba(32, 33, 36, 0.2);
    transform: translateY(calc((var(--section-progress, 0.5) - 0.5) * 34px));
    transition: transform 120ms linear;
  }

  .visual-mark {
    position: absolute;
    left: 9%;
    top: 9%;
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(54px, 6vw, 96px);
    line-height: 0.9;
    color: rgba(32, 33, 36, 0.9);
    z-index: 2;
  }

  .visual-lines {
    position: absolute;
    left: 9%;
    bottom: 14%;
    width: 44%;
    height: 34%;
    border-top: 1px solid rgba(32, 33, 36, 0.32);
    border-bottom: 1px solid rgba(32, 33, 36, 0.14);
    background:
      linear-gradient(rgba(32, 33, 36, 0.12) 0 1px, transparent 1px) 0 18% / 100% 28%;
  }

  .visual-label {
    position: absolute;
    left: 9%;
    right: 9%;
    bottom: 7%;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: rgba(32, 33, 36, 0.68);
    text-transform: uppercase;
    z-index: 3;
  }

  .scrolly-visual p {
    margin: 16px 0 0;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 0.03em;
    color: var(--taupe);
  }

  .scrolly-visual[data-visual="document"] .visual-frame {
    background:
      linear-gradient(90deg, transparent 0 48%, rgba(32, 33, 36, 0.1) 48% 52%, transparent 52%),
      linear-gradient(rgba(32, 33, 36, 0.12) 0 1px, transparent 1px) 12% 24% / 72% 12%,
      var(--paper);
  }

  .scrolly-visual[data-visual="document"] .visual-object {
    width: 35%;
    aspect-ratio: 1;
    border-radius: 50%;
    right: 12%;
    bottom: 18%;
    background:
      radial-gradient(circle at 46% 46%, #202124 0 18%, #55575a 19% 42%, transparent 43%),
      #121416;
  }

  .scrolly-visual[data-visual="data"] .visual-frame {
    background: var(--cocoa);
  }

  .scrolly-visual[data-visual="data"] .visual-frame::before {
    border-color: rgba(244, 241, 234, 0.18);
  }

  .scrolly-visual[data-visual="data"] .visual-object {
    inset: auto 10% 18% 10%;
    width: auto;
    height: 48%;
    aspect-ratio: auto;
    border-radius: 0;
    background:
      linear-gradient(90deg, #ece9e5 0 19%, transparent 19% 23%, rgba(244,241,238,0.42) 23% 45%, transparent 45% 49%, rgba(244,241,238,0.28) 49% 72%, transparent 72% 76%, rgba(244,241,238,0.2) 76% 100%);
    box-shadow: none;
  }

  .scrolly-visual[data-visual="social"] .visual-frame {
    background:
      radial-gradient(circle at 72% 26%, rgba(32, 33, 36, 0.1), transparent 26%),
      var(--bone);
  }

  .scrolly-visual[data-visual="social"] .visual-object {
    width: 44%;
    aspect-ratio: 9 / 16;
    border-radius: 24px;
    right: 12%;
    bottom: 12%;
    background:
      linear-gradient(rgba(244,241,234,0.16) 0 1px, transparent 1px) 0 0 / 100% 12%,
      #1a1815;
  }

  .scrolly-visual[data-visual="retail"] .visual-frame {
    background:
      linear-gradient(rgba(32, 33, 36, 0.1) 0 1px, transparent 1px) 0 0 / 100% 14%,
      linear-gradient(90deg, rgba(32, 33, 36, 0.08), transparent),
      var(--bone);
  }

  .scrolly-visual[data-visual="retail"] .visual-object {
    width: 62%;
    aspect-ratio: 1.35;
    border-radius: 4px;
    right: 9%;
    bottom: 18%;
    background:
      linear-gradient(90deg, rgba(32, 33, 36, 0.92) 0 32%, rgba(244,241,238,0.82) 32% 34%, rgba(32, 33, 36, 0.72) 34% 66%, rgba(244,241,238,0.82) 66% 68%, rgba(32,33,36,0.48) 68% 100%);
  }

  .scrolly-visual[data-visual="person"] .visual-object {
    width: 42%;
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px 8px 8px;
    background:
      radial-gradient(circle at 52% 18%, #2a1e18 0 18%, transparent 19%),
      linear-gradient(160deg, #f4f1ea 0 44%, #1a1815 45% 100%);
  }

  .planet-mode .visual-frame,
  .planet-visual .visual-frame {
    border-color: rgba(197, 198, 200, 0.28);
    background:
      radial-gradient(circle at 54% 48%, rgba(197, 198, 200, 0.22), transparent 30%),
      linear-gradient(rgba(197, 198, 200, 0.08) 1px, transparent 1px) 0 0 / 100% 14%,
      linear-gradient(90deg, rgba(197, 198, 200, 0.08) 1px, transparent 1px) 0 0 / 14% 100%,
      var(--midnight);
  }

  .planet-mode .visual-frame::before,
  .planet-visual .visual-frame::before {
    border-color: rgba(197, 198, 200, 0.18);
  }

  .planet-mode .visual-frame::after,
  .planet-visual .visual-frame::after {
    border-color: rgba(197, 198, 200, 0.45);
  }

  .planet-mode .visual-object,
  .planet-visual .visual-object,
  .scrolly-visual[data-visual="planet"] .visual-object {
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    right: 18%;
    bottom: 28%;
    background:
      radial-gradient(circle at 35% 35%, rgba(255,255,255,0.35), transparent 20%),
      radial-gradient(circle at 62% 60%, rgba(236, 233, 229, 0.55), transparent 20%),
      linear-gradient(135deg, #3f4245, #202124 48%, #8d8f90 52%, #101214);
    box-shadow: 0 0 80px rgba(197, 198, 200, 0.22);
  }

  .planet-mode .visual-label,
  .planet-visual .visual-label,
  .planet-mode .scrolly-visual p,
  .planet-visual p {
    color: rgba(197, 198, 200, 0.66);
  }

  .copy-block p,
  .copy-block li {
    font-size: clamp(18px, 1.35vw, 22px);
  }

  .copy-block blockquote {
    margin-top: clamp(42px, 6vw, 84px);
    margin-bottom: clamp(42px, 6vw, 84px);
  }

  .image-brief {
    margin-top: clamp(48px, 7vw, 96px);
    max-width: 860px;
  }

  .copy-table-wrap {
    max-width: 900px;
  }

  .cold-open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(70px, 8vh, 110px);
    padding-bottom: clamp(70px, 8vh, 110px);
  }

  .cold-open .lines {
    font-size: clamp(30px, 4.2vw, 58px);
    margin-bottom: clamp(34px, 5vh, 56px);
  }

  .cold-open .title {
    font-size: clamp(56px, 7.8vw, 122px);
    margin: 0 0 22px 0;
  }

  .gummi-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.62fr);
    column-gap: clamp(42px, 6vw, 96px);
    align-items: center;
  }

  .gummi-hero .copy-block {
    grid-column: 1;
    grid-row: 1;
    max-height: none;
    overflow: visible;
  }

  .gummi-hero .scrolly-visual {
    display: block;
    grid-column: 2;
    grid-row: 1;
    position: relative;
    align-self: center;
  }

  .gummi-hero .gh-eyebrow,
  .gummi-hero .gh-title,
  .gummi-hero .gh-title-2 {
    grid-column: 1;
  }

  .proj-footer {
    display: grid;
    align-items: center;
  }
}

/* ─── Deep-dive entrance animations ───────────────────────────── */
@keyframes dd-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* Project header: cascade in on page load */
.proj-header .crumbs      { animation: dd-rise 700ms  60ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.proj-header .proj-num    { animation: dd-rise 800ms 160ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.proj-header .proj-eyebrow{ animation: dd-rise 700ms 260ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.proj-header .proj-title  { animation: dd-rise 820ms 340ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.proj-header .proj-deck   { animation: dd-rise 700ms 480ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.proj-header .proj-meta   { animation: dd-rise 700ms 600ms cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Section heading scroll-reveal */
.dd-h2 {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 750ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
}
.dd-h2.in { opacity: 1; transform: none; }

/* Scrolly visual reveal (fade + lift, already transitions via is-current on desktop) */
.scrolly-visual {
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1),
              opacity 600ms ease;
}

/* Media inside visual-frame — fills the frame, covers CSS placeholders */
.media-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* Cold-open background video */
.cold-open { position: relative; overflow: hidden; }
.co-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  z-index: 0;
  pointer-events: none;
}
.cold-open > *:not(.co-bg) { position: relative; z-index: 1; }

/* ── Animated charts: signal-red overrides (--oxblood is now dark ink) ── */
.bar-row.brand .bar-fill        { background: var(--signal); }
.bar-chart .bc-headline .accent { color: var(--signal); }
.gap-stat .gs-num               { color: var(--signal); }
.stat-stack .ss-num.accent      { color: var(--signal); }
.gantt .g-cell.peak             { box-shadow: inset 0 -3px 0 var(--signal); }

/* Compact bar chart inside the scrolly-visual panel */
.scrolly-visual .bar-chart { padding: 28px 24px; }
.scrolly-visual .bar-row   { grid-template-columns: 76px 1fr 52px; gap: 8px; }
.scrolly-visual .bar-row .bar-label { font-size: 11px; }
.scrolly-visual .bar-row .bar-value { font-size: 10px; }

/* Bar fill animates from 0 → --bw when .revealed is added */
.bar-fill {
  width: 0;
  transition: width 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.bar-chart.revealed .bar-fill { width: var(--bw, 0%); }
.bar-chart.inline-bars .bar-fill { width: var(--bw, 0%); }
.bar-row:nth-child(1) .bar-fill { transition-delay:   0ms; }
.bar-row:nth-child(2) .bar-fill { transition-delay: 120ms; }
.bar-row:nth-child(3) .bar-fill { transition-delay: 240ms; }
.bar-row:nth-child(4) .bar-fill { transition-delay: 360ms; }

/* Gap-stat stagger */
.gap-stat {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1);
}
.gap-stats.revealed .gap-stat:nth-child(1) { opacity:1; transform:none; transition-delay:  0ms; }
.gap-stats.revealed .gap-stat:nth-child(2) { opacity:1; transform:none; transition-delay:130ms; }
.gap-stats.revealed .gap-stat:nth-child(3) { opacity:1; transform:none; transition-delay:260ms; }
.gap-stats.revealed .gap-stat:nth-child(4) { opacity:1; transform:none; transition-delay:390ms; }

/* Stat-stack row stagger */
.stat-stack .ss-row {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 650ms cubic-bezier(0.16,1,0.3,1), transform 650ms cubic-bezier(0.16,1,0.3,1);
}
.stat-stack.revealed .ss-row:nth-child(1) { opacity:1; transform:none; transition-delay:  0ms; }
.stat-stack.revealed .ss-row:nth-child(2) { opacity:1; transform:none; transition-delay:100ms; }
.stat-stack.revealed .ss-row:nth-child(3) { opacity:1; transform:none; transition-delay:200ms; }
.stat-stack.revealed .ss-row:nth-child(4) { opacity:1; transform:none; transition-delay:300ms; }

/* Gantt 9-column override (Prep + 8 weeks) */
.gantt-9 { grid-template-columns: 160px repeat(9, 1fr); }

/* Gantt fade-in */
.gantt-wrap {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 800ms cubic-bezier(0.16,1,0.3,1), transform 800ms cubic-bezier(0.16,1,0.3,1);
}
.gantt-wrap.revealed { opacity: 1; transform: none; }

/* Section 20 Gantt — full-width visual below text content */
#s20 .scrolly-visual {
  display: block;
  grid-column: 1 / -1;
  grid-row: auto;
  position: relative;
  top: auto;
  opacity: 1;
  transform: none;
  margin-top: 2rem;
}
#s20 .visual-frame {
  min-height: auto;
  border: none;
  background: transparent;
  overflow: visible;
  transform: none;
}
#s20 .visual-frame::before,
#s20 .visual-frame::after {
  display: none;
}
#s20 .gantt-copy-list {
  --gantt-copy-progress: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 46px;
}
#s20 .gantt-copy-line {
  position: absolute;
  left: 13px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: rgba(221, 216, 210, 0.78);
  overflow: hidden;
}
#s20 .gantt-copy-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleY(var(--gantt-copy-progress));
  transform-origin: top;
  background: linear-gradient(to bottom, var(--taupe-soft), var(--oxblood) 56%, var(--ink));
  transition: transform 120ms linear;
}
#s20 .gantt-copy-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(136px, 0.34fr) 1fr;
  gap: clamp(18px, 2.4vw, 32px);
  padding: 13px 0;
  border-bottom: var(--rule-soft);
  align-items: baseline;
  opacity: 0.28;
  transform: translateY(18px);
  transition:
    opacity 360ms ease,
    transform 360ms cubic-bezier(0.16,1,0.3,1),
    border-color 260ms ease;
}
#s20 .gantt-copy-line + .gantt-copy-row {
  border-top: var(--rule);
}
#s20 .gantt-copy-time {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--taupe);
  transition: color 220ms ease;
}
#s20 .gantt-copy-beat {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(32, 33, 36, 0.62);
  transition: color 260ms ease;
}
#s20 .gantt-copy-dot {
  position: absolute;
  left: -39px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--taupe-soft);
  border: 3px solid var(--bone);
  box-shadow: 0 0 0 4px rgba(221, 216, 210, 0.8);
  transition: background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}
#s20 .gantt-copy-row.is-passed,
#s20 .gantt-copy-row.is-current {
  opacity: 1;
  transform: translateY(0);
}
#s20 .gantt-copy-row.is-passed .gantt-copy-time,
#s20 .gantt-copy-row.is-current .gantt-copy-time {
  color: var(--oxblood);
}
#s20 .gantt-copy-row.is-passed .gantt-copy-beat,
#s20 .gantt-copy-row.is-current .gantt-copy-beat {
  color: var(--ink);
}
#s20 .gantt-copy-row.is-passed .gantt-copy-dot {
  background: var(--oxblood);
  box-shadow: 0 0 0 4px var(--bone), 0 0 0 6px rgba(123, 45, 47, 0.14);
}
#s20 .gantt-copy-row:hover .gantt-copy-dot,
#s20 .gantt-copy-row.is-current .gantt-copy-dot,
#s20 .gantt-copy-row.is-now .gantt-copy-dot {
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--bone), 0 0 0 7px rgba(32, 33, 36, 0.14);
  transform: scale(1.08);
}
#s20 .gantt-copy-row:hover .gantt-copy-time {
  color: var(--ink);
}
#s20 .gantt-copy-total {
  margin-top: 4px;
}
#s20 .gantt-wrap {
  --gantt-progress: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#s20 .gantt {
  position: relative;
}
#s20 .gantt .g-cell {
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    color 260ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease;
}
#s20 .gantt .g-cell:not(.label) {
  opacity: 0.36;
  transform: translateY(8px);
}
#s20 .gantt .g-cell.is-passed,
#s20 .gantt .g-cell.is-current {
  opacity: 1;
  transform: translateY(0);
}
#s20 .gantt .g-cell.h.is-passed,
#s20 .gantt .g-cell.h.is-current {
  color: var(--oxblood);
}
#s20 .gantt .g-cell.is-current:not(.label) {
  box-shadow: inset 0 -3px 0 var(--oxblood), 0 0 0 1px rgba(123, 45, 47, 0.14);
}
#s20 .gantt .g-cell.peak.is-current,
#s20 .gantt .g-cell.peak.is-passed {
  box-shadow: inset 0 -3px 0 var(--oxblood);
}
@media (min-width: 1100px) {
  #s20 {
    grid-template-columns: minmax(150px, 0.22fr) minmax(0, 1fr);
  }
  #s20 .copy-block {
    grid-column: 2;
  }
  #s20 .scrolly-visual {
    grid-column: 1 / -1;
    margin-top: 2rem;
  }
  #s20 .gantt {
    min-width: 0;
    grid-template-columns: 120px repeat(9, 1fr);
    font-size: 11px;
  }
}
@media (min-width: 1400px) {
  #s20 .gantt .g-cell {
    padding: 16px 14px;
    font-size: 12px;
  }
}
@media (max-width: 1099px) {
  #s20 .gantt {
    min-width: 900px;
  }
}
@media (max-width: 700px) {
  #s20 .gantt-copy-list {
    padding-left: 40px;
  }
  #s20 .gantt-copy-line {
    left: 12px;
  }
  #s20 .gantt-copy-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  #s20 .gantt-copy-dot {
    left: -34px;
  }
}

/* Section 08 Ghost Account — centered visual below text */
#s08 .scrolly-visual {
  display: block;
  grid-column: 2;
  grid-row: auto;
  position: relative;
  top: auto;
  opacity: 1;
  transform: none;
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
#s08 .visual-frame {
  min-height: auto;
  border: none;
  background: transparent;
  overflow: visible;
  transform: none;
}
@media (min-width: 1100px) {
  #s08 {
    grid-template-columns: minmax(150px, 0.22fr) minmax(0, 1fr);
  }
  #s08 .copy-block {
    grid-column: 2;
  }
  #s08 .scrolly-visual {
    grid-column: 2;
    margin-top: 2rem;
  }
}

@media (min-width: 901px) {
  #s10 .dd-h2 {
    grid-column: 2 / -1;
    max-width: none;
  }

  #s10 .scrolly-visual {
    grid-column: 2;
    grid-row: 2;
  }

  #s10 .copy-block {
    grid-column: 3;
    grid-row: 2;
  }

  #s18 .scrolly-visual {
    display: none;
  }

  #s18 .brief-spread {
    grid-column: 2 / -1;
    max-width: none;
  }
}

.cart-flat-lay-visual {
  grid-column: 3;
  grid-row: 1 / span 3;
  align-self: start;
}

@media (max-width: 900px) {
  .cart-flat-lay-visual {
    display: block;
    position: relative;
    grid-column: auto;
    grid-row: auto;
    order: 2;
    width: 100%;
    margin: 28px 0 34px;
  }

  .cart-flat-lay-visual .visual-frame {
    min-height: clamp(280px, 62vw, 520px);
    transform: none;
  }
}

/* Section 12 cart image: keep the photo clean on every viewport. */
#s12 .visual-frame {
  background: transparent;
  border: 0;
  box-shadow: none;
}

#s12 .visual-frame::before,
#s12 .visual-frame::after {
  display: none;
}

#s12 .media-fill {
  z-index: 1;
}

/* Section 24 aisle video: prevent the social visual treatment from dulling it. */
#s24 .visual-frame {
  background: transparent;
}

#s24 .visual-frame::before,
#s24 .visual-frame::after {
  display: none;
}

#s24 .media-fill {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  z-index: 1;
}

/* Section 34 Planet Gummi video: soft slit fade instead of a hard frame. */
#s34 .visual-frame {
  border: 0;
  background: var(--midnight);
  box-shadow:
    inset 0 0 0 1px rgba(197, 198, 200, 0.1),
    0 26px 80px rgba(0, 0, 0, 0.32);
}

#s34 .visual-frame::before {
  inset: 0;
  z-index: 2;
  border: 0;
  background:
    linear-gradient(90deg, var(--midnight) 0%, rgba(12, 18, 30, 0.72) 4%, transparent 14%, transparent 86%, rgba(12, 18, 30, 0.72) 96%, var(--midnight) 100%),
    linear-gradient(180deg, var(--midnight) 0%, rgba(12, 18, 30, 0.52) 5%, transparent 16%, transparent 84%, rgba(12, 18, 30, 0.52) 95%, var(--midnight) 100%);
}

#s34 .visual-frame::after {
  inset: 10px;
  z-index: 3;
  width: auto;
  height: auto;
  right: 10px;
  top: 10px;
  border-radius: 0;
  border: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, rgba(197, 198, 200, 0.42) 18%, rgba(197, 198, 200, 0.64) 50%, rgba(197, 198, 200, 0.42) 82%, transparent 100%) 1;
  opacity: 0.72;
  transform: none;
}

#s34 .media-fill {
  filter: saturate(1.06) contrast(1.03);
  z-index: 1;
}
