:root {
  --ink-900: #111215;
  --ink-700: #1d2026;
  --ink-500: #2b3038;
  --paper-100: #f9f6ef;
  --paper-300: #dfd8ca;
  --accent-sun: #d07f28;
  --accent-moss: #4f6b46;
  --accent-rust: #933f2f;
  --glass: rgba(249, 246, 239, 0.08);
  --edge: rgba(249, 246, 239, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--paper-100);
  background:
    radial-gradient(circle at 14% 20%, rgba(208, 127, 40, 0.24), transparent 42%),
    radial-gradient(circle at 86% 18%, rgba(79, 107, 70, 0.2), transparent 40%),
    linear-gradient(145deg, #0d0f13 0%, #1a1d23 40%, #252a32 100%);
  padding: 1.2rem;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.bg-orbit {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  z-index: -1;
  filter: blur(65px);
  animation: orbitFloat 12s ease-in-out infinite;
}

.bg-orbit-a {
  top: -9rem;
  left: -5rem;
  background: rgba(208, 127, 40, 0.25);
}

.bg-orbit-b {
  right: -4rem;
  bottom: -8rem;
  background: rgba(79, 107, 70, 0.25);
  animation-delay: 1.3s;
}

.frame-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.mast-grid,
.panel-block {
  border: 1px solid var(--edge);
  border-radius: 1rem;
  background: var(--glass);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(9, 10, 12, 0.35);
}

.mast-grid {
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.85rem;
}

.brand-mark {
  display: inline-block;
  text-decoration: none;
  font-family: "Abril Fatface", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  color: #ffd7a7;
}

.brand-subline {
  margin: 0;
  color: var(--paper-300);
}

.network-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.network-nav a {
  text-decoration: none;
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  background: rgba(17, 18, 21, 0.5);
  transition: 180ms ease;
}

.network-nav a:hover {
  border-color: rgba(208, 127, 40, 0.8);
  transform: translateY(-1px);
}

.page-stream {
  display: grid;
  gap: 1rem;
}

.panel-block {
  padding: 1.15rem;
  animation: panelIn 460ms ease both;
}

.panel-hero h1,
h1,
h2,
h3 {
  font-family: "Abril Fatface", serif;
  letter-spacing: 0.02em;
  margin-top: 0;
}

.panel-hero h1 {
  font-size: clamp(2.2rem, 7vw, 4rem);
  margin-bottom: 0.35rem;
}

.signal-label {
  margin: 0 0 0.35rem;
  color: #ffd7a7;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.band-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.band-head a,
.signal-tile a,
.entry-row a,
.story-frame a,
.taxon-chip,
.route-card {
  color: #ffd7a7;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.signal-tile,
.entry-row,
.route-card {
  border: 1px solid rgba(249, 246, 239, 0.2);
  border-radius: 0.85rem;
  background: rgba(17, 18, 21, 0.46);
}

.signal-tile,
.entry-row {
  padding: 0.85rem;
}

.tile-visual-link,
.entry-visual-link {
  display: block;
  margin-bottom: 0.62rem;
}

.tile-visual,
.entry-visual,
.story-visual img {
  width: 100%;
  height: auto;
  border-radius: 0.72rem;
  border: 1px solid rgba(249, 246, 239, 0.18);
  object-fit: cover;
  display: block;
}

.tile-visual {
  aspect-ratio: 16 / 9;
}

.entry-visual {
  width: 200px;
  aspect-ratio: 4 / 3;
}

.signal-tile time,
.entry-row time,
.story-meta time {
  color: var(--paper-300);
  font-size: 0.9rem;
}

.entries-stack {
  display: grid;
  gap: 0.75rem;
}

.entry-row {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
}

.entry-row h2,
.signal-tile h3 {
  margin-bottom: 0.35rem;
}

.story-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.story-visual {
  margin: 0.35rem 0 0.8rem;
}

.story-visual img {
  max-height: 430px;
}

.story-copy {
  margin-top: 1rem;
  line-height: 1.72;
}

.meta-taxons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.45rem 0;
}

.taxon-chip {
  display: inline-flex;
  text-decoration: none;
  border: 1px solid rgba(208, 127, 40, 0.45);
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
  background: rgba(208, 127, 40, 0.12);
  font-size: 0.82rem;
}

.route-list-wrap {
  padding-top: 0.6rem;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.route-card {
  text-decoration: none;
  padding: 0.78rem;
  display: grid;
  gap: 0.25rem;
}

.route-card span {
  text-transform: capitalize;
}

.route-card strong {
  color: var(--paper-300);
  font-size: 0.88rem;
}

.pager-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.pager-track {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pager-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  text-decoration: none;
  padding: 0.4rem 0.68rem;
  border: 1px solid rgba(249, 246, 239, 0.24);
  border-radius: 0.65rem;
  background: rgba(17, 18, 21, 0.45);
}

.pager-node-live {
  background: linear-gradient(140deg, var(--accent-sun), #e6a65d);
  color: #1a1d23;
  border-color: rgba(255, 244, 226, 0.75);
  font-weight: 700;
}

.pager-node-off {
  opacity: 0.45;
}

.site-rail {
  color: var(--paper-300);
  text-align: left;
  padding: 0.1rem 0.2rem;
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  body {
    padding: 0.8rem;
  }

  .entry-row {
    flex-direction: column;
  }

  .entry-visual {
    width: 100%;
  }

  .pager-band {
    flex-direction: column;
    align-items: stretch;
  }
}
