/* ==========================================================================
   Z39Z — Design System (v3)
   Concept: the ham-radio logbook & QSL card. Every era of Venci's life gets
   an era-accurate "frequency" label; achievements render as QSL cards —
   the confirmation postcards radio amateurs trade after a contact.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root{
  --bg: #13161a;
  --bg-raise: #191d22;
  --panel: #1c2027;
  --paper: #e8e2d4;
  --paper-dim: #ddd6c5;
  --ink: #20232a;
  --ink-soft: #4a5561;
  --amber: #d3813f;
  --amber-dim: #a8632c;
  --signal: #4bc3b8;
  --signal-dim: #35948b;
  --text: #e7ebee;
  --text-muted: #8b96a3;
  --rule: #2b333c;
  --rule-soft: #1f242b;

  --f-display: 'Big Shoulders Display', sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;
  --f-body: 'IBM Plex Sans', sans-serif;

  --wrap: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(211,129,63,0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(75,195,184,0.06), transparent 55%);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection{ background: var(--amber); color: var(--ink); }

::-webkit-scrollbar{ width: 6px; height: 6px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: var(--amber-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover{ background: var(--amber); }

a{ color: inherit; }
img{ max-width: 100%; display: block; }

.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

h1,h2,h3,h4{ font-family: var(--f-display); font-weight: 800; letter-spacing: 0.01em; margin: 0; color: var(--text); }

.eyebrow{
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
  flex-shrink: 0;
}
.eyebrow.amber{ color: var(--amber); }
.eyebrow.amber::before{ background: var(--amber); box-shadow: 0 0 8px var(--amber); }

p{ color: var(--text-muted); max-width: 62ch; }
p.lede{ color: var(--text); font-size: 1.1rem; }

/* ---------- skip link / focus ---------- */
.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--amber); color: var(--ink); padding: 10px 16px;
  font-family: var(--f-mono); z-index: 999; border-radius: 0 0 6px 0;
}
.skip-link:focus{ left: 0; }
.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;
}
a:focus-visible, button:focus-visible, .nav__link:focus-visible{
  outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px;
}

