/* Bad Batch Studio — site styles. Direction: bright letterbox. */
:root {
  --ink: #111111;
  --body: #3a3a3a;
  --muted: #5c5c5c;
  --ember: #c63f14;
  --paper: #ffffff;
  --grey: #f1f0ec;
  --line: #c9c7bf;
  --footer: #111111;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  margin: 0;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ember); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Type */
.eyebrow, .mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow { color: var(--ember); }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  line-height: 1;
}
h1 { font-size: clamp(32px, 6vw, 76px); line-height: 0.98; }
h1.h1-md { font-size: clamp(30px, 4.6vw, 60px); line-height: 1; }
h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.02em; line-height: 1.05; }
h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; font-stretch: 115%; letter-spacing: 0; line-height: 1.1; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; max-width: 780px; }
.lede strong { color: var(--ink); font-weight: 700; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  line-height: 1.2;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ember); color: #fff; }
.btn-line { border-color: var(--ink); font-weight: 600; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-outline-white { border-color: #fff; color: #fff; font-weight: 600; }
.btn-outline-white:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-ember { color: var(--ember); font-weight: 700; border-bottom: 2px solid var(--ember); padding-bottom: 2px; align-self: flex-start; }
.link-ember:hover { color: var(--ink); border-color: var(--ink); }

/* Header */
.site-header .bar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 800; font-stretch: 125%; font-size: 18px; letter-spacing: 0.02em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--ember); border-bottom: 2px solid var(--ember); padding-bottom: 2px; }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.nav .btn[aria-current="page"] { background: var(--ink); color: #fff; border-bottom: 0; padding-bottom: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); padding: 9px 14px; font: 600 13px 'Archivo', sans-serif; color: var(--ink); cursor: pointer; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.hero { padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 40px); }
.hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.hero .btn-row { margin-top: 6px; }
.rule-top { border-top: 2px solid var(--ink); }
.grey { background: var(--grey); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(24px, 3vw, 36px); }
.head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 28px); }
.ruler { height: 14px; margin-bottom: 24px; background: repeating-linear-gradient(90deg, var(--ink) 0, var(--ink) 1px, transparent 1px, transparent 16px); }

