/* ============================================================
   Real Market Color — Midday Edition
   March 17, 2026 · 10:15 EDT · St. Patrick's Day
   Design: Dark forest editorial — the FOMC vigil.
   Contemplative, forensic, deliberate. Deep forest green
   meets antique gold and warm cream. The Fed is in session.
   ============================================================ */

:root {
  --bg-primary: #070c07;
  --bg-secondary: #0b130b;
  --bg-surface: #101a10;
  --bg-elevated: #172117;
  --text-primary: #e2d9be;
  --text-secondary: #7a8c6e;
  --text-muted: #374231;
  --accent-red: #c23b3b;
  --accent-red-dim: rgba(194, 59, 59, 0.1);
  --accent-green: #4ab869;
  --accent-green-dim: rgba(74, 184, 105, 0.08);
  --accent-gold: #c8a040;
  --accent-gold-dim: rgba(200, 160, 64, 0.10);
  --accent-blue: #6ea8c0;
  --glass: rgba(7, 12, 7, 0.94);
  --glass-border: rgba(200, 160, 64, 0.14);
  --glass-highlight: rgba(200, 160, 64, 0.28);
  --rule: rgba(200, 160, 64, 0.07);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ── Grain texture ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 9998;
}

/* ── Ticker Strip ── */
.ticker-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 46px;
  background: rgba(7, 12, 7, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 160, 64, 0.18);
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.tradingview-widget-container { height: 100%; }
.tradingview-widget-container__widget { height: 100%; }

/* ── Shared Utilities ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.eyebrow--gold    { color: var(--accent-gold); }
.eyebrow--red     { color: var(--accent-red); }
.eyebrow--green   { color: var(--accent-green); }
.eyebrow--default { color: var(--text-muted); }

.sec-hed {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.sec-hed--center { text-align: center; }
.sec-hed--wide { max-width: 100%; }

.body-text {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  max-width: 640px;
}
.body-text strong { color: var(--text-primary); font-weight: 700; }

.src-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(55, 66, 49, 0.5);
  padding-bottom: 2px;
  padding-top: 12px;
  min-height: 44px;
  transition: color 0.2s, border-color 0.2s;
}
.src-link:hover { color: var(--accent-gold); border-color: var(--accent-gold); }

.section {
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.fade-block {
  opacity: 0;
  transform: translateY(18px);
}

/* ── HERO ── */
.hero {
  min-height: 100dvh;
  min-height: 100vh;
  padding-top: calc(46px + env(safe-area-inset-top));
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Fine horizontal newsprint lines */
.hbg-rules {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(200, 160, 64, 0.025) 0px,
    rgba(200, 160, 64, 0.025) 1px,
    transparent 1px,
    transparent 44px
  );
}

/* Amber/gold radial aura from center */
.hbg-aura {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 55%, rgba(200, 160, 64, 0.05) 0%, transparent 65%),
    radial-gradient(ellipse 30% 25% at 75% 75%, rgba(74, 184, 105, 0.04) 0%, transparent 55%);
  animation: auraShift 10s ease-in-out infinite;
}

