@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #121212;
  --white: #fff;
  --blue: #0071e3;
  --gutter: clamp(20px, 4.5vw, 80px);
  --header-height: 68px;
  --header-gutter: clamp(18px, 1.8vw, 36px);
}

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

html { scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 16px/1.5 Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure { margin: 0; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 3px solid #55aaff; outline-offset: 4px; }
main:focus { outline: 0; }

.skip-content {
  position: fixed;
  z-index: 100;
  top: 7px;
  left: var(--header-gutter);
  padding: 8px 16px;
  color: #000;
  background: var(--white);
  transform: translateY(-160%);
}
.skip-content:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding-inline: var(--header-gutter);
  color: var(--white);
  background: #000;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}
.site-header a { text-decoration: none; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 32px); }
.desktop-nav > a, .mobile-menu nav > a, .brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.desktop-nav > a, .mobile-menu nav > a { color: #eee; }
.brand { justify-self: center; }
.brand img { width: clamp(160px, 14.25vw, 206px); height: auto; }
.header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 18px;
  color: var(--white);
  background: var(--blue);
  white-space: nowrap;
}
.header-cta::before { position: absolute; inset: -6px 0; content: ""; }
.mobile-menu { display: none; }
@media (hover: hover) {
  .desktop-nav a:hover, .mobile-menu nav a:hover { text-decoration: underline; }
  .header-cta:hover { background: #005ebf; }
}

.film {
  --film-edge: clamp(24px, 2.8vw, 54px);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  min-height: 375px;
  padding-inline: 16px;
  color: var(--white);
  background: #282828;
}
.film-image, .film-image img, .film-video, .film::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.film-image { z-index: -3; }
.film-image img, .film-video { object-fit: cover; }
.film-video { z-index: -2; opacity: 0; }
.film.has-frame .film-video { opacity: 1; }
.film::before {
  z-index: -1;
  content: "";
  background: linear-gradient(to bottom, rgb(0 0 0 / 12%) 0%, rgb(0 0 0 / 13%) 22%, rgb(0 0 0 / 54%) 49%, rgb(0 0 0 / 35%) 66%, rgb(0 0 0 / 77%) 100%);
  pointer-events: none;
}
.film-intro { position: relative; text-align: center; }
#film-heading {
  position: absolute;
  inset-inline: 0;
  bottom: calc(100% + clamp(16px, 2.6vw, 38px));
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}
.film-choices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .22em;
  font: 400 clamp(2rem, 5.84vw, 5.5rem)/1 "Hoefler Text", Georgia, serif;
}
.film-choices a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: max(44px, 1em);
  text-decoration: none;
}
.film-choices img { width: auto; height: .643em; max-width: none; }
.film-choices span { color: #e5e2de; font-size: .77em; }
.film-choices a:focus-visible { outline-color: currentColor; }
@media (hover: hover) {
  .film-choices a:hover { opacity: .78; }
}
.film-caption, .film-enquiry {
  position: absolute;
  bottom: max(var(--film-edge), env(safe-area-inset-bottom));
}
.film-caption {
  left: var(--film-edge);
  width: min(40ch, calc(50% - var(--film-edge) - 168px));
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}
.film-caption strong { display: block; margin-bottom: .35em; font-weight: 650; }
.film-enquiry {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.film-enquiry {
  left: 50%;
  width: max-content;
  gap: 18px;
  padding: 7px 8px 7px 22px;
  border-radius: 40px;
  background: rgb(72 72 72 / 85%);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transform: translateX(-50%);
}
.film-enquiry-prompt {
  max-width: 15ch;
  font-size: 12px;
  line-height: 1.35;
  text-wrap: balance;
}
.film-enquiry-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 21px;
  border-radius: 30px;
  color: var(--white);
  background: #080808;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
@media (hover: hover) {
  .film-enquiry:hover .film-enquiry-label { background: #202020; text-decoration: underline; }
}

@media (max-width: 900px) {
  .film-caption { width: min(39ch, calc(50% - var(--film-edge) - 92px)); }
  .film-enquiry { padding: 5px; }
  .film-enquiry-prompt { display: none; }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .site-header { grid-template-columns: 1fr auto auto; column-gap: 8px; }
  .desktop-nav { display: none; }
  .brand { justify-self: start; }
  .brand img { width: clamp(107px, 34vw, 145px); }
  .header-cta { padding-inline: 13px; }
  .mobile-menu { display: block; margin-right: -10px; }
  .mobile-menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .mobile-menu .menu-cross, .mobile-menu[open] .menu-bars { display: none; }
  .mobile-menu[open] .menu-cross { display: block; }
  .mobile-menu nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 5px var(--header-gutter) 14px;
    border-top: 1px solid #303030;
    background: #000;
    font-size: 16px;
  }
  .film { --film-edge: 20px; }
  .film { min-height: 440px; }
  .film-choices { font-size: clamp(1.75rem, 8.72vw, 3.4rem); }
  #film-heading { bottom: calc(100% + 34px); }
  .film-caption {
    width: min(40ch, calc(100% - 2 * var(--film-edge)));
    bottom: clamp(86px, 16svh, 140px);
  }
  .film::before {
    background: linear-gradient(to bottom, rgb(0 0 0 / 12%) 16%, rgb(0 0 0 / 53%) 45%, rgb(0 0 0 / 54%) 58%, rgb(0 0 0 / 50%) 76%, rgb(0 0 0 / 77%) 100%);
  }
}

@media (orientation: landscape) and (max-height: 480px) {
  :root { --header-height: 52px; }
  .film { --film-edge: 14px; min-height: 285px; }
  .film-intro { margin-bottom: 38px; }
  .film-choices { font-size: clamp(2rem, 5vw, 3.5rem); }
  #film-heading { bottom: calc(100% + 4px); font-size: 1rem; }
  .film-caption {
    width: min(38ch, calc(50% - 42px));
    bottom: var(--film-edge);
  }
  .film-enquiry { left: auto; right: var(--film-edge); transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .film-video { display: none; }
}
