@font-face { font-family: 'Anton'; font-weight: 400; font-display: swap; src: url('/fonts/anton.woff2') format('woff2'); }
@font-face { font-family: 'Epilogue'; font-weight: 100 900; font-display: swap; src: url('/fonts/epilogue.woff2') format('woff2'); }

:root {
  --yellow: #f6d521;
  --black: #000;
  --ink: #1a1a1a;
  --grey: #f5f5f5;
  --body-grey: #444;
  --white: #fff;
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Epilogue', system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.grey :focus-visible, .yellow :focus-visible, .white :focus-visible, .site-header.solid :focus-visible, .site-footer :focus-visible { outline-color: var(--black); }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 4.5vw, 3rem); line-height: 1.05; margin-bottom: 1.5rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 8vw, 6.5rem) 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.grey { background: var(--grey); }
.white { background: var(--white); }
.yellow { background: var(--yellow); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--black); padding: .5rem 1rem; z-index: 200; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 500 .95rem/1 var(--body); text-transform: uppercase; letter-spacing: .04em; padding: 1rem 2.2rem; background: var(--yellow); color: var(--black); border: 2px solid var(--yellow); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--yellow); }
.btn.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn.dark:hover { background: transparent; color: var(--black); }
.btn.outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn.outline:hover { background: var(--black); color: var(--yellow); }
.btn:disabled { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: var(--yellow); }
.site-header.solid { position: sticky; top: 0; background: var(--grey); color: var(--black); border-bottom: 1px solid #e3e3e3; }
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 1.1rem 24px; max-width: 1500px; margin: 0 auto; }
.brand { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; text-decoration: none; letter-spacing: .01em; }
.site-header:not(.solid) .brand { visibility: hidden; }
.site-nav ul { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; text-transform: uppercase; font-size: .9rem; letter-spacing: .02em; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }
.icons { display: flex; justify-content: flex-end; gap: 1rem; }
.icons a { display: inline-flex; }
.icons svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; color: var(--yellow); overflow: hidden; background: #3a2a22; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55)); }
.hero-copy { position: relative; z-index: 1; text-align: center; padding: 0 24px clamp(3rem, 7vh, 5rem); display: grid; justify-items: center; gap: 1rem; }
.hero h1 img { width: min(640px, 86vw); height: auto; }
.hero .byline { width: min(260px, 60vw); height: auto; }
.hero .laurel { width: min(240px, 55vw); height: auto; margin-top: .4rem; }
.hero .meta { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: .4rem 0 0; }

