/*
 * dr-cliff.css
 * jimthompsoncreative.com/work/dr-cliff.html
 * Dr. Cliff (HHS / AAP) AI Playground case study.
 * Requires: design-system.css loaded first.
 * Last updated: 2026-05-26 — v1
 */


/* ============================================================
   §1 HERO
   90vh, photo bg, content bottom-left anchored.
   Visit Mum pattern. Gradient added because hero image may
   not carry the dark legibility on its own.
   ============================================================ */
.dc-hero {
  width: 100%;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 7vw 7vh;
  background-image: url('../assets/dr_cliff_ai_playground/dr-cliff-hero.webp');
  background-size: cover;
  background-position: center top;
  background-color: #1a1e26;
}

.dc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(37,40,47,0.82) 0%,
    rgba(37,40,47,0.35) 50%,
    rgba(37,40,47,0) 100%
  );
  z-index: 1;
}

.dc-hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.dc-hero__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--chart);
  text-transform: uppercase;
  letter-spacing: .28em;
  margin-bottom: 16px;
  opacity: 0;
  animation: riseIn 0.7s ease 0.3s forwards;
}

.dc-hero__headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 200;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 480px;
  text-shadow: 0 1px 24px rgba(0,0,0,0.5);
  opacity: 0;
  animation: riseIn 0.8s ease 0.5s forwards;
}

.dc-hero__body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 300;
  color: var(--silver-bright);
  line-height: 1.65;
  max-width: 560px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.5);
  opacity: 0;
  animation: riseIn 0.7s ease 0.75s forwards;
}


/* ============================================================
   §2 MEET DR. CLIFF
   Skinny copy column (1fr), big video panel (2fr).
   Dr. Cliff's face dominates — copy supports.
   ============================================================ */
.dc-meet {
  padding: 120px 7vw;
}

.dc-meet__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  /* Phone is portrait, not landscape — copy gets the wider column,
     phone column sized to hold a centered phone with breathing room. */
  grid-template-columns: 1.35fr 1fr;
  gap: 5vw;
  align-items: center;
}

.dc-meet__copy {
  display: flex;
  flex-direction: column;
}

.dc-meet__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--chart);
  text-transform: uppercase;
  letter-spacing: .28em;
  margin-bottom: 20px;
}

.dc-meet__headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 2.3vw, 38px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

.dc-meet__body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--silver-bright);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Legal caption — sits under video, where disclaimers belong.
   Hairline silver, tight monospace, the language of footnotes
   not the language of headlines. */
.dc-meet__legal {
  margin-top: 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.55;
  letter-spacing: .04em;
  max-width: 100%;
}

.dc-meet__legal a {
  color: var(--chart);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,212,0,0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.dc-meet__legal a:hover {
  color: var(--chart-hot);
  border-color: var(--chart-hot);
}

/* ── Phone player column ──
   The video is grounded in a phone shell so there's no mistaking
   what the experience is — a product, in the hand, not a clip.
   Phone centered in its column with breathing room around it. */
.dc-meet__video-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Phone shell — pure CSS, no image dependency.
   Width-driven; height follows the 9:16 screen + bezel. */
.dc-phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 11px;
  border-radius: 46px;
  background: #0A0C10;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 18px 40px -24px rgba(0,0,0,0.55);
}

/* Dynamic-island notch */
.dc-phone__island {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 26px;
  background: #000;
  border-radius: 14px;
  z-index: 40;
  pointer-events: none;
}

/* The screen = the 9:16 video well */
.dc-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 36px;
  background: var(--mid);
  overflow: hidden;
  cursor: pointer;
}

/* Iframe shows its own set Vimeo thumbnail as the resting frame —
   no separate poster image to crop or manage. */

/* "Ask Dr. Cliff" label on a bottom scrim over the thumbnail,
   guarantees AAA contrast; both fade once the video plays. */
