/* ==========================================================
   Hayder Jalal — The Edit Bay (dark cut)
   ========================================================== */

:root {
  --bg: #0E0E0D;
  --bg-deep: #050505;
  --panel: #161514;
  --panel-2: #1E1D1B;
  --track: #151413;
  --line: #2A2826;
  --line-2: #3A3833;
  --ink: #ECE8E0;
  --ink-2: #D6D1C7;
  --ink-3: #B9B3A8;
  --muted: #8E897F;
  --faint: #5F5B54;
  --red: #E1251B;
  --blue: #3A45E8;
  --blue-2: #2C35B8;
  --biz: #3A3833;
  --biz-2: #4A4741;
  --paper: #ECE8E0;
  --paper-ink: #1B1A17;

  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --script: 'Courier Prime', 'Courier New', monospace;
  --hand: 'Caveat', cursive;

  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: #fff; }
::selection { background: var(--red); color: var(--bg); }
button { font: inherit; }
.mono { font-family: var(--mono); }
.dot { color: var(--red); }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- film grain ---------- */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; opacity: .3; mix-blend-mode: overlay; }
.grain svg { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; animation: grain .9s steps(5) infinite; }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, -9%); }
  40% { transform: translate(4%, -14%); } 60% { transform: translate(-11%, 6%); }
  80% { transform: translate(8%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: center; align-items: center;
  padding: 12px var(--gutter);
  background: rgba(14, 14, 13, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.menu a, .menu span { padding: 6px 10px; border-radius: 4px; text-decoration: none; color: var(--ink); }
.menu a:hover { background: var(--ink); color: var(--bg); }
.menu .brand { font-weight: 900; margin-right: 8px; }
.menu .accent { color: var(--red); }
.menu .accent:hover { background: var(--red); color: var(--bg); }
.menu .sep { color: var(--faint); padding: 0 4px; }
.menu .current { color: var(--red); font-weight: 700; margin-right: 8px; }

/* ---------- entrance + reveal ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.fade { animation: fadeUp .9s var(--ease) both; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.rec { animation: blink 1.2s steps(1) infinite; }

/* ---------- section headings ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.sec-title { margin: 0; font-weight: 900; font-size: clamp(48px, 7vw, 104px); letter-spacing: -.04em; line-height: .9; }
.sec-note { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.sec-lede { margin: 0; max-width: 400px; font-size: 18px; line-height: 1.55; color: var(--ink-3); }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding-top: clamp(28px, 4vw, 56px); }
.hero-row { display: flex; gap: 28px; align-items: stretch; }
.hero-id { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-bottom: 13px; }
.hero-kicker { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.hero-name { margin: 0; font-weight: 900; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.hero-photo { flex: 1; min-height: 0; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cam-tag { position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: 10px; color: var(--ink); background: rgba(0, 0, 0, .5); padding: 3px 6px; border-radius: 3px; }

.viewer { flex: 1 1 640px; min-width: 0; align-self: flex-start; background: var(--bg-deep); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.viewer-bar { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); padding: 2px 4px 10px; }
.viewer-bar .tc { color: var(--ink); font-variant-numeric: tabular-nums; }
.viewer-screen { position: relative; aspect-ratio: 3 / 2; background: #0B0B0A; border-radius: 4px; overflow: hidden; }
.viewer-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.safe-frame { position: absolute; top: 10px; bottom: 10px; left: 10%; right: 10%; border: 1px dashed rgba(236, 232, 224, .12); pointer-events: none; }

/* timeline */
.timeline { margin-top: 20px; background: var(--track); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px 10px; position: relative; overflow: hidden; }
.ruler { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); padding-left: 64px; margin-bottom: 4px; }
.tracks { position: relative; }
.trk { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.trk:last-of-type { margin-bottom: 0; }
.trk-label { width: 52px; flex-shrink: 0; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.trk-lane { flex: 1; position: relative; height: 24px; }
.clipbar {
  position: absolute; top: 0; bottom: 0; border-radius: 4px;
  font-size: 11px; font-weight: 700; padding: 0 8px; line-height: 24px;
  white-space: nowrap; overflow: hidden; transform-origin: left;
  animation: growX 1.2s cubic-bezier(.7, 0, .2, 1) both;
}
.clipbar.f1 { background: var(--blue); } .clipbar.f2 { background: var(--blue-2); }
.clipbar.b1 { background: var(--biz); } .clipbar.b2 { background: var(--biz-2); }
.wave { flex: 1; height: 24px; display: flex; align-items: center; gap: 2px; background: #1E1D1B; border-radius: 4px; padding: 0 6px; overflow: hidden; }
.wave span { flex: 1; background: #6F6A62; border-radius: 1px; transform-origin: center; animation: wave 1.4s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.playhead { position: absolute; top: -18px; bottom: -4px; left: 64px; width: 2px; background: var(--red); pointer-events: none; transition: left .15s linear; }
.playhead::before { content: ''; position: absolute; top: 0; left: -7px; width: 16px; height: 14px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

/* ==========================================================
   THE BIN
   ========================================================== */
.bin { padding: clamp(100px, 10vw, 150px) 0 40px; }
.reel-wrap { overflow: hidden; padding: 20px 0; }
.reel { display: flex; gap: 20px; width: max-content; padding-left: 20px; animation: strip 40s linear infinite; }
.reel:hover, .reel.paused { animation-play-state: paused; }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.clip {
  display: block; flex-shrink: 0; padding: 10px; text-align: left;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink); cursor: pointer;
  transition: transform .35s var(--ease), border-color .35s;
}
.clip:hover, .clip:focus-visible { transform: translateY(-8px); border-color: var(--red); outline: none; }
.sprockets { display: flex; gap: 4px; margin-bottom: 8px; overflow: hidden; }
.sprockets i { width: 10px; height: 6px; flex-shrink: 0; background: #2F2D2A; border-radius: 2px; }
.clip-screen { position: relative; border-radius: 4px; overflow: hidden; background: #1C1B19; display: flex; align-items: center; justify-content: center; }
.clip-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cplay { position: relative; width: 54px; height: 54px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.clip:hover .cplay, .clip:focus-visible .cplay { opacity: 1; }
.clip-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 12px; }
.clip-title { font-weight: 700; font-size: 18px; }
.clip-sub { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 4px; }

/* clip viewer (modal) */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px); background: rgba(5, 5, 5, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal.open { display: flex; animation: bgIn .45s ease both; }
.modal.closing { animation: bgOut .32s ease both; }
.modal-win { width: min(1200px, 100%, calc((100vh - 230px) * var(--aspect, 1.25))); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9); transition: width .45s var(--ease); }
.modal.open .modal-win { animation: winIn .6s var(--ease) both; }
.modal.closing .modal-win { animation: winOut .32s cubic-bezier(.6, 0, .8, .2) both; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 16px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.light { width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); flex-shrink: 0; }
.light.red { background: var(--red); }
.win-title { margin-left: 10px; flex: 1; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-close { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; transition: all .2s; }
.win-close:hover { background: var(--red); color: var(--bg); transform: rotate(90deg); }
.modal-screen { position: relative; background: #000; }
.modal-screen video { width: 100%; height: auto; aspect-ratio: var(--aspect, 1.25); background: #000; }
.lb { position: absolute; left: 0; right: 0; height: 0; background: #000; pointer-events: none; }
.lb.top { top: 0; } .lb.bot { bottom: 0; }
.modal.open .lb { animation: barUp .7s cubic-bezier(.77, 0, .18, 1) .35s both; }
.modal-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; padding: 18px 20px 20px; }
.modal.open .modal-meta { animation: fadeUp .5s var(--ease) .6s both; }
.modal-meta .num { font-family: var(--mono); font-size: 11px; color: var(--red); margin-bottom: 6px; }
.modal-meta h3 { margin: 0; font-weight: 900; font-size: 28px; letter-spacing: -.02em; }
.modal-meta .facts { display: flex; gap: 24px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
@keyframes bgIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bgOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes winIn { 0% { opacity: 0; transform: translateY(40px) scale(.86); filter: blur(8px); } 60% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; } }
@keyframes winOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(24px) scale(.92); } }
@keyframes barUp { from { height: 50%; } to { height: 0; } }
body.no-scroll { overflow: hidden; }

/* ==========================================================
   CASE STUDIES
   ========================================================== */
.cases { padding-top: clamp(90px, 9vw, 150px); padding-bottom: 40px; }
.case { border-top: 1px solid var(--line); padding: 44px 0 90px; }
.case-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.case-head .left { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.case-head .seq { font-family: var(--mono); font-size: 12px; color: var(--red); }
.case-head h3 { margin: 0; font-weight: 900; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.03em; line-height: 1; }
.case-head .where { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.case-body { display: flex; gap: clamp(24px, 3vw, 44px); align-items: flex-start; }
.case:nth-of-type(even) .case-body { flex-direction: row-reverse; }

.brand-panel { flex: 1 1 46%; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.panel-bar { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.brand-hero { position: relative; aspect-ratio: 16 / 10; background: #0D0C0B; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.brand-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-hero::after { content: ''; position: absolute; inset: 0; background: rgba(8, 8, 7, .45); }
.logo-slot { position: relative; z-index: 1; width: 46%; aspect-ratio: 3 / 1; border: 1px dashed rgba(236, 232, 224, .55); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; background: rgba(8, 8, 7, .35); }
.logo-slot img { max-width: 80%; max-height: 70%; object-fit: contain; }
.play-case { position: absolute; z-index: 1; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; background: var(--ink); color: var(--bg); border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.play-case:hover { background: var(--red); color: var(--bg); }
.stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; }
.stills div { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: #201E1B; }
.stills img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.stills img:hover { transform: scale(1.05); }
.facts-grid { padding: 16px 18px 20px; display: grid; grid-template-columns: 110px minmax(0, 1fr); row-gap: 10px; font-size: 14px; }
.facts-grid dt { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 2px; }
.facts-grid dd { margin: 0; }

.story { flex: 1 1 54%; min-width: 0; position: relative; padding-left: 34px; }
.story::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); transform-origin: top; transform: scaleY(0); transition: transform 1.2s var(--ease); }
.case.in .story::before { transform: scaleY(1); }
.chapter { position: relative; padding-bottom: 30px; }
.chapter::before { content: ''; position: absolute; left: -34px; top: 5px; width: 14px; height: 14px; border-radius: 3px; background: var(--c, #4A4741); transform: rotate(45deg); }
.chapter .when { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.chapter p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.chapter.big p { font-weight: 900; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.results { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.results div { flex: 1 1 140px; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.results b { display: block; font-weight: 900; font-size: 30px; }
.results span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ==========================================================
   ABOUT (screenplay)
   ========================================================== */
.about { padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(90px, 9vw, 140px); }
.about-row { max-width: 1240px; margin: 0 auto; display: flex; gap: clamp(28px, 5vw, 72px); align-items: flex-start; }
.about-photo { flex: 0 1 380px; min-width: 0; position: relative; }
.about-photo .frame { aspect-ratio: 4 / 5; background: #1E1C1A; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transform: rotate(-2deg); }
.about-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .tape { position: absolute; top: -14px; right: 26px; width: 110px; height: 30px; background: rgba(236, 232, 224, .18); transform: rotate(6deg); }
.about-photo .note { font-family: var(--hand); font-size: 26px; color: var(--red); margin-top: 18px; transform: rotate(-2deg); }
.script { flex: 1 1 620px; min-width: 0; position: relative; background: var(--paper); color: var(--paper-ink); padding: clamp(28px, 5vw, 64px) clamp(24px, 6vw, 88px); font-family: var(--script); font-size: 17px; line-height: 1.7; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.script p { margin: 0 0 22px; }
.script .rev { text-align: right; font-size: 13px; color: #5C5850; margin-bottom: 30px; }
.script .slug, .script .char { font-weight: 700; }
.script .char { padding-left: 38%; margin-bottom: 4px; }
.script .line { padding: 0 18% 0 22%; }
.script .cut { text-align: right; font-weight: 700; margin: 0; }
.script .scribble { position: absolute; right: -10px; top: 108px; }
.script .scribble path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.script.in .scribble path { stroke-dashoffset: 0; }
.script .margin-note { position: absolute; right: clamp(8px, 3vw, 30px); top: 150px; font-family: var(--hand); font-size: 22px; color: #C21E15; transform: rotate(4deg); }

/* ==========================================================
   SUBTITLES (testimonials)
   ========================================================== */
.subs { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(90px, 9vw, 140px) var(--gutter); }
.subs-inner { max-width: 1240px; margin: 0 auto; }
.subs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.sub { margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: var(--bg); }
.sub .srt { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.sub blockquote { margin: 0 0 18px; font-size: 21px; line-height: 1.45; font-weight: 500; }
.sub figcaption { font-size: 14px; color: var(--ink-3); }
.sub figcaption strong { color: var(--ink); }

/* ==========================================================
   CONTACT (export)
   ========================================================== */
.contact { padding: clamp(100px, 10vw, 160px) var(--gutter); }
.window { max-width: 720px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.window .win-bar { padding: 12px 16px; }
.window .win-name { margin-left: 10px; font-size: 13px; font-weight: 700; }
.window-body { padding: clamp(24px, 4vw, 44px); }
.window-body h2 { margin: 0 0 12px; font-weight: 900; font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.04em; line-height: .95; }
.window-body > p { margin: 0 0 28px; font-size: 18px; line-height: 1.55; color: var(--ink-3); }
.render-label { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 8px; }
.render-track { height: 10px; background: #26241F; border-radius: 99px; overflow: hidden; margin-bottom: 30px; }
.render-fill { height: 100%; width: 0; background: var(--ink); border-radius: 99px; animation: render 5s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes render { 0% { width: 0; } 85%, 100% { width: 100%; } }
.btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink); font-weight: 500; text-decoration: none; transition: all .25s; }
.btn:hover { border-color: var(--ink); color: #fff; }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 700; font-size: 17px; padding: 0 28px; }
.btn.primary:hover { background: var(--red); border-color: var(--red); color: var(--bg); }

.site-footer { max-width: 1240px; margin: 0 auto; padding: 20px var(--gutter) 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ==========================================================
   TRAINING PAGE
   ========================================================== */
.training-page { min-height: 100vh; display: flex; flex-direction: column; }
.training-main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); }
.training-row { display: flex; gap: clamp(32px, 6vw, 90px); align-items: flex-start; }
.training-intro { flex: 1 1 460px; min-width: 0; }
.training-intro h1 { margin: 0; font-weight: 900; font-size: clamp(56px, 8vw, 120px); line-height: .9; letter-spacing: -.045em; }
.title-line { width: 120px; height: 4px; background: var(--red); margin: 26px 0 30px; transform-origin: left; animation: growX .8s cubic-bezier(.9, 0, .1, 1) .5s both; }
.training-intro .lede { margin: 0 0 18px; font-size: 21px; line-height: 1.55; color: var(--ink-2); }
.training-intro .sub-lede { margin: 0 0 34px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; }
.chips span { border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; color: var(--ink-3); }

.form-window { flex: 1 1 480px; min-width: 0; }
.signup { padding: clamp(22px, 3.5vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group label { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.field { width: 100%; min-height: 52px; padding: 0 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink); font-size: 17px; font-family: inherit; transition: border-color .2s, background .2s; }
.field:focus { outline: none; border-color: var(--red); background: #1C1B19; }
.field.invalid { border-color: #FF6B5E; }
.select-wrap { position: relative; }
.select-wrap select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap select:invalid { color: var(--muted); }
.select-wrap svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.form-error { margin: 0; font-size: 14px; color: #FF6B5E; min-height: 0; }
.sending { display: none; }
.sending.on { display: block; }
.sending .render-track { height: 8px; margin: 0; }
.sending .render-fill { animation: fillOnce 1.6s cubic-bezier(.6, 0, .3, 1) both; }
@keyframes fillOnce { from { width: 0; } to { width: 100%; } }
.send { min-height: 56px; border: none; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 17px; font-weight: 700; cursor: pointer; margin-top: 4px; transition: all .25s; }
.send:hover { background: var(--red); }
.send:disabled { opacity: .6; cursor: wait; }
.privacy { margin: 0; font-size: 13px; color: #6F6A62; line-height: 1.5; }
.done { display: none; padding: clamp(36px, 5vw, 56px) clamp(22px, 3.5vw, 36px); text-align: center; }
.done.on { display: block; }
.done .check { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; animation: pop .6s var(--ease) both; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.done .status { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.done h2 { margin: 0 0 12px; font-weight: 900; font-size: 34px; letter-spacing: -.03em; }
.done p { margin: 0 0 26px; font-size: 17px; line-height: 1.6; color: var(--ink-3); }

/* ==========================================================
   RESPONSIVE + MOTION
   ========================================================== */
@media (max-width: 820px) {
  .hero-row, .case-body, .case:nth-of-type(even) .case-body, .about-row, .training-row { flex-direction: column; }
  .hero-row > *, .case-body > *, .about-row > *, .training-row > * { flex: none; width: 100%; }
  .hero-photo { min-height: 440px; }
  .script .char { padding-left: 30%; }
  .script .line { padding: 0 6% 0 12%; }
  .script .scribble, .script .margin-note { display: none; }
  .modal-meta .facts { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .reel { animation: none; }
}

/* ==========================================================
   COMING SOON MODE  (remove class="soon-mode" from <body> to go fully live)
   ========================================================== */
@keyframes sweep { from { transform: translateX(-120%); } to { transform: translateX(220%); } }
@keyframes stampIn { 0% { opacity: 0; transform: rotate(-8deg) scale(1.8); } 60% { opacity: 1; transform: rotate(-8deg) scale(.94); } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }
.rd { display: inline-block; vertical-align: middle; position: relative; overflow: hidden; max-width: 100%; border-radius: 2px; background: repeating-linear-gradient(135deg, #2B2926 0 7px, #242220 7px 14px); }
.rd::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(236, 232, 224, .07), transparent); animation: sweep 3.2s ease-in-out infinite; }
.rd.ink { background: #141312; }
.lines { display: flex; flex-direction: column; gap: 9px; }
.lines .rd { display: block; }
.soon { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--red); border: 1px solid rgba(225, 37, 27, .55); border-radius: 3px; padding: 2px 6px; vertical-align: middle; white-space: nowrap; }
.clip-title { display: flex; align-items: center; gap: 8px; flex: 1; }
.rd-title { display: flex; align-items: center; gap: 14px; }

/* frosted videos */
.soon-mode .viewer-screen video { filter: blur(18px) brightness(.62) saturate(.5); transform: scale(1.12); }
.soon-mode .clip-screen video { filter: blur(12px) brightness(.55) saturate(.5); transform: scale(1.18); }
.soon-cover { position: absolute; inset: 0; background: rgba(14, 14, 13, .25); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; }
.soon-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; }
.soon-big { font-weight: 900; font-size: clamp(48px, 7vw, 104px); line-height: .9; letter-spacing: -.04em; }
.soon-big.sm { font-size: 28px; letter-spacing: -.03em; }
.soon-note { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }
.clip-soon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.clip-soon .soon-note { font-size: 10px; letter-spacing: .16em; }
.soon-mode .clip { cursor: default; }

/* sealed case files */
.soon-mode .brand-hero > img { inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); filter: blur(16px) grayscale(.6); }
.soon-mode .stills img { filter: blur(10px) grayscale(.6); transform: scale(1.2); }
.embargo { position: relative; z-index: 1; border: 3px solid var(--red); color: var(--red); font-family: var(--mono); font-weight: 500; font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .22em; padding: 10px 18px; background: rgba(8, 8, 7, .55); transform: rotate(-8deg); }
.case.in .embargo { animation: stampIn .7s var(--ease) .2s both; }
.play-case.off, .play-case.off:hover { background: rgba(14, 14, 13, .7); border: 1px solid var(--line-2); color: var(--muted); }
.results b { height: 36px; display: flex; align-items: center; }

/* contact */
.btn.off, .btn.off:hover { color: var(--muted); border-color: var(--line); cursor: default; }
.contact-facts { display: grid; grid-template-columns: 150px minmax(0, 1fr); row-gap: 10px; margin: 0 0 28px; font-size: 16px; }
.contact-facts dt { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 3px; }
.contact-facts dd { margin: 0; }
.contact-facts a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.contact-facts a:hover { border-color: var(--red); }

/* hero call to action */
.hero-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 48px; padding: 0 20px; background: var(--ink); color: var(--bg); border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.hero-cta:hover { background: var(--red); color: var(--bg); }
.hero-cta svg { transition: transform .3s var(--ease); }
.hero-cta:hover svg { transform: translateY(3px); }
section[id] { scroll-margin-top: 56px; }
