/* Legally Brief: Federal — "Map Room & May Light" · May 3, 2026 */

:root {
  --bg-primary: #1a1510;
  --bg-secondary: #242019;
  --bg-surface: #2e2820;
  --bg-elevated: #3a3328;
  --text-primary: #f4efe4;
  --text-secondary: #c9bfb0;
  --text-muted: #8a8074;
  --accent-red: #c44b3a;
  --accent-red-dim: rgba(196, 75, 58, 0.2);
  --accent-green: #4a9d7a;
  --accent-green-dim: rgba(74, 157, 122, 0.18);
  --accent-gold: #d4a84b;
  --accent-gold-dim: rgba(212, 168, 75, 0.22);
  --accent-blue: #6b8fbf;
  --accent-blue-dim: rgba(107, 143, 191, 0.16);
  --glass: rgba(46, 40, 32, 0.78);
  --glass-border: rgba(244, 239, 228, 0.1);
  --glass-highlight: rgba(212, 168, 75, 0.35);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

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

.ticker-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(26, 21, 16, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  padding-left: max(0.75rem, env(safe-area-inset-left));
  padding-right: max(0.75rem, env(safe-area-inset-right));
  padding-top: env(safe-area-inset-top);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  animation: ticker-marquee 52s linear infinite;
}

@keyframes ticker-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.35vw, 0.72rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.ticker-sep {
  color: var(--accent-gold);
  font-size: 0.85rem;
  opacity: 0.85;
}

/* —— Hero: ink wash + oversized serif —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(46px + env(safe-area-inset-top) + 3rem) 1.25rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 70% at 0% 50%, rgba(196, 75, 58, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 60% at 100% 20%, rgba(107, 143, 191, 0.12), transparent 50%),
    linear-gradient(165deg, #120f0c 0%, var(--bg-primary) 45%, #221c16 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  background-image:
    linear-gradient(90deg, rgba(244, 239, 228, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(244, 239, 228, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1.1vw, 0.75rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.hero__headline {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variation-settings: 'opsz' 72;
}

.hero__headline em {
  font-style: italic;
  color: var(--accent-red);
}

.hero__stat {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: -0.04em;
}

.hero__stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.hero__deck {
  max-width: 40rem;
  margin: 2rem auto 0;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero__ribbon {
  margin-top: 2.25rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.hero__ribbon span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.kicker {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1vw, 0.72rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.kicker--gold { color: var(--accent-gold); }
.kicker--red { color: var(--accent-red); }
.kicker--blue { color: var(--accent-blue); }

.sec {
  padding: clamp(3.25rem, 7vw, 6rem) 1.25rem;
  position: relative;
}

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

.sec__title {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.sec__title--serif {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 60;
}

.sec__lede {
  margin: 0;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 52rem;
}

.source-line {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.source-line a {
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 143, 191, 0.35);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.source-line a:hover {
  border-bottom-color: var(--accent-blue);
}

.mono { font-family: var(--font-mono); }

.js-reveal {
  opacity: 0;
  transform: translateY(26px);
}

.js-fade {
  opacity: 0;
}

/* Section A: Callais — parchment column */
.sec--parchment {
  background: linear-gradient(180deg, #2a241c, var(--bg-secondary));
}

.parch-wrap {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .parch-wrap {
    flex-direction: row;
    align-items: stretch;
  }
  .parch-main {
    flex: 1.15;
  }
  .parch-aside {
    flex: 0.85;
    align-self: center;
  }
}

.parch-main {
  padding: 1.75rem 1.5rem;
  background: linear-gradient(145deg, rgba(212, 168, 75, 0.08), rgba(26, 21, 16, 0.4));
  border: 1px solid var(--glass-border);
  border-radius: 4px 18px 18px 4px;
  backdrop-filter: blur(12px);
}

.parch-aside {
  padding: 1.5rem;
  border-top: 3px solid var(--accent-red);
  background: var(--bg-surface);
}

.vote-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.vote-dot {
  width: 36px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid var(--glass-border);
}

.vote-dot--maj {
  background: linear-gradient(180deg, var(--accent-green), rgba(74, 157, 122, 0.5));
}

.vote-dot--diss {
  background: linear-gradient(180deg, var(--accent-red), rgba(196, 75, 58, 0.45));
}

.vote-legend {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Section B: First Choice — full-bleed band */
.sec--band {
  background: var(--bg-primary);
  padding-left: 0;
  padding-right: 0;
}

.band {
  background: linear-gradient(90deg, var(--accent-blue-dim), transparent 40%, var(--accent-gold-dim)),
    var(--bg-secondary);
  border-block: 1px solid var(--glass-border);
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
}

.band__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 769px) {
  .band__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.band__nine {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 15vw, 9rem);
  font-weight: 800;
  line-height: 0.85;
  color: var(--text-primary);
  font-variation-settings: 'opsz' 144;
}

.band__nine small {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 0.75rem;
}

/* Section C: Interim — timeline rail */
.sec--interim {
  background: radial-gradient(circle at 0% 100%, var(--accent-gold-dim), transparent 50%), var(--bg-primary);
}

.interim-rail {
  margin-top: 2rem;
  border-left: 2px solid var(--accent-gold);
  padding-left: 1.5rem;
}

.interim-node {
  position: relative;
  padding-bottom: 1.75rem;
}

.interim-node:last-child {
  padding-bottom: 0;
}

.interim-node::before {
  content: '';
  position: absolute;
  left: -1.6rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 4px var(--bg-primary);
}

.interim-node h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(0.85rem, 1.15vw, 0.95rem);
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.interim-node p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  line-height: 1.7;
}

/* Section D: TPS — split columns */
.sec--split {
  background: var(--bg-secondary);
}

.split-duel {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .split-duel {
    flex-direction: row;
  }
}

.split-half {
  flex: 1;
  padding: 1.5rem 1.35rem;
  min-height: 120px;
}

.split-half--gov {
  background: linear-gradient(160deg, rgba(107, 143, 191, 0.12), transparent);
  border-bottom: 1px solid var(--glass-border);
}

@media (min-width: 768px) {
  .split-half--gov {
    border-bottom: none;
    border-right: 1px solid var(--glass-border);
  }
}

.split-half--chal {
  background: linear-gradient(200deg, rgba(212, 168, 75, 0.08), transparent);
}

.split-half h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.split-half p {
  margin: 0;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Section E: Hikma — typographic mono stack */
.sec--mono {
  background: linear-gradient(180deg, var(--bg-primary), #16120e);
}

.mono-stack {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.15vw, 0.98rem);
  color: var(--text-secondary);
  line-height: 1.85;
  border: 1px dashed var(--glass-border);
  padding: 1.5rem 1.25rem;
  border-radius: 8px;
}

.mono-stack strong {
  color: var(--accent-gold);
  font-weight: 600;
}

/* Section F: Mifepristone — alert stripe */
.sec--alert {
  background: var(--bg-secondary);
}

.alert-box {
  margin-top: 2rem;
  padding: 1.5rem 1.35rem;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(196, 75, 58, 0.35);
  border-radius: 10px;
}

.alert-box p {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Section G: 2nd Circuit — big number */
.sec--circuit {
  background: conic-gradient(from 90deg at 50% 120%, var(--accent-blue-dim), transparent 40%), var(--bg-primary);
}

.big-num {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 1;
  color: var(--accent-blue);
}

.big-num + p {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
}

/* Section H: Carroll — quote wall */
.sec--quote {
  background: var(--bg-secondary);
}

.quote-wall {
  margin-top: 2rem;
  padding: 2rem 1.5rem;
  background: var(--bg-surface);
  border-radius: 0 24px 0 24px;
  border-inline-start: 5px solid var(--accent-gold);
}

.quote-wall blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--text-primary);
}

.quote-wall cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* Section I: DOJ strike force — progress + list */
.sec--doj {
  background: linear-gradient(135deg, #1c1812, var(--bg-primary));
}

.doj-meter {
  margin-top: 1.75rem;
  max-width: 520px;
}

.doj-meter__cap {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.doj-meter__track {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-elevated);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.doj-meter__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
}

.doj-tags {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.doj-tags span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-secondary);
}

/* Section J: Congress TPS — compact cards (not uniform grid — staggered) */
.sec--congress {
  background: var(--bg-primary);
}

.stagger-cards {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-tilt {
  padding: 1.35rem 1.25rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

.card-tilt:nth-child(2) {
  margin-left: 0;
}

@media (min-width: 600px) {
  .card-tilt:nth-child(2) {
    margin-left: 8%;
  }
  .card-tilt:nth-child(3) {
    margin-left: 4%;
  }
}

.card-tilt h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.card-tilt p {
  margin: 0;
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Section K: National maps — horizontal stat + text */
.sec--maps {
  background: linear-gradient(0deg, var(--accent-red-dim), transparent 35%), var(--bg-secondary);
}

.maps-bar {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 769px) {
  .maps-bar {
    flex-direction: row;
    align-items: flex-start;
  }
}

.maps-stat {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent-gold);
  white-space: nowrap;
}

.maps-copy {
  flex: 1;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Section L: Calendar PDF — minimal */
.sec--cal {
  background: var(--bg-primary);
  border-block: 1px solid var(--glass-border);
}

.cal-block {
  margin-top: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--bg-surface);
}

.cal-block a {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.1vw, 0.85rem);
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 143, 191, 0.4);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Week ahead — vertical stack (not same as prior horizontal scroll) */
.sec--ahead {
  background: linear-gradient(180deg, var(--bg-secondary), #120f0c);
  padding-bottom: calc(4rem + env(safe-area-inset-bottom));
}

.ahead-stack {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ahead-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  border-left: 4px solid var(--accent-gold);
}

@media (min-width: 640px) {
  .ahead-item {
    flex-direction: row;
    align-items: baseline;
    gap: 1.5rem;
  }
}

.ahead-item__date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  min-width: 10rem;
  flex-shrink: 0;
}

.ahead-item h3 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.ahead-item p {
  margin: 0.25rem 0 0;
  font-size: clamp(0.85rem, 1.05vw, 0.95rem);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.site-footer {
  text-align: center;
  padding: 3rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--glass-border);
  background: var(--bg-primary);
}

.site-footer__brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

.site-footer__regen,
.site-footer__session,
.site-footer__timestamp {
  color: var(--text-secondary);
  font-size: clamp(0.85rem, 1.05vw, 0.95rem);
  margin: 1rem auto 0;
  max-width: 28rem;
}

.site-footer__session {
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.site-footer .source {
  color: var(--accent-blue);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 44px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero__headline {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .band__nine {
    text-align: center;
  }
}
