/* Terminal theme, loaded after styles.css: monospace type, square frames,
   scanlines and digital rain, in the site's blue and gold. */
:root {
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --frame: rgba(142, 166, 255, 0.34);
  --text-glow: 0 0 18px rgba(142, 166, 255, 0.55);
}

body { font-family: var(--mono); font-size: 15.5px; line-height: 1.7; background: #04071c; }
/* The logo and the wordmark keep the poster's typeface */
.lockup, .wordmark { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }

/* Scanlines over the whole page, like a monitor */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
}

/* Digital rain */
.rain { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero { background: linear-gradient(180deg, #040820 0%, #0b1560 38%, #091150 66%, #03061a 100%); }
.hero-bg .rain { opacity: 0.62; }
.glow { opacity: 0.55; }
.fade {
  background:
    radial-gradient(58% 44% at 50% 46%, rgba(6, 10, 48, 0.8), rgba(6, 10, 48, 0) 74%),
    linear-gradient(180deg, rgba(4, 8, 30, 0.78) 0%, rgba(4, 8, 30, 0) 22%, rgba(4, 8, 30, 0) 64%, rgba(3, 6, 26, 0.94) 100%);
}
.apply .rain { z-index: -1; opacity: 0.2; }

/* Type */
h2 { font-size: clamp(1.45rem, 3.1vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.2; max-width: 24ch; text-shadow: var(--text-glow); }
h2::after, .cursor { content: ""; display: inline-block; width: 0.55em; height: 0.12em; margin-left: 0.12em; background: var(--gold-300); animation: blink 1.1s steps(1) infinite; }
.cursor { height: 1.05em; width: 0.58em; margin-right: -0.7em; vertical-align: text-bottom; }
@keyframes blink { 50% { opacity: 0; } }
.eyebrow::before, .hero-eyebrow::before, .foot-links a::before { content: "> "; }
.nav { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-line { max-width: 46ch; font-size: clamp(0.92rem, 1.6vw, 1.12rem); }
.hero-foot { font-size: 0.85rem; }
.stats strong, .facts strong, .criteria strong, .dates-day { text-shadow: var(--text-glow); }
.prose, .lede { font-size: 1rem; }
.workshops li { font-size: clamp(1rem, 1.9vw, 1.25rem); }

/* Frames: square corners and thin lit borders */
.section { background: #04071c; border-top: 1px solid rgba(142, 166, 255, 0.12); }
.section-alt { background: linear-gradient(180deg, #060b28, #0a1142); }
.apply { background: radial-gradient(120% 160% at 50% 0%, #2238b4 0%, #121e7c 45%, #070c36 100%); }
.strip { background: #060b28; }
.facts li, .criteria li, .cards li, .form-card {
  border-radius: 2px; border-color: var(--frame);
  background: rgba(5, 9, 34, 0.66);
  box-shadow: 0 0 26px rgba(59, 86, 214, 0.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.facts li:hover, .criteria li:hover, .cards li:hover { border-color: rgba(239, 223, 180, 0.75); box-shadow: 0 0 30px rgba(210, 178, 114, 0.16); }
.partners li { border-radius: 2px; }
.form-card .field input, .form-card .field select, .form-card .field textarea { border-radius: 2px; font-family: var(--mono); }
.timeline li::before { border-radius: 0; }

/* Buttons */
.pill { border-radius: 3px; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }
.pill-small { font-size: 0.78rem; }
.pill-hero { font-size: clamp(0.92rem, 1.6vw, 1.15rem); }
.pill-ghost { background: rgba(4, 8, 30, 0.35); border: 1px solid var(--gold-300); color: var(--gold-100); text-shadow: none; box-shadow: none; }
.pill-ghost:hover { background: rgba(210, 178, 114, 0.16); }

/* Footer links */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--gold-100); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  body { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  h2::after, .cursor { animation: none; }
  .facts li, .criteria li, .cards li { transition: none; }
}