@font-face {
  font-family: "Black Ops One";
  src: url("fonts/black-ops-one.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: #0b0806;
  color: #f3e3c6;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.poster {
  position: fixed; inset: 0;
  overflow: hidden;
  background: #0b0806;
}

/* The painted cover fills the screen. The title is part of the art,
   so the art is always pinned to the top and never cropped there. */
.art, .art img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}
.art img {
  object-fit: cover;
  object-position: 50% 0;
  transform-origin: 50% 22%;
  animation: drift 46s ease-in-out infinite alternate;
  will-change: transform;
}
/* Phones taller than the tall poster: fit its width so the title is never
   cut at the sides, and let the dark ground run on underneath. */
@media (max-aspect-ratio: 9/16) {
  .art img { height: auto; }
}

@keyframes drift {
  from { transform: scale(1); }
  to   { transform: scale(1.045); }
}

/* Slow dust haze rolling across the checkpoint. */
.haze {
  position: absolute; top: 22%; left: -50%;
  width: 200%; height: 60%;
  background:
    radial-gradient(ellipse 28% 38% at 22% 55%, rgba(255, 176, 96, 0.13), transparent 70%),
    radial-gradient(ellipse 24% 30% at 52% 40%, rgba(255, 150, 70, 0.10), transparent 70%),
    radial-gradient(ellipse 30% 42% at 80% 60%, rgba(255, 190, 120, 0.12), transparent 70%);
  animation: haze 70s linear infinite alternate;
  pointer-events: none;
  will-change: transform;
}
@keyframes haze {
  from { transform: translate3d(-12%, 0, 0); }
  to   { transform: translate3d(12%, -3%, 0); }
}

#embers {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.scrim {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 52%;
  background: linear-gradient(to bottom,
    rgba(11, 8, 6, 0) 0%,
    rgba(11, 8, 6, 0.55) 38%,
    rgba(11, 8, 6, 0.9) 70%,
    #0b0806 100%);
  pointer-events: none;
}

.copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 20px calc(18px + env(safe-area-inset-bottom));
  text-align: center;
  text-transform: uppercase;
}
.copy p { margin: 0; }

.tag {
  font-size: clamp(15px, 1.7vw, 26px);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #f0c88c;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.soon {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  margin-top: clamp(4px, 0.8vh, 10px) !important;
  font-family: "Black Ops One", "Oswald", Impact, sans-serif;
  font-size: clamp(40px, 7.4vw, 124px);
  line-height: 1.05;
  letter-spacing: 0.06em;
  filter: drop-shadow(0 4px 0 rgba(40, 18, 6, 0.9)) drop-shadow(0 0 26px rgba(255, 140, 40, 0.45));
}
.soon span {
  background: linear-gradient(to bottom, #fffaeb 8%, #ebbe78 55%, #a8621f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.soon::before, .soon::after {
  content: "";
  flex: 0 1 clamp(28px, 7vw, 120px);
  height: clamp(3px, 0.4vw, 6px);
  background: #be1e19;
  box-shadow: 0 0 12px rgba(190, 30, 25, 0.6);
}

.pitch {
  margin-top: clamp(4px, 0.8vh, 10px) !important;
  font-size: clamp(13px, 1.35vw, 21px);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: #e9dcc4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.btn {
  display: inline-block;
  margin-top: clamp(12px, 2.2vh, 24px);
  padding: 0.7em 1.5em;
  font-size: clamp(13px, 1.15vw, 18px);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #fff3dc;
  text-decoration: none;
  background: rgba(190, 30, 25, 0.92);
  border: 1px solid rgba(255, 210, 150, 0.55);
  border-radius: 3px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover, .btn:focus-visible { background: #d82a22; transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid #ffe2a8; outline-offset: 3px; }

.legal {
  margin-top: clamp(8px, 1.4vh, 14px) !important;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(233, 220, 196, 0.55);
}

/* Tall phone poster already carries the tagline in the art. */
@media (max-aspect-ratio: 7/10) {
  .tag { display: none; }
  .scrim { height: 46%; }
  .soon { font-size: clamp(32px, 10.4vw, 96px); gap: 0; }
  .soon::before, .soon::after { display: none; }
  .pitch { font-size: clamp(12px, 3.5vw, 20px); letter-spacing: 0.12em; }
  .pitch span { display: block; }
  .btn { font-size: clamp(12px, 3.4vw, 18px); }
}

/* Short landscape screens (phones on their side). */
@media (min-aspect-ratio: 13/10) and (max-height: 520px) {
  .scrim { height: 60%; }
  .soon { font-size: clamp(30px, 6vw, 60px); }
  .pitch, .tag { display: none; }
  .btn { margin-top: 8px; padding: 0.5em 1.2em; }
  .legal { display: none; }
}

/* Between a phone and a tablet held upright: show the whole tall poster and
   fill the thin side strips with a soft, dark copy of the same art. */
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 7/10) {
  .poster::before {
    content: "";
    position: absolute; inset: -40px;
    background: url("img/poster-tall.jpg") 50% 0 / cover no-repeat;
    filter: blur(28px) brightness(0.55);
  }
  .art img {
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .art img, .haze { animation: none; }
  .btn { transition: none; }
}
