:root {
  --slate: #23313a;
  --slate-deep: #18262d;
  --sand: #e8e0d2;
  --ivory: #f8f5ef;
  --paper: #fffdf8;
  --copper: #c2673d;
  --copper-light: #efb58a;
  --sage: #778477;
  --sage-light: #d7dfd5;
  --steel: #3e6478;
  --ink: #23313a;
  --muted: #65726f;
  --line: rgba(35, 49, 58, .16);
  --shadow: 0 22px 60px rgba(24, 38, 45, .12);
  --shadow-soft: 0 12px 32px rgba(24, 38, 45, .08);
  --shell: min(1180px, calc(100% - 40px));
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  color-scheme: light;
}

html[data-theme="night"] {
  --sand: #18242a;
  --ivory: #202e34;
  --paper: #26363c;
  --ink: #f5efe4;
  --muted: #b7c3bf;
  --line: rgba(232, 224, 210, .14);
  --shadow: 0 22px 70px rgba(0, 0, 0, .28);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, .22);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}

body.dialog-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

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

::selection {
  background: var(--copper);
  color: white;
}

:focus-visible {
  outline: 3px solid var(--copper-light);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  background: var(--ivory);
  color: var(--slate);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 800;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 14px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  color: white;
  background: rgba(24, 38, 45, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  transition: background .3s ease, box-shadow .3s ease, color .3s ease;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--slate-deep) 92%, transparent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: max-content;
}

.brand-call {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand-label {
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .92rem;
}

.brand-mark {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 20px;
}

.brand-mark span {
  width: 3px;
  border-radius: 4px;
  background: var(--copper-light);
  animation: brandMeter 1.7s ease-in-out infinite;
}

.brand-mark span:nth-child(1) { height: 8px; }
.brand-mark span:nth-child(2) { height: 19px; animation-delay: .18s; }
.brand-mark span:nth-child(3) { height: 13px; animation-delay: .36s; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav > a {
  position: relative;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: .02em;
}

.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--copper-light);
  transition: right .2s ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  right: 0;
}

.theme-toggle {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: white;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.theme-toggle:hover {
  background: rgba(255,255,255,.14);
}

.theme-icon {
  color: var(--copper-light);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: white;
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  background: var(--slate);
}

.hero-atmosphere,
.desert-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24,38,45,.8) 0%, rgba(24,38,45,.5) 46%, rgba(24,38,45,.18) 100%),
    linear-gradient(0deg, rgba(24,38,45,.68) 0%, transparent 38%);
}

.desert-scene {
  transform: scale(1.035);
  animation: desertBreath 16s ease-in-out infinite alternate;
}

.vegas-skyline {
  color: #f2c39f;
  fill: currentColor;
}

.stars {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image:
    radial-gradient(circle at 12% 18%, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle at 21% 28%, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle at 38% 13%, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle at 53% 22%, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle at 70% 10%, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle at 82% 29%, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle at 92% 14%, #fff 0 1px, transparent 1.7px);
  transition: opacity .5s ease;
}

html[data-theme="night"] .stars {
  opacity: .68;
}

html[data-theme="night"] .sun-disc {
  fill: #e7ebef;
  opacity: .85;
}

.signal-rings {
  position: absolute;
  z-index: 1;
  width: 28rem;
  aspect-ratio: 1;
  right: 8%;
  top: 14%;
  border: 1px solid rgba(239,181,138,.18);
  border-radius: 50%;
  animation: ringPulse 4s ease-out infinite;
}

.signal-rings::before,
.signal-rings::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: inherit;
  border-radius: inherit;
}

.signal-rings::after {
  inset: 29%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  padding-block: calc(var(--header-h) + 80px) 120px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: .73rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--copper-light);
}

