/* ═══════════════════════════════════════════════════════════════════════
   DopamineDriven.io — Homepage Styles
   home.css v1.0
   Prefix: ddh- (home page only. Never re-styles dd- classes.)
   Depends on: native.css (custom properties, dd-wrap, dd-btn, dd-ticker)
   ═══════════════════════════════════════════════════════════════════════ */

/* Tool color tokens (also in dashboard.css; duplicated here so home page
   works without dashboard.css being loaded) */
:root {
  --tool-steady: #00E8E8;
  --tool-spark:  #CCFF00;
  --tool-thread: #FF9500;
}


/* ┌─────────────────────────────────────────────────────────────────────┐
   │  KEYFRAMES                                                          │
   └─────────────────────────────────────────────────────────────────────┘ */

/* Scan line drifts top to bottom across the hero */
@keyframes ddh-scan {
  0%   { transform: translateY(0); opacity: 0; }
  8%   { opacity: 0.2; }
  92%  { opacity: 0.2; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* Cursor blink on the last hero word */
@keyframes ddh-blink {
  0%, 49%  { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Scroll indicator fill bar drops downward */
@keyframes ddh-scroll-fill {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Word stack entrance: each word lifts into view */
@keyframes ddh-word-in {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

/* Finale inner fade-up on scroll into view */
@keyframes ddh-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}


/* ┌─────────────────────────────────────────────────────────────────────┐
   │  1. HERO                                                            │
   └─────────────────────────────────────────────────────────────────────┘ */

.ddh-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* padding-top NOT needed: dd-site-shell handles nav offset */
}

/* ── Dot grid background ──────────────────────────────────────────── */
.ddh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(
    circle,
    rgba(0, 207, 207, 0.1) 1px,
    transparent 1px
  );
  background-size: 44px 44px;
  /* Fade out toward all edges so the grid dissolves softly */
  -webkit-mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Animated horizontal scan line ───────────────────────────────── */
.ddh-hero::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: rgba(0, 207, 207, 0.2);
  z-index: 1;
  pointer-events: none;
  animation: ddh-scan 8s linear infinite;
  will-change: transform, opacity;
}

/* ── Hero content wrapper ─────────────────────────────────────────── */
.ddh-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* ── Label row (absolute, top-left of hero) ───────────────────────── */
.ddh-hero-label {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  left: clamp(1.5rem, 5vw, 4rem);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  user-select: none;
}

.ddh-hero-label span {
  color: var(--accent-2);
  margin-left: 0.75em;
}

/* ── Word stack headline ──────────────────────────────────────────── */
.ddh-hero-words {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
  list-style: none;
  line-height: 0.88;
  letter-spacing: -0.04em;
}

/* Each line is a clipping container */
.ddh-word-wrap {
  display: block;
  overflow: hidden;
}

/* The visible word inside the clip */
.ddh-word {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(4rem, 10.4vw, 10.4rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--text);
  transform: translateY(110%);
  animation: ddh-word-in 1s var(--ease-spring) forwards;
  will-change: transform;
}

/* Staggered entrance delays for each word line */
.ddh-word-wrap:nth-child(1) .ddh-word { animation-delay: 0.05s; }
.ddh-word-wrap:nth-child(2) .ddh-word { animation-delay: 0.18s; }
.ddh-word-wrap:nth-child(3) .ddh-word { animation-delay: 0.31s; }
.ddh-word-wrap:nth-child(4) .ddh-word { animation-delay: 0.44s; }

/* Cyan line variant */
.ddh-word-wrap--cyan .ddh-word {
  color: var(--accent-2);
}

/* Outline / broken word variant */
.ddh-word-wrap--outline .ddh-word {
  color: transparent;
  -webkit-text-stroke: 2px var(--text);
}

/* Blinking cursor appended to last word */
.ddh-cursor {
  display: inline-block;
  width: clamp(0.3rem, 0.6vw, 0.55rem);
  height: 0.82em;
  background: var(--accent-2);
  margin-left: 0.06em;
  vertical-align: baseline;
  position: relative;
  top: 0.04em;
  animation: ddh-blink 1s step-end infinite;
}

/* ── Hero foot: subtitle + CTAs ───────────────────────────────────── */
.ddh-hero-foot {
  max-width: 560px;
  opacity: 0;
  animation: ddh-fade-up 0.9s var(--ease-smooth) 0.9s forwards;
  will-change: opacity, transform;
}

.ddh-hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 2rem;
}

/* ── CTA row ──────────────────────────────────────────────────────── */
.ddh-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
}

/* Primary CTA: cyan fill, black text */
.ddh-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.875rem;
  background: var(--accent-2);
  color: #050505;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: none;
  white-space: nowrap;
  transition:
    background 200ms var(--ease-smooth),
    transform 220ms var(--ease-spring),
    box-shadow 200ms var(--ease-smooth);
}
.ddh-btn-primary:hover {
  background: #12e8e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 207, 207, 0.28);
}
.ddh-btn-primary:active { transform: translateY(0); }

/* Ghost CTA: border only, muted text */
.ddh-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.875rem;
  border: 1px solid var(--border-mid);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 2px;
  white-space: nowrap;
  transition:
    border-color 200ms var(--ease-smooth),
    color 200ms var(--ease-smooth),
    transform 220ms var(--ease-spring);
}
.ddh-btn-ghost:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  transform: translateY(-2px);
}
.ddh-btn-ghost:active { transform: translateY(0); }

/* ── Scroll prompt (bottom-right of hero, absolute) ───────────────── */
.ddh-scroll-prompt {
  position: absolute;
  bottom: clamp(2rem, 4vw, 3rem);
  right: clamp(1.5rem, 5vw, 4rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  opacity: 0;
  animation: ddh-fade-up 0.8s var(--ease-smooth) 1.4s forwards;
}

.ddh-scroll-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* Thin vertical bar with animated fill */
.ddh-scroll-bar {
  width: 1px;
  height: 52px;
  background: var(--border);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.ddh-scroll-bar::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 100%;
  background: var(--accent-2);
  transform: scaleY(0);
  transform-origin: top;
  animation: ddh-scroll-fill 2s var(--ease-spring) 1.8s infinite;
}


/* ┌─────────────────────────────────────────────────────────────────────┐
   │  1b. HERO — SIGNAL SPLIT LAYOUT                                    │
   └─────────────────────────────────────────────────────────────────────┘ */

/* Hub accent tokens (not in native.css) */
:root {
  --dd-hero-cyan:   #00D4FF;
  --dd-hero-purple: #B57FFF;
}

/* ── Background layers ── */
.ddh-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.ddh-hero-bg-glow {
  position: absolute; border-radius: 50%;
}
.ddh-hero-bg-glow--lime {
  top: -15%; left: -8%; width: 55%; height: 70%;
  background: radial-gradient(ellipse at 35% 40%, rgba(204,255,0,0.04) 0%, transparent 62%);
}
.ddh-hero-bg-glow--cyan {
  top: 5%; right: -8%; width: 50%; height: 65%;
  background: radial-gradient(ellipse at 65% 30%, rgba(0,212,255,0.03) 0%, transparent 60%);
}
.ddh-hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}

