:root {
  --black: #000000;
  --off-black: #0a0a0a;
  --raised: #131313;
  --white: #ffffff;
  --dim: #8a8a8a;
  --dimmer: #5c5c5c;
  --line: #262626;
  --accent: #ff2b2b;
  --accent-deep: #d40f0f;
  --aura: rgba(255,43,43,0.45);
  --aura-soft: rgba(255,43,43,0.18);
  --gutter: 48px;
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--white); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--black);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- TYPE ---------- */

.display {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
  line-height: 0.98;
  letter-spacing: 0.004em;
  word-spacing: 0.22em;
  text-transform: uppercase;
}

.num {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.eyebrow {
  font-size: 13px;
  color: var(--dim);
  letter-spacing: 0.02em;
}

/* ---------- NAV ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--gutter);
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0));
  transition: background 0.4s ease, padding 0.4s ease;
}

.nav.solid {
  background: var(--black);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--gutter);
}

.nav-logo img { height: 26px; width: auto; }

.nav-logo .fallback {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 32px; align-items: center; }

.nav-links a {
  font-size: 14px;
  color: var(--dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--white);
  transition: width 0.35s cubic-bezier(0.65,0,0.35,1);
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 4px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s cubic-bezier(0.65,0,0.35,1), opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- HERO ---------- */

.hero-stage { position: relative; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: 0 var(--gutter) 56px;
  overflow: hidden;
}

.hero-media {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: min(320px, 26vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--off-black);
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, #101010 0 3px, #0a0a0a 3px 6px);
  color: var(--dimmer);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}

.hero-media .media-placeholder {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 150px var(--gutter) 0;
}

.hero-inner { position: relative; z-index: 2; flex: 1 1 auto; min-width: 0; }

.hero h1 {
  font-size: clamp(52px, 10.5vw, 168px);
}

.hero-sub {
  max-width: 520px;
  margin-top: 28px;
  color: var(--dim);
  font-size: 17px;
}

.reel-badge {
  position: absolute;
  top: 96px;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--dim);
}

.reel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--white);
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.scroll-cue {
  position: absolute;
  bottom: 24px; right: var(--gutter);
  z-index: 2;
  font-size: 12px;
  color: var(--dimmer);
}

/* ---------- STATS ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: block;
  padding: 72px 40px;
  border-right: 1px solid var(--line);
  background: var(--black);
  transition: background 0.45s cubic-bezier(0.65,0,0.35,1), color 0.45s ease, transform 0.45s cubic-bezier(0.65,0,0.35,1);
  position: relative;
  z-index: 1;
}
.stat:last-child { border-right: 0; }

.stat .num {
  font-size: clamp(52px, 7.5vw, 116px);
  display: block;
  transition: transform 0.45s cubic-bezier(0.65,0,0.35,1);
}

.stat .stat-label {
  display: block;
  margin-top: 16px;
  color: var(--dim);
  font-size: 14px;
  max-width: 280px;
  transition: color 0.45s ease;
}

.stat:hover,
.stat:focus-visible {
  background: var(--white);
  color: var(--black);
  transform: scale(1.03);
  z-index: 3;
}

.stat:hover .stat-label,
.stat:focus-visible .stat-label { color: var(--black); }

.stat:hover .num,
.stat:focus-visible .num { transform: scale(1.06); transform-origin: left center; }

/* ---------- SECTIONS ---------- */

.section { padding: 120px var(--gutter); }
.section.tight { padding-block: 96px 44px; }
.section.bordered { border-top: 1px solid var(--line); }

.section-title {
  font-size: clamp(34px, 5.5vw, 72px);
  max-width: 900px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* ---------- CLIENT GRID ---------- */

.client-grid {
  display: grid;
  /* Six tracks so each tile can span two and the shorter bottom
     row can be offset by one track to sit centred. */
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--black);
}

.client-tile { grid-column: span 2; }

