:root {
  --bg: #0b0d10;
  --bg-alt: #111419;
  --surface: #171b21;
  --line: #262b33;
  --text: #e9ecf1;
  --muted: #9aa3b0;
  --live: #e5242b;
  --live-glow: rgba(229, 36, 43, .45);
  --radius: 14px;
  --wrap: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.02; letter-spacing: .01em; margin: 0; text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.65rem; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--live); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--live); color: #fff; text-decoration: none;
  font: 600 1.05rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase;
  padding: 1rem 1.6rem; border-radius: 999px; border: 1px solid var(--live);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px var(--live-glow); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; box-shadow: none; background: rgba(255,255,255,.06); }
.btn--sm { padding: .65rem 1.1rem; font-size: .95rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11,13,16,.88); backdrop-filter: blur(12px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 22px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 1.75rem; }
.nav__menu a:not(.btn) {
  text-decoration: none; color: var(--muted);
  font: 600 1.05rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase;
  transition: color .15s;
}
.nav__menu a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 6px 0; transition: transform .2s; }

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,13,16,.97); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; transform: translateY(-120%); transition: transform .25s ease; z-index: -1;
  }
  .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 16px; justify-content: center; }
  .nav.is-open { background: rgba(11,13,16,.97); }
  .nav.is-open .nav__menu { transform: none; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 48px; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,13,16,.55) 0%, rgba(11,13,16,.35) 35%, rgba(11,13,16,.92) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,13,16,.85) 0%, rgba(11,13,16,.2) 70%),
    url("/assets/img/hero.webp") center / cover no-repeat;
}
.hero__content { max-width: 980px; margin-left: auto; margin-right: auto; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--muted); }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #c9cfd8; margin: 1.4rem 0 2rem; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.tally {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .95rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(229,36,43,.5); background: rgba(229,36,43,.1);
  padding: .55rem .9rem; border-radius: 999px; margin-bottom: 1.5rem;
}
@media (max-width: 420px) { .tally { font-size: .8rem; letter-spacing: .08em; } }
.tally__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 var(--live-glow); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--live-glow); } 70% { box-shadow: 0 0 0 10px rgba(229,36,43,0); } 100% { box-shadow: 0 0 0 0 rgba(229,36,43,0); } }

.stats {
  list-style: none; margin: 64px auto 0; padding: 24px 0 0; max-width: 980px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--line);
}
.stats strong { display: block; font: 700 2.6rem/1 var(--head); color: var(--live); }
.stats span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.4; margin-top: .4rem; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; gap: 18px; } .stats li { display: flex; align-items: baseline; gap: 14px; } .stats span { margin: 0; } }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { margin-bottom: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .95rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--live);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--live); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(229,36,43,.55); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: saturate(.9); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 22px 22px 24px; }
.card__num { font: 600 .9rem/1 var(--head); letter-spacing: .14em; color: var(--live); }
.card h3 { margin: .5rem 0 .7rem; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Reel */
.reel {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(ellipse at center, #1c2129 0%, #0b0d10 75%);
  border: 1px solid var(--line);
}
.reel iframe, .reel__btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel__btn { cursor: pointer; padding: 0; background: #000 center / cover no-repeat; }
.reel__btn::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); transition: background .2s; }
.reel__btn:hover::after { background: rgba(0,0,0,.1); }
.reel__placeholder, .reel__btn { display: grid; place-items: center; align-content: center; gap: 18px; color: var(--muted); }
/* Loaded reel: play control bottom-left so it doesn't cover the poster */
.reel__btn { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-end; justify-content: flex-start; padding: clamp(16px, 3vw, 32px); }
.reel__btn .reel__play { width: 64px; height: 64px; flex: none; }
.reel__btn .reel__play::before { left: 26px; top: 20px; border-width: 12px 0 12px 20px; }
.reel__label { position: relative; z-index: 1; margin-left: 14px; color: #fff; font: 600 1.1rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.reel__btn::after { background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 45%); }
.reel__btn:hover::after { background: linear-gradient(0deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 45%); }
.reel__placeholder p { font: 600 1.2rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.reel__play {
  position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%; background: var(--live);
  box-shadow: 0 10px 40px var(--live-glow);
}
.reel__play::before { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }

/* Experience */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } .split .section__head { margin: 0; } }
.prose p { font-size: 1.15rem; color: #c9cfd8; }
.prose strong { color: var(--text); font-weight: 600; }

/* Gear */
.chips { list-style: none; padding: 0; margin: 0 0 48px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: .6rem 1.1rem; font-size: .95rem; font-weight: 500;
}
.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.logos li {
  background: #f3f4f6; border-radius: 10px; height: 92px; display: grid; place-items: center; padding: 14px 18px;
  filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s;
}
.logos li:hover { filter: none; opacity: 1; }
.logos img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #150a0c 100%); }
.contact__inner { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact__inner { grid-template-columns: 1fr 1.35fr; gap: 64px; } .contact__intro { position: sticky; top: 96px; } }
.contact h2 { margin-bottom: 1rem; }
.contact .lede { color: var(--muted); max-width: 46ch; margin-bottom: 2rem; }

/* Contact form */
.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px); border-top: 3px solid var(--live);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 .95rem/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.field label span[aria-hidden] { color: var(--live); }
.field .opt { font: 500 .8rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--text);
  background: #0f1216; border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem .9rem; transition: border-color .15s, box-shadow .15s; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; cursor: pointer; padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field select:invalid { color: var(--muted); }
.field option { color: var(--text); background: #0f1216; }
.field input::placeholder, .field textarea::placeholder { color: #6b7380; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3a414c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--live); box-shadow: 0 0 0 3px rgba(229,36,43,.2); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--live); }
.field__error { color: #ff6b70; font-size: .85rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form__foot .btn { border: 0; cursor: pointer; }
.form__foot .btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
.form__status { margin: 0; color: var(--muted); font-size: .95rem; }
.form__status.is-error { color: #ff6b70; }
.btn.is-loading .btn__label::after { content: ""; display: inline-block; width: .8em; height: .8em; margin-left: .6em; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -1px; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__done { text-align: center; padding: 40px 12px; }
.form__done .tally { margin-bottom: 1.2rem; }
.form__done h3 { font-size: 2rem; margin-bottom: .6rem; }
.form__done p { color: var(--muted); margin: 0 auto; max-width: 40ch; }
.contact__card {
  font-style: normal; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; border-top: 3px solid var(--live);
}
.contact__card img { margin-bottom: 18px; }
.contact__card p { color: var(--muted); }
.contact__card a { color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(229,36,43,.5); }
.contact__card a:hover { border-color: var(--live); }
.contact__name { font: 700 1.8rem/1 var(--head); text-transform: uppercase; color: var(--text) !important; margin-bottom: .6rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; align-items: center; gap: 12px; }
.footer p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
