:root {
  --bg: #0b0a0f;
  --panel: #16131c;
  --ink: #f6f0e6;
  --muted: #b7a99a;
  --hot: #ff2e63;
  --sun: #ffc857;
  --pop: #00e5c0;
  --line: #2c2433;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 10, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--hot);
  padding: 0.75rem 1.25rem 0.5rem;
}
/* Reserve space so content never slides under the fixed header */
body {
  padding-top: 6.5rem;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
  border: 2px solid var(--sun);
}
.brand-text {
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}
.nav a {
  color: var(--sun);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--pop); }
.tagline {
  max-width: 1100px;
  margin: 0.35rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Banner stays as a fixed cool background across the site */
body.has-banner-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(11, 10, 15, 0.55) 0%, rgba(11, 10, 15, 0.82) 40%, rgba(11, 10, 15, 0.94) 100%),
    url("/assets/banner.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero {
  position: relative;
  max-height: 340px;
  overflow: hidden;
  border-bottom: 4px solid var(--sun);
}
.hero-banner {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  filter: saturate(1.15) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.55) 100%);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
}
.hero-badge {
  width: min(180px, 32vw);
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 6px 6px 0 var(--hot);
}
.hero-copy h1 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  line-height: 1.1;
  margin: 0.25rem 0 0;
  max-width: 16ch;
  text-shadow: 3px 3px 0 #000;
}
.eyebrow {
  margin: 0;
  color: var(--pop);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

main { max-width: 1100px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }

.daily {
  background: rgba(22, 19, 28, 0.88);
  border: 3px solid var(--line);
  box-shadow: 10px 10px 0 rgba(255, 46, 99, 0.35);
  padding: 1.25rem;
  backdrop-filter: blur(6px);
}
.daily-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
}
.portrait img {
  width: 100%;
  display: block;
  border: 3px solid var(--sun);
  box-shadow: 5px 5px 0 var(--hot);
}
.portrait figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.daily-body h2 {
  font-family: "Archivo Black", sans-serif;
  margin: 0 0 0.75rem;
  color: var(--sun);
  font-size: 1.5rem;
}
.assessment p {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
}
.assessment p:first-child {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.4rem;
  color: var(--hot);
}
.source-note {
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  margin: 1rem 0 0;
}
.source-note a { color: var(--pop); }

.signals { margin-top: 2.5rem; }
.signals h2 {
  font-family: "Archivo Black", sans-serif;
  margin: 0 0 1rem;
}
.signal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.signal-cards figure {
  margin: 0;
  background: rgba(22, 19, 28, 0.9);
  border: 3px solid var(--line);
  box-shadow: 6px 6px 0 rgba(255, 46, 99, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.signal-cards img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-bottom: 3px solid var(--line);
}
.signal-cards figcaption {
  padding: 0.75rem 0.85rem 0.25rem;
  font-weight: 700;
  color: var(--sun);
  font-family: "Archivo Black", sans-serif;
}
.signal-cards .signal-summary {
  padding: 0.35rem 0.85rem 0.5rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}
.signal-cards .evidence {
  padding: 0 0.85rem 0.9rem 1.85rem;
  margin: 0;
  font-size: 0.85rem;
}
.signal-cards .evidence a { color: var(--pop); }

.site-footer {
  border-top: 3px solid var(--hot);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  color: var(--muted);
}
.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.fine { font-size: 0.8rem; max-width: 42rem; margin: 0.5rem auto 0; }

@media (max-width: 800px) {
  .daily-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 280px; }
  .signal-cards { grid-template-columns: 1fr; }
  .hero-overlay { flex-direction: column; align-items: flex-start; }
  .hero { max-height: none; }
  .hero-banner { height: 280px; }
}


.signal-cards figcaption {
  padding: 0.65rem 0.75rem 0.25rem;
  font-weight: 700;
  color: var(--sun);
}
.evidence {
  list-style: none;
  margin: 0;
  padding: 0 0.75rem 0.85rem;
}
.evidence li {
  margin: 0.35rem 0;
  font-size: 0.82rem;
  line-height: 1.35;
}
.evidence a {
  color: var(--pop);
  text-decoration: none;
  font-weight: 600;
}
.evidence a:hover { color: var(--hot); text-decoration: underline; }