/* Five clients: 3 on top, 2 centred underneath */
.client-tile:nth-child(4) { grid-column: 2 / span 2; }

.client-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: var(--black);
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
}

.client-tile img {
  max-height: 80px;
  max-width: 78%;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.65,0,0.35,1);
}

.client-tile img.tall { max-height: 112px; max-width: 52%; }

.client-tile .fallback {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--dim);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.65,0,0.35,1);
}

.client-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--white);
  color: var(--black);
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65,0,0.35,1);
}

.client-reveal .num { font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.client-reveal span { font-size: 13px; font-weight: 500; }

.client-tile:hover img,
.client-tile:hover .fallback { opacity: 0; transform: translateY(-24px); }
.client-tile:hover .client-reveal { transform: translateY(0); }

/* ---------- WORK LIST ---------- */

.work-row {
  display: grid;
  grid-template-columns: 1fr 220px 170px;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s cubic-bezier(0.65,0,0.35,1);
}

.work-row:first-of-type { border-top: 1px solid var(--line); }

.work-name {
  font-size: clamp(28px, 4vw, 56px);
  transition: transform 0.4s cubic-bezier(0.65,0,0.35,1);
}

.work-sector { font-size: 14px; color: var(--dim); }

.work-metric {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  text-align: right;
  color: var(--dim);
  transition: color 0.3s ease;
}

.work-row:hover { padding: 48px 0; }
.work-row:hover .work-name { transform: translateX(16px); }
.work-row:hover .work-metric { color: var(--white); }

/* ---------- ABOUT ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: start;
}

.statement { font-size: clamp(30px, 3.9vw, 52px); }

.prose { color: var(--dim); max-width: 460px; }
.prose p + p { margin-top: 18px; }

/* ---------- CASE STUDY ---------- */

.case-hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 160px var(--gutter) 64px;
  border-bottom: 1px solid var(--line);
}

.case-client-logo {
  height: 56px;
  width: auto;
  align-self: flex-start;
  flex: 0 0 auto;
  object-fit: contain;
  margin-bottom: 36px;
  opacity: 0.85;
}

.case-hero .fallback {
  align-self: flex-start;
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 36px;
}

.case-title {
  font-size: clamp(30px, 5.1vw, 74px);
  text-wrap: balance;
}

@media (max-width: 720px) {
  .case-title { font-size: clamp(26px, 7.4vw, 40px); }
}

.case-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 40px;
  color: var(--dim);
  font-size: 14px;
}

.case-meta strong { display: block; color: var(--white); font-weight: 500; margin-top: 4px; }

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric {
  padding: 56px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric .num { font-size: clamp(44px, 5.5vw, 84px); display: block; }
.metric p { margin-top: 10px; font-size: 14px; color: var(--dim); }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--off-black);
  border: 1px solid var(--line);
  overflow: hidden;
}

.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- TEAM ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.member { background: var(--black); padding: 0 0 32px; }

.member-photo {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, #101010 0 3px, #0a0a0a 3px 6px);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-photo .fallback {
  font-size: 13px;
  color: var(--dimmer);
  text-align: center;
  padding: 24px;
}

.member-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.7s cubic-bezier(0.65,0,0.35,1);
}

.member:hover .member-photo img { transform: scale(1.04); }

.member-body { padding: 0 28px; }
.member h3 { font-family: var(--display); font-weight: 700; font-size: 28px; text-transform: uppercase; letter-spacing: -0.02em; }
.member .role { color: var(--dim); font-size: 14px; margin-top: 6px; }
.member .bio { color: var(--dim); font-size: 15px; margin-top: 16px; }

.demo-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--dimmer);
  border: 1px solid var(--line);
  padding: 4px 10px;
}

/* ---------- JOURNAL ---------- */

.post-row {
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  gap: 32px;
  align-items: baseline;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s ease;
}
.post-row:first-of-type { border-top: 1px solid var(--line); }
.post-row:hover { padding: 52px 0; }

