/* watchgctv.com. One look, dark like the studio: navy ground, gold for anything that matters, the red globe.
   Display type is Barlow Condensed (the web stand-in for the channel's DIN Condensed), body is Barlow. */
:root {
  /* night (the studio) is the default; day is below; "auto" follows the device */
  --bg: #070c22; --bg-2: #0b1638; --panel: #101c4a; --line: #223068;
  --fg: #eef1fa; --muted: #a9b3d1; --gold: #f2b705; --gold-text: #f2b705; --on-gold: #0b1638; --red: #d21f3c;
  --bar: rgba(7, 12, 34, 0.88); --glow: #15245f; --shadow: rgba(0, 0, 0, 0.5);
  --display: "Barlow Condensed", "DIN Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f4f9; --bg-2: #ffffff; --panel: #ffffff; --line: #d6dbea;
  --fg: #0b1638; --muted: #4d5778; --gold: #f2b705; --gold-text: #8a6500; --on-gold: #0b1638; --red: #c21a35;
  --bar: rgba(243, 244, 249, 0.9); --glow: #dfe5fa; --shadow: rgba(11, 22, 56, 0.18);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) {
    --bg: #f3f4f9; --bg-2: #ffffff; --panel: #ffffff; --line: #d6dbea;
    --fg: #0b1638; --muted: #4d5778; --gold: #f2b705; --gold-text: #8a6500; --on-gold: #0b1638; --red: #c21a35;
    --bar: rgba(243, 244, 249, 0.9); --glow: #dfe5fa; --shadow: rgba(11, 22, 56, 0.18);
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold-text); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.5vw, 46px); }
h3 { font-size: 26px; }
p { margin: 0; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 15px; color: var(--gold-text); }

/* top bar: the channel bug */
.bar { position: sticky; top: 0; z-index: 10; background: var(--bar); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.mark { display: flex; align-items: center; gap: 10px; color: var(--fg); font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: 0.02em; }
.mark:hover { text-decoration: none; }
.mark svg { width: 34px; height: 34px; }
.bar nav { display: flex; gap: 22px; font-family: var(--display); font-weight: 600; font-size: 19px; text-transform: uppercase; letter-spacing: 0.06em; }
.bar nav a { color: var(--muted); }
.bar nav a:hover { color: var(--fg); text-decoration: none; }
@media (max-width: 640px) { .bar nav { display: none; } }

/* hero */
.hero { padding-block: clamp(28px, 5vw, 56px) clamp(32px, 6vw, 72px); border-bottom: 1px solid var(--line); background: radial-gradient(1200px 500px at 20% -10%, var(--glow) 0%, transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(44px, 7vw, 84px); }
.hero h1 span { color: var(--gold-text); }
.lede { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 32em; margin-top: 18px; }
.screen { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 80px var(--shadow); }
.screen img, .screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.onair { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(8, 14, 40, 0.75); border-radius: 8px; padding: 6px 12px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; }
.onair .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.onair.live .dot { animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .onair.live .dot { animation: none; } }

/* the premiere clock and the buttons */
.when { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; }
.when .date { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; background: var(--gold); color: var(--on-gold); padding: 4px 14px; border-radius: 8px; }
.clock { display: flex; gap: 18px; font-family: var(--display); font-variant-numeric: tabular-nums; }
.clock div { text-align: center; }
.clock b { display: block; font-size: 44px; line-height: 1; font-weight: 700; }
.clock small { display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: 0.04em; padding: 12px 20px; border-radius: 10px; border: 2px solid var(--gold); color: var(--fg); background: var(--bg-2); }
.btn:hover { text-decoration: none; background: rgba(242, 183, 5, 0.12); }
.btn.primary { background: var(--gold); color: var(--on-gold); }
.btn.primary:hover { background: #ffc81f; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }

/* sections */
section { padding-block: clamp(40px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(22px, 3vw, 36px); max-width: 60ch; }
.head p { color: var(--muted); font-size: 18px; }
.shows { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.group.beyond .shows { max-width: 760px; }
.show { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.show .pic { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; max-width: 100%; }
.show .pic img { width: 100%; height: 100%; object-fit: cover; }
.show .slot { font-family: var(--display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px; color: var(--gold-text); }
.show p { color: var(--muted); font-size: 16px; }

.cast { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.person { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.person .pic { aspect-ratio: 16 / 10; overflow: hidden; }
.person .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.person .txt { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.person .role { font-family: var(--display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; color: var(--gold-text); }
.person p { color: var(--muted); font-size: 15.5px; }

.made { background: var(--bg-2); }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.rule { border-top: 3px solid var(--gold); padding-top: 14px; min-width: 0; }
.rule h3 { font-size: 24px; margin-bottom: 8px; }
.rule p { color: var(--muted); font-size: 16px; }
.plain { margin-top: 32px; max-width: 70ch; color: var(--muted); display: flex; flex-direction: column; gap: 12px; }
.plain strong { color: var(--fg); }

footer { padding-block: 36px 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-direction: column; gap: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer .disclosure { color: var(--fg); font-weight: 500; }

/* legal pages */
.doc { padding-block: 40px 72px; max-width: 72ch; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin-bottom: 28px; }
.doc h2 { font-size: 26px; margin-top: 32px; margin-bottom: 8px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 1.2em; margin: 8px 0; }

/* the day / night / auto switch */
.bar .right { display: flex; align-items: center; gap: 22px; }
.theme { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; background: var(--bg-2); }
.theme button { font: 600 13px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.theme button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.theme button:hover { color: var(--fg); }
.theme button[aria-pressed="true"]:hover { color: var(--on-gold); }

/* two groups of programmes */
.group { margin-top: 36px; }
.group h3.group-title { font-size: 20px; letter-spacing: 0.1em; color: var(--gold-text); margin-bottom: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.group:first-of-type { margin-top: 0; }

/* questions people ask (and search engines read) */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px 40px; }
.faq div { min-width: 0; }
.faq h3 { font-size: 23px; margin-bottom: 6px; }
.faq p { color: var(--muted); font-size: 16px; }
