@font-face {
  font-family: Geist;
  src: url('/assets/geist-latin.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: Tamrin;
  src: url('/assets/tamrin-italic.otf') format('opentype');
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Geist, system-ui, sans-serif;
  background: #100e0e;
  color: #f5efe6;
  --muted: #c2b6ab;
  --line: #423632;
  --accent: #a62c28;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 2px solid #ffb58f; outline-offset: 4px; }

.shell { width: min(1320px, calc(100% - clamp(2rem, 9vw, 10rem))); margin-inline: auto; }
.masthead, .footer, .theater-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.masthead { min-height: 5.6rem; }
.studio { font-size: .875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; }
.quiet-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--muted);
  font-size: .875rem;
  text-underline-offset: .24em;
  text-decoration: underline;
  text-decoration-color: #85756d;
}
.quiet-link:hover { color: #fff; text-decoration-color: currentColor; }

.screening {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  min-height: min(66vh, 680px);
  border: 1px solid var(--line);
  background: #191414;
}
.feature { isolation: isolate; position: relative; display: grid; align-items: end; overflow: hidden; min-height: 32rem; }
.feature img, .feature::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature img { object-fit: cover; object-position: 70% center; z-index: -2; }
.feature::after {
  content: '';
  z-index: -1;
  background: linear-gradient(0deg, #110d0cee 0%, #16100d86 35%, transparent 72%),
    linear-gradient(90deg, #110d0c66, transparent 80%);
}
.feature-copy { padding: clamp(1.4rem, 4.3vw, 4.25rem); }
.credit, .runtime { color: #eee1d5; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; }
.credit { margin: 0 0 .9rem; }
.runtime { margin: 1rem 0 0; }
h1, h2, p { overflow-wrap: anywhere; }
h1 {
  font: italic 400 clamp(3rem, 8vw, 7.5rem)/.84 Tamrin, Georgia, serif;
  letter-spacing: -.035em;
  margin: 0;
}

.account { display: grid; align-items: center; padding: clamp(1.35rem, 3.6vw, 3.6rem); border-left: 1px solid var(--line); }
.account-inner { width: 100%; max-width: 27rem; }
.section-label {
  margin: 0 0 1rem;
  color: #f4a58f;
  font-size: .875rem;
  text-transform: uppercase;
  font-weight: 650;
  letter-spacing: .13em;
}
h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.65rem); letter-spacing: -.045em; line-height: 1.08; }
.description { margin: .85rem 0 1.6rem; color: var(--muted); line-height: 1.5; }
form, .account-actions { display: grid; gap: .7rem; }
label { font-size: .875rem; font-weight: 600; }
input {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .8rem;
  border: 1px solid #76635a;
  border-radius: .18rem;
  background: #120e0e;
  color: inherit;
}
input::placeholder { color: #a79890; }
.primary {
  min-height: 3.1rem;
  padding: .65rem 1rem;
  border: 1px solid #ca5347;
  border-radius: .18rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.primary:hover:not(:disabled) { background: #b5352e; }
.inline-links { display: flex; justify-content: space-between; gap: .6rem; margin-top: .3rem; flex-wrap: wrap; }
.account-actions > .quiet-link { justify-self: start; margin-top: .45rem; }
.status { margin: .95rem 0 0; color: #f6b5a4; line-height: 1.45; }
.status:empty { margin: 0; }
.footer { justify-content: flex-start; min-height: 4.5rem; gap: 1.75rem; }

.theater { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.theater-header { margin-bottom: 1rem; }
.theater-header h2 { font-size: clamp(1.35rem, 3vw, 2.2rem); }
.player { aspect-ratio: 16 / 9; margin-inline: auto; max-width: min(100%, 125vh); background: #000; }
.player video { width: 100%; height: 100%; display: block; object-fit: contain; }
.player-help { color: var(--muted); font-size: .875rem; }
.player-help button { font-size: inherit; }

@media (max-width: 760px) {
  .masthead { min-height: 4rem; }
  .studio { letter-spacing: .055em; }
  .screening { grid-template-columns: 1fr; }
  .feature { min-height: clamp(16rem, 61vw, 26rem); }
  .feature img { object-position: 62% center; }
  h1 { font-size: clamp(3rem, 11vw, 5.25rem); }
  .account { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 390px) {
  .masthead, .theater-header { align-items: flex-start; flex-direction: column; justify-content: center; gap: .45rem; }
}
