:root {
  color-scheme: dark;
  --ink: #06070a;
  --ink-2: #10151d;
  --paper: #f7f1df;
  --paper-2: #fff8e8;
  --cyan: #29e6ff;
  --coral: #ff4c38;
  --gold: #ffd66e;
  --green: #7dff9f;
  --pink: #ff5caf;
  --blue: #4f7cff;
  --muted: rgba(255, 255, 255, 0.7);
  --line: rgba(255, 255, 255, 0.16);
  --card: rgba(11, 16, 25, 0.76);
  --paper-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(41, 230, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 88% 8%, rgba(255, 76, 56, 0.22), transparent 24rem),
    radial-gradient(circle at 58% 72%, rgba(125, 255, 159, 0.12), transparent 22rem),
    linear-gradient(135deg, #050507 0%, #111827 42%, #1a1014 100%);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.is-printing main {
  animation: pressKick 420ms ease both;
}

body.cannon main {
  animation: cannonPulse 780ms ease both;
}

a {
  color: inherit;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 1040px;
  margin-bottom: 1rem;
  font-size: clamp(3.1rem, 8vw, 8.9rem);
  line-height: 0.86;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.3rem, 5.8vw, 5.9rem);
  line-height: 0.92;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1;
}

p {
  color: var(--muted);
}

#dataSky {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
}

.paper-grain,
.scanline {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.paper-grain {
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 64%, transparent 100%);
}

.scanline {
  z-index: 100;
  opacity: 0.05;
  background: repeating-linear-gradient(180deg, transparent 0 7px, #fff 8px);
  mix-blend-mode: overlay;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 76px;
  padding: 0.75rem 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 25% 20%, #fff 0 8%, transparent 22%),
    linear-gradient(135deg, var(--gold), var(--coral) 48%, var(--pink));
  color: #090a0d;
  font-weight: 950;
  box-shadow: 0 0 34px rgba(255, 76, 56, 0.36);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1;
}

.brand small {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  font-weight: 800;
}

.topbar nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.topbar nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  text-decoration: none;
}

.topbar nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.icon-button,
.button {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.icon-button {
  padding: 0.62rem 0.86rem;
  background: var(--paper);
  color: #0a0b0d;
}

.icon-button span:first-child {
  font-size: 1.15rem;
  line-height: 1;
}

.button {
  padding: 0.78rem 1.05rem;
}

.button.primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 0 34px rgba(255, 76, 56, 0.34);
}

.button.secondary {
  background: var(--paper);
  color: #111;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button.wide {
  width: 100%;
}

.button::after,
.icon-button::after {
  content: "";
  position: absolute;
  inset: -80%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  transform: translateX(-90%) rotate(18deg);
  transition: transform 560ms ease;
}

.button:hover::after,
.icon-button:hover::after {
  transform: translateX(92%) rotate(18deg);
}

.button:hover,
.icon-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.12);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  grid-template-areas:
    "copy visual"
    "stats stats";
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(2.8rem, 7vw, 7rem) 4vw 3rem;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
}

.kicker {
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 760px;
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

.hero-actions,
.paper-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  align-items: center;
}

.hero-actions {
  margin-top: 1.6rem;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.4rem;
}

.source-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 850;
}

.hero-visual {
  grid-area: visual;
  position: relative;
  min-height: min(62vh, 640px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: #0c1016;
  box-shadow: var(--paper-shadow);
  isolation: isolate;
  transform: rotate(1.2deg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 52% 36%, transparent 0 18%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.14) contrast(1.05);
}

.radar-orb {
  position: absolute;
  right: 7%;
  bottom: 14%;
  z-index: 4;
  width: min(44vw, 260px);
  aspect-ratio: 1;
  border: 1px solid rgba(41, 230, 255, 0.62);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(41, 230, 255, 0.16) 0 2px, transparent 2px 30px),
    radial-gradient(circle, rgba(41, 230, 255, 0.16), transparent 66%);
  box-shadow: 0 0 42px rgba(41, 230, 255, 0.22), inset 0 0 28px rgba(41, 230, 255, 0.18);
}

