:root {
  --ink: #06100d;
  --ink-2: #0b1915;
  --paper: #f2f0e8;
  --paper-2: #e9e6db;
  --signal: #a8ff5d;
  --mint: #5df2bc;
  --aqua: #58e5ff;
  --amber: #ffc75d;
  --coral: #ff776d;
  --muted: #66736e;
  --line: rgba(6, 16, 13, 0.15);
  --radius: 1.25rem;
  --sans: "Instrument Sans", "Avenir Next", Inter, system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shadow: 0 24px 60px rgba(6, 16, 13, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  position: sticky;
  z-index: 30;
  top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  min-height: 64px;
  margin: 1rem auto 0;
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  color: #fff;
  background: rgba(6, 16, 13, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  box-shadow: 0 15px 40px rgba(6, 16, 13, 0.18);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  letter-spacing: 0.08em;
  font-family: var(--mono);
  font-size: 0.75rem;
}
.brand img {
  margin-right: 0.35rem;
  border-radius: 9px;
}
.brand b {
  color: var(--signal);
  font-weight: 500;
}
.site-header nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.site-header nav > a {
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  font-size: 0.86rem;
  color: #d6dfdb;
}
.site-header nav > a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.site-header .nav-cta {
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
}
.site-header .nav-cta:hover {
  background: #c0ff88;
  color: var(--ink);
}
.nav-toggle {
  display: none;
  color: white;
  background: transparent;
  border: 0;
  min-width: 48px;
  min-height: 44px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
  min-height: 680px;
  padding: 8rem max(2rem, calc((100vw - 1180px) / 2)) 6rem;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 16, 13, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 16, 13, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 90%);
  pointer-events: none;
}
.hero:before {
  content: "";
  position: absolute;
  width: 46vw;
  height: 46vw;
  right: -16vw;
  top: -18vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--signal),
    rgba(168, 255, 93, 0.18) 35%,
    transparent 68%
  );
  filter: blur(12px);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.kicker,