/* ── Two-column inner grid ── */
.ddh-hero-inner {
  position: relative; z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.ddh-hero-left  { display: flex; flex-direction: column; }
.ddh-hero-right {
  display: flex; flex-direction: column; gap: 0;
  opacity: 0;
  animation: ddh-fade-up 0.7s var(--ease-smooth) 0.35s forwards;
}

/* Shrink words for the half-width left column */
.ddh-hero-inner .ddh-word {
  font-size: clamp(3rem, 6.2vw, 6.5rem);
}
.ddh-hero-inner .ddh-hero-words {
  margin-bottom: 1.75rem;
}

/* ── Eyebrow ── */
.ddh-hero-eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: ddh-fade-up 0.6s var(--ease-smooth) 0.04s forwards;
}
.ddh-hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: ddh-eyebrow-pulse 2.5s ease-in-out infinite;
}
@keyframes ddh-eyebrow-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .25; transform: scale(.55); }
}
.ddh-hero-eyebrow-label {
  font-family: var(--font-mono);
  font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.ddh-hero-eyebrow-label em {
  font-style: normal; opacity: 0.4; margin-inline: 0.4em;
}

/* ── New subtitle ── */
.ddh-hero-sub {
  font-size: clamp(0.875rem, 1.3vw, 1.05rem);
  color: var(--muted); line-height: 1.72;
  margin: 0 0 1.875rem;
  max-width: 440px;
  opacity: 0;
  animation: ddh-fade-up 0.7s var(--ease-smooth) 0.62s forwards;
}

/* ── Channel rows ── */
.ddh-hero-channels {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: ddh-fade-up 0.7s var(--ease-smooth) 0.72s forwards;
}

.ddh-channel {
  display: flex; align-items: center; gap: 0;
  padding: 0.75rem 1rem;
  border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: inherit; text-decoration: none;
  position: relative; overflow: hidden;
  transition: background 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth);
}
.ddh-channel::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ddch-color, var(--accent));
  border-radius: 0 2px 2px 0; opacity: 0;
  transition: opacity 0.2s var(--ease-smooth);
}
.ddh-channel:hover { background: rgba(255,255,255,0.024); border-color: var(--border-mid); }
.ddh-channel:hover::before { opacity: 1; }

.ddh-channel-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 7px; margin-right: 0.875rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  color: var(--ddch-color, var(--accent));
  transition: background 0.2s, border-color 0.2s;
}
.ddh-channel:hover .ddh-channel-icon {
  background: rgba(var(--ddch-rgb), 0.1);
  border-color: rgba(var(--ddch-rgb), 0.28);
}

.ddh-channel-name {
  font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.01em;
  color: var(--text); margin-right: auto;
}

.ddh-channel-meta {
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--muted); margin-right: 1rem; white-space: nowrap;
}
.ddh-channel-meta strong { color: var(--ddch-color, var(--accent)); font-weight: 600; }

.ddh-channel-bar {
  width: 60px; height: 2px; margin-right: 0.875rem; flex-shrink: 0;
  background: var(--border); border-radius: 1px; overflow: hidden;
}
.ddh-channel-fill {
  display: block; height: 100%; border-radius: 1px;
  background: var(--ddch-color, var(--accent)); opacity: 0.4;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-spring);
}
.ddh-channel:hover .ddh-channel-fill { transform: scaleX(1); opacity: 0.85; }

.ddh-channel-arrow {
  font-size: 0.75rem; color: var(--faint);
  transition: color 0.2s, transform 0.2s var(--ease-spring);
}
.ddh-channel:hover .ddh-channel-arrow {
  color: var(--ddch-color, var(--accent)); transform: translateX(4px);
}

/* Channel colour variants */
.ddh-channel--research { --ddch-color: var(--accent);         --ddch-rgb: 204, 255,   0; }
.ddh-channel--genz     { --ddch-color: var(--dd-hero-cyan);   --ddch-rgb:   0, 212, 255; }
.ddh-channel--itat     { --ddch-color: var(--dd-hero-purple); --ddch-rgb: 181, 127, 255; }

/* ── Tools footnote ── */
.ddh-hero-tools-note {
  font-family: var(--font-mono); font-size: 0.625rem;
  color: var(--faint); line-height: 1.9;
  opacity: 0;
  animation: ddh-fade-up 0.7s var(--ease-smooth) 0.82s forwards;
}
.ddh-hero-tools-note a {
  color: var(--muted);
  transition: color 0.15s;
  text-underline-offset: 3px;
}
.ddh-hero-tools-note a:hover { color: var(--accent); text-decoration: underline; }

/* ── Feed: header ── */
.ddh-feed-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.875rem;
}
.ddh-feed-hdr-label {
  font-family: var(--font-mono); font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
  display: flex; align-items: center; gap: 0.5rem;
}
.ddh-feed-hdr-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px var(--accent);
  animation: ddh-eyebrow-pulse 2s ease-in-out infinite;
}
.ddh-feed-hdr-count {
  font-family: var(--font-mono); font-size: 0.625rem; color: var(--faint);
}

/* ── Feed: article cards ── */
.ddh-feed-cards { display: flex; flex-direction: column; gap: 0.5rem; }

.ddh-feed-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: 10px; display: block; color: inherit; text-decoration: none;
  transition: border-color 0.2s var(--ease-smooth), transform 0.25s var(--ease-spring);
}
.ddh-feed-card::after {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ddfc-accent, var(--accent));
  border-radius: 0 2px 2px 0;
}
.ddh-feed-card:hover {
  border-color: var(--border-mid);
  transform: translateX(4px);
}
.ddh-feed-card-in { padding: 1rem 1rem 1rem 1.25rem; }