.post-date { font-size: 13px; color: var(--dimmer); }
.post-title { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.8vw, 38px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.05; transition: transform 0.4s ease; }
.post-row:hover .post-title { transform: translateX(14px); }
.post-cat { font-size: 13px; color: var(--dim); text-align: right; }

/* ---------- CONTACT ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }

.contact-block + .contact-block { margin-top: 40px; }
.contact-block h3 { font-size: 14px; color: var(--dim); font-weight: 400; margin-bottom: 8px; }
.contact-block a, .contact-block p { font-size: 20px; }
.contact-block a { border-bottom: 1px solid var(--line); transition: border-color 0.3s ease; }
.contact-block a:hover { border-color: var(--white); }

.field { margin-bottom: 28px; }
.field label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  padding: 10px 0;
  transition: border-color 0.3s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.field select option { background: var(--off-black); }

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 34px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover { background: transparent; color: var(--white); }

.form-error { color: var(--white); font-size: 13px; margin-top: 8px; border-left: 2px solid var(--white); padding-left: 10px; }
.form-status { margin-top: 20px; font-size: 15px; color: var(--dim); }

/* ---------- FOOTER ---------- */

.footer { border-top: 1px solid var(--line); padding: 112px var(--gutter) 40px; }

.footer-lockup {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-mark { flex-shrink: 0; padding-bottom: 12px; }
.footer-mark img { height: 46px; width: auto; opacity: 0.85; }
.footer-mark .fallback {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  color: var(--dim);
}

@media (max-width: 720px) {
  .footer-lockup { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer-mark { padding-bottom: 0; }
}

.cta {
  font-size: clamp(40px, 8.5vw, 132px);
  display: inline-block;
  transition: opacity 0.3s ease;
}
.cta:hover { opacity: 0.55; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 96px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}

.socials { display: flex; gap: 18px; align-items: center; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.socials a:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- REVEAL ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2,0.7,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  :root { --gutter: 28px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  /* Two per row, and the trailing odd tile sits centred */
  .client-grid { grid-template-columns: repeat(4, 1fr); }
  .client-tile { grid-column: span 2; }
  .client-tile:nth-child(4) { grid-column: auto / span 2; }
  .client-tile:nth-child(5) { grid-column: 2 / span 2; }
  .work-row { grid-template-columns: 1fr; row-gap: 10px; }
  .work-sector, .work-metric { text-align: left; }
  .post-row { grid-template-columns: 1fr; gap: 10px; }
  .post-cat { text-align: left; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.65,0,0.35,1);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 26px; font-family: var(--display); font-weight: 700; text-transform: uppercase; color: var(--white); }
  .nav-toggle { display: flex; z-index: 210; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .section { padding: 76px var(--gutter); }
  .reel-badge { top: 84px; }
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 26px;
    padding-top: 96px;
  }
  .hero-media {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    max-height: 42vh;
  }
  .hero-inner { text-align: left; }
  .hero h1 { font-size: clamp(44px, 13vw, 74px); }
  .hero-sub { margin-top: 18px; font-size: 15px; }
}

@media (min-width: 721px) and (max-width: 1000px) {
  .hero-media { width: min(220px, 24vw); }
}

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

/* ---------- HERO MARK (big logo that docks into the nav) ---------- */

.has-hero-mark .nav-logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.has-hero-mark.mark-docked .nav-logo {
  opacity: 1;
  pointer-events: auto;
}

.hero-mark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-mark img {
  width: min(560px, 66vw);
  height: auto;
}

.hero-mark .fallback {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(64px, 13vw, 180px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.has-hero-mark.mark-docked .hero-mark { opacity: 0; }

/* ---------- WORK BANDS ---------- */

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
  background: var(--black);
  transition: background 0.5s cubic-bezier(0.65,0,0.35,1), color 0.5s ease;
  overflow: hidden;
}

.band-media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: repeating-linear-gradient(135deg, #101010 0 3px, #0a0a0a 3px 6px);
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1;
  grid-column: 1;
  border-right: 1px solid var(--line);
}

.band-body {
  padding: 76px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-row: 1;
  grid-column: 2;
}

/* Flipped bands: text left, image right */
.band.flip .band-media { grid-column: 2; border-right: 0; border-left: 1px solid var(--line); }
.band.flip .band-body  { grid-column: 1; }

.band-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.8s cubic-bezier(0.65,0,0.35,1);
}

.band-media .fallback {
  font-size: 13px;
  color: var(--dimmer);
  text-align: center;
  padding: 24px;
}

.band:hover .band-media img { transform: scale(1.05); }

.band-logo {
  height: 40px;
  width: auto;
  align-self: flex-start;
  object-fit: contain;
  opacity: 0.7;
  margin-bottom: 28px;
  transition: opacity 0.4s ease, filter 0.5s ease;
}

.band-logo.tall { height: 62px; }

.band-body > .fallback {
  align-self: flex-start;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 28px;
}

.band-name {
  font-size: clamp(30px, 3.4vw, 52px);
  transition: transform 0.5s cubic-bezier(0.65,0,0.35,1);
}

.band-sector { color: var(--dim); font-size: 14px; margin-top: 12px; transition: color 0.5s ease; }

.band-summary {
  color: var(--dim);
  font-size: 16px;
  margin-top: 22px;
  max-width: 460px;
  transition: color 0.5s ease;
}

.band-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 40px;
}

.band-metric { max-width: 150px; }

.band-metric .num {
  display: block;
  font-size: clamp(30px, 3vw, 46px);
}

.band-metric span:last-child {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--dim);
  transition: color 0.5s ease;
}

