@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/assets/barlow-semi-condensed-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f6f2eb;
  --ink: #1c1820;
  --muted: #58515a;
  --line: #c9c0bf;
  --accent: #a61956;
  --accent-hover: #861344;
  --dark: #201921;
  --pale-pink: #f4e3e7;
  --white: #fffaf6;
  --heading: "katarine-web", "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --gutter: clamp(24px, 5vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
}

main, section, #top { scroll-margin-top: 20px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid #126a91;
  outline-offset: 5px;
}

.frame {
  width: min(100% - var(--gutter) * 2, 1440px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset: 12px auto auto 12px;
  transform: translateY(calc(-100% - 24px));
  z-index: 3;
  padding: 10px 14px;
  background: var(--white);
}

.skip-link:focus { transform: none; }

.site-header, .site-footer {
  min-height: 77px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 26px;
}

.site-header { border-bottom: 1px solid var(--line); }

.wordmark {
  font: 700 1.3rem/1.05 var(--heading);
  text-decoration: none;
}

.site-header nav, .site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(16px, 3vw, 42px);
}

.site-header nav a, .site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.site-header nav a { font-size: .9375rem; }
.site-header a:hover, .site-footer a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(26px, 4vw, 68px);
  padding-block: clamp(40px, 6vw, 90px);
}

.hero-copy { align-self: center; }

.eyebrow {
  font: 700 .8125rem/1.4 var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-label { color: var(--accent); margin-bottom: 20px; }

.hero h1 {
  font: 700 clamp(4.5rem, 8.8vw, 10.1rem)/.83 var(--heading);
  letter-spacing: -.047em;
  margin-left: -.035em;
}

.hero h1 span { color: var(--accent); }

.hero-intro {
  max-width: 28ch;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.46vw, 1.32rem);
  line-height: 1.46;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 19px;
  margin-top: 26px;
}

.hero-actions p { font-size: .875rem; color: var(--muted); white-space: nowrap; }
.hero-actions p span { padding-inline: .25em; }

.hero-image {
  position: relative;
  min-height: clamp(345px, 38vw, 620px);
  overflow: hidden;
  background: #304050;
}

.hero-image img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 39% center;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.button-accent { background: var(--accent); color: #fff; }
.button-accent:hover { background: var(--accent-hover); }
.button-outline { border-color: currentColor; }
.button-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.play-icon {
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

h2 {
  font: 700 clamp(2.45rem, 4.5vw, 4.75rem)/.95 var(--heading);
  letter-spacing: -.035em;
}

.film-section { background: var(--dark); color: var(--white); }
.film-section :focus-visible { outline-color: #ffadd2; }

.film-inner { padding-block: clamp(42px, 6vw, 84px); }

.film-intro {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px clamp(26px, 4vw, 68px);
  margin-bottom: clamp(28px, 4vw, 54px);
}

.film-intro p { max-width: 58ch; }

.player {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  background: #141015;
}

.player-cover, .player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-cover {
  display: grid;
  place-items: center;
  overflow: hidden;
  text-decoration: none;
}

.player-cover img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #23182337;
}

.player-button {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 22px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.player-button .play-icon { color: var(--accent); }
.player-cover:hover .player-button { background: var(--pale-pink); }

.watch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  margin-top: 10px;
}

.watch-links a { display: inline-flex; min-height: 44px; align-items: center; }

.section {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1fr);
  gap: 32px clamp(26px, 4vw, 68px);
  padding-block: clamp(48px, 7vw, 104px);
}

.section-lead p {
  margin: 20px 0;
  max-width: 32ch;
}

.section-body { min-width: 0; }
.festival-list { list-style: none; margin: 13px 0 0; padding: 0; }

.festival-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 5px 16px;
  align-items: center;
  padding-block: 4px;
  border-top: 1px solid var(--line);
}

.festival-list li:last-child { border-bottom: 1px solid var(--line); }
.festival-list a { display: flex; min-height: 44px; align-items: center; }
.festival-list span { color: var(--muted); font-size: .875rem; }

.archive { margin-top: 10px; }
.archive summary { min-height: 44px; padding-block: 9px; cursor: pointer; font-weight: 700; }
.archive summary:hover { text-decoration: underline; text-underline-offset: .23em; }
.archive ul { margin: 6px 0 0; padding-left: 20px; }
.archive li { margin-bottom: 6px; }

.film-stills {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(8px, 1.5vw, 22px);
}

.film-stills img {
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.aphasia p { max-width: 57ch; }
.resource-links { margin: 14px 0 0; padding: 0; list-style: none; }
.resource-links a { display: inline-flex; min-height: 44px; align-items: center; }

.press-section { background: var(--pale-pink); }
.press-inner { align-items: center; }

.credits {
  display: flex;
  gap: 16px;
  flex-direction: column;
  margin-block: 26px;
}

.credits dt { color: var(--muted); font-size: .875rem; }
.credits dd { font-weight: 700; }

.press-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 22px;
  max-width: 510px;
}

.press-links a { display: inline-flex; min-height: 44px; align-items: center; }
.press-links .button { min-height: 48px; }
.press-links span { font-weight: 400; }
.poster { width: min(100%, 340px); justify-self: center; }

.site-footer {
  padding-block: 12px;
  min-height: 92px;
}

@media (max-width: 1000px) {
  .festival-list li { grid-template-columns: 1fr; gap: 0; padding-block: 5px 10px; }
  .festival-list a { min-height: 40px; }
}

@media (max-width: 760px) {
  .site-header { padding-top: 14px; padding-bottom: 3px; }
  .site-header, .site-footer { min-height: 0; }

  .hero, .section, .film-intro { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 35px; gap: 28px; }
  .hero h1 { font-size: clamp(4.15rem, 14vw, 6.65rem); }
  .hero-intro { margin-top: 20px; }
  .hero-actions { margin-top: 20px; }

  .hero-image { width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); min-height: 0; aspect-ratio: 1.6; }
  .hero-image img { object-position: 39% 54%; }

  .film-intro, .section { gap: 18px; }
  .film-stills { grid-template-columns: 1fr 1fr; }
  .poster { justify-self: start; width: min(100%, 270px); }
  .press-inner { gap: 30px; }
}

@media (max-width: 400px) {
  :root { --gutter: 19px; }
  .site-header { row-gap: 0; }
  .site-header nav { gap: 0 17px; }
  .watch-links { column-gap: 20px; }
}