.ddh-feed-card-top {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.ddh-feed-card-badge {
  font-family: var(--font-mono); font-size: 0.5625rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(var(--ddfc-rgb), 0.1); color: var(--ddfc-accent, var(--accent));
  border: 1px solid rgba(var(--ddfc-rgb), 0.25); padding: 2px 6px; border-radius: 4px;
}
.ddh-feed-card-sep {
  font-family: var(--font-mono); font-size: 0.6rem; color: var(--border-mid);
}
.ddh-feed-card-cat {
  font-family: var(--font-mono); font-size: 0.5625rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint);
}

.ddh-feed-card-title {
  font-size: 0.875rem; font-weight: 700; line-height: 1.35;
  letter-spacing: -0.01em; color: var(--text); margin-bottom: 0.5rem;
}

.ddh-feed-card-foot { display: flex; align-items: flex-start; gap: 0.75rem; }
.ddh-feed-card-snippet {
  font-size: 0.75rem; color: var(--muted); flex: 1; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ddh-feed-card-time {
  font-family: var(--font-mono); font-size: 0.6rem; color: var(--faint);
  white-space: nowrap; flex-shrink: 0; padding-top: 2px;
}

/* Card colour variants */
.ddh-feed-card--research { --ddfc-accent: var(--accent);         --ddfc-rgb: 204, 255,   0; }
.ddh-feed-card--genz     { --ddfc-accent: var(--dd-hero-cyan);   --ddfc-rgb:   0, 212, 255; }
.ddh-feed-card--itat     { --ddfc-accent: var(--dd-hero-purple); --ddfc-rgb: 181, 127, 255; }

/* ── ECG strip ── */
.ddh-hero-ecg {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  padding-block: 1rem;
}
.ddh-hero-ecg-inner {
  display: flex; align-items: center; gap: 2rem;
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}
.ddh-hero-ecg-track {
  flex: 1; overflow: hidden; height: 32px;
}
.ddh-hero-ecg-svg {
  width: 200%; height: 32px;
  animation: ddh-ecg-scroll 10s linear infinite;
}
@keyframes ddh-ecg-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ddh-hero-ecg-stats { display: flex; gap: 2rem; flex-shrink: 0; }
.ddh-hero-ecg-stat  { display: flex; flex-direction: column; gap: 3px; text-align: center; align-items: center; }
.ddh-hero-ecg-val {
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; line-height: 1;
}
.ddh-hero-ecg-val--lime   { color: var(--accent); }
.ddh-hero-ecg-val--cyan   { color: var(--dd-hero-cyan); }
.ddh-hero-ecg-val--purple { color: var(--dd-hero-purple); }
.ddh-hero-ecg-lbl {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}

/* ┌─────────────────────────────────────────────────────────────────────┐
   │  2. TICKER                                                          │
   │  (dd-ticker / dd-ticker-track fully handled in native.css)         │
   └─────────────────────────────────────────────────────────────────────┘ */

/* Separator spacing around the ticker when it appears on home */
.ddh-ticker-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


/* ┌─────────────────────────────────────────────────────────────────────┐
   │  3. THE RECKONING — Philosophy section                              │
   └─────────────────────────────────────────────────────────────────────┘ */

/* ── Outer section ──────────────────────────────────────────────────── */
.ddh-rec-section {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 5rem clamp(1.5rem, 6vw, 4rem);
  border-top: 1px solid var(--border);
}

/* Ambient bloom — purple/cyan, contrasts with hero's lime */
.ddh-rec-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(181,127,255,.06) 0%,
    rgba(0,212,255,.03) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* ── Inner centred column ───────────────────────────────────────────── */
.ddh-rec-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  width: 100%;
  text-align: center;
}

/* ── Eyebrow ────────────────────────────────────────────────────────── */
.ddh-rec-eyebrow {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #B57FFF;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.ddh-rec-eyebrow::before,
.ddh-rec-eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .4;
}

/* ── Myth chips (struck-through) ────────────────────────────────────── */
.ddh-rec-myths {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 3rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.ddh-rec-myth {
  font-family: var(--font-mono);
  font-size: clamp(.78rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.45);
  padding: .4rem .85rem;
  border: 1px solid #333;
  border-radius: 3px;
  position: relative;
  transition: color .2s ease, transform .2s ease;
  cursor: default;
}
.ddh-rec-myth::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 1.5px;
  background: #c0392b;
  transform: translateY(-50%);
  transition: background .2s ease;
}
.ddh-rec-myth:hover {
  color: rgba(245, 245, 245, 0.9);
  transform: scale(1.08);
}
.ddh-rec-myth:hover::after {
  background: #e74c3c;
}