.dc-phone__scrim {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  z-index: 4;
  background: linear-gradient(
    to top,
    rgba(2,6,20,0.88) 8%,
    rgba(2,6,20,0.55) 38%,
    transparent 100%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.dc-phone__label {
  position: absolute;
  left: 0; right: 0; bottom: 32px;
  z-index: 5;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.dc-phone__scrim.hidden,
.dc-phone__label.hidden {
  opacity: 0;
}

.dc-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
}

/* ── Tap-to-play CTA ──
   Sits between body copy and legal note in the copy column.
   Mirrors visit-mum's eco-link CTA pattern. */
.dc-play-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--chart);
  text-transform: uppercase;
  letter-spacing: .18em;
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: color 0.2s ease;
}
.dc-play-cta:hover {
  color: var(--chart-hot);
}
.dc-play-cta:focus-visible {
  outline: 1px solid var(--chart);
  outline-offset: 6px;
  border-radius: 2px;
}
.dc-play-cta.is-playing .dc-play-cta__label::after {
  content: ' — playing';
  opacity: 0.6;
  font-weight: 300;
}

.dc-play-cta__ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(184,212,0,0.7);
  background: rgba(184,212,0,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.dc-play-cta:hover .dc-play-cta__ring {
  background: rgba(184,212,0,0.16);
  transform: scale(1.06);
}
.dc-play-cta__ring svg {
  width: 9px;
  height: 11px;
  fill: var(--chart);
  margin-left: 2px;
}

.dc-play-cta__label {
  white-space: nowrap;
}


/* ============================================================
   §3a LIBRARY CREATION
   Two-column ecosystem pattern. Sticky copy left, stage right.
   Stage: 1400 × 380 viewBox. Four spheres in a horizontal row.
   Visit Mum sphere pattern: position absolute, PNG fills sphere,
   label sits below.
   ============================================================ */
.dc-lib {
  max-width: 1600px;
  margin: 0 auto;
  padding: 120px 7vw 80px;
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 60px;
  align-items: center;
}

.dc-lib__copy {
  max-width: 340px;
}

.dc-lib__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--chart);
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.dc-lib__headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.dc-lib__body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--silver-bright);
  line-height: 1.7;
}

/* ── Library stage ── */
.dc-lib__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1400 / 380;
}

.dc-lib__arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}


/* ============================================================
   §3b TWO-STEP RAG
   Hub-and-spoke topology. Parent Question = hub.
   Pass One (chartreuse) flows left. Pass Two (silver) flows right.
   Handoff arrow bridges from AAP Match → Generation.
   Stage: 1400 × 900 viewBox (matches Visit Mum exactly).
   Guardrail band sits BELOW the stage, full section width.
   ============================================================ */
.dc-rag {
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 7vw 40px;
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 60px;
  align-items: start;
}

.dc-rag__copy {
  max-width: 340px;
  position: sticky;
  top: 100px;
}

.dc-rag__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--chart);
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.dc-rag__headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.dc-rag__body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--silver-bright);
  line-height: 1.7;
}

.dc-rag__voice-flag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--chart);
  opacity: 0.7;
  letter-spacing: .08em;
  margin-top: 14px;
  line-height: 1.5;
}

/* ── Legend — color-coded arrow key ── */
.dc-rag__legend {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dc-rag__legend-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dc-rag__legend-swatch {
  width: 28px;
  height: 1.5px;
  flex-shrink: 0;
  border-radius: 1px;
}

.dc-rag__legend-swatch--chart {
  background: linear-gradient(90deg, rgba(184,212,0,0.2), rgba(184,212,0,0.85));
}

.dc-rag__legend-swatch--silver {
  background: linear-gradient(90deg, rgba(157,162,181,0.2), rgba(232,234,240,0.85));
}

.dc-rag__legend-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--silver);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ── RAG stage ── */
.dc-rag__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1400 / 900;
  grid-column: 2;
}

.dc-rag__arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}


/* ============================================================
   §3 SHARED — Sphere + signal arrow primitives
   Visit Mum's ecosystem pattern, exact translation:
   - Sphere positioned absolute, PNG fills sphere container
   - Label sits below sphere via separate transform
   - Mix-blend-mode: lighten temporarily strips any dark PNG bg
   - Signal arrow: halo (thick blurred) + core (thin sharp) + bloom
   ============================================================ */

