@font-face { font-family: Hub Sans; src: url('./fonts/OpenSans-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: Hub Sans; src: url('./fonts/OpenSans-Semibold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: Hub Sans; src: url('./fonts/OpenSans-Bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: Hub Sans; src: url('./fonts/OpenSans-ExtraBold.woff') format('woff'); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --page: #101210;
  --panel: #171a17;
  --line: #303830;
  --green: #04f603;
  --green-soft: #86fc85;
  --text: #f5f5ee;
  --quiet: #aeb6ad;
  --mono: ui-monospace, "DejaVu Sans Mono", Consolas, monospace;
  font-family: Hub Sans, system-ui, sans-serif;
  background: var(--page);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
::selection { background: var(--green); color: var(--page); }

.shell { width: min(100% - 88px, 1232px); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon, .brand-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { z-index: 5; position: fixed; inset: 10px auto auto 10px; padding: 10px 16px; background: var(--green); color: var(--page); }

.site-header { border-bottom: 1px solid #282b24; background: #121512; }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 9px; color: var(--text); font-size: 19px; font-weight: 800; letter-spacing: -.065em; line-height: 1; white-space: nowrap; }
.brand-icon { width: 34px; height: 34px; object-fit: contain; }
.brand-green { color: var(--green); margin-inline-start: 3px; }
.brand small { display: block; margin-top: 5px; font: 600 9px/1 var(--mono); letter-spacing: .04em; color: var(--quiet); }
.site-nav { display: flex; align-self: stretch; align-items: stretch; gap: 31px; }
.nav-link { display: grid; place-items: center; padding-inline: 1px; position: relative; color: var(--quiet); font-size: .9rem; font-weight: 700; }
.nav-link:hover, .nav-link[aria-current] { color: var(--green); }
.nav-link[aria-current]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--green); }
.channel-link { display: inline-flex; justify-self: end; gap: 6px; align-items: center; color: var(--text); font-size: .85rem; font-weight: 700; border: 1px solid #393c31; border-radius: 7px; padding: 8px 11px 8px 8px; white-space: nowrap; }
.channel-link:hover { border-color: var(--green); }
.channel-link .icon { color: var(--green); }

.portal-return { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; color: var(--quiet); font-size: .875rem; font-weight: 600; }
.portal-return:hover { color: var(--green); }
.portal-return + .hero { margin-top: 12px; }

.hero { position: relative; isolation: isolate; min-height: 462px; display: grid; align-items: center; overflow: hidden; border: 1px solid #355435; border-radius: 16px; margin-top: 32px; background: #111a11; }
.hero-art { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 84% 40%, #215021 0%, #172d17 33%, transparent 70%), linear-gradient(108deg, #161e16, #101610 60%, #131b13); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111a11 0%, #111a11f0 32%, #111a11a6 45%, transparent 67%), linear-gradient(0deg, #101710 0%, transparent 43%); }
.hero-art img { position: absolute; inset: -18px 1% 0 auto; width: 58%; height: calc(100% + 55px); max-width: none; object-fit: contain; object-position: center top; filter: brightness(1.16) saturate(.71); mask-image: radial-gradient(ellipse 62% 70% at 52% 48%, black 46%, transparent 95%); }
.hero-orbit { position: absolute; width: 510px; aspect-ratio: 1; right: -16px; top: -42px; border: 1px solid #04f60329; border-radius: 50%; box-shadow: 0 0 0 28px #04f60310, 0 0 0 62px #04f60308; }
.hero-orbit::after, .hero-orbit::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid #04f60322; }
.hero-orbit::before { transform: rotate(90deg); }
.hero-content { padding: 30px 56px 36px; max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--green); font: 600 .81rem/1.35 var(--mono); letter-spacing: .11em; }
.eyebrow > span { width: 23px; height: 1px; background: var(--green); }
.hero-byline { font-weight: inherit; }
.hero-title { width: clamp(142px, 15vw, 186px); margin: 10px 0 0 -4px; }
.hero-title img { width: 100%; height: auto; }
.hero-lead { margin-top: 5px; color: #e3e9e1; font-size: clamp(1.14rem, 2.1vw, 1.55rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.38; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 44px; min-width: 0; padding: 9px 15px; border: 1px solid transparent; border-radius: 7px; font-size: .875rem; font-weight: 700; text-align: center; line-height: 1.25; transition: background .18s ease, border-color .18s ease; }
.button-primary { background: var(--green); color: #14170e; }
.button-primary:hover { background: #46ff45; }
.button-muted { background: #181e18df; border-color: #485448; color: var(--text); }
.button-muted:hover { background: #212e21; border-color: #63a962; }
.hero-caption { position: absolute; inset: auto 29px 23px auto; padding: 10px 16px 11px; border: 1px solid #3c643c; background: #121a12f0; border-radius: 7px; display: grid; gap: 3px; }
.hero-caption span { color: var(--green-soft); font: 600 .69rem/1.3 var(--mono); letter-spacing: .08em; }
.hero-caption strong { font-size: 1.1rem; letter-spacing: -.035em; }

.catalog { margin-top: 52px; padding-bottom: 78px; scroll-margin-top: 23px; outline: none; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.catalog-heading h2 { font-size: clamp(2.05rem, 4.1vw, 3.35rem); font-weight: 800; line-height: 1.12; letter-spacing: -.075em; margin-top: 5px; }
.results-count { padding-bottom: 5px; color: var(--quiet); white-space: nowrap; font-size: .875rem; }
.filter-bar { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(190px, .51fr) minmax(185px, .47fr); gap: 12px; padding: 11px; background: #161813; border: 1px solid #2d3027; border-radius: 10px; margin-bottom: 24px; }
.filter-bar.simple-filters { grid-template-columns: 1fr; }
.search-control, .select-control { position: relative; display: flex; align-items: center; min-width: 0; }
.search-control > .icon, .select-control > .icon { position: absolute; left: 13px; z-index: 1; color: var(--green-soft); pointer-events: none; }
.select-control .select-chevron { left: auto; right: 9px; color: var(--quiet); }
input[type="search"], select { width: 100%; min-width: 0; min-height: 43px; border: 1px solid #363a30; border-radius: 7px; padding: 7px 12px 7px 41px; background: #1d201a; color: var(--text); font-size: .875rem; }
input[type="search"]::placeholder { color: var(--quiet); opacity: 1; }
select { appearance: none; padding-right: 33px; cursor: pointer; text-overflow: ellipsis; }
input[type="search"]:focus, select:focus { outline: 1px solid var(--green); outline-offset: -1px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 20px; }
.active-chip, .tag, .reset { display: inline-flex; align-items: center; gap: 4px; border-radius: 5px; padding: 5px 8px; background: #1a2c1a; border: 1px solid #355735; color: #cbf5ca; font-size: .77rem; line-height: 1.3; font-weight: 600; }
.active-chip { padding: 6px 9px; min-height: 32px; }
.active-chip .icon { width: 15px; height: 15px; }
.tag:hover, .active-chip:hover { border-color: var(--green); }
.reset { background: transparent; border-color: transparent; color: var(--quiet); text-decoration: underline; text-underline-offset: 3px; }
.reset:hover { color: var(--text); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { min-width: 0; position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; transition: border-color .2s; }
.card:hover, .card:focus-within { border-color: #548a53; }
.card-picture { position: relative; display: block; aspect-ratio: 16 / 9; background: #22271b; overflow: hidden; border-bottom: 1px solid #2d3525; }
.card-picture:focus-visible { outline-offset: -4px; }
.card-picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card-picture:hover img { transform: scale(1.025); }
.card-picture::after { content: ""; position: absolute; inset: 50% 0 0; pointer-events: none; background: linear-gradient(0deg, #090b08b5, transparent); }
.card-badge { position: absolute; z-index: 1; left: 12px; bottom: 12px; background: #131611f2; color: var(--green); border: 1px solid #436b43; border-radius: 4px; padding: 5px 7px; font: 600 .72rem/1.15 var(--mono); letter-spacing: .06em; }
.card-body { flex: 1; display: flex; flex-direction: column; align-items: start; gap: 10px; min-width: 0; padding: 16px; }
.card-meta { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 7px; row-gap: 3px; font-size: .82rem; color: #c6cbbd; font-weight: 600; }
.card-meta .duration { color: var(--quiet); white-space: nowrap; font-weight: 400; }
.card-meta .duration::before { content: "·"; margin-inline-end: 7px; }
.card h3 { letter-spacing: -.037em; font-size: clamp(1.05rem, 1.72vw, 1.27rem); font-weight: 800; line-height: 1.28; }
.card h3 a:hover { color: var(--green); }
.card-description { color: #bfc4b7; font-size: .9rem; line-height: 1.49; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.card-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; width: 100%; margin-top: auto; padding-top: 11px; }
.card-link { display: inline-flex; align-items: center; gap: 4px; min-height: 31px; font-size: .83rem; font-weight: 700; color: var(--green-soft); }
.card-link:hover, .subtle-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-link .icon { width: 17px; height: 17px; }
.subtle-link { color: #d1d6c7; font-size: .83rem; font-weight: 700; }
.guest-card { flex-direction: row; align-items: center; }
.guest-card img { width: 95px; height: 100%; min-height: 141px; align-self: stretch; object-fit: cover; }
.guest-card .card-body { gap: 6px; align-self: stretch; }
.guest-card .card-description { font-size: .82rem; }
.topic-card .card-body { gap: 10px; padding: 19px; }
.topic-icon { display: grid; place-items: center; width: 41px; height: 41px; background: #1b301b; border: 1px solid #365936; border-radius: 8px; color: var(--green); }
.empty { grid-column: 1 / -1; padding: 38px 22px; text-align: center; border: 1px dashed var(--line); border-radius: 10px; }
.empty h3 { font-size: 1.28rem; letter-spacing: -.035em; }
.empty p { color: var(--quiet); margin: 8px 0 18px; }
.site-footer { border-top: 1px solid #2b2e26; color: var(--quiet); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 87px; font-size: .85rem; }
.footer-inner .brand { font-size: 16px; }
.footer-inner .brand-icon { width: 27px; height: 27px; }
.footer-inner > a:last-child:hover { color: var(--green); }

dialog { background: #191c16; color: var(--text); border: 1px solid #3c6240; border-radius: 13px; width: min(calc(100% - 28px), 680px); max-height: calc(100dvh - 36px); padding: 0; }
dialog::backdrop { background: #080a07c9; backdrop-filter: blur(4px); }
.dialog-inner { position: relative; }
.close-button { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; place-items: center; border: 1px solid #687355; border-radius: 50%; width: 42px; height: 42px; color: var(--text); background: #151a12ed; }
.close-button:hover { border-color: var(--green); color: var(--green); }
.detail-image { width: 100%; max-height: 298px; aspect-ratio: 16 / 8; object-fit: cover; background: #22291c; }
.detail-copy { padding: 25px; }
.detail-copy h2 { margin-top: 7px; line-height: 1.15; letter-spacing: -.065em; font-size: clamp(1.8rem, 5vw, 2.65rem); }
.detail-copy > p:not(.eyebrow) { margin-top: 12px; color: #d5d9cd; font-size: 1rem; line-height: 1.55; }
.detail-guests { color: var(--green-soft); margin-top: 9px; font-weight: 700; font-size: .92rem; }
.detail-guests a:hover { text-decoration: underline; }
.detail-copy .tags { margin-top: 15px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.detail-related { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; }
.detail-related h3 { margin-bottom: 7px; font-size: 1.05rem; }
.detail-related .clip-entry { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.detail-related .clip-entry a:first-child { padding-block: 7px; font-size: .93rem; line-height: 1.3; }
.detail-related .clip-entry a:first-child:hover { text-decoration: underline; }
.detail-related .clip-entry a:last-child { min-width: max-content; }

@media (max-width: 940px) {
  .shell { width: calc(100% - 56px); }
  .header-inner { gap: 18px; }
  .site-nav { gap: 22px; }
  .hero { min-height: 405px; }
  .hero-content { padding-inline: 38px; }
  .hero-art img { right: -2%; width: 63%; }
  .cards { gap: 14px; }
  .filter-bar { grid-template-columns: minmax(160px, 1fr) minmax(160px, .67fr) minmax(160px, .64fr); }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr 1fr; grid-template-rows: 57px 44px; gap: 0 12px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 8px; }
  .nav-link { min-width: 53px; }
  .channel-link { grid-column: 2; grid-row: 1; }
  .hero { margin-top: 20px; min-height: 385px; }
  .hero-content { padding: 29px 23px 57px; }
  .hero-art img { right: -9%; width: 82%; height: 104%; inset-block-start: 8px; }
  .hero-art::after { background: linear-gradient(90deg, #111a11 0%, #111a11df 18%, #111a11aa 42%, #111a1129 78%), linear-gradient(0deg, #101710 0%, transparent 36%); }
  .hero-caption { inset: auto 12px 12px auto; padding: 6px 10px; }
  .hero-caption strong { font-size: .93rem; }
  .catalog { margin-top: 37px; padding-bottom: 52px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; margin-bottom: 18px; }
  .search-control { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 28px); }
  .hero { min-height: 465px; align-items: end; border-radius: 12px; }
  .hero-art { background: radial-gradient(ellipse at 79% 28%, #215321, #18281a 55%, #111811 80%); }
  .hero-art img { width: 94%; height: 81%; right: -17%; object-fit: contain; object-position: center top; mask-image: radial-gradient(ellipse 67% 74% at 50% 39%, black 45%, transparent 83%); }
  .hero-art::after { background: linear-gradient(0deg, #111a11 0%, #111a11 23%, #111a11dd 37%, #111a111c 65%, transparent 88%), linear-gradient(90deg, #111a11a8, transparent 69%); }
  .hero-orbit { width: 365px; inset: -30px -118px auto auto; }
  .hero-content { padding: 21px 16px 20px; }
  .hero-title { width: clamp(110px, 33vw, 142px); margin-top: 5px; }
  .hero-lead { margin-top: 4px; font-size: 1.06rem; }
  .desktop-br { display: none; }
  .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-actions > a { padding-inline: 9px; font-size: .79rem; }
  .hero-byline span, .hero-caption .caption-detail { display: none; }
  .hero-caption { inset: auto 10px 190px auto; padding: 5px 8px; }
  .hero-caption span { font-size: .63rem; }
  .catalog-heading { margin-bottom: 14px; }
  .catalog-heading .eyebrow { gap: 7px; font-size: .72rem; letter-spacing: .07em; }
  .catalog-heading .eyebrow > span { width: 16px; flex-shrink: 0; }
  .cards { grid-template-columns: 1fr; }
  .card-body { gap: 9px; }
  .card h3 { font-size: 1.18rem; }
  .filter-bar .icon { left: 9px; width: 17px; height: 17px; }
  .filter-bar .select-chevron { right: 7px; left: auto; }
  input[type="search"], select { padding-left: 32px; }
  select { padding-right: 23px; font-size: .82rem; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; padding-block: 20px; gap: 8px; }
  .footer-inner > span { grid-column: 1 / -1; grid-row: 2; }
  .detail-copy { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.site-header { position: sticky; top: 0; z-index: 3; }
.catalog { scroll-margin-top: 98px; }
@media (max-width: 720px) {
  .catalog { scroll-margin-top: 117px; }
}

.channel-short { display: none; }
@media (max-width: 720px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 480px) {
  .channel-short { display: inline; }
  .channel-long { display: none; }
  .hero-caption span { letter-spacing: .03em; }
  .hero-art img { inset-block-start: 7px; }
  .select-control > .icon:first-child { display: none; }
  .select-control select { padding-left: 9px; }
}

.platforms { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.platform-link { display: inline-flex; align-items: center; min-height: 33px; gap: 4px; padding: 4px 8px; border: 1px solid #415047; border-radius: 5px; color: var(--text); font-size: .78rem; font-weight: 700; }
.platform-link:hover { color: var(--green-soft); border-color: var(--green); }
.platform-link .icon { height: 15px; width: 15px; }