/* ── Three-line reveal ──────────────────────────────────────────────── */
.ddh-rec-reveal {
  font-size: clamp(3.2rem, 8.5vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .95;
  margin-bottom: 2.5rem;
}
.ddh-rec-reveal-line1 { display: block; color: #222; }
.ddh-rec-reveal-line2 { display: block; color: #444; padding-top: .1em; }
.ddh-rec-reveal-line3 { display: block; color: var(--text); padding-top: .1em; }

.ddh-rec-accent {
  color: var(--accent);
  position: relative;
}
.ddh-rec-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: .05em;
  width: 100%;
  height: 3px;
  background: var(--accent);
  opacity: .5;
  border-radius: 2px;
}

/* ── Body copy ──────────────────────────────────────────────────────── */
.ddh-rec-body {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: #666;
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 3rem;
}

/* ── CTAs ───────────────────────────────────────────────────────────── */
.ddh-rec-ctas {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ddh-rec-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: #050505;
  font-weight: 800;
  font-size: .875rem;
  padding: .9rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .2s, transform .15s;
}
.ddh-rec-cta-primary:hover { background: #b8e600; transform: translateY(-1px); }

.ddh-rec-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #555;
  font-weight: 600;
  font-size: .875rem;
  padding: .9rem 0;
  text-decoration: none;
  border-bottom: 1px solid #2a2a2a;
  transition: color .2s, border-color .2s;
}
.ddh-rec-cta-ghost:hover { color: var(--text); border-color: #555; }

/* ── Hub strips ─────────────────────────────────────────────────────── */
.ddh-rec-hubs {
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.ddh-rec-hub {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
  transition: background .2s;
  text-decoration: none;
  color: inherit;
}
.ddh-rec-hub:last-child { border-right: none; }
.ddh-rec-hub:hover { background: rgba(255,255,255,.025); }

/* Top accent bar appears on hover */
.ddh-rec-hub::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity .25s;
}
.ddh-rec-hub:hover::before { opacity: 1; }
.ddh-rec-hub--lime::before   { background: var(--accent); }
.ddh-rec-hub--purple::before { background: #B57FFF; }
.ddh-rec-hub--cyan::before   { background: #00D4FF; }

.ddh-rec-hub-tag {
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ddh-rec-hub--lime   .ddh-rec-hub-tag { color: var(--accent); }
.ddh-rec-hub--purple .ddh-rec-hub-tag { color: #B57FFF; }
.ddh-rec-hub--cyan   .ddh-rec-hub-tag { color: #00D4FF; }

.ddh-rec-hub-question {
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -.015em;
}
.ddh-rec-hub-desc {
  font-size: .8rem;
  color: #555;
  line-height: 1.6;
  flex: 1;
}
.ddh-rec-hub-arrow {
  font-size: .8rem;
  color: #333;
  font-family: var(--font-mono);
  letter-spacing: .05em;
  margin-top: .25rem;
  transition: color .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.ddh-rec-hub:hover .ddh-rec-hub-arrow { color: var(--text); transform: translateX(4px); }
.ddh-rec-hub--lime:hover   .ddh-rec-hub-arrow { color: var(--accent); }
.ddh-rec-hub--purple:hover .ddh-rec-hub-arrow { color: #B57FFF; }
.ddh-rec-hub--cyan:hover   .ddh-rec-hub-arrow { color: #00D4FF; }


/* ┌─────────────────────────────────────────────────────────────────────┐
   │  4. QUIZZES SECTION                                                 │
   └─────────────────────────────────────────────────────────────────────┘ */

.ddh-quizzes {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--border);
}

/* Section header */
.ddh-quizzes-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ddh-quizzes-head-left { display: flex; flex-direction: column; gap: 0.5rem; }
.ddh-quizzes-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}
.ddh-quizzes-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  padding-bottom: 0.35rem; /* optical align with title baseline */
}
.ddh-quizzes-all:hover { color: var(--accent); }

/* Card grid — 3 hub cards, gaps match the hub page */
.ddh-quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Hub cards used here are links, not buttons — reset pointer */
.ddh-quiz-grid .dd-quiz-hub-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}

/* ┌─────────────────────────────────────────────────────────────────────┐
   │  5. TOOLS SECTION                                                   │
   └─────────────────────────────────────────────────────────────────────┘ */

.ddh-tools {
  /* Overall section has no extra padding — panels handle their own */
}

/* ── Section header ───────────────────────────────────────────────── */
.ddh-tools-header {
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  max-width: var(--wrap);
  margin-inline: auto;
}

.ddh-tools-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.875rem;
}

.ddh-tools-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 clamp(3rem, 5vw, 4.5rem);
  line-height: 1.08;
}

/* ── Individual tool panel ────────────────────────────────────────── */
.ddh-tool-panel {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 7vw, 6rem);
  border-top: 1px solid var(--border);
  /* Reveal start state */
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s var(--ease-spring),
    transform 0.7s var(--ease-spring);
}

.ddh-tool-panel.ddh-in-view {
  opacity: 1;
  transform: none;
}

/* Ghost oversized number in background */
.ddh-tool-bg-num {
  position: absolute;
  right: -0.1em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 30vw;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Two-column grid inside each panel */
.ddh-tool-panel-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── Left column ──────────────────────────────────────────────────── */
.ddh-tool-left {
  /* contains num, name, tagline, technique */
}

.ddh-tool-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ddh-tool-name {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 0.75rem;
}

.ddh-tool-tagline {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.ddh-tool-technique {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── Right column ─────────────────────────────────────────────────── */
.ddh-tool-right {
  /* contains desc and CTA */
}

.ddh-tool-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 2rem;
}

.ddh-tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--border-mid);
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition:
    border-color 200ms var(--ease-smooth),
    color 200ms var(--ease-smooth),
    transform 220ms var(--ease-spring);
}
.ddh-tool-cta:hover { transform: translateY(-2px); }
.ddh-tool-cta:active { transform: translateY(0); }

/* ── Tool color: Steady (cyan) ────────────────────────────────────── */
.ddh-tool-panel--steady .ddh-tool-num  { color: var(--tool-steady); }
.ddh-tool-panel--steady .ddh-tool-name { color: var(--tool-steady); }
.ddh-tool-panel--steady .ddh-tool-cta:hover {
  border-color: var(--tool-steady);
  color: var(--tool-steady);
}

/* ── Tool color: Spark (lime) ─────────────────────────────────────── */
.ddh-tool-panel--spark .ddh-tool-num  { color: var(--tool-spark); }
.ddh-tool-panel--spark .ddh-tool-name { color: var(--tool-spark); }
.ddh-tool-panel--spark .ddh-tool-cta:hover {
  border-color: var(--tool-spark);
  color: var(--tool-spark);
}

/* ── Tool color: Thread (orange) ──────────────────────────────────── */
.ddh-tool-panel--thread .ddh-tool-num  { color: var(--tool-thread); }
.ddh-tool-panel--thread .ddh-tool-name { color: var(--tool-thread); }
.ddh-tool-panel--thread .ddh-tool-cta:hover {
  border-color: var(--tool-thread);
  color: var(--tool-thread);
}

/* em inside tools title — faint "could" */
.ddh-tools-title em {
  font-style: normal;
  color: var(--faint);
}

/* ┌─────────────────────────────────────────────────────────────────────┐
   │  5b. ATLAS BENTO GRID                                               │
   │  Three tools side-by-side: Steady (58%, full height) +             │
   │  Spark / Thread stacked (42%). Gap-as-border technique.            │
   └─────────────────────────────────────────────────────────────────────┘ */

/* Outer wrapper: uses dd-wrap for max-width + padding-inline */
.ddh-atlas-outer {
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

/*
 * Gap-as-border: the grid's background IS the border colour.
 * Each card has a solid background; the 1px gap exposes the grid bg.
 * The outer border + border-radius + overflow:hidden complete the frame.
 */
.ddh-atlas-grid {
  display: grid;
  grid-template-columns: 58fr 42fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  height: 560px;
}

/* ── Base card ────────────────────────────────────────────────────── */
.ddh-atlas-card {
  background: #0d0d0d;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease;
}

/* 3px coloured accent strip at top of each card */
.ddh-atlas-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ddh-card-accent);
  z-index: 2;
}

/* Ghost number watermark */
.ddh-atlas-watermark {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  pointer-events: none;
  opacity: 0.04;
  transition: opacity 200ms ease;
  z-index: 0;
  user-select: none;
}

.ddh-atlas-card:hover .ddh-atlas-watermark { opacity: 0.07; }

/* Card inner — sits above watermark */
.ddh-atlas-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Label row: accent dot + mono label ──────────────────────────── */
.ddh-atlas-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ddh-atlas-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ddh-card-accent);
  box-shadow: 0 0 8px var(--ddh-card-accent);
  flex-shrink: 0;
}

.ddh-atlas-label {
  font-family: var(--font-mono);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ddh-card-accent);
  letter-spacing: 0.22em;
}

