/* ═══════════════════════════════════════════════
   GAZZETTA DI KYIV v27.0 — Clean single-column · Gold masthead · Stories first
   Background: #FFFFFF | Masthead: white + gold border
   Name: #8B0000 dark red | Nav: #8B0000 dark red
   ═══════════════════════════════════════════════ */

:root {
  --bg:        #FFFFFF;   /* Pure white everywhere */
  --white:     #FFFFFF;
  --card-bg:   #FFFFFF;

  --blue:      #2563EB;   /* Sharp blue — links, interactive */
  --green:     #047857;   /* Darker emerald — better contrast, buy signals */
  --red:       #DC2626;   /* Casino red — sell signals, outflows */
  --gold:      #D4AF37;   /* Metallic gold — better contrast, premium feel */
  --gold-dark: #B8860B;   /* Dark goldenrod — borders, hover states */
  --gold-light: rgba(212,175,55,0.12);

  --ink:       #111827;   /* Near-black — all body text */
  --ink-light: #6B7280;   /* Grey — secondary text */
  --ink-muted: #9CA3AF;   /* Muted grey */

  --divider:   #E5E7EB;   /* Light divider */
  --card-border: #E5E7EB;

  --display: 'Playfair Display', Georgia, serif;
  --body:    'Source Serif 4', Georgia, serif;
  --sans:    'Inter', -apple-system, sans-serif;

  --φ: 1.618;
  --φ-sm: calc(1rem / var(--φ));
  --φ-md: 1.618rem;
  --φ-lg: calc(1rem * var(--φ) * var(--φ));
  --φ-xl: calc(1rem * var(--φ) * var(--φ) * var(--φ));

  --green:      #047857;   /* Dark emerald — buy signals, positive */
  --green-alt:  #059669;   /* Alternative green — indicators */
  --red:        #DC2626;   /* Casino red — sell signals, negative */
  --gray-50:    #F9FAFB;   /* Lightest gray — card bg */
  --gray-100:   #F3F4F6;   /* Light gray — hover bg, dividers */
  --gray-200:   #E5E7EB;   /* Light border — dividers, card borders */
  --gray-400:   #9CA3AF;   /* Muted gray — tertiary text */
  --gray-500:   #6B7280;   /* Medium gray — secondary text */
  --dark-bg:    #1A1F2E;   /* Dark navy — dropdown panels */
  --intel-bg:   #0F172A;   /* Dark navy — INTEL badge bg */
  --intel-text: #E2E8F0;   /* Light gray — INTEL badge text */
  --btn-hover:  #374151;   /* Dark gray — button hover */

  --radius:     4px;      /* Standard border radius */}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* ── Masthead ── */
/* v25.0: 300% title, top-right aligned */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #FFFFFF;
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
  flex-wrap: nowrap;
}
.masthead-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 1 auto;
}
.masthead-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding-right: 6px;
  flex: 0 0 auto;
}
.masthead-nav-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8B0000;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
  padding: 6px 14px;
  display: inline-block;
}
.masthead-nav-link:hover { color: var(--gold-dark); }

/* Nav dropdown trigger — hidden, using nav links instead */
.nav-dropdown { display: none; }
.masthead-name {
  font-family: var(--display);
  font-size: 1.8em;
  line-height: 1.1;
  color: #8B0000;
  white-space: nowrap;
}
.masthead-bulava {
  position: relative;
  display: -webkit-inline-flex;
  display: inline-flex;
  width: 28px;
  height: 40px;
  color: var(--gold);
  vertical-align: middle;
  flex-shrink: 0;
}
.masthead-bulava svg {
  position: absolute;
  width: 20px;
  height: 40px;
  top: 0;
  left: 4px;
  transform-origin: 50% 62%;
  display: block;
}
.masthead-bulava svg:first-child {
  transform: rotate(-32deg);
}
.masthead-bulava svg:last-child {
  transform: scaleX(-1) rotate(-32deg);
}
.masthead-caduceus {
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  width: 28px;
  height: 40px;
  color: var(--gold);
  vertical-align: middle;
  flex-shrink: 0;
}
.masthead-caduceus svg {
  display: block;
  width: 28px;
  height: 40px;
}
/* v26.1: master-nav hidden — nav links now in masthead */
.master-nav { display: none; }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.15s;
}
.nav-dropdown-trigger:hover {
  color: var(--gold);
}
.nav-dd-arrow { font-size: 10px; margin-left: 3px; }
.nav-dropdown.open .nav-dd-arrow { transform: rotate(180deg); display: inline-block; }
.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-bg);
  border: 1px solid rgba(212,175,55,0.2);
  min-width: 180px;
  padding: 6px 0;
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-panel { display: block; }
.nav-dd-link {
  display: block;
  padding: 8px 16px;
  color: var(--gray-200);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}
.nav-dd-link:hover { background: rgba(212,175,55,0.1); color: var(--gold); }

/* ── CTA Links: gold styling, no default blue ── */
.hero-link, .teaser-full-link, a[href*="Telegram"] {
  color: var(--gold);
  text-decoration: none;
  font-family: var(--sans);
  transition: color 0.2s;
}
.hero-link:hover, .teaser-full-link:hover, a[href*="Telegram"]:hover {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* v25.0: Container help tooltip badge */
.container-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--ink-muted);
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  cursor: help;
  position: relative;
  margin-left: 6px;
  flex-shrink: 0;
  transition: all 0.15s;
}
.container-help:hover {
  background: var(--dark-bg);
  color: var(--gold);
  border-color: var(--gold);
}
.container-help:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-bg);
  color: var(--gray-200);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(212,175,55,0.3);
  white-space: normal;
  width: 280px;
  max-width: 90vw;
  z-index: 300;
  pointer-events: none;
  text-align: left;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.masthead-right {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  gap: 10px;
}
.masthead-tagline {
  font-family: var(--body);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-light);
}
.masthead-meta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ── Language Toggle ── */
.lang-switch {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid var(--divider);
  border-radius: 3px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.lang-switch:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.lang-switch.active {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold-light);
}

