/* gta6vc.us — Vice City Broadcast
 * One stylesheet, no framework. Phone first; the desktop rules are the
 * exceptions at the bottom. Motion lives in its own block and is switched
 * off wholesale under prefers-reduced-motion.
 */

:root {
  --navy:   #0a0e1f;   /* page base — a real navy, not a tinted black, so the sunset colours sit on it */
  --navy-2: #121833;   /* raised surfaces */
  --navy-3: #1b2347;   /* borders and tabs */
  --line:   #2a3360;
  --cream:  #f6f2ec;   /* body text, ~17:1 on navy */
  --mute:   #b9b6c9;   /* secondary text, still ~9:1 */
  --pink:   #ff4d8d;
  --orange: #ff8a3d;
  --teal:   #2ee6d6;
  --sun:    linear-gradient(90deg, #ff8a3d, #ff4d8d);
  /* verdict colours: each is paired with a glyph + word in the markup, never used alone */
  --ok:  #2ee6d6;
  --rep: #ffb547;
  --rum: #c98bff;
  --bad: #ff5c6c;
  --live: #ff3b3b;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text:    Barlow, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --bar-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 8px); }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font: 400 16px/1.5 var(--text);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4.6vw, 40px); }
h3 { font-size: 22px; font-weight: 600; letter-spacing: 0; line-height: 1.1; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec  { padding-block: 36px; }
.sprite { display: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--teal); color: var(--navy); padding: 8px 12px; font-weight: 600; }
.skip:focus { left: 8px; }

/* separator between inline meta pieces: a hairline, not a middle dot */
.sep { display: inline-block; width: 1px; height: .9em; background: currentColor; opacity: .45; margin: 0 10px; vertical-align: -.1em; }

/* ---- Top bar + channel bug ---------------------------------------------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  height: var(--bar-h);
  background: rgba(10, 14, 31, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-3);
}
.bar__in { display: flex; align-items: center; gap: 16px; height: 100%; }
.bug { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; flex: none; }
.bug__live {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 12px/1 var(--text); text-transform: uppercase; letter-spacing: .08em;
  color: var(--cream); padding: 5px 8px; border: 1px solid var(--line); border-radius: 2px;
}
.bug__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }
.bug__name { font: 800 22px/1 var(--display); letter-spacing: .02em; }
.bug__net  { display: none; font: 600 13px/1 var(--text); color: var(--mute); }
.bar__nav {
  display: flex; gap: 4px; margin-left: auto;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}
.bar__nav::-webkit-scrollbar { display: none; }
.bar__nav a {
  flex: none; padding: 8px 10px; border-radius: 2px;
  font: 600 14px/1 var(--text); color: var(--mute); text-decoration: none;
}
.bar__nav a:hover, .bar__nav a:focus-visible { color: var(--cream); background: var(--navy-2); }

/* ---- Hero: the live feed ------------------------------------------------ */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92svh, 860px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--navy-2);
}
.hero__art {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
  transform-origin: 50% 40%;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,14,31,.6) 0%, rgba(10,14,31,0) 26%),
    linear-gradient(180deg, rgba(10,14,31,0) 24%, rgba(10,14,31,.74) 50%, var(--navy) 100%);
}
.hero__body { padding-block: 44px 36px; display: grid; gap: 14px; }
.onair { display: flex; align-items: center; width: max-content; max-width: 100%; padding: 6px 10px; border-radius: 2px; background: rgba(10,14,31,.66); font: 600 13px/1 var(--text); color: var(--cream); text-transform: uppercase; letter-spacing: .08em; }
.onair__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); margin-right: 8px; }
.hero h1 {
  font-size: clamp(34px, 8.4vw, 76px);
  max-width: 14ch;
  text-shadow: 0 2px 18px rgba(10,14,31,.8);
}

