/* Screeching Halt Productions — Milestone 0 coming-soon page, PASS 2 (2026-09-21)
   Direction from Anthony's feedback: "professional and clean... a little too proper and predictable, lacks a bit of edge."
   References he admires: neonrated.com (heavy condensed poster type, hard rectangles, boxed tags),
   criterion.com (gritty photo + loud red type). Hates: ocpmedia.com (muddy template).
   Their temp logo: hand-drawn distressed letterpress, slanted SCREECHING + block HALT + PRODUCTIONS bar, ivory.
   Type: Big Shoulders Display (the City of Chicago's typeface; they're Chicago-based) + Archivo + IBM Plex Mono. */

:root {
  --ink: #0a0a0a;
  --ink-2: #121110;
  --ivory: #f7edd7;          /* sampled from the client's logo PNG (most common opaque pixel) */
  --ivory-70: rgba(247, 237, 215, 0.72);
  --ivory-40: rgba(247, 237, 215, 0.42);
  --ivory-12: rgba(247, 237, 215, 0.14);
  --red: #e2392b;
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
.hidden { display: none; }

/* ---------- print-grain (heavier than pass 1: matches the distressed logo) ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: 0.11;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.5s steps(3) infinite;
}
@keyframes grain { 0% { transform: translate(0,0) } 33% { transform: translate(-2%,1%) } 66% { transform: translate(1%,-2%) } 100% { transform: translate(0,0) } }

/* ---------- letterbox ---------- */
.letterbox { position: fixed; left: 0; right: 0; height: 50vh; background: var(--ink); z-index: 60; pointer-events: none; }
.letterbox--top { top: 0; transform-origin: top; }
.letterbox--bottom { bottom: 0; transform-origin: bottom; }

/* ---------- primitives ---------- */
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-40); }

/* boxed tag (NEON's "IN THEATERS" device) */
.tag {
  display: inline-block; margin: 0 0 22px; padding: 5px 10px 4px;
  border: 1.5px solid var(--ivory); color: var(--ivory);
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
}
.tag--red { border-color: var(--red); background: var(--red); color: var(--ink); }

/* ---------- typographic lockup (stand-in echoing the client's temp logo; replaced by their PNG) ---------- */
.lockup { font-family: var(--display); text-transform: uppercase; line-height: 0.84; color: var(--ivory); display: inline-block; }
/* skew lives on the inner <i>: GSAP owns the outer span's transform during the rise-in */
.lockup__screeching { font-weight: 700; display: inline-block; letter-spacing: 0.005em; }
.lockup__screeching i { display: inline-block; font-style: normal; transform: skewX(-10deg) rotate(-2.5deg); transform-origin: left bottom; }
.lockup__halt { font-weight: 900; display: inline-block; letter-spacing: 0.01em; }
.lockup--small { font-size: 22px; line-height: 1; display: inline-flex; align-items: baseline; gap: 6px; }
.lockup--small .lockup__screeching { font-size: 0.86em; }
.lockup--small .lockup__screeching i { transform: skewX(-10deg); }
.lockup--hero { display: block; margin: 0 0 26px; font-size: clamp(68px, min(13vw, 21.5vh), 200px); }
.lockup__row { display: block; overflow: hidden; line-height: 0.84; padding: 0.1em 0.06em 0.02em; margin: -0.1em -0.06em -0.02em; }
.lockup__row > span { display: inline-block; }
.lockup--hero .lockup__screeching { font-size: 0.62em; margin-bottom: 0.04em; }
.lockup--hero .lockup__halt { font-size: 1em; }
.lockup__bar {
  display: block; width: max-content; margin-top: 14px; padding: 0.22em 0.5em 0.16em;
  background: var(--ivory); color: var(--ink);
  font-weight: 800; font-size: clamp(15px, 2.05vw, 32px); letter-spacing: 0.34em; line-height: 1;
}