.band-cta {
  margin-top: 44px;
  font-size: 14px;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
  padding-bottom: 4px;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.band:hover { background: var(--white); color: var(--black); }

.band:hover .band-sector,
.band:hover .band-summary,
.band:hover .band-metric span:last-child { color: #4a4a4a; }

.band:hover .band-logo { filter: invert(1); opacity: 1; }
.band:hover .band-name { transform: translateX(10px); }

/* ---------- BRAND WALL ---------- */

.brand-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 24px 20px;
  background: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 20px);
  text-transform: uppercase;
  letter-spacing: 0.004em;
  word-spacing: 0.14em;
  text-align: center;
  color: var(--dimmer);
  transition: color 0.3s ease, background 0.3s ease;
}

.brand:hover { color: var(--white); background: #0f0f0f; }

.brand-logo img {
  max-height: 42px;
  max-width: 82%;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.brand-logo:hover img { opacity: 1; }

.brand-logo .fallback {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 20px);
  text-transform: uppercase;
  color: var(--dimmer);
}
.brand-logo:hover .fallback { color: var(--white); }

@media (max-width: 1000px) {
  .brand-wall { grid-template-columns: repeat(4, 1fr); }
  .brand { min-height: 100px; padding: 18px 14px; }
  .brand-logo img { max-height: 34px; }
}

@media (max-width: 560px) {
  .brand { min-height: 76px; padding: 12px 8px; }
  .brand-logo img { max-height: 24px; max-width: 86%; }
  .brand-logo .fallback { font-size: 11px; }
}

/* ---------- TEAM LINKEDIN ---------- */

.member-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.member-linkedin {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--dim);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.member-linkedin svg { width: 16px; height: 16px; fill: currentColor; }

.member-linkedin:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.inline-link { border-bottom: 1px solid var(--line); transition: border-color 0.3s ease; }
.inline-link:hover { border-color: var(--white); }

@media (max-width: 900px) {
  .band { grid-template-columns: 1fr; }
  .band .band-media,
  .band.flip .band-media {
    grid-column: 1; grid-row: 1;
    min-height: 300px;
    border-right: 0; border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .band .band-body,
  .band.flip .band-body { grid-column: 1; grid-row: 2; padding: 48px 28px; }
  .band-metrics { gap: 28px; }
  .hero-mark img { width: 70vw; }
  .hero-stage { height: auto; }
  .hero { position: relative; height: auto; min-height: 100vh; }
}

.has-hero-mark .hero-inner,
.has-hero-mark .hero-media { opacity: 0; }
.has-hero-mark .reel-badge,
.has-hero-mark .scroll-cue { transition: opacity 0.5s ease; }

@media (prefers-reduced-motion: reduce) {
  .has-hero-mark .hero-inner,
  .has-hero-mark .hero-media { opacity: 1 !important; transform: none !important; }
  .hero-mark { display: none; }
  .has-hero-mark .nav-logo { opacity: 1 !important; pointer-events: auto !important; }
}

/* ---------- RED AS SIGNAL ----------
   Red is never a fill. It marks the one thing that matters in a
   block: the last line of a headline, a number on hover, a live
   indicator. Everything it touches gets a soft aura. */

.txt-accent {
  color: var(--accent);
  text-shadow: 0 0 22px var(--aura), 0 0 48px var(--aura-soft);
}

/* Hero: only the final line carries the colour */
.hero h1 .accent {
  color: var(--accent);
  text-shadow: 0 0 30px var(--aura), 0 0 70px var(--aura-soft);
}

/* Thin rule, glowing */
.sep {
  width: 44px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--aura);
  margin: 28px 0;
}

/* Live / category tag: outline, not a block */
.yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255,43,43,0.35);
  color: var(--accent);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  margin-bottom: 26px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.yt-badge svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.yt-badge:hover { border-color: var(--accent); box-shadow: 0 0 20px var(--aura-soft); }