.radar-orb::before,
.radar-orb span,
.radar-orb i {
  content: "";
  position: absolute;
  inset: 50% 0 auto 50%;
  transform-origin: 0 0;
}

.radar-orb::before {
  width: 48%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  animation: radarSweep 3.8s linear infinite;
}

.radar-orb span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(42px, -58px);
  box-shadow: 0 0 18px var(--gold);
  animation: ping 1.8s ease-in-out infinite;
}

.radar-orb i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  transform: translate(-74px, 36px);
  box-shadow: 0 0 18px var(--coral);
  animation: ping 2.3s ease-in-out infinite;
}

.hero-stamp,
.live-badge {
  position: absolute;
  z-index: 5;
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.hero-stamp {
  left: 1rem;
  top: 1rem;
  padding: 0.6rem 0.74rem;
  border: 2px solid rgba(255, 214, 110, 0.9);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  transform: rotate(-5deg);
}

.live-badge {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 4, 8, 0.72);
  color: #fff;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(125, 255, 159, 0.64);
  animation: dotPulse 1.5s ease-out infinite;
}

.stat-grid {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  align-self: end;
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.stat-card.focus {
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 214, 110, 0.2), transparent 9rem),
    rgba(255, 255, 255, 0.1);
}

.stat-card span,
.stat-card strong,
.stat-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stat-card strong {
  margin: 0.32rem 0 0.18rem;
  font-size: clamp(1.9rem, 4.3vw, 3.6rem);
  line-height: 1;
}

.stat-card small {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 750;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--paper);
  color: #0b0d10;
}

.ticker div {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker span {
  position: relative;
  padding: 0.75rem 1.6rem;
  font-weight: 950;
  white-space: nowrap;
}

.ticker span::after {
  content: "◆";
  position: absolute;
  right: -0.25rem;
  color: var(--coral);
}

.section {
  padding: clamp(3.6rem, 8vw, 7.5rem) 4vw;
}

section[id] {
  scroll-margin-top: 132px;
}

.section-head {
  max-width: 1050px;
  margin-bottom: 2rem;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: end;
  max-width: none;
}

.frontpage {
  position: relative;
}

.frontpage::before {
  content: "";
  position: absolute;
  inset: 4rem 2vw auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.frontpage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.65fr);
  gap: 1rem;
  align-items: stretch;
}

.lead-stack {
  min-height: 460px;
  display: grid;
  gap: 1rem;
}

.lead-card,
.article-card,
.panel,
.editor-desk {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--paper-shadow);
  backdrop-filter: blur(18px);
}

.lead-card,
.article-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.lead-card {
  min-height: 460px;
  display: grid;
  align-content: end;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 76, 56, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(247, 241, 223, 0.98), rgba(231, 221, 199, 0.96));
  color: #0b0c0f;
}

.lead-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.72;
  pointer-events: none;
}

.lead-card > * {
  position: relative;
  z-index: 1;
}

.paper-label {
  width: max-content;
  max-width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: #0b0c0f;
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.lead-card h3 {
  max-width: 900px;
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 0.92;
  color: #090a0d;
}

.lead-card p {
  max-width: 760px;
  color: rgba(10, 10, 10, 0.74);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 650;
}

.lead-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 1rem;
}

.lead-meta a,
.article-meta a {
  color: inherit;
  font-weight: 950;
}

.tag,
.new-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.tag {
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.72);
}

.new-tag {
  background: var(--coral);
  color: #fff;
  animation: newFlash 1.1s ease-in-out infinite;
}