.badge-live { color: var(--pop); font-weight: 800; letter-spacing: 0.06em; }
.badge-stale { color: var(--sun); font-weight: 800; letter-spacing: 0.06em; }
.badge-old { color: var(--hot); font-weight: 800; letter-spacing: 0.06em; }
.erin-lead {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.4rem;
  color: var(--hot);
}
.unavailable { color: var(--hot); font-weight: 700; }
.muted { color: var(--muted); }
.signal-summary { margin: 0 0 0.5rem; padding: 0 0.75rem; font-size: 0.92rem; color: var(--ink); }
.coverage { margin-top: 2.5rem; }
.section-status { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.section-status li {
  background: var(--panel);
  border: 2px solid var(--line);
  padding: 0.55rem 0.75rem;
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
}
.section-status .state { text-transform: uppercase; font-weight: 800; letter-spacing: 0.04em; }
.state-ok .state { color: var(--pop); }
.state-partial .state { color: var(--sun); }
.state-unavailable .state, .state-empty .state { color: var(--hot); }

.prediction { margin: 2rem 0; }
.prediction-wrap {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 1rem 1.25rem;
  align-items: end;
}
.prediction-wrap .ink-well {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 2px solid var(--line);
  box-shadow: 5px 5px 0 rgba(255, 46, 99, 0.25);
  object-fit: cover;
}
.prediction-card {
  border: 1px solid var(--border, #333);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 180, 60, 0.06);
}
.pred-action {
  margin: 0.85rem 0;
}
.pred-action-label {
  font-weight: 700;
  color: var(--sun);
}
.pred-action-hand {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 700px) {
  .prediction-wrap { grid-template-columns: 1fr; }
  .prediction-wrap .ink-well { max-width: 140px; }
}
.prediction-card .pred-thesis { font-size: 1.05rem; }
.prediction-card .fine { color: var(--muted, #888); font-size: 0.85rem; margin-top: 0.75rem; }
.prediction-card code {
  background: rgba(255,255,255,0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  margin-right: 0.25rem;
}
.horizons { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.4rem; }
.horizons li {
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border, #333);
  font-size: 0.92rem;
}
.horizon-ready { border-color: #3d8f5a; }
.horizon-collecting { opacity: 0.85; }
.horizon-unavailable { opacity: 0.6; }

.lens-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border, #444);
  background: rgba(120, 160, 255, 0.08);
  font-size: 0.9rem;
}
.lens-chip .lens-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  color: var(--muted, #888);
}

.lens-chip a.lens-name {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.lens-chip a.lens-name:hover {
  color: var(--hot, #ff2e63);
  text-decoration: underline;
}

@media (max-width: 800px), (prefers-reduced-motion: reduce) {
  body.has-banner-bg,
  .hero {
    background-attachment: scroll;
  }
}

.daily-cta {
  padding: 1.25rem 1.4rem;
}
.zg-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 3px solid var(--sun);
  background: rgba(0,0,0,0.35);
  box-shadow: 6px 6px 0 var(--hot);
}
.zg-cta:hover {
  border-color: var(--hot);
  color: var(--pop);
}
.zg-cta-kicker {
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}
.zg-cta-title {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--sun);
}
.zg-cta-voice {
  font-weight: 700;
  color: var(--hot);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 46, 99, 0.12);
}

.zg-home { margin-top: 2.5rem; }
.zg-home .viewer-panel {
  background: rgba(22, 19, 28, 0.92);
  border: 3px solid var(--line);
  padding: 1rem 1.1rem;
  box-shadow: 8px 8px 0 rgba(255, 46, 99, 0.22);
}
.zg-home h2 {
  font-family: "Archivo Black", sans-serif;
  color: var(--sun);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
pre.zg {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0.75rem 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.86rem;
  line-height: 1.45;
  background: #120f16;
  border: 2px solid var(--line);
  padding: 0.85rem;
  max-height: none;
  overflow: auto;
  color: var(--ink);
}