/* ---- Stat cards: white invert, red number ---- */

.stat:last-child { background: var(--black); color: var(--white); }
.stat:last-child .stat-label { color: var(--dim); }

.stat:last-child:hover,
.stat:last-child:focus-visible {
  background: var(--white);
  color: var(--black);
}
.stat:last-child:hover .stat-label,
.stat:last-child:focus-visible .stat-label { color: var(--black); }

.stat:hover .num,
.stat:focus-visible .num {
  color: var(--accent);
  text-shadow: 0 0 26px var(--aura);
}

/* ---- Client tiles: logo turns red, number arrives red ---- */

.client-reveal {
  background: transparent;
  color: var(--white);
  transform: none;
  opacity: 0;
  justify-content: flex-end;
  padding-bottom: 26px;
  gap: 1px;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.client-reveal .num {
  font-size: clamp(26px, 2.7vw, 38px);
  color: var(--accent);
  text-shadow: 0 0 24px var(--aura), 0 0 54px var(--aura-soft);
  transform: translateY(10px);
  transition: transform 0.45s cubic-bezier(0.65,0,0.35,1);
}

.client-reveal span:last-child {
  font-size: 12px;
  color: var(--dim);
  transform: translateY(10px);
  transition: transform 0.45s cubic-bezier(0.65,0,0.35,1) 0.04s;
}

.client-tile:hover .client-reveal { opacity: 1; }
.client-tile:hover .client-reveal .num,
.client-tile:hover .client-reveal span:last-child { transform: translateY(0); }

/* White logo tinted red, with a glow behind it */
.client-tile:hover img,
.client-tile:hover .fallback {
  opacity: 1;
  transform: translateY(-34px) scale(0.9);
}

.client-tile:hover img {
  filter: brightness(0) saturate(100%) invert(29%) sepia(96%) saturate(6300%)
          hue-rotate(354deg) brightness(103%) contrast(106%)
          drop-shadow(0 0 18px var(--aura));
}

.client-tile:hover .fallback {
  color: var(--accent);
  text-shadow: 0 0 22px var(--aura);
}

.client-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, var(--aura-soft), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.client-tile:hover::after { opacity: 1; }

/* ---- Portfolio bands: white invert, red metrics ---- */

.band:hover .band-metric .num {
  color: var(--accent);
  text-shadow: 0 0 20px var(--aura);
}

.band:hover .band-cta { color: var(--accent); border-color: var(--accent); }

/* ---- Work rows ---- */

.work-row:hover .work-metric {
  color: var(--accent);
  text-shadow: 0 0 20px var(--aura);
}

/* ---- YouTube stats: dark, red figures ---- */

.yt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.yt-stat {
  padding: 60px 36px;
  border-right: 1px solid var(--line);
  transition: background 0.4s ease;
}
.yt-stat:last-child { border-right: 0; }

.yt-stat .num {
  font-size: clamp(44px, 5.5vw, 84px);
  display: block;
  color: var(--accent);
  text-shadow: 0 0 30px var(--aura), 0 0 70px var(--aura-soft);
}

.yt-stat p { margin-top: 12px; font-size: 14px; color: var(--dim); max-width: 240px; }

/* ---- Play button ---- */

.yt-play {
  position: relative; z-index: 2;
  width: 66px; height: 66px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 34px var(--aura), 0 0 80px var(--aura-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yt-embed:hover .yt-play {
  transform: scale(1.1);
  box-shadow: 0 0 46px var(--aura), 0 0 110px var(--aura-soft);
}
.yt-play svg { width: 25px; height: 25px; fill: var(--white); margin-left: 3px; }

/* ---- Live dot ---- */

.reel-dot {
  background: var(--accent);
  box-shadow: 0 0 12px var(--aura);
}

/* ---- Nav current page ---- */

.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after {
  background: var(--accent);
  width: 100%;
  box-shadow: 0 0 10px var(--aura);
}

/* ---- Brand wall ---- */

.brand:hover {
  color: var(--accent);
  text-shadow: 0 0 24px var(--aura);
}

/* ---- Case study metrics: first figure is the headline one ---- */

.metric:first-child .num {
  color: var(--accent);
  text-shadow: 0 0 28px var(--aura), 0 0 64px var(--aura-soft);
}

/* ---- Media split moved further down, see ABOUT text+stat section ---- */

/* ---- YouTube grid ---- */

.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
}

.yt-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-embed .yt-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.65,0,0.35,1);
}
.yt-embed:hover .yt-thumb { transform: scale(1.04); }
.yt-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 22px;
  background: linear-gradient(0deg, rgba(0,0,0,0.9), transparent);
  font-size: 14px;
  font-weight: 500;
  z-index: 2;
}