/* Tool name */
.ddh-atlas-name {
  font-family: var(--font-sans);
  font-weight: 900;
  color: var(--text);
  line-height: 1.0;
}

/* Tagline */
.ddh-atlas-tagline {
  color: rgba(245, 245, 245, 0.55);
  line-height: 1.6;
}

/* Flex spacer — pushes description / methods / CTA to the bottom */
.ddh-atlas-spacer { flex-grow: 1; }

/* Description paragraph (feature card only) */
.ddh-atlas-desc {
  color: rgba(245, 245, 245, 0.42);
  line-height: 1.7;
}

/* Method chips */
.ddh-atlas-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
}

.ddh-atlas-chip {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ddh-card-accent);
  background: var(--ddh-chip-bg);
  border: 1px solid var(--ddh-chip-border);
  border-radius: 4px;
  white-space: nowrap;
}

/* CTA button — solid accent bg (Steady) */
.ddh-atlas-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: var(--ddh-card-accent);
  color: #080808;
  font-family: var(--font-mono);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.ddh-atlas-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.ddh-atlas-cta:active { transform: translateY(0); }

/* CTA text-link (Spark / Thread) */
.ddh-atlas-cta-link {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ddh-card-accent);
  text-decoration: none;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms ease, opacity 200ms ease;
}

.ddh-atlas-cta-link:hover { gap: 8px; opacity: 0.8; }

/* ── Per-card hover glow ─────────────────────────────────────────── */
.ddh-atlas-card--steady:hover { box-shadow: 0 0 40px rgba(0,232,232,0.06); }
.ddh-atlas-card--spark:hover  { box-shadow: 0 0 40px rgba(204,255,0,0.05); }
.ddh-atlas-card--thread:hover { box-shadow: 0 0 40px rgba(255,149,0,0.05); }

/* ── STEADY — feature card (left column, spans both rows) ────────── */
.ddh-atlas-card--steady {
  grid-column: 1;
  grid-row: 1 / span 2;
  --ddh-card-accent:  var(--tool-steady);
  --ddh-chip-bg:      rgba(0,232,232,0.06);
  --ddh-chip-border:  rgba(0,232,232,0.20);
  background:
    radial-gradient(ellipse at 80% 90%, rgba(0,232,232,0.07) 0%, transparent 60%),
    #0d0d0d;
  padding: 48px;
}

.ddh-atlas-card--steady .ddh-atlas-watermark { font-size: 200px; bottom: -24px; right: -16px; }
.ddh-atlas-card--steady .ddh-atlas-label     { font-size: 10px; }
.ddh-atlas-card--steady .ddh-atlas-name      { font-size: 68px; letter-spacing: -0.04em; margin-top: 18px; }
.ddh-atlas-card--steady .ddh-atlas-tagline   { font-size: 17px; max-width: 380px; margin-top: 16px; }
.ddh-atlas-card--steady .ddh-atlas-desc      { font-size: 14px; max-width: 400px; margin-bottom: 20px; }
.ddh-atlas-card--steady .ddh-atlas-methods   { margin-bottom: 32px; }
.ddh-atlas-card--steady .ddh-atlas-chip      { font-size: 10px; padding: 4px 10px; }
.ddh-atlas-card--steady .ddh-atlas-cta       { font-size: 12px; padding: 11px 22px; }

/* ── SPARK — compact card (top-right) ───────────────────────────── */
.ddh-atlas-card--spark {
  grid-column: 2;
  grid-row: 1;
  --ddh-card-accent:  var(--tool-spark);
  --ddh-chip-bg:      rgba(204,255,0,0.06);
  --ddh-chip-border:  rgba(204,255,0,0.20);
  background:
    radial-gradient(ellipse at 90% 100%, rgba(204,255,0,0.05) 0%, transparent 55%),
    #0d0d0d;
  padding: 32px;
}

.ddh-atlas-card--spark .ddh-atlas-watermark { font-size: 130px; top: -10px; right: -8px; }
.ddh-atlas-card--spark .ddh-atlas-label     { font-size: 9px; }
.ddh-atlas-card--spark .ddh-atlas-name      { font-size: 42px; letter-spacing: -0.03em; margin-top: 14px; }
.ddh-atlas-card--spark .ddh-atlas-tagline   { font-size: 13px; max-width: 320px; margin-top: 12px; line-height: 1.55; }
.ddh-atlas-card--spark .ddh-atlas-methods   { margin-bottom: 20px; }
.ddh-atlas-card--spark .ddh-atlas-chip      { font-size: 9px; padding: 3px 8px; }
.ddh-atlas-card--spark .ddh-atlas-cta-link  { font-size: 11px; }

/* ── THREAD — compact card (bottom-right) ───────────────────────── */
.ddh-atlas-card--thread {
  grid-column: 2;
  grid-row: 2;
  --ddh-card-accent:  var(--tool-thread);
  --ddh-chip-bg:      rgba(255,149,0,0.06);
  --ddh-chip-border:  rgba(255,149,0,0.20);
  background:
    radial-gradient(ellipse at 85% 95%, rgba(255,149,0,0.06) 0%, transparent 55%),
    #0d0d0d;
  padding: 32px;
}