/* ---------- header / dial nav ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(19,22,26,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__bar{
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--wrap); margin: 0 auto;
  gap: 24px;
}
.wordmark{
  font-family: var(--f-mono); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.06em; text-decoration: none; color: var(--text);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.wordmark__dot{ color: var(--amber); }
.wordmark small{ color: var(--text-muted); font-weight: 400; font-size: 0.62em; letter-spacing: 0.08em; }

.dial-nav{ display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.dial-nav::-webkit-scrollbar{ display: none; }
.dial-nav ul{ list-style: none; display: flex; margin: 0; padding: 0; }
.dial-nav li + li::before{
  content: "·"; color: var(--rule); margin: 0 2px; font-family: var(--f-mono);
}
.dial-nav a{
  font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.05em;
  text-transform: uppercase; text-decoration: none; color: var(--text-muted);
  padding: 8px 10px; white-space: nowrap; transition: color .15s ease;
}
.dial-nav a:hover, .dial-nav a[aria-current="page"]{ color: var(--amber); }
.dial-nav a[aria-current="page"]{ position: relative; }
.dial-nav a[aria-current="page"]::after{
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--amber);
}

.nav-toggle{
  display: none; width: 36px; height: 36px; padding: 0; border: none; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex-shrink: 0;
}
.nav-toggle span{ display: block; width: 22px; height: 2px; background: var(--text); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.site-header--transparent .nav-toggle span{ background: var(--paper); box-shadow: 0 1px 6px rgba(0,0,0,.4); }

.nav-scrim{
  position: fixed; inset: 0; z-index: 55; background: rgba(10,11,13,.6);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.nav-scrim.is-open{ opacity: 1; pointer-events: auto; }

/* ---------- hero ---------- */
.hero{ position: relative; overflow: hidden; padding: 96px 0 64px; border-bottom: 1px solid var(--rule); }
.hero__inner{ position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero__freq{
  font-family: var(--f-mono); color: var(--text-muted); font-size: 0.85rem;
  letter-spacing: 0.1em; margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.hero__freq .dot{
  width: 7px; height: 7px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 6px var(--signal); flex-shrink: 0;
  animation: hero-blink 2.4s ease-in-out infinite;
}
@keyframes hero-blink{ 0%,100%{ opacity: 1; } 50%{ opacity: .25; } }

.hero__portrait{ position: relative; }
.hero__portrait::before{
  content: ""; position: absolute; inset: -18%; z-index: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(211,129,63,0.22), transparent 55%),
    radial-gradient(circle at 78% 82%, rgba(75,195,184,0.16), transparent 55%);
  filter: blur(18px); pointer-events: none;
}
.hero__portrait-frame{
  position: relative; z-index: 1; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/3; background: linear-gradient(160deg, var(--panel), var(--bg-raise));
  border: 1px solid var(--rule);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .3s ease;
}
.hero__portrait:hover .hero__portrait-frame{
  transform: perspective(900px) rotateY(-3deg) rotateX(2deg) scale(1.015);
  border-color: var(--amber-dim);
}
.hero__portrait-frame::after{
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55) 100%),
    radial-gradient(circle at 30% 20%, rgba(211,129,63,0.15), transparent 60%);
}
.hero__portrait-frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.hero__badge{
  position: absolute; z-index: 2; background: var(--paper); color: var(--ink); border-radius: 6px;
  padding: 12px 16px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.55);
  animation: badge-float 4.5s ease-in-out infinite;
}
.hero__badge.signal{ animation-delay: 1.2s; }
.hero__badge-num{ font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--ink); }
.hero__badge-label{ font-family: var(--f-mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-top: 4px; }
@keyframes badge-float{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

@media (max-width: 860px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__portrait{ order: -1; max-width: 320px; margin: 0 auto 8px; }
  .hero__badge{ padding: 9px 12px; }
  .hero__badge[style*="left:-10%"]{ left: -6% !important; }
  .hero__badge[style*="right:-10%"]{ right: -6% !important; }
}
.hero h1{
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  text-transform: uppercase;
  max-width: 16ch;
}
.hero h1 em{ font-style: normal; color: var(--amber); }
.hero p.lede{ margin-top: 24px; font-size: 1.2rem; max-width: 56ch; }
.hero__actions{ display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.btn{
  font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.05em;
  text-transform: uppercase; text-decoration: none;
  padding: 13px 22px; border-radius: 3px; display: inline-block;
  border: 1px solid var(--rule); transition: all .15s ease;
}
.btn--primary{ background: var(--amber); color: var(--ink); border-color: var(--amber); font-weight: 600; }
.btn--primary:hover{ background: #e0954f; }
.btn--ghost{ color: var(--text); }
.btn--ghost:hover{ border-color: var(--signal); color: var(--signal); }

/* ==========================================================================
   CHAPTER SYSTEM — full-bleed documentary scroll (index.html only)
   ========================================================================== */
.site-header{ transition: background .5s ease, backdrop-filter .5s ease, border-color .5s ease; }
.site-header--transparent{ background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.site-header--transparent .wordmark,
.site-header--transparent .dial-nav a{ color: var(--paper); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.site-header--transparent .wordmark small{ color: rgba(232,226,212,0.72); }
.site-header--transparent .dial-nav a:hover,
.site-header--transparent .dial-nav a[aria-current="page"]{ color: var(--amber); text-shadow: 0 2px 10px rgba(0,0,0,.6); }

.chapters{ background: var(--bg); }
.chapter{
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.chapter__bg{
  position: absolute; inset: -8%; z-index: 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.chapter__scrim{
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(19,22,26,.25) 0%, rgba(19,22,26,.45) 45%, rgba(19,22,26,.92) 100%);
}
.chapter__content{
  position: relative; z-index: 2; width: 100%;
  max-width: var(--wrap); margin: 0 auto; padding: 0 28px 108px;
}
.chapter__kicker{
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--signal);
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.chapter__kicker::before{
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 8px var(--signal); flex-shrink: 0;
}
.chapter__num{
  font-family: var(--f-display); font-weight: 800; line-height: 0.88;
  font-size: clamp(3.4rem, 9.5vw, 8.5rem); color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.chapter__num small{
  display: block; font-family: var(--f-mono); font-weight: 500; font-size: 0.22em;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 14px;
}
.chapter__line{
  font-family: var(--f-display); font-weight: 700; text-transform: none;
  font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1.18; max-width: 19ch; color: var(--paper);
}
.chapter__tag{
  display: inline-block; font-family: var(--f-mono); font-size: 0.78rem;
  color: var(--amber); border: 1px solid var(--amber-dim); border-radius: 20px;
  padding: 5px 14px; margin-top: 22px; letter-spacing: 0.06em;
}
.chapter__substat{
  display: inline-flex; align-items: baseline; gap: 8px; margin-top: 24px;
  font-family: var(--f-mono); font-size: 0.8rem; color: var(--text-muted);
}
.chapter__substat b{ font-family: var(--f-display); font-size: 1.5rem; color: var(--amber); }

.chapter--opening{ align-items: flex-start; }
.chapter--opening .chapter__scrim{
  background: linear-gradient(180deg, rgba(13,15,18,.94) 0%, rgba(13,15,18,.72) 35%, rgba(13,15,18,.5) 58%, rgba(13,15,18,.4) 80%, rgba(13,15,18,.62) 100%);
}
.chapter--opening .chapter__content{ padding: 156px 0 0; }
.chapter--opening .chapter__content > *{ text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.chapter--opening .chapter__kicker{ color: var(--paper); }
.chapter--opening .chapter__kicker::before{ background: var(--paper); box-shadow: 0 0 8px var(--paper); }
.chapter--opening .chapter__line{
  margin: 14px 0 0; max-width: 22ch;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem); color: var(--paper); font-family: var(--f-body); font-weight: 400;
}
.chapter__scrollcue{
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.chapter__scrollcue::after{
  content: ""; width: 1px; height: 34px; background: var(--signal);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ transform: scaleY(0); transform-origin: top; opacity: .9; }
  48%{ transform: scaleY(1); transform-origin: top; opacity: .9; }
  50%{ transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.chapter__epilogue-tag{
  font-family: var(--f-mono); font-size: 0.82rem; color: var(--text-muted);
  letter-spacing: 0.05em; margin-top: 20px;
}
.chapter__epilogue-tag b{ color: var(--paper); font-weight: 600; }

.chapter__name{
  font-family: var(--f-mono); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em;
  color: rgba(232,226,212,0.72); margin: 0 0 2px; text-transform: none;
}
.chapter__name-dot{ color: var(--amber); }
.chapter__subline{
  font-family: var(--f-body); font-weight: 400; color: rgba(232,226,212,0.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; margin-top: 16px; line-height: 1.55;
}

@media (max-width: 720px){
  .chapter{ align-items: flex-end; }
  .chapter__content{ padding-bottom: 72px; }
  .chapter--opening .chapter__content{ padding-bottom: 0; padding-top: 128px; }
}

/* ---------- chapter row (image + text split) ---------- */
.chapter-row{ padding: 80px 0; border-bottom: 1px solid var(--rule); }
.chapter-row__grid{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: center; }
.chapter-row--reverse .chapter-row__grid{ grid-template-columns: 1.15fr 0.85fr; }
.chapter-row--reverse .chapter-row__media{ order: 2; }
.chapter-row--reverse .chapter-row__body{ order: 1; }

.chapter-row__media{ position: relative; }
.chapter-row__media::before{
  content: ""; position: absolute; inset: -16%; z-index: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(211,129,63,0.18), transparent 55%),
    radial-gradient(circle at 78% 82%, rgba(75,195,184,0.14), transparent 55%);
  filter: blur(18px); pointer-events: none;
}
.chapter-row__frame{
  position: relative; z-index: 1; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/3; background: linear-gradient(160deg, var(--panel), var(--bg-raise));
  border: 1px solid var(--rule);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .3s ease;
}
.chapter-row__media:hover .chapter-row__frame{
  transform: perspective(900px) rotateY(-3deg) rotateX(2deg) scale(1.015);
  border-color: var(--amber-dim);
}
.chapter-row--reverse .chapter-row__media:hover .chapter-row__frame{
  transform: perspective(900px) rotateY(3deg) rotateX(2deg) scale(1.015);
}
.chapter-row__frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.chapter-row__body .chapter__kicker{ margin-bottom: 16px; }
.chapter-row__body .chapter__num{ font-size: clamp(2.6rem, 5.2vw, 4.4rem); color: var(--text); }
.chapter-row__body .chapter__line{ font-size: clamp(1.35rem, 2.4vw, 1.85rem); color: var(--text); max-width: 26ch; }
.chapter-row__link{
  font-family: var(--f-mono); color: var(--amber); margin-top: 22px; display: inline-block; font-size: 0.85rem;
  text-decoration: none; transition: transform .18s ease;
}
.chapter-row__link:hover{ transform: translateX(3px); color: #e0954f; }

/* visual hierarchy — not every chapter carries the same weight */
.chapter-row--featured{ padding: 100px 0; }
.chapter-row--featured .chapter-row__body .chapter__num{ font-size: clamp(3.1rem, 6.2vw, 5.4rem); }
.chapter-row--featured .chapter-row__body .chapter__line{ font-size: clamp(1.6rem, 2.9vw, 2.3rem); max-width: 22ch; }
.chapter-row--featured .chapter__kicker{ color: var(--amber); }
.chapter-row--featured .chapter__kicker::before{ background: var(--amber); box-shadow: 0 0 8px var(--amber); }

.chapter-row--minor{ padding: 52px 0; }
.chapter-row--minor .chapter-row__body .chapter__line{ font-size: clamp(1.1rem, 1.9vw, 1.4rem); max-width: 24ch; }

@media (max-width: 860px){
  .chapter-row__grid, .chapter-row--reverse .chapter-row__grid{ grid-template-columns: 1fr; gap: 28px; }
  .chapter-row--reverse .chapter-row__media, .chapter-row--reverse .chapter-row__body{ order: initial; }
  .chapter-row{ padding: 56px 0; }
}

/* ---------- mission line (unifying thesis statement) ---------- */
.mission-line{
  font-family: var(--f-display); font-weight: 700; text-transform: none;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem); line-height: 1.32;
  color: var(--text); max-width: 30ch; margin: 0 auto;
}

/* ---------- transmission divider (Z39Z sign-off, used sparingly) ---------- */
.transmission-divider{
  text-align: center; padding: 26px 0; border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.transmission-divider b{ color: var(--amber); font-weight: 500; }

/* ---------- highlight strip (compact single-story callout) ---------- */
.highlight-strip{ padding: 8px 0 48px; }
.highlight-strip__inner{
  display: flex; align-items: center; gap: 28px;
  background: var(--panel); border: 1px solid var(--rule); border-radius: 10px;
  padding: 24px 28px; text-decoration: none;
  transition: border-color .2s ease;
}
.highlight-strip__inner:hover{ border-color: var(--amber-dim); }
.highlight-strip__img{
  width: 92px; height: 116px; object-fit: cover; object-position: top center;
  border-radius: 8px; flex-shrink: 0; border: 1px solid var(--rule);
}
.highlight-strip__body{ flex: 1; min-width: 0; }
.highlight-strip__eyebrow{
  font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 6px;
}
.highlight-strip__line{
  font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--text);
  margin: 0; text-transform: uppercase;
}
.highlight-strip__year{ color: var(--text-muted); font-weight: 500; font-size: 0.7em; text-transform: none; }
.highlight-strip__sub{ color: var(--text-muted); margin: 8px 0 0; max-width: 60ch; font-size: 0.92rem; }

@media (max-width: 640px){
  .highlight-strip__inner{ flex-direction: column; text-align: center; gap: 16px; }
}

/* ---------- inner page header ---------- */
.page-head{ padding: 56px 0 40px; border-bottom: 1px solid var(--rule); }
.page-head h1{ font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-transform: uppercase; max-width: 24ch; }
.page-head p.lede{ margin-top: 18px; }
.crumb{
  font-family: var(--f-mono); font-size: 0.72rem; color: var(--text-muted);
  text-decoration: none; letter-spacing: 0.05em; display: inline-block; margin-bottom: 18px;
}
.crumb:hover{ color: var(--amber); }

/* ---------- inner page header, image-embedded variant ---------- */
.page-hero{
  position: relative; min-height: 70vh; min-height: 70svh;
  display: flex; align-items: flex-end; overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.page-hero__bg{
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.page-hero__scrim{
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(19,22,26,.3) 0%, rgba(19,22,26,.55) 45%, rgba(19,22,26,.94) 100%);
}
.page-hero__content{
  position: relative; z-index: 2; width: 100%;
  max-width: var(--wrap); margin: 0 auto; padding: 64px 28px 48px;
}
.page-hero__content > *{ text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.page-hero .crumb{ color: var(--paper); opacity: .85; }
.page-hero .crumb:hover{ color: var(--amber); }
.page-hero .chapter__kicker{ color: var(--paper); margin-bottom: 16px; }
.page-hero .chapter__kicker::before{ background: var(--paper); box-shadow: 0 0 8px var(--paper); }
.page-hero h1{
  font-family: var(--f-display); font-weight: 800; letter-spacing: 0.01em;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-transform: uppercase; max-width: 24ch;
  color: var(--paper); margin: 0;
}
.page-hero p.lede{ margin-top: 18px; color: rgba(232,226,212,0.85); max-width: 60ch; }

@media (max-width: 720px){
  .page-hero{ min-height: 62vh; align-items: flex-end; }
  .page-hero__content{ padding: 40px 28px 36px; }
}

/* ---------- band scale (frequency strip / chyron ticker) ---------- */
.band-scale{
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 16px 0; overflow: hidden; position: relative;
}
.band-scale::before, .band-scale::after{
  content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none;
}
.band-scale::before{ left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.band-scale::after{ right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.band-scale__track{ display: flex; width: max-content; animation: band-scroll 34s linear infinite; }
.band-scale:hover .band-scale__track{ animation-play-state: paused; }
.band-scale__list{
  display: flex; list-style: none; margin: 0; padding: 0;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--text-muted); white-space: nowrap;
}
.band-scale__list li{ padding: 0 20px; border-right: 1px solid var(--rule-soft); }
.band-scale__list li:last-child{ border-right: none; }
.band-scale__list strong{ color: var(--signal); font-weight: 500; }
.band-scale__list li.current strong{ color: var(--amber); }
@keyframes band-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- station ticker (small logo chyron) ---------- */
.station-ticker{
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 18px 0; overflow: hidden; position: relative;
}
.station-ticker::before, .station-ticker::after{
  content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none;
}
.station-ticker::before{ left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.station-ticker::after{ right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.station-ticker__track{ display: flex; width: max-content; animation: station-scroll 22s linear infinite; }
.station-ticker:hover .station-ticker__track{ animation-play-state: paused; }
.station-ticker__list{ display: flex; align-items: center; }
.station-ticker__list img{
  height: 42px; width: auto; margin: 0 22px; border-radius: 4px;
  opacity: 0.8; transition: opacity .15s ease;
}
.station-ticker__list img:hover{ opacity: 1; }
@keyframes station-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section{ padding: 72px 0; border-bottom: 1px solid var(--rule); }
.section--tight{ padding: 48px 0; }
.section__head{ margin-bottom: 40px; max-width: 70ch; }
.section__head h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; }

/* ---------- logbook rows (timeline) ---------- */
.logbook{ border-top: 1px solid var(--rule); }
.log-row{
  display: grid;
  grid-template-columns: 108px 1px 1fr;
  gap: 0 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.log-row__date{
  font-family: var(--f-mono); color: var(--amber); font-size: 0.95rem; padding-top: 2px;
}
.log-row__rail{ background: var(--rule); position: relative; }
.log-row__rail::before{
  content: ""; position: absolute; top: 6px; left: -3.5px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
}
.log-row__body h3{
  font-family: var(--f-body); font-weight: 600; font-size: 1.15rem;
  text-transform: none; color: var(--text); margin-bottom: 6px;
}
.log-row__body p{ margin: 0; }
.log-row__tag{
  display: inline-block; font-family: var(--f-mono); font-size: 0.68rem;
  color: var(--signal); border: 1px solid var(--signal-dim); border-radius: 20px;
  padding: 3px 10px; margin-top: 10px; letter-spacing: 0.05em;
}

/* ---------- QSL card (signature component) ---------- */
.qsl-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.qsl{
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px 24px 20px;
  position: relative;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.4);
}
.qsl::before{
  /* perforation */
  content: "";
  position: absolute; left: 0; right: 0; top: -6px; height: 12px;
  background-image: radial-gradient(circle, var(--bg) 3.5px, transparent 3.6px);
  background-size: 18px 12px;
  background-repeat: repeat-x;
  background-position: 6px 0;
}
.qsl__stamp{
  position: absolute; top: 18px; right: 18px;
  font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.06em;
  border: 1px solid var(--amber-dim); color: var(--amber);
  padding: 4px 8px; transform: rotate(4deg); border-radius: 2px;
}
.qsl__num{
  font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--text);
}
.qsl__label{
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted); margin-top: 8px;
}
.qsl__fields{
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--rule);
  font-family: var(--f-mono); font-size: 0.72rem; color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: 6px 14px;
}
.qsl__fields b{ color: var(--signal); }

/* ---------- card grid (chapters / links) ---------- */
.card-grid{ display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card{
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--rule); border-radius: 6px;
  padding: 28px; text-decoration: none; display: block;
  grid-column: span 2;
  transition: border-color .15s ease, transform .15s ease;
}
.card.featured{
  grid-column: span 4;
  background: linear-gradient(180deg, var(--panel), var(--bg-raise));
  border-color: var(--amber-dim);
}
.card::after{
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--signal); transform: scaleY(0); transform-origin: top;
  transition: transform .2s ease;
}
.card:hover{ border-color: var(--amber); transform: translateY(-3px); }
.card:hover::after{ transform: scaleY(1); }
.card__freq{
  font-family: var(--f-mono); font-size: 0.7rem; color: var(--signal); letter-spacing: 0.08em;
  margin-bottom: 14px; display: inline-block; transition: transform .18s ease;
}
.card:hover .card__freq{ transform: translateX(3px); }
.card h3{ font-size: 1.4rem; text-transform: uppercase; margin-bottom: 10px; color: var(--text); }
.card p{ margin: 0; font-size: 0.94rem; }
.card__arrow{ font-family: var(--f-mono); color: var(--amber); margin-top: 18px; display: inline-block; font-size: 0.85rem; }

.card__badge{
  position: absolute; top: 18px; right: 18px;
  font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--amber); border: 1px solid var(--amber-dim);
  padding: 4px 8px; border-radius: 2px; transform: rotate(3deg);
}

.card__signal{ display: flex; gap: 3px; margin-top: 16px; }
.signal-dot{ width: 4px; height: 12px; background: var(--signal-dim); border-radius: 2px; }
.card:hover .signal-dot{ animation: signal-bounce .5s ease; }
.signal-dot:nth-child(2){ animation-delay: .05s; }
.signal-dot:nth-child(3){ animation-delay: .1s; }
.signal-dot:nth-child(4){ animation-delay: .15s; }
.signal-dot:nth-child(5){ animation-delay: .2s; }
@keyframes signal-bounce{ 0%, 100%{ height: 12px; } 50%{ height: 20px; } }

@media (max-width: 900px){
  .card-grid{ grid-template-columns: repeat(2, 1fr); }
  .card, .card.featured{ grid-column: span 1; }
  .band-card-grid--archive{ grid-template-columns: repeat(3, 1fr); }
}

/* ---------- philosophy statement (text-only rhythm break) ---------- */
.philosophy{ max-width: 640px; margin: 0 auto; text-align: center; }
.philosophy__title{
  font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; margin: 0 0 24px; line-height: 1.15;
}
.philosophy__body{
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-muted); line-height: 1.65; margin: 0 auto;
}
.philosophy__close{
  font-family: var(--f-display); font-weight: 700; text-transform: none;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--text); margin: 28px 0 0;
}
.philosophy__close strong{ color: var(--amber); }

/* ---------- band cards (image-backed roster tiles) ---------- */
.band-card{
  position: relative; display: block; overflow: hidden; border-radius: 8px;
  background-size: cover; background-position: center;
  text-decoration: none; border: 1px solid var(--rule);
  transition: transform .3s ease, border-color .3s ease;
}
.band-card::before{
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(19,22,26,.1) 0%, rgba(19,22,26,.5) 55%, rgba(19,22,26,.95) 100%);
  transition: background .3s ease;
}
.band-card:hover{ transform: translateY(-4px); border-color: var(--amber-dim); }
.band-card:hover::before{ background: linear-gradient(180deg, rgba(19,22,26,.02) 0%, rgba(19,22,26,.4) 55%, rgba(19,22,26,.92) 100%); }
.band-card__overlay{
  position: relative; z-index: 2; height: 100%; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.band-card__freq{
  font-family: var(--f-mono); font-size: 0.7rem; color: var(--signal); letter-spacing: 0.08em;
  margin-bottom: 10px; text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.band-card__overlay h3{
  font-size: 1.3rem; text-transform: uppercase; color: var(--paper); margin: 0 0 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.band-card__overlay p{
  color: rgba(232,226,212,0.85); font-size: 0.88rem; margin: 0 0 12px; max-width: 60ch;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.band-card__arrow{ font-family: var(--f-mono); color: var(--amber); font-size: 0.8rem; text-shadow: 0 2px 8px rgba(0,0,0,.6); }

.band-card--large{ aspect-ratio: 16/7; margin-bottom: 20px; }
.band-card--large .band-card__overlay h3{ font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.band-card--large .band-card__overlay p{ font-size: 1rem; }

.band-card-grid{ display: grid; gap: 20px; }
.band-card-grid--medium{ grid-template-columns: repeat(2, 1fr); }
.band-card--medium{ aspect-ratio: 16/10; }

.band-card-grid--small{ grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.band-card-grid--archive{ grid-template-columns: repeat(5, 1fr); gap: 16px; }
.band-card--small{ aspect-ratio: 4/3; }
.band-card--small .band-card__overlay{ padding: 16px; }
.band-card--small .band-card__overlay h3{ font-size: 1.02rem; margin-bottom: 4px; }
.band-card--small .band-card__overlay p{ display: none; }
.band-card--small .band-card__freq{ font-size: 0.62rem; margin-bottom: 6px; }

.band-category{ margin-bottom: 32px; }
.band-category:last-child{ margin-bottom: 0; }
.band-category__label{
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px){
  .band-card-grid--medium{ grid-template-columns: 1fr; }
  .band-card-grid--archive{ grid-template-columns: 1fr; }
  .band-card--large{ aspect-ratio: 4/3; }
}

/* ---------- photo treatment ---------- */
.photo{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: var(--panel);
  display: block;
}
.photo--banner{
  aspect-ratio: 3/1;
  object-fit: contain;
  padding: 10px;
}
.photo--portrait{
  aspect-ratio: 4/5;
  object-position: top center;
}

/* ---------- prose sections ---------- */
.prose{ max-width: 68ch; }
.prose p{ color: var(--text-muted); }
.prose h3{ font-family: var(--f-body); font-size: 1.2rem; text-transform: none; color: var(--text); margin: 32px 0 10px; font-weight: 600; }
.prose ul{ color: var(--text-muted); padding-left: 20px; }
.prose li{ margin-bottom: 6px; }
.prose strong{ color: var(--text); }

.prose p.pull-quote{
  margin: 22px 0 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--amber);
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--text); text-transform: none; line-height: 1.35; max-width: 46ch;
}

/* ---------- stat strip ---------- */
.stat-strip{ display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; }
.stat{
  position: relative; padding: 22px 20px 20px; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--rule);
  transition: transform .18s ease, border-color .18s ease;
  overflow: hidden;
}
.stat:hover{ transform: translateY(-3px); border-color: var(--amber-dim); }
.stat.signal:hover{ border-color: var(--signal-dim); }
.stat::after{
  content: ""; position: absolute; left: 20px; bottom: 0; height: 2px; width: 28px;
  background: var(--amber-dim); opacity: .8;
}
.stat.signal::after{ background: var(--signal-dim); }
.stat__icon{ width: 22px; height: 22px; color: var(--amber); margin-bottom: 16px; display: block; transition: transform .3s ease, color .3s ease; }
.stat.signal .stat__icon{ color: var(--signal); }
.stat:hover .stat__icon{ transform: scale(1.15); }
.stat__num{ font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; transition: text-shadow .3s ease; }
.stat:hover .stat__num{ text-shadow: 0 0 20px rgba(211, 129, 63, 0.3); }
.stat.signal:hover .stat__num{ text-shadow: 0 0 20px rgba(75, 195, 184, 0.3); }
.stat__label{ font-family: var(--f-mono); font-size: 0.66rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 10px; }

/* ---------- two column layout ---------- */
.split{ display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.split--text-heavy{ grid-template-columns: 0.8fr 1.2fr; align-items: center; }

/* ---------- gallery grid ---------- */
.gallery{ display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.gallery img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; border: 1px solid var(--rule); background: var(--panel); transition: transform .15s ease, border-color .15s ease; }
.gallery img.wide{ aspect-ratio: 3/1; object-fit: contain; padding: 8px; }
.gallery a.gallery__item--2x{ grid-column: span 2; }
.gallery img.collage{ aspect-ratio: 3/2; object-fit: contain; padding: 6px; }
.gallery a{ display: block; cursor: zoom-in; border-radius: 4px; }
.gallery a:hover img{ border-color: var(--amber); transform: translateY(-2px); }
.gallery a:focus-visible{ outline: 2px solid var(--signal); outline-offset: 2px; }

/* ---------- lightbox ---------- */
.lightbox{
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; flex-direction: column;
  background: rgba(10,8,6,0.94); padding: 60px 24px;
}
.lightbox.open{ display: flex; }
.lightbox__img{ max-width: min(92vw, 1100px); max-height: 72vh; object-fit: contain; border-radius: 4px; border: 1px solid var(--rule); background: var(--panel); }
.lightbox__caption{ font-family: var(--f-mono); font-size: 0.82rem; color: var(--text-muted); margin-top: 18px; text-align: center; max-width: 70ch; }
.lightbox__close, .lightbox__prev, .lightbox__next{
  position: absolute; background: var(--panel); border: 1px solid var(--rule); color: var(--text);
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .15s ease, color .15s ease;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover{ border-color: var(--amber); color: var(--amber); }
.lightbox__close{ top: 20px; right: 20px; width: 42px; height: 42px; font-size: 1.4rem; line-height: 1; }
.lightbox__prev, .lightbox__next{ top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.6rem; }
.lightbox__prev{ left: 16px; }
.lightbox__next{ right: 16px; }
@media (max-width: 640px){
  .lightbox{ padding: 24px 16px; }
  .lightbox__prev, .lightbox__next{ width: 40px; height: 40px; font-size: 1.3rem; }
  .lightbox__prev{ left: 6px; }
  .lightbox__next{ right: 6px; }
}

/* ---------- video trigger / modal ---------- */
.video-trigger{
  display: inline-block; margin-left: 8px;
  font-family: var(--f-mono); font-size: 0.82rem; color: var(--amber);
  text-decoration: none; white-space: nowrap;
}
.video-trigger:hover{ text-decoration: underline; }
.video-modal{
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(10,8,6,0.94); padding: 60px 24px;
}
.video-modal.open{ display: flex; }
.video-modal__inner{ position: relative; width: min(92vw, 1100px); aspect-ratio: 16/9; }
.video-modal__inner iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 4px; background: var(--panel); }
.video-modal__close{
  position: absolute; top: 20px; right: 20px; width: 42px; height: 42px;
  background: var(--panel); border: 1px solid var(--rule); color: var(--text);
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; line-height: 1; transition: border-color .15s ease, color .15s ease;
}
.video-modal__close:hover{ border-color: var(--amber); color: var(--amber); }
@media (max-width: 640px){
  .video-modal{ padding: 24px 16px; }
  .video-modal__close{ top: 8px; right: 8px; }
}

/* ---------- dial list (compact linked rows with frequency tags) ---------- */
.dial-list{ display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; border-top: 1px solid var(--rule); }
.dial-link{
  display: flex; align-items: center; gap: 24px;
  padding: 18px 4px; text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--rule);
  position: relative; overflow: hidden;
  transition: background-color .2s ease, padding-left .2s ease;
}
.dial-link::before{
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--signal); transform: scaleY(0); transform-origin: center;
  transition: transform .2s ease;
}
.dial-link:hover{ background: var(--panel); padding-left: 16px; }
.dial-link:hover::before{ transform: scaleY(1); }
.dial-link__freq{
  font-family: var(--f-mono); font-size: 0.7rem; color: var(--signal); letter-spacing: 0.06em;
  width: 168px; flex-shrink: 0;
}
.dial-link__title{
  font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; text-transform: uppercase;
  flex: 1; letter-spacing: 0.01em;
}
.dial-link__arrow{
  font-family: var(--f-mono); color: var(--amber); font-size: 0.9rem; flex-shrink: 0;
  transition: transform .2s ease;
}
.dial-link:hover .dial-link__arrow{ transform: translateX(5px); }

@media (max-width: 760px){
  .dial-list{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .dial-link{ flex-wrap: wrap; row-gap: 4px; column-gap: 16px; padding: 16px 4px; }
  .dial-link__freq{ width: auto; order: 1; flex-basis: 100%; }
  .dial-link__title{ order: 2; font-size: 1.05rem; }
  .dial-link__arrow{ order: 3; }
}

/* ---------- link list (resources) ---------- */
.linklist{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 10px; }
.linklist a{
  display: block; font-family: var(--f-mono); font-size: 0.85rem;
  padding: 12px 14px; border: 1px solid var(--rule); border-radius: 3px;
  text-decoration: none; color: var(--text-muted); transition: all .15s ease;
}
.linklist a:hover{ border-color: var(--signal); color: var(--signal); }

/* ---------- footer ---------- */
.site-footer{ padding: 88px 0 44px; border-top: 1px solid var(--rule); }
.site-footer__qsl{
  background: none; color: var(--text); border-radius: 0; padding: 0; position: relative;
  display: block; text-align: center;
  transition: none; transform: none; box-shadow: none;
}
.site-footer__qsl::before{ content: none; }
.site-footer__stamp{
  font-family: var(--f-mono); font-size: 0.65rem; letter-spacing: 0.08em; color: var(--signal);
  border: 1px solid var(--signal-dim); display: inline-block; padding: 3px 10px;
  border-radius: 20px; margin-bottom: 20px;
}
.site-footer__qsl-main h3, .site-footer__qsl > h3{ font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3rem); text-transform: uppercase; color: var(--text); margin: 0 0 12px; letter-spacing: 0.02em; }
.site-footer__qsl-main p, .site-footer__qsl > p{ color: var(--text-muted); margin: 0 auto 28px; max-width: 46ch; }
.site-footer__social{ display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.site-footer__social a{
  font-family: var(--f-mono); font-size: 0.78rem; text-decoration: none;
  border: 1px solid var(--rule); color: var(--text); padding: 9px 18px; border-radius: 20px;
  transition: all .15s ease;
}
.site-footer__social a:hover{ background: var(--amber); color: var(--ink); border-color: var(--amber); }

.site-footer__fields{
  margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px 0; padding-top: 28px; border-top: 1px solid var(--rule); max-width: 640px;
}
.site-footer__fields > div{ display: flex; align-items: baseline; gap: 7px; padding: 0 18px; border-left: 1px solid var(--rule); }
.site-footer__fields > div:first-child{ border-left: none; }
.site-footer__fields dt{ font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 0; }
.site-footer__fields dd{ margin: 0; font-family: var(--f-mono); font-size: 0.88rem; font-weight: 600; color: var(--signal); }
.site-footer__fields .approx{ font-weight: 400; font-size: 0.6rem; color: var(--text-muted); margin-left: 4px; text-transform: uppercase; letter-spacing: 0.04em; }

.site-footer__meta{
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px;
  font-family: var(--f-mono); font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.04em;
}
.site-footer__credit{
  margin-top: 8px; font-family: var(--f-mono); font-size: 0.68rem; color: var(--text-muted);
  text-align: center;
}
.site-footer__credit a{ color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__credit a:hover{ color: var(--amber); }

@media (max-width: 640px){
  .site-footer__fields > div{ border-left: none; padding: 0 12px; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px){
  .split{ grid-template-columns: 1fr; }
  .log-row{ grid-template-columns: 72px 1px 1fr; }
}

@media (max-width: 720px){
  .nav-toggle{ display: flex; }
  .dial-nav{
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: min(78vw, 320px); overflow-y: auto;
    background: var(--bg-raise); border-left: 1px solid var(--rule);
    padding: 88px 0 24px;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .dial-nav.is-open{ transform: translateX(0); }
  .dial-nav ul{ flex-direction: column; padding: 0 6px; }
  .dial-nav li + li::before{ content: none; }
  .dial-nav a{ display: block; padding: 14px 20px; font-size: 0.92rem; border-bottom: 1px solid var(--rule); }
  .dial-nav a[aria-current="page"]::after{ content: none; }
  .dial-nav a[aria-current="page"]{ color: var(--amber); }
  .hero{ padding: 64px 0 44px; }
  .section{ padding: 52px 0; }
  .site-footer__qsl{ flex-direction: column; }
  .site-footer__social{ align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .card{ transition: none; }
  .stat{ transition: none; }
  .hero__freq .dot{ animation: none; }
  .band-scale{ overflow-x: auto; }
  .band-scale__track{ animation: none; }
  .station-ticker{ overflow-x: auto; }
  .station-ticker__track{ animation: none; }
  .station-ticker__list[aria-hidden]{ display: none; }
  .station-ticker::before, .station-ticker::after{ display: none; }
  .band-scale__list[aria-hidden]{ display: none; }
  .band-scale::before, .band-scale::after{ display: none; }
  .hero__badge{ animation: none; }
  .stat__icon, .stat__num{ transition: none; }
  .signal-dot{ animation: none; }
  .site-footer__qsl{ transition: none; transform: none; }
  .site-footer__qsl:hover{ transform: none; }
  .hero__portrait-frame{ transition: none; }
  .hero__portrait:hover .hero__portrait-frame{ transform: none; }
  .chapter__bg{ transform: none !important; }
  .chapter__content > *{ opacity: 1 !important; transform: none !important; }
  .chapter-row__frame{ transition: none; }
  .chapter-row__media:hover .chapter-row__frame,
  .chapter-row--reverse .chapter-row__media:hover .chapter-row__frame{ transform: none; }
  .chapter-row__body > *{ opacity: 1 !important; transform: none !important; }
  .chapter__scrollcue::after{ animation: none; }
  .site-header{ transition: none; }
}

/* ---------- qsl hover ---------- */
.qsl{ transition: transform .18s ease, box-shadow .18s ease; }
.qsl:hover{ transform: translateY(-3px); box-shadow: 0 20px 36px -16px rgba(0,0,0,0.6); }
