/* ==========================================================================
   PAGES/COMPARE.CSS — EDITORIAL SYSTEM
   Flat surfaces · hairline borders · sharp corners · no soft glows.
   Breakpoints:
     PC      → default (≥1024px)
     Tablet  → max-width: 1023px
     Mobile  → max-width: 599px
     Small   → max-width: 380px
   ========================================================================== */


/* ==========================================================================
   §1. HERO — CANVAS & SHELL
   ========================================================================== */

.cd-hero {
  width: 100%;
  margin-top: -88px;
  padding-top: calc(var(--section-py) + 32px);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background-color: var(--color-dark-deep);
  color: var(--color-white);
}

[data-theme="dark"] .cd-hero {
  background-color: var(--color-bg-page);
}

/* Kept for markup compat — flat, no decorative canvas. */
.cd-hero-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cd-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-px);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.cd-head {
  text-align: center;
  margin-bottom: clamp(36px, 4.5vw, 60px);
}


/* ==========================================================================
   §1.1 HERO — BENTO GRID
   Flat cells · hairline grid · sharp corners · no drop shadow.
   ========================================================================== */

.cd-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  border: var(--border-hairline) solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xs);
  box-sizing: border-box;
  overflow: hidden;
}

[data-theme="dark"] .cd-grid {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.cd-cell {
  background-color: #17171c;
  padding: clamp(24px, 2.5vw, 36px);
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: background-color var(--transition-fast);
}

[data-theme="dark"] .cd-cell {
  background-color: #121215;
}

.cd-cell:hover {
  background-color: #1c1c22;
}

[data-theme="dark"] .cd-cell:hover {
  background-color: #18181c;
}

.cd-s2 { grid-column: span 2; }
.cd-s4 { grid-column: span 4; }

.cd-cell-top {
  display: flex;
  flex-direction: column;
}


/* ==========================================================================
   §1.2 HERO — STAT / QUESTION CELLS
   ========================================================================== */

.cd-big {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-white);
}

.cd-label {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  max-width: 24ch;
}

.cd-tag {
  margin: 28px 0 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-tag svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
}


/* ==========================================================================
   §1.3 HERO — QUOTE / MANIFESTO CELLS
   ========================================================================== */

.cd-mark {
  width: 24px;
  height: 18px;
  color: var(--color-purple-primary);
  margin-bottom: 14px;
  display: block;
}

.cd-quote {
  margin: 0;
  padding: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.85rem + 0.45vw, 1.25rem);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--color-white);
  max-width: 40ch;
}

.cd-quote p {
  margin: 0 0 0.5em;
}

.cd-quote p:last-child {
  margin-bottom: 0;
}

.cd-quote .cd-soft {
  display: block;
  margin-top: 12px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   §1.4 HERO — FOOTERS (author, release, CTA)
   ========================================================================== */

.cd-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: var(--border-hairline) solid rgba(255, 255, 255, 0.08);
}

.cd-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cd-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
  background-color: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-white);
}

.cd-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cd-author-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cd-name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-white);
}

.cd-role {
  margin: 2px 0 0;
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.45);
}

.cd-release {
  display: flex;
  flex-direction: column;
}

.cd-release .cd-role {
  margin: 0 0 2px;
  font-size: 11px;
}

.cd-release .cd-name {
  margin: 0;
  font-size: clamp(14.5px, 0.15vw + 14px, 16px);
  font-weight: 700;
}

/* CTA — flat, sharp, no shadow. Same discipline as search button. */
.cd-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: var(--border-thin) solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
  background-color: transparent;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.cd-cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.cd-cta:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-black);
}

.cd-cta:hover svg {
  transform: translate(2px, -2px);
}

.cd-cta:focus-visible {
  outline: var(--border-thick) solid var(--color-purple-primary);
  outline-offset: 2px;
}


/* ==========================================================================
   §2. COMPLETED FIELD REPORTS
   Restrained premium — flat panels, soft lift on hover.
   ========================================================================== */

.compare-feed-section {
  position: relative;
  width: 100%;
  padding: var(--section-py) var(--section-px);
  box-sizing: border-box;
  background-color: var(--color-bg-subtle);
  border-top: var(--border-hairline) solid var(--color-border-subtle);
}

[data-theme="dark"] .compare-feed-section {
  background-color: var(--color-bg-page);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.compare-feed-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  box-sizing: border-box;
}

.compare-feed-grid {
  width: 100%;
  margin-top: var(--content-gap);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--content-gap);
}


/* ==========================================================================
   §2.1 FEED CARD
   ========================================================================== */

.feed-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  border: var(--border-hairline) solid var(--color-border-divider);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

