/* Future News Network: a quiet control-room frame around four loud banners, each drawn in its channel's own style. */
:root {
  --bg: #0b0b0d;
  --panel: #141418;
  --line: #2a2a31;
  --fg: #ecebe6;
  --dim: #9a99a3;
  --accent: #ff4d5e;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse at 50% -10%, #1d1d24 0%, transparent 60%);
  color: var(--fg);
  font: 16px/1.5 var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; }

/* Masthead */
.masthead { max-width: 1100px; margin: 0 auto; padding: 40px 16px 28px; text-align: center; }
.fnn-mark { display: block; margin: 0 auto 18px; }
.eyebrow { margin: 0 0 14px; font: 13px var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.masthead h1 {
  margin: 0; font: 900 clamp(2.4rem, 7vw, 4.6rem)/1 var(--serif); letter-spacing: -.01em;
}
.tagline {
  display: inline-block; margin: 16px 0 0; padding-top: 12px;
  border-top: 3px double var(--line);
  font: 500 clamp(1rem, 2.4vw, 1.25rem) var(--sans); color: var(--dim);
}
.back { margin-top: 28px; }
.back a { color: var(--fg); }

/* Banners: each one is the channel's own branding, unchanged */
.channels { max-width: 1100px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.banner {
  position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 28px 32px;
  border-radius: 6px; text-decoration: none;
  outline: 1px solid rgba(255, 255, 255, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
a.banner:hover, a.banner:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0, 0, 0, .55); }
a.banner:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.banner p, .banner h2, .banner h3 { margin: 0; }
.banner .domain { margin-top: 14px; position: relative; }

/* Future News: its share card, cream on black, centred, with the double rule */
.banner--news { background: #161514; color: #ece6da; text-align: center; padding: 34px 32px 26px; }
.banner--news .wordmark { font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 "Playfair Display", Georgia, serif; }
.banner--news .rule { margin: 16px auto 14px; height: 5px; max-width: 400px; width: 100%; border-top: 1px solid #ece6da; border-bottom: 1px solid #ece6da; }
.banner--news .domain { font: 400 .95rem "Source Serif 4", Georgia, serif; letter-spacing: .06em; color: #a8a08f; }
.banner--news .byline { font: 400 clamp(1.05rem, 2vw, 1.3rem) "Source Serif 4", Georgia, serif; }

/* DOOM POP TV: its share card, neon on black */
.banner--tv {
  color: #e9e3f5; font-family: "Rajdhani", var(--sans);
  background: radial-gradient(ellipse at 0% 0%, #2c1238 0%, transparent 50%), radial-gradient(ellipse at 100% 100%, #241030 0%, transparent 50%), #0a0610;
  outline-color: #2b1636;
}
.banner--tv::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.banner--tv .onair { font: 400 1.3rem "VT323", monospace; letter-spacing: .3em; text-transform: uppercase; color: #ff4d6d; }
.banner--tv .dot {
  display: inline-block; width: 11px; height: 11px; margin-right: 12px; border-radius: 50%; vertical-align: 1px;
  background: #ff3355; box-shadow: 0 0 10px #ff3355; animation: pulse 1.6s ease-in-out infinite;
}
.banner--tv .wordmark { margin: 8px 0 12px !important; font: 400 clamp(1.7rem, 3.6vw, 2.5rem)/1.05 "Monoton", sans-serif; white-space: nowrap; }
.banner--tv .doom { color: #f6efff; text-shadow: 0 0 8px rgba(196, 140, 255, .9), 0 0 24px rgba(160, 90, 255, .55); }
.banner--tv .pop { color: #ff3fc8; text-shadow: 0 0 8px rgba(255, 63, 200, .9), 0 0 26px rgba(255, 63, 200, .55); }
.banner--tv .tvbadge {
  display: inline-block; vertical-align: .35em; padding: 0 .3em;
  background: #8b3cf0; color: #12051c; border-radius: 6px; box-shadow: 0 0 18px rgba(139, 60, 240, .7);
  font: 400 .52em/1.3 "VT323", monospace;
}
.banner--tv .byline { font: 400 clamp(1.1rem, 2vw, 1.35rem)/1.2 "VT323", monospace; letter-spacing: .24em; text-transform: uppercase; color: #46e6e6; }
.banner--tv .pitch { margin-top: 14px !important; font: 500 clamp(1.05rem, 1.8vw, 1.25rem)/1.3 "Rajdhani", sans-serif; color: #e4e1ea; }
.banner--tv .pitch span { color: #ff3fc8; font-weight: 700; }
.banner--tv .domain { text-align: left; font: 400 .95rem "IBM Plex Mono", monospace; letter-spacing: .12em; color: #9a96a6; }

/* AGENTS ONLY: its site masthead beside its own SEND YOUR AGENT invite */
.banner--agents {
  gap: 18px;
  background: #050805; color: #c8f7d2; outline-color: #1f4d2a; font-family: "IBM Plex Mono", monospace;
}
.banner--agents a { color: inherit; text-decoration: none; }
.banner--agents .wordmark {
  font: 400 clamp(2.4rem, 4.4vw, 3.2rem)/1 "VT323", monospace; letter-spacing: .08em; white-space: nowrap;
  color: #39ff7a; text-shadow: 0 0 6px rgba(57, 255, 122, .45);
}
.banner--agents .brand-mark { color: #ffb000; font-size: .62em; vertical-align: .12em; }
.banner--agents .byline { margin-top: 10px !important; font: 400 1rem "IBM Plex Mono", monospace; letter-spacing: .12em; color: #ffb000; }
.banner--agents .domain { font-size: .9rem; letter-spacing: .12em; color: #8fbf9a; }
.banner--agents .domain a:hover, .banner--agents .wordmark a:hover { text-decoration: underline; text-underline-offset: 4px; }
.banner--agents .invite {
  background: #0c160e; border: 2px solid #5ee7ff; border-radius: 2px; padding: 16px 18px;
  box-shadow: 0 0 22px rgba(94, 231, 255, .12);
}
.banner--agents .invite h3 {
  font: 400 1.75rem/1.1 "VT323", monospace; letter-spacing: .04em; color: #5ee7ff; text-shadow: 0 0 6px rgba(94, 231, 255, .4);
  border-bottom: 1px dashed #1f4d2a; padding-bottom: .25em; margin-bottom: .45em;
}
.banner--agents .invite p { font-size: .88rem; line-height: 1.5; }
.banner--agents .copybox { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; margin: 10px 0; }
.banner--agents .copybox pre {
  flex: 1 1 100%; margin: 0; padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere;
  background: #050805; border: 1px solid #5ee7ff; border-radius: 2px; font: 400 .82rem/1.5 "IBM Plex Mono", monospace; color: #c8f7d2;
}
.banner--agents .btn {
  align-self: flex-start; min-width: 7.5em; cursor: pointer; padding: .6em 1.1em; border-radius: 2px;
  font: 600 1rem "IBM Plex Mono", monospace; letter-spacing: .06em;
  color: #050805; background: #5ee7ff; border: 1px solid #5ee7ff; box-shadow: 0 0 8px rgba(94, 231, 255, .5);
}
.banner--agents .btn:hover, .banner--agents .btn:focus-visible { background: #050805; color: #5ee7ff; }
.banner--agents .small { font-size: .8rem !important; color: #8fbf9a; }
.banner--agents .small a { color: #39ff7a; text-decoration: underline; text-underline-offset: 3px; }

/* Human Resources: its share card, a window on grid paper, with its logo */
.banner--hr {
  padding: 28px 32px 22px; color: #1f1c16; font-family: "IBM Plex Mono", monospace;
  background-color: #d8d1bb;
  background-image: linear-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.banner--hr .window { background: #fffcf3; border: 3px solid #1f1c16; box-shadow: 10px 10px 0 rgba(0, 0, 0, .25); }
.banner--hr .window-body { position: relative; padding: 34px 32px 92px; }
.banner--hr .wordmark { display: flex; align-items: center; gap: .5em; font: 600 clamp(2rem, 4.2vw, 3.2rem)/1.08 "IBM Plex Mono", monospace; letter-spacing: .03em; text-transform: uppercase; }
.banner--hr .logo-mark {
  flex: none; display: inline-grid; place-items: center; width: 2.21em; height: 2.21em;
  background: #4a3010; color: #ffdca3; font-size: .58em; line-height: 1; letter-spacing: 0;
  border: 2px solid #ffd394; box-shadow: 4px 4px 0 #ffd394;
}
.banner--hr .byline { margin-top: 18px !important; color: #5a5446; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.banner--hr .depts { display: flex; gap: 8px; margin-top: 24px; }
.banner--hr .depts i { flex: 1 1 0; height: 14px; }
.banner--hr .depts i:nth-child(1) { background: #2563a8; }
.banner--hr .depts i:nth-child(2) { background: #b3361e; }
.banner--hr .depts i:nth-child(3) { background: #2e7d3a; }
.banner--hr .depts i:nth-child(4) { background: #7a4db3; }
.banner--hr .depts i:nth-child(5) { background: #a06a00; }
.banner--hr .depts i:nth-child(6) { background: #b33a78; }
.banner--hr .domain { margin-top: 18px; font: 400 .95rem "IBM Plex Mono", monospace; letter-spacing: .06em; color: #4a4538; }
.banner--hr .stamp {
  position: absolute; right: 26px; bottom: 26px; padding: 4px 12px;
  border: 3px double #b3261e; color: #b3261e; transform: rotate(-7deg);
  font: 600 1.05rem "IBM Plex Mono", monospace; letter-spacing: .16em; text-transform: uppercase;
}

/* Footer */
.footer { max-width: 1100px; margin: 0 auto; padding: 36px 16px 32px; text-align: center; color: var(--dim); font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-bottom: 14px; font-family: var(--mono); font-size: 13px; }
.footer nav a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); }
.footer nav a:hover { border-color: var(--fg); }
.footer p { margin: 0; }

@keyframes pulse { 50% { opacity: .35; } }

@media (max-width: 760px) {
  .channels { grid-template-columns: minmax(0, 1fr); }
  .masthead { padding: 32px 16px 24px; }
  .banner { padding: 24px 20px; }
  .banner--news { padding: 28px 20px 22px; }
  .banner--tv .wordmark { white-space: normal; }
  .banner--agents .invite { padding: 14px; }
  .banner--hr { padding: 20px 20px 18px; }
  .banner--hr .window { box-shadow: 8px 8px 0 rgba(0, 0, 0, .25); }
  .banner--hr .window-body { padding: 20px 18px 22px; }
  .banner--hr .depts { gap: 6px; }
  .banner--hr .depts i { height: 10px; }
  .banner--hr .stamp { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