.hero h1 {
  margin: 0;
  font-size: clamp(6rem, 15vw, 12.5rem);
  line-height: .76;
  letter-spacing: -.085em;
  font-weight: 950;
  text-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.hero-greeting {
  margin: 30px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.hero-deck {
  max-width: 700px;
  margin: 0;
  color: rgba(248,245,239,.85);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--copper);
  color: white;
  box-shadow: 0 10px 30px rgba(194,103,61,.28);
}

.button-primary:hover {
  background: #d1764c;
}

.button-ghost {
  color: white;
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.06);
}

.button-ghost:hover {
  background: rgba(255,255,255,.12);
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 0;
  color: rgba(248,245,239,.6);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-note span {
  color: var(--copper-light);
}

.receiver-panel {
  align-self: center;
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.03)),
    rgba(24,38,45,.38);
  box-shadow: 0 28px 75px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
}

.receiver-panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 15px;
}

.receiver-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.62);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9bc29b;
  box-shadow: 0 0 0 6px rgba(155,194,155,.1), 0 0 18px rgba(155,194,155,.65);
  animation: statusBlink 2s ease-in-out infinite;
}

.frequency-display {
  margin: 22px 0 18px;
  color: #f5c5a5;
  font-family: "Consolas", "Courier New", monospace;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.08em;
  text-shadow: 0 0 22px rgba(239,181,138,.25);
}

.receiver-meter {
  height: 46px;
  display: flex;
  align-items: end;
  gap: 4px;
  padding: 7px 8px;
  border-radius: 9px;
  background: rgba(0,0,0,.18);
}

.receiver-meter span {
  flex: 1;
  height: calc(12% + var(--i) * 5.5%);
  max-height: 100%;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(0deg, var(--steel), var(--copper-light));
  opacity: .72;
  transform-origin: bottom;
  animation: meter 1.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -80ms);
}

.receiver-data {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
}

.receiver-data div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.receiver-data dt {
  color: rgba(255,255,255,.52);
  font-size: .75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.receiver-data dd {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: .86rem;
  font-weight: 700;
  text-align: right;
}

.panel-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--copper-light);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 850;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--copper-light), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

.signal-strip {
  position: relative;
  z-index: 4;
  background: var(--copper);
  color: white;
}

.signal-strip-inner {
  min-height: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 20px;
  font-size: .82rem;
}

.signal-strip-inner > div {
  text-align: center;
}

.signal-strip-inner > div + div {
  border-left: 1px solid rgba(255,255,255,.2);
}

.signal-icon {
  margin-right: 7px;
  color: #ffd2b7;
}

.section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-heading h2,
.horizon h2,
.qsl h2 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.explore {
  background: var(--ivory);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.portal {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.portal:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--copper) 55%, var(--line));
}

.portal::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .4;
  transition: opacity .25s ease, transform .45s ease;
}

.portal:hover::before {
  opacity: .72;
  transform: scale(1.04);
}

.portal-air,
.portal-story {
  grid-column: span 5;
}

.portal-projects,
.portal-shack {
  grid-column: span 7;
}

.portal-air {
  color: white;
  background: var(--steel);
}

.portal-air::before {
  background:
    radial-gradient(circle at 80% 15%, transparent 0 28px, rgba(255,255,255,.11) 29px 30px, transparent 31px 51px, rgba(255,255,255,.1) 52px 53px, transparent 54px),
    linear-gradient(145deg, transparent 40%, rgba(255,255,255,.09));
}

.portal-projects {
  color: var(--slate);
  background: #e6c7af;
}

.portal-projects::before {
  background:
    linear-gradient(90deg, transparent 49%, rgba(35,49,58,.08) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(35,49,58,.08) 50%, transparent 51%);
  background-size: 34px 34px;
}

.portal-shack {
  color: white;
  background: var(--slate);
}

.portal-shack::before {
  background:
    radial-gradient(circle at 85% 15%, rgba(239,181,138,.35), transparent 28%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.025) 19px 20px);
}

.portal-story {
  color: var(--slate);
  background: var(--sage-light);
}

