/* Broadcast Workshop — self-contained visual system */
:root {
  --ink: #080808;
  --paper: #f3f0e6;
  --yellow: #f5ed00;
  --blue: #183be8;
  --line: 2px;
  --pad: clamp(1rem, 3vw, 3rem);
  --display: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { text-decoration-style: double; }
a:focus-visible, button:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed; z-index: 100; top: .75rem; left: .75rem;
  padding: .65rem 1rem; background: var(--yellow); color: var(--ink);
  font-weight: 900; transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.station-header {
  height: 4rem; padding: 0 var(--pad); display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--paper); background: var(--ink); border-bottom: var(--line) solid var(--paper);
  font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.station-mark { display: flex; gap: .65rem; align-items: center; text-decoration: none; }
.station-dot { width: .75rem; height: .75rem; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 .2rem rgba(245,237,0,.2); }
.station-time { margin: 0; }
.header-contact { justify-self: end; }

.chapter-control {
  position: sticky; z-index: 20; top: 0; min-height: 3.2rem;
  display: flex; align-items: stretch; background: var(--blue); color: white;
  border-bottom: var(--line) solid var(--ink); overflow-x: auto; scrollbar-width: thin;
}
.chapter-control > * { flex: 0 0 auto; }
.chapter-control a, .chapter-label, .motion-toggle {
  display: flex; align-items: center; gap: .45rem; min-height: 3.2rem; padding: .6rem 1rem;
  border: 0; border-right: 1px solid rgba(255,255,255,.45); background: transparent;
  color: inherit; font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase;
}
.chapter-control a { text-decoration: none; }
.chapter-control a:hover { color: var(--ink); background: var(--yellow); }
.chapter-label { color: var(--yellow); }
.motion-toggle { margin-left: auto; cursor: pointer; }
.motion-toggle:hover { color: var(--ink); background: var(--paper); }

.frame { position: relative; }
.hero {
  min-height: calc(100svh - 7.2rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
  align-items: stretch; background: var(--blue); color: white; border-bottom: var(--line) solid var(--ink); isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  opacity: .1; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 10% 20%, transparent 0, transparent 2px, white 3px, transparent 4px);
  background-size: 9px 9px;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem) var(--pad); }
