:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --bg-3: #111;
  --red: #e10600;
  --red-2: #ff2d22;
  --red-dim: #8a0a06;
  --text: #f4f4f4;
  --muted: #8d8d8d;
  --line: #1c1c1c;
  --white: #fff;
  --max: 1440px;
  --nav: 76px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 8px 12px;
}

/* NAV */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: linear-gradient(to bottom, rgba(5,5,5,.92), rgba(5,5,5,.55) 70%, transparent);
  backdrop-filter: blur(10px);
}
.logo {
  font-family: var(--cond);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--red);
  text-transform: lowercase;
}
.logo span { color: var(--text); font-weight: 500; letter-spacing: 0.22em; font-size: 11px; margin-left: 10px; text-transform: uppercase; position: relative; top: -4px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  border: 1px solid var(--red);
  color: var(--red) !important;
  padding: 8px 16px;
  letter-spacing: 0.16em !important;
}
.nav-cta:hover { background: var(--red); color: #fff !important; }
.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block;
  height: 1px;
  background: var(--text);
  position: relative;
}
.menu-btn span::before, .menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 80px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img, .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5,5,5,1) 0%, rgba(5,5,5,.45) 42%, rgba(5,5,5,.2) 100%),
    linear-gradient(90deg, rgba(5,5,5,.55), transparent 50%);
}
.hero-copy { position: relative; z-index: 1; max-width: 1100px; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
  font-weight: 600;
}
h1, .h1 {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(56px, 10vw, 148px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 28px;
}
h1 em, .h1 em {
  font-style: normal;
  color: var(--white);
  display: block;
}
.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--red);
  color: #fff;
  background: var(--red);
  cursor: pointer;
  transition: .2s;
}
.btn:hover { background: var(--red-2); border-color: var(--red-2); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: #333;
}
.btn-ghost:hover { border-color: var(--white); }

/* LAYOUT */
.wrap { width: min(var(--max), calc(100% - 72px)); margin: 0 auto; }
.section { padding: 120px 0; }
.section-head { margin-bottom: 56px; max-width: 780px; }
h2, .h2 {
  font-family: var(--cond);
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--red);
  margin: 0 0 16px;
}
h2 em, .h2 em { font-style: normal; color: var(--white); }
h3 { font-family: var(--cond); font-size: 32px; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 12px; }
.muted { color: var(--muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 36px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--cond);
  font-size: 56px;
  color: var(--red);
  line-height: 1;
  font-weight: 800;
}
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

/* CARDS / WORK */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 280px; object-fit: cover; }
.card-body { padding: 28px; }
.card .tag {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.work-hero-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.work-hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.work-hero-card:hover img { transform: scale(1.05); }
.work-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,.92), rgba(5,5,5,.1));
}
.work-hero-card .body { position: relative; z-index: 1; padding: 32px; }
.work-hero-card h3 { font-size: 42px; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(.15) contrast(1.05); }
.person figcaption { padding: 16px 4px 8px; }
.person strong { display: block; font-family: var(--cond); font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; }
.person em { font-style: normal; color: var(--red); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

/* PROCESS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 28px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.step:first-child { border-left: 1px solid var(--line); }
.step b { color: var(--red); font-family: var(--cond); font-size: 18px; letter-spacing: 0.14em; }

/* QUOTE */
.quotes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.quote {
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--bg-2);
}
.quote p { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin: 0 0 24px; }
.quote cite { font-style: normal; color: var(--muted); font-size: 13px; letter-spacing: 0.06em; }

/* PAGE HERO */
.page-hero {
  padding: 160px 0 80px;
  background:
    linear-gradient(to bottom, rgba(5,5,5,.3), var(--bg)),
    var(--bg);
  position: relative;
}
.page-hero.media {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 72px;
}
.page-hero.media .bg {
  position: absolute; inset: 0;
}
.page-hero.media .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.media .bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, #050505 0%, rgba(5,5,5,.35) 55%, rgba(5,5,5,.2));
}
.page-hero .wrap { position: relative; z-index: 1; }

/* CASE META */
.meta-row { display: flex; gap: 40px; flex-wrap: wrap; margin: 28px 0 0; }
.meta-row div span { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.meta-row div b { font-family: var(--cond); font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; }

/* CONTACT */
.form {
  display: grid;
  gap: 16px;
}
label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  color: var(--text);
  padding: 14px 14px;
  font-size: 16px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--red); }
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { min-height: 24px; color: var(--red); font-size: 14px; }
.address-block p { margin: 0 0 8px; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  color: var(--muted);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.footer .logo { display: inline-block; margin-bottom: 16px; }
.footer a:hover { color: var(--white); }
.legal {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
}

/* MISC */
.prose { max-width: 720px; }
.prose p { color: #cfcfcf; }
.prose h3 { margin-top: 32px; }
.list { padding: 0; margin: 0; list-style: none; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); color: #cfcfcf; }
.list li::before { content: "— "; color: var(--red); }
.cta-band {
  padding: 96px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.map {
  width: 100%;
  height: 320px;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.1);
}
.kicker { color: var(--red); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }

@media (max-width: 980px) {
  .wrap { width: min(var(--max), calc(100% - 36px)); }
  .nav { padding: 0 18px; }
  .nav-links {
    position: fixed;
    inset: var(--nav) 0 0 0;
    background: rgba(5,5,5,.97);
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px;
    gap: 22px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: grid; place-items: center; }
  .hero { padding: 0 20px 56px; min-height: 92vh; }
  .stats, .grid-3, .grid-2, .team-grid, .steps, .quotes, .footer-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .stat, .step { border-right: 0; border-left: 0; }
  .work-hero-card { min-height: 380px; }
  .section { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
