/* ============================================
   TOKENS
   ============================================ */
:root {
  --bg: #0B0E14;
  --bg-panel: #12161F;
  --bg-panel-2: #171C27;
  --border: #232938;
  --border-bright: #34405a;

  --text: #E8ECF1;
  --text-dim: #8891A3;
  --text-faint: #545E72;

  --accent: #FF8A3D;      /* signal amber */
  --accent-dim: #B8632A;
  --accent-2: #4DD0E1;    /* cyan, secondary signal */
  --success: #6EE7A0;

  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 780px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* ============================================
   AMBIENT BACKGROUND TEXTURE
   ============================================ */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 0px,
    rgba(0,0,0,0.0) 2px,
    rgba(0,0,0,0.05) 3px,
    rgba(0,0,0,0.0) 4px
  );
  opacity: 0.5;
  mix-blend-mode: overlay;
}

main {
  position: relative;
  z-index: 1;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px 1px rgba(110, 231, 160, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.cursor {
  color: var(--accent-2);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.display {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
}

.role {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text);
  max-width: 46ch;
  margin-bottom: 18px;
  font-weight: 500;
}

.bio {
  color: var(--text-dim);
  max-width: 52ch;
  font-size: 1rem;
  margin-bottom: 56px;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.2s ease, transform 0.2s ease;
}

.scroll-hint svg {
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.scroll-hint:hover {
  color: var(--accent-2);
}

/* ============================================
   CHANNELS (other sites) — frequency dial
   ============================================ */
.channels {
  padding: 60px 0 100px;
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 40px;
  color: var(--text);
}

.dial {
  list-style: none;
  border-top: 1px solid var(--border);
}

.channel {
  border-bottom: 1px solid var(--border);
}

.channel-link {
  display: grid;
  grid-template-columns: 70px 1fr auto 24px;
  align-items: baseline;
  gap: 20px;
  padding: 22px 12px;
  transition: background 0.15s ease, padding-left 0.15s ease, border-color 0.15s ease;
  border-left: 2px solid transparent;
}

.channel-link:hover,
.channel-link:focus-visible {
  background: var(--bg-panel);
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

.freq {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-dim);
  transition: color 0.15s ease;
}

.channel-link:hover .freq,
.channel-link:focus-visible .freq {
  color: var(--accent);
}

.channel-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}

.channel-desc {
  color: var(--text-faint);
  font-size: 0.85rem;
  display: none;
}

.channel-go {
  font-family: var(--font-mono);
  color: var(--text-faint);
  transition: transform 0.15s ease, color 0.15s ease;
  justify-self: end;
}

.channel-link:hover .channel-go,
.channel-link:focus-visible .channel-go {
  color: var(--accent-2);
  transform: translate(2px, -2px);
}

@media (min-width: 640px) {
  .channel-link {
    grid-template-columns: 80px 180px 1fr 24px;
  }
  .channel-desc {
    display: block;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 50px 0 60px;
  border-top: 1px solid var(--border);
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prompt {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
}

.prompt-symbol {
  color: var(--accent);
}

.prompt a {
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.prompt a:hover,
.prompt a:focus-visible {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

.fine-print {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}