@media (max-width: 860px) {
  .media-split { grid-template-columns: 1fr; }
  .media-split .text-col { padding: 48px 28px; }
  .yt-grid { grid-template-columns: 1fr; }
}


/* Keywords inside body copy */
.prose strong,
.band-summary strong,
.text-col strong,
.hero-sub strong {
  color: var(--white);
  font-weight: 600;
}
.band:hover .band-summary strong { color: var(--black); }

/* ---------- CASE STUDY EXTERNAL LINKS ---------- */

.case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 28px;
}

.case-link {
  font-size: 15px;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.case-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- ABOUT: text + stat column (replaces the old image split) ---------- */

.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 88px var(--gutter);
}

.media-split .text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.mini-stat .num {
  font-size: clamp(38px, 4.2vw, 60px);
  display: block;
  color: var(--white);
}

.mini-stat p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--dim);
  max-width: 320px;
}

@media (max-width: 900px) {
  .media-split { grid-template-columns: 1fr; gap: 40px; padding: 64px var(--gutter); }
}

/* ---------- JOURNAL: sub-section headings smaller than the page title ---------- */

.subsection-title {
  font-size: clamp(22px, 2.6vw, 32px);
  text-transform: uppercase;
  color: var(--dim);
}

.subsection-title .txt-accent { color: var(--accent); }

