/* ==========================================================================
   Duke Student Broadcasting
   Type: Anton (display, matches DSB thumbnail system) / DM Sans (body, matches
   the DSB wordmark) / DM Mono (broadcast metadata).
   Color: control-room ink, newsprint paper, DSB teal + cyan from the logo,
   tally red reserved for "live" signals only.
   ========================================================================== */

:root {
  --ink: #0c0d0f;
  --ink-2: #121417;
  --ink-3: #1b1e22;
  --paper: #ece9e2;
  --paper-2: #e2ded4;
  --paper-ink: #141518;
  --muted: rgba(236, 233, 226, 0.64);
  --muted-dark: rgba(20, 21, 24, 0.66);
  --rule: rgba(236, 233, 226, 0.15);
  --rule-dark: rgba(20, 21, 24, 0.17);
  --teal: #1b9c97;
  --teal-deep: #0d6b67;
  --cyan: #bde4ec;
  --tally: #ff3b30;
  --preview: #32d26f;

  --f-display: "Anton", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1480px;
  --header-h: 68px;
  --ticker-h: 48px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Film grain: a quiet analog texture over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--teal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  background: var(--paper); color: var(--ink); padding: 10px 14px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.on-paper { background: var(--paper); color: var(--paper-ink); }
.on-ink-2 { background: var(--ink-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.site-header.is-solid {
  background: rgba(12, 13, 15, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand svg { width: 46px; height: auto; color: var(--cyan); flex: none; transition: color .4s; }
.brand__name { font-weight: 600; font-size: 15px; letter-spacing: -.01em; line-height: 1.15; }
.brand__name small {
  display: block; margin-top: 2px;
  font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; opacity: .62;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { position: relative; font-size: 14.5px; font-weight: 500; padding: 6px 0; }
.nav a:not(.nav__press)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__press {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--rule); padding: 8px 14px 8px 12px !important;
  transition: border-color .3s, background-color .3s, color .3s;
}
.nav__press:hover, .nav__press[aria-current="page"] { border-color: currentColor; }
.clock { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; opacity: .62; white-space: nowrap; min-width: 9ch; text-align: right; }

/* header on pages whose first screen is paper */
.site-header[data-tone="light"]:not(.is-solid) { color: var(--paper-ink); }
.site-header[data-tone="light"]:not(.is-solid) .brand svg { color: var(--teal-deep); }
.site-header[data-tone="light"]:not(.is-solid) .nav__press { border-color: var(--rule-dark); }
body.nav-open .site-header { color: var(--paper) !important; background: var(--ink); border-color: var(--rule); }
body.nav-open .site-header .brand svg { color: var(--cyan) !important; }

.tally {
  display: inline-block; flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--tally);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, .2);
  animation: tally 2.4s steps(1) infinite;
}
@keyframes tally { 0%, 72% { opacity: 1; } 73%, 100% { opacity: .3; } }

.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--rule); background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.site-header[data-tone="light"]:not(.is-solid) .menu-btn { border-color: var(--rule-dark); }
.menu-btn span { width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
body.nav-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.nav-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 55;
  background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-100%); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s linear .6s;
}
body.nav-open .mobile-nav { transform: none; visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
body.nav-open { overflow: hidden; }
.mobile-nav__links a {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(44px, 13vw, 92px); line-height: 1.05;
  padding: 8px 0; border-bottom: 1px solid var(--rule);
}
.mobile-nav__links a span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.mobile-nav__foot { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.mobile-nav__foot a { color: var(--paper); }

@media (max-width: 980px) {
  .nav, .clock { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 24px;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  border: 1px solid transparent; background: none; color: inherit; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--cyan); }
.btn--line { border-color: var(--rule); }
.btn--line:hover { border-color: currentColor; }
.on-paper .btn--line { border-color: var(--rule-dark); }
.on-paper .btn--line:hover { border-color: var(--paper-ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow .arrow { transition: transform .4s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(84px, 11vw, 164px); position: relative; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.on-paper .eyebrow { color: var(--muted-dark); }
.eyebrow .seg { border: 1px solid currentColor; padding: 2px 7px 1px; line-height: 1.4; }
.h2 {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(50px, 7.2vw, 116px); line-height: .88; letter-spacing: -.004em;
  margin-top: 22px;
}
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 20px 48px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px);
}
.sec-head .eyebrow { grid-column: 1 / -1; }
.sec-head .h2 { margin-top: 0; }
.sec-head__aside { color: var(--muted); font-size: 17px; margin: 0; }
.on-paper .sec-head__aside { color: var(--muted-dark); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  min-height: calc(100svh - var(--ticker-h));
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 28px;
}
.hero__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-width: 0; }
.slate {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  padding: 11px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.slate span { display: inline-flex; align-items: center; gap: 8px; }
.slate b { font-weight: 500; color: var(--paper); font-variant-numeric: tabular-nums; }
.hero__title {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(56px, 7.7vw, 164px); line-height: .87; letter-spacing: -.004em;
}
.hero__title > span:not(.vh) { display: block; }
.hero__title .accent { color: var(--cyan); }
.hero__lede { max-width: 47ch; margin: 28px 0 32px; font-size: clamp(17px, 1.3vw, 19.5px); color: var(--muted); }
.hero__lede strong { color: var(--paper); font-weight: 500; }

/* Monitor wall: a switcher multiview of real DSB footage */
.wall {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  height: max(460px, calc(100svh - var(--ticker-h) - var(--header-h) - 48px));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.wall__col { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.wall__col:nth-child(2) { transform: translateY(8%); }
.wall__col:nth-child(3) { transform: translateY(-3%); }
.mon {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  background: var(--ink-3);
  outline: 1px solid var(--rule); outline-offset: 0;
  transition: outline-color .25s;
}
.mon video, .mon img { width: 100%; height: 100%; object-fit: cover; }
.mon__tag, .mon__label {
  position: absolute; z-index: 1;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase;
  line-height: 1; padding: 5px 6px 4px;
}
.mon__tag { top: 8px; left: 8px; background: rgba(12, 13, 15, .72); transition: background-color .25s, color .25s; }
.mon__label {
  left: 8px; right: 8px; bottom: 8px;
  display: flex; justify-content: space-between; gap: 8px;
  background: rgba(12, 13, 15, .72);
  white-space: nowrap; overflow: hidden;
}
.mon__label span:last-child { opacity: .6; }
.mon.is-pgm { outline: 2px solid var(--tally); outline-offset: -2px; }
.mon.is-pgm .mon__tag { background: var(--tally); color: #fff; }
.mon.is-pvw { outline: 2px solid var(--preview); outline-offset: -2px; }
.mon.is-pvw .mon__tag { background: var(--preview); color: var(--ink); }

/* Ticker */
.ticker {
  position: relative; z-index: 2;
  display: flex; height: var(--ticker-h);
  border-top: 1px solid var(--rule); background: var(--ink); overflow: hidden;
}
.ticker__label {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 0 18px 0 var(--gutter);
  background: var(--teal); color: var(--ink);
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.ticker__label .tally { background: var(--ink); box-shadow: none; }
.ticker__viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 30px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.ticker__track span b { color: var(--paper); font-weight: 500; }
.ticker__track span::before { content: ""; width: 5px; height: 5px; background: var(--teal); flex: none; margin-right: 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; }
  .hero__title { font-size: clamp(52px, 14.2vw, 120px); }
  .wall {
    order: 2; margin: 0 calc(-1 * var(--gutter)); height: auto;
    display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter);
    scroll-snap-type: x mandatory; scrollbar-width: none;
    -webkit-mask-image: none; mask-image: none;
  }
  .wall::-webkit-scrollbar { display: none; }
  .wall__col { display: contents; }
  .wall__col:nth-child(n) { transform: none; }
  .mon { flex: none; width: clamp(150px, 40vw, 240px); scroll-snap-align: start; }
}

/* ---------- Statement ---------- */
.statement {
  font-size: clamp(27px, 3.3vw, 52px); line-height: 1.13; letter-spacing: -.024em; font-weight: 500;
  max-width: 24ch; margin: 34px 0 0;
}
.statement .soft { color: var(--muted-dark); }
.statement sup { font-family: var(--f-mono); font-size: .32em; letter-spacing: 0; vertical-align: super; margin-left: .1em; color: var(--teal-deep); }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--rule-dark);
}
.stat { padding: 22px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--rule-dark); }
.stat__num { font-family: var(--f-display); font-size: clamp(54px, 6vw, 96px); line-height: .9; letter-spacing: -.005em; }
.stat__label { margin-top: 12px; color: var(--muted-dark); }
.footnote { margin-top: 36px; color: var(--muted-dark); font-size: 13px; max-width: 70ch; }
.footnote a { border-bottom: 1px solid currentColor; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--rule-dark); }
}

/* ---------- Rundown ---------- */
.rundown { border-top: 1px solid var(--rule); }
.rundown__row {
  position: relative;
  display: grid; grid-template-columns: 74px minmax(0, 1.05fr) minmax(0, 1.5fr) 180px;
  gap: 28px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--rule);
}
.rundown__head { padding: 12px 0; color: var(--muted); }
.rundown__head span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.rundown__seg { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.rundown__slug {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(38px, 4.6vw, 72px); line-height: .92;
  transition: color .3s var(--ease), transform .5s var(--ease);
}
.rundown__desc { color: var(--muted); margin: 0; max-width: 52ch; }
.rundown__out { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.rundown__row:not(.rundown__head):hover .rundown__slug { color: var(--cyan); transform: translateX(10px); }
@media (max-width: 900px) {
  .rundown__head { display: none; }
  .rundown__row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .rundown__out { text-align: left; color: var(--muted); }
}

/* ---------- Feed ---------- */
.feed__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; justify-content: space-between; margin-bottom: 28px; }
.feed__status { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.feed__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.is-live .feed__status .dot { background: var(--preview); box-shadow: 0 0 0 3px rgba(50, 210, 111, .2); }
.feed__handle { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; }
.feed__handle b { font-weight: 600; }
.feed__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.post { display: block; position: relative; }
.post__media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink-3); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.post__media::after {
  content: "Watch \2197"; position: absolute; left: 10px; bottom: 10px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); padding: 6px 8px 5px; line-height: 1;
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.post:hover .post__media img { transform: scale(1.045); }
.post:hover .post__media::after, .post:focus-visible .post__media::after { opacity: 1; transform: none; }
.post__cap {
  display: flex; justify-content: space-between; gap: 10px; margin-top: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.post__cap span:first-child { color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1100px) { .feed__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; } }
@media (max-width: 520px) { .feed__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Coverage ---------- */
.coverage { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.coverage__intro p { color: var(--muted); }
.coverage__intro .h2 { font-size: clamp(46px, 5.4vw, 86px); margin-bottom: 28px; }
.venues { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--rule); }
.venues li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.venues li span:last-child { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); align-self: center; }
.sports { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; }
.sports li {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(34px, 4.5vw, 74px); line-height: 1.06; letter-spacing: -.003em;
  display: inline-flex; align-items: baseline;
  transition: color .25s;
}
.sports li:not(:last-child)::after { content: "/"; color: var(--teal); margin: 0 .22em; font-size: .8em; }
.sports li abbr {
  text-decoration: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em;
  color: var(--muted); margin-left: .35em; transform: translateY(-1.9em); align-self: flex-start;
}
.sports li:hover { color: var(--cyan); }
@media (max-width: 900px) { .coverage { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { background: var(--teal); color: var(--ink); padding-block: clamp(72px, 9vw, 132px); overflow: hidden; position: relative; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; position: relative; z-index: 1; }
.cta__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(58px, 9.2vw, 156px); line-height: .86; }
.cta p { font-size: 18px; max-width: 42ch; color: rgba(12, 13, 15, .78); }
.cta .eyebrow { color: rgba(12, 13, 15, .7); margin-bottom: 22px; }
.cta .btn--line { border-color: rgba(12, 13, 15, .35); }
.cta .btn--line:hover { border-color: var(--ink); }
.cta__waves {
  position: absolute; right: -6%; top: 50%; width: min(760px, 70vw); transform: translateY(-50%);
  color: rgba(12, 13, 15, .1); z-index: 0;
}
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: clamp(64px, 8vw, 104px) 0 28px; border-top: 1px solid var(--rule); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand svg { width: min(260px, 70%); color: var(--teal); margin-bottom: 26px; }
.footer__brand p { color: var(--muted); max-width: 36ch; font-size: 15px; }
.footer__col h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; padding: 4px 0; font-size: 15px; }
.footer__col a:hover { color: var(--cyan); }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 20px; border-top: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.footer__base a:hover { color: var(--paper); }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Interior page hero ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 9vw, 128px)) 0 clamp(64px, 8vw, 112px); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero h1 {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(60px, 9.4vw, 160px); line-height: .86; letter-spacing: -.004em; margin-top: 24px;
}
.page-hero .lede { font-size: clamp(18px, 1.45vw, 21px); max-width: 44ch; margin: 30px 0 0; color: var(--muted); }
.page-hero.on-paper .lede { color: var(--muted-dark); }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }

/* ---------- About: cut-out collage (a nod to DSB's halftone deck) ---------- */
.collage { position: relative; height: clamp(400px, 44vw, 620px); }
.cutout {
  position: absolute; margin: 0; background: #fbfaf6; padding: 9px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 26px 50px -24px rgba(20, 21, 24, .5);
  transition: transform .8s var(--ease);
}
.cutout img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.32) brightness(1.06); }
.cutout::after {
  content: ""; position: absolute; inset: 9px; pointer-events: none; mix-blend-mode: multiply;
  background: radial-gradient(circle, rgba(20, 21, 24, .55) .85px, transparent 1.25px) 0 0 / 4px 4px;
}
.cutout figcaption {
  position: absolute; left: 9px; bottom: -28px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark);
}
.cutout--a { width: 46%; aspect-ratio: 3 / 4; left: 0; top: 4%; transform: rotate(-4deg); }
.cutout--b { width: 40%; aspect-ratio: 3 / 4; right: 2%; top: 0; transform: rotate(3.5deg); }
.cutout--c { width: 50%; aspect-ratio: 16 / 10; left: 24%; bottom: 2%; transform: rotate(-1.2deg); z-index: 2; }
.cutout--c img { filter: grayscale(1) contrast(1.25) brightness(1.08) sepia(.08); }
.collage:hover .cutout--a { transform: rotate(-6deg) translate(-6px, -4px); }
.collage:hover .cutout--b { transform: rotate(5deg) translate(6px, -6px); }
.collage .stamp {
  position: absolute; right: 6%; bottom: 10%; z-index: 3;
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--teal); color: var(--ink);
  font-family: var(--f-display); text-transform: uppercase; font-size: 30px; line-height: .9;
  transform: rotate(10deg);
  box-shadow: 0 18px 40px -20px rgba(20, 21, 24, .6);
}
.collage .stamp small { display: block; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; margin-top: 6px; }