[data-theme="dark"] .feed-card {
  background-color: var(--color-bg-alt);
  border-color: rgba(255, 255, 255, 0.1);
}

.feed-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--color-purple-accent-rgb), 0.4);
  box-shadow: 0 16px 40px -12px rgba(var(--color-purple-accent-rgb), 0.14);
}

[data-theme="dark"] .feed-card:hover {
  border-color: rgba(var(--color-purple-primary-rgb), 0.4);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}

.feed-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-slot-bg);
}

.feed-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feed-card:hover .feed-card-media img {
  transform: scale(1.03);
}

.feed-badge-group {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.feed-badge-group .badge-pill {
  padding: 5px 10px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feed-card-body {
  min-width: 0;
  flex: 1;
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.feed-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text-subtle);
}

[data-theme="dark"] .feed-meta-row {
  color: rgba(255, 255, 255, 0.5);
}

.feed-meta-dot {
  opacity: 0.5;
}

.feed-card-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 0.95rem + 0.7vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-black);
  text-wrap: balance;
}

[data-theme="dark"] .feed-card-title {
  color: var(--color-white);
}

.feed-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.feed-card-title a:hover,
.feed-card-title a:focus-visible {
  color: var(--color-purple-accent);
}

[data-theme="dark"] .feed-card-title a:hover,
[data-theme="dark"] .feed-card-title a:focus-visible {
  color: var(--color-purple-primary);
}

.feed-card-footer {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.feed-author-box {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feed-author-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 6px;
  background-color: var(--color-bg-subtle);
}

[data-theme="dark"] .feed-author-avatar {
  background-color: rgba(255, 255, 255, 0.06);
}

.feed-author-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.feed-author-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-main);
}

[data-theme="dark"] .feed-author-name {
  color: var(--color-white);
}

.feed-author-role {
  font-family: var(--font-body);
  font-size: 10.5px;
  line-height: 1.2;
  color: var(--color-text-subtle);
}

[data-theme="dark"] .feed-author-role {
  color: rgba(255, 255, 255, 0.45);
}

.feed-cta-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-black);
  text-decoration: none;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .feed-cta-link {
  color: var(--color-white);
}

.feed-cta-link svg {
  flex: 0 0 auto;
  transition: transform var(--transition-fast);
}

.feed-cta-link:hover,
.feed-cta-link:focus-visible {
  color: var(--color-purple-accent);
}

[data-theme="dark"] .feed-cta-link:hover,
[data-theme="dark"] .feed-cta-link:focus-visible {
  color: var(--color-purple-primary);
}

.feed-cta-link:hover svg,
.feed-cta-link:focus-visible svg {
  transform: translate(2px, -2px);
}


/* ==========================================================================
   §3. VERTICAL TIMELINE ROADMAP
   ========================================================================== */

.compare-timeline-section {
  position: relative;
  width: 100%;
  padding: var(--section-py) var(--section-px);
  box-sizing: border-box;
  background-color: var(--color-bg-page);
  border-top: var(--border-hairline) solid var(--color-border-subtle);
}

[data-theme="dark"] .compare-timeline-section {
  background-color: var(--color-bg-page);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.compare-timeline-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: flex-start;
  box-sizing: border-box;
}


/* ==========================================================================
   §3.1 TIMELINE — STICKY LEFT ANCHOR
   ========================================================================== */

.timeline-sticky-col {
  position: sticky;
  top: 100px;
  box-sizing: border-box;
}

.timeline-sticky-inner {
  display: flex;
  flex-direction: column;
}

/* Caption box — rule-above editorial eyebrow. Scoped to this column so
   we don't leak into other .caption-box usages. */
.timeline-sticky-col .caption-box {
  border-left: none;
  border-top: var(--border-thin) solid var(--color-purple-accent);
  padding-left: 0;
  padding-top: 8px;
  margin-bottom: 24px;
}

.timeline-sticky-col .caption-box .text-caption-uppercase {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-purple-accent);
}

[data-theme="dark"] .timeline-sticky-col .caption-box {
  border-top-color: var(--color-purple-primary);
}

[data-theme="dark"] .timeline-sticky-col .caption-box .text-caption-uppercase {
  color: var(--color-purple-primary);
}

.timeline-headline {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  text-wrap: balance;
}

[data-theme="dark"] .timeline-headline {
  color: var(--color-white);
}

.timeline-headline-accent {
  color: var(--color-purple-accent);
}

[data-theme="dark"] .timeline-headline-accent {
  color: var(--color-purple-primary);
}

.timeline-deck {
  margin: clamp(16px, 2vw, 24px) 0 0;
  font-family: var(--font-body);
  font-size: clamp(14px, 0.15vw + 13.5px, 15.5px);
  line-height: 1.68;
  color: var(--color-text-muted);
  max-width: 440px;
}

