@font-face {
  font-family: Saira;
  font-style: italic;
  font-weight: 800;
  src: url("/fonts/saira-italic-800.woff2") format("woff2");
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html, body { background: #000; color: #fff; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.logo {
  font-family: Saira, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
}
.top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  padding: 22px 28px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.2) 42%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}
.copy {
  position: relative;
  z-index: 2;
  padding: 0 28px 64px;
}
h1 {
  font-family: Saira, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.03em;
  max-width: 8em;
}
.sub {
  margin: 14px 0 28px;
  font-size: 1.15rem;
  color: #e6e6e6;
}
.badge img { display: block; width: 162px; height: 54px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.stills {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: #000;
}
.stills img {
  width: 100%;
  height: 26vw;
  max-height: 300px;
  min-height: 140px;
  object-fit: cover;
  display: block;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 28px 20px 32px;
  font-size: .8rem;
}
.foot a { color: #8a8a8a; text-decoration: none; }
.foot a:hover { color: #fff; }

/* challenge + 404 share the hero treatment */
.page-copy, .miss { position: relative; z-index: 2; }
.page-copy { padding: 0 28px 56px; max-width: 38rem; }
.page-copy h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.page-copy h1 { max-width: none; }
.who { color: #d0d0d0; font-size: .95rem; margin-bottom: .4em; }
.open {
  display: inline-block;
  background: #fff;
  color: #111;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: .95rem;
}
.miss { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 28px 64px; }
.miss h1 { margin-bottom: 22px; }

@media (max-width: 640px) {
  .top, .copy, .page-copy, .miss { padding-left: 20px; padding-right: 20px; }
  .copy { padding-bottom: 48px; }
  .stills img { height: 28vw; min-height: 100px; max-height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: #000 url("/img/hero-poster.webp") center / cover no-repeat; }
}