/* Mission */
.mission { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(44px, 6.6vw, 108px); line-height: .92; max-width: 15ch; margin: 30px 0 0; }
.mission em { font-style: normal; color: var(--cyan); }
.mission-cite { margin-top: 30px; color: var(--muted); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 3vw, 48px); }
.tl { border-top: 1px solid var(--rule); padding-top: 22px; }
.tl__year { font-family: var(--f-display); font-size: clamp(64px, 7vw, 116px); line-height: .86; color: var(--paper); }
.tl__year span { color: var(--teal); }
.tl h3 { font-weight: 600; font-size: 19px; margin: 20px 0 10px; letter-spacing: -.01em; }
.tl p { color: var(--muted); font-size: 16px; }
.tl a { border-bottom: 1px solid currentColor; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; gap: 36px; } }

/* Masthead */
.masthead { max-width: 980px; margin-inline: auto; }
.masthead__title { text-align: center; border-top: 4px solid var(--paper); border-bottom: 1px solid var(--paper); padding: 18px 0 14px; margin-bottom: 18px; }
.masthead__title h2 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(44px, 6vw, 92px); line-height: .9; }
.masthead__title p { margin: 10px 0 0; }
.mh-row { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; }
.mh-row__role { font-family: var(--f-mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.mh-row__lead { flex: 1; border-bottom: 1px dotted rgba(236, 233, 226, .35); transform: translateY(-5px); min-width: 24px; }
.mh-row__name { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.015em; text-align: right; }
@media (max-width: 560px) {
  .mh-row { flex-direction: column; gap: 4px; border-bottom: 1px solid var(--rule); }
  .mh-row__lead { display: none; }
  .mh-row__role { white-space: normal; }
  .mh-row__name { text-align: left; }
}

/* Join */
.join { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.join__facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(12, 13, 15, .25); }
.join__facts li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(12, 13, 15, .25); font-weight: 500; }
.join__facts li span:last-child { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; align-self: center; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

/* ---------- Press ---------- */
.quickfacts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 40px 0 0; border-top: 1px solid var(--rule); }
.quickfacts div { padding: 14px 26px 0 0; }
.quickfacts div + div { border-left: 1px solid var(--rule); padding-left: 26px; }
.quickfacts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.quickfacts dd { margin: 6px 0 0; font-weight: 500; }
.quickfacts a { border-bottom: 1px solid currentColor; }
@media (max-width: 640px) {
  .quickfacts { grid-template-columns: 1fr; }
  .quickfacts div, .quickfacts div + div { border-left: 0; padding-left: 0; }
}

/* Broadcast monitor (contact hero) */
.monitor { margin: 0; }
.monitor__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); outline: 2px solid var(--tally); outline-offset: -2px; }
.monitor__screen video { width: 100%; height: 100%; object-fit: cover; }
.monitor__lower {
  position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px);
  display: flex; align-items: stretch; background: rgba(12, 13, 15, .84); font-size: 14px; line-height: 1.35;
}
.monitor__lower > span:last-child { padding: 10px 16px 10px 14px; color: var(--muted); }
.monitor__lower b { color: var(--paper); font-weight: 600; }
.monitor__bug { display: grid; place-items: center; padding: 0 12px; background: var(--teal); color: var(--ink); }
.monitor__bug svg { width: 40px; }
.monitor figcaption {
  display: flex; justify-content: space-between; margin-top: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.monitor figcaption b { color: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums; }

/* Fact sheet */
.factsheet { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.factsheet__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.factsheet__aside .h2 { font-size: clamp(46px, 5.2vw, 84px); margin-bottom: 22px; }
.factsheet__aside p { color: var(--muted-dark); }
.factsheet__aside .actions { margin-top: 28px; }
.facts { display: grid; grid-template-columns: 210px minmax(0, 1fr); margin: 0; border-top: 2px solid var(--paper-ink); }
.facts dt, .facts dd { margin: 0; padding: 17px 0; border-bottom: 1px solid var(--rule-dark); }
.facts dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-dark); padding-top: 21px; padding-right: 16px; }
.facts dd { font-size: 18px; line-height: 1.45; }
.facts dd small { display: block; color: var(--muted-dark); font-size: 14.5px; margin-top: 2px; }
.facts a { border-bottom: 1px solid currentColor; }
@media (max-width: 900px) {
  .factsheet { grid-template-columns: 1fr; }
  .factsheet__aside { position: static; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 6px; }
}