/* ── Hero Section ── */
.hero {
  padding: 28px 24px 20px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--divider);
  text-align: center;
}
.hero-content { max-width: 720px; margin: 0 auto; }
.hero-headline {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 12px 0;
  line-height: 1.3;
}
.hero-subtitle {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-light);
  margin: 0 auto 16px auto;
  max-width: 640px;
  padding: 0 16px;
}
.hero-cta {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}
.hero-btn {
  background: var(--ink);
  color: #FFFFFF;
  border: none;
  border-radius: 0;
  padding: 8px 20px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.hero-btn:hover { background: var(--btn-hover); }
.hero-link {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--blue);
  text-decoration: none;
}
.hero-link:hover { text-decoration: underline; }
.hero-stats {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  gap: 28px;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.2;
}
.hero-stat-label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 1px;
}
/* Confidence tier tag */
.confidence-tier {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1px 5px;
  border-radius: 0;
  vertical-align: middle;
  margin-left: 4px;
  line-height: 1.4;
}
.confidence-tier.tier-high {
  color: var(--green);
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
}
.confidence-tier.tier-medium {
  color: #B45309;
  background: rgba(180, 83, 9, 0.08);
  border: 1px solid rgba(180, 83, 9, 0.2);
}
.confidence-tier.tier-low {
  color: var(--red);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* v25.0: Intel/Alpha container parity */
.col-alpha .container,
.col-intel .container {
  font-family: var(--body);
  font-weight: 400;
}
.col-alpha .container-title,
.col-intel .container-title {
  font-family: var(--display);
  font-weight: 600;
}
.col-alpha .container-desc,
.col-intel .container-desc {
  font-family: var(--body);
  font-style: italic;
  color: var(--ink-light);
}
.col-alpha .layer-header,
.col-intel .layer-header {
  font-family: var(--display);
  font-weight: 600;
  font-size: 10px;
}
.nav-group-label { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; margin-right: 4px; }
.product-page { max-width: 1000px; margin: 0 auto; padding: 16px 20px 40px; }
.product-page .container { margin-bottom: 0; }
.product-page .container-header { cursor: default; }

/* v22.20: Teaser lists — headline hints in collapsible front-page sections */
.teaser-list { display: flex; flex-direction: column; gap: 6px; padding: 6px 0; }
.teaser-item {
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.teaser-item:hover { color: var(--gold); border-left: 2px solid var(--gold); padding-left: 10px; }
.teaser-item .teaser-amount {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  margin-right: 6px;
  color: var(--green);
}
.teaser-item .teaser-badge-sell { color: var(--red); }
/* v2.0: Flow category cards */
.teaser-cat {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex ;
  align-items: center;
  gap: 8px;
  padding: 8px 10px ;
  border-left: 2px solid transparent;
  transition: border-color 0.2s;
}
.teaser-cat:hover { border-left-color: var(--gold); }
.teaser-cat-icon { font-size: 16px; flex-shrink: 0; }
.teaser-cat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  min-width: 80px;
}
.teaser-cat-dir {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--sans);
}
.teaser-cat-dir.inflow { color: var(--green); }
.teaser-cat-dir.outflow { color: var(--red); }
.teaser-cat-vel {
  font-size: 10px;
  color: var(--ink-muted);
  font-family: var(--sans);
}
/* v2.0: Hero hook indicators */
.hero-indicators {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-ind {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--card-bg);
  border: none;
  border-left: 2px solid var(--gold);
  text-decoration: none;
  transition: border-color 0.2s;
}
.hero-ind:hover { border-color: var(--gold); }
.hero-ind-value {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.2;
}
.hero-ind-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-top: 2px;
  font-family: var(--sans);
}

/* v2.0: Services utility grid */
.services-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.svc-card {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: var(--card-bg);
  border: none;
  border-left: 2px solid var(--gold);
  text-decoration: none;
  transition: border-color 0.2s;
  gap: 4px;
}
.svc-card:hover { border-color: var(--gold); }
.svc-icon { font-size: 22px; }
.svc-persona {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 600;
}
.svc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--serif);
}
.svc-desc {
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.teaser-cat-count {
  font-size: 10px;
  color: var(--ink-muted);
  margin-left: auto;
}

/* v2.0: Triangulation — linked flows/positions */
.teaser-linked {
  font-size: 10px;
  opacity: 0.65;
  margin-left: 6px;
  font-family: var(--sans);
  color: var(--gold);
  white-space: nowrap;
}
.teaser-linked:hover { opacity: 1; }
.teaser-item .freshness-ago {
  font-size: 10px;
  margin-left: 6px;
  font-family: var(--sans);
}
.teaser-item .teaser-ticker {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 6px;
}
.teaser-item .teaser-ticker.buy { background: rgba(5,150,105,0.1); color: var(--green); }
.teaser-item .teaser-ticker.sell { background: rgba(220,38,38,0.1); color: var(--red); }
.teaser-full-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.teaser-full-link:hover { text-decoration: underline; }



/* v26.5: Sidebar data panels */
.tkr-row { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; font-family: var(--sans); font-size: 10px; border-bottom: 1px solid var(--gray-100); }
.tkr-sym { font-weight: 700; min-width: 40px; color: var(--ink); }
.tkr-price { color: var(--ink-muted); }
.tkr-up { color: var(--green-alt); font-weight: 600; }
.tkr-down { color: var(--red); font-weight: 600; }
.tkr-flat { color: var(--ink-muted); }
.sector-row { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-family: var(--sans); font-size: 10px; }
.sector-name { min-width: 55px; font-weight: 600; color: var(--ink); text-transform: capitalize; }
.sector-bar { flex: 1; height: 6px; background: var(--gray-100); border-radius: 3px; overflow: hidden; }
.sector-fill { display: block; height: 100%; background: var(--gold); border-radius: 3px; transition: width 0.5s; }
.sector-val { font-weight: 600; color: var(--ink-muted); min-width: 50px; text-align: right; }
.hero-ind-context { display: block; font-family: var(--sans); font-size: 10px; color: var(--ink-muted); margin-top: 2px; line-height: 1.3; max-width: 180px; }

/* v26.5: Container expand affordance */
.container.collapsible .container-header { cursor: pointer; transition: background 0.15s; border-radius: 4px; }
.container.collapsible .container-header:hover { background: rgba(212,175,55,0.06); }
.container.collapsible:not(.expanded) .container-body { display: none; }
.container.collapsible .container-arrow { transition: transform 0.2s; }
.container.collapsible.expanded .container-arrow { transform: rotate(180deg); }

/* ═══ v25.12 DESIGN OVERHAUL ═══ */


/* v26.5: Teaser chips + summaries */
.teaser-chip {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,175,55,0.08);
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}
.teaser-headline {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
  margin: 2px 0;
}
.teaser-summary {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-muted);
  line-height: 1.3;
  margin: 1px 0 3px;
}
.teaser-meta {
  display: flex;
  gap: 8px;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-light);
  margin-top: 2px;
}

/* v26.5: Inline sparkline bar */
.spark-bar {
  display: flex;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
  background: var(--gray-100);
}
.spark-seg { display: block; height: 100%; transition: width 0.5s; }
.spark-seg.up { background: var(--green); }
.spark-seg.down { background: var(--red); }

