/* 70W Films teaser site. Direction 01 Meridian. */

:root {
  --ink: #111111;
  --ivory: #F2EEE6;
  --brass: #A78B5B;
  --stone: #97938B;

  --font-display: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(6rem, 12vw, 12rem);
  --measure: 24ch;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Type */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.display--center { text-align: center; }

.label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.label--brass { color: var(--brass); }

.rule {
  border: 0;
  height: 1px;
  background: var(--brass);
  margin: 0 0 2.5rem;
  width: 4rem;
}

/* Top bar */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: 64px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
}
.topbar__mark img { width: 56px; height: auto; }
.topbar__nav { display: flex; gap: 2.25rem; }
.topbar__nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 160ms ease;
}
.topbar__nav a:hover { color: var(--ivory); }

section[id], footer[id] { scroll-margin-top: 64px; }

/* Hero */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.9);
  background: var(--ink);
}
/* Square or tall windows: show the whole lockup instead of cropping FILMS. */
@media (max-aspect-ratio: 4/3) {
  .hero__media { object-fit: contain; }
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.6) 28%, rgba(17,17,17,0) 55%);
}
.hero__copy {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1rem;
}
/* The ident mark sits in the centre of the video; keep the headline below it. */
.hero .display {
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  max-width: 28ch;
}
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Statement */

.statement {
  padding: var(--section) var(--gutter);
}
.statement__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  line-height: 1.3;
  max-width: 32ch;
}
.statement__aside {
  margin-top: 2.5rem;
  color: var(--stone);
  max-width: 48ch;
}

/* Slate */

.slate { padding: 0 0 var(--section); }
.slate__label { padding: 0 var(--gutter) 2rem; }

.film { margin-bottom: clamp(3rem, 6vw, 6rem); }
.film:last-child { margin-bottom: 0; }

.film__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.film__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.9);
  transition: transform 1200ms cubic-bezier(.2,.6,.2,1);
}
.film__media:hover img { transform: scale(1.02); }
.film__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.35) 30%, rgba(17,17,17,0) 55%);
}
.film__title {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.film__year {
  font-size: 0.35em;
  letter-spacing: 0.12em;
  color: var(--stone);
}
.film__body {
  padding: 1.5rem var(--gutter) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 3rem;
}
.film__logline {
  color: var(--stone);
  max-width: 60ch;
  margin: 0;
}
.film__meta { color: var(--brass); white-space: nowrap; }

/* Episode still strip */
.film__strip {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}
.film__strip li { display: grid; gap: 0.75rem; }
.film__strip img {
  width: 100%;
  background: #0c0c0c;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(0.9);
}
.film__strip .label { color: var(--stone); margin: 0; transition: color 160ms ease; }
.film__strip li:hover .label { color: var(--ivory); }
.film__ep { color: var(--brass); margin-right: 0.75em; }

/* Notify */

.notify {
  padding: var(--section) var(--gutter);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}
.notify__lede {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--stone);
}
.notify__form {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  width: min(100%, 36rem);
  margin-top: 1rem;
}
.notify__form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--stone);
  color: var(--ivory);
  font: 400 1.125rem/1.4 var(--font-display);
  padding: 0.6rem 0;
  outline: none;
  border-radius: 0;
}
.notify__form input::placeholder { color: var(--stone); opacity: 0.7; }
.notify__form input:focus { border-bottom-color: var(--brass); }
.notify__form button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ivory);
  color: var(--ivory);
  font: 500 0.75rem/1.4 var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.8rem 0;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}
.notify__form button:hover { color: var(--brass); border-bottom-color: var(--brass); }
.notify__done {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--brass);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(151,147,139,0.25);
  padding: 3.5rem var(--gutter) 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer__lockup { display: grid; justify-items: center; gap: 0.6rem; }
.footer__lockup img { width: 120px; height: auto; }
.footer__films {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.44em;
  text-indent: 0.44em;
  color: var(--ivory);
}
.footer__cols { display: flex; gap: clamp(2rem, 6vw, 6rem); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer__list a { color: var(--ivory); }
.footer__list a:hover { color: var(--brass); }
.footer__meta { color: var(--stone); font-size: 0.875rem; }

/* Responsive */

@media (max-width: 768px) {
  .topbar__nav { gap: 1.1rem; }
  .topbar__nav a { font-size: 0.68rem; letter-spacing: 0.14em; }
  .hero__scroll { display: none; }
  .notify__form { flex-direction: column; align-items: stretch; gap: 1.25rem; }
  .notify__form button { align-self: center; }
  .footer { flex-direction: column; }
  .footer__lockup { justify-items: start; }
  .film__body { flex-direction: column; align-items: flex-start; }
  .film__strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .film__strip::-webkit-scrollbar { display: none; }
  .film__strip li { flex: 0 0 72vw; scroll-snap-align: start; }
}

@media (max-width: 480px) {
  .display { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .film__title { font-size: clamp(1.8rem, 9vw, 2.6rem); flex-wrap: wrap; gap: 0.6rem; }
  .footer__cols { flex-direction: column; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film__media img { transition: none; }
}