.dc-sphere {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.dc-sphere.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.dc-sphere img {
  width: 100%;
  height: auto;
  display: block;
  /* Temporary: rescues dark PNGs that don't have clean transparent bg.
     If PNGs ship truly transparent, can be removed. Same approach as Visit Mum. */
  mix-blend-mode: lighten;
}

/* Hub variant — Parent Question. The only human face on the page. */
.dc-sphere--hub img {
  /* Hub face is human, not a logo on a sphere — don't lighten or blend it.
     Photo PNG already has transparent bg. */
  mix-blend-mode: normal;
}

/* Sphere labels — sit below sphere, centered. Readable typography. */
.dc-sphere__labels {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 18px);
  width: max-content;
  max-width: 220px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.3;
  pointer-events: none;
}

.dc-sphere__primary {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .22em;
}

.dc-sphere__vendor {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--silver);
  letter-spacing: .14em;
}

.dc-sphere__sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 300;
  color: rgba(184,212,0,0.7);
  letter-spacing: .1em;
  margin-top: 2px;
}

/* Hub label sits ABOVE the hub sphere. At top:50% center, the hub is
   mid-stage. A label below would collide with Pass One/Two satellites. */
.dc-sphere--hub .dc-sphere__labels {
  top: auto;
  bottom: 100%;
  transform: translate(-50%, -18px);
}

/* ── Library sphere positions ──
   Stage viewBox: 1400 × 380. Four spheres at 50% vertical.
   Spaced evenly: 12.5%, 37.5%, 62.5%, 87.5%.
   Width tuned per-sphere to normalize visible diameters
   (Visit Mum approach to inconsistent PNG cropping). */
.lib-source  { left: 12.5%; top: 50%; width: 12%; }
.lib-chunk   { left: 37.5%; top: 50%; width: 12%; }
.lib-embed   { left: 62.5%; top: 50%; width: 12%; }
.lib-vector  { left: 87.5%; top: 50%; width: 12%; }

/* ── RAG sphere positions ──
   Stage viewBox: 1400 × 900.
   Hub at center (50%, 50%) — Parent Question, 22% width (largest).
   Pass One satellites on LEFT side at top/bottom.
   Pass Two satellites on RIGHT side at three vertical positions
   with enough vertical clearance to prevent label collisions.
   These percentages match the SVG arrow coordinates exactly. */
.rag-query     { left: 50%; top: 50%; width: 22%; }
.rag-retrieval { left: 12%; top: 30%; width: 13%; }
.rag-source    { left: 12%; top: 70%; width: 13%; }
.rag-gen       { left: 88%; top: 20%; width: 14%; }
.rag-voice     { left: 88%; top: 50%; width: 12%; }
.rag-char      { left: 88%; top: 80%; width: 12%; }


/* ── Signal arrow primitive ──
   Visit Mum exact pattern:
   - Group has class .dc-signal-arrow, opacity 0 initially
   - Inside: halo line (5px stroke, blurred via filter, 0.55 opacity)
            core line (1.25px stroke, sharp)
            terminus bloom circle (radial gradient, scales in)
   - JS adds .draw to group → strokes animate via stroke-dashoffset
   - 400ms later, .bloom added to terminus → flash animation */
.dc-signal-arrow {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.dc-signal-arrow.draw {
  opacity: 1;
}

.dc-signal-arrow .core,
.dc-signal-arrow .halo {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.dc-signal-arrow.draw .core,
.dc-signal-arrow.draw .halo {
  stroke-dashoffset: 0;
}

/* Terminus bloom — radial flash at arrival */
.dc-terminus-bloom {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
}
.dc-terminus-bloom.bloom {
  animation: dcBloomPulse 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes dcBloomPulse {
  0%   { opacity: 0; transform: scale(0.4); }
  50%  { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0.45; transform: scale(1); }
}


/* ── Guardrail band ──
   Sits BELOW the RAG stage, spanning full section width.
   Lives inside .dc-rag section but outside .dc-rag__stage. */
.dc-guardrail {
  grid-column: 1 / -1;
  margin-top: 60px;
  border-top: 1px solid rgba(184,212,0,0.4);
  border-bottom: 1px solid rgba(184,212,0,0.4);
  background: rgba(184,212,0,0.04);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.dc-guardrail.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dc-guardrail__item {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--chart);
  text-transform: uppercase;
  letter-spacing: .22em;
  white-space: nowrap;
}

.dc-guardrail__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(184,212,0,0.3);
  flex-shrink: 0;
}



/* ============================================================
   ETHICS OVERLAY
   Reuses design-system video-overlay pattern.
   ============================================================ */
.ethics-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ethics-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.ethics-overlay__label {
  position: absolute;
  top: 24px;
  left: 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: .25em;
}

.ethics-overlay__close {
  position: absolute;
  top: 20px;
  right: 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: .2em;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.ethics-overlay__close:hover {
  color: var(--white);
}

.ethics-overlay__content {
  max-width: 640px;
  padding: 0 40px;
}

.ethics-overlay__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--chart);
  text-transform: uppercase;
  letter-spacing: .28em;
  margin-bottom: 24px;
}

.ethics-overlay__headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 200;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.ethics-overlay__body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--silver-bright);
  line-height: 1.7;
}

