:root {
  --ink: #07090e;
  --navy: #11192c;
  --cream: #f6e8b7;
  --paper: #fff6d7;
  --red: #d52d2a;
  --orange: #ff7a2f;
  --blue: #18b9de;
  --yellow: #ffd12f;
  --green: #55d57b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #080a10;
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: .8rem 1rem;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
}

.skip-link:focus { top: 1rem; }

.broadcast-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem clamp(1rem, 4vw, 4rem);
  color: white;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.station-exit {
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.station-exit:hover,
.station-exit:focus-visible { border-color: var(--yellow); }

.on-air {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.on-air span {
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: #ff3030;
  box-shadow: 0 0 0 .28rem rgba(255,48,48,.2);
  animation: blink 1.2s steps(2) infinite;
}

.living-room {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: white;
}

.room-image,
.room-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.room-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.03);
}

.room-shade {
  background:
    linear-gradient(90deg, rgba(4,5,10,.9) 0%, rgba(4,5,10,.48) 42%, transparent 72%),
    linear-gradient(0deg, rgba(4,5,10,.62), transparent 48%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(800px, 92%);
  padding: clamp(7rem, 13vw, 10rem) clamp(1.2rem, 7vw, 7rem) clamp(5rem, 9vw, 7rem);
}

.kicker,
.corporate-label {
  margin: 0 0 .75rem;
  color: var(--yellow);
  font: 900 .78rem/1.2 "Courier New", monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(4.2rem, 12vw, 9rem);
  line-height: .75;
  letter-spacing: -.085em;
  text-transform: uppercase;
  text-shadow: .08em .08em 0 var(--red), .14em .14em 0 var(--blue);
  transform: rotate(-2deg);
}

.hero-copy h1 span {
  display: block;
  color: white;
  font-size: .46em;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-shadow: .1em .1em 0 var(--blue);
}

.hero-copy > p:not(.kicker) {
  max-width: 580px;
  margin: 2rem 0;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  line-height: 1.45;
  font-weight: 700;
}

.tune-button {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 3.6rem;
  padding: 0 1.5rem;
  border: 4px solid white;
  color: white;
  background: var(--red);
  box-shadow: .45rem .45rem 0 var(--blue);
  cursor: pointer;
  font: 950 1rem/1 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease;
}

.tune-button:hover,
.tune-button:focus-visible {
  transform: translate(.2rem, .2rem);
  box-shadow: .25rem .25rem 0 var(--blue);
}

.button-light {
  width: .85rem;
  height: .85rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 .8rem var(--yellow);
}

.room-caption {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 1.5rem;
  margin: 0;
  color: rgba(255,255,255,.72);
  font: 700 .65rem/1.2 "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.signal-break {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 7vw, 7rem);
  color: white;
  background: #040306;
}

.static-layer {
  position: absolute;
  inset: 0;
  opacity: .32;
  background: #08080a url("assets/tv-static.gif") center / cover repeat;
  mix-blend-mode: screen;
}

.orientation-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(160px, .55fr) minmax(300px, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  width: min(1120px, 100%);
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 6px solid var(--cream);
  background: rgba(7,9,14,.9);
  box-shadow: 1rem 1rem 0 var(--red);
}

.orientation-card img {
  width: min(100%, 330px);
  justify-self: center;
  filter: drop-shadow(0 0 1.5rem rgba(24,185,222,.45));
}

.orientation-card h2,
.assignment h2,
.debt-section h2,
.executive-overlay h2,
.launch-copy h2 {
  margin: 0;
  font-size: clamp(2.7rem, 6.5vw, 6rem);
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.orientation-card h2 {
  font-size: clamp(2rem, 4.4vw, 4.35rem);
  overflow-wrap: anywhere;
}

.orientation-card p:last-child {
  max-width: 620px;
  font-size: 1.2rem;
  line-height: 1.55;
}

.assignment {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 100% 0, rgba(24,185,222,.2), transparent 28rem),
    var(--cream);
}

.assignment-copy {
  display: grid;
  grid-template-columns: minmax(180px, .4fr) minmax(300px, 1fr) minmax(260px, .65fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.assignment-copy .corporate-label { color: var(--red); }

.assignment-copy > p:last-child {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

.assignment-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.assignment-board article {
  position: relative;
  min-height: 280px;
  padding: 1.8rem;
  border: 5px solid var(--ink);
  box-shadow: .6rem .6rem 0 var(--ink);
  background: var(--paper);
}

.assignment-board article:nth-child(2) { background: var(--blue); }
.assignment-board article:nth-child(3) { background: var(--yellow); }

.assignment-board span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: white;
  background: var(--red);
  border-radius: 50%;
  font: 900 .85rem/1 "Courier New", monospace;
}

.assignment-board h3 {
  margin: 2.2rem 0 .7rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: .9;
  text-transform: uppercase;
}

.assignment-board p {
  margin: 0;
  line-height: 1.5;
  font-weight: 700;
}

.debt-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(300px, .85fr);
  min-height: 720px;
  color: white;
  background: var(--navy);
}

.debt-visual {
  position: relative;
  min-height: 620px;
}

.debt-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.debt-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--navy));
}