@keyframes auraShift {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* St. Patrick's Day easter egg — barely visible shamrock */
.hbg-shamrock {
  position: absolute;
  bottom: 15%;
  right: 8%;
  font-size: 18rem;
  color: var(--accent-green);
  opacity: 0.022;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}

/* ── Hero Masthead ── */
.hero-masthead {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.1rem clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid var(--rule);
  opacity: 0;
}

.hm-col { display: flex; flex-direction: column; gap: 0.2rem; }
.hm-col--center { align-items: center; }
.hm-col--right { align-items: flex-end; }

.hm-session {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.hm-date-small {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hm-brand {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.hm-clock {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.hm-fomc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-red);
}

.hm-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-red);
  animation: redPulse 1.3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes redPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

/* ── Hero Editorial Area ── */
.hero-editorial {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 8vw, 10rem);
  opacity: 0;
}

.he-kicker {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.he-hed {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.he-deck {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 580px;
}

/* ── Hero Stats Strip ── */
.hero-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-top: 1px solid var(--rule);
  opacity: 0;
  padding-bottom: env(safe-area-inset-bottom);
}

.hs-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: clamp(0.85rem, 1.5vw, 1.1rem) clamp(1rem, 2.5vw, 2rem);
  flex: 1 1 130px;
}

.hs-rule {
  width: 1px;
  background: var(--rule);
}

.hsi-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hsi-val {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.hsi-chg {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hsi-chg--green { color: var(--accent-green); }
.hsi-chg--amber { color: var(--accent-gold); }
.hsi-chg--red   { color: var(--accent-red); }
.hsi-chg--muted { color: var(--text-muted); }

/* ── SECTION 01: GOLD BIG NUMBER ── */
.s-gold { background: var(--bg-secondary); }

.gold-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.gold-number {
  font-family: var(--font-mono);
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: -0.05em;
  line-height: 0.85;
  margin: 0.5rem 0;
}

.gold-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.gold-context {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 2rem;
}

.gc-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 1.2rem;
  text-align: left;
}

.gc-rule {
  width: 1px;
  background: var(--rule);
  flex-shrink: 0;
}

.gci-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gci-val {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: -0.01em;
}

.gci-val--multi {
  font-size: clamp(0.75rem, 1.2vw, 0.88rem);
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 600;
}

.gci-note {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
}

.gold-editorial {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 680px;
  text-align: center;
  font-style: italic;
  padding: 1.5rem;
  border-left: 2px solid rgba(200, 160, 64, 0.3);
  border-right: 2px solid rgba(200, 160, 64, 0.3);
  background: rgba(200, 160, 64, 0.03);
}

/* ── SECTION 02: DOT PLOT RINGS ── */
.s-dots { background: var(--bg-primary); }

.dots-wrap { max-width: 1100px; margin: 0 auto; }

.dots-intro {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 3rem;
}

.dots-rings {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  flex-wrap: wrap;
}

.dr-scenario {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background: var(--bg-surface);
  border-right: 1px solid var(--rule);
  text-align: center;
  position: relative;
}
.dr-scenario:last-child { border-right: none; }
.dr-scenario--main { background: rgba(200, 160, 64, 0.03); }
.dr-scenario--main::before {
  content: 'CONSENSUS';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.46rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(200, 160, 64, 0.12);
  border: 1px solid rgba(200, 160, 64, 0.25);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  white-space: nowrap;
}

.dr-ring {
  width: 120px;
  height: 120px;
}

.drr-track {
  fill: none;
  stroke: rgba(55, 66, 49, 0.4);
  stroke-width: 8;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.drr-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1.5s var(--ease-out-expo);
}
.drr-fill--red  { stroke: var(--accent-red); }
.drr-fill--gold { stroke: var(--accent-gold); }
.drr-fill--green { stroke: var(--accent-green); }

.dr-pct {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: -0.5rem;
}
.dr-pct--red   { color: var(--accent-red); }
.dr-pct--gold  { color: var(--accent-gold); }
.dr-pct--green { color: var(--accent-green); }

.dr-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.dr-desc {
  font-size: clamp(0.78rem, 1vw, 0.87rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 220px;
}

.dots-dissent {
  padding: 1.5rem 2rem;
  border: 1px solid rgba(194, 59, 59, 0.2);
  border-left: 2px solid var(--accent-red);
  background: rgba(194, 59, 59, 0.03);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.dd-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
}

.dd-body {
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── SECTION 03: STAGFLATION EQUATION ── */
.s-stagflation { background: var(--bg-secondary); }

.stagflation-wrap { max-width: 1200px; margin: 0 auto; }

.stag-equation {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 3rem 0;
  flex-wrap: wrap;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

.se-factor {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 3rem 2rem;
  background: var(--bg-surface);
  text-align: center;
  border-right: 1px solid var(--rule);
}
.se-factor:last-child { border-right: none; }
.se-factor--oil { background: rgba(200, 160, 64, 0.03); }
.se-factor--tariff { background: rgba(194, 59, 59, 0.02); }
.se-factor--result { background: rgba(55, 66, 49, 0.15); }

.se-plus, .se-equals {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-muted);
  padding: 1rem;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}
.se-equals { color: var(--accent-red); }

.sef-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.sef-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sef-val {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-gold);
}
.se-factor--tariff .sef-val { color: var(--accent-red); }
.se-factor--result .sef-val { font-size: clamp(1rem, 2.5vw, 1.8rem); color: var(--accent-red); }

.sef-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.stag-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.ss-col { padding: 2rem 2.5rem; background: var(--bg-surface); }

.ss-divider {
  width: 1px;
  background: var(--rule);
}

.ssc-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.ssc-items { display: flex; flex-direction: column; gap: 0.5rem; }

.ssci {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.4;
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
}
.ssci--bad { color: var(--accent-red); background: var(--accent-red-dim); }
.ssci--ok  { color: var(--accent-green); background: var(--accent-green-dim); }

/* ── SECTION 04: HORMUZ CRISIS ── */
.s-hormuz { background: var(--bg-primary); }

.hormuz-wrap { max-width: 1300px; margin: 0 auto; }

.hz-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
  margin-top: 0;
}

.hz-left .body-text { max-width: none; }

.hz-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  position: sticky;
  top: 70px;
}

.hz-stat {
  padding: 2.5rem 2rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hz-stat:last-child { border-bottom: none; }
.hz-stat--before { background: rgba(55, 66, 49, 0.08); }
.hz-stat--now    { background: rgba(194, 59, 59, 0.04); }

.hzs-label {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hzs-number {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--text-primary);
}
.hzs-number--red { color: var(--accent-red); }

.hzs-unit {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hzs-bar {
  height: 8px;
  background: rgba(55, 66, 49, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.hzsb-fill {
  height: 100%;
  width: var(--w, 0%);
  border-radius: 2px;
  transition: width 1.5s var(--ease-out-expo);
}
.hzsb-fill--full { background: var(--accent-green); }
.hzsb-fill--red  { background: var(--accent-red); }

.hzs-note {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.hz-arrow {
  padding: 0.75rem 2rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-red);
}

/* ── SECTION 05: S&P TECHNICAL LEVELS ── */
.s-spx { background: var(--bg-secondary); }

.spx-wrap { max-width: 1300px; margin: 0 auto; }

.spx-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
  margin-top: 1rem;
}

.spx-levels {
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  position: sticky;
  top: 70px;
}

.sl-header {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.65rem 1.2rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--rule);
}

.sl-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-surface);
}
.sl-item:last-child { border-bottom: none; }

.sl-item--above { background: rgba(55, 66, 49, 0.05); }
.sl-item--below { background: rgba(194, 59, 59, 0.03); }
.sl-item--current {
  background: rgba(74, 184, 105, 0.04);
  border-left: 2px solid var(--accent-green);
  border-color: rgba(74, 184, 105, 0.2);
}

.sli-zone {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sli-zone--live {
  color: var(--accent-green);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.sli-val {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}
.sli-val--green { color: var(--accent-green); }

.sli-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.spx-text .body-text { max-width: none; }

/* ── SECTION 06: BITCOIN FOMC PATTERN ── */
.s-btc { background: var(--bg-primary); }

.btc-wrap { max-width: 1200px; margin: 0 auto; }

.btc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
  margin-top: 2rem;
}

.btc-price-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--glass-border);
  border-radius: 2px;
  background: var(--bg-surface);
  position: sticky;
  top: 70px;
}