/* Contact form */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__direct { margin-top: 34px; border-top: 1px solid var(--rule); }
.contact__direct a, .contact__direct div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact__direct span:first-child { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); align-self: center; }
.contact__direct a span:last-child { font-weight: 500; }
.contact__direct a:hover span:last-child { color: var(--cyan); }
.form__status { color: var(--muted); margin: 0; font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--paper); font: inherit; font-size: 18px;
  border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 10px 0 12px;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field select option { color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }


/* ---------- Reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.15s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
  .js [data-reveal-delay="1"] { transition-delay: .08s; }
  .js [data-reveal-delay="2"] { transition-delay: .16s; }
  .js [data-reveal-delay="3"] { transition-delay: .24s; }
  .hero__title > span:not(.vh) { animation: rise 1.1s var(--ease) both; }
  .hero__title > span:nth-child(3) { animation-delay: .08s; }
  .hero__title > span:nth-child(4) { animation-delay: .16s; }
  @keyframes rise { from { clip-path: inset(0 0 100% 0); transform: translateY(.25em); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__track { animation: none; }
}

/* ---------- Print: the press page doubles as a one-page fact sheet ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  body::after, .site-header, .mobile-nav, .site-footer, .no-print, .monitor, .preview, .ticker, #write { display: none !important; }
  .section, .page-hero { padding: 0 !important; margin-bottom: 8mm; background: #fff !important; color: #000 !important; }
  .on-paper, .on-ink-2 { background: #fff !important; color: #000 !important; }
  .page-hero h1 { font-size: 40pt; margin-top: 0; }
  .page-hero__grid, .factsheet { display: block; }
  .lede, .facts dt, .facts dd small, .eyebrow, .quickfacts dt { color: #333 !important; }
  .facts dt, .facts dd, .quickfacts, .quickfacts div + div { border-color: #ccc !important; }
  .factsheet__aside .h2 { font-size: 26pt; }
  a { border: 0 !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- Additions ---------- */