/* the on-air clock: four fixed-width cells so ticking digits never reflow */
.clock { display: flex; gap: 6px; margin-block: 4px 6px; }
.clock__cell {
  display: grid; justify-items: center; gap: 2px;
  min-width: 4.2ch; padding: 8px 6px 10px;
  background: rgba(10,14,31,.62); border: 1px solid var(--line); border-radius: 2px;
  backdrop-filter: blur(4px);
}
.clock__cell:first-child { min-width: 5ch; }
.clock__n { font: 800 clamp(44px, 12vw, 108px)/.9 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: #fff; }
.clock__l { font: 600 12px/1 var(--text); color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }

/* lower-third: the broadcast caption bar. Tab carries the topic, body carries the fact. */
.lt { display: grid; grid-template-columns: auto 1fr; max-width: 720px; border-radius: 2px; overflow: hidden; }
.lt__tab { display: grid; place-items: center; padding: 8px 12px; background: var(--sun); color: var(--navy); font: 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.lt__text { padding: 10px 14px; background: rgba(10,14,31,.78); font-weight: 600; line-height: 1.4; border: 1px solid var(--line); border-left: 0; }
.lt__text span { color: var(--teal); font-variant-numeric: tabular-nums; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 2px; border: 1px solid var(--cream);
  background: rgba(10,14,31,.7); color: var(--cream); text-decoration: none;
  font: 600 16px/1 var(--text); cursor: pointer;
}
.btn:hover { background: var(--cream); color: var(--navy); }
.btn--sun { background: var(--sun); color: var(--navy); border-color: transparent; }
.btn--sun:hover { filter: brightness(1.08); color: var(--navy); background: var(--sun); }
.btn--line { background: transparent; border-color: var(--line); }
.btn--line:hover { border-color: var(--cream); }
.btn__ico { width: 14px; height: 14px; fill: currentColor; }

/* ---- Stamps: glyph + word, colour on top ------------------------------- */
.stamp {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 7px 3px 5px; border: 1.5px solid currentColor; border-radius: 2px;
  font: 800 12px/1 var(--display); text-transform: uppercase; letter-spacing: .08em;
  white-space: nowrap; vertical-align: middle;
}
.stamp svg { width: 12px; height: 12px; }
.stamp--confirmed { color: var(--ok); }
.stamp--reported  { color: var(--rep); }
.stamp--rumor     { color: var(--rum); }
.stamp--debunked  { color: var(--bad); }
.stamp--big { font-size: 18px; padding: 6px 12px 6px 9px; border-width: 2.5px; gap: 8px; background: rgba(10,14,31,.6); }
.stamp--big svg { width: 18px; height: 18px; }
.stamp-in { display: inline-block; justify-self: start; }

/* ---- Ticker ------------------------------------------------------------- */
.ticker {
  display: flex; align-items: stretch; height: 46px;
  background: var(--navy-2); border-block: 1px solid var(--navy-3);
}
.ticker__lead {
  flex: none; display: grid; place-items: center; padding-inline: 14px;
  background: var(--cream); color: var(--navy);
  font: 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: .08em;
}
.ticker__win { flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__list { display: flex; }
.ticker__list li { flex: none; }
.ticker__list a {
  display: inline-flex; align-items: center; gap: 10px;
  padding-inline: 14px 22px; height: 44px;
  font: 600 15px/1 var(--text); color: var(--cream); text-decoration: none; white-space: nowrap;
}
.ticker__list a:hover, .ticker__list a:focus-visible { color: var(--teal); }
.ticker__list a::after { content: ""; display: inline-block; width: 1px; height: 18px; background: var(--line); margin-left: 8px; }
.ticker__date { color: var(--mute); font-variant-numeric: tabular-nums; }

/* ---- Section slate ------------------------------------------------------ */
.slate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-bottom: 20px; }
.ch-no {
  display: inline-block; padding: 4px 8px; border: 1.5px solid var(--cream); border-radius: 2px;
  font: 800 13px/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--cream);
}
.ch-no--on { background: var(--cream); color: var(--navy); }
.slate__link { margin-left: auto; font-weight: 600; color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---- Rundown: six dated facts as caption rows -------------------------- */
.facts { display: grid; gap: 10px; counter-reset: none; }
.fact { display: grid; grid-template-columns: 64px 1fr; background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 2px; }
.fact__date {
  display: grid; align-content: center; justify-items: center; gap: 2px;
  background: var(--navy-3); border-right: 2px solid var(--orange);
}
.fact__date b { font: 800 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.fact__date span { font: 600 12px/1 var(--text); color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }
.fact__body { padding: 16px 16px 18px; display: grid; gap: 6px; justify-items: start; }
.fact__body p { color: var(--mute); max-width: 58ch; }
.fact__body a { color: var(--teal); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---- Channels ----------------------------------------------------------- */
.ch { display: grid; background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 2px; overflow: hidden; }
.ch__ident { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--navy-3); }
.ch__ident img { width: 100%; height: 100%; object-fit: cover; }
.ch__ident .ch-no { position: absolute; left: 12px; bottom: 12px; background: rgba(10,14,31,.75); backdrop-filter: blur(4px); }
.ch__ident .ch-no--on { background: var(--cream); color: var(--navy); }
.ch__body { padding: 18px 18px 20px; display: grid; gap: 12px; align-content: start; }
.ch__title { font-size: clamp(26px, 4vw, 34px); }
.ch__lede { color: var(--mute); max-width: 60ch; }
.ch__more { margin-top: auto; justify-self: start; font-weight: 600; color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }

.verdicts { display: grid; gap: 10px; }
.verdicts li { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: start; line-height: 1.35; }
.verdicts .stamp { margin-top: 2px; }
.verdicts__text { font-weight: 600; }
.verdicts__date { grid-column: 2; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.verdicts--tight { gap: 8px; }
.verdicts--tight li { font-size: 15px; }

.tally { display: flex; flex-wrap: wrap; gap: 8px 14px; padding-block: 2px; }
.tally li { display: inline-flex; align-items: center; gap: 6px; }
.tally b { font: 800 20px/1 var(--display); font-variant-numeric: tabular-nums; }

.price { margin: 0; display: grid; gap: 6px; }
.price div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--navy-3); }
.price dt { color: var(--mute); }
.price dd { margin: 0; font-weight: 600; text-align: right; }

.chgrid { display: grid; gap: 16px; }

/* reference-page idents: image, caption, nothing else */
.idents { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.ident { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 2px; overflow: hidden; text-decoration: none; background: var(--navy-3); border: 1px solid var(--navy-3); }
.ident img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ident__cap {
  position: absolute; inset: auto 0 0 0; padding: 36px 12px 12px;
  display: grid; gap: 4px; justify-items: start;
  background: linear-gradient(180deg, rgba(10,14,31,0), rgba(10,14,31,.92) 55%);
}
.ident__cap b { font: 800 22px/1 var(--display); }
.ident__cap small { font-size: 13px; color: var(--mute); }
.ident .ch-no { font-size: 11px; padding: 3px 6px; }
.ident:hover img, .ident:focus-visible img { filter: brightness(1.12); }

/* ---- Fan list ----------------------------------------------------------- */
.join { display: grid; gap: 22px; padding: 24px 18px; background: var(--navy-2); border: 1px solid var(--navy-3); border-top: 3px solid var(--pink); border-radius: 2px; }
.join__copy { display: grid; gap: 10px; justify-items: start; }
.join__copy p { color: var(--mute); max-width: 44ch; }
.join__form form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field label small { color: var(--mute); font-weight: 400; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 2px;
  background: var(--navy); border: 1px solid var(--line); color: var(--cream);
  font: 400 16px/1.2 var(--text);
}
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,230,214,.25); }
.join__form .btn { justify-self: start; }
.form-msg { padding: 12px 14px; border-radius: 2px; font-weight: 600; margin-bottom: 14px; border: 1px solid; }
.form-msg--ok  { color: var(--ok);  border-color: var(--ok);  background: rgba(46,230,214,.08); }
.form-msg--err { color: var(--bad); border-color: var(--bad); background: rgba(255,92,108,.08); }

/* ---- Footer ------------------------------------------------------------- */
.foot { margin-top: 24px; padding-block: 32px 56px; border-top: 1px solid var(--navy-3); color: var(--mute); font-size: 14px; }
.foot__in { display: grid; gap: 14px; }
.foot__disc { max-width: 78ch; }
.foot__disc strong { color: var(--cream); }
.foot__credit a { color: var(--cream); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__nav a { color: var(--cream); font-weight: 600; text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; }

/* ---- Motion: ticker, slow push on the hero, one stamp-in on load ------- */
@keyframes tk      { to { transform: translateX(-50%); } }
@keyframes push    { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes stampIn { from { transform: scale(2.2) rotate(-6deg); opacity: 0; } 60% { transform: scale(.96) rotate(-1deg); opacity: 1; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes blink   { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: tk 70s linear infinite; }
  .ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
  .hero__art { animation: push 36s ease-out forwards; }
  .stamp-in { animation: stampIn .55s cubic-bezier(.2, 1.2, .3, 1) .25s both; }
  .bug__live i, .onair__dot { animation: blink 1.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  /* no loop: show one copy and let the reader scroll it by hand */
  .ticker__win { overflow-x: auto; }
  .ticker__list[aria-hidden] { display: none; }
}

/* ---- Wider screens ------------------------------------------------------ */
@media (min-width: 560px) {
  .bug__net { display: inline; }
  .clock { gap: 10px; }
  .clock__cell { padding: 10px 14px 12px; }
}
@media (min-width: 760px) {
  :root { --gutter: 24px; }
  .sec { padding-block: 44px; }
  .hero__body { padding-block: 72px 56px; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fact { grid-template-columns: 76px 1fr; }
  .chgrid { grid-template-columns: repeat(2, 1fr); }
  .ch:not(.ch--wide) .ch__ident { aspect-ratio: 21 / 9; }
  .idents { grid-template-columns: repeat(4, 1fr); }
  .join { grid-template-columns: 1fr 1.2fr; padding: 32px; align-items: start; }
}
@media (min-width: 900px) {
  .ch--wide { grid-template-columns: 5fr 6fr; }
  .ch--wide .ch__ident { aspect-ratio: auto; min-height: 100%; }
  .ch--wide .ch__body { padding: 28px 30px; }
}
@media (min-width: 1100px) {
  .hero { min-height: min(88vh, 900px); }
  .hero__art { object-position: 50% 35%; }
  .hero__body { padding-block: 56px 44px; gap: 12px; }
  .hero h1 { font-size: 68px; max-width: 16ch; }
  .clock__n { font-size: 96px; }
}