.bpp-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bpp-price {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-gold);
  line-height: 1;
}

.bpp-delta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
}
.bpp-delta--red { color: var(--accent-red); }

.bppr-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.bppr-track {
  position: relative;
  height: 4px;
  background: rgba(55, 66, 49, 0.3);
  border-radius: 2px;
}

.bppr-marker {
  position: absolute;
  top: -3px;
  left: var(--pos, 0%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--accent-gold);
  transition: left 1.5s var(--ease-out-expo);
}

.bppr-bounds {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: var(--text-muted);
}

.bpp-note {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  line-height: 1.55;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
}

/* Bitcoin table */
.btc-table-panel {
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

.btp-header {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.7rem 1.2rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--rule);
}

.btp-row {
  display: grid;
  grid-template-columns: 80px 120px 1fr;
  align-items: center;
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}
.btp-row--alt { background: rgba(55, 66, 49, 0.04); }
.btp-row--current { background: rgba(200, 160, 64, 0.04); border-color: rgba(200, 160, 64, 0.2); }

.btp-date { color: var(--text-secondary); }
.btp-action { color: var(--text-muted); font-size: 0.62rem; }

.btp-result { font-weight: 700; }
.btp-result--red    { color: var(--accent-red); }
.btp-result--green  { color: var(--accent-green); }
.btp-result--unknown { color: var(--accent-gold); font-size: 1rem; }

.btp-footer {
  padding: 0.85rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--bg-elevated);
  font-style: italic;
}

/* ── SECTION 07: MICRON EARNINGS ── */
.s-micron { background: var(--bg-secondary); }

.micron-wrap {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.mu-event-card {
  border: 1px solid rgba(74, 184, 105, 0.2);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-surface);
  position: sticky;
  top: 70px;
}

.muec-tag {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: rgba(74, 184, 105, 0.08);
  padding: 0.4rem 1rem;
  border-bottom: 1px solid rgba(74, 184, 105, 0.15);
}