.ethics-placeholder {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: rgba(184,212,0,0.5);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 32px;
  padding: 16px;
  border: 1px dashed rgba(184,212,0,0.2);
  line-height: 1.6;
}


/* ============================================================
   NEXT/PREV BAR
   ============================================================ */
.dc-next {
  width: 100%;
  padding: 48px 7vw 80px;
}

.dc-next__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dc-next__link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: .18em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 4px;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.dc-next__link:hover { color: var(--white); }
.dc-next__link--next { color: var(--chart); }
.dc-next__link--next:hover { color: var(--chart-hot); }

.dc-next__arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dc-next__link--prev:hover .dc-next__arrow { transform: translateX(-4px); }
.dc-next__link--next:hover .dc-next__arrow { transform: translateX(4px); }

.dc-next__prefix {
  color: var(--silver);
  opacity: 0.7;
  margin-right: 4px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  /* Collapse to single column. Sticky behavior off. */
  .dc-lib,
  .dc-rag {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .dc-rag__copy {
    position: static;
    max-width: 720px;
  }
  .dc-lib__copy {
    max-width: 720px;
  }
  .dc-rag__stage {
    grid-column: 1;
  }
  /* Guardrail still spans full section */
  .dc-guardrail {
    grid-column: 1;
  }
}

@media (max-width: 900px) {
  .dc-meet__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  /* Phone centers; legal caption tracks the phone width so it
     doesn't run the full page width when stacked. */
  .dc-meet__video-col { align-items: center; }
  .dc-meet__legal { max-width: 360px; text-align: center; }
  .dc-hero__headline {
    font-size: clamp(28px, 5vw, 40px);
  }
  /* Labels stay readable on tablet */
  .dc-sphere__primary { font-size: 12px; }
  .dc-sphere__vendor  { font-size: 10px; }
  .dc-sphere__sub     { font-size: 9px; }
}

@media (max-width: 600px) {
  .dc-hero { padding: 0 6vw 8vh; }
  .dc-meet { padding: 80px 6vw; }
  .dc-lib { padding: 80px 6vw 40px; }
  .dc-rag { padding: 60px 6vw 40px; }
  .dc-next__inner { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* Mobile: tighter labels since spheres are smaller.
     Sub line hidden on mobile to keep stage from getting cluttered. */
  .dc-sphere__labels {
    transform: translate(-50%, 12px);
    max-width: 140px;
  }
  .dc-sphere__primary { font-size: 10px; letter-spacing: .16em; }
  .dc-sphere__vendor  { font-size: 9px; }
  .dc-sphere__sub     { display: none; }

  /* Guardrail wraps tighter on mobile */
  .dc-guardrail {
    padding: 14px 18px;
    gap: 10px;
    margin-top: 40px;
  }
  .dc-guardrail__item {
    font-size: 9px;
    letter-spacing: .18em;
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .dc-hero__eyebrow,
  .dc-hero__headline,
  .dc-hero__body,
  .dc-sphere {
    animation: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .dc-sphere {
    transform: translate(-50%, -50%) !important;
  }
  .dc-signal-arrow {
    opacity: 1 !important;
    transition: none !important;
  }
  .dc-signal-arrow .core,
  .dc-signal-arrow .halo {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  .dc-terminus-bloom {
    opacity: 0.45 !important;
    transform: scale(1) !important;
    animation: none !important;
  }
  .dc-guardrail {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ============================================================
   AVATAR STRATEGY OVERLAY
   Full-screen with internal vertical scroll.
   Four options + multicultural. Steel background.
   ============================================================ */
.avatar-overlay {
  position: fixed;
  inset: 0;
  background: var(--steel);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow: hidden;
}

.avatar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Fixed chrome — label + close stay pinned */
.avatar-overlay__label {
  position: absolute;
  top: 24px;
  left: 40px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: .25em;
  z-index: 10;
}

.avatar-overlay__close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: .2em;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  z-index: 10;
}
.avatar-overlay__close:hover { color: var(--white); }

/* Scrollable region — full height, scrolls under fixed chrome */
.avatar-overlay__scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 80px 7vw 120px;
}

/* Content column — centered, max width */
.avatar-overlay__content {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Header ── */
.avatar-overlay__header {
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(157,162,181,0.15);
  margin-bottom: 72px;
}

.avatar-overlay__eyebrow {
  margin-bottom: 20px;
}

.avatar-overlay__headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 200;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 720px;
}

.avatar-overlay__intro {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--silver-bright);
  line-height: 1.7;
  max-width: 680px;
}

/* ── Option rows ──
   Copy left, visuals right.
   Grid: auto (number) | copy column | photos column */
.avatar-option {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  grid-template-areas: "meta copy photos";
  gap: 40px 48px;
  align-items: start;
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid rgba(157,162,181,0.1);
}

.avatar-option__meta   { grid-area: meta; }
.avatar-option__copy   { grid-area: copy; }
.avatar-option__photos { grid-area: photos; }

.avatar-option--multi {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Meta column — number + optional tag */
.avatar-option__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 4px;
}

.avatar-option__number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 200;
  color: var(--silver);
  line-height: 1;
  letter-spacing: -.02em;
}

.avatar-option__number--chart {
  color: var(--chart);
  font-size: 32px;
}

.avatar-option__tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  color: var(--chart);
  text-transform: uppercase;
  letter-spacing: .28em;
  white-space: nowrap;
  display: block;
  margin-bottom: 10px;
}

/* ── Photo arrangements ── */
.avatar-option__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

/* Option 1 — pair with arrow between: always side-by-side, normalized sizes */
.avatar-option__photos--pair {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.avatar-option__photos--pair .avatar-option__photo-wrap img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Arrow between pair photos */
.avatar-option__pair-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.avatar-option__pair-arrow svg {
  width: 80px;
  height: 24px;
  display: block;
}

.avatar-option__pair-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: .2em;
  white-space: nowrap;
}

/* Option 3 — headshot primary + two news stills stacked */
.avatar-option__photos--trio {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: start;
}
.avatar-option__photos--trio .avatar-option__photo-wrap:first-child {
  grid-row: 1 / 3;
}

/* Multicultural — four portraits in a row */
.avatar-option__photos--multi {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.avatar-option__photo-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avatar-option__photo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 240px;
}

.avatar-option__photo-wrap--news img {
  max-width: 220px;
}

.avatar-option__photos--multi .avatar-option__photo-wrap img {
  max-width: 200px;
}

/* Single portrait options (02, etc) — center within column */
.avatar-option__photos:not(.avatar-option__photos--pair):not(.avatar-option__photos--trio):not(.avatar-option__photos--multi):not(.avatar-option__photos--single) {
  justify-content: center;
}
.avatar-option__photos--single {
  display: flex;
  justify-content: center;
}
.avatar-option__photos--single .avatar-option__photo-wrap img {
  max-width: 300px;
}

/* Photo captions */
.avatar-option__caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 300;
  color: var(--silver);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── Copy column ── */
.avatar-option__copy {
  padding-top: 4px;
}

.avatar-option__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.avatar-option__body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--silver-bright);
  line-height: 1.75;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .avatar-option {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "meta copy"
      ".    photos";
    grid-template-rows: auto auto;
  }
  .avatar-option__photos--trio {
    grid-template-columns: auto auto;
    grid-template-rows: unset;
  }
  .avatar-option__photos--trio .avatar-option__photo-wrap:first-child {
    grid-row: unset;
  }
}

@media (max-width: 600px) {
  .avatar-overlay__scroll {
    padding: 72px 6vw 80px;
  }
  .avatar-option {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "copy"
      "photos";
    gap: 24px;
  }
  .avatar-option__meta {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .avatar-option__photo-wrap img {
    max-width: 180px;
  }
}
