/* ==========================================================================
   BIG AD MACHINE
   Sharper creative. Smarter media. Built for dealerships.
   --------------------------------------------------------------------------
   Change the accent in ONE place: --blue, below.
   ========================================================================== */

/* ---------- 0. FONTS ------------------------------------------------------
   Self-hosted. No Google Fonts request, no third-party dependency, no
   layout shift. All paths are relative to this file, so they resolve from
   /index.html and /insights/*.html alike. 164 KB total.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Anton";
  src: url("assets/fonts/anton-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- 1. TOKENS ---------------------------------------------------- */

:root {
  /* Surface */
  --bg:            #08090b;
  --bg-2:          #0b0d11;
  --bg-3:          #101319;
  --line:          #1c212b;
  --line-bright:   #2a3140;

  /* Ink — muted is deliberately lighter than the mockup for legibility.
     #a9b2c0 on #08090b ≈ 9.4:1. The mockup's gray was under 4.5:1. */
  --white:         #ffffff;
  --ink:           #e8ecf2;
  --muted:         #a9b2c0;
  --faint:         #6d7686;

  /* Accent */
  --blue:          #2e7df7;
  --blue-bright:   #4b91ff;
  --blue-dim:      #1a4d99;
  --blue-glow:     rgba(46, 125, 247, 0.35);

  /* Type */
  --display: "Anton", "Arial Narrow", sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm — one consistent section pad. This is the fix for the
     inconsistent vertical gaps in the mockup. */
  --pad-section: clamp(5rem, 11vw, 9.5rem);
  --gutter:      clamp(1.25rem, 5vw, 6.25rem);
  --maxw:        82.5rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. RESET ----------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--blue); color: #fff; }

/* ---------- 3. LAYOUT PRIMITIVES ---------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--pad-section);
}

/* The faint engineering grid that runs behind everything. */
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right,  var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: clamp(60px, 8vw, 128px) clamp(60px, 8vw, 128px);
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
  z-index: -1;
}

/* Decorative layers sit at z-index -1 rather than pushing .wrap to z-index 1.
   Keeps them behind content without creating extra stacking contexts. */
.section > .wrap { position: relative; }

/* ---------- 4. TYPE ------------------------------------------------------ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin: 0 0 1.75rem;
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--blue);
  flex: none;
}

.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--blue);
  flex: none;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 7.2vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.75rem); line-height: 0.98; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.05; }
h4 { font-size: clamp(1rem, 1.35vw, 1.1875rem); line-height: 1.15; }

.hl    { color: var(--blue); }
.dim   { color: var(--faint); }

.lede {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  color: var(--muted);
  max-width: 34rem;
  margin: 1.75rem 0 0;
}

.lede--wide { max-width: 46rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- 5. BUTTONS --------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: var(--line-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9375rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease),
              border-color 0.25s var(--ease),
              transform 0.25s var(--ease);
}

.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  --btn-bg: var(--blue);
  --btn-bd: var(--blue);
  --btn-fg: #fff;
}
.btn--primary:hover {
  --btn-bg: var(--blue-bright);
  --btn-bd: var(--blue-bright);
}

.btn--ghost:hover {
  --btn-bd: var(--blue);
  --btn-bg: rgba(46, 125, 247, 0.08);
}

.btn--outline {
  --btn-bd: var(--blue-dim);
  --btn-fg: var(--blue-bright);
}
.btn--outline:hover {
  --btn-bd: var(--blue);
  --btn-bg: rgba(46, 125, 247, 0.1);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

/* ---------- 6. HEADER ---------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  background: rgba(8, 9, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 5.75rem;
}

/* Official BAM lockup — white-fill artwork from BAM_WHITE_FILL.ai.
   Do not substitute type for this; the hand-drawn gear is part of the mark. */
.logo {
  display: block;
  flex: none;
  line-height: 0;
}

.logo img {
  width: auto;
  height: 3.5rem;            /* 56px in a 92px header */
  transition: opacity 0.2s var(--ease);
}

.logo:hover img { opacity: 0.75; }

.footer .logo img { height: 4rem; }

@media (max-width: 900px) {
  .logo img { height: 2.625rem; }
}

.nav { display: flex; gap: 2rem; }

.nav a {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 0.5rem;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.125rem;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.28s var(--ease);
}

.nav a:hover { color: var(--white); }
.nav a:hover::after,
.nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--white); }

.header .btn { flex: none; }