/* ---------- client logo files ---------- */
.logo { display: block; line-height: 0; }
.logo__img { display: block; height: auto; }
.logo--small .logo__img { width: clamp(150px, 15vw, 210px); }
.logo--hero { margin: 0 0 30px; position: relative; }
.logo__frame { display: block; position: relative; width: clamp(250px, min(34vw, 50vh), 480px); }
.logo--hero .logo__img { width: 100%; position: relative; z-index: 2; }
/* Set B snail: the wordmark file has its snail erased; this one crawls in and parks in the measured gap.
   Box = the erased region's bbox (left 0.926% / top 0% / 13.721% x 15.957% of the wordmark), measured from the PNG. */
.logo__snail { position: absolute; z-index: 3; left: 0.926%; top: 0; width: 13.721%; height: 15.957%; object-fit: fill; opacity: 0; pointer-events: none; }
.logo--hero.logo--a .logo__snail { display: none; }
/* skid mark: a short ivory streak behind the mark that flashes on the brake */
.logo__skid { position: absolute; z-index: 1; left: -6%; bottom: 8%; width: 40%; height: 3px; background: var(--ivory); opacity: 0; transform-origin: right center; pointer-events: none; }
.js .logo--hero .logo__img { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js .logo--hero .logo__img { opacity: 1; } .logo__snail { opacity: 1; } .logo__skid { display: none; } }
.logo--snail img { width: 44px; height: auto; opacity: 0.85; }
.logo-switch a { color: var(--ivory-40); border-bottom: 1px solid transparent; padding-bottom: 1px; }
.logo-switch a:hover, .logo-switch a[aria-current="true"] { color: var(--ivory); border-bottom-color: var(--ivory); }
.logo-switch__sep { margin: 0 6px; }
.logo-switch__label { margin-right: 10px; color: var(--ivory-40); }
.logo-switch a { padding: 2px 4px; }
.film__link { border-bottom: 2px solid var(--red); }
.film__link:hover { color: var(--red); }
/* static versions: logo is just visible, no snail overlay */
.logo--static .logo__snail, .logo--static .logo__skid { display: none; }

/* ---------- buttons: hard rectangles, no pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px 13px;
  font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--primary:hover { background: var(--red); border-color: var(--red); color: var(--ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ivory); }
.btn--ghost { border-color: var(--ivory); color: var(--ivory); }
.btn--ghost:hover { background: var(--ivory); color: var(--ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--red); }
.btn--red { background: var(--red); color: var(--ink); border-color: var(--red); }
.btn--red:hover { background: var(--ivory); border-color: var(--ivory); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--red); }
.btn--wide { width: 100%; justify-content: center; }
.btn__icon { margin-left: -2px; }

/* ---------- top bar ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); mix-blend-mode: difference; }
.topbar__cta { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.topbar__cta:hover { color: var(--red); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__video { position: absolute; left: 0; right: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; filter: contrast(1.12) saturate(0.82) brightness(0.92); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.6) 36%, rgba(10,10,10,0.18) 68%, rgba(10,10,10,0.42) 100%),
    linear-gradient(to right, rgba(10,10,10,0.62) 0%, rgba(10,10,10,0) 62%);
}
.hero__content { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter) 84px; }
.hero__lede { max-width: 30ch; margin: 0 0 14px; font-family: var(--sans); font-weight: 500; font-size: clamp(19px, 2vw, 28px); line-height: 1.28; color: var(--ivory); }
.hero__sub { margin: 0 0 38px; font-family: var(--mono); font-size: clamp(11px, 0.95vw, 13px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-70); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { position: absolute; z-index: 2; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; padding: 0 var(--gutter); }
.hero__scroll { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); opacity: .55 } 50% { transform: translateY(5px); opacity: 1 } }

/* ---------- ticker band ---------- */
.ticker { background: var(--red); color: var(--ink); overflow: hidden; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-1.2deg) scale(1.02); margin: -18px 0; position: relative; z-index: 3; }
.ticker__track { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; padding: 13px 0 11px; animation: ticker 26s linear infinite; font-family: var(--display); font-weight: 800; font-size: clamp(18px, 2vw, 26px); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; }
.ticker__dot { width: 9px; height: 9px; background: var(--ink); display: inline-block; transform: rotate(45deg); flex: none; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------- film ---------- */
.film { padding: clamp(110px, 14vw, 200px) var(--gutter) clamp(90px, 12vw, 170px); background: var(--ink); }
.film__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.film__title { margin: 0 0 26px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(88px, 12vw, 200px); line-height: 0.8; letter-spacing: 0.005em; }
.film__title-line { display: block; }
.film__title-line--we { color: var(--red); font-size: 0.62em; line-height: 1; padding: 0.04em 0 0.02em 0.06em; }
.film__desc { max-width: 38ch; margin: 0 0 34px; font-size: clamp(16px, 1.3vw, 20px); color: var(--ivory-70); }
.film__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.film__still { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--ivory); box-shadow: 10px 10px 0 var(--red); transition: transform .2s ease, box-shadow .2s ease; }
.film__still:hover { transform: translate(-4px, -4px); box-shadow: 16px 16px 0 var(--red); }
.film__still img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) saturate(.8); transition: filter .3s ease; }
.film__still:hover img { filter: contrast(1.05) saturate(1); }
.film__play { position: absolute; left: 0; bottom: 0; width: 84px; height: 84px; display: grid; place-items: center; background: var(--red); color: var(--ink); }