/* ── Story Cards: visual definition ── */
article.card {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 4px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
article.card:hover {
  border-color: var(--gold);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
article.card {
  border-left: 2px solid var(--gold);
}
article.card.lead {
  border-left: 3px solid var(--gold);
}

/* ── Nav labels: bigger, readable ── */
.nav-group-label {
  font-size: 10px;
  letter-spacing: 0.10em;
}
.product-nav .nav-link {
  font-size: 12px;
}

/* ── Freshness labels ── */
.freshness-ago {
  font-size: 11px;
}
.masthead-tagline {
  font-size: 13px;
}

/* ── Service cards (C-SUITE/QUANT/EXECUTION) ── */
.hint-card {
  border-radius: 4px;
  border: 1px solid var(--divider);
  transition: border-color 0.15s;
}
.hint-card:hover {
  border-color: var(--gold);
}

/* ── Gold references updated ── */
a:hover, .nav-link:hover { color: var(--gold); }


/* v23.6: Mobile product nav — horizontal scroll slider */
@media (max-width: 768px) {
  .product-nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding: 6px 0;
    margin: 0;
    width: 100%;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .product-nav::-webkit-scrollbar { display: none; }
  
  .nav-group-label {
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 4px 8px;
  }
  
  .product-nav a {
    scroll-snap-align: start;
    flex-shrink: 0;
    font-size: 10px;
    padding: 6px 10px;
    border: 1px solid var(--gray-200);
    min-height: 36px;
    display: -webkit-inline-flex;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
  .product-nav a:active { border-color: var(--gold); background: #FFFDF5; }
  
  .product-nav .nav-group-label:nth-of-type(2) {
    color: var(--gold-dark);
    border-left: 2px solid var(--gray-200);
    padding-left: 12px;
  }
}

/* v23.6: Expanding data blocks on mobile — hint stats */
.expandable-stat {
  display: -webkit-inline-flex;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border: 1px solid var(--gray-200);
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  cursor: pointer; background: #FFFFFF;
  transition: border-color 0.15s;
}
.expandable-stat:hover { border-color: var(--gold); }
.expandable-stat.expanded { border-color: var(--gold); background: #FFFDF5; }
.expandable-stat-body {
  display: none; padding: 8px; margin-top: 4px;
  border-left: 2px solid var(--gold); background: var(--gray-50);
  font-family: var(--body); font-size: 12px; color: var(--ink-light);
}
.expandable-stat-body.visible { display: block; }

@media (max-width: 600px) {
  .product-nav a { font-size: 10px; padding: 8px 12px; min-height: 44px; }
  .nav-group-label { font-size: 10px; }
}


@media (max-width: 600px) {
  .teaser-item { font-size: 12px; padding: 5px 4px; }
}

.product-page .container-body { max-height: none ; overflow: visible ; }

/* v26.1: Collapsible containers — collapse/expand on all screen sizes */
.container.collapsible .container-header {
  cursor: pointer;
  user-select: none;
}
.container.collapsible .container-arrow {
  transition: transform 0.2s;
}
.container.collapsible.expanded .container-arrow {
  transform: rotate(180deg);
}
.container.collapsible:not(.expanded) .container-body {
  max-height: 0 ;
  overflow: hidden ;
  opacity: 0;
  padding-top: 0 ;
  padding-bottom: 0 ;
  margin-top: 0 ;
  margin-bottom: 0 ;
}

/* v23.5: Hints lobby — 3-column Golden Ratio grid (φ=1.618 → 21%|61%|18%) */
.hints-lobby {
  display: -ms-grid;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 20px;
  align-items: start;
}

/* v26.3: Sidebars removed — single-column layout */
.col-alpha { display: none; }
.col-context { display: none; }

/* ── COLUMN B: INTEL main thread (61%) ── */
.col-intel {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
}

/* ── Side Section (shared by Col A + Col C) ── */
.side-section {
  border: none;
  border-left: 2px solid var(--gold);
  background: #FFFFFF;
  padding: 14px 16px;
}
.side-section-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-100);
}

/* ── Trade Hooks (Col A) ── */
.side-hooks { display: flex; flex-direction: column; gap: 6px; }
.side-hook-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; background: var(--gray-50);
  font-family: var(--sans); font-size: 11px;
  cursor: pointer; transition: background 0.15s;
}
.side-hook-item:hover { background: var(--gray-100); }
.side-hook-symbol { font-weight: 700; color: var(--ink); min-width: 40px; }
.side-hook-dir { font-size: 10px; font-weight: 600; }
.side-hook-dir.bullish { color: var(--green-alt); }
.side-hook-dir.bearish { color: var(--red); }
.side-hook-conv { font-size: 10px; color: var(--ink-muted); margin-left: auto; }

/* ── Top Velocity (Col A) ── */
.side-velocity {
  display: block; text-decoration: none;
  padding: 10px 12px; background: linear-gradient(135deg, #FFF7ED, #FFFBEB);
  border: 1px solid #FDE68A;
  transition: border-color 0.15s;
}
.side-velocity:hover { border-color: #F59E0B; }
.side-vel-value {
  display: block; font-family: var(--display); font-size: 24px;
  font-weight: 600; color: #B45309;
}
.side-vel-desc {
  display: block; font-family: var(--sans); font-size: 10px;
  color: var(--ink-muted); margin-top: 2px;
}

/* ── Sentiment Gauge (Col A) ── */
.side-sentiment {
  text-align: center; padding: 10px 0;
}
.side-sent-value {
  display: block; font-family: var(--display); font-size: 28px;
  font-weight: 600; line-height: 1;
}
.side-sent-label {
  display: block; font-family: var(--sans); font-size: 10px;
  color: var(--ink-muted); margin-top: 4px;
}
.side-sent-value.bullish { color: var(--green-alt); }
.side-sent-value.bearish { color: var(--red); }
.side-sent-value.neutral { color: var(--ink-muted); }

/* ── Freshness Tracker (Col C) ── */
.side-freshness { display: flex; flex-direction: column; gap: 6px; }
.fresh-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 11px;
}
.fresh-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.fresh-dot.stories-dot { background: var(--green-alt); }
.fresh-dot.flows-dot { background: #1D4ED8; }
.fresh-dot.trades-dot { background: var(--gold-dark); }
.fresh-dot.signal-dot { background: #7C3AED; }
.fresh-age { font-size: 10px; color: var(--ink-muted); margin-left: auto; }

/* ── Breadcrumb links (Col C) ── */
.side-breadcrumbs { display: flex; flex-direction: column; gap: 4px; }
.side-bc-link {
  display: block; padding: 6px 8px; text-decoration: none;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  color: var(--ink); border-left: 2px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}
.side-bc-link:hover { border-left-color: var(--gold); background: var(--gray-50); }
.side-bc-desc {
  display: block; font-family: var(--body); font-size: 10px;
  font-weight: 400; color: var(--ink-muted);
}

/* ── Meta links (Col C) ── */
.side-meta-links { display: flex; flex-direction: column; gap: 2px; }
.side-meta-links a {
  font-family: var(--sans); font-size: 10px; color: var(--ink-muted);
  text-decoration: none; padding: 3px 0;
}
.side-meta-links a:hover { color: var(--ink); }

/* ── Mobile: single column, sidebars hidden ── */
@media (max-width: 1100px) {
  .hints-lobby {
    grid-template-columns: 1fr;
    max-width: 1000px;
    gap: 12px;
  }
  .col-alpha, .col-context { display: none; }
  .side-section { padding: 10px 12px; }
}

@media (max-width: 600px) {
  .hints-lobby { padding: 12px; gap: 10px; }
  .col-alpha, .col-context { display: none; }
  .side-vel-value { font-size: 20px; }
  .side-sent-value { font-size: 22px; }
}

/* v22.18: Sophisticated hint cards — money, players, contracts, hooks */
.flow-sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 16px; }
.sector-stat-box { background: var(--white); border: 1px solid var(--divider); padding: 10px 12px; text-align: center; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); transition: border-color 0.15s, box-shadow 0.15s; }
.sector-stat-box:hover { border-color: var(--gold); box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.sector-stat-label { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.sector-stat-value { font-family: var(--body); font-size: 18px; font-weight: 700; }
.sector-stat-sub { font-family: var(--sans); font-size: 10px; color: var(--ink-muted); margin-top: 2px; }
.hint-card {
  background: #FFFFFF;
  padding: 20px 22px;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--gold);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  cursor: pointer;
}
.hint-card:hover { 
  border-left-color: var(--ink);
  box-shadow: none;
  transform: translateY(-2px);
}
.hint-card.stories { border-left-color: #2563EB; }
.hint-card.flows { border-left-color: var(--green-alt); }
.hint-card.trades { border-left-color: #D97706; }
.hint-card.signal { border-left-color: #7C3AED; }
.hint-card.track { border-left-color: var(--ink); }
.hint-card.stories:hover { border-left-color: #1D4ED8; }
.hint-card.flows:hover { border-left-color: var(--green); }
.hint-card.trades:hover { border-left-color: #B45309; }
.hint-card.signal:hover { border-left-color: #6D28D9; }
.hint-card.track:hover { border-left-color: #000; }
.hint-card-overline {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.5;
  margin-bottom: 8px;
  display: block;
}
.hint-card-value {
  fo

... [OUTPUT TRUNCATED - 26613 chars omitted out of 76613 total] ...

tant; }
  .hero-headline { font-size: 20px ; }
  .hero-subtitle { font-size: 11px ; }

  /* ── Masthead: compact 2-row layout ── */
  .masthead { padding: 6px 10px; flex-wrap: nowrap; gap: 4px; }
  .masthead-left { width: auto; justify-content: space-between; }
  .masthead-right { width: auto; justify-content: center; gap: 6px; }
  .masthead-tagline { display: none; }
  .masthead-name { font-size: 1.8em; }
  .masthead-bulava svg, .masthead-caduceus svg { width: 12px; height: 22px; }
  .product-nav { margin: 4px 0 ; gap: 8px ; }
  .product-nav a { font-size: 12px ; }
  .lang-switch { min-width: 44px; min-height: 44px; font-size: 13px; padding: 10px 14px; }

  /* ── Container headers: big tap targets ── */
  .container-header {
    min-height: 48px ;
    padding: 10px 12px ;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0.05);
  }
  .container-header:active { background: var(--gray-200); }
  .container-title { font-size: 13px ; }
  .container-subtitle { font-size: 11px ; }
  .container-arrow { width: 22px; height: 22px; min-width: 22px; }
  .container-arrow svg { width: 18px; height: 18px; }
  .container-desc { font-size: 11px; padding: 6px 12px 0; }
  .container-count { font-size: 11px ; }

  /* ── Collapse defaults: Stories expanded, rest collapsed ── */
  .container.collapsible:not(.expanded) .container-body { max-height: 0; opacity: 0; padding: 0; }

  /* ── Teaser items: big touch targets with preview ── */
  .teaser-item { min-height: 44px; padding: 10px 8px; font-size: 13px; display: flex; align-items: center; }
  .teaser-full-link {
    display: block; min-height: 44px; line-height: 44px; font-size: 13px;
    text-align: center; background: var(--gray-50); margin: 4px 0 0 0; border-radius: 0;
  }

  /* ── Story cards: single column, bigger fonts ── */
  .news-col { grid-template-columns: 1fr; gap: 8px; }
  .card { padding: 0; }
  .card-collapsed { padding: 8px 10px; }
  .card h3, .card.lead h3 { font-size: 14px; line-height: 1.3; }
  .card .summary { font-size: 12px; }
  .card .detail { font-size: 12px; }
  .card .detail .con-they, .card .detail .con-real { font-size: 11px; }
  .card-photo img { width: 60px; height: 42px; }

  /* ── Flow rows: bigger tap areas ── */
  .flow-row { min-height: 44px; padding: 8px 10px; }
  .flow-row-main { gap: 6px; font-size: 12px; }
  .flow-amount { font-size: 13px; }
  display: -webkit-inline-flex;
  .flow-expand-hint { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
  .flow-row-detail { padding: 8px 10px; }
  .flow-detail-label { font-size: 10px ; }
  .flow-detail-text { font-size: 11px; }

  /* ── Flow connector chip ── */
  display: -webkit-inline-flex;
  .cf-hint { font-size: 10px; padding: 8px 12px; min-height: 44px; display: inline-flex; align-items: center; }

  /* ── Category tags, severity, updates ── */
  .category-tag { font-size: 10px; }
  .severity { font-size: 10px; }
  .tier-badge { font-size: 10px; }
  .story-date { font-size: 10px; }
  .story-update-badge { font-size: 10px; }
  .updated-ago { font-size: 10px; }
  .freshness-ago { font-size: 10px; }
  .breaking-badge { font-size: 10px; }

  /* ── Footer: bigger touch targets ── */
  .footer { padding: 12px 8px; font-size: 11px; gap: 8px; }
  display: -webkit-inline-flex;
  .footer a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px; }

  /* ── Subpage nav: 44px tall taps ── */
  .product-page .masthead-right { gap: 8px; }
  display: -webkit-inline-flex;
  .product-page .masthead-right a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; padding: 0 8px; }

  /* ── Trade items ── */
  .anchor-row { min-height: 44px; padding: 8px 10px; font-size: 12px; }

  /* ── Onboarding overlay: stay visible no matter scroll ── */
  #onboardingOverlay { font-size: 13px; max-width: 90vw; padding: 14px 18px; }

  /* ── Flows subtitle stat ── */
  .flow-freshness { font-size: 10px; }

/* Small phone (≤400px) */
@media (max-width: 400px) {
  .masthead-name { font-size: 1.5em; } /* v25.1 */
  .hero-headline { font-size: 18px ; }
  .container-header { min-height: 44px ; padding: 8px 10px ; }
  .container-title { font-size: 12px ; }
  .card h3, .card.lead h3 { font-size: 13px; }
  .card .summary { font-size: 11px; }
  .card .detail { font-size: 11px; }
  .card .detail .con-they, .card .detail .con-real { font-size: 10px; }
  .footer { font-size: 10px; }
}

/* ═══════════════════════════════════════════════
   TIMELINE & LIVING STORIES — preserved from v18
   ═══════════════════════════════════════════════ */

/* Update badge */
.story-update-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  padding: 2px 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Story status dot */
.story-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.story-status-dot.gold { background: var(--gold); }
.story-status-dot.sky { background: var(--blue); }
.story-status-dot.grey { background: var(--ink-muted); }
.story-status-dot.pulse {
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Updated-ago timestamp */
.updated-ago {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-muted);
  display: inline-block;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 2px;
}

/* ── Freshness ago indicator (color-coded by recency) ── */
.freshness-ago {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: help;
  padding: 0 2px;
}
.freshness-ago.freshness-recent { color: var(--green); }
.freshness-ago.freshness-today { color: var(--gold); }
.freshness-ago.freshness-day { color: var(--ink-muted); }
.freshness-ago.freshness-stale { color: var(--ink-muted); opacity: 0.6; }

/* ── Breaking news badge (pulsing red) ── */
.breaking-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: pulse-breaking 2s infinite;
}
@keyframes pulse-breaking {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Evolution timeline */
.story-evolution-timeline {
  display: none;
  margin-top: 10px;
  padding: 10px 0 8px 14px;
  border-left: 2px solid var(--gold);
  margin-left: 2px;
  font-family: var(--body);
}
.card.expanded .story-evolution-timeline {
  display: block;
  animation: fadeInTimeline 0.25s ease;
}
@keyframes fadeInTimeline {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 600px; }
}

.timeline-loading,
.timeline-empty {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-muted);
  font-style: italic;
  padding: 12px 0;
}

/* Update entry */
.update-entry {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 10px;
  padding: 8px 0;
  position: relative;
  border-left: 1px solid var(--divider);
  margin-left: 4px;
  padding-left: 14px;
}
.update-entry:last-child {
  border-left-color: var(--gold);
}
.update-entry:last-child::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 50%;
  width: 1px;
  background: var(--divider);
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-muted);
  flex-shrink: 0;
  margin-top: 4px;
  position: absolute;
  left: -5px;
  top: 10px;
  z-index: 1;
}
.timeline-dot.gold { background: var(--gold); }
.timeline-dot.gold.pulse {
  animation: pulse-dot 2s ease-in-out infinite;
}
.timeline-content {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-light);
}
.update-timestamp {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  display: inline-block;
  margin-right: 6px;
}
.update-type-badge {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-light);
  padding: 1px 5px;
  display: inline-block;
  vertical-align: middle;
}
.update-delta {
  margin: 3px 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
}
.update-spawn {
  display: inline-block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  font-style: italic;
}

.timeline-state {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--divider);
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-muted);
}
.timeline-state-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.timeline-state-text {
  text-transform: capitalize;
  font-weight: 600;
}
.timeline-source-count {
  margin-left: auto;
  color: var(--ink-light);
}

/* Thread navigation */
.thread-nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 6px;
  padding: 4px 0 0 0;
  flex-wrap: wrap;
  margin-top: 6px;
}
.thread-pill {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border: 1px solid var(--divider);
  cursor: pointer;
  color: var(--ink-muted);
  transition: all 0.15s;
  background: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.thread-pill.active {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}
.thread-pill:hover {
  border-color: var(--gold);
  background: var(--gold-light);
}

/* Resolved banner */
.resolved-banner {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  margin-top: 8px;
  color: var(--blue);
  font-weight: bold;
  font-size: 12px;
}
.resolved-icon {
  font-size: 14px;
}

/* Recently updated flash */
.card.recently-updated {
  animation: flash-update 0.8s ease-out;
  border-color: var(--gold);
}
@keyframes flash-update {
  0% { background: var(--gold-light); box-shadow: 0 0 0 2px rgba(212,175,55,0.3); }
  100% { background: #FFFFFF; box-shadow: 0 0 0 0 transparent; }
}

/* Responsive timeline mobile overlay */
@media (max-width: 600px) {
  .story-evolution-timeline {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: #FFFFFF;
    border-left: none;
    border-top: 2px solid var(--gold);
    margin: 0;
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: none;
    animation: slideUpTimeline 0.3s ease;
  }
  @keyframes slideUpTimeline {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  .card.expanded .story-evolution-timeline {
    display: block;
  }
  .update-entry { padding: 6px 0 6px 12px; }
  .update-delta { font-size: 11px; }
  .timeline-content { font-size: 12px; }
  .thread-pill { font-size: 10px; padding: 2px 6px; max-width: 120px; }
}

/* ═══════════════════════════════════════════════════════════════
   GLOSSARY TOOLTIPS — inline explanations for finance acronyms
   ═══════════════════════════════════════════════════════════════ */

.glossary-tip {
  border-bottom: 1px dashed var(--ink-muted);
  cursor: help;
  position: relative;
  color: inherit;
}

.glossary-tip:hover::after,
.glossary-tip:focus::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 2px;
  white-space: normal;
  max-width: 220px;
  z-index: 1000;
  pointer-events: none;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
}

/* Flows loading state */
.flows-loading {
  text-align: center;
  color: var(--ink-muted);
  font-style: italic;
  padding: 20px;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════
   STORY PAGE — Immersive intel report layout
   ═══════════════════════════════════════════════ */

.story-masthead {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-200);
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 100;
}
.story-back {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.story-back:hover { color: var(--ink); }
.story-masthead-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #990024, #B8305A, #990024, #7B2D5E, #990024);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.story-loading, .story-error {
  text-align: center;
  color: var(--ink-muted);
  font-style: italic;
  padding: 60px 20px;
  font-size: 14px;
  font-family: 'Source Serif 4', Georgia, serif;
}
.story-error a { color: var(--gold); }

/* Intel Report Article */
.intel-report {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--ink);
}

.intel-header { border-left: 3px solid var(--intel-bg);
  margin-bottom: 28px;
}
.intel-meta {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.intel-category {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.intel-severity {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: 2px;
}
.severity-high { color: var(--red); background: rgba(220,38,38,0.06); }
.severity-elevated { color: #B45309; background: rgba(180,83,9,0.06); }
.severity-critical { color: var(--red); background: rgba(220,38,38,0.10); font-weight: 700; }

.intel-date {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.intel-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.intel-photo {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--gray-50);
}
.intel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Intel sections */
.intel-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  color: var(--gold);
}

.intel-brief {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.intel-summary {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

/* THE PLAY */
.intel-play {
  background: rgba(5,150,105,0.04);
  border-left: 3px solid var(--green-alt);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.play-label { color: var(--green-alt); }
.intel-play-content {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.intel-catalysts {
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-muted);
}
.catalyst-tag { font-weight: 600; color: var(--gold); }

/* Contradiction — THEY SAY / REALITY */
.intel-contradiction {
  display: -ms-grid;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.intel-they-say, .intel-reality {
  padding: 16px;
}
.intel-they-say {
  background: rgba(217,119,6,0.04);
  border-left: 3px solid #B45309;
}
.intel-reality {
  background: rgba(220,38,38,0.04);
  border-left: 3px solid var(--red);
}
.they-say-label { color: #B45309; }
.reality-label { color: var(--red); }
.intel-they-say-content, .intel-reality-content {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
}

/* CAPITAL FLOW */
.intel-capital-flow {
  background: rgba(37,99,235,0.03);
  border-left: 3px solid #2563EB;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.cf-label { color: #2563EB; }
.intel-cf-amount {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.intel-cf-meta {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.intel-cf-confidence { color: var(--gold); font-weight: 600; }
.intel-cf-claim, .intel-cf-projected, .intel-cf-positioning {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 4px;
}
.intel-cf-projected-label { font-weight: 600; color: var(--ink-muted); }

/* EXTREMUM */
.intel-extremum {
  background: rgba(0,0,0,0.02);
  border-left: 3px solid var(--ink-muted);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.extremum-label { color: var(--ink-muted); }
.intel-extremum-content {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-light);
  font-style: italic;
}

/* Share row */
.intel-share {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
}
.share-row {
  display: -webkit-flex;
  display: flex;
  gap: 6px;
  margin: 8px 0 0 0;
  padding: 4px 0 0 0;
  border-top: 1px solid var(--gray-200);
}
.share-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  background: #FFFFFF;
  cursor: pointer;
  color: var(--ink-muted);
  transition: all 0.15s;
  border-radius: 4px;
}
.share-btn:hover { color: var(--ink); border-color: var(--ink-muted); }

/* Story nav */
.story-nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  border-top: 1px solid var(--gray-200);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
}
.story-nav-back {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.story-nav-back:hover { color: var(--ink); }
.story-position {
  color: var(--ink-muted);
  font-size: 10px;
}
.story-nav-next {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.story-nav-next:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 600px) {
  .intel-contradiction {
    grid-template-columns: 1fr;
  }
  .intel-headline {
    font-size: 22px;
  }
  .story-page {
    padding: 16px 12px 32px;
  }
  .story-masthead-name { font-size: 14px; }
}

/* ═══════════════════════════════════════════════
   C2 FLOWS — Numbers-first table layout (Mike Green spec)
   ═══════════════════════════════════════════════ */

.flow-row {
  display: flex;
  flex-direction: column;
  padding: 8px 0 8px 10px;
  border-bottom: 1px solid var(--gray-100);
  border-left: 3px solid transparent;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, padding 0.15s;
}
.flow-row:hover { background: var(--gray-50); border-left-color: var(--gold); }
.flow-row:last-child { border-bottom: none; }
.flow-row.inflow { border-left-color: var(--green); }
.flow-row.inflow:hover { background: rgba(5,150,105,0.03); border-left-color: var(--gold); }
.flow-row.outflow { border-left-color: var(--red); }
.flow-row.outflow:hover { background: rgba(220,38,38,0.03); border-left-color: var(--gold); }
.flow-row.expanded { border-left-color: var(--gold); background: var(--gray-50); }
.flow-row-main {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.flow-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  min-width: 55px;
}
.flow-dir {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 5px;
  min-width: 42px;
  text-align: center;
}
.flow-dir.inflow { color: var(--green-alt); background: rgba(5,150,105,0.06); }
.flow-dir.outflow { color: var(--red); background: rgba(220,38,38,0.06); }
.flow-asset {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}
.flow-conf {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  min-width: 35px;
}
.flow-pace {
  font-size: 10px;
  color: var(--ink-muted);
  min-width: 45px;
}
.flow-bet-pill-mini {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-light);
  padding: 1px 6px;
  white-space: nowrap;
}
.flow-bet-pill-mini:hover { color: var(--gold); text-decoration: underline; }

/* v22.35: Cross-link pills — UX architect spec */
.cf-hint:hover { opacity: 0.8; text-decoration: underline; }

/* v22.33: Heat score color scale + trade signal + PDR mini badges */
.flow-heat {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  min-width: 28px;
  text-align: right;
  margin-left: auto;
}
.flow-heat.heat-extreme { color: var(--green-alt); }   /* 80–100 */
.flow-heat.heat-high    { color: #65A30D; }   /* 60–79 */
.flow-heat.heat-moderate{ color: #D97706; }   /* 40–59 */
.flow-heat.heat-low     { color: var(--red); }   /* 0–39 */

.flow-trade-signal {
  font-size: 22px;
  min-width: 32px;
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
}

.flow-source-badge {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-muted);
}

.flow-pdr-badge {
  font-family: var(--sans);
  font-size: 10px;
}
.flow-pdr-badge .glossary-tip {
  border-bottom: 1px dashed var(--ink-muted);
  cursor: help;
}

/* PDR mini — collapsed row */
.flow-pdr-mini {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 5px;
  white-space: nowrap;
}
.flow-pdr-mini.passive   { background: rgba(220,38,38,0.08); color: var(--red); }
.flow-pdr-mini.active    { background: rgba(5,150,105,0.08); color: var(--green-alt); }
.flow-pdr-mini.mixed     { background: rgba(0,0,0,0.03); color: var(--ink-muted); }

/* v22.17: Flow row expand-on-click */
.flow-row { cursor: pointer; transition: background 0.2s, padding 0.2s; border-radius: 0; padding: 6px 2px; }
.flow-row:hover { background: rgba(0,0,0,0.015); }
.flow-expand-hint { font-size: 10px; color: var(--ink-muted); transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); margin-left: auto; flex-shrink: 0; opacity: 0.4; line-height: 1; }
.flow-row.expanded .flow-expand-hint { transform: rotate(180deg); opacity: 0.7; }
.flow-row.expanded { background: rgba(5,150,105,0.02); border-left: 2px solid var(--green); padding-left: 10px; margin-left: -8px; }
.flow-row.outflow.expanded { background: rgba(220,38,38,0.02); border-left: 2px solid var(--red); }
display: -webkit-box;
display: -webkit-flex;
.flow-row.expanded .flow-row-detail { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding: 6px 0 2px 2px; border-top: 1px solid var(--divider); animation: flowExpandIn 0.25s ease; }
@keyframes flowExpandIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
.flow-detail-section { line-height: 1.35; }
.flow-detail-label { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 2px; opacity: 0.55; }
.flow-detail-text { font-size: 11px; color: var(--ink-light); line-height: 1.4; margin: 0; }
.flow-confidence-badge { font-size: 12px; font-weight: 700; color: var(--gold); }
.flow-confidence-trace { font-size: 10px; color: var(--ink-muted); opacity: 0.55; margin-top: 1px; }
.flow-story-link { font-size: 11px; color: var(--blue); text-decoration: none; }
.flow-story-link:hover { text-decoration: underline; }
.flow-positioning-detail { font-size: 10px; color: var(--ink-light); font-style: italic; }
.flow-row-detail {
  display: none;  /* v22.16: hidden in collapsed state — expand to show */
  gap: 8px;
  margin-top: 4px;
  padding-left: 2px;
}
.flow-row.expanded .flow-row-detail {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}
.flow-headline-compact {
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.4;
  flex: 1;
}
.flow-meta {
  font-size: 10px;
  color: var(--ink-muted);
  opacity: 0.65;
  white-space: nowrap;
}
.flow-positioning {
  font-size: 10px;
  color: var(--ink-muted);
  font-style: italic;
  white-space: nowrap;
  opacity: 0.7;
}

/* Intel report link in expanded cards */
.intel-report-link {
  display: block;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
  padding: 10px 0;
  margin-bottom: 4px;
  border: 1px solid rgba(212,175,55,0.2);
  transition: all 0.15s;
}
.intel-report-link:hover {
  background: rgba(212,175,55,0.06);
  border-color: var(--gold);
}

/* ═══════════════════════════════════════════════ */
/* v23.0: Two-World Architecture — INTEL / ALPHA */
/* ═══════════════════════════════════════════════ */
.layer-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex; align-items: baseline; gap: 12px;
  padding: 32px 0 8px; margin-top: 8px;
  border-top: 1px solid var(--divider);
}
.layer-header:first-of-type { border-top: none; margin-top: 0; }
.layer-label {
  font-family: var(--sans); font-size: 11px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 2px 8px;
}
.intel-header .layer-label { background: #1E293B; color: var(--intel-text); }
.alpha-header .layer-desc { color: var(--gold-dark); }
.alpha-header .layer-label { background: var(--gold); color: var(--intel-bg); }
.layer-desc {
  font-family: var(--serif); font-size: 13px; font-style: italic;
  color: var(--ink-muted); letter-spacing: 0.01em;
}
.nav-group-label { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }

/* ALPHA nav label: gold glow to distinguish immediately */
.nav-group-label:nth-of-type(2) { color: var(--gold-dark); }
.nav-group-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); padding: 0 2px; margin-right: 2px;
}
.nav-group-label:first-of-type { margin-left: 6px; }
.svc-card {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 16px; border: 1px solid var(--divider);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.svc-card:hover { border-color: var(--gold); background: var(--gold-pale, #FEFCF5); }
.svc-persona {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted);
}
.svc-title {
  font-family: var(--display); font-size: 16px; font-weight: 600;
  color: var(--ink); line-height: 1.2;
}
.svc-desc {
  font-family: var(--serif); font-size: 12px; line-height: 1.5;
  color: var(--ink-light);
}
/* ═══ END v23.0 ═══ */

/* ═══ v23.1: Asset Class Badges — Bloomberg-standard color coding ═══ */
.asset-badge {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1px 6px;
  border: 1px solid;
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
}
.asset-badge.fx            { color: #1D4ED8; border-color: #1D4ED8; background: rgba(29,78,216,0.06); }
.asset-badge.equities      { color: var(--green-alt); border-color: var(--green-alt); background: rgba(5,150,105,0.06); }
.asset-badge.commodities   { color: var(--gold-dark); border-color: var(--gold-dark); background: rgba(184,134,11,0.06); }
.asset-badge.crypto        { color: #7C3AED; border-color: #7C3AED; background: rgba(124,58,237,0.06); }
.asset-badge.fixed_income  { color: var(--red); border-color: var(--red); background: rgba(220,38,38,0.06); }
.asset-badge.defense       { color: #B45309; border-color: #B45309; background: rgba(180,83,9,0.06); }
.asset-badge.tech          { color: #0891B2; border-color: #0891B2; background: rgba(8,145,178,0.06); }

/* ═══ v23.1: Intel vs Alpha global accent distinction ═══ */
.intel-accent { color: var(--intel-bg); border-left-color: var(--intel-bg); }
.alpha-accent { color: var(--gold); border-left-color: var(--gold); }
.layer-header.intel-header .layer-label { background: var(--intel-bg); color: var(--intel-text); }
.layer-header.alpha-header .layer-desc { color: var(--gold); }
.alpha-header .layer-label { background: var(--gold); color: var(--intel-bg); font-family: 'JetBrains Mono', 'Roboto Mono', 'Courier New', monospace ; }

/* v23.7: Alpha layer gold accent boost */
.alpha-header { border-left-width: 3px ; }
.alpha-header .layer-label { font-weight: 900 ; letter-spacing: 0.16em ; }
.side-velocity { background: linear-gradient(135deg, #FFFDF5, #FFFBEB) ; border-color: var(--gold) ; }
.side-vel-value { color: var(--gold-dark) ; text-shadow: 0 1px 0 rgba(212,175,55,0.2); }

/* v23.8: Final polish — 44px touch targets, gold mobile buttons */
@media (max-width: 768px) {
  display: -webkit-inline-flex;
  .card-expand-btn { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; font-size: 12px; }
  display: -webkit-inline-flex;
  .product-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; }
  display: -webkit-inline-flex;
  .nav-group-label { min-height: 36px; display: inline-flex; align-items: center; }
  /* Gold accent for Signal/Trades in mobile nav */
  .product-nav a[href="./signal.html"],
  .product-nav a[href="./trades.html"] { border-color: var(--gold); color: var(--gold-dark); font-weight: 800; }
  
  /* FLOW SECTORS expander */
  .fresh-item { min-height: 36px; display: flex; align-items: center; }
}

/* v23.9: Alpha Lead-Gen Gate — blur entry/stop data, unlock CTA */
.alpha-gated { position: relative; }
.alpha-gated .gated-content { filter: blur(6px); user-select: none; pointer-events: none; opacity: 0.4; }
.alpha-gated .gate-overlay {
  display: -webkit-box;
  display: -webkit-flex;
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.85); z-index: 2;
}
.gate-overlay .gate-cta {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  color: #FFFFFF; background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 10px 20px; border: none; cursor: pointer;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: -webkit-inline-flex;
  text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
}
.gate-overlay .gate-cta:hover { background: linear-gradient(135deg, #9A6B09, #C4A030); }
.gate-overlay .gate-hint {
  font-family: var(--body); font-size: 11px; font-style: italic;
  color: var(--ink-muted); text-align: center;
}

/* Mobile: full-width gate */
@media (max-width: 768px) {
  .gate-overlay .gate-cta { font-size: 14px; padding: 12px 24px; width: 80%; text-align: center; }
}

/* ═══════════ v25.7: Loading skeleton spinner ═══════════ */
@keyframes spin {
  to { transform: rotate(360deg); }
}
#storiesLoading.hidden { display: none; }

/* ═══════════════════════════════════════════════ */
/* v25.15: PRODUCT PAGES — Lean, Neat, Unified    */
/* ═══════════════════════════════════════════════ */

/* Product page main container */
.product-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

/* Page hero/header — matching homepage hero */
.product-hero {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}
.product-hero h1 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}
.product-hero .product-desc {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-muted);
  font-style: italic;
  line-height: 1.5;
}

/* Product cards — matching homepage container style */
.product-card {
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-left: 3px solid #3B82F6; /* INTEL default */
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.product-card:hover {
  box-shadow: 0 2px 12px rgba(212,175,55,0.12);
  border-color: var(--gold);
}
.product-card.alpha-card {
  border-left-color: var(--gold); /* ALPHA gold */
}

/* Card header */
.product-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.product-card-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 2px;
}
.product-card-label.intel-label {
  background: #1E293B;
  color: var(--intel-text);
}
.product-card-label.alpha-label {
  background: var(--gold);
  color: var(--intel-bg);
}

/* Card title */
.product-card-title {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.product-card-title a {
  color: inherit;
  text-decoration: none;
}
.product-card-title a:hover {
  color: var(--gold);
}

/* Card meta row */
.product-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-muted);
  margin-top: 4px;
  flex-wrap: wrap;
}
.product-card-meta span {
  white-space: nowrap;
}

/* Card body */
.product-card-body {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.5;
  margin-top: 8px;
}

/* Amount badge */
.amount-badge {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  background: #F1F5F9;
  color: #1E293B;
}
.amount-badge.gold { background: #FFFDF5; color: var(--gold-dark); border: 1px solid #FDE68A; }

/* Direction indicators */
.dir-in { color: #16A34A; }
.dir-out { color: var(--red); }

/* Conviction badge */
.conviction-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: 2px;
}
.conviction-badge.high { background: #DCFCE7; color: #166534; }
.conviction-badge.med { background: #FEF9C3; color: #854D0E; }
.conviction-badge.low { background: #FEE2E2; color: #991B1B; }

/* Sector summary grid */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin: 16px 0;
}
.sector-chip {
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 10px 12px;
  transition: border-color 0.15s;
}
.sector-chip:hover { border-color: var(--gold); }
.sector-chip-name {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.sector-chip-amount {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.sector-chip-meta {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-light);
}

/* Data freshness indicator */
.product-freshness {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-muted);
  text-align: right;
  margin-bottom: 16px;
  opacity: 0.6;
}

/* Footer note */
.product-note {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--ink-muted);
  font-style: italic;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--divider);
}

/* Mobile */
@media (max-width: 640px) {
  .product-main { padding: 16px 12px 32px; }
  .product-hero h1 { font-size: 20px; }
  .product-card-title { font-size: 14px; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}



/* ═══════════════════════════════════════════════ */
/* v25.16: PRODUCT PAGE LEAN RESTRUCTURING        */
/* ═══════════════════════════════════════════════ */

/* Product page container — matching homepage card style */
.product-page .container {
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.product-page .container:hover {
  box-shadow: 0 2px 12px rgba(212,175,55,0.10);
  border-color: var(--gold);
}

/* INTEL accent: blue left border */
.product-page[data-layer="intel"] .container {
  border-left: 3px solid var(--intel-bg);
}
/* ALPHA accent: gold left border */
.product-page[data-layer="alpha"] .container {
  border-left: 3px solid var(--gold);
}

/* Container header — clean typography */
.product-page .container-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.product-page .container-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.product-page .container-subtitle {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 2px 7px;
  border-radius: 2px;
}
.product-page[data-layer="intel"] .container-subtitle {
  background: var(--intel-bg);
  color: var(--intel-text);
}
.product-page[data-layer="alpha"] .container-subtitle {
  background: var(--gold);
  color: var(--intel-bg);
}

/* Container description */
.product-page .container-desc {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Container count/freshness */
.product-page .container-count {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-light);
  margin-left: auto;
}

/* Container body */
.product-page .container-body {
  padding: 0;
}

/* Flow card styling within product pages */
.product-page .flow-card,
.product-page .flow-row {
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--intel-bg);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: box-shadow 0.15s, background 0.15s;
}
.product-page .flow-row.inflow { border-left-color: var(--green); }
.product-page .flow-row.outflow { border-left-color: var(--red); }
.product-page .flow-row:hover { background: var(--gray-50); box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.product-page .flow-row.inflow:hover { background: rgba(5,150,105,0.03); }
.product-page .flow-row.outflow:hover { background: rgba(220,38,38,0.03); }
.product-page .flow-card:hover,
.product-page .flow-row:hover {
  box-shadow: 0 2px 8px rgba(212,175,55,0.10);
}
.product-page[data-layer="alpha"] .flow-card,
.product-page[data-layer="alpha"] .flow-row {
  border-left-color: var(--gold);
}

/* Story card styling within product pages */
.product-page .story-card {
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-left: 3px solid #3B82F6;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: box-shadow 0.15s;
}
.product-page .story-card:hover {
  box-shadow: 0 2px 8px rgba(212,175,55,0.10);
}
.product-page[data-layer="alpha"] .story-card {
  border-left-color: var(--gold);
}

/* Trade/anchor card styling */
.product-page .anchor-card,
.product-page .anchor-item {
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: box-shadow 0.15s;
}
.product-page .anchor-card:hover,
.product-page .anchor-item:hover {
  box-shadow: 0 2px 8px rgba(212,175,55,0.12);
}

/* Original anchor-card (keep for backward compat) — legacy merged above */

/* Signal card styling */
.product-page .signal-card {
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: box-shadow 0.15s;
}
.product-page .signal-card:hover {
  box-shadow: 0 2px 8px rgba(212,175,55,0.12);
}

/* Track record card styling */
.product-page .track-card {
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: box-shadow 0.15s;
}
.product-page .track-card:hover {
  box-shadow: 0 2px 8px rgba(212,175,55,0.12);
}

/* Regime cards (flows page) */
.product-page .regime-card {
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 12px 14px;
}

/* Sector chip grid */
.product-page .sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin: 12px 0;
}

/* Divergence meter / signal grid items */
.product-page .divergence-item {
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 8px;
  transition: box-shadow 0.15s;
}
.product-page .divergence-item:hover {
  box-shadow: 0 2px 8px rgba(212,175,55,0.10);
}

/* Data freshness footer note */
.product-page .data-freshness {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-muted);
  text-align: right;
  margin-top: 8px;
  opacity: 0.5;
}

/* Mobile */
@media (max-width: 640px) {
  .product-page .container {
    padding: 14px 12px;
  }
  .product-page .container-title {
    font-size: 16px;
  }
}


/* H3: Mute gold in SVG charts — reserve gold for CTAs and accents */
.capital-flow-chart svg line,
.capital-flow-chart svg rect,
.capital-flow-chart svg circle,
.capital-flow-chart svg path,
.waveform svg line,
.waveform svg rect,
.waveform svg path {
  stroke: var(--gray-400);
  fill: var(--gray-400);
}
/* L1: Active/pressed states for all interactive elements */
.nav-dropdown-trigger:active,
.nav-dd-link:active,
.hero-btn:active,
.teaser-item:active,
.svc-card:active,
article.card:active,
.side-bc-link:active,
.product-card:active {
  transform: scale(0.97);
  transition: transform 0.1s;
}/* v27.1 — cache bust */

/* ═══════════════════════════════════════════════════════════════
   v28.0 — CONTRADICTION-FIRST STORY CARDS
   Design system: 4px spacing scale, typographic hierarchy
   ═══════════════════════════════════════════════════════════════ */

/* ── Story Card Container ── */
.story-card {
  display: block;
  padding: 16px;
  border-bottom: 1px solid #E5E7EB;
  background: #FFFFFF;
  transition: background 0.12s;
  cursor: default;
}
.story-card:hover {
  background: #F9FAFB;
}
.story-card.lead {
  border-left: 3px solid #D4AF37;
  padding-left: 20px;
}

/* ── Story Meta Row (tier badge + freshness) ── */
.story-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.story-meta .tier-badge {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 3px;
}
.story-meta .tier-badge.contradicted {
  background: rgba(220, 38, 38, 0.08);
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}
.story-meta .tier-badge.divergent {
  background: rgba(212, 175, 55, 0.1);
  color: #B8860B;
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.story-meta .tier-badge.developing {
  background: rgba(37, 99, 235, 0.06);
  color: #2563EB;
  border: 1px solid rgba(37, 99, 235, 0.15);
}
.story-meta .tier-badge.aligned {
  background: rgba(107, 114, 128, 0.06);
  color: #6B7280;
  border: 1px solid rgba(107, 114, 128, 0.15);
}

/* ── LINE 1: Headline ── */
.story-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin: 0 0 4px 0;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.story-headline a {
  color: #111827;
  text-decoration: none;
}
.story-headline a:hover {
  color: #8B0000;
}

/* ── LINE 2: Contradiction ── */
.story-contradiction {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  line-height: 1.45;
  color: #6B7280;
  margin: 0 0 8px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.story-contradiction .con-narrative,
.story-contradiction .con-reality {
  font-style: italic;
}
.story-contradiction .con-score {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ── LINE 3: Flow Indicator ── */
.story-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
}
.story-flow .flow-amount {
  font-weight: 700;
  font-size: 13px;
}
.story-flow .flow-sector {
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
  padding: 1px 6px;
  border: 1px solid #E5E7EB;
  border-radius: 3px;
}
.story-flow .flow-direction {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10px;
}
.story-flow .flow-velocity {
  color: #9CA3AF;
  font-size: 10px;
}

/* ── LINE 4: Action Links ── */
.story-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.story-actions .action-report {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #8B0000;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.story-actions .action-report:hover {
  color: #D4AF37;
}
.story-actions .action-signal {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #D4AF37;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.story-actions .action-signal:hover {
  color: #B8860B;
}

/* ── Expanded Detail Panel ── */
.story-expanded {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #E5E7EB;
}
.card.expanded .story-expanded {
  display: block !important;
}
.story-detail {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
  margin-bottom: 12px;
}
.story-detail .con-label {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9CA3AF;
  margin-bottom: 4px;
}
.story-detail .con-they,
.story-detail .con-real {
  margin-bottom: 8px;
}

/* ── Breaking Badge ── */
.breaking-badge {
  display: inline-block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #DC2626;
  background: rgba(220, 38, 38, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* ═══════════════════════════════════════════════
   NAVIGATION DRAWER — Sprint 2 hamburger + slide-out
   ═══════════════════════════════════════════════ */

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #8B0000;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Drawer backdrop ── */
.nav-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  transition: opacity 0.3s;
}
.nav-drawer-backdrop.open {
  display: block;
}

/* ── Drawer panel ── */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 12px rgba(0,0,0,0.12);
}
.nav-drawer.open {
  transform: translateX(0);
}

/* ── Drawer header ── */
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 2px solid #D4AF37;
}
.nav-drawer-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  color: #8B0000;
}
.nav-drawer-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  font-size: 28px;
  color: #6B7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Drawer body ── */
.nav-drawer-body {
  padding: 12px 0;
}
.nav-drawer-section {
  padding: 8px 20px 12px 20px;
  border-bottom: 1px solid #F3F4F6;
}
.nav-drawer-section:last-child {
  border-bottom: none;
}
.nav-drawer-section-title {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 8px;
}
.nav-drawer-link {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  color: #111827;
  text-decoration: none;
  padding: 8px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.nav-drawer-link:hover {
  color: #8B0000;
}

/* ── Mobile breakpoint ── */
@media (max-width: 600px) {
  .masthead-right {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}
