@font-face {
  font-family: "DM Sans"; src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bricolage"; src: url("/assets/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
:root {
  --ink: #141820; --navy: #101724; --quiet: #585f6a; --muted: #aab4c5;
  --line: #d8dbe1; --blue: #2442a4; --gold: #ffdc82;
  --gutter: clamp(1.25rem, 4.25vw, 4.75rem);
  font: 100%/1.45 "DM Sans", Arial, sans-serif; color: var(--ink); background: white;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, ul, p { margin: 0; }
body { min-width: 0; }
img, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 84rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 10; top: 1rem; left: 1rem; padding: .55rem 1rem; background: white; }
.north-arrow, .line-arrow, .back-arrow {
  display: inline-block; flex: 0 0 auto; position: relative; width: .58em; height: .58em;
  border-top: 1.4px solid currentColor; border-right: 1.4px solid currentColor;
}
.north-arrow::before, .line-arrow::before, .back-arrow::before {
  content: ""; width: .76em; right: -.01em; top: -.02em; position: absolute;
  border-top: 1.4px solid currentColor; transform: rotate(-45deg); transform-origin: right top;
}
.line-arrow { transform: rotate(45deg); }
.back-arrow { transform: rotate(-135deg); }
.play {
  display: inline-block; flex: none; width: 0; height: 0;
  border-top: .33em solid transparent; border-bottom: .33em solid transparent; border-left: .53em solid currentColor;
}

.mast { background: white; border-bottom: 1px solid #e2e4e8; }
.mast-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 4.3rem; gap: 1.35rem; }
.brand { width: fit-content; display: block; }
.brand img { height: auto; width: 8.75rem; }
.main-nav { display: flex; align-items: stretch; gap: clamp(1.3rem, 2.8vw, 2.8rem); }
.main-nav a, .community-link {
  font-size: .94rem; font-weight: 570; line-height: 1.3;
}
.main-nav a { display: flex; align-items: center; position: relative; min-height: 4.3rem; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; height: 2px; background: var(--blue); left: 0; right: 0; bottom: .98rem;
}
.main-nav a:hover, .community-link:hover, .utility:hover { color: var(--blue); }
.community-link { display: inline-flex; align-items: center; gap: .45rem; justify-self: end; padding-block: .65rem; }
.utility, .back-link, .stream-action, .stream-outlet {
  display: inline-flex; align-items: center; gap: .55rem; width: fit-content;
}
.utility:hover, .back-link:hover, .stream-outlet:hover, .stream-action:hover, .footer a:hover {
  text-decoration: underline; text-underline-offset: .23em;
}

.hero, .watch, .footer { color: #f8f9fb; background: var(--navy); }
.hero-art { overflow: hidden; background: #133591; }
.hero-art img { width: 100%; height: clamp(16rem, 32.1vw, 33.5rem); object-fit: cover; object-position: center; }
.program-strip { background: var(--navy); }
.program-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2.5rem;
  min-height: 6.2rem; padding-block: 1.12rem;
}
.hero-copy { min-width: 0; display: flex; align-items: center; gap: 1.1rem; }
.program-still { width: 6.25rem; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.program-origin { display: block; color: #c0c9d7; font-size: .8rem; line-height: 1.4; }
.program-title { margin: .13rem 0 0; font-size: clamp(1.25rem, 1.8vw, 1.65rem); font-weight: 630; letter-spacing: -.03em; line-height: 1.18; overflow-wrap: anywhere; }
.program-actions { display: flex; align-items: center; justify-content: flex-end; flex: none; gap: 1.4rem; }
.watch-button, .with-stream .stream-action {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 2.65rem; width: fit-content;
  padding: .55rem 1.05rem; border-radius: 3px; background: #f8f9fb; color: var(--navy); font-weight: 660;
  font-size: .91rem; line-height: 1.25; text-decoration: none;
}
.watch-button:hover, .with-stream .stream-action:hover { background: var(--gold); text-decoration: none; }
.duration { border-left: 1px solid #c2c6cb; padding-left: .6rem; color: #4e5359; font-size: .79rem; font-variant-numeric: tabular-nums; }
.stream-action, .stream-outlet, .back-link { min-height: 2.55rem; font-size: .91rem; font-weight: 550; }
.stream-outlet .back-arrow { order: -1; }
.hero .current, .with-stream :is(.archived, .hero-art, .clip-action, .program-still) { display: none; }
.with-stream .program-title.current { display: block; }
.with-stream .program-origin.current, .with-stream .stream-outlet.current { display: inline-flex; align-items: center; gap: .48rem; }
.hero[data-mode="live"] #broadcast-signal::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #ff6d68; }
.hero :focus-visible, .watch :focus-visible, .footer :focus-visible { outline-color: var(--gold); }
.stream-console { padding-top: clamp(0rem, 1.6vw, 1.5rem); background: #090c12; }
.media-slot { width: min(100%, 60rem); margin-inline: auto; }
.stream-screen { width: 100%; aspect-ratio: 16/9; min-height: 300px; position: relative; background: #06070a; }
.stream-screen > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: contain; }
.stream-screen.narrow, .stream-console[data-mode="preview"] .stream-screen { min-height: 0; }
.stream-screen.narrow:empty { display: none; }
.stream-size-note { font-size: .86rem; color: #edf1fa; background: #202a3b; padding: .7rem var(--gutter); }

.wardrobe { padding-block: clamp(2.85rem, 5.5vw, 5.4rem) clamp(3.5rem, 6vw, 6rem); scroll-margin-top: 1rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; }
.section-head h1, .section-head h2, .watch-info h2 {
  font-family: "Bricolage", "DM Sans", Arial, sans-serif; font-weight: 600; letter-spacing: -.043em;
  font-variation-settings: "opsz" 48; line-height: 1.04;
}
.section-head h2 { font-size: clamp(2.15rem, 3.75vw, 3.65rem); }
.utility { font-size: .95rem; font-weight: 560; }
.rack-picker { display: flex; align-items: center; gap: 1.5rem; margin: 1rem 0 1.3rem; }
.rack-picker button {
  background: transparent; padding: .55rem 0 .38rem; border: none; border-bottom: 2px solid transparent;
  line-height: 1.35; font-size: .94rem; font-weight: 530; color: var(--quiet); min-height: 2.45rem;
}
.rack-picker button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.rack-picker button:hover { color: var(--blue); }
.specimens { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.75rem, 1.55vw, 1.65rem); }
.specimens figure { margin: 0; min-width: 0; }
.specimens img { width: 100%; height: auto; aspect-ratio: 720/472; object-fit: cover; background: #e1e3e4; }
.specimens figcaption { font-size: 1rem; font-weight: 530; padding-top: .7rem; }

.catalog-page { padding-block: clamp(2.75rem, 5.15vw, 5rem) clamp(3.5rem, 6vw, 6rem); }
.catalog-head { margin-bottom: clamp(1.65rem, 3vw, 3rem); }
.section-head h1 { font-size: clamp(3rem, 5.85vw, 5.45rem); font-weight: 570; }
.catalog-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.3rem); }
.gallery ul {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.8rem, 3.4vw, 3.3rem) clamp(.9rem, 1.9vw, 1.9rem);
  margin: 0; padding: 0; list-style: none;
}
.upload-row { display: block; min-width: 0; }
.upload-cover, .watch-media { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.upload-cover { background: #d9dce0; }
.upload-cover img, #watch-poster img, .watch-media iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.card-play, .big-play {
  display: grid; place-items: center; background: rgba(12,16,23,.93); color: white; border-radius: 50%;
}
.card-play { position: absolute; bottom: .72rem; left: .72rem; width: 2.25rem; height: 2.25rem; visibility: hidden; }
.card-play .play, .big-play .play { margin-left: .14em; }
.upload-row:is(:hover, :focus-visible) .card-play { visibility: visible; }
.video-caption { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; margin-top: .8rem; }
.upload-title { font-size: clamp(1rem, 1.23vw, 1.19rem); font-weight: 570; letter-spacing: -.015em; line-height: 1.34; overflow-wrap: anywhere; }
.upload-duration { color: var(--quiet); font-size: .84rem; font-weight: 475; font-variant-numeric: tabular-nums; white-space: nowrap; }
.upload-row:hover .upload-title, .upload-row[aria-current="true"] .upload-title { text-decoration: underline; text-underline-offset: .18em; }
.watch { margin-bottom: clamp(2.3rem, 4vw, 4rem); scroll-margin-top: 0; }
.watch-body { padding-block: 1.1rem clamp(1.8rem, 3vw, 3rem); }
.back-link { color: #c5cdd9; margin-bottom: .9rem; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, .85fr); align-items: center; gap: clamp(1.75rem, 4vw, 4rem); }
.watch-media { background: #090b10; }
#watch-poster { display: block; height: 100%; position: relative; }
.big-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 3.4rem; height: 3.4rem; font-size: 1.45rem; }
#watch-poster:hover .big-play { background: white; color: var(--navy); }
.watch-info h2 { font-size: clamp(1.8rem, 2.8vw, 3.1rem); margin: .55rem 0 1.1rem; overflow-wrap: anywhere; }
#watch-runtime { color: #c2cbd8; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 6.6rem; }
.footer-brand img { width: 7.7rem; height: auto; }
.footer nav { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 2.5rem); font-size: .9rem; color: #e1e5ec; }

@media (max-width: 58rem) {
  .gallery ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .watch-layout { grid-template-columns: 1fr; gap: 1.15rem; }
  .watch-info h2 { margin: .3rem 0 .45rem; }
  .program-actions { gap: 1rem; }
}
@media (max-width: 44rem) {
  .hero-art img { height: auto; aspect-ratio: 900/572; }
  .mast-inner { gap: 1rem; }
  .main-nav { gap: 1.15rem; }
  .program-inner { flex-wrap: wrap; gap: .7rem; padding-block: 1.05rem 1.2rem; }
  .program-actions { justify-content: flex-start; }
  .hero-copy { gap: .8rem; }
  .stream-console { padding: 0; }
  .section-head { gap: .7rem; }
  .wardrobe { padding-block: 2.7rem; }
  .rack-picker { margin: .75rem 0 1rem; }
}
@media (max-width: 36rem) {
  .mast-inner { min-height: 3.65rem; grid-template-columns: auto 1fr auto; gap: .9rem; }
  .brand img { width: auto; height: 2.25rem; }
  .main-nav { justify-content: center; gap: clamp(.72rem, 3.5vw, 1.12rem); }
  .main-nav a, .community-link { font-size: .84rem; }
  .main-nav a { min-height: 3.65rem; }
  .main-nav a[aria-current="page"]::after { bottom: .63rem; }
  .community-link { gap: .32rem; }
  .program-inner { display: grid; gap: 1.02rem; }
  .program-still { width: 4.85rem; }
  .program-actions { gap: 1.2rem; }
  .program-title { font-size: 1.23rem; }
  .section-head { flex-wrap: wrap; }
  .section-head h2 { font-size: clamp(1.92rem, 8vw, 2.65rem); }
  .wardrobe .utility { font-size: .82rem; }
  .specimens {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 60%;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scrollbar-width: thin; scrollbar-color: #c4c9d1 transparent; padding-bottom: .55rem;
  }
  .specimens figure { scroll-snap-align: start; }
  .catalog-head { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1.4rem; }
  .catalog-links .utility { font-size: .88rem; }
  .gallery ul { grid-template-columns: 1fr; gap: 1.7rem; }
  .video-caption { margin-top: .55rem; }
  .gallery .upload-title { font-size: 1.06rem; }
  .footer-inner { min-height: 5.4rem; }
  .footer-brand img { width: 5.5rem; }
  .footer nav { font-size: .8rem; gap: .75rem; }
}
