:root {
  --ink: #0b0d12;
  --ink-soft: #131722;
  --paper: #f2efe8;
  --paper-muted: #c8c5bd;
  --line: rgba(242, 239, 232, 0.16);
  --signal: #bdff3d;
  --violet: #8a7dff;
  --red: #ff6b5f;
  --content: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 3%, rgba(138, 125, 255, 0.11), transparent 28rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.disclosure {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.45rem 1rem;
  color: #10130a;
  background: var(--signal);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-align: center;
}

.disclosure span {
  font-weight: 800;
  text-transform: uppercase;
}

.disclosure p {
  margin: 0;
}

.site-header,
main,
footer {
  width: min(calc(100% - 2.5rem), var(--content));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.wordmark-mark {
  padding: 0.4rem 0.5rem;
  color: var(--ink);
  background: var(--paper);
}

.wordmark-name {
  padding: 0.4rem 0.55rem;
  color: var(--signal);
  border: 1px solid rgba(189, 255, 61, 0.55);
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

nav a,
.header-social {
  color: var(--paper-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
.header-social:hover {
  color: var(--signal);
}

.edition-line {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  color: #918f89;
  border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
}

.edition-line > :last-child {
  text-align: right;
}

.edition-center {
  color: var(--paper);
  font-style: italic;
}

.live-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px rgba(189, 255, 61, 0.75);
  animation: live-pulse 2s ease-in-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.65fr);
  border-bottom: 1px solid var(--line);
}

.lead-story {
  min-width: 0;
  padding: 2.4rem 2.4rem 2.8rem 0;
  border-right: 1px solid var(--line);
}

.story-art {
  min-height: 320px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 1.8rem;
  background:
    radial-gradient(circle at center, rgba(138, 125, 255, 0.2), transparent 32%),
    linear-gradient(135deg, #171b28, #0e1119);
  border: 1px solid rgba(138, 125, 255, 0.26);
}

.art-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(242, 239, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 232, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 25%, transparent 75%);
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(189, 255, 61, 0.4);
  border-radius: 50%;
}

.art-orbit-one {
  width: 240px;
  height: 240px;
}

.art-orbit-two {
  width: 165px;
  height: 165px;
  border-color: rgba(138, 125, 255, 0.6);
  transform: rotate(45deg) scaleY(0.45);
}

.art-core {
  position: relative;
  z-index: 2;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 12vw, 8rem);
  line-height: 1;
  text-shadow: 0 0 45px rgba(138, 125, 255, 0.55);
}

.art-label {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  color: var(--signal);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--signal);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 17ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.dek {
  max-width: 70ch;
  margin-bottom: 1.2rem;
  color: var(--paper-muted);
  font-size: 1.02rem;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-bottom: 1.2rem;
  color: #8f8d87;
  font-size: 0.72rem;
}

.byline span:first-child {
  color: var(--paper);
  font-weight: 700;
}

.source-link,
.text-link {
  color: var(--signal);
  font-size: 0.75rem;
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

.network-pulse {
  padding: 2.4rem 0 2.8rem 2.1rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.section-heading.compact {
  align-items: center;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.section-heading.compact h2 {
  font-size: 1.8rem;
}

.section-heading p {
  max-width: 38ch;
  margin: 0;
  color: #8f8d87;
  font-size: 0.82rem;
  text-align: right;
}

.data-state {
  padding: 0.28rem 0.55rem;
  color: #a09e98;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-state.live {
  color: var(--signal);
  border-color: rgba(189, 255, 61, 0.35);
}

.data-state.stale {
  color: #ffd15c;
  border-color: rgba(255, 209, 92, 0.4);
}

.pulse-list {
  margin: 0;
}

.pulse-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1rem 1rem;
  padding: 0.88rem 0;
  border-top: 1px solid var(--line);
}

.pulse-list dt {
  color: var(--paper-muted);
  font-size: 0.78rem;
}

.pulse-list dd {
  grid-row: span 2;
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-align: right;
}

.pulse-list small {
  color: #73716d;
  font-size: 0.65rem;
}

.data-updated {
  margin: 1rem 0 0;
  color: #73716d;
  font-size: 0.65rem;
}

.latest {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-card {
  min-width: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.story-card:last-child {
  border-right: 0;
}

.story-card-featured {
  background: linear-gradient(145deg, rgba(138, 125, 255, 0.13), transparent);
}

.card-index {
  align-self: flex-end;
  margin-bottom: 2.4rem;
  color: #55545a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.story-card h3 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.story-card p {
  color: #96938d;
  font-size: 0.86rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  color: #73716d;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
}

.card-meta a {
  color: var(--paper);
}

.unl-analysis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}

.analysis-copy h2,
.about-strip h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.analysis-copy p,
.about-strip p {
  max-width: 62ch;
  color: #9c9992;
}

.convergence-card {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: var(--ink-soft);
  border: 1px solid rgba(138, 125, 255, 0.3);
}

.convergence-header,
.convergence-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.convergence-header span {
  color: var(--paper-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.convergence-header strong {
  color: var(--signal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 500;
}

.convergence-track {
  height: 12px;
  overflow: hidden;
  margin: 1rem 0 0.7rem;
  background: #282b33;
}

.convergence-track span {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--violet), var(--signal));
  transition: width 0.8s ease;
}

.convergence-labels {
  color: #a09e98;
  font-size: 0.72rem;
}

.convergence-card p {
  margin: 1.5rem 0 0;
  color: #73716d;
  font-size: 0.72rem;
}

.about-strip {
  padding: 5rem max(1.5rem, 7vw);
  margin-top: 4.5rem;
  background:
    linear-gradient(125deg, rgba(138, 125, 255, 0.16), transparent 50%),
    var(--ink-soft);
  border: 1px solid var(--line);
  text-align: center;
}

.about-strip p {
  margin-inline: auto;
}

.about-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.about-links a {
  color: var(--signal);
  font-size: 0.75rem;
  font-weight: 700;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0;
  color: #73716d;
  font-size: 0.68rem;
}

footer p {
  margin: 0;
}

footer p:last-child {
  text-align: right;
}

.footer-brand {
  color: var(--paper);
  font-weight: 900;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .lead-story {
    padding-right: 0;
    border-right: 0;
  }

  .network-pulse {
    padding: 2rem 0 2.8rem;
    border-top: 1px solid var(--line);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .story-card:last-child {
    border-bottom: 0;
  }

  .unl-analysis {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer p:last-child {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .disclosure {
    display: block;
  }

  .site-header,
  main,
  footer {
    width: min(calc(100% - 1.4rem), var(--content));
  }

  .site-header {
    gap: 1rem;
  }

  .header-social {
    text-align: right;
  }

  .edition-line {
    grid-template-columns: 1fr auto;
  }

  .edition-center {
    display: none;
  }

  .story-art {
    min-height: 240px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading p {
    text-align: left;
  }

  .latest,
  .unl-analysis {
    padding: 3.5rem 0;
  }

  .about-strip {
    margin-top: 3.5rem;
    padding: 3.5rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .live-dot {
    animation: none;
  }

  .convergence-track span {
    transition: none;
  }
}