/* ---------- coming soon ---------- */
.soon { padding: clamp(80px, 11vw, 150px) var(--gutter); background: var(--ivory); color: var(--ink); }
.soon__inner { max-width: var(--max); margin: 0 auto; }
.soon__line { margin: 0 0 30px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(54px, 9vw, 150px); line-height: 0.86; letter-spacing: 0.005em; max-width: 12ch; }
.soon__hot { color: var(--red); }
.soon__list { display: flex; flex-wrap: wrap; gap: 10px; }
.soon__list li { border: 2px solid var(--ink); padding: 7px 12px 5px; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; }

/* ---------- contact ---------- */
.contact { padding: clamp(96px, 13vw, 190px) var(--gutter); }
.contact__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.contact__title { margin: 0 0 20px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(60px, 8.5vw, 140px); line-height: 0.84; letter-spacing: 0.005em; }
.contact__desc { margin: 0; max-width: 36ch; font-size: clamp(16px, 1.3vw, 20px); color: var(--ivory-70); }
.form { display: grid; gap: 22px; padding-top: 6px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory); display: flex; justify-content: space-between; align-items: baseline; }
.field__opt { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: 0.16em; color: var(--ivory-40); }
.field input, .field textarea { width: 100%; background: transparent; border: 2px solid var(--ivory-40); padding: 13px 14px; color: var(--ivory); font-family: var(--sans); font-size: 17px; border-radius: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ivory); box-shadow: 5px 5px 0 var(--red); }
.field textarea { resize: vertical; min-height: 104px; }

/* ---------- footer ---------- */
.footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 38px var(--gutter); border-top: 2px solid var(--ivory-12); }
.footer > :last-child { justify-self: end; }
@media (max-width: 700px) { .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; } .footer > :last-child { justify-self: center; } }

/* Squall credit: grey mark + "Built by Squall." (house convention, no pill) */
.squall-credit { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ivory-40); transition: color .25s ease; }
.squall-credit:hover { color: var(--ivory-70); }
.squall-credit__mark { width: 30px; height: 30px; display: block; }
.squall-credit__text { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }
.squall-credit__text em { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 13px; text-transform: none; letter-spacing: 0; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(5,5,5,0.94); }
.lightbox__panel { position: relative; width: min(1200px, 100%); aspect-ratio: 16 / 9; background: #000; border: 2px solid var(--ivory); box-shadow: 12px 12px 0 var(--red); }
.lightbox__video { width: 100%; height: 100%; }
.lightbox__close { position: absolute; top: -46px; right: -2px; padding: 10px; color: var(--ivory); }
.lightbox__close:hover { color: var(--red); }

/* ---------- reveal start states (JS animates to final; safe no-JS defaults below) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal-line > span { transform: translateY(112%); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .film__inner, .contact__inner { grid-template-columns: 1fr; }
  .film__still { order: -1; box-shadow: 7px 7px 0 var(--red); }
  .hero__content { padding-top: 120px; padding-bottom: 92px; }
  .topbar { mix-blend-mode: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .hero__scroll, .ticker__track { animation: none; }
  .js .reveal, .js .reveal-line > span { opacity: 1; transform: none; }
  .letterbox { display: none; }
}