.ddh-atlas-card--thread .ddh-atlas-watermark { font-size: 130px; top: -10px; right: -8px; }
.ddh-atlas-card--thread .ddh-atlas-label     { font-size: 9px; }
.ddh-atlas-card--thread .ddh-atlas-name      { font-size: 42px; letter-spacing: -0.03em; margin-top: 14px; }
.ddh-atlas-card--thread .ddh-atlas-tagline   { font-size: 13px; max-width: 320px; margin-top: 12px; line-height: 1.55; }
.ddh-atlas-card--thread .ddh-atlas-methods   { margin-bottom: 20px; }
.ddh-atlas-card--thread .ddh-atlas-chip      { font-size: 9px; padding: 3px 8px; }
.ddh-atlas-card--thread .ddh-atlas-cta-link  { font-size: 11px; }

/* ── Responsive: single column at ≤768px ────────────────────────── */
@media (max-width: 768px) {
  .ddh-atlas-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }

  .ddh-atlas-card--steady { grid-column: 1; grid-row: 1; min-height: 420px; }
  .ddh-atlas-card--spark  { grid-column: 1; grid-row: 2; min-height: 280px; }
  .ddh-atlas-card--thread { grid-column: 1; grid-row: 3; min-height: 280px; }

  .ddh-atlas-card--steady .ddh-atlas-name { font-size: 52px; }
}

/* ┌─────────────────────────────────────────────────────────────────────┐
   │  6. ARTICLES SECTION                                                │
   │  (dd-article-grid / dd-article-card styled in native.css)          │
   └─────────────────────────────────────────────────────────────────────┘ */

.ddh-articles {
  padding-block: clamp(5rem, 10vw, 9rem);
}

/* Reusable section header: eyebrow + title on left, link on right */
.ddh-section-head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

/* Eyebrow label (shared utility, also used in finale) */
.ddh-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

/* Section heading (shared utility) */
.ddh-section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1.08;
  margin: 0;
}

/* The heading group (eyebrow + title stacked) */
.ddh-section-head-left {
  /* natural stacking */
}

/* Optional "see all" link aligned to baseline */
.ddh-section-head-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 2rem;
}
.ddh-section-head-link:hover {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}


/* ┌─────────────────────────────────────────────────────────────────────┐
   │  5b. HUMAN SIGNAL — Community & Unfiltered                         │
   └─────────────────────────────────────────────────────────────────────┘ */

/* ── Section wrapper ──────────────────────────────────────────────── */
.ddh-signal {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--border);
}

/* ── Section header ───────────────────────────────────────────────── */
.ddh-signal-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ddh-signal-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.ddh-signal-em {
  font-style: italic;
  color: rgba(245, 245, 245, 0.3);
}

.ddh-signal-sub {
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  color: var(--faint);
  line-height: 1.6;
  max-width: 420px;
}

/* ── Two-card grid ────────────────────────────────────────────────── */
.ddh-signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

/* ── Card base ────────────────────────────────────────────────────── */
.ddh-signal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  transition: background 0.3s ease;
  overflow: hidden;
}

.ddh-signal-card--community {
  border-right: 1px solid var(--border);
}

.ddh-signal-card--community:hover {
  background: rgba(245, 158, 11, 0.025);
}

.ddh-signal-card--unfiltered:hover {
  background: rgba(255, 68, 68, 0.025);
}

