@import url("./fonts.css");

:root {
  color-scheme: dark;
  --bg: #100d17;
  --panel: #1c1628;
  --panel-up: #262033;
  --ink: #faf7ff;
  --quiet: #c7bfd0;
  --muted: #a79db3;
  --lime: #dcff69;
  --gold: #e6bc68;
  --stroke: #ffffff1b;
  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;
  --page: min(1430px, calc(100% - 82px));
  --gap: clamp(12px, 1.45vw, 24px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body {
  margin: 0;
  font: 400 15px/1.57 var(--body);
  color: var(--ink);
  background: radial-gradient(ellipse 950px 560px at 87% 8%, #261936 0%, transparent 72%), var(--bg);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1,h2,h3,p { margin: 0; }
ul,ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
::selection { color: var(--bg); background: var(--lime); }
.container { width: var(--page); margin-inline: auto; }
.skip { position: absolute; z-index: 20; top: 12px; left: 12px; background: var(--lime); color: #181b0d; padding: 12px; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.eyebrow { color: var(--muted); font-size: 10.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }

.header { border-bottom: 1px solid var(--stroke); background: #13101bed; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 81px; gap: clamp(14px, 2vw, 35px); }
.logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.logo img { width: 85px; height: auto; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.42vw, 24px); flex: 1 1 auto; }
.desktop-nav a { white-space: nowrap; color: var(--quiet); font-size: clamp(10px, .87vw, 13.5px); font-weight: 600; }
.desktop-nav a[aria-current], .desktop-nav a:hover, .mobile-nav a[aria-current] { color: var(--lime); }
.header-actions { display: flex; gap: 9px; align-items: center; white-space: nowrap; }
.instagram { display: grid; place-items: center; width: 32px; height: 40px; color: var(--quiet); }
.instagram:hover { color: var(--lime); }
.instagram > span { position: relative; display: grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 5px; }
.instagram > span::before { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; }
.instagram > span::after { content: ""; width: 2px; height: 2px; background: currentColor; border-radius: 50%; position: absolute; top: 2px; right: 2px; }
.mobile-toggle { display: none !important; }
.mobile-nav { padding-bottom: 17px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.mobile-nav a { min-height: 42px; padding: 8px 12px; background: var(--panel); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 9px 15px; border: 1px solid #ffffff41; color: var(--ink); background: #ffffff0c; border-radius: 5px; font-size: 13px; font-weight: 750; line-height: 1.3; text-align: center; }
.button:hover { background: #ffffff20; }
.button.primary { background: var(--lime); color: #182006; border-color: var(--lime); }
.button.primary:hover { background: #e9ffac; border-color: #e9ffac; }
.play { display: inline-block; flex: 0 0 auto; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 720; color: var(--lime); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 5px; vertical-align: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.actions:empty { display: none; }

.home { padding-top: clamp(30px, 5vw, 72px); }
.home-title { display: flex; gap: 16px; justify-content: space-between; align-items: end; margin-bottom: 22px; }
.home-title h1 { font: 850 clamp(37px, 5.06vw, 79px)/1.06 var(--display); letter-spacing: -.076em; margin-top: 6px; }
.home-title h1 span { color: var(--ink); }
.home-title .text-link { margin-bottom: 6px; }
.feature { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(282px, 1fr); gap: var(--gap); }
.watch-stage { position: relative; isolation: isolate; min-height: clamp(370px, 33vw, 500px); display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--stroke); overflow: hidden; border-radius: 10px; background: #251b33; }
.watch-photo, .watch-stage::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.watch-photo { object-fit: cover; object-position: 48% 46%; filter: saturate(.96) contrast(1.02); }
.watch-stage::after { content: ""; background: linear-gradient(0deg,#0e0a17 1%,#120b1de6 18%,#140d1f58 58%,#100c1650 100%); }
.watch-top { padding: clamp(13px, 1.7vw, 25px); display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.live-pill, .archive-pill { color: #fff; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 5px 10px; border: 1px solid #ffffff42; background: #150e20db; border-radius: 4px; font-size: 10px; line-height: 1.2; font-weight: 780; letter-spacing: .065em; }
.archive-pill { font-size: 11px; letter-spacing: 0; }
.archive-pill:hover { background: #432f58; }
.watch-copy { padding: 22px clamp(21px, 3.65vw, 58px) clamp(27px, 3vw, 48px); }
.watch-copy .eyebrow { color: #d5c9e1; }
.watch-copy h2 { max-width: 16ch; font: 850 clamp(34px, 4.65vw, 70px)/1.06 var(--display); letter-spacing: -.067em; margin: 8px 0 18px; overflow-wrap: anywhere; }
.watch-copy .button { padding: 12px 17px; }
.guide-card { border-radius: 10px; border: 1px solid var(--stroke); background: linear-gradient(135deg, #231a31, #191424 78%); padding: clamp(17px, 2vw, 31px); display: flex; flex-direction: column; align-items: stretch; }
.guide-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.guide-top h2 { font: 730 clamp(17px, 1.62vw, 24px)/1.16 var(--display); letter-spacing: -.065em; margin-top: 5px; }
.guide-icon { font-size: 28px; color: var(--lime); line-height: 1; }
.guide-list { list-style: none; min-width: 0; }
.slot { display: grid; grid-template-columns: 53px 1fr auto; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--stroke); padding: 10px 5px; font-size: 13px; min-width: 0; }
.slot time { color: var(--quiet); font-variant-numeric: tabular-nums; }
.slot strong { overflow-wrap: anywhere; }
.slot > div > span { display: block; color: var(--muted); font-size: 12px; }
.slot.is-now { color: var(--ink); background: #dcff6913; border-radius: 5px; padding-inline: 8px; }
.slot.is-now time { color: var(--lime); }
.slot-current { align-self: center; color: var(--lime); text-transform: uppercase; font-size: 9px; font-weight: 850; letter-spacing: .055em; }
.guide-link { margin-top: auto; padding-top: 16px; }
.guide-fallback { color: var(--quiet); padding-block: 15px; font-size: 14px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--gap); }
.quick-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 17px; border: 1px solid var(--stroke); border-radius: 8px; background: #21192b; }
.quick-card:hover { border-color: #d8f77981; background: var(--panel-up); }
.quick-card > span:last-child { color: var(--lime); }
.quick-card strong { display: block; line-height: 1.24; }
.quick-card div span { color: var(--quiet); font-size: 12px; }
.quick-icon { display: grid; place-items: center; border-radius: 5px; width: 33px; height: 33px; background: #dcff691a; color: var(--lime); font-size: 19px; }

.section { margin-block: clamp(39px, 6vw, 84px) 0; }
.section-head { display: flex; gap: 12px; align-items: end; justify-content: space-between; margin-bottom: 19px; }
.section-head h2, .school-strip h2, .utility-panel h2 { font: 770 clamp(23px, 3vw, 38px)/1.13 var(--display); letter-spacing: -.062em; }
.cards, .partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
.partner-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cards > div { min-width: 0; }
.media-card { height: 100%; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 8px; border: 1px solid var(--stroke); background: var(--panel); }
.media-card:hover { border-color: #daff6991; }
.card-image { aspect-ratio: 1.8; background: #282038; overflow: hidden; }
.card-image > img, .card-word { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-word { display: grid; place-items: center; background: radial-gradient(at 85% 0, #513765, transparent 61%), #291d37; }
.card-word img { width: clamp(55px, 10vw, 115px); }
.card-copy { padding: 16px 42px 18px 17px; position: relative; flex: 1; }
.card-copy h3 { font: 750 clamp(16px, 1.52vw, 23px)/1.23 var(--body); letter-spacing: -.022em; overflow-wrap: anywhere; margin-top: 5px; }
.card-copy p { color: var(--quiet); font-size: 13px; margin-top: 8px; }
.card-arrow { position: absolute; right: 15px; bottom: 14px; color: var(--lime); }
.award-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.award-panel { display: flex; flex-direction: column; align-items: start; justify-content: end; gap: 12px; min-height: 272px; padding: clamp(18px, 3vw, 38px); border: 1px solid var(--stroke); border-radius: 9px; }
.award-panel h3 { font: 800 clamp(20px, 3.5vw, 49px)/1.04 var(--display); letter-spacing: -.075em; overflow-wrap: anywhere; }
.award-panel .eyebrow { color: var(--gold); }
.award-panel:hover { border-color: var(--gold); }
.ema-panel { background: linear-gradient(0deg,#190e21f0,#1a0b2438),url("./live-poster.webp") center 45% / cover; }
.pro-panel { background: radial-gradient(ellipse at 86% 10%, #68492c 0%,#412d38 39%,#231725 76%); }
.school-strip { display: flex; justify-content: space-between; align-items: center; gap: 17px; border-radius: 8px; border: 1px solid var(--stroke); background: linear-gradient(110deg, #2a1f3d, #181323); padding: clamp(19px,3vw,38px); }
.school-strip h2 { margin-top: 6px; }

.inner { padding-top: clamp(29px, 5vw, 67px); }
.page-intro { margin-bottom: clamp(24px, 4vw, 50px); }
.inner > .text-link:first-child { margin-bottom: 22px; }
.page-intro h1 { max-width: 1110px; font: 820 clamp(29px, 5.16vw, 67px)/1.12 var(--display); letter-spacing: -.067em; overflow-wrap: anywhere; margin: 9px 0 10px; }
.page-intro .intro { max-width: 69ch; font-size: clamp(15px, 1.6vw, 21px); color: var(--quiet); }
.page-intro .actions { margin-top: 21px; }
.page-intro.with-image { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: center; gap: clamp(14px, 4vw, 58px); }
.intro-art { width: 100%; min-height: 200px; height: 100%; max-height: 380px; object-fit: cover; border-radius: 10px; }
.medal { width: min(100%, 290px); aspect-ratio: 1; min-height: 0; height: auto; justify-self: center; object-fit: contain; border-radius: 50%; }
.first-section { margin-top: 0; }
.prose { max-width: 78ch; color: var(--quiet); }
.prose p { white-space: normal; margin-bottom: .9em; }
.prose img { border-radius: 9px; margin-block: 12px 20px; max-height: 500px; object-fit: cover; }
.prose h2, .prose h3 { color: var(--ink); }
.reading { max-width: 880px; }
.reading .page-intro h1 { font-size: clamp(27px, 4vw, 54px); }
.reading .page-intro { margin-bottom: 24px; }
.article-cover { width: 100%; max-height: min(560px, 65vw); object-fit: cover; border-radius: 9px; margin-bottom: 28px; }
.article-end { border-top: 1px solid var(--stroke); padding-top: 16px; margin-top: 30px; }
.about-layout { display: grid; grid-template-columns: minmax(160px, .62fr) minmax(0, 1.8fr); gap: var(--gap); align-items: start; }
.year-panel, .utility-panel, .note { border: 1px solid var(--stroke); background: var(--panel); border-radius: 8px; padding: clamp(17px, 3vw, 31px); }
.year-panel span { color: var(--lime); font: 820 clamp(32px, 5vw, 58px)/1 var(--display); letter-spacing: -.08em; }
.year-panel p { color: var(--quiet); margin-top: 12px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-block: 16px; }
.gallery img { width: 100%; min-height: 110px; max-height: 335px; height: 100%; object-fit: cover; object-position: center; border-radius: 7px; margin: 0; }

.filter-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; justify-content: center; align-items: center; min-height: 38px; background: var(--panel); padding: 6px 12px; border: 1px solid var(--stroke); border-radius: 5px; color: var(--quiet); font-size: 12px; font-weight: 680; }
.chip[aria-pressed="true"] { background: var(--lime); color: #1c2112; border-color: var(--lime); }
.chip:hover { border-color: var(--lime); }
.search { display: inline-flex; position: relative; min-width: min(100%, 252px); }
.search span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.search input { width: 100%; border-radius: 5px; background: #160f21; color: var(--ink); border: 1px solid #ffffff31; padding: 8px 11px; min-height: 40px; }
.search input::placeholder { color: var(--muted); }
.filter-count { color: var(--muted); font-size: 12px; margin-block: 9px 14px; }
.filter-count:empty { margin: 0 0 12px; }
.empty { padding: 13px; background: var(--panel); color: var(--quiet); border-radius: 6px; }
.paginate { margin-top: 20px; justify-content: center; }
.project-screen { position: relative; max-width: 900px; overflow: hidden; isolation: isolate; border-radius: 8px; border: 1px solid var(--stroke); background: var(--panel); }
.project-screen .project-cover { width: 100%; height: clamp(210px, 48vw, 485px); object-fit: cover; }
.project-screen a { position: absolute; inset: auto auto 18px 18px; }
.operator-grid, .contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--gap); align-items: start; }
.operator, .contact, .archive-year { background: var(--panel); border: 1px solid var(--stroke); border-radius: 8px; }
.operator summary, .archive-year summary { cursor: pointer; list-style: none; position: relative; display: block; padding: 17px 42px 17px 18px; }
.operator summary::-webkit-details-marker, .archive-year summary::-webkit-details-marker { display: none; }
.operator summary::after, .archive-year summary::after { content: "+"; color: var(--lime); position: absolute; right: 17px; top: 17px; font-weight: 800; font-size: 20px; }
.operator[open] summary::after, .archive-year[open] summary::after { content: "−"; }
.operator summary h3 { font: 760 19px/1.24 var(--body); margin: 5px 0; }
.operator summary > span:last-of-type, .operator-body p { color: var(--quiet); font-size: 13px; }
.operator-body { padding: 0 18px 18px; overflow-wrap: anywhere; }
.operator-body p { margin-bottom: 9px; }
.operator-body .actions { margin-top: 13px; }
.contact { height: 100%; padding: 19px; }
.contact h2 { font: 750 21px/1.12 var(--body); margin-block: 8px 13px; }
.contact-links { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.footnote { color: var(--muted); font-size: 13px; margin-block: 14px; }
.year-nav { margin-block: 15px; }
.archive-year { margin-bottom: 10px; max-width: 1000px; }
.archive-year summary { display: flex; align-items: center; gap: 13px; }
.archive-year summary span { color: var(--lime); font-weight: 800; }
.archive-year summary h3 { font-size: 17px; }
.year-content { padding: 2px 20px 19px; }
.host-list { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; gap: 8px; }
.host-list li { background: var(--panel); padding: 10px; border-radius: 4px; }
.note strong, .note h3 { display: block; color: var(--lime); margin-bottom: 5px; }
.note p, .utility-panel p { color: var(--quiet); }
.note .button, .utility-panel .button, .utility-panel .text-link { margin-top: 12px; }
.utility-panel { max-width: 1030px; }
.utility-panel h2 { margin-block: 5px 10px; }
.chat-steps { padding-left: 24px; color: var(--quiet); max-width: 69ch; }
.chat-steps li { padding: 9px 0 9px 4px; }
.chat-steps strong { color: var(--ink); }
.chat-steps li::marker { color: var(--lime); font-weight: 850; }
.utility-panel iframe { display: block; width: 100%; height: 740px; border: 1px solid var(--stroke); border-radius: 6px; margin-top: 14px; background: #15101e; }
.full-guide { max-width: 950px; list-style: none; background: var(--panel); border-radius: 8px; padding: 13px 20px; margin-top: 12px; }
.full-guide .slot { grid-template-columns: 66px 1fr auto; font-size: 14px; }

.footer { margin-top: clamp(46px, 7vw, 105px); border-top: 1px solid var(--stroke); background: #130f1b; }
.footer-grid { display: grid; grid-template-columns: .7fr 1.45fr .75fr; gap: clamp(15px, 3vw, 45px); padding-block: 31px; }
.footer-grid p { margin-top: 8px; color: var(--muted); }
.footer-nav nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 8px; }
.footer-grid a { color: var(--quiet); font-size: 13px; }
.footer-grid a:hover { color: var(--lime); }
.footer-watch { display: flex; flex-direction: column; align-items: start; gap: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--stroke); padding-block: 14px; color: var(--muted); font-size: 12px; }

@media (max-width: 1280px) {
  :root { --page: min(1430px, calc(100% - 55px)); }
  .desktop-nav { gap: 12px; }
  .header-inner { gap: 14px; }
  .header-actions .button { padding-inline: 10px; }
}
@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: inline-flex !important; }
  .header-inner { min-height: 69px; }
}
@media (max-width: 760px) {
  :root { --page: calc(100% - 32px); }
  .home-title { align-items: start; flex-direction: column; margin-bottom: 14px; gap: 4px; }
  .feature { grid-template-columns: 1fr; }
  .watch-stage { min-height: clamp(315px, 61vw, 410px); }
  .guide-card { min-height: 0; }
  .quick-card { padding: 10px; grid-template-columns: 1fr auto; gap: 4px; }
  .quick-card strong { font-size: 13px; }
  .quick-card div span { display: none; }
  .quick-icon { display: none; }
  .cards,.partner-grid,.operator-grid,.contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1.6fr; }
  .page-intro.with-image { grid-template-columns: 1fr; }
  .intro-art { max-height: 280px; }
}
@media (max-width: 480px) {
  .mobile-nav { grid-template-columns: repeat(2,minmax(0,1fr)); font-size: 13px; }
  .header-inner { min-height: 62px; }
  .logo img { width: 69px; }
  .header-actions .button { min-height: 40px; font-size: 12px; }
  .header-actions .instagram { display: none; }
  .home-title h1 { font-size: clamp(31px, 8.3vw, 45px); }
  .watch-stage { min-height: 295px; }
  .watch-copy h2 { font-size: clamp(29px, 9.2vw, 47px); }
  .quick { grid-template-columns: 1fr; gap: 7px; }
  .quick-card { grid-template-columns: auto 1fr auto; gap: 10px; min-height: 51px; }
  .quick-icon { display: grid; }
  .quick-card div span { display: block; }
  .section-head { align-items: start; }
  .section-head .text-link { white-space: nowrap; font-size: 11px; }
  .section-head h2 { font-size: 21px; }
  .cards,.partner-grid,.operator-grid,.contact-grid,.award-grid,.about-layout,.footer-grid { grid-template-columns: 1fr; }
  .award-panel { min-height: 213px; }
  .school-strip { align-items: start; flex-direction: column; }
  .gallery,.host-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  a,button,input { transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
}