.editor-desk {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.editor-desk p:not(.kicker) {
  font-size: 1.02rem;
}

.verdict-meter {
  overflow: hidden;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.verdict-meter span {
  display: block;
  width: 77%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--coral));
  transition: width 520ms ease;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.article-card {
  min-height: 310px;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: 1rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.article-card:hover {
  transform: translateY(-4px) rotate(-0.25deg);
  border-color: rgba(255, 214, 110, 0.52);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 214, 110, 0.12), transparent 10rem),
    var(--card);
}

.article-card h3 {
  margin-bottom: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.48rem, 2.2vw, 2.05rem);
  line-height: 1.02;
}

.article-card p {
  margin-bottom: 0;
}

.article-card .tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
}

.radar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr) minmax(280px, 0.62fr);
  gap: 1rem;
}

.panel {
  min-height: 310px;
  padding: clamp(1rem, 2.3vw, 1.4rem);
}

.panel-title {
  display: flex;
  gap: 1rem;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.panel-title span {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 900;
}

.panel-title strong {
  color: var(--gold);
  font-size: 1.1rem;
}

.chart-panel canvas {
  width: 100%;
  min-height: 260px;
}

.gauge {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 1;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background:
    conic-gradient(from 220deg, var(--cyan), var(--green), var(--gold), var(--coral), transparent 0 100%),
    radial-gradient(circle, #0b0e14 0 56%, transparent 57%);
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.08), 0 0 44px rgba(41, 230, 255, 0.14);
}

.gauge::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: rgba(8, 12, 18, 0.92);
}

.gauge-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 42%;
  height: 4px;
  border-radius: 999px;
  background: var(--paper);
  transform: rotate(-28deg);
  transform-origin: 0 50%;
  transition: transform 650ms cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.42);
}

.gauge-label {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  text-align: center;
}

.gauge-label strong {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.gauge-label span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fact-panel {
  display: grid;
  align-content: space-between;
}

#randomFact {
  color: #fff;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 900;
  line-height: 1.15;
}

.mini-note {
  max-width: 520px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.source-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.source-list a,
.source-list strong,
.source-list span {
  display: block;
}

.source-list a {
  font-weight: 950;
  text-decoration: none;
}

.source-list a:hover {
  text-decoration: underline;
}

.source-list span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

.source-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.source-cards a {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.source-cards a:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 230, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.source-cards strong {
  font-size: 1.18rem;
  line-height: 1.05;
}

.source-cards span {
  color: rgba(255, 255, 255, 0.66);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4vw 2rem;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.68);
}

.footer strong {
  color: #fff;
}

.paper-slip,
.confetti,
.boom-word {
  position: fixed;
  z-index: 120;
  pointer-events: none;
}

.pac-arena {
  position: fixed;
  inset: 0;
  z-index: 58;
  overflow: hidden;
  pointer-events: none;
}

.pac-runner,
.pac-ghost {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.32));
}

.pac-runner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 56% 28%, #2b1900 0 6%, transparent 7%),
    #ffd21f;
  box-shadow: 0 0 22px rgba(255, 210, 31, 0.46);
}

.pac-runner::before {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 22px solid rgba(5, 7, 10, 0.94);
  transform: translateY(-50%) scaleY(0.42);
  transform-origin: left center;
  animation: pacMouth 180ms steps(2, end) infinite;
}

.pac-runner::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 31, 0.36);
  opacity: 0.7;
  animation: pacPulse 1.2s ease-in-out infinite;
}