[hidden] { display: none !important; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(40px, 6vw, 110px); align-items: center; }
.intro-grid .statement { max-width: 25ch; }
.intro-fig { margin: 0; }
.intro-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.intro-fig figcaption {
  display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--rule-dark);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark);
}
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } .intro-fig { max-width: 420px; } }
@media (max-width: 520px) { .slate span:nth-child(4) { display: none; } }

/* ---------- Instagram player ---------- */
.ig-modal {
  width: min(480px, 94vw); max-height: 92vh; padding: 0; border: 0; overflow: auto;
  background: var(--ink-2); color: var(--paper); outline: 1px solid var(--rule);
}
.ig-modal::backdrop { background: rgba(6, 7, 8, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ig-modal__bar {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 18px;
  padding: 12px 16px; background: var(--ink-2); border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
}
.ig-modal__title { margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.ig-modal__open:hover, .ig-modal__close:hover { color: var(--cyan); }
.ig-modal__close { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.ig-modal__body { padding: 14px; min-height: 320px; display: grid; place-items: center; }
.ig-modal__body .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
.ig-modal__body a { color: var(--cyan); }

/* ---------- Work archive ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 8px;
  border: 1px solid var(--rule); background: transparent; color: var(--muted);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  transition: color .2s, border-color .2s, background-color .2s;
}
.chip span { opacity: .55; }
.chip:hover { color: var(--paper); border-color: rgba(236, 233, 226, .5); }
.chip[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.feed__grid--archive { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 14px; }
@media (max-width: 1100px) { .feed__grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .feed__grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.empty { color: var(--muted); padding: 40px 0; }
.archive__more { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.archive__more .chip { padding: 14px 22px 13px; color: var(--paper); border-color: rgba(236, 233, 226, .35); }
.archive__more .chip span::before { content: "· "; }
.feed__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.feed__more .arrow { transition: transform .4s var(--ease); }
.feed__more:hover .arrow { transform: translateX(4px); }

/* ---------- Studio details ---------- */
/* Cue light on each section label: lit while the section is "on air" (mid-screen) */
.cue { width: 7px; height: 7px; border-radius: 50%; flex: none; background: rgba(236, 233, 226, .22); transition: background-color .25s, box-shadow .25s; }
.on-paper .cue { background: rgba(20, 21, 24, .2); }
.is-onair .cue { background: var(--tally); box-shadow: 0 0 0 3px rgba(255, 59, 48, .18), 0 0 12px rgba(255, 59, 48, .55); animation: tally 2.4s steps(1) infinite; }

/* The slate bar works on paper pages too */
.on-paper .slate { border-color: var(--rule-dark); color: var(--muted-dark); }
.on-paper .slate b { color: var(--paper-ink); }
.page-hero .slate { margin-bottom: clamp(30px, 4.5vw, 56px); }

/* Lit "ON AIR" sign */
.onair {
  display: inline-flex; align-items: center; padding: 10px 16px 8px;
  border: 2px solid rgba(255, 74, 61, .9); border-radius: 6px; background: #1a1012;
  font-family: var(--f-display); font-size: 22px; line-height: 1; letter-spacing: .16em; text-transform: uppercase;
  color: #ff5a4e;
  text-shadow: 0 0 6px rgba(255, 74, 61, .85), 0 0 18px rgba(255, 74, 61, .45);
  box-shadow: 0 0 18px rgba(255, 74, 61, .3), inset 0 0 14px rgba(255, 74, 61, .22);
  animation: onair 7s linear infinite;
}
@keyframes onair { 0%, 90%, 100% { opacity: 1; } 91% { opacity: .4; } 92% { opacity: 1; } 94% { opacity: .65; } 95% { opacity: 1; } }
.footer__brand .onair { margin-top: 26px; }
.page-hero--compact { padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(36px, 4vw, 56px); }
.page-hero--compact h1 { font-size: clamp(56px, 7.4vw, 124px); margin-top: 0; }
.page-hero--compact .lede { margin-top: 18px; }
.page-hero--compact .slate { margin-bottom: clamp(24px, 3vw, 40px); }

/* Camera cut: dip to black with scanlines while a new clip loads */
.mon video { transition: opacity .22s ease; }
.mon.is-cutting video { opacity: 0; }
.mon::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: repeating-linear-gradient(0deg, rgba(236, 233, 226, .07) 0 1px, transparent 1px 3px);
}
.mon.is-cutting::after { opacity: 1; }
.monitor__screen video { transition: opacity .22s ease; }
.monitor__screen.is-cutting video { opacity: 0; }

/* About collage: stills cross-fade as they rotate */
.cutout img { transition: opacity .45s ease; }
.cutout img.is-swapping { opacity: 0; }

/* Footer staff link: there if you look for it */
.footer__staff { opacity: .55; }
.footer__staff:hover { opacity: 1; }
