/* mySDAtv · A "Broadcast" · reset, typography, layout utilities */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sky); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: var(--lh-snug); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--track-tight); }
h2 { font-size: var(--fs-3xl); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote, figure { margin: 0; }
address { font-style: normal; }
input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 800; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; box-shadow: var(--ring); border-radius: var(--r-sm); }
::selection { background: var(--gold); color: var(--on-gold); }

.skip-link {
  position: absolute; left: var(--s-4); top: -120px; z-index: 1000;
  padding: var(--s-3) var(--s-5); background: var(--gold); color: var(--on-gold); font-weight: 800;
  border-radius: var(--r-pill); text-decoration: none;
}
.skip-link:focus { top: var(--s-4); color: var(--on-gold); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* layout */
main { display: block; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 960px; }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: var(--s-7); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-6); }
.section-head > :first-child { flex: 1 1 420px; min-width: 0; }
.section-head h2 { margin-top: var(--s-3); }
.lede { font-size: var(--fs-lg); color: var(--muted); max-width: var(--measure); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.measure { max-width: var(--measure); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--azure), var(--sky)); }
.eyebrow--live::before { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-glow); animation: live-pulse 1.8s ease-in-out infinite; }
.eyebrow--plain::before { display: none; }
.grad-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stack > * + * { margin-top: var(--s-4); }
.stack--lg > * + * { margin-top: var(--s-5); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.grid { display: grid; gap: var(--s-4); }
.grid > *, .cluster > *, .stack > * { min-width: 0; }
.tabular { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--red-glow); }
  50% { box-shadow: 0 0 0 7px rgba(237, 28, 36, 0); }
}

[hidden] { display: none !important; }

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