.section-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font: 500 0.72rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker i {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(168, 255, 93, 0.2);
}
.hero h1,
.archive-hero h1,
.status-page h1 {
  margin: 1.4rem 0;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.84;
  letter-spacing: -0.075em;
  font-weight: 650;
}
.hero h1 em {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  font-style: normal;
}
.hero-copy > p {
  max-width: 670px;
  margin: 2rem 0;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  color: #43514c;
}
.hero-search {
  display: flex;
  max-width: 620px;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(6, 16, 13, 0.08);
}
.hero-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 1.15rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}
.hero-search button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  color: var(--ink);
  background: var(--signal);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.signal-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(27vw, 350px);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid rgba(6, 16, 13, 0.25);
  border-radius: 50%;
}
.signal-orbit:before,
.signal-orbit:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(6, 16, 13, 0.12);
  border-radius: 50%;
  inset: 12%;
}
.signal-orbit:after {
  inset: 31%;
  background: var(--ink);
}
.signal-orbit span {
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 13%;
  right: 15%;
  z-index: 2;
  border-radius: 50%;
  background: var(--coral);
}
.signal-orbit i {
  position: absolute;
  inset: -1px;
  border-top: 3px solid var(--signal);
  border-radius: 50%;
  animation: spin 10s linear infinite;
}
.signal-orbit b {
  z-index: 1;
  color: #fff;
  text-align: center;
  font: 500 0.75rem/1.4 var(--mono);
  letter-spacing: 0.12em;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.featured-wrap,
.article-index,
.related-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 7rem;
}
.section-label {
  margin-bottom: 1.5rem;
}
.section-label span {
  height: 1px;
  flex: 1;
  background: var(--line);
}
.featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 420px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}
.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}
.eyebrow {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font: 500 0.7rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow span:first-child {
  color: var(--signal);
}
.featured h2 {
  margin: 1.5rem 0;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.featured p {
  max-width: 560px;
  color: #b9c6c1;
  font-size: 1.1rem;
}
.text-link {
  margin-top: 1.5rem;
  font-weight: 700;
}
.text-link span {
  color: var(--signal);
}
.featured-image {
  min-height: 420px;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, var(--signal), transparent 28%),
    repeating-linear-gradient(
      135deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.06) 18px 19px
    ),
    #11241d;
}
.featured-art b {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font: 500 0.7rem var(--mono);
  letter-spacing: 0.1em;
}
.featured-art span {
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.12em;
  color: rgba(255, 255, 255, 0.1);
}
.index-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.index-head > div:first-child {
  flex: 1;
}
.index-head h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: 430px;
}
.chips a {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 0.72rem var(--mono);
}
.chips b {
  color: var(--muted);
  font-weight: 400;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #dfe5dc;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.article-card:hover .card-image img {
  transform: scale(1.03);
}
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}
.card-body h2 {
  margin: 1rem 0 0.7rem;
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.card-body p {
  margin: 0;
  color: #52605b;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2rem;
  font: 500 0.7rem var(--mono);
  color: var(--muted);
}
.card-foot span {
  color: var(--ink);
}
.theme-comparison .eyebrow span:first-child {
  color: var(--coral);
}
.theme-technical .eyebrow span:first-child {
  color: #16879c;
}
.theme-editorial .eyebrow span:first-child {
  color: #9c6815;
}
.empty-state {
  padding: 5rem 2rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty-state > span {
  font: 600 4rem var(--mono);
  color: rgba(6, 16, 13, 0.12);
}
.empty-state h2 {
  margin: 0.5rem;
  font-size: 2rem;
}
.empty-state p {
  color: var(--muted);
}
.article-page {
  padding-top: 5rem;
}
.article-hero {
  width: min(1020px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 3rem;
}
.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 3rem;
  font: 500 0.72rem var(--mono);
  color: var(--muted);
}
.article-hero h1 {
  max-width: 1000px;
  margin: 1.5rem 0;
  font-size: clamp(3.3rem, 8vw, 7.2rem);
  line-height: 0.89;
  letter-spacing: -0.068em;
}
.dek {
  max-width: 780px;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: #4b5954;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.article-meta > div {
  display: flex;
  flex-direction: column;
}
.article-meta span {
  font-size: 0.85rem;
  color: var(--muted);
}
.article-cover {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}
.article-cover img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 1.5rem;
}
.article-cover figcaption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  justify-content: center;
  gap: 5rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 5rem auto 8rem;
}
.article-rail {
  position: sticky;
  top: 7rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font: 500 0.72rem var(--mono);
}
.article-rail > span,
.article-rail small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-rail a {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.article-rail small {
  margin-top: 1.5rem;
}
.prose {
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  line-height: 1.82;
}
.prose > p:first-child {
  font-size: 1.35rem;
  color: #273630;
}
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--sans);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.prose h2 {
  margin: 3.5rem 0 1.2rem;
  font-size: 2.5rem;
}
.prose h3 {
  margin: 2.5rem 0 1rem;
  font-size: 1.75rem;
}
.prose a {
  color: #0d6e58;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose blockquote {
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--signal);
  font-size: 1.45rem;
  font-style: italic;
}
.prose pre {
  overflow: auto;
  padding: 1.5rem;
  color: #dce8e3;
  background: var(--ink);
  border-radius: 1rem;
  font: 400 0.85rem/1.6 var(--mono);
}
.prose code {
  font-family: var(--mono);
  font-size: 0.87em;
}
.prose :not(pre) > code {
  padding: 0.15rem 0.35rem;
  background: #e0e4da;
  border-radius: 0.3rem;
}
.prose table {
  display: block;
  width: 100%;
  overflow: auto;
  margin: 2rem 0;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.prose th,
.prose td {
  padding: 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
}
.prose img {
  margin: 2rem auto;
  border-radius: 1rem;
}
.article-callout,
.article-note {
  margin: 2.5rem 0;
  padding: 1.5rem 1.7rem;
  background: #e4fbd2;
  border: 1px solid #b3dd8f;
  border-radius: 1rem;
  font-family: var(--sans);
}
.tone-aqua {
  background: #dff8fc;
  border-color: #91dce8;
}
.tone-amber {
  background: #fff2d4;
  border-color: #ebc979;
}
.tone-coral {
  background: #ffe3df;
  border-color: #f4a39c;
}
.article-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.faq {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
}
.faq h2 {
  margin-top: 0;
}
.faq details {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
}
.faq p {
  color: #42514c;
}
.source-links {
  font-family: var(--sans);
}
.source-links ul {
  padding: 0;
  list-style: none;
}
.source-links li {
  border-top: 1px solid var(--line);
}
.source-links a {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  text-decoration: none;
}
.related-section {
  border-top: 1px solid var(--line);
}
.archive-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 9rem 0 4rem;
}
.archive-hero h1 {
  max-width: 900px;
  margin: 0.8rem 0;
  font-size: clamp(3.7rem, 8vw, 7rem);
}
.archive-hero > p {
  max-width: 680px;
  font-size: 1.25rem;
  color: var(--muted);
}
.article-index.compact {
  padding-top: 1rem;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  font: 500 0.78rem var(--mono);
}
.pagination a {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.search-hero .hero-search {
  margin-top: 2rem;
}
.status-page {
  min-height: 70vh;
  padding: 10rem max(1rem, calc((100vw - 980px) / 2));
  text-align: center;
}
.status-page > span {
  font: 500 0.75rem var(--mono);
  letter-spacing: 0.1em;
  color: var(--coral);
}
.status-page h1 {
  font-size: clamp(4rem, 9vw, 8rem);
}
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  padding: 4rem max(1rem, calc((100vw - 1180px) / 2));
  color: #dce7e2;
  background: var(--ink);
}
.site-footer p {
  color: #95a59e;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-content: start;
}
.site-footer small {
  grid-column: 1/-1;
  color: #7f9189;
}
.footer-brand {
  color: #fff;
}
@media (max-width: 900px) {
  .site-header {
    top: 0.5rem;
    margin-top: 0.5rem;
  }
  .nav-toggle {
    display: block;
  }
  .site-header nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    background: var(--ink);
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav > a {
    text-align: center;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 7rem;
  }
  .signal-orbit {
    display: none;
  }
  .featured {
    grid-template-columns: 1fr;
  }
  .featured-image {
    order: -1;
    min-height: 280px;
  }
  .index-head {
    align-items: start;
    flex-direction: column;
  }
  .chips {
    justify-content: flex-start;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .article-rail {
    position: static;
    flex-flow: row wrap;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer small {
    grid-column: auto;
  }
}
@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 1rem);
  }
  .site-header .brand span {
    display: none;
  }
  .hero {
    padding: 6rem 1rem 4rem;
  }
  .hero h1 {
    font-size: clamp(3.5rem, 19vw, 5.6rem);
  }
  .hero-search {
    border-radius: 1rem;
  }
  .hero-search button {
    min-width: 88px;
  }
  .featured-wrap,
  .article-index,
  .related-section {
    width: calc(100% - 1rem);
    padding-bottom: 4rem;
  }
  .featured {
    border-radius: 1.25rem;
  }
  .featured-content {
    padding: 1.5rem;
  }
  .featured h2 {
    font-size: 2.5rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .article-page {
    padding-top: 2rem;
  }
  .article-hero {
    padding-top: 3rem;
  }
  .article-hero h1 {
    font-size: 3.5rem;
  }
  .article-meta {
    gap: 1rem;
    justify-content: space-between;
  }
  .article-layout {
    margin: 3rem auto 5rem;
  }
  .prose {
    font-size: 1.05rem;
  }
  .prose h2 {
    font-size: 2rem;
  }
  .archive-hero {
    padding-top: 7rem;
  }
  .site-footer {
    padding-block: 3rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .signal-orbit i {
    animation: none;
  }
  .article-card,
  .card-image img {
    transition: none;
  }
}