/* Top accent bar, appears on hover */
.ddh-signal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}
.ddh-signal-card:hover::before { transform: scaleX(1); }
.ddh-signal-card--community::before {
  background: linear-gradient(90deg, #f59e0b 0%, rgba(245,158,11,0) 100%);
}
.ddh-signal-card--unfiltered::before {
  background: linear-gradient(90deg, #ff4444 0%, rgba(255,68,68,0) 100%);
}

/* ── Card inner (scrollable content area) ────────────────────────── */
.ddh-signal-card-inner {
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

/* ── Tag line ─────────────────────────────────────────────────────── */
.ddh-signal-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.ddh-signal-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: box-shadow 0.3s ease;
}

.ddh-signal-card--community .ddh-signal-tag { color: #f59e0b; }
.ddh-signal-card--community .ddh-signal-tag-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245,158,11,0.5);
}

.ddh-signal-card--unfiltered .ddh-signal-tag { color: #ff4444; }
.ddh-signal-card--unfiltered .ddh-signal-tag-dot {
  background: #ff4444;
  box-shadow: 0 0 8px rgba(255,68,68,0.5);
  animation: ddh-signal-pulse 2.4s ease-in-out infinite;
}
@keyframes ddh-signal-pulse {
  0%,100% { box-shadow: 0 0 8px rgba(255,68,68,0.5); }
  50%      { box-shadow: 0 0 2px rgba(255,68,68,0.15); }
}

/* ── Card heading ─────────────────────────────────────────────────── */
.ddh-signal-heading {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 1.1rem;
  transition: letter-spacing 0.3s ease;
}
.ddh-signal-card:hover .ddh-signal-heading { letter-spacing: -0.055em; }

/* ── Deck (coloured tagline) ─────────────────────────────────────── */
.ddh-signal-deck {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.ddh-signal-card--community .ddh-signal-deck { color: #f59e0b; }
.ddh-signal-card--unfiltered .ddh-signal-deck { color: #ff4444; }

/* ── Description ──────────────────────────────────────────────────── */
.ddh-signal-desc {
  font-size: 0.875rem;
  color: var(--faint);
  line-height: 1.75;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}
.ddh-signal-card:hover .ddh-signal-desc { color: rgba(245,245,245,0.45); }

/* ── Thread feed (Community card) ────────────────────────────────── */
.ddh-signal-thread {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ddh-signal-thread-item {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.ddh-signal-thread-item:first-child { border-top: 1px solid var(--border); }

/* Avatars */
.ddh-signal-thread-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.ddh-signal-thread-avatar--1 {
  background: rgba(245,158,11,0.1);
  color: rgba(245,158,11,0.7);
  border: 1px solid rgba(245,158,11,0.18);
}
.ddh-signal-thread-avatar--2 {
  background: rgba(181,127,255,0.08);
  color: rgba(181,127,255,0.65);
  border: 1px solid rgba(181,127,255,0.15);
}
.ddh-signal-thread-avatar--3 {
  background: rgba(0,232,232,0.07);
  color: rgba(0,232,232,0.6);
  border: 1px solid rgba(0,232,232,0.12);
}
.ddh-signal-thread-avatar--4 {
  background: rgba(255,255,255,0.04);
  color: rgba(245,245,245,0.2);
  border: 1px solid var(--border);
}

/* Thread text body */
.ddh-signal-thread-body { flex: 1; min-width: 0; }

.ddh-signal-thread-meta {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(245,245,245,0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.ddh-signal-thread-name { color: rgba(245,245,245,0.4); }

.ddh-signal-thread-text {
  font-size: 0.825rem;
  color: rgba(245,245,245,0.45);
  line-height: 1.55;
  transition: color 0.3s ease;
}
.ddh-signal-card:hover .ddh-signal-thread-text { color: rgba(245,245,245,0.6); }

.ddh-signal-thread-reactions {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(245,245,245,0.2);
  margin-top: 0.4rem;
  display: flex;
  gap: 0.85rem;
  transition: color 0.3s ease;
}
.ddh-signal-card--community:hover .ddh-signal-thread-reactions {
  color: rgba(245,158,11,0.35);
}

/* ── Quote block (Unfiltered card) ───────────────────────────────── */
.ddh-signal-quote-wrap {
  padding: 1.5rem 0 1.5rem 1.25rem;
  border-left: 2px solid rgba(255,68,68,0.2);
  margin-bottom: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.4s ease;
}
.ddh-signal-card--unfiltered:hover .ddh-signal-quote-wrap {
  border-color: rgba(255,68,68,0.45);
}

.ddh-signal-quote {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-style: italic;
  color: rgba(245,245,245,0.4);
  line-height: 1.65;
  min-height: 4.5rem;
  margin: 0 0 0.6rem;
  transition: color 0.4s ease, opacity 0.4s ease;
}
.ddh-signal-card--unfiltered:hover .ddh-signal-quote {
  color: rgba(245,245,245,0.65);
}

.ddh-signal-quote-attr {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.55rem;
  color: rgba(245,245,245,0.2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.4s ease;
}
.ddh-signal-card--unfiltered:hover .ddh-signal-quote-attr {
  color: rgba(245,245,245,0.35);
}

/* ── Stat grid (Unfiltered card) ─────────────────────────────────── */
.ddh-signal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.ddh-signal-stat {
  padding: 0.9rem 1rem;
  background: var(--surface);
  text-align: center;
  transition: background 0.3s ease;
}
.ddh-signal-card:hover .ddh-signal-stat { background: var(--surface-2); }

.ddh-signal-stat-val {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(245,245,245,0.35);
  margin-bottom: 0.2rem;
  transition: color 0.3s ease;
}
.ddh-signal-card--unfiltered:hover .ddh-signal-stat-val { color: #ff4444; }

.ddh-signal-stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: rgba(245,245,245,0.2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Card footer ──────────────────────────────────────────────────── */
.ddh-signal-foot {
  padding: 1.5rem clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.3s ease;
}
.ddh-signal-card:hover .ddh-signal-foot { border-color: var(--border-mid); }

.ddh-signal-foot-stat {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(245,245,245,0.2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.ddh-signal-foot-stat strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
  color: rgba(245,245,245,0.15);
}
.ddh-signal-card--community:hover .ddh-signal-foot-stat strong { color: #f59e0b; }
.ddh-signal-card--unfiltered:hover .ddh-signal-foot-stat strong { color: #ff4444; }

/* ── CTA label ────────────────────────────────────────────────────── */
.ddh-signal-cta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 1.25rem;
  border-radius: 3px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.ddh-signal-card--community .ddh-signal-cta {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.15);
  color: #f59e0b;
}
.ddh-signal-card--community:hover .ddh-signal-cta {
  background: rgba(245,158,11,0.12);
  border-color: rgba(245,158,11,0.32);
  transform: translateX(3px);
}
.ddh-signal-card--unfiltered .ddh-signal-cta {
  background: rgba(255,68,68,0.06);
  border: 1px solid rgba(255,68,68,0.15);
  color: #ff4444;
}
.ddh-signal-card--unfiltered:hover .ddh-signal-cta {
  background: rgba(255,68,68,0.12);
  border-color: rgba(255,68,68,0.32);
  transform: translateX(3px);
}

/* ┌─────────────────────────────────────────────────────────────────────┐
   │  6. FINALE CTA                                                      │
   └─────────────────────────────────────────────────────────────────────┘ */

.ddh-finale {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--border);
}

/* Ghost background headline */
.ddh-finale-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: clamp(8rem, 20vw, 22rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

/* Content block */
.ddh-finale-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease-smooth),
    transform 0.9s var(--ease-spring);
}

.ddh-finale.ddh-in-view .ddh-finale-inner {
  opacity: 1;
  transform: none;
}

/* Eyebrow (reuses .ddh-eyebrow but scoped locally if needed) */
.ddh-finale-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

/* Main finale heading */
.ddh-finale-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin: 1.5rem 0 2.5rem;
}

/* CTA button row */
.ddh-finale-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* ┌─────────────────────────────────────────────────────────────────────┐
   │  7. RESPONSIVE                                                      │
   └─────────────────────────────────────────────────────────────────────┘ */

/* ── Hero split: stack at tablet ──────────────────────────────────── */
@media (max-width: 960px) {
  .ddh-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ddh-hero-right { display: none; } /* feed cards hidden on tablet/mobile */
  .ddh-hero-inner .ddh-word {
    font-size: clamp(3rem, 10vw, 6.5rem);
  }
}

@media (max-width: 640px) {
  .ddh-hero-ecg-track { display: none; }
  .ddh-hero-ecg-stats { margin-left: auto; }
}

/* ── Tablet / narrow desktop ──────────────────────────────────────── */
@media (max-width: 768px) {

  /* Quiz grid: 1 column on tablet */
  .ddh-quiz-grid { grid-template-columns: 1fr; }
  .ddh-quizzes-head { flex-direction: column; align-items: flex-start; }
  .ddh-quizzes-all { padding-bottom: 0; }

  /* Hero words shrink on mobile */
  .ddh-word {
    font-size: clamp(3.5rem, 14vw, 6rem);
  }

  /* Tool panels stack: left column above, right below */
  .ddh-tool-panel-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Ghost numbers clutter narrow screens */
  .ddh-tool-bg-num {
    display: none;
  }

  /* Tools header padding reset */
  .ddh-tools-header {
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  }

  /* Section head wraps on small screens */
  .ddh-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .ddh-section-head-link {
    margin-left: 0;
  }

  /* Finale bg text */
  .ddh-finale-bg {
    font-size: clamp(6rem, 24vw, 14rem);
  }
}

/* ── Hide scroll prompt below 640px ──────────────────────────────── */
@media (max-width: 640px) {
  .ddh-scroll-prompt {
    display: none;
  }
}

/* ── Small phones ─────────────────────────────────────────────────── */
@media (max-width: 480px) {

  .ddh-word {
    font-size: clamp(2.75rem, 16vw, 4.5rem);
  }

  .ddh-hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .ddh-btn-primary,
  .ddh-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* ── Human Signal section ── */
  .ddh-signal-grid {
    grid-template-columns: 1fr;
    border-radius: 3px;
  }
  .ddh-signal-card--community {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .ddh-signal-foot {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .ddh-signal-cta { flex-shrink: 0; }

  /* ── Reckoning section ── */
  .ddh-rec-section { padding-top: 4rem; padding-bottom: 4rem; }
  .ddh-rec-hubs { grid-template-columns: 1fr; }
  .ddh-rec-hub { border-right: none; border-bottom: 1px solid var(--border); }
  .ddh-rec-hub:last-child { border-bottom: none; }
  .ddh-rec-ctas { flex-direction: column; align-items: center; }
  .ddh-rec-myths { gap: .5rem; }

  .ddh-tool-panel {
    padding-block: clamp(3rem, 8vw, 4.5rem);
  }

  .ddh-tool-name {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .ddh-finale-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .ddh-finale-ctas {
    flex-direction: column;
    align-items: center;
  }

  .ddh-finale-ctas .ddh-btn-primary,
  .ddh-finale-ctas .ddh-btn-ghost {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
}

/* ── Reduced motion: respect user preference ──────────────────────── */
@media (prefers-reduced-motion: reduce) {

  .ddh-word {
    animation: none;
    transform: none;
  }

  .ddh-hero-foot,
  .ddh-scroll-prompt,
  .ddh-hero-eyebrow,
  .ddh-hero-sub,
  .ddh-hero-channels,
  .ddh-hero-tools-note,
  .ddh-hero-right {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .ddh-hero-ecg-svg { animation: none; }
  .ddh-hero-eyebrow-dot,
  .ddh-feed-hdr-dot { animation: none; }

  .ddh-hero::after {
    animation: none;
    display: none;
  }

  .ddh-scroll-bar::after {
    animation: none;
  }

  .ddh-signal-card::before { transition: none; }
  .ddh-signal-tag-dot { animation: none; }
  .ddh-signal-cta { transition: none; }

  .ddh-tool-panel {
    opacity: 1;
    transform: none;
    transition: none;
  }


  .ddh-finale-inner {
    transition: opacity 0.4s ease;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PILLAR ACCORDION — Home page section (between Toolkit & Signal)
   ═══════════════════════════════════════════════════════════════════ */

.ddh-pillars {
  padding-block: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--border);
}

.ddh-pillars-head {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ddh-pillars-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ddh-pillars-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--text);
  margin: 0;
}

.ddh-pillars-accent { color: var(--accent); }

/* ── Accordion container ─────────────────────────────────────────── */
.ddh-pillars-accordion {
  display: flex;
  height: 380px;
  min-height: 300px;
  max-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border-mid);
}

/* ── Each column ─────────────────────────────────────────────────── */
.ddh-pa-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid var(--border);
  background: var(--bg);
}
.ddh-pa-col:last-child { border-right: none; }

.ddh-pillars-accordion.has-active .ddh-pa-col        { flex: 0 0 8%;  }
.ddh-pillars-accordion.has-active .ddh-pa-col.active { flex: 0 0 44%; }

/* ── Resting view (collapsed) ────────────────────────────────────── */
.ddh-pa-resting {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 8px;
  transition: opacity 0.2s ease;
}
.ddh-pa-col.active .ddh-pa-resting { opacity: 0; pointer-events: none; }

.ddh-pa-number {
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: 0.28em;
  color: var(--accent);
}

.ddh-pa-icon-resting {
  font-size: 18px;
  line-height: 1;
  margin-top: auto;
}

.ddh-pa-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.ddh-pa-col:hover .ddh-pa-name { color: var(--text); }

/* ── Expanded view ───────────────────────────────────────────────── */
.ddh-pa-expanded {
  position: absolute;
  inset: 0;
  padding: 28px 22px 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease 0.12s;
  overflow: hidden;
  border-left: 3px solid var(--accent);
}
.ddh-pa-col.active .ddh-pa-expanded { opacity: 1; pointer-events: auto; }

.ddh-pa-exp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ddh-pa-exp-number {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}
.ddh-pa-exp-icon { font-size: 14px; line-height: 1; }

.ddh-pa-exp-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 0 0 5px;
  white-space: nowrap;
}

.ddh-pa-exp-tagline {
  font-size: 11px;
  color: rgba(245,245,245,0.5);
  line-height: 1.55;
  margin: 0 0 12px;
  max-width: 300px;
}

.ddh-pa-rule {
  width: 28px;
  height: 1px;
  background: rgba(204,255,0,0.35);
  margin-bottom: 12px;
  flex-shrink: 0;
}

/* ── Article list ────────────────────────────────────────────────── */
.ddh-pa-articles {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ddh-pa-articles li {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.ddh-pa-col.active .ddh-pa-articles li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.20s; }
.ddh-pa-col.active .ddh-pa-articles li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.27s; }
.ddh-pa-col.active .ddh-pa-articles li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.34s; }

.ddh-pa-articles a {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(245,245,245,0.75);
  text-decoration: none;
  display: block;
  transition: color 0.18s ease;
}
.ddh-pa-articles a::before {
  content: '↗  ';
  font-size: 9px;
  color: var(--accent);
  opacity: 0.65;
}
.ddh-pa-articles a:hover { color: var(--accent); }

/* ── Explore CTA ─────────────────────────────────────────────────── */
.ddh-pa-cta { margin-top: 14px; flex-shrink: 0; }
.ddh-pa-cta a {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.22s ease 0.38s;
}
.ddh-pa-col.active .ddh-pa-cta a { opacity: 1; }
.ddh-pa-cta a:hover { text-decoration: underline; }

/* ── Hint ────────────────────────────────────────────────────────── */
.ddh-pillars-hint {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(245,245,245,0.18);
  text-transform: uppercase;
}

/* ── Mobile: hide accordion, show nothing (pillar links are in nav) ─ */
@media (max-width: 768px) {
  .ddh-pillars-accordion,
  .ddh-pillars-hint { display: none; }
}