/* Press */
.press-list { list-style: none; margin: 0 auto 3.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: #ddd; border: 1px solid #ddd; }
.press-list a { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.4rem 1.4rem 1.6rem; background: var(--white); text-decoration: none; transition: background .2s; }
.press-list a:hover { background: #fffbe0; }
.press-list .pub { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; }
.press-list .hl { font-size: .95rem; color: var(--body-grey); }
.press-list .meta { margin-top: auto; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #6b6b6b; }

/* Letterboxd */
.lbx { max-width: 760px; margin: 0 auto; }
.lbx-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid #e2e2e2; margin-bottom: 1.4rem; }
.lbx-head .film { display: flex; align-items: center; gap: .9rem; }
.lbx-head .film img { width: 44px; height: 66px; object-fit: cover; border-radius: 3px; }
.lbx-head h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; }
.lbx-head small { color: #6b6b6b; display: block; }
.lbx-score { text-align: right; }
.lbx-score b { font-family: var(--display); font-size: 2.2rem; line-height: 1; font-weight: 400; }
.lbx-score span { display: block; color: #007a31; letter-spacing: 1px; }
.lbx-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: .8rem; }
.lbx-card { scroll-snap-align: start; background: var(--white); border: 1px solid #e6e6e6; padding: 1.1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; text-decoration: none; }
.lbx-card:hover { border-color: #007a31; }
.lbx-card .who { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.lbx-card .av { width: 34px; height: 34px; border-radius: 50%; background: #1f2a36; color: #00e054; display: grid; place-items: center; font-size: .75rem; overflow: hidden; flex: none; }
.lbx-card .av img { width: 100%; height: 100%; object-fit: cover; }
.lbx-card .st { color: #007a31; letter-spacing: 1px; }
.lbx-card q { quotes: none; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.lbx-card .date { margin-top: auto; font-size: .75rem; color: #6b6b6b; }
.lbx-status { text-align: center; color: #6b6b6b; }
.lbx-all { display: block; text-align: center; margin-top: 1rem; font-size: .85rem; color: #555; }

/* Screenings */
.screenings-widget { min-height: 200px; }

/* Synopsis */
.synopsis { position: relative; margin: 0 clamp(0px, 3vw, 48px); overflow: hidden; color: #fff; background: #1d1611; }
.synopsis .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.synopsis::before { content: ""; position: absolute; inset: 0; background: rgba(20,14,10,.45); }
.synopsis .wrap { position: relative; padding-top: clamp(8rem, 18vw, 14rem); padding-bottom: clamp(8rem, 18vw, 14rem); }
.synopsis p { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; max-width: 52rem; margin: 0 auto; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split > .text { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 8vw, 8rem); }
.split > .media { min-height: 420px; position: relative; }
.split > .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement p { font-size: .95rem; color: var(--body-grey); max-width: 34rem; }

.credits { margin: 0; font-size: .9rem; max-width: 30rem; }
.credits div { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid #e3e3e3; }
.credits dt { color: var(--body-grey); }
.credits dd { margin: 0; text-align: right; }

/* Gallery */
.gallery { position: relative; }
.gallery-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(24px, calc((100vw - 1100px) / 2)); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { margin: 0; flex: 0 0 min(1100px, 86vw); scroll-snap-align: center; aspect-ratio: 1500 / 906; background: #111; }
.gallery-track img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.gallery-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--black); background: transparent; cursor: pointer; font-size: 1.2rem; }
.gallery-nav button:hover { background: var(--black); color: var(--yellow); }
.gallery-nav output { font-size: .85rem; min-width: 4.5rem; text-align: center; }

/* Instagram */
.ig-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ig-head h2 { margin: 0; }

/* Footer */
.site-footer { background: var(--yellow); color: var(--black); }
.site-footer .wrap { padding-top: 4rem; padding-bottom: 3rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; align-items: start; }
.site-footer h2 { font-size: 2.4rem; margin-bottom: .6rem; }
.people { font-size: .9rem; display: grid; gap: .3rem; }
.people strong { font-weight: 600; }
.people a { text-decoration: none; }
.people a:hover { text-decoration: underline; }
.partners { display: flex; gap: 2rem; align-items: center; justify-content: flex-end; }
.partners img { height: 90px; width: auto; }
.partners .eastreel { filter: invert(1); height: 70px; }
.footer-legal { grid-column: 1 / -1; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(0,0,0,.15); padding-top: 1.2rem; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 500; }
.form input, .form textarea, .form select { font: inherit; font-size: 1rem; padding: .7rem .2rem; border: 0; border-bottom: 1.5px solid #888; background: transparent; color: inherit; border-radius: 0; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--black); box-shadow: 0 2px 0 var(--black); }
.form .hp { position: absolute; left: -9999px; }
.form [role=status] { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.form [role=status]:empty { display: none; }
.form .ok { color: #156b2a; }
.form .err { color: #a3122a; }
.form .btn { justify-self: start; }
.subscribe { display: flex; gap: .5rem; flex-wrap: wrap; max-width: 26rem; }
.subscribe input { flex: 1 1 12rem; font: inherit; padding: .85rem 1rem; border: 0; background: #fff; }
.subscribe [role=status] { flex-basis: 100%; margin: .2rem 0 0; font-size: .9rem; font-weight: 600; }
.subscribe [role=status]:empty { display: none; }

/* Floating screener button */
.screener-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: .6rem; background: var(--black); color: #fff; text-decoration: none; padding: .85rem 1.2rem; font-size: .95rem; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.screener-fab:hover { background: #222; }
.screener-fab svg { width: 18px; height: 18px; }

/* Video lightbox */
dialog.lightbox { padding: 0; border: 0; background: #000; width: min(94vw, 1200px); aspect-ratio: 16 / 9; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.88); }
dialog.lightbox iframe { width: 100%; height: 100%; border: 0; display: block; }
dialog.lightbox .close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; background: none; color: #fff; font-size: 2rem; cursor: pointer; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 7vw, 7rem); }
.contact-grid h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.05; margin-bottom: 1rem; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > .media { order: 2; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .partners { justify-content: flex-start; grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .lbx-track { grid-auto-columns: 80%; }
}
@media (max-width: 720px) {
  .site-header .bar { grid-template-columns: 1fr auto; row-gap: .6rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; }
  .site-nav ul { gap: 1rem; flex-wrap: wrap; }
  .site-nav a { font-size: .8rem; }
  .site-header:not(.solid) .brand { visibility: visible; color: var(--yellow); }
  .form { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .screener-fab { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
  body { padding-bottom: 76px; }
  .credits div { grid-template-columns: 1fr; gap: 0; }
  .credits dd { text-align: left; font-weight: 500; }
}