.muec-header {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.muec-ticker {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: -0.03em;
  line-height: 1;
}

.muec-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.muec-when {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
}

.muec-consensus {
  display: flex;
  flex-direction: column;
}

.mucc-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mucc-item:last-child { border-bottom: none; }

.mucci-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mucci-val {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: -0.02em;
}

.mucci-note {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-muted);
}

.mu-text .body-text { max-width: none; }

/* ── SECTION 08: TARIFF PIPELINE ── */
.s-tariff { background: var(--bg-primary); }

.tariff-wrap { max-width: 1100px; margin: 0 auto; }

.tariff-intro {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.tariff-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 3rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  flex-wrap: wrap;
}

.tf-step {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2.5rem 1.5rem;
  background: var(--bg-surface);
  border-right: 1px solid var(--rule);
  text-align: center;
}
.tf-step:last-child { border-right: none; }
.tf-step--1 { background: rgba(200, 160, 64, 0.03); }
.tf-step--2 { background: rgba(194, 59, 59, 0.02); }
.tf-step--3 { background: rgba(194, 59, 59, 0.04); }
.tf-step--4 { background: rgba(194, 59, 59, 0.06); }

.tfs-icon { font-size: 1.5rem; line-height: 1; }

.tfs-label {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tfs-val {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: -0.02em;
}

.tfs-desc {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.tf-arrow {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--bg-elevated);
  border-right: 1px solid var(--rule);
  flex-shrink: 0;
}

.tariff-quote {
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent-gold);
  padding: 2rem 2.5rem;
  background: var(--bg-surface);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.tq-text {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.75;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 0.75rem;
  quotes: none;
}

.tq-attribution {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── SECTION 09: TREASURY YIELDS ── */
.s-yields { background: var(--bg-secondary); }

.yields-wrap {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

.yield-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  margin: 2rem 0;
}

.ystrip-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.2rem 0.75rem;
  background: var(--bg-surface);
  border-right: 1px solid var(--rule);
  text-align: center;
}
.ystrip-item:last-child { border-right: none; }
.ystrip-item--active { background: rgba(200, 160, 64, 0.04); }

.ysi-mat {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.ysi-yield {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.ystrip-item--active .ysi-yield { color: var(--accent-gold); }

.ysi-delta {
  font-family: var(--font-mono);
  font-size: 0.52rem;
}
.ysi-delta--up { color: var(--accent-gold); }

.yw-left .body-text { max-width: none; }

.yw-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
}

.yield-pull {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-style: normal;
  border-left: 3px solid var(--accent-gold);
  padding-left: 1.5rem;
  quotes: none;
}

.yp-attribution {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.yp-context {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  line-height: 1.7;
  color: var(--text-secondary);
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--rule);
  border-radius: 2px;
}

/* ── SECTION 10: CALENDAR TIMELINE ── */
.s-calendar { background: var(--bg-primary); }

.calendar-wrap { max-width: 1100px; margin: 0 auto; }

.cal-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 3rem 0 1.5rem;
  position: relative;
}

.cal-timeline::before {
  content: '';
  position: absolute;
  left: 108px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.ct-event {
  display: grid;
  grid-template-columns: 110px 20px 1fr;
  gap: 0 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.ct-event:last-child { border-bottom: none; }

.ct-event--now    { background: rgba(74, 184, 105, 0.02); }
.ct-event--key    { background: rgba(200, 160, 64, 0.03); }
.ct-event--wild   { background: rgba(194, 59, 59, 0.02); }

.cte-time {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 0.25rem;
  text-align: right;
}

.ct-event--now .cte-time { color: var(--accent-green); }
.ct-event--key .cte-time { color: var(--accent-gold); }
.ct-event--wild .cte-time { color: var(--accent-red); }

.cte-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  margin-top: 0.3rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.cte-dot--pulse { background: var(--accent-green); animation: dotPulse 1.5s ease-in-out infinite; }
.cte-dot--gold  { background: var(--accent-gold); }
.cte-dot--amber { background: var(--accent-gold); opacity: 0.7; }
.cte-dot--red   { background: var(--accent-red); }

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 184, 105, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(74, 184, 105, 0); }
}

.cte-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cteb-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.cteb-desc {
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.cteb-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  border-radius: 2px;
  align-self: flex-start;
  margin-top: 0.25rem;
  min-height: 22px;
  display: flex;
  align-items: center;
}
.cteb-tag--live     { background: var(--accent-green-dim); color: var(--accent-green); border: 1px solid rgba(74,184,105,0.25); }
.cteb-tag--data     { background: rgba(110,168,192,0.08); color: var(--accent-blue); border: 1px solid rgba(110,168,192,0.2); }
.cteb-tag--critical { background: var(--accent-gold-dim); color: var(--accent-gold); border: 1px solid rgba(200,160,64,0.25); }
.cteb-tag--earnings { background: var(--accent-green-dim); color: var(--accent-green); border: 1px solid rgba(74,184,105,0.2); }
.cteb-tag--wild     { background: var(--accent-red-dim); color: var(--accent-red); border: 1px solid rgba(194,59,59,0.25); }

/* ── SECTION 11: GLOBAL SNAPSHOT ── */
.s-global { background: var(--bg-secondary); }

.global-wrap { max-width: 1200px; margin: 0 auto; }

.global-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.gg-item {
  padding: 1.5rem 1.25rem;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gg-item--green { background: rgba(74, 184, 105, 0.025); }
.gg-item--amber { background: rgba(200, 160, 64, 0.025); }
.gg-item--red   { background: rgba(194, 59, 59, 0.025); }

.ggi-name {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ggi-val {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.ggi-chg {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
}
.gg-chg--green { color: var(--accent-green); }
.gg-chg--amber { color: var(--accent-gold); }
.gg-chg--red   { color: var(--accent-red); }

.ggi-note {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── FOOTER ── */
.site-footer {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem);
  padding-bottom: calc(clamp(3rem, 6vw, 5rem) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  text-align: center;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.site-footer__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: footerPulse 2.8s ease-in-out infinite;
  box-shadow: 0 0 6px var(--accent-green);
}

@keyframes footerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.site-footer__regen {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.site-footer__session {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.site-footer__timestamp {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.site-footer a.source {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  min-height: 44px;
  align-items: center;
  transition: color 0.2s;
}
.site-footer a.source:hover { color: var(--accent-gold); }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .hz-layout     { grid-template-columns: 1fr; }
  .spx-layout    { grid-template-columns: 1fr; }
  .btc-layout    { grid-template-columns: 1fr; }
  .micron-wrap   { grid-template-columns: 1fr; }
  .yields-wrap   { grid-template-columns: 1fr; }
  .hz-right      { position: static; }
  .spx-levels    { position: static; }
  .btc-price-panel { position: static; }
  .mu-event-card { position: static; }
}

@media (max-width: 1024px) {
  .stag-split    { grid-template-columns: 1fr; }
  .ss-divider    { display: none; }
  .cal-timeline::before { left: 90px; }
  .ct-event { grid-template-columns: 92px 20px 1fr; }
}

@media (max-width: 768px) {
  .hero-masthead { grid-template-columns: 1fr 1fr; }
  .hm-col--center { display: none; }
  .hm-col--right { grid-column: 2; }
  .hero-strip { flex-direction: column; }
  .hs-rule { width: 100%; height: 1px; }
  .dots-rings { flex-direction: column; }
  .dr-scenario { border-right: none; border-bottom: 1px solid var(--rule); }
  .stag-equation { flex-direction: column; }
  .se-factor { border-right: none; border-bottom: 1px solid var(--rule); }
  .se-plus, .se-equals { flex-direction: row; padding: 0.75rem 2rem; align-self: auto; border-right: none; border-bottom: 1px solid var(--rule); }
  .tariff-flow { flex-direction: column; }
  .tf-step { border-right: none; border-bottom: 1px solid var(--rule); }
  .tf-arrow { display: none; }
  .btp-row { grid-template-columns: 70px 100px 1fr; font-size: 0.62rem; }
  .gold-context { flex-direction: column; }
  .gc-rule { width: 100%; height: 1px; }
  .yield-strip { flex-direction: row; }
  .cal-timeline::before { display: none; }
  .ct-event { grid-template-columns: 1fr; gap: 0.5rem; }
  .cte-dot { display: none; }
  .cte-time { text-align: left; }
}

@media (max-width: 480px) {
  .he-hed { font-size: clamp(3rem, 22vw, 6rem); }
  .gold-number { font-size: clamp(4rem, 22vw, 8rem); }
  .global-grid { grid-template-columns: 1fr 1fr; }
  .btp-row { grid-template-columns: 60px 90px 1fr; font-size: 0.58rem; }
  .hzs-number { font-size: clamp(2.5rem, 14vw, 5rem); }
}