[data-theme="dark"] .timeline-deck {
  color: rgba(255, 255, 255, 0.65);
}

.timeline-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(28px, 3.5vw, 40px);
  flex-wrap: wrap;
}

/* Buttons — flat, sharp, no lift. */
.timeline-btn-primary,
.timeline-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.timeline-btn-primary {
  background-color: var(--color-black);
  color: var(--color-white);
  border: var(--border-thin) solid var(--color-black);
}

.timeline-btn-primary:hover {
  background-color: var(--color-purple-accent);
  border-color: var(--color-purple-accent);
  color: var(--color-white);
}

[data-theme="dark"] .timeline-btn-primary {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

[data-theme="dark"] .timeline-btn-primary:hover {
  background-color: var(--color-purple-primary);
  border-color: var(--color-purple-primary);
  color: var(--color-black);
}

.timeline-btn-secondary {
  padding: 12px 20px;
  background-color: transparent;
  color: var(--color-text-main);
  border: var(--border-thin) solid var(--color-border-divider);
}

.timeline-btn-secondary:hover {
  border-color: var(--color-purple-accent);
  color: var(--color-purple-accent);
}

[data-theme="dark"] .timeline-btn-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .timeline-btn-secondary:hover {
  border-color: var(--color-purple-primary);
  color: var(--color-purple-primary);
}


/* ==========================================================================
   §3.2 TIMELINE — VERTICAL SPINE & NODES
   ========================================================================== */

.timeline-feed-col {
  box-sizing: border-box;
}

.timeline-spine-track {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: clamp(28px, 4vw, 44px);
  border-left: var(--border-thick) solid rgba(var(--color-purple-accent-rgb), 0.28);
}

/* Spine line drawing animation */
.timeline-spine-fill {
  position: absolute;
  top: 0;
  left: calc(var(--border-thick) * -1);
  bottom: 0;
  width: var(--border-thick);
  background-color: var(--color-purple-accent);
  transform-origin: top;
  transform: scaleY(1);
  transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

[data-theme="dark"] .timeline-spine-fill {
  background-color: var(--color-purple-primary);
}

@media (prefers-reduced-motion: no-preference) {
  html.js .timeline-spine-track[data-reveal] .timeline-spine-fill {
    transform: scaleY(0);
  }

  html.js .timeline-spine-track.is-revealed .timeline-spine-fill,
  html.js .timeline-spine-track:not([data-reveal]) .timeline-spine-fill {
    transform: scaleY(1);
  }
}

[data-theme="dark"] .timeline-spine-track {
  border-left-color: rgba(var(--color-purple-primary-rgb), 0.28);
}

.timeline-node-item {
  position: relative;
  padding-bottom: clamp(48px, 6vw, 68px);
  box-sizing: border-box;
}

.timeline-node-item:last-child {
  padding-bottom: 0;
}

/* Bullet — square-ish, no glow by default (glow reserved for milestone). */
.timeline-bullet-dot {
  position: absolute;
  left: calc(clamp(28px, 4vw, 44px) * -1 - 6px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--color-white);
  border: var(--border-thick) solid var(--color-purple-accent);
  box-sizing: border-box;
}

[data-theme="dark"] .timeline-bullet-dot {
  background-color: var(--color-bg-page);
  border-color: var(--color-purple-primary);
}

/* Milestone — the only place a glow is allowed (single, meaningful). */
.timeline-node-milestone .timeline-bullet-dot {
  background-color: var(--color-purple-accent);
  border-color: var(--color-purple-accent);
  box-shadow: 0 0 12px rgba(var(--color-purple-accent-rgb), 0.6);
}

[data-theme="dark"] .timeline-node-milestone .timeline-bullet-dot {
  background-color: var(--color-purple-primary);
  border-color: var(--color-purple-primary);
  box-shadow: 0 0 12px rgba(var(--color-purple-primary-rgb), 0.6);
}

.timeline-node-year {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

[data-theme="dark"] .timeline-node-year {
  color: rgba(255, 255, 255, 0.5);
}

.timeline-node-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-text-main);
}

[data-theme="dark"] .timeline-node-title {
  color: var(--color-white);
}

.timeline-node-desc {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.62;
  color: var(--color-text-muted);
  max-width: 520px;
}

[data-theme="dark"] .timeline-node-desc {
  color: rgba(255, 255, 255, 0.65);
}

.timeline-node-action {
  margin-top: 18px;
}

/* Tag pills — flat, sharp, editorial. */
.timeline-tag-pill {
  display: inline-block;
  padding: 6px 12px;
  background-color: transparent;
  color: var(--color-text-main);
  border: var(--border-hairline) solid var(--color-border-divider);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

[data-theme="dark"] .timeline-tag-pill {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.18);
}

.timeline-pill-accent {
  background-color: var(--color-purple-accent);
  color: var(--color-white);
  border-color: var(--color-purple-accent);
}

[data-theme="dark"] .timeline-pill-accent {
  background-color: var(--color-purple-primary);
  color: var(--color-black);
  border-color: var(--color-purple-primary);
}


/* ==========================================================================
   §4. RESPONSIVE — TABLET (max-width: 1023px)
   ========================================================================== */

@media (max-width: 1023px) {

  /* ---- Hero ---- */
  .cd-hero {
    margin-top: -78px;
    padding-top: calc(var(--section-py) + 28px);
  }

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

  .cd-s2 { grid-column: span 1; }
  .cd-s4 { grid-column: span 2; }

  .cd-cell {
    min-height: 240px;
    padding: 22px;
  }

  /* Reorder: manifesto → 2 questions → manifesto → 2 questions */
  .cd-c1 { order: 1; }
  .cd-q1 { order: 2; }
  .cd-q2 { order: 3; }
  .cd-c2 { order: 4; }
  .cd-q3 { order: 5; }
  .cd-q4 { order: 6; }

  /* ---- Feed ---- */
  .compare-feed-grid {
    gap: 20px;
  }

  .feed-card-body {
    padding: 22px 24px;
  }

  /* ---- Timeline ---- */
  .caption-box{
    align-self: flex-start;
  }

  .compare-timeline-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .timeline-sticky-col {
    position: static;
  }

  .timeline-deck {
    max-width: 100%;
  }
}


/* ==========================================================================
   §5. RESPONSIVE — MOBILE (max-width: 599px)
   ========================================================================== */

@media (max-width: 599px) {

  /* ---- Hero ---- */
  .cd-hero {
    margin-top: -68px;
    padding-top: calc(var(--section-py) - 4px);
    padding-bottom: calc(var(--section-py) - 20px);
  }

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

  .cd-s2 { grid-column: span 1; }
  .cd-s4 { grid-column: span 2; }

  .cd-cell {
    min-height: 0;
    gap: 24px;
    padding: 20px 14px;
  }

  .cd-big {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
    letter-spacing: -0.03em;
  }

  .cd-label {
    font-size: 12.5px;
    line-height: 1.45;
    margin-top: 10px;
  }

  .cd-tag {
    margin-top: 20px;
    font-size: 11.5px;
    gap: 6px;
  }

  .cd-tag svg {
    width: 15px;
    height: 15px;
  }

  .cd-s4 {
    padding: 22px 16px;
  }

  .cd-quote {
    font-size: 15px;
    line-height: 1.42;
    max-width: 100%;
  }

  .cd-quote .cd-soft {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .cd-mark {
    width: 20px;
    height: 15px;
    margin-bottom: 10px;
  }

  .cd-s4 .cd-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
  }

  .cd-s4 .cd-cta {
    width: 100%;
    justify-content: center;
  }

  /* ---- Feed ---- */
  .compare-feed-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feed-card-body {
    padding: 18px 18px 20px;
  }

  .feed-author-role {
    display: none;
  }

  /* ---- Timeline ---- */
  .timeline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .timeline-btn-primary,
  .timeline-btn-secondary {
    width: 100%;
  }

  .timeline-spine-track {
    padding-left: 24px;
  }

  .timeline-bullet-dot {
    left: -29px;
  }
}


/* ==========================================================================
   §6. RESPONSIVE — SMALL MOBILE (max-width: 380px)
   ========================================================================== */

@media (max-width: 380px) {

  .cd-cell {
    padding: 16px 12px;
  }

  .cd-big {
    font-size: 1.25rem;
  }

  .cd-label {
    font-size: 12px;
  }

  .cd-tag {
    margin-top: 16px;
    font-size: 11px;
  }

  .cd-tag svg {
    width: 13px;
    height: 13px;
  }

  .cd-quote {
    font-size: 14px;
  }

  .cd-quote .cd-soft {
    font-size: 12px;
  }

  .cd-avatar {
    width: 34px;
    height: 34px;
  }
}


/* ==========================================================================
   §7. ACCESSIBILITY — REDUCED MOTION & TOUCH
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .cd-hero *,
  .feed-card *,
  .timeline-node-item * {
    transition: none !important;
  }
}

@media (hover: none) {
  .feed-card:hover {
    transform: none;
  }

  .feed-card:hover .feed-card-media img {
    transform: none;
  }
}