html[data-theme="night"] .portal-projects,
html[data-theme="night"] .portal-story {
  color: white;
  background: #394a49;
}

.portal-number {
  position: absolute;
  left: 24px;
  top: 20px;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  opacity: .62;
}

.portal-label {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--copper-light);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.portal-projects .portal-label,
.portal-story .portal-label {
  color: var(--copper);
}

html[data-theme="night"] .portal-projects .portal-label,
html[data-theme="night"] .portal-story .portal-label {
  color: var(--copper-light);
}

.portal strong {
  position: relative;
  z-index: 1;
  max-width: 520px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.12;
  font-weight: 500;
}

.portal-arrow {
  position: absolute;
  right: 24px;
  top: 17px;
  font-size: 1.7rem;
  transition: transform .25s ease;
}

.portal:hover .portal-arrow {
  transform: translate(5px, 5px);
}

.on-air {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sage-light) 75%, var(--ivory)), var(--ivory));
}

.station-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 26px;
}

.station-list {
  display: grid;
  gap: 14px;
}

.station-card {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  grid-template-areas:
    "call title meta"
    "call copy meta";
  gap: 3px 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  transition: transform .2s ease, border-color .2s ease;
}

.station-card:hover {
  transform: translateX(6px);
  border-color: var(--sage);
}

.station-call {
  grid-area: call;
  color: var(--copper);
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: -.03em;
}

.station-card h3 {
  grid-area: title;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.station-card p {
  grid-area: copy;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.station-meta {
  grid-area: meta;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: right;
}

.keyup-card {
  position: relative;
  min-height: 100%;
  padding: 38px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: white;
  background: var(--slate);
  box-shadow: var(--shadow);
}

.keyup-card .kicker {
  color: var(--copper-light);
}

.keyup-card blockquote {
  position: relative;
  z-index: 1;
  margin: 38px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
}

.keyup-card > p:last-child {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.65);
}

.keyup-wave {
  position: absolute;
  inset: auto 24px 28px;
  height: 130px;
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: .1;
}

.keyup-wave span {
  flex: 1;
  height: 30%;
  border-radius: 999px;
  background: var(--copper-light);
  animation: meter 2s ease-in-out infinite alternate;
}

.keyup-wave span:nth-child(2n) { height: 85%; animation-delay: -.4s; }
.keyup-wave span:nth-child(3n) { height: 55%; animation-delay: -.8s; }

.projects {
  background: var(--sand);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.project-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  color: white;
  background: var(--slate);
}

.project-content {
  align-self: end;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.featured .project-meta {
  color: rgba(255,255,255,.55);
}

.status {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  letter-spacing: .04em;
}

.status-planning { color: #f1b889; }
.status-bench { color: var(--copper); }
.status-active { color: #6d8870; }
.status-running { color: var(--steel); }

html[data-theme="night"] .status-active { color: #a9c3aa; }
html[data-theme="night"] .status-running { color: #8ab0c3; }

.project-card h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  font-weight: 500;
  line-height: 1.08;
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

.featured p {
  color: rgba(255,255,255,.68);
}

.project-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  color: var(--steel);
  border-radius: 18px;
  background: color-mix(in srgb, var(--steel) 9%, transparent);
}

.project-icon svg {
  width: 46px;
}

.text-button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--copper);
  cursor: pointer;
  text-decoration: none;
  font-weight: 850;
}

.featured .text-button {
  color: var(--copper-light);
}

.text-button span,
.text-link span {
  transition: transform .2s ease;
}

.text-button:hover span,
.text-link:hover span {
  transform: translateX(5px);
}

.project-visual {
  position: relative;
  min-height: 300px;
}

.mobile-visual::before {
  content: "";
  position: absolute;
  inset: 20% 3% 18% 3%;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,181,138,.13), transparent 65%);
}

.radio-body {
  position: absolute;
  width: 82%;
  height: 42%;
  left: 8%;
  top: 28%;
  border: 2px solid rgba(255,255,255,.32);
  border-radius: 12px;
  background: linear-gradient(145deg, #3b4d54, #17252b);
  box-shadow: 0 24px 40px rgba(0,0,0,.3);
  transform: rotate(-5deg);
}

.radio-display {
  position: absolute;
  left: 22%;
  top: 42%;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 5px;
  color: #b8ddaf;
  background: rgba(0,0,0,.55);
  font-family: Consolas, monospace;
  font-size: clamp(1.2rem, 2vw, 2rem);
  transform: rotate(-5deg);
  text-shadow: 0 0 12px rgba(184,221,175,.45);
}

.radio-knob {
  position: absolute;
  right: 15%;
  top: 39%;
  z-index: 2;
  width: 38px;
  aspect-ratio: 1;
  border: 4px double rgba(255,255,255,.35);
  border-radius: 50%;
  background: #121d22;
  transform: rotate(-5deg);
}

.cable {
  position: absolute;
  height: 2px;
  background: var(--copper-light);
  transform-origin: left;
  opacity: .65;
}

.cable::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper-light);
  box-shadow: 0 0 15px var(--copper-light);
}

