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

:root {
  color-scheme: dark;
  --bg: #100f13;
  --surface: #1a181e;
  --surface-raised: #222026;
  --paper: #f5f0e8;
  --muted: #c1b9b3;
  --gold: #efbc66;
  --gold-light: #fbd596;
  --line: #423742;
  --ink: #21160c;
  --body: "DM Sans", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", var(--body);
  --shell: min(1232px, calc(100% - 88px));
  --header: 75px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 21px); }
body { margin: 0; background: var(--bg); color: var(--paper); font: 16px/1.6 var(--body); }
a { color: inherit; }
a:hover { color: var(--gold); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: #100f13; }
.header-row { min-height: calc(var(--header) - 1px); display: flex; align-items: center; gap: clamp(17px, 3vw, 48px); }
.brand { display: flex; align-items: center; margin-right: auto; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 43px; height: 43px; object-fit: contain; border-radius: 50%; }
html:has(> body:is(.home-page, .movie-nights-page)) { --header: 112px; --logo-size: 100px; }
:is(.home-page, .movie-nights-page) .brand img { width: var(--logo-size); height: var(--logo-size); }
.brand span { display: grid; color: var(--paper); font: 700 20px/.91 var(--display); text-transform: uppercase; letter-spacing: .045em; }
.brand span b { color: var(--gold); font-weight: inherit; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 29px); }
.site-nav a { text-decoration: none; font-size: .85rem; font-weight: 650; white-space: nowrap; }
.site-nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 45px; padding: 9px 18px; text-decoration: none; border: 1px solid var(--gold); color: var(--ink); background: var(--gold); font-size: .89rem; font-weight: 700; line-height: 1.25; }
.button:hover { background: var(--gold-light); color: var(--ink); border-color: var(--gold-light); }
.button.alt { background: transparent; color: var(--paper); border-color: #71645e; }
.button.alt:hover { color: var(--gold-light); border-color: var(--gold-light); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-light); font-size: .91rem; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.arrow { font-size: 1.22em; line-height: 1; }
.kicker { margin: 0; color: var(--gold); font-size: .73rem; letter-spacing: .19em; font-weight: 700; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .98; margin: 0; }
h1 { font-size: clamp(3rem, 7.2vw, 7rem); }
h2 { font-size: clamp(2.25rem, 5vw, 4.4rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
p { overflow-wrap: break-word; }

.home-stage { position: relative; isolation: isolate; overflow: hidden; background: #20191c; border-bottom: 1px solid #59403b; }
.stage-photo { z-index: -2; position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.home-stage::after { z-index: -1; position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,#130e16 0%,rgba(19,14,22,.87) 24%,rgba(19,14,22,.39) 54%,rgba(19,14,22,.02) 78%),linear-gradient(0deg,#171017 0%,transparent 55%,rgba(35,16,20,.22) 100%); }
.stage-frame { min-height: clamp(480px, 45vw, 655px); position: relative; display: grid; align-content: center; padding-block: 63px 101px; }
.stage-frame::before { content: ""; position: absolute; inset: 27px 0 27px; z-index: -1; border-top: 1px solid #ffffff38; border-bottom: 1px solid #ffffff38; pointer-events: none; }
.stage-frame .kicker { margin-bottom: 14px; }
.stage-frame h1 { font-size: clamp(6rem, 11.1vw, 11rem); line-height: .81; letter-spacing: -.028em; text-transform: uppercase; }
.stage-frame h1 span { display: block; color: var(--gold); }
.stage-frame .intro { margin: 24px 0 21px; max-width: 380px; color: #f2e7dd; font-size: clamp(1.02rem, 1.65vw, 1.25rem); line-height: 1.46; }
.stage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.location { position: absolute; inset: auto 0 41px auto; margin: 0; font-size: .7rem; text-align: right; text-transform: uppercase; font-weight: 650; letter-spacing: .15em; color: #f6e7d5; }
.festival-strip { border-bottom: 1px solid var(--line); background: #19151a; }
.strip-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.strip-grid a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 106px; padding: 14px 10px; border-left: 1px solid var(--line); text-align: center; text-decoration: none; font-weight: 650; font-size: .85rem; }
.strip-caption { position: absolute; inset: auto 5px 6px; font-size: .76rem; }
.strip-grid a:last-child { border-right: 1px solid var(--line); }
.strip-grid img { height: 56px; width: auto; object-fit: contain; }
.strip-grid .arrow { display: none; }
.home-block { padding: clamp(52px,7vw,98px) 0; }
.home-block + .home-block { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 13px 24px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head .kicker { margin-bottom: 8px; }
.home-winners { display: flex; align-items: center; justify-content: space-between; gap: 20px 37px; padding: clamp(24px,4vw,50px); border: 1px solid #615044; background: linear-gradient(115deg,#30212b,#20191e 66%,#21191b); }
.home-winners p { max-width: 500px; margin: 13px 0 0; color: var(--muted); }
.home-winners .button { flex: 0 0 auto; }
.home-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.home-features .story-card figure { background: var(--surface); }
.home-features figure::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 57%, var(--surface) 100%); pointer-events: none; }
.home-screening { display: grid; grid-template-columns: 1.12fr .88fr; align-items: stretch; border: 1px solid var(--line); background: var(--surface); }
.home-screening .screening-copy { align-content: center; padding: clamp(25px,4vw,56px); }
.screening-copy .kicker { margin-bottom: 11px; }
.screening-copy p:not(.kicker) { color: var(--muted); }
.home-screening img { height: 100%; width: 100%; object-fit: cover; aspect-ratio: 2/1; }

.page-heading { padding: clamp(39px,6vw,83px) 0 clamp(29px,5vw,58px); background: radial-gradient(ellipse at 76% -18%,#422735,transparent 58%), linear-gradient(125deg,#211921,#17141a 63%); border-bottom: 1px solid var(--line); }
.page-heading .kicker { margin-bottom: 10px; }
.page-heading h1 { max-width: 950px; }
.page-heading p:last-child:not(.kicker) { max-width: 710px; margin: 15px 0 0; color: var(--muted); }
.inner { padding-block: clamp(29px,5.5vw,68px) clamp(60px,8vw,110px); }
.breadcrumb { margin-bottom: 32px; }

.year-block + .year-block { margin-top: 43px; }
.year-block h2 { margin-bottom: 17px; font-size: 2.55rem; }
.edition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.edition-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.edition-grid .arrow { color: var(--gold); }
.edition-grid a:hover { border-color: var(--gold); }
.best-results, .winner-results { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 24px; }
.best-results { grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); }
.winner-card { padding: 20px; border: 1px solid var(--line); background: var(--surface); overflow-wrap: anywhere; }
.best-results .winner-card { border-color: #6c5340; background: linear-gradient(120deg,#382632,#231c22); }
.winner-card p { margin: 2px 0; line-height: 1.43; }
.winner-card .award { font-size: .84rem; color: var(--gold-light); font-weight: 700; }
.winner-card .work { margin-block: 5px; color: var(--paper); font-size: 1.12rem; font-weight: 700; }
.winner-card .credit { color: var(--muted); font-size: .9rem; }
.winner-group-note { margin: 28px 0 13px; color: var(--muted); }
.winner-card.note { grid-column: 1/-1; border: 0; background: none; padding: 0; color: var(--muted); font-style: italic; }
.download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; max-width: 820px; padding: 25px; border: 1px solid var(--line); background: var(--surface); }
.download h2 { font-size: 2rem; }

.story-tools { display: grid; grid-template-columns: minmax(200px, 500px) auto; gap: 13px 26px; align-items: end; margin-bottom: 13px; }
.search-label { display: block; color: var(--muted); margin-bottom: 5px; font-size: .84rem; font-weight: 700; }
.search { min-height: 50px; width: 100%; padding: 10px 13px; color: var(--paper); border: 1px solid #665760; background: var(--surface); border-radius: 0; }
.search::placeholder { color: #bfb2b6; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { min-height: 46px; padding: 8px 14px; border: 1px solid #665760; background: transparent; color: var(--paper); font-size: .88rem; }
.filters button[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 700; }
.filters button:hover { border-color: var(--gold); }
.result-count { color: var(--muted); font-size: .87rem; margin: 0 0 20px; }
.story-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.story-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.story-card:hover { color: var(--paper); border-color: #ac8155; }
.story-card figure { position: relative; overflow: hidden; margin: 0; aspect-ratio: 1.65; background: linear-gradient(145deg,#4e303c,#25202b); }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.story-card:hover img { transform: scale(1.045); }
.story-card-copy { padding: 16px 17px 19px; }
.story-card-copy .kicker { margin-bottom: 6px; }
.story-card-copy h2, .story-card-copy h3 { font-size: clamp(1.42rem, 2.4vw, 2.04rem); line-height: 1.03; overflow-wrap: anywhere; }
.story-card-copy p:not(.kicker) { margin: 8px 0 0; color: var(--muted); font-size: .87rem; line-height: 1.42; }
.story-card .arrow { display: block; margin-top: 13px; color: var(--gold); }
.contents { background: var(--surface); border: 1px solid var(--line); padding: 16px 21px; margin-bottom: 35px; }
.contents summary { cursor: pointer; font-weight: 700; }
.contents ul { columns: 2; padding-left: 20px; margin-bottom: 1px; }
.contents li { break-inside: avoid; padding-block: 3px; }
.contents a { color: var(--muted); text-underline-offset: 3px; }
.story { max-width: 910px; margin-inline: auto; padding: 0 0 42px; }
.story + .story { border-top: 1px solid var(--line); padding-top: 40px; }
.story > header { margin-bottom: 15px; }
.story > header .kicker { margin-bottom: 6px; }
.story figure { margin: 0 0 19px; }
.story figure img { width: 100%; max-height: 550px; object-fit: contain; background: #1a161c; }
.story-section { margin-bottom: 24px; }
.story-intro { margin: 0 0 15px; color: var(--paper); max-width: 720px; font-size: 1.08rem; }
.story-body { max-width: 720px; margin-inline: auto; padding-inline: 0; }
.story-body p:first-child { margin-top: 0; }
.story-body p:last-child { margin-bottom: 0; }
.story-body a, .prose a { color: var(--gold-light); overflow-wrap: anywhere; text-underline-offset: 3px; }
.story-extra { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.story-extra figure { margin: 0; }
.story iframe { display: block; border: 0; margin: 0 auto 22px; width: 100%; aspect-ratio: 16/9; background: #18141b; }
.anchor-point { display: block; }

.feature-layout { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,.87fr); gap: clamp(24px,5vw,75px); align-items: center; }
.feature-layout > img { width: 100%; max-height: 570px; object-fit: contain; background: #20191f; }
.feature-copy .kicker { margin-bottom: 10px; }
.feature-copy p:not(.kicker) { color: var(--muted); }
.feature-copy .button { margin-top: 7px; }
.terms-grid, .shop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(16px,2.5vw,31px); overflow: hidden; }
.panel h2 { font-size: 2rem; }
.panel li { margin-bottom: 5px; }
.panel ul { padding-left: 20px; }
.category-section { margin-block: 45px 26px; }
.category-list { columns: 3; column-gap: 32px; padding-left: 22px; }
.category-list li { break-inside: avoid; padding-bottom: 4px; }
.prose { max-width: 760px; }
.prose p { color: var(--muted); }
.shop-grid .panel { display: flex; align-items: flex-start; flex-direction: column; }
.shop-grid img { width: calc(100% + 2 * clamp(16px,2.5vw,31px)); max-width: none; margin: calc(-1 * clamp(16px,2.5vw,31px)) calc(-1 * clamp(16px,2.5vw,31px)) 17px; aspect-ratio: 2; object-fit: cover; }
.shop-grid .button { margin-top: auto; }
.contact-card { max-width: 670px; }
.contact-card .stage-actions { margin-top: 19px; }

.site-footer { background: #161318; border-top: 1px solid var(--line); }
.footer-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 24px; align-items: start; padding-block: 40px 29px; }
.footer-row p { margin: 12px 0 0; color: var(--muted); font-size: .85rem; }
.footer-links { display: grid; gap: 7px; justify-items: start; }
.footer-links a { text-decoration: none; font-size: .89rem; }
.footer-bottom { border-top: 1px solid var(--line); margin: 0; padding-block: 15px 23px; color: var(--muted); font-size: .8rem; }

@media (max-width: 1040px) {
  .header-row { gap: 17px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: .79rem; }
  .story-grid { grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 861px) and (max-width: 960px) {
  html:has(> body:is(.home-page, .movie-nights-page)) { --shell: calc(100% - 40px); }
  :is(.home-page, .movie-nights-page) .header-row { gap: 8px; }
  :is(.home-page, .movie-nights-page) .site-nav { gap: 8px; }
  :is(.home-page, .movie-nights-page) .site-nav a { font-size: .76rem; }
  :is(.home-page, .movie-nights-page) .brand { gap: 8px; }
  :is(.home-page, .movie-nights-page) .brand span { font-size: 16px; }
  :is(.home-page, .movie-nights-page) .header-submit { padding-inline: 9px; gap: 10px; }
}
@media (max-width: 860px) {
  :root { --shell: calc(100% - 48px); --header: 65px; }
  .header-submit { order: 2; margin-left: auto; }
  .header-row .brand { margin-right: 0; }
  .nav-toggle { order: 3; display: inline-flex; align-items: center; justify-content: center; min-height: 43px; gap: 7px; font-weight: 700; border: 1px solid var(--line); background: transparent; color: var(--paper); padding: 0 10px; }
  .site-nav { order: 4; display: none; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); padding: 8px 24px 15px; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 9px 4px; font-size: .95rem; }
  .site-nav a + a { border-top: 1px solid var(--line); }
  .terms-grid, .shop-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  :root { --shell: calc(100% - 36px); --header: 60px; }
  .header-row { gap: 7px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  html:has(> body:is(.home-page, .movie-nights-page)) { --header: 90px; --logo-size: 78px; }
  .brand span { font-size: 16px; }
  .header-submit { padding-inline: 10px; min-height: 39px; gap: 6px; font-size: .79rem; }
  .nav-toggle { min-height: 39px; padding-inline: 8px; font-size: .79rem; }
  .stage-frame { min-height: 510px; padding-block: 53px 157px; align-content: start; }
  .stage-frame::before { inset-block: 18px; }
  .stage-frame h1 { font-size: clamp(4rem,16vw,7rem); }
  .stage-frame .kicker { font-size: .65rem; margin-bottom: 15px; }
  .stage-frame .intro { margin-block: 19px; max-width: 325px; }
  .stage-photo { object-fit: cover; height: 57%; inset: auto 0 0; object-position: 51% 55%; }
  .home-stage::after { background: linear-gradient(180deg,#1c151e 30%,#1c151ee0 46%,transparent 75%,#160f18dd 100%); }
  .location { bottom: 29px; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .strip-grid a { min-height: 88px; padding: 9px 6px; font-size: .78rem; }
  .strip-grid a:nth-child(2) { border-right: 1px solid var(--line); }
  .strip-grid a:last-child { grid-column: 1/-1; min-height: 42px; border-top: 1px solid var(--line); }
  .strip-grid img { height: 40px; }
  .home-winners { flex-direction: column; align-items: flex-start; }
  .home-screening, .feature-layout, .terms-grid, .shop-grid, .story-tools { grid-template-columns: 1fr; }
  .feature-layout > img { max-height: 400px; }
  .home-screening img { order: -1; }
  .story-grid, .edition-grid, .winner-results { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .home-features { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
  .story-card-copy, .winner-card { padding: 12px; }
  .story-card-copy p:not(.kicker) { font-size: .78rem; }
  .category-list, .contents ul { columns: 1; }
  .footer-row { grid-template-columns: 1fr 1fr; }
  .footer-row > :first-child { grid-column: 1/-1; }
}
@media (max-width: 350px) {
  .brand span { font-size: 14px; }
  .brand img { width: 29px; height: 29px; }
  html:has(> body:is(.home-page, .movie-nights-page)) { --header: 78px; --logo-size: 66px; }
  :is(.home-page, .movie-nights-page) .site-header .brand span { display: none; }
  .stage-frame h1 { font-size: 15.7vw; }
  .stage-actions { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.original-emphasis { font-weight: 700; }
.original-italic { font-style: italic; }
@media (max-width: 860px) {
  .site-nav { max-height: calc(100dvh - var(--header)); overflow-y: auto; }
}
.contact-email { margin: 0; overflow-wrap: anywhere; font-size: clamp(1.17rem,3vw,1.8rem); }
.contact-email a { color: var(--gold-light); text-underline-offset: .2em; }
.arrow-up { display: inline-block; width: .48em; height: .48em; flex: 0 0 auto; border-top: 1.5px solid; border-right: 1.5px solid; background: linear-gradient(135deg, transparent 43%, currentColor 45% 55%, transparent 57%); }
.menu-icon { width: 12px; height: 7px; flex: 0 0 auto; border-block: 1px solid currentColor; }
