:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  --paper: #f4f0e9;
  --paper-soft: rgba(244, 240, 233, 0.76);
  --line: rgba(244, 240, 233, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #080808;
}

body {
  color: var(--paper);
  overflow: hidden;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.poster,
.film,
.veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.poster {
  z-index: -4;
  background: #080808 url("/assets/poster.jpg") center / cover no-repeat;
  transform: scale(1.01);
}

.film {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.04) brightness(0.82);
}

.veil {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, transparent 26%),
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.67) 100%),
    radial-gradient(circle at center, transparent 15%, rgba(0, 0, 0, 0.24) 100%);
  pointer-events: none;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(24px, 3.2vw, 52px);
}

.wordmark {
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.statement {
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
}

h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7.2vw, 118px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.93;
  text-wrap: balance;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.42);
}

h1 span {
  display: block;
  font-style: italic;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 560px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 0 clamp(24px, 3.2vw, 52px);
  padding: 24px 0 clamp(24px, 3.2vw, 48px);
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 58ch;
  margin: 0;
  color: var(--paper-soft);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.contact {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid rgba(244, 240, 233, 0.58);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.16);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.contact span {
  font-size: 16px;
  line-height: 1;
}

.contact:hover,
.contact:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: #111;
  transform: translateY(-2px);
}

.contact:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .film {
    object-position: 51% center;
  }

  .statement {
    align-items: center;
    padding: 24px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(48px, 15vw, 74px);
    line-height: 0.92;
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 18px;
  }

  .footer p {
    max-width: 44ch;
  }

  .contact {
    width: 100%;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .masthead {
    padding-block: 20px;
  }

  h1 {
    font-size: clamp(40px, 8vw, 72px);
  }

  .footer {
    padding-block: 18px;
  }
}

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

  .contact {
    transition: none;
  }
}