.kicker, .eyebrow { margin: 0 0 1rem; font-size: .7rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.kicker span { display: inline-block; margin-right: .7rem; padding: .3rem .55rem; color: var(--ink); background: var(--yellow); }
h1 { max-width: 10ch; margin: 0; font-size: clamp(4rem, 10vw, 9rem); line-height: .78; letter-spacing: -.075em; text-transform: uppercase; }
.hero-role { max-width: 25ch; margin: 2rem 0; font-size: clamp(1.3rem, 2.5vw, 2.2rem); font-weight: 800; line-height: 1.05; }
.summary { max-width: 42rem; padding-left: 1.2rem; border-left: .5rem solid var(--yellow); }
.summary p { margin: 0 0 .8rem; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.5rem; }
.button { display: inline-block; padding: .8rem 1rem; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.button-yellow { color: var(--ink); background: var(--yellow); border: 2px solid var(--yellow); }
.button-yellow:hover { color: var(--paper); background: var(--ink); }
.text-link { font-weight: 800; }
.portrait-block { min-width: 0; margin: 0; display: flex; flex-direction: column; border-left: var(--line) solid var(--ink); background: var(--yellow); color: var(--ink); }
.portrait-window { position: relative; flex: 1; min-height: 34rem; margin: var(--pad); overflow: hidden; background: var(--ink); }
.portrait-window img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.15); mix-blend-mode: luminosity; }
.focus-mark { position: absolute; width: 4rem; height: 4rem; border-color: var(--yellow); border-style: solid; }
.focus-one { top: 1rem; left: 1rem; border-width: 2px 0 0 2px; }
.focus-two { right: 1rem; bottom: 1rem; border-width: 0 2px 2px 0; }
.portrait-block figcaption { display: flex; justify-content: space-between; padding: 0 var(--pad) 1rem; font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.countdown { position: absolute; right: calc(40% - 2.5rem); top: 1.5rem; width: 5rem; height: 5rem; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; font-size: 2rem; font-weight: 900; }
.frame-corner { position: absolute; z-index: 2; width: 1rem; height: 1rem; border-color: white; border-style: solid; pointer-events: none; }
.corner-tl { top: 1rem; left: 1rem; border-width: 2px 0 0 2px; }.corner-tr { top: 1rem; right: 1rem; border-width: 2px 2px 0 0; }.corner-bl { bottom: 1rem; left: 1rem; border-width: 0 0 2px 2px; }.corner-br { right: 1rem; bottom: 1rem; border-width: 0 2px 2px 0; }

.section-title { min-height: 15rem; padding: var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; background: var(--yellow); border-bottom: var(--line) solid var(--ink); overflow: hidden; }
.section-title h2 { margin: 0; font-size: clamp(3.5rem, 9vw, 8rem); line-height: .75; letter-spacing: -.065em; text-transform: uppercase; }
.section-count { margin: 0; padding: .4rem .7rem; border: 2px solid; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.broadcast { display: grid; grid-template-columns: minmax(18rem, 38%) 1fr; border-bottom: var(--line) solid var(--ink); }
.broadcast:nth-child(even) .broadcast-heading { background: var(--paper); color: var(--ink); }
.broadcast:nth-child(even) .broadcast-body { background: var(--blue); color: white; }
.broadcast-heading { min-height: 24rem; padding: var(--pad); display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-content: space-between; background: var(--ink); color: var(--paper); }
.broadcast-number { font-size: clamp(3rem, 8vw, 7rem); font-weight: 900; line-height: .75; color: var(--yellow); font-variant-numeric: tabular-nums; }
.broadcast-title { align-self: end; grid-column: 1 / -1; }
.broadcast-meta { font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.broadcast-title h3 { margin: .8rem 0; font-size: clamp(2rem, 4.5vw, 4.5rem); line-height: .9; letter-spacing: -.045em; }
.broadcast-title a, .company { font-weight: 900; font-size: 1.15rem; }
.broadcast-body { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; background: white; }
.storyboard { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); list-style: none; }
.storyboard li { position: relative; min-height: 13rem; padding: 2.6rem 1.4rem 1.4rem; border-right: 1px solid; border-bottom: 1px solid; }
.storyboard p { margin: 0; max-width: 37rem; font-size: clamp(1rem, 1.4vw, 1.25rem); }
.shot-number { position: absolute; top: .7rem; font-size: .6rem; font-weight: 900; letter-spacing: .12em; }
.tech-strip { margin: 0; padding: 1rem; display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.tech-strip li { padding: .3rem .55rem; color: var(--paper); background: var(--ink); border: 1px solid currentColor; font-size: .65rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.broadcast:nth-child(even) .tech-strip li { color: var(--ink); background: var(--yellow); }

.toolkit { color: var(--paper); background: var(--ink); }
.section-title-dark { color: var(--paper); background: var(--ink); border-color: var(--paper); }
.signal-bars { height: 5rem; display: flex; align-items: flex-end; gap: .35rem; }
.signal-bars i { width: .65rem; background: var(--yellow); }
.signal-bars i:nth-child(1) { height: 20%; }.signal-bars i:nth-child(2) { height: 43%; }.signal-bars i:nth-child(3) { height: 66%; }.signal-bars i:nth-child(4) { height: 82%; }.signal-bars i:nth-child(5) { height: 100%; }
.skills-reel { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; counter-reset: skill; }
.skills-reel li { min-height: 8rem; padding: 1.2rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; border-right: 1px solid var(--paper); border-bottom: 1px solid var(--paper); font-size: clamp(1.3rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -.04em; }
.skills-reel span { align-self: flex-start; color: var(--yellow); font-size: .65rem; letter-spacing: 0; }

.credits { background: var(--paper); }
.credential-panels { display: grid; grid-template-columns: 1fr 1fr; }
.credential-panels > section { min-width: 0; padding: var(--pad); border-right: var(--line) solid var(--ink); }
.credential-panels h3, .reference-heading h3 { margin: 0 0 2rem; font-size: clamp(2rem, 5vw, 4rem); line-height: .9; }
.credential-list article { padding: 1.4rem 0; display: grid; grid-template-columns: 3rem 1fr; border-top: 2px solid; }
.credential-list h4 { margin: 0; font-size: 1.25rem; }.credential-list p { margin: .35rem 0 0; }
.credit-index { font-size: .65rem; font-weight: 900; }
.references { padding: clamp(3rem, 7vw, 7rem) var(--pad); color: var(--paper); background: var(--blue); border-top: var(--line) solid var(--ink); }
.reference-track { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid white; border-left: 1px solid white; }
.reference-track figure { margin: 0; padding: clamp(1.5rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid white; border-bottom: 1px solid white; }
.reference-track blockquote { margin: 0; font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.25; }
.reference-track figcaption { display: flex; flex-direction: column; margin-top: 2rem; font-size: .75rem; text-transform: uppercase; }
.reference-track figcaption span { opacity: .75; }

.footer { min-height: 14rem; padding: var(--pad); display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: end; color: var(--paper); background: var(--ink); border-top: .7rem solid var(--yellow); }
.footer p { margin: .2rem 0; }.footer-name { font-size: 1.5rem; font-weight: 900; }.footer-links { display: flex; flex-direction: column; }.top-link { font-weight: 900; text-transform: uppercase; }

.title-sequence { transform-origin: left center; }
.js .title-sequence { opacity: 0; transform: translateY(2rem); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.js .title-sequence.in-frame { opacity: 1; transform: translateY(0); }
.no-motion *, .no-motion *::before, .no-motion *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
.no-motion .title-sequence { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .chapter-label, .station-time { display: none; }
  .chapter-control a span { display: none; }
  .motion-toggle { margin-left: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 70svh; }
  .portrait-block { border-top: var(--line) solid var(--ink); border-left: 0; }
  .portrait-window { min-height: 28rem; }
  .countdown { top: calc(70svh + 1rem); right: 1rem; }
  .broadcast { grid-template-columns: 1fr; }
  .broadcast-heading { min-height: 18rem; }
  .storyboard { grid-template-columns: 1fr; }
  .storyboard li { min-height: auto; }
  .skills-reel { grid-template-columns: repeat(2, 1fr); }
  .credential-panels, .reference-track { grid-template-columns: 1fr; }
  .credential-panels > section { border-right: 0; border-bottom: var(--line) solid var(--ink); }
  .footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 480px) {
  .station-header { grid-template-columns: 1fr auto; }
  .header-contact { display: none; }
  .chapter-control a, .motion-toggle { padding-inline: .7rem; }
  h1 { font-size: clamp(3.4rem, 20vw, 5rem); }
  .section-title { min-height: 11rem; align-items: flex-end; }
  .section-title h2 { font-size: 3.2rem; }
  .section-count { display: none; }
  .skills-reel { grid-template-columns: 1fr; }
  .portrait-window { margin: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .title-sequence { opacity: 1; transform: none; }
}

@media print {
  .chapter-control, .station-header, .motion-toggle, .skip-link { display: none; }
  body { color: #000; background: #fff; }
  .hero, .references, .toolkit, .broadcast:nth-child(even) .broadcast-body { color: #000; background: #fff; }
  .hero { min-height: 0; }.broadcast { break-inside: avoid; }
}