/* Letterbox strip (video / image) */
.strip { position: relative; background: var(--ink); aspect-ratio: 2.39 / 1; min-height: 220px; overflow: hidden; }
.strip video, .strip > img { width: 100%; height: 100%; object-fit: cover; }
.strip .corner { position: absolute; top: 20px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; pointer-events: none; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.strip .corner.l { left: var(--pad); }
.strip .corner.r { right: var(--pad); }
.strip.tall { aspect-ratio: 2.9 / 1; }
.strip.video { aspect-ratio: 16 / 9; max-height: 82vh; min-height: 0; }
.strip.video video { object-fit: contain; background: var(--ink); }

/* Grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 56px); align-items: start; }
.split.center { align-items: center; }

/* Tiles */
.tile { display: flex; flex-direction: column; gap: 14px; color: var(--body); }
.tile h3 { color: var(--ink); }
.frame { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 1 / 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .tag { position: absolute; left: 14px; top: 12px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: #fff; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.frame.light { background: #e9e6de; }
.frame.light img { mix-blend-mode: multiply; }
.frame.light .tag { color: var(--ink); text-shadow: none; }
.tile .meta { font-size: 15px; line-height: 1.5; }

.poster { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 1.9 / 1; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(0deg, rgba(17, 17, 17, 0.85), rgba(17, 17, 17, 0)); }
.poster .cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.poster .cap h3 { color: #fff; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: clamp(15px, 1.5vw, 18px); text-align: left; }
th { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; padding: 12px 12px 12px 0; border-bottom: 2px solid var(--ink); }
td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child { font-weight: 700; color: var(--ink); }
th.em, td.em { color: var(--ember); }
td.em { color: var(--ink); font-weight: 700; }
.t-three th:first-child { width: 28%; }

/* Timeline / stats */
.timeline-item { border-top: 2px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.timeline-item p { font-size: 16px; line-height: 1.45; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 16px 0; }
.stat b { display: block; font-weight: 900; font-stretch: 125%; font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); line-height: 1.1; }
.stat span { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.channels { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; font-size: 15px; }

/* Quote */
.quote { background: var(--grey); padding: clamp(40px, 6vw, 72px) 0; }
.quote p { max-width: 1000px; font-weight: 900; font-stretch: 115%; font-size: clamp(22px, 3vw, 38px); line-height: 1.14; letter-spacing: -0.02em; color: var(--ink); }
.pull { max-width: 1000px; font-size: clamp(18px, 2vw, 24px); line-height: 1.4; color: var(--ink); border-left: 4px solid var(--ember); padding-left: 24px; }
.statement { font-weight: 700; color: var(--ink); border-left: 4px solid var(--ember); padding-left: 18px; }

/* Columns of content */
.col { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.col .tagline { font-weight: 700; font-size: 17px; color: var(--ink); }
.col ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }

/* Economics */
.big-numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 28px; }
.big { padding: 24px; display: flex; flex-direction: column; gap: 6px; background: var(--grey); }
.big b { font-weight: 900; font-stretch: 125%; font-size: clamp(26px, 4vw, 44px); color: var(--ink); line-height: 1.05; }
.big.hot { background: var(--ember); color: #fff; }
.big.hot b { color: #fff; }

/* Interface figure */
.figure { background: var(--ink); border: 1px solid var(--ink); line-height: 0; }
.figure img { width: 100%; height: auto; }

/* Team */
.portrait { aspect-ratio: 1 / 1; background: var(--grey); display: flex; align-items: center; justify-content: center; font-weight: 900; font-stretch: 125%; font-size: clamp(56px, 8vw, 96px); color: var(--line); }
.portrait img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.person { display: flex; flex-direction: column; gap: 14px; }
.person p { font-size: 16px; line-height: 1.6; }

/* Join */
.track { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.track p { font-size: 17px; line-height: 1.6; }
.info { display: flex; flex-direction: column; font-size: 16px; margin-top: 8px; }
.info div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); padding: 14px 0; flex-wrap: wrap; }
.info div:last-child { border-bottom: 1px solid var(--ink); }
.info a, .info strong { font-weight: 700; }
.form { display: flex; flex-direction: column; gap: 20px; background: #fff; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--ink); }
.form label { display: flex; flex-direction: column; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.form input, .form textarea { border: 1px solid var(--ink); padding: 12px 14px; font: 400 16px 'Archivo', sans-serif; background: #fff; color: var(--ink); border-radius: 0; width: 100%; }
.form input { height: 48px; }
.form textarea { min-height: 150px; resize: vertical; }
.form button { align-self: flex-start; border: 0; cursor: pointer; font-family: 'Archivo', sans-serif; padding: 15px 30px; }

/* CTA band */
.band { background: var(--ember); color: #fff; text-align: center; padding: clamp(48px, 7vw, 80px) 0; }
.band .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.band h2 { color: #fff; font-size: clamp(28px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1; max-width: 1000px; }
.band .btn-row { justify-content: center; }

/* Poster-card story overlay */
.story { position: relative; }

/* Footer */
.site-footer { background: var(--footer); color: #cfcdc6; padding-top: 56px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; font-size: 15px; line-height: 1.9; padding-bottom: 40px; }
.site-footer a { color: #cfcdc6; }
.site-footer a:hover { color: #fff; }
.site-footer .col-title { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8c8a83; display: block; }
.site-footer .col-block { display: flex; flex-direction: column; }
.site-footer .brand-big { font-weight: 800; font-stretch: 125%; font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.site-footer .legal { border-top: 1px solid #333; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8c8a83; }

/* Responsive */
@media (max-width: 1000px) {
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px var(--pad) 28px; border-bottom: 2px solid var(--ink); z-index: 20; }
  .nav.open { display: flex; }
  .site-header { position: relative; }
  .split, .g2, .big-numbers { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .strip { aspect-ratio: 16 / 9; }
  .strip.tall { aspect-ratio: 16 / 9; }
  .strip .corner { top: 12px; font-size: 10px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
  .poster { aspect-ratio: 1.4 / 1; }
  table { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Click-to-play figure */
.player { position: relative; cursor: pointer; }
.player video { width: 100%; height: auto; display: block; background: var(--ink); }
.player .play { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(17,17,17,0.18); display: flex; align-items: center; justify-content: center; gap: 16px; cursor: pointer; color: #fff; transition: background .2s; }
.player .play:hover { background: rgba(17,17,17,0.04); }
.player .tri { width: 84px; height: 84px; border-radius: 50%; background: var(--ember); position: relative; flex: none; }
.player .tri::after { content: ""; position: absolute; left: 33px; top: 24px; border-left: 28px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
.player .lbl { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
@media (max-width: 640px) { .player .tri { width: 56px; height: 56px; } .player .tri::after { left: 22px; top: 16px; border-left-width: 18px; border-top-width: 12px; border-bottom-width: 12px; } .player .lbl { display: none; } }
