/* =========================================================================
   /signals — transmission plates.
   Brutalist-editorial in phosphor. SIGNALS at full command, the live
   carrier beneath it, then one plate per transmission: a left rail
   where the date is cut huge — the day as the monument, year and kind
   beneath — and a main field where the waveform fingerprint runs as a
   band with the title cut across its lower edge. The newest plate
   burns amber and breathes at full scale; the archive holds still in
   phosphor. One architecture at every archive size.
   ========================================================================= */

/* ---- masthead ------------------------------------------------------------ */

.band-mast {
  padding: clamp(44px, 6.5vw, 76px) 0 0;
}
.band-mast h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--phosphor);
  text-shadow: 0 0 46px rgba(255, 179, 71, 0.14);
}

/* the carrier: the band is live */
.ledger-carrier {
  height: 2px;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255, 179, 71, 0.65) 12%,
      rgba(79, 214, 214, 0.5) 26%,
      transparent 38%),
    linear-gradient(90deg, rgba(255, 179, 71, 0.12), rgba(255, 179, 71, 0.12));
  background-size: 320px 100%, 100% 100%;
  background-repeat: no-repeat, repeat;
  animation: carrier-sweep 5.5s linear infinite;
}
@keyframes carrier-sweep {
  from { background-position: -320px 0, 0 0; }
  to { background-position: calc(100% + 320px) 0, 0 0; }
}

.band-section { padding-bottom: 110px; }

/* ---- waveform fingerprints ------------------------------------------------ */

.sigw { display: block; width: 100%; height: 100%; }
.sigw rect { fill: var(--teal); opacity: 0.7; transition: fill 350ms ease, opacity 350ms ease; }
.sigw.strong rect {
  fill: var(--amber);
  opacity: 0.88;
  transform-origin: center;
  transform-box: fill-box;
  animation: sigw-breathe 2.8s ease-in-out infinite;
}
@keyframes sigw-breathe {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.6); }
}

/* ---- the plates ------------------------------------------------------------ */

.txp { display: flex; flex-direction: column; }

.txp-plate {
  position: relative;
  display: block;
  padding: clamp(26px, 4vw, 44px) clamp(18px, 3.5vw, 48px) clamp(24px, 3.5vw, 40px);
  text-decoration: none;
  overflow: hidden;
  animation: txp-arrive 700ms cubic-bezier(0.19, 1, 0.22, 1) both;
}
.txp-plate + .txp-plate { border-top: 1px solid var(--wire-2); }
@keyframes txp-arrive {
  from { opacity: 0; transform: translateY(20px); }
}

/* warmth pooling behind the newest work */
.txp-plate.latest::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 68% 28%, rgba(255, 179, 71, 0.075), transparent 65%),
    radial-gradient(ellipse 35% 45% at 12% 80%, rgba(79, 214, 214, 0.04), transparent 65%);
}

/* the scanline sweep on touch */
.txp-plate::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.05), transparent);
  transform: skewX(-16deg);
  transition: left 900ms ease;
  pointer-events: none;
}
.txp-plate:hover::after { left: 115%; }

/* ---- the main field --------------------------------------------------------- */

.txp-main {
  position: relative;
  min-width: 0;
  display: block;
}

.txp-band {
  display: block;
  height: clamp(44px, 6.5vw, 76px);
  margin-bottom: 18px;
  opacity: 0.88;
  transition: opacity 400ms ease;
}
.txp-plate.latest .txp-band {
  height: clamp(64px, 10vw, 118px);
}
.txp-plate:hover .txp-band { opacity: 1; }
.txp-plate:hover .sigw rect { fill: var(--amber); opacity: 0.9; }

.txp-title {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  max-width: 34ch;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.04;
  color: var(--phosphor);
  text-shadow:
    0 0 26px rgba(5, 5, 6, 0.95),
    0 0 60px rgba(5, 5, 6, 0.9),
    0 0 18px rgba(255, 179, 71, 0.1);
  transition: color 300ms ease, text-shadow 300ms ease;
}
.txp-plate.latest .txp-title {
  max-width: 26ch;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
}
.txp-plate:hover .txp-title {
  color: var(--amber);
  text-shadow:
    0 0 26px rgba(5, 5, 6, 0.95),
    0 0 60px rgba(5, 5, 6, 0.9),
    0 0 28px rgba(255, 179, 71, 0.3);
}

.txp-deck {
  margin: 0 0 14px;
  max-width: 58ch;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--phosphor-dim);
}
.txp-plate.latest .txp-deck { font-size: 0.98rem; }

.txp-go {
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--phosphor-faint);
  transition: color 250ms ease, letter-spacing 250ms ease;
}
.txp-plate:hover .txp-go {
  color: var(--amber);
  letter-spacing: 0.3em;
}

/* ---- small screens ------------------------------------------------------------ */


/* ---- reduced motion ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .ledger-carrier,
  .sigw.strong rect { animation: none; }
  .txp-plate { animation: none; }
  .txp-plate::after { display: none; }
}