.cable-a {
  width: 48%;
  left: 44%;
  top: 70%;
  transform: rotate(25deg);
}

.cable-b {
  width: 36%;
  left: 18%;
  top: 27%;
  transform: rotate(-35deg);
}

.shack {
  color: white;
  background:
    radial-gradient(circle at 18% 5%, rgba(62,100,120,.42), transparent 35%),
    var(--slate-deep);
}

.shack .section-heading > p {
  color: rgba(255,255,255,.58);
}

.shack .kicker {
  color: var(--copper-light);
}

.network-board {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 65px;
  padding: 70px 46px 100px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 0 80px rgba(0,0,0,.16);
}

.network-grid {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.node {
  position: relative;
  z-index: 2;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(35,49,58,.75);
  box-shadow: 0 16px 35px rgba(0,0,0,.24);
}

.node::after {
  content: "";
  position: absolute;
  width: 12px;
  aspect-ratio: 1;
  right: 13px;
  top: 13px;
  border-radius: 50%;
  background: #8ab88a;
  box-shadow: 0 0 16px rgba(138,184,138,.5);
}

.node-type {
  color: var(--copper-light);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.node strong {
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.node small {
  margin-top: 6px;
  color: rgba(255,255,255,.52);
  line-height: 1.4;
}

.network-line {
  position: absolute;
  z-index: 1;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--steel), var(--copper-light));
  opacity: .65;
}

.line-one { left: 22%; width: 8%; }
.line-two { left: 47%; width: 8%; }
.line-three { left: 72%; width: 8%; }

.network-pulse {
  position: absolute;
  z-index: 3;
  top: calc(50% - 4px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 18px white;
  animation: signalTravel 3.4s linear infinite;
}

.pulse-one { left: 22%; --travel: 9vw; }
.pulse-two { left: 47%; --travel: 9vw; animation-delay: -1.15s; }
.pulse-three { left: 72%; --travel: 9vw; animation-delay: -2.3s; }

.board-note {
  position: absolute;
  left: 46px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: rgba(255,255,255,.52);
  font-size: .75rem;
  letter-spacing: .06em;
}

.board-note strong {
  color: var(--copper-light);
  font-family: Consolas, monospace;
  font-weight: 600;
}

.story {
  background: var(--ivory);
}

.story-layout {
  display: grid;
  grid-template-columns: .7fr 1fr .8fr;
  gap: clamp(35px, 7vw, 100px);
  align-items: start;
}

.story .section-heading {
  display: block;
  position: sticky;
  top: calc(var(--header-h) + 36px);
}

.story-copy {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.story-copy p {
  margin: 0 0 20px;
}

.story-copy strong {
  color: var(--copper);
}

.story-lead {
  font-size: 1.5rem;
  line-height: 1.4;
}

.story-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}

.story-timeline li {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 0 0 34px 30px;
}

.story-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 6px;
  width: 11px;
  aspect-ratio: 1;
  border: 3px solid var(--ivory);
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 1px var(--copper);
}

.story-timeline span {
  color: var(--copper);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.story-timeline strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 500;
}

.story-timeline small {
  color: var(--muted);
}

.horizon {
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(24,38,45,.9), rgba(35,49,58,.55)),
    radial-gradient(circle at 80% 50%, #c2673d, transparent 35%),
    var(--slate);
}

.horizon::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  opacity: .2;
  background:
    linear-gradient(155deg, transparent 52%, #000 53% 63%, transparent 64%),
    linear-gradient(25deg, transparent 50%, #000 51% 62%, transparent 63%);
}

.horizon-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 80px;
}

.horizon .kicker {
  color: var(--copper-light);
}

.horizon p {
  max-width: 690px;
  color: rgba(255,255,255,.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.horizon-dial {
  position: relative;
  width: min(330px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}

.dial-ring {
  position: absolute;
  inset: 11%;
  border: 1px dashed rgba(255,255,255,.23);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.dial-needle {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 3px;
  height: 35%;
  background: linear-gradient(var(--copper-light), transparent);
  transform-origin: bottom;
  transform: rotate(42deg);
  animation: needle 5s ease-in-out infinite alternate;
}

.horizon-dial strong {
  margin-top: 30px;
  font-size: 4rem;
  letter-spacing: -.08em;
}

.horizon-dial small {
  position: absolute;
  bottom: 29%;
  color: rgba(255,255,255,.5);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.community {
  background: var(--sand);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.community-card {
  min-height: 260px;
  padding: 26px;
  border-top: 4px solid var(--sage);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.community-card span {
  color: var(--copper);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
}

.community-card h3 {
  margin: 26px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.1;
}

.community-card p {
  margin: 0;
  color: var(--muted);
}

.qsl {
  background: var(--ivory);
}

.qsl-layout {
  display: grid;
  grid-template-columns: minmax(380px, .9fr) 1.1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.qsl-card {
  position: relative;
  aspect-ratio: 1.6;
  overflow: hidden;
  border: 12px solid var(--paper);
  border-radius: 12px;
  color: white;
  background: var(--slate);
  box-shadow: 0 28px 65px rgba(24,38,45,.22);
  transform: rotate(-3deg);
}

.qsl-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, #efb58a 0 8%, transparent 8.5%),
    linear-gradient(#3e6478, #c67b55 72%, #d7b38f);
}

.qsl-mountain {
  position: absolute;
  inset: 42% -8% -25%;
  background: #26373d;
  clip-path: polygon(0 70%, 18% 32%, 31% 59%, 52% 16%, 69% 58%, 84% 30%, 100% 62%, 100% 100%, 0 100%);
}

.qsl-copy {
  position: absolute;
  left: 7%;
  bottom: 8%;
  display: grid;
  text-shadow: 0 5px 20px rgba(0,0,0,.25);
}

.qsl-copy strong {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .8;
  letter-spacing: -.08em;
}

.qsl-copy span {
  margin-top: 14px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .2em;
}

.qsl p {
  max-width: 650px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.site-footer {
  padding: 44px 0;
  color: white;
  background: var(--slate-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: .75fr 1.5fr auto;
  align-items: center;
  gap: 36px;
}

.footer-inner > div {
  display: grid;
}

.footer-inner strong {
  font-size: 1.6rem;
  letter-spacing: -.05em;
}

.footer-inner span,
.footer-inner p,
.footer-inner a {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
}

.footer-inner p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  text-align: center;
}

.footer-inner a {
  text-decoration: none;
  font-weight: 800;
}

.project-dialog {
  width: min(780px, calc(100% - 28px));
  max-height: min(85vh, 850px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: var(--ivory);
  box-shadow: 0 35px 100px rgba(0,0,0,.42);
}

.project-dialog::backdrop {
  background: rgba(10,17,20,.72);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  position: relative;
  padding: clamp(28px, 6vw, 58px);
}

.dialog-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.dialog-shell h2 {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.03;
}

.dialog-summary {
  max-width: 650px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.dialog-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.dialog-columns h3,
.dialog-note strong {
  margin: 0 0 10px;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dialog-columns p,
.dialog-columns ul,
.dialog-note p {
  color: var(--muted);
}

.dialog-columns ul {
  margin: 0;
  padding-left: 20px;
}

.dialog-note {
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--copper);
  background: var(--paper);
}

.dialog-note p {
  margin: 4px 0 0;
}

.noscript-note {
  position: fixed;
  inset: auto 15px 15px;
  z-index: 2000;
  padding: 12px 16px;
  border-radius: 10px;
  color: white;
  background: #8b3e2b;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes brandMeter {
  0%, 100% { transform: scaleY(.65); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes desertBreath {
  from { transform: scale(1.035) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-.6%, -.3%, 0); }
}

@keyframes ringPulse {
  0% { transform: scale(.82); opacity: .15; }
  70% { opacity: .55; }
  100% { transform: scale(1.18); opacity: 0; }
}

@keyframes statusBlink {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; }
}

@keyframes meter {
  from { transform: scaleY(.32); opacity: .42; }
  to { transform: scaleY(1); opacity: .9; }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(.35); transform-origin: top; opacity: .3; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes signalTravel {
  from { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  to { transform: translateX(var(--travel)); opacity: 0; }
}

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

@keyframes needle {
  from { transform: rotate(24deg); }
  to { transform: rotate(58deg); }
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 32px, 760px);
  }

  .site-header {
    padding-inline: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 1px) 14px auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(24,38,45,.98);
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a,
  .theme-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 14px;
    border-radius: 10px;
  }

  .site-nav > a::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h) + 70px);
  }

  .hero-copy {
    max-width: 680px;
  }

  .receiver-panel {
    width: min(440px, 100%);
  }

  .signal-strip-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 12px;
  }

  .signal-strip-inner > div {
    padding: 4px 0;
  }

  .signal-strip-inner > div + div {
    border-left: 0;
  }

  .portal-air,
  .portal-story,
  .portal-projects,
  .portal-shack {
    grid-column: span 6;
  }

  .station-layout,
  .story-layout,
  .horizon-inner,
  .qsl-layout {
    grid-template-columns: 1fr;
  }

  .story .section-heading {
    position: static;
  }

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

  .project-card.featured {
    grid-column: span 2;
  }

  .network-board {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .network-line,
  .network-pulse {
    display: none;
  }

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

  .qsl-card {
    width: min(620px, 100%);
  }

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

@media (max-width: 660px) {
  :root {
    --shell: min(100% - 24px, 560px);
    --header-h: 64px;
  }

  .brand-label {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-block: calc(var(--header-h) + 70px) 105px;
  }

  .hero h1 {
    font-size: clamp(5.4rem, 29vw, 8.5rem);
  }

  .hero-greeting {
    margin-top: 24px;
  }

  .receiver-panel {
    padding: 20px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

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

  .portal-air,
  .portal-story,
  .portal-projects,
  .portal-shack {
    grid-column: auto;
  }

  .portal {
    min-height: 220px;
  }

  .station-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "call"
      "title"
      "copy"
      "meta";
    gap: 5px;
  }

  .station-meta {
    margin-top: 10px;
    text-align: left;
  }

  .keyup-card {
    padding: 28px;
  }

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

  .project-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 220px;
  }

  .network-board {
    grid-template-columns: 1fr;
    padding: 28px 20px 96px;
  }

  .node {
    min-height: 130px;
  }

  .board-note {
    left: 20px;
    right: 20px;
  }

  .story-timeline {
    margin-top: 10px;
  }

  .horizon-inner {
    gap: 44px;
  }

  .qsl-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