/* ---------- YOUTUBE FALLBACK (embedding disabled by owner) ---------- */

.yt-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 36px;
  background:
    radial-gradient(circle at 30% 30%, var(--aura-soft), transparent 60%),
    var(--off-black);
}

.yt-fallback-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255,43,43,0.35);
  padding: 6px 12px;
}
.yt-fallback-badge svg { width: 14px; height: 14px; fill: currentColor; }

.yt-fallback-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  max-width: 420px;
}

.yt-fallback-note {
  font-size: 14px;
  color: var(--dim);
  max-width: 380px;
}

.yt-fallback-btn {
  margin-top: 6px;
  padding: 12px 24px;
  font-size: 14px;
}

/* ---------- SIDE-BY-SIDE CASE PHOTOS ---------- */

.section-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.section-image-pair .section-image {
  aspect-ratio: 1080 / 500;
  overflow: hidden;
}

.section-image-pair .section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 720px) {
  .section-image-pair { grid-template-columns: 1fr; }
}

/* ---------- EMPTY TEAM SLOTS (roles still to be filled) ---------- */

.member.is-empty .member-photo {
  background: repeating-linear-gradient(135deg, #0e0e0e 0 3px, #0a0a0a 3px 6px);
}

.member.is-empty h3 { min-height: 1em; }
.member.is-empty .role { color: var(--dimmer); }

/* ---------- FOOTER BASELINE ---------- */

.cta-baseline {
  margin-top: 22px;
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--dim);
}

/* ---------- CONTACT: stacked blocks ---------- */

.contact-stack { max-width: 760px; }

.contact-block-title {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 10px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

@media (max-width: 720px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .client-grid { grid-template-columns: repeat(4, 1fr); }
  .client-tile { grid-column: span 2; }
  .client-tile:nth-child(4) { grid-column: auto / span 2; }
  .client-tile:nth-child(5) { grid-column: 2 / span 2; }
}

/* ---------- TOUCH DEVICES: no hover, so show the figures permanently ----------
   Hover reveals are invisible on a phone. On any device without a fine
   pointer the client tiles show their figure and label at all times, with
   the logo lifted to make room, exactly as the hover state does. */

@media (hover: none) {
  .client-tile img,
  .client-tile .fallback {
    opacity: 1;
    transform: translateY(-26px) scale(0.9);
  }

  .client-tile img {
    filter: brightness(0) saturate(100%) invert(29%) sepia(96%) saturate(6300%)
            hue-rotate(354deg) brightness(103%) contrast(106%)
            drop-shadow(0 0 14px var(--aura));
  }

  .client-tile .fallback {
    color: var(--accent);
    text-shadow: 0 0 18px var(--aura);
  }

  .client-reveal { opacity: 1; }
  .client-reveal .num,
  .client-reveal span:last-child { transform: none; }
  .client-tile::after { opacity: 1; }
}

/* The "hover" instruction makes no sense on touch */
.hover-hint-touch { display: none; }
@media (hover: none) {
  .hover-hint-pointer { display: none; }
  .hover-hint-touch { display: inline; }
}

.form-status.is-error { color: var(--accent); }

/* Honeypot: off-screen rather than display:none, which some bots detect */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- FOOTER LEGAL LINK ---------- */

.footer-legal {
  font-size: 13px;
  color: var(--dim);
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.footer-legal:hover { color: var(--white); border-color: var(--line); }

/* ---------- LEGAL NOTICE PAGE ---------- */

.legal-body {
  max-width: 760px;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.75;
}

.legal-body h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.1vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.004em;
  word-spacing: 0.14em;
  color: var(--white);
  margin: 52px 0 14px;
}

.legal-body h2:first-child { margin-top: 0; }
.legal-body p + p { margin-top: 14px; }
.legal-address { color: var(--white); }