/* Mobile menu toggle */
.menu-btn {
  display: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: none;
  border: 1px solid var(--line-bright);
  cursor: pointer;
  flex: none;
}

.menu-btn span {
  display: block;
  width: 1.125rem; height: 1.5px;
  background: var(--white);
  position: relative;
  transition: background 0.2s var(--ease);
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: var(--white);
  transition: transform 0.28s var(--ease);
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after  { top:  6px; }

.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. HERO ------------------------------------------------------ */

.hero {
  position: relative;
  padding-top: clamp(8rem, 15vh, 11rem);
  padding-bottom: 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 60vw; height: 60vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(46,125,247,0.10) 0%, transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero h1 { max-width: 14ch; }

.hero__art { position: relative; }

/* Sits optically low against the headline when vertically centred, so nudge
   the whole assembly up and scale it 10%. Scaling the whole thing rather than
   just the artwork keeps the gear-to-label spacing intact — enlarging the art
   alone runs it into the STRATEGY / MEDIA annotations.
   Purely visual: no reflow, no effect on the stat band below. */
@media (min-width: 1081px) {
  .hero__art {
    transform: translateY(-100px) scale(1.1);
    transform-origin: 50% 50%;
  }
}

/* --- Hand-drawn gear loop + schematic overlay --- */

.gearbox {
  position: relative;
  aspect-ratio: 640 / 520;
  width: 100%;
}

/* Radial glow behind the gear, same as the mockup */
.gearbox::before {
  content: "";
  position: absolute;
  left: 50%; top: 48%;
  width: 74%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(46,125,247,0.20) 0%, transparent 64%);
  pointer-events: none;
}

/* Still and canvas occupy the same box. The still shows first; the canvas
   fades over it once the first keyed frame is drawn. Both carry real alpha,
   so there is no blend mode anywhere and therefore no black box to leak. */
.gearbox__still,
.gearbox__canvas {
  position: absolute;
  left: 50%; top: 47%;
  transform: translate(-50%, -50%);
  width: 79%;
  height: auto;
  opacity: 0.92;
}

.gearbox__canvas {
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.gearbox__canvas.is-live { opacity: 0.92; }

.gearbox__still { transition: opacity 0.45s var(--ease); }
.gearbox__still.is-hidden { opacity: 0; }

/* The <video> is only a frame source — never displayed. */
.gearbox video {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gearbox__annot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Stat band */
.statband {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.statband__item {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  border-left: 1px solid var(--line);
}
.statband__item:first-child { border-left: 0; }

.statband__head {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  margin-bottom: 0.625rem;
}

.statband__head svg { color: var(--blue); flex: none; }

.statband__head strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.4vw, 1.1875rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}

.statband p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 8. SPLIT SECTIONS ------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.split--top { align-items: start; }

.split__art { position: relative; }
.split__art svg { width: 100%; height: auto; }

/* Callout line under the problem statement */
.callout {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  margin-top: 2.25rem;
  font-family: var(--display);
  font-size: clamp(0.9375rem, 1.35vw, 1.125rem);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.2;
}

.callout::before {
  content: "";
  width: 0.4375rem; height: 0.4375rem;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
  box-shadow: 0 0 12px var(--blue-glow);
  transform: translateY(-0.15em);
}

.trio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 2rem;
  font-family: var(--display);
  font-size: clamp(0.875rem, 1.25vw, 1.0625rem);
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
.trio span:not(.sep):first-child { color: var(--blue); }
.trio .sep { color: var(--blue-dim); }

/* ---------- 9. CARDS ----------------------------------------------------- */

.cardgrid {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.cardgrid--2 { grid-template-columns: repeat(2, 1fr); }
.cardgrid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.cardgrid--2 .card:nth-child(2n)  { border-right: 0; }
.cardgrid--2 .card:nth-last-child(-n+2) { border-bottom: 0; }
.cardgrid--4 .card:nth-child(4n)  { border-right: 0; }
.cardgrid--4 .card { border-bottom: 0; }

.card:hover { background: var(--bg-2); }

.card__num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--faint);
  display: block;
  margin-bottom: 1.5rem;
}

.card__icon { color: var(--blue); margin-bottom: 1.125rem; }

.card__title {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.card h3::after,
.card h4::after {
  content: "";
  display: block;
  width: 1.75rem; height: 2px;
  background: var(--blue);
  margin-top: 0.875rem;
}

.card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 1rem;
}

/* Big stat cards */
.card--stat .stat__figure {
  font-family: var(--display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 0.9;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.card--stat .stat__label {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 0.5rem;
  display: block;
}

.card--stat .stat__word {
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

/* ---------- 10. SECTION RULE / KICKER ------------------------------------ */

.rule-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
}

.rule-note::before,
.rule-note::after {
  content: "";
  height: 1px;
  width: clamp(1.5rem, 5vw, 3.5rem);
  background: var(--line-bright);
  flex: none;
}

.centered { text-align: center; }
.centered .lede { margin-inline: auto; }

/* ---------- 11. THE WORK ------------------------------------------------- */

.work__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.work__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.work__col {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2rem);
  align-content: start;
}

/* ---- Chapter markers on the reel ---- */

.chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chapters li { margin: 0; }

.chapters button {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  width: 100%;
  padding: 0.5rem 0.875rem;
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
              background 0.2s var(--ease);
}

.chapters button:hover {
  border-color: var(--line-bright);
  color: var(--white);
}

.chapters button.is-current {
  border-color: var(--blue);
  background: rgba(46, 125, 247, 0.08);
  color: var(--white);
}

.chapters .ch__t {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.chapters button.is-current .ch__t { color: var(--blue-bright); }

/* Chapter boundary ticks drawn into the waveform */
.wave__tick {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line-bright);
  pointer-events: none;
}
.wave__tick::before {
  content: "";
  position: absolute;
  top: 0; left: -2px;
  width: 5px; height: 5px;
  background: var(--blue-dim);
  transform: rotate(45deg);
}

/* --- Audio player --- */

.player {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.3s var(--ease);
}

.player:hover { border-color: var(--line-bright); }
.player.is-playing { border-color: var(--blue-dim); }

.player__meta {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

.player__title {
  font-family: var(--display);
  font-size: clamp(1.0625rem, 1.7vw, 1.4375rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0.75rem 0 0;
}

/* Waveform: bars are generated by JS, heights set inline */
.wave {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.45vw, 4px);
  height: clamp(90px, 16vw, 170px);
  cursor: pointer;
  position: relative;
  padding-block: 0.5rem;
}

/* The reel panel is as tall as the two tiles beside it. Rather than letting
   the waveform stretch into spikes to fill that, cap it and distribute the
   panel's contents — title at the top, wave centred, controls at the base. */
.player--reel { justify-content: space-between; }
.player--reel .wave {
  height: clamp(120px, 17vw, 240px);
  margin-block: auto;
}

.wave__bar {
  flex: 1 1 auto;
  min-width: 2px;
  border-radius: 1px;
  background: var(--line-bright);
  transition: background 0.12s linear, transform 0.12s var(--ease);
  transform-origin: center;
}

.wave__bar.is-past   { background: var(--blue); }
.wave__bar.is-head   { background: var(--white); transform: scaleY(1.12); }

.wave:hover .wave__bar:not(.is-past):not(.is-head) { background: #333c4d; }

.player__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.player__times { display: flex; gap: 0.5rem; }
.player__times b { color: var(--muted); font-weight: 500; }

.playbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.6875rem;
  background: none;
  border: 1px solid var(--line-bright);
  padding: 0.625rem 1.125rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.playbtn:hover { border-color: var(--blue); background: rgba(46,125,247,0.08); }
.playbtn svg { color: var(--blue); flex: none; }
.playbtn .icon-pause { display: none; }
.player.is-playing .playbtn .icon-play  { display: none; }
.player.is-playing .playbtn .icon-pause { display: block; }

/* --- Media (video / display) tiles --- */

.tile {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
              transform 0.3s var(--ease);
}

.tile:hover {
  border-color: var(--blue-dim);
  background: var(--bg-3);
  transform: translateY(-2px);
}

.tile__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0d1017;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.tile__thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
}

.tile:hover .tile__thumb img { opacity: 0.8; transform: scale(1.03); }

.tile__play {
  position: relative;
  z-index: 1;
  width: 3rem; height: 3rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  background: rgba(8,9,11,0.6);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.tile:hover .tile__play { background: var(--blue); color: #fff; transform: scale(1.06); }

.tile__cat {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.tile__title {
  font-family: var(--display);
  font-size: clamp(0.9375rem, 1.35vw, 1.125rem);
  text-transform: uppercase;
  line-height: 1.12;
  margin: 0.625rem 0 0;
}

.tile__more {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: auto;
  padding-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.tile__more::before {
  content: "";
  width: 1.25rem; height: 1px;
  background: var(--blue);
  flex: none;
  transition: width 0.25s var(--ease);
}
.tile:hover .tile__more::before { width: 2rem; }

/* Feature tile — larger thumb, since there is one video rather than four */
.tile--feature .tile__thumb { aspect-ratio: 16 / 9; }

/* Artwork tile links to a page rather than opening a player */
.tile--link { text-decoration: none; }

/* The artwork thumb holds a wide banner, so contain it rather than
   cover-cropping a 4:1 piece into a 16:10 box — cover shows a zoomed sliver
   and reads as nothing. Full opacity too: this one is meant to be legible. */
.tile__thumb--art {
  background: var(--bg-3);
  padding: clamp(0.75rem, 2vw, 1.25rem);
}

.tile__thumb--art img {
  position: static;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

.tile:hover .tile__thumb--art img { opacity: 1; transform: none; }

.tile__thumb--art .tile__arrow {
  position: absolute;
  right: 0.875rem; bottom: 0.875rem;
  width: 2.5rem; height: 2.5rem;
}

.tile__arrow {
  position: relative;
  z-index: 1;
  width: 3rem; height: 3rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  background: rgba(8,9,11,0.6);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease),
              color 0.25s var(--ease);
}
.tile:hover .tile__arrow { background: var(--blue); color: #fff; transform: scale(1.06); }

/* --- Video lightbox --- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(4, 5, 7, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__inner {
  width: min(100%, 68rem);
  border: 1px solid var(--line-bright);
  background: #000;
  position: relative;
  transform: scale(0.97);
  transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox__inner { transform: scale(1); }

.lightbox video,
.lightbox__frame { width: 100%; aspect-ratio: 16/9; background: #000; border: 0; display: block; }

.lightbox__close {
  position: absolute;
  top: -1px; right: -1px;
  width: 2.875rem; height: 2.875rem;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--line-bright);
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.lightbox__close:hover { background: var(--blue); }

.lightbox__cap {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 12. AUDIENCE / EXPERIENCE ------------------------------------ */

.bigmark {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(9rem, 22vw, 20rem);
  line-height: 0.72;
  color: var(--bg-3);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.punch {
  text-align: center;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  font-family: var(--display);
  font-size: clamp(1.0625rem, 2vw, 1.625rem);
  text-transform: uppercase;
  line-height: 1.2;
  text-wrap: balance;
}

.quote {
  position: relative;
  border: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  text-align: center;
}

/* corner brackets */
.quote::before, .quote::after {
  content: "";
  position: absolute;
  width: 1.25rem; height: 1.25rem;
  border: 1px solid var(--blue);
}
.quote::before { top: -1px; left: -1px;  border-right: 0; border-bottom: 0; }
.quote::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.quote__mark {
  font-family: var(--display);
  font-size: 2.5rem;
  line-height: 0.6;
  color: var(--blue-dim);
  margin-bottom: 1.5rem;
}

.quote__text {
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 2.375rem);
  text-transform: uppercase;
  line-height: 1.12;
  max-width: 30ch;
  margin-inline: auto;
  text-wrap: balance;
}

.quote__attr {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 2rem;
}

/* ---------- 12b. FOUNDER --------------------------------------------------
   The portrait is a transparent cutout, so he sits on the page rather than in
   a blue box. Same radial glow as the hero gear, so the two read as a family.
   -------------------------------------------------------------------------- */

.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.founder__portrait {
  position: relative;
  margin: 0;
}

.founder__portrait::before {
  content: "";
  position: absolute;
  left: 50%; top: 55%;
  width: 92%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(46,125,247,0.16) 0%, transparent 66%);
  pointer-events: none;
}

.founder__portrait img {
  position: relative;
  width: 100%;
  height: auto;
  /* fades the bottom edge into the page so the crop never reads as a cut */
  mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
}

.founder__name {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.founder__role {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin: 0.75rem 0 0;
}

.founder__quote {
  border-left: 2px solid var(--blue);
  padding-left: clamp(1rem, 2vw, 1.5rem);
  margin: 2rem 0 2.25rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  line-height: 1.45;
  color: var(--white);
}

.founder__body p {
  color: var(--muted);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.7;
  margin: 0 0 1.125rem;
  max-width: 38rem;
}

.founder__body .beat {
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin: 1.75rem 0;
}

.founder__foot {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem !important;
  color: var(--faint) !important;
  margin-bottom: 0 !important;
}

@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .founder__portrait { max-width: 22rem; }
}

/* ---------- 13. INSIGHTS ------------------------------------------------- */

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.post {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease);
}

.posts .post:nth-child(3n) { border-right: 0; }
.posts .post:nth-last-child(-n+3) { border-bottom: 0; }
.post:hover { background: var(--bg-2); }

.post__cat {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.125rem;
}

.post__title {
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  text-transform: uppercase;
  line-height: 1.12;
  margin: 0;
}

.post__title::after {
  content: "";
  display: block;
  width: 1.75rem; height: 2px;
  background: var(--blue);
  margin-top: 1rem;
  transition: width 0.28s var(--ease);
}
.post:hover .post__title::after { width: 3rem; }

.post p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 1rem 0 1.75rem;
}

.post__more {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.post__more::before {
  content: "";
  width: 1.25rem; height: 1px;
  background: var(--line-bright);
  flex: none;
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}
.post:hover .post__more::before { width: 2rem; background: var(--blue); }

.keywords {
  text-align: center;
  margin-top: clamp(2rem, 3.5vw, 3rem);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--faint);
}

/* ---------- 14. CONTACT -------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.formcard {
  position: relative;
  border: 1px solid var(--line-bright);
  background: var(--bg-2);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}

/* corner brackets */
.formcard::before, .formcard::after {
  content: "";
  position: absolute;
  width: 1.25rem; height: 1.25rem;
  border: 1px solid var(--blue);
}
.formcard::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.formcard::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.formcard__note {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.75rem;
}

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 0.8125rem 1rem;
  font-size: 0.9375rem;
  color: var(--white);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.field textarea { resize: vertical; min-height: 6.5rem; }

.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: #0e1219;
  outline: none;
}

.field input:user-invalid,
.field textarea:user-invalid { border-color: #b4453a; }

.formcard .btn { width: 100%; justify-content: center; margin-top: 0.75rem; }

.form-status {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-height: 1.25rem;
}
.form-status.is-ok   { color: var(--blue-bright); }
.form-status.is-err  { color: #d9705f; }

.fineprint {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--faint);
  max-width: 30rem;
}

.fineprint::before {
  content: "";
  width: 0.375rem; height: 0.375rem;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
  margin-top: 0.5rem;
}

/* ---------- 15. FOOTER --------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.footer__tag {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 20rem;
  margin: 1.5rem 0 2rem;
}

.footer h4 {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--blue-bright);
  margin-bottom: 1.25rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.75rem; }

.footer li a {
  color: var(--muted);
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease);
}
.footer li a:hover { color: var(--white); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.footer__base p { margin: 0; }

/* Only the standalone wordmark gets the dot — NOT the <span id="year">
   nested inside the copyright paragraph. */
.footer__base > span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__base > span::before {
  content: "";
  width: 0.375rem; height: 0.375rem;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

/* ---------- 16. SCROLL REVEAL -------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 16b. ARTWORK GRID --------------------------------------------
   Pieces keep their true proportions rather than being cropped into a
   uniform grid — a 728×90 leaderboard and a 1080×1920 story are different
   objects and shouldn't be forced to look alike.
   -------------------------------------------------------------------------- */

.artgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.art {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.art:hover { border-color: var(--line-bright); background: var(--bg-3); }

.art__btn {
  display: block;
  width: 100%;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  background:
    repeating-conic-gradient(#0d1017 0% 25%, #0a0c11 0% 50%) 50% / 18px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
}

.art__btn img {
  width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
  max-height: 30rem;
  object-fit: contain;
  transition: transform 0.35s var(--ease);
}

.art:hover .art__btn img { transform: scale(1.015); }

/* Tall formats (stories, half pages) shouldn't dominate the row */
.art__btn img[height="1920"],
.art__btn img[height="600"] { max-height: 26rem; width: auto; }

/* Banner formats are 3:1 or wider. In a three-up grid they shrink to
   illegibility, so let them take two columns and be readable. */
.art--wide { grid-column: span 2; }
.art--wide .art__btn img { max-height: 22rem; }

@media (max-width: 60rem) {
  .art--wide { grid-column: span 1; }
}

.art figcaption { padding: clamp(1rem, 2vw, 1.375rem); }

.art__meta {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin: 0 0 0.625rem;
}

.art__note {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.lightbox__inner--art { background: var(--bg); }

#lightboxImg {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #0d1017;
  display: block;
}
#lightboxImg[hidden] { display: none; }

/* ---------- 17. ARTICLE PAGES -------------------------------------------- */

.article {
  padding-top: clamp(8rem, 14vh, 10.5rem);
}

.article__head { max-width: 46rem; }

.article h1 { font-size: clamp(2.125rem, 5vw, 3.75rem); }

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.byline a {
  color: var(--muted);
  border-bottom: 1px solid var(--line-bright);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.byline a:hover { color: var(--blue-bright); border-color: var(--blue); }

.prose {
  max-width: 44rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
}

.prose > * + * { margin-top: 1.5rem; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); color: var(--white); margin-top: 3rem; }
.prose h3 { color: var(--white); margin-top: 2.5rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.625rem; }

/* Staccato copy blocks. BAM's voice runs in short fragments on their own
   lines — setting those as a normal paragraph flattens the rhythm, so they
   get their own treatment: larger, tighter, and in full-strength ink. */
.prose .beat {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.4;
  color: var(--white);
  font-weight: 500;
}

/* The clichés everyone else runs. Set faint on purpose — the page should
   look like the noise it's describing. */
.prose .beat--noise {
  color: var(--faint);
  font-weight: 400;
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
}

.prose blockquote {
  border-left: 2px solid var(--blue);
  padding-left: 1.5rem;
  margin-left: 0;
  font-family: var(--display);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--white);
}

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
  transition: color 0.2s var(--ease);
}
.backlink:hover { color: var(--blue-bright); }
.backlink svg { transition: transform 0.25s var(--ease); }
.backlink:hover svg { transform: translateX(-4px); }

/* Insights index: 2-col grid variant */
.posts--index { grid-template-columns: repeat(2, 1fr); }
.posts--index .post:nth-child(3n) { border-right: 1px solid var(--line); }
.posts--index .post:nth-child(2n) { border-right: 0; }
.posts--index .post:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
.posts--index .post:nth-last-child(-n+2) { border-bottom: 0; }

/* ---------- 18. RESPONSIVE ----------------------------------------------- */

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* width:100% is required — `margin-inline:auto` stops a grid item from
     stretching, which would shrink-wrap this to zero and collapse the
     percentage-width .gearbox inside it. */
  .hero__art { width: 100%; max-width: 34rem; margin-inline: auto; }
  .hero h1 { max-width: 18ch; }

  .statband { grid-template-columns: repeat(2, 1fr); }
  .statband__item:nth-child(3) { border-left: 0; }
  .statband__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .work__layout { grid-template-columns: 1fr; }
  .cardgrid--4 { grid-template-columns: repeat(2, 1fr); }
  .cardgrid--4 .card:nth-child(2n) { border-right: 0; }
  .cardgrid--4 .card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .posts { grid-template-columns: repeat(2, 1fr); }
  .posts .post:nth-child(3n) { border-right: 1px solid var(--line); }
  .posts .post:nth-child(2n) { border-right: 0; }
  .posts .post:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .posts .post:nth-last-child(-n+2) { border-bottom: 0; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 5.75rem 0 auto;
    flex-direction: column;
    gap: 0;
    background: rgba(8, 9, 11, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    max-height: calc(100dvh - 5.75rem);
    overflow-y: auto;
  }

  .nav.is-open { transform: none; }

  .nav a {
    font-size: 0.9375rem;
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }

  .menu-btn { display: flex; }
  .header .btn--header { display: none; }

  .split,
  .work__head,
  .contact__grid { grid-template-columns: 1fr; }

  .split__art, .work__head > :last-child { max-width: 30rem; }

  .bigmark { font-size: 12rem; opacity: 0.6; }
}

@media (max-width: 700px) {
  .statband { grid-template-columns: 1fr; }
  .statband__item { border-left: 0; border-bottom: 1px solid var(--line); }
  .statband__item:last-child { border-bottom: 0; }

  .cardgrid--2, .cardgrid--4 { grid-template-columns: 1fr; }
  .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .cardgrid .card:last-child { border-bottom: 0; }

  .posts, .posts--index { grid-template-columns: 1fr; }
  .posts .post,
  .posts--index .post { border-right: 0; border-bottom: 1px solid var(--line); }
  .posts .post:last-child,
  .posts--index .post:last-child { border-bottom: 0; }

  .work__col--right { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .btn-row .btn { flex: 1 1 100%; justify-content: center; }

  .rule-note { flex-direction: column; gap: 0.75rem; }
  .rule-note::before, .rule-note::after { width: 3rem; }
}