.pac-ghost {
  width: 38px;
  height: 42px;
  border-radius: 18px 18px 8px 8px;
  background: var(--ghost-color, #ff4c38);
  box-shadow: 0 0 24px color-mix(in srgb, var(--ghost-color, #ff4c38) 58%, transparent);
}

.pac-ghost::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 11px;
  width: 8px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 14px 0 #fff;
}

.pac-ghost::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #10151d;
  box-shadow: 14px 0 #10151d, -10px 24px var(--ghost-color, #ff4c38), 0 24px var(--ghost-color, #ff4c38), 10px 24px var(--ghost-color, #ff4c38), 20px 24px var(--ghost-color, #ff4c38);
}

.pac-ghost.is-close {
  animation: ghostPanic 220ms ease-in-out infinite alternate;
}

.pac-dot {
  position: fixed;
  z-index: 57;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  box-shadow: 0 0 14px rgba(255, 214, 110, 0.58);
  animation: pacDotPop 620ms ease-out forwards;
}

.paper-slip {
  width: 110px;
  height: 74px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  background:
    linear-gradient(#151515 0 7px, transparent 7px 100%),
    repeating-linear-gradient(180deg, transparent 0 14px, rgba(0, 0, 0, 0.18) 15px),
    var(--paper);
  animation: slipFall 1200ms ease-in forwards;
}

.confetti {
  width: 10px;
  height: 14px;
  border-radius: 2px;
  background: var(--gold);
  animation: confettiFly 1150ms ease-out forwards;
}

.boom-word {
  left: 50%;
  top: 50%;
  color: var(--paper);
  font-size: clamp(3.5rem, 12vw, 10rem);
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(255, 76, 56, 0.7);
  transform: translate(-50%, -50%) scale(0.6) rotate(-4deg);
  animation: boomWord 1100ms cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ping {
  50% {
    opacity: 0.35;
    filter: blur(1px);
  }
}

@keyframes dotPulse {
  70% {
    box-shadow: 0 0 0 14px rgba(125, 255, 159, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(125, 255, 159, 0);
  }
}

@keyframes pressKick {
  18% {
    transform: translateY(7px) rotate(-0.15deg);
  }
  46% {
    transform: translateY(-4px) rotate(0.12deg);
  }
  100% {
    transform: none;
  }
}

@keyframes cannonPulse {
  20% {
    filter: saturate(1.4) brightness(1.08);
  }
  100% {
    filter: none;
  }
}

@keyframes newFlash {
  50% {
    filter: brightness(1.35);
  }
}

@keyframes slipFall {
  0% {
    opacity: 0;
    transform: translateY(-20vh) translateX(0) rotate(var(--rot));
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(108vh) translateX(var(--dx)) rotate(calc(var(--rot) + 160deg));
  }
}

@keyframes confettiFly {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) rotate(var(--rot));
  }
}

@keyframes boomWord {
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05) rotate(-2deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -62%) scale(1.25) rotate(2deg);
  }
}

@keyframes pacMouth {
  0%,
  100% {
    transform: translateY(-50%) scaleY(0.18);
  }
  50% {
    transform: translateY(-50%) scaleY(1);
  }
}

@keyframes pacPulse {
  50% {
    opacity: 0.22;
    transform: scale(1.35);
  }
}

@keyframes ghostPanic {
  to {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.32)) hue-rotate(32deg) brightness(1.24);
  }
}

@keyframes pacDotPop {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.4);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "stats";
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
    transform: none;
  }

  .stat-grid,
  .article-grid,
  .radar-grid,
  .directory-grid,
  .source-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .frontpage-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
  }

  .icon-button {
    grid-column: 2;
    grid-row: 1;
    width: 46px;
    min-width: 46px;
    padding-inline: 0;
  }

  .topbar nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: stretch;
  }

  .topbar nav a {
    flex: 1;
    min-height: 38px;
    padding-inline: 0.4rem;
    font-size: 0.88rem;
  }

  .brand small,
  .icon-button span:last-child {
    display: none;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-visual {
    min-height: 340px;
  }

  .source-strip span {
    flex: 1 1 auto;
    justify-content: center;
  }

  .stat-grid,
  .article-grid,
  .radar-grid,
  .directory-grid,
  .source-cards {
    grid-template-columns: 1fr;
  }

  .section-head.split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lead-card {
    min-height: 390px;
  }

  .paper-controls {
    align-items: stretch;
  }

  .paper-controls .button {
    flex: 1 1 100%;
  }

  .footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