.debt-meter {
  position: absolute;
  z-index: 2;
  left: 6%;
  right: 6%;
  bottom: 7%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .7rem;
  align-items: center;
  padding: 1rem;
  border: 4px solid white;
  color: white;
  background: rgba(7,9,14,.9);
}

.debt-fill {
  position: absolute;
  left: 6.5rem;
  right: 3.1rem;
  bottom: 1.2rem;
  height: .55rem;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
}

.debt-meter strong {
  grid-column: 1 / -1;
  text-transform: uppercase;
}

.debt-copy {
  align-self: center;
  padding: clamp(4rem, 8vw, 7rem);
}

.debt-copy p {
  font-size: 1.15rem;
  line-height: 1.6;
}

.debt-copy blockquote {
  margin: 2rem 0;
  padding: 1.2rem 0 1.2rem 1.5rem;
  border-left: 7px solid var(--yellow);
  color: var(--yellow);
  font-size: 1.45rem;
  font-weight: 900;
}

.debt-copy .fine-print {
  color: #aeb6c9;
  font: .75rem/1.5 "Courier New", monospace;
  text-transform: uppercase;
}

.executive-section {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: white;
  background: #07070c;
}

.executive-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.executive-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4,4,8,.96), transparent 70%);
}

.executive-overlay {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: clamp(3rem, 7vw, 6rem);
}

.executive-overlay p:last-child {
  font-size: 1.3rem;
  font-weight: 700;
}

.launch-section {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 5rem 1.2rem;
  text-align: center;
}

.launch-burst {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.launch-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3,12,22,.1);
}

.launch-copy {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
  padding: clamp(2rem, 6vw, 5rem);
  border: 7px solid var(--ink);
  background: rgba(255,246,215,.94);
  box-shadow: 1rem 1rem 0 var(--red);
}

.launch-copy .corporate-label { color: var(--red); }

.launch-copy > p:not(.corporate-label, .controls-note) {
  max-width: 650px;
  margin: 1.5rem auto 2rem;
  font-size: 1.15rem;
  line-height: 1.5;
}

.launch-button {
  display: inline-flex;
  flex-direction: column;
  min-width: min(100%, 380px);
  padding: 1.2rem 1.5rem;
  border: 5px solid var(--ink);
  color: white;
  background: var(--red);
  box-shadow: .55rem .55rem 0 var(--blue);
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease;
}

.launch-button:hover,
.launch-button:focus-visible {
  transform: translate(.25rem, .25rem);
  box-shadow: .3rem .3rem 0 var(--blue);
}

.launch-button span {
  font-size: 1.25rem;
  font-weight: 950;
}

.launch-button small {
  margin-top: .35rem;
  font: .68rem/1.2 "Courier New", monospace;
  letter-spacing: .08em;
}

.controls-note {
  margin: 1.8rem 0 0;
  font: .72rem/1.5 "Courier New", monospace;
  text-transform: uppercase;
}

.broadcast-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1.2rem, 5vw, 5rem);
  color: white;
  background: var(--ink);
  font-size: .82rem;
}

.broadcast-footer p { margin: 0; }

.broadcast-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.broadcast-footer a { font-weight: 900; }

.is-tuned .living-room::after {
  content: "";
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
  background: white;
  animation: tuneFlash .7s ease both;
}

@keyframes blink { 50% { opacity: .3; } }

@keyframes tuneFlash {
  0% { opacity: 0; }
  35% { opacity: .85; }
  100% { opacity: 0; visibility: hidden; }
}

@media (max-width: 900px) {
  .orientation-card,
  .assignment-copy,
  .debt-section {
    grid-template-columns: 1fr;
  }

  .orientation-card img { width: 180px; }
  .assignment-board { grid-template-columns: 1fr; }
  .assignment-board article { min-height: 220px; }
  .debt-visual { min-height: 480px; }
  .debt-visual::after { background: linear-gradient(0deg, var(--navy), transparent 55%); }
  .debt-copy { padding-top: 1rem; }
}

@media (max-width: 620px) {
  .broadcast-header { align-items: flex-start; }
  .on-air { max-width: 9rem; text-align: right; }
  .hero-copy h1 { font-size: clamp(3.7rem, 21vw, 6rem); }
  .room-image { object-position: 63% center; }
  .room-caption { display: none; }
  .orientation-card { padding: 1.5rem; box-shadow: .55rem .55rem 0 var(--red); }
  .debt-copy { padding: 2.5rem 1.2rem 4rem; }
  .executive-section > img { object-position: 58% center; }
  .launch-copy { box-shadow: .55rem .55rem 0 var(--red); }
  .broadcast-footer { flex-direction: column; }
}

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