/* ════════════════════════════════════════════════════════════
   INHOUSE — Structural clone of DEPT® homepage
   Typography: Space Grotesk (display) + DM Sans (body)
   ════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --black:  #0a0a0a;
  --white:  #ffffff;
  --red:    #e84400;
  --blue:   #0047ff;

  --text-primary:   #0a0a0a;
  --text-secondary: #555;
  --text-faint:     #999;

  --bg-off:  #ffffff;
  --bg-dark: #0a0a0a;

  --border: 1px solid rgba(0,0,0,0.12);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --container: 1440px;
  --gutter:    clamp(20px, 4.5vw, 72px);
  --section-v: clamp(96px, 8vw, 128px);
  --section-v-sm: clamp(48px, 4vw, 64px);
  --nav-h:     80px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-sig: cubic-bezier(0.65, 0.05, 0, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
}
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul     { list-style: none; }

/* ── UTILITIES ──────────────────────────────────────────── */
.hl-accent { color: var(--red); }
.hl-red { color: var(--red); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ── PILL BUTTONS (DEPT® style rounded pills) ─────────── */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.pill-btn--outline {
  border: 1.5px solid var(--black);
  background: transparent;
  color: var(--black);
  text-transform: uppercase;
}
.pill-btn--outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.pill-btn--dark {
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
}
.pill-btn--dark:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pill-btn--outline-white {
  border: 1.5px solid rgba(255,255,255,0.5);
  background: transparent;
  color: var(--white);
}
.pill-btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

/* ── CUSTOM CURSOR ───────────────────────────────────────── */
.site-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--black);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s;
  mix-blend-mode: difference;
}
.site-cursor.is-hover { width: 44px; height: 44px; }

/* ── PAGE TRANSITION ─────────────────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9998;
  transform-origin: bottom;
  pointer-events: none;
}


/* ════════════════════════════════════════════ HEADER ══════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: none;
  transition: backdrop-filter 0.35s, border-color 0.35s;
}
.site-header.is-scrolled::before {
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(255,255,255,0.72);
  border-bottom-style: none;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0 clamp(12px, 2vw, 32px);
}

.nav-primary { display: flex; align-items: center; gap: 0; position: relative; }
.nav-item {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: none;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.18s;
  white-space: nowrap;
}
.nav-item:hover { opacity: 0.55; }
.nav-chevron { width: 9px; height: 5px; flex-shrink: 0; transition: transform 0.28s var(--ease-out); }
.nav-item--has-dropdown[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.nav-brand {
  display: flex;
  align-items: center;
  padding: 0 8px;
  height: 100%;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-asterisk { font-size: 2.6rem; color: var(--black); line-height: 1; transition: opacity 0.22s; }
.nav-brand:hover .brand-asterisk { opacity: 0.6; }
.brand-wordmark {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-period { color: var(--black); }

.nav-actions { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.nav-search-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.18s, background 0.18s;
  flex-shrink: 0;
}
.nav-search-btn:hover { border-color: var(--black); background: rgba(0,0,0,0.04); }
.nav-search-btn svg { width: 16px; height: 16px; stroke: var(--black); }

.nav-contact-pill {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 26px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background 0.22s;
  white-space: nowrap;
}
.nav-contact-pill:hover { background: #333; }

.nav-burger { display: none; flex-direction: column; gap: 5px; width: 26px; position: relative; z-index: 1; }
.nav-burger span { display: block; height: 1.5px; background: var(--black); transition: transform 0.3s, opacity 0.3s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mega dropdown ── */
.services-mega {
  position: absolute; top: calc(100% + 8px); left: 0;
  width: max-content;
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.12s ease-in, transform 0.12s ease-in;
  z-index: 99;
}
.services-mega.is-open {
  opacity: 1; pointer-events: auto; transform: none;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.mega-card { background: transparent; border: none; box-shadow: none; overflow: visible; }
.mega-body { display: grid; grid-template-columns: repeat(2, 260px); gap: 3px; }
.mega-col--bottom { grid-column: 1 / -1; }
.mega-col {
  padding: 20px 24px; display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--black);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-width: 0;
}
.mega-label { font-family: var(--font-display); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; color: var(--text-faint); text-transform: uppercase; margin-bottom: 14px; }
.mega-col-links { display: flex; flex-direction: column; flex: 1; }
.mega-link {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.18s, transform 0.22s var(--ease-out);
  white-space: nowrap;
}
.mega-link:first-child { border-top: 1px solid rgba(0,0,0,0.06); }
.mega-link:hover { color: var(--red); transform: translateX(6px); }
.mega-col-footer { margin-top: 14px; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; transition: color 0.18s; white-space: nowrap; }
.mega-col-footer:hover { color: var(--red); }
.mega-ad-block { display: flex; flex-direction: column; flex: 1; }
.mega-ad-headline { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.02em; line-height: 1.15; margin-bottom: 10px; }
.mega-ad-sub { font-family: var(--font-body); font-size: 0.78rem; color: var(--text-faint); line-height: 1.5; margin-bottom: 0; }

/* ── Search overlay ── */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.search-overlay.is-open { opacity: 1; pointer-events: auto; }
.search-overlay-inner { display: flex; align-items: center; gap: 20px; width: 90%; max-width: 700px; }
.search-form { display: flex; align-items: center; flex: 1; border-bottom: 2px solid var(--black); padding-bottom: 12px; }
.search-input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 500; }
.search-submit { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.search-submit svg { width: 24px; height: 24px; }
.search-close { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); }
.search-close svg { width: 20px; height: 20px; }

/* ── Mobile menu ── */
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--white); z-index: 99; padding: calc(var(--nav-h) + 48px) var(--gutter) 48px; flex-direction: column; justify-content: space-between; }
.mobile-menu.is-open { display: flex; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-link { font-family: var(--font-display); font-size: clamp(1.75rem, 6vw, 2.8rem); font-weight: 700; padding: 14px 0; border-bottom: var(--border); opacity: 0; transform: translateX(-20px); }
.mobile-cta-btn { display: inline-flex; align-items: center; height: 52px; padding: 0 32px; background: var(--black); color: var(--white); font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; border-radius: 100px; align-self: flex-start; }


/* ════════════════════════════════════════════════ HERO ══ */
.section-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + clamp(48px, 8vh, 120px)) var(--gutter) 0;
  background: var(--white);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3vh, 40px);
}
.hero-headline { display: flex; flex-direction: column; align-items: center; }
.hero-line {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 10rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero-line--accent { color: var(--red); }
.hero-line--accent span { display: inline-block; }

.hero-cta-row { padding-top: clamp(8px, 2vh, 16px); }


/* ══════════════════════════════════════ HERO MEDIA ══════ */
.section-hero-media {
  position: relative;
  margin-top: -200px;
}
.hero-media-sticky {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111;
  will-change: transform, border-radius;
  transform-origin: center center;
}
/* Hero video overlay */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.hero-video.is-active { opacity: 1; }
/* WebGL canvas — hidden until textures loaded */
.webgl-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-media-container.loaded .webgl-canvas { opacity: 1; }
/* Slide text overlay */
.slide-content {
  position: absolute;
  top: clamp(52px, 6vw, 88px);
  left: clamp(24px, 4vw, 56px);
  z-index: 3;
  pointer-events: none;
}
.slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 6px;
}
.slide-description {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  color: rgba(255,255,255,0.55);
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* Slide nav dots */
.slides-navigation {
  position: absolute;
  bottom: clamp(20px, 3vw, 36px);
  left: clamp(24px, 4vw, 56px);
  display: flex;
  gap: 14px;
  z-index: 4;
}
.slide-nav-item {
  background: none; border: none; padding: 0; cursor: pointer;
  opacity: 0.35; transition: opacity 0.3s;
}
.slide-nav-item.active { opacity: 1; }
.slide-progress-line {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}
.slide-progress-fill {
  height: 100%; width: 0%;
  background: var(--white);
}
/* Sound toggle */
.sound-toggle {
  position: absolute;
  bottom: clamp(20px, 3vw, 36px);
  right: clamp(24px, 3vw, 48px);
  z-index: 5;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.sound-toggle:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); }
.sound-icon { width: 16px; height: 16px; }
.sound-on { display: none; }
.sound-toggle.is-on .sound-off { display: none; }
.sound-toggle.is-on .sound-on  { display: block; }
.hero-media-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-media-slide.is-active { opacity: 1; }
.slide-text {
  position: absolute; top: clamp(52px, 5vw, 84px); left: clamp(24px, 4vw, 56px);
  display: flex; flex-direction: column; gap: 2px; z-index: 3;
}
.slide-text span {
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: 0.04em; color: var(--white);
  line-height: 1.1;
}
.slideshow-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
  color: var(--white); background: none; border: none;
  padding: 12px 20px; cursor: pointer; z-index: 4;
  opacity: 0.7; transition: opacity 0.2s;
}
.slideshow-nav:hover { opacity: 1; }
.slideshow-nav--prev { left: clamp(12px, 2vw, 32px); }
.slideshow-nav--next { right: clamp(12px, 2vw, 32px); }
.slideshow-counter {
  position: absolute; bottom: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 48px);
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.6); z-index: 4;
}


/* ═══════════════════════════════════════ INTRO TEXT ══════ */
.section-intro { padding: clamp(48px, 7vw, 100px) 0; }
.intro-text {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.7;
  max-width: 640px;
}


/* ═══════════════════════════════════ EDITORIAL BLOCKS ═══ */
.section-editorial {
  padding: clamp(48px, 6vw, 88px) 0;
  border-top: var(--border);
}
.editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.editorial-media { width: 100%; }
.editorial-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.editorial-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: clamp(16px, 4vw, 56px);
}
.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.editorial-body {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: var(--text-primary);
  line-height: 1.75;
}
.editorial-body--italic { font-style: italic; }


/* ═════════════════════════════════════════════ WORK ═════ */
.section-work { padding: var(--section-v) 0; }

.work-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.work-section-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.work-grid { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }

/* Work rows */
.work-row { display: grid; gap: clamp(12px, 1.5vw, 20px); }
.work-row--2-asym { grid-template-columns: 1.15fr 1fr; }
.work-row--2-asym-reverse { grid-template-columns: 1fr 1.15fr; }
.work-row--full { grid-template-columns: 1fr; }
.work-row--featured { grid-template-columns: 1fr; }

/* Work card */
.work-card { overflow: hidden; }
.work-card-link { display: block; }

.work-card-media { overflow: hidden; }
.work-card-media--landscape { aspect-ratio: 16/11; }
.work-card-media--wide { aspect-ratio: 2/1; }
.work-card-media--tall { aspect-ratio: 3/4; }

.work-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.work-card-link:hover .work-card-img { transform: scale(1.04); }

/* Work card info — client left, tags right (DEPT® pattern) */
.work-card-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0 8px;
  gap: 16px;
}
.work-card-client {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.work-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.work-card-tags span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Featured accent card */
.work-card-featured {
  background: var(--red);
  overflow: hidden;
}
.work-featured-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(64px, 10vw, 140px) clamp(32px, 5vw, 80px);
  gap: clamp(28px, 4vw, 48px);
}
.work-featured-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}


/* ═══════════════════════════════ HOW WE INVENT GROWTH ═══ */
.section-growth { padding: var(--section-v) 0; }

.growth-eyebrow-bar {
  padding-bottom: 16px;
  border-bottom: var(--border);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.growth-eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.growth-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.growth-accordion { display: flex; flex-direction: column; }
.growth-row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 16px;
  padding: clamp(22px, 3vw, 36px) 0;
  border-top: var(--border);
  cursor: pointer;
  outline: none;
}
.growth-row:last-child { border-bottom: var(--border); }

.growth-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-faint);
}
.growth-label {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: var(--text-faint);
  transition: color 0.25s;
}
.growth-row:hover .growth-label { color: var(--text-primary); }
.growth-row.is-active .growth-label { color: var(--text-primary); }

.growth-arrow {
  display: flex; align-items: center; justify-content: flex-end;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.growth-arrow svg { width: 20px; height: 20px; }
.growth-row:hover .growth-arrow,
.growth-row.is-active .growth-arrow { opacity: 1; transform: none; }


/* ════════════════════════════════ B CORP / CERTIFIED ═════ */
.section-certified {
  padding: var(--section-v) 0;
  background: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
}
.certified-wrap {
  text-align: center;
}
.certified-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.certified-carousel {
  position: relative;
}
.certified-track {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 20px);
  padding: 0 var(--gutter);
}
.certified-card {
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.certified-card--center {
  width: clamp(280px, 38vw, 540px);
}
.certified-card--side {
  width: clamp(140px, 18vw, 260px);
}
.certified-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.certified-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
}
.certified-card-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.7);
}

.certified-stats {
  margin-top: clamp(24px, 3vw, 40px);
}
.certified-stats p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}


/* ══════════════════════════════════ ON OUR MIND ═════════ */
.section-mind {
  padding: var(--section-v) 0;
  border-top: var(--border);
}
.mind-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.mind-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.mind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.mind-card-link { display: block; }
.mind-card-media {
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 16px;
}
.mind-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.mind-card-link:hover .mind-card-img { transform: scale(1.04); }

.mind-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mind-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f5e100;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px;
}
.mind-category {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.mind-card-title {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.1vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
}


/* ═══════════════════════════════════════════ FOOTER ═════ */
.site-footer {
  background: var(--black);
  color: var(--white);
  /* Top padding kept tiny — arched crown sits ON the footer's top edge */
  padding: clamp(20px, 2vw, 32px) var(--gutter) clamp(32px, 4vw, 48px);
  position: relative;
}
.footer-wrap { max-width: var(--container); margin: 0 auto; }

/* Homepage only: crown area sits on black so the preceding black section
   merges seamlessly into the footer with no visible white gap. */
.page-home .footer-arched-crown { background-color: var(--black); }

/* ── Arched INHOUSE Crown — black dome rising above the footer ─ */
.footer-arched-crown {
  position: relative;
  z-index: 5;
  margin-bottom: -1px;
  pointer-events: none;
  line-height: 0;
}
.footer-brand-arch-dome {
  fill: var(--black);
}
.footer-arched-link {
  display: block;
  margin: 0;
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}
.footer-brand-arch {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.footer-brand-arch-text {
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 800;
  letter-spacing: 0.01em;
  fill: var(--white);
  text-transform: uppercase;
  paint-order: stroke fill;
  stroke: var(--white);
  stroke-width: 3;
  transition: fill 0.25s var(--ease-out), stroke 0.25s var(--ease-out);
  pointer-events: visiblePainted;
  cursor: pointer;
}
.footer-brand-arch-text:hover { fill: var(--red); stroke: var(--red); }

/* Flower icon at the apex — pre-whitened PNG (no filter, Safari-safe).
   Icon is 120x120 at (740,70), center = (800,130) in SVG user units. */
.footer-brand-arch-icon {
  opacity: 0.98;
  transform-origin: 800px 130px;
  animation: footer-icon-spin 6s ease-in-out infinite;
}
@keyframes footer-icon-spin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.12); }
  100% { transform: rotate(360deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-brand-arch-icon { animation: none; }
}

/* ── Under-arch: CurvedLoop animated marquee on black ───────────── */
.footer-underarch {
  background-color: var(--black);
  margin-top: -1px;
  padding: clamp(20px, 3vw, 40px) 0 clamp(28px, 3vw, 48px);
  overflow: hidden;
}
.footer-underarch-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.footer-underarch .curved-loop-jacket {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.footer-underarch .curved-loop-svg {
  width: 100%;
  aspect-ratio: 100 / 12;
  overflow: visible;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  fill: var(--white);
  user-select: none;
  -webkit-user-select: none;
  transition: fill 0.25s var(--ease-out);
}
.footer-underarch-link:hover .curved-loop-svg { fill: var(--red); }

/* ── Brand column (bottom-left of footer grid, replaces Services) ─ */
.footer-brand-col {
  gap: 18px;
}
.footer-brand-col-link {
  display: inline-flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}
.footer-brand-col-logo {
  width: clamp(140px, 12vw, 180px);
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.96;
  transition: filter 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
.footer-brand-col-link:hover .footer-brand-col-logo {
  opacity: 1;
  /* black-source PNG → pure red #ff0000 via precomputed filter chain */
  filter: brightness(0) saturate(100%) invert(11%) sepia(99%) saturate(6800%) hue-rotate(4deg) brightness(99%) contrast(117%);
}
.footer-brand-tagline {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 18ch;
  line-height: 1.5;
  transition: color 0.25s var(--ease-out);
}
.footer-brand-col-link:hover .footer-brand-tagline { color: var(--red); }

/* Legacy class shims — old elements removed from markup */
.footer-brand-banner,
.footer-logo-block { display: none; }

/* ── Top grid — 4 column footer ──────────────────────── */
.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-col-group { display: flex; flex-direction: column; gap: 14px; }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 6px;
}
.footer-col-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-col-link:hover { color: var(--red); transform: translateX(4px); }

/* Legacy class compat (older footer-col anchors still styled) */
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-nav-cols { display: contents; }
.footer-right-cols { display: contents; }
.footer-col-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.footer-newsletter-form {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  max-width: 280px;
}
.footer-newsletter-form input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--white); font-family: var(--font-body); font-size: 0.85rem; padding: 8px 0;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter-form button { color: var(--white); font-size: 1.1rem; padding: 8px; transition: color 0.18s; }
.footer-newsletter-form button:hover { color: var(--red); }

.footer-touch-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.18s;
}
.footer-touch-link:hover { color: var(--red); }
.footer-newsletter-form input::placeholder { letter-spacing: 0.04em; }

.footer-social-row {
  display: flex;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  justify-content: flex-end;
}
.footer-social-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  transition: color 0.18s;
}
.footer-social-text:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: clamp(20px, 2.4vw, 32px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-legal-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-legal-link:hover { color: var(--red); }
.footer-legal-sep {
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  user-select: none;
}
.footer-copy {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}


/* ═══════════════════════════════════ RESPONSIVE ═════════ */
@media (max-width: 1024px) {
  .editorial-row { grid-template-columns: 1fr; gap: 40px; }
  .editorial-img { aspect-ratio: 16/10; }
  .work-row--2-asym,
  .work-row--2-asym-reverse { grid-template-columns: 1fr 1fr; }
  .mind-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

/* ── BRAND LOGO BLOCK ────────────────────────────────── */
.brand-logo-block {
  background: var(--white);
  width: 100%;
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px) 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: relative;
}

.brand-dither {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.brand-dither canvas,
.frames-dither canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.65;
  mix-blend-mode: normal;
}

.brand-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  z-index: 1;
}

.brand-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 8vw;
  animation: marqueeScrollRight 14s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.brand-marquee-row {
  display: flex;
  align-items: center;
  gap: 8vw;
  padding-right: 8vw;
  white-space: nowrap;
}

.brand-ticker-item {
  display: block;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(10.8rem, 32vw, 32rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.brand-word-black { color: var(--black); }
.brand-word-red { color: var(--red); }

@keyframes tickerScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeScrollRight {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

.brand-marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(32px, 8vw, 140px);
  pointer-events: none;
  z-index: 2;
}

.brand-marquee-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--white), rgba(255,255,255,0));
}

.brand-marquee-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--white), rgba(255,255,255,0));
}

/* ── SECTION BRAND IMAGE ────────────────────────────── */
.section-brand-img {
  width: 100%;
  line-height: 0;
}
.section-brand-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── DYNAMIC FRAME LAYOUT ────────────────────────────── */
.section-frames {
  background: var(--white);
  padding-top: var(--section-v);
  padding-bottom: 0;
  padding-left: clamp(16px, 1.5vw, 30px);
  padding-right: clamp(16px, 1.5vw, 30px);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.frames-dither {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.section-frames .frames-header,
.section-frames .frames-grid {
  position: relative;
  z-index: 1;
}



.frames-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
  padding-left: 8%;
}

.frames-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  align-self: start;
  padding-top: 8px;
}

.frames-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--black);
  text-transform: uppercase;
}

.frames-sub {
  max-width: 320px;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
  text-align: right;
  align-self: end;
  justify-self: end;
}

.frames-grid {
  display: grid;
  grid-template-rows: 4fr 4fr 4fr;
  grid-template-columns: 4fr 4fr 4fr;
  gap: 4px;
  height: 90vh;
  max-height: 900px;
  transition: grid-template-rows 0.78s cubic-bezier(0.22,1,0.36,1),
              grid-template-columns 0.78s cubic-bezier(0.22,1,0.36,1);
}

.frame-cell {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.frame-media {
  position: absolute;
  inset: 0;
  transition: transform 0.78s cubic-bezier(0.22,1,0.36,1);
}

.frame-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.78s cubic-bezier(0.22,1,0.36,1);
}

.frame-cell:hover .frame-media img {
  transform: scale(1.025);
}

.frame-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 3.2rem);
  letter-spacing: 0.04em;
  color: var(--white);
  text-align: center;
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45), 0 0 2px rgba(0,0,0,0.35);
  line-height: 1;
  transition: letter-spacing 0.5s cubic-bezier(0.22,1,0.36,1);
}

.frame-cell:hover .frame-brand {
  letter-spacing: 0.08em;
}

.frame-media--text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
}

.frame-stat {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  text-align: center;
  line-height: 1;
  text-transform: uppercase;
}

.frame-stat span {
  font-size: clamp(5rem, 16vw, 16rem);
  display: block;
  line-height: 0.85;
}

.frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.52s cubic-bezier(0.22,1,0.36,1);
}

.frame-cell:hover .frame-overlay {
  opacity: 1;
}

.frame-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.frame-caption {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  max-width: 280px;
}

@media (max-width: 768px) {
  .frames-grid {
    grid-template-rows: repeat(9, 1fr);
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }
  .frame-cell { height: 280px; }
  .frames-header { grid-template-columns: 1fr; gap: 16px; }
  .frames-sub { max-width: 100%; }


}

/* ── SMOOTH SCROLL REVEAL ────────────────────────────── */
.smooth-reveal-outer {
  position: relative;
  height: calc(1500px + 100vh);
  width: 100%;
  background: var(--white);
}

.smooth-reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--black);
}

.smooth-reveal-img {
  position: absolute;
  inset: 0;
  background-image: url('images/images_beneathvideo/pexels-pedro-paixao-2152282436-32251870.jpg');
  background-size: 170%;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(25% 25%, 75% 25%, 75% 75%, 25% 75%);
  will-change: clip-path, background-size;
}

@media (max-width: 768px) {
  .smooth-reveal-img {
    background-image: url('images/images_beneathvideo/pexels-ahcapture-29319560.jpg');
  }
}

/* ── SERVICES HOVER MODAL ─────────────────────────────── */
.section-services {
  padding: clamp(32px, 4vw, 56px) 0 var(--section-v);
  background: var(--white);
  position: relative;
}

.svc-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
  padding-left: 20%;
}

.svc-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  align-self: start;
  padding-top: 8px;
}

.svc-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--black);
}

.svc-subtitle {
  max-width: 320px;
  color: rgba(0,0,0,0.4);
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  align-self: end;
  text-align: right;
}

.svc-subtitle .accent,
.frames-sub .accent {
  color: var(--red);
}

.svc-row {
  border-top: 1px solid rgba(0,0,0,0.12);
  will-change: opacity;
  transition: opacity 0.35s ease;
}
.svc-row:last-child { border-bottom: 1px solid rgba(0,0,0,0.12); }
.svc-list:hover .svc-row { opacity: 0.35; }
.svc-list:hover .svc-row:hover { opacity: 1; }
.svc-row.is-open { opacity: 1 !important; }

.svc-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0;
  cursor: pointer;
}

.svc-row-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding-right: 20px;
}

.svc-row-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  will-change: padding-left;
  transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-row-header:hover .svc-row-title { padding-left: 14px; }

.svc-row-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.4;
  transition: opacity 0.25s ease;
}
.svc-list:hover .svc-row:not(:hover) .svc-row-tag { opacity: 0; }

.svc-row-toggle {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.35s var(--ease-out);
}
.svc-row.is-open .svc-row-toggle {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(45deg);
}

.svc-row-panel {
  overflow: hidden;
  height: 0;
}

.svc-panel-list {
  list-style: none;
  padding: 0 0 40px 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.svc-panel-item {
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(0,0,0,0.5);
  transition: color 0.2s, transform 0.2s;
}

.svc-panel-item:hover {
  color: var(--red);
  transform: translateX(4px);
}

.svc-modal {
  pointer-events: none;
  position: fixed;
  width: 320px;
  height: 400px;
  overflow: hidden;
  left: 0;
  top: 0;
  z-index: 900;
  will-change: transform;
}

.svc-modal-track {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  will-change: top;
}

.svc-modal-slide {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-cursor {
  pointer-events: none;
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--black);
  left: 0;
  top: 0;
  z-index: 901;
  will-change: transform;
}

.svc-cursor-label {
  pointer-events: none;
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  left: 0;
  top: 0;
  z-index: 902;
  will-change: transform;
}


/* ── MONDRAGON INSPIRED ──────────────────────────────────── */

/* ═══════════════════════════════════ INHOUSE SCROLL ══ */
.section-inhouse-scroll {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--white);
}

#inhouseCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════ WAVY TEXT BLOCK ══ */
.section-wavy {
  background: var(--white);
  padding-top: clamp(96px, 10vw, 160px);
  padding-bottom: clamp(96px, 10vw, 160px);
  padding-left: 20%;
  padding-right: clamp(16px, 1.5vw, 30px);
  overflow: hidden;
}

.wavy-block {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 32px);
  position: relative;
  z-index: 1;
}

.wavy-item {
  overflow: hidden;
  line-height: 1;
  will-change: transform;
}

.wavy-item span {
  display: block;
  font-family: var(--font-display);
  font-size: 9.3vw;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
  white-space: nowrap;
  will-change: transform;
  backface-visibility: hidden;
}

/* ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════ CASE STUDIES ══ */
.section-cases {
  position: relative;
  background: var(--black);
  overflow: hidden;
  cursor: none;
}

/* Crosshair */
.crosshair {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
}
.crosshair__h {
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.25);
  top: 0; left: 0;
  will-change: transform;
}
.crosshair__v {
  position: absolute;
  height: 100%;
  width: 1px;
  background: rgba(255,255,255,0.25);
  top: 0; left: 0;
  will-change: transform;
}

/* Header */
.cases-header {
  padding: clamp(80px, 8vw, 128px) clamp(16px, 1.5vw, 30px) 0;
  padding-left: clamp(16px, 1.5vw, 30px);
  position: relative;
  z-index: 2;
}
.cases-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.cases-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}

/* Vertical scroll track */
.cases-track {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.case-slide {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 8vw, 120px) clamp(16px, 1.5vw, 30px);
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: clamp(40px, 6vw, 120px);
  position: relative;
}

.case-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  flex-shrink: 0;
  user-select: none;
  align-self: flex-start;
  padding-top: 8px;
}

.case-body {
  flex: 1;
  max-width: 780px;
}

.case-category {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.case-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.case-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-bullets li {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-left: 20px;
  position: relative;
  transition: color 0.2s;
}
.case-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.case-bullets li:first-child {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.case-cta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 4px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.case-cta:hover {
  color: var(--red);
  border-color: var(--red);
}

/* Scroll hint */
.cases-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: clamp(48px, 5vw, 80px);
  position: relative;
  z-index: 2;
}
.cases-scroll-hint span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}
.cases-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ════════════════════════════════════════════════════ */
.section-mondragon {
  padding: clamp(100px, 12vw, 180px) 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
.section-mondragon--dark {
  background: var(--black);
  color: var(--white);
  border: none;
}

.numbered-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.section-mondragon--dark .numbered-label { color: rgba(255,255,255,0.4); }

/* ── SCROLL PANELS ───────────────────────────────────────── */
.section-scrollpanels {
  background: var(--white);
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  position: relative;
  z-index: 0;
}

.scrollpanels {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.scrollpanels__track {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  will-change: transform;
}

.scrollpanel {
  min-width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.scrollpanel__first,
.scrollpanel__second {
  display: flex;
  height: 50%;
  border: none;
}

.scrollpanel__second {
  border: none;
}

.scrollpanel__col {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.scrollpanel__col--text {
  justify-content: flex-start;
  text-align: left;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.scrollpanel__col--image {
  padding: 0;
  background: var(--white);
}

.scrollpanel__col + .scrollpanel__col {
  border-left: none;
}

.scrollpanel__quote {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 100%;
  text-wrap: balance;
}

.scrollpanel__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.editorial-massive {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.mondragon-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.mondragon-media {
  position: relative;
  width: 100%;
}
.mondragon-img {
  width: 100%;
  aspect-ratio: 1/1.2;
  object-fit: cover;
}

.mondragon-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mondragon-body {
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  line-height: 1.6;
  max-width: 580px;
}

/* Impact Metrics */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 80px;
}
.impact-item {
  background: var(--black);
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.impact-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.impact-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 10px;
  color: rgba(255,255,255,0.6);
}

/* ────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-primary, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .header-inner { grid-template-columns: 1fr auto; }

  .hero-line { font-size: clamp(2.6rem, 12vw, 5rem); }
  .hero-media-container { aspect-ratio: 16/10; }

  .work-row--2-asym,
  .work-row--2-asym-reverse { grid-template-columns: 1fr; }
  .work-card-media--tall { aspect-ratio: 16/10; }
  .work-featured-headline { font-size: clamp(1.6rem, 6vw, 2.4rem); }

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

  .certified-card--side { display: none; }
  .certified-card--center { width: 90%; }

  .footer-bottom { flex-direction: column; gap: 8px; }

  .svc-header { flex-direction: column; }
  .svc-modal, .svc-cursor, .svc-cursor-label { display: none; }
  .svc-row-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .svc-row-right { align-self: flex-start; }
  .svc-list:hover .svc-row { opacity: 1; }
  .svc-panel-list { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════
   SUBPAGE TEMPLATE — shared design system for service / industry / ad-creative pages
   Prefix: .sp-*
   ════════════════════════════════════════════════════════════ */

.sp-page { background: var(--white); color: var(--text-primary); }

/* ── HERO ───────────────────────────────────────────────── */
.sp-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(72px, 10vw, 140px)) var(--gutter) clamp(60px, 8vw, 120px);
  background: var(--white);
  overflow: hidden;
}
.sp-hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.sp-hero-text { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
.sp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.sp-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--red);
}
.sp-headline {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-transform: uppercase;
}
.sp-headline .accent { color: var(--red); }
.sp-lead {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 52ch;
}
.sp-hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

.sp-hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background:
    radial-gradient(circle at 30% 20%, rgba(232,68,0,0.18), transparent 55%),
    repeating-linear-gradient(45deg, #0a0a0a 0 2px, #141414 2px 4px),
    var(--black);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}
.sp-hero-visual img,
.sp-hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-out);
}
.sp-hero-visual:hover img,
.sp-hero-visual:hover video { transform: scale(1.08); }
.sp-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.45));
  pointer-events: none;
}
.sp-hero-visual-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

/* ── MARQUEE STRIP ─────────────────────────────────────── */
.sp-marquee {
  background: var(--black);
  color: var(--white);
  padding: clamp(20px, 2.4vw, 32px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sp-marquee-track {
  display: flex;
  gap: clamp(40px, 5vw, 80px);
  white-space: nowrap;
  animation: spMarquee 38s linear infinite;
  will-change: transform;
}
.sp-marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}
.sp-marquee-item .dot { color: var(--red); }
.sp-marquee-item.is-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.5);
}
@keyframes spMarquee {
  to { transform: translateX(-50%); }
}

/* ── SECTION HEAD (shared) ─────────────────────────────── */
.sp-section {
  padding: clamp(80px, 9vw, 140px) 0;
  border-top: var(--border);
}
.sp-section--dark {
  background: var(--black);
  color: var(--white);
  border-color: rgba(255,255,255,0.08);
}
.sp-section--dark .sp-section-title { color: var(--white); }
.sp-section-head {
  max-width: var(--container);
  margin: 0 auto clamp(56px, 6vw, 96px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.sp-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}

/* ── PILLARS (3-up feature grid) ────────────────────────── */
.sp-pillar-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.1);
}
.sp-section--dark .sp-pillar-grid { background: rgba(255,255,255,0.08); }
.sp-pillar {
  position: relative;
  background: var(--white);
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  cursor: default;
  transition: background 0.4s var(--ease-out);
}
.sp-section--dark .sp-pillar { background: var(--black); }
.sp-pillar:hover { background: var(--bg-off); }
.sp-section--dark .sp-pillar:hover { background: rgba(255,255,255,0.04); }
.sp-pillar-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
}
.sp-pillar-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.sp-pillar-body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: auto;
}
.sp-section--dark .sp-pillar-body { color: rgba(255,255,255,0.65); }

/* ── PROCESS / NUMBERED STEPS ──────────────────────────── */
.sp-steps {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
}
.sp-step {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 3vw, 44px) 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  align-items: center;
  transition: padding-left 0.4s var(--ease-out);
}
.sp-section--dark .sp-step { border-top-color: rgba(255,255,255,0.08); }
.sp-step:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }
.sp-section--dark .sp-step:last-child { border-bottom-color: rgba(255,255,255,0.08); }
.sp-step:hover { padding-left: 16px; }
.sp-step-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--red);
  line-height: 1;
}
.sp-step-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.sp-step-desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 60ch;
}
.sp-section--dark .sp-step-desc { color: rgba(255,255,255,0.65); }
.sp-step-arrow svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  opacity: 0.4;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
.sp-step:hover .sp-step-arrow svg { transform: translateX(8px); opacity: 1; }

/* ── BIG STAT ───────────────────────────────────────────── */
.sp-stat-section {
  background: var(--black);
  color: var(--white);
  padding: clamp(96px, 10vw, 160px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sp-stat-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(232,68,0,0.15), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(255,255,255,0.025) 80px 81px);
  pointer-events: none;
}
.sp-stat-section .container { position: relative; z-index: 2; }
.sp-stat-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: clamp(28px, 3vw, 40px);
}
.sp-stat-value {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 18rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--white);
}
.sp-stat-label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: clamp(20px, 2vw, 28px);
}

/* ── CTA BLOCK ─────────────────────────────────────────── */
.sp-cta-section {
  padding: clamp(96px, 10vw, 160px) 0;
  background: var(--white);
  text-align: center;
  border-top: var(--border);
}
.sp-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: clamp(36px, 4vw, 56px);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.sp-cta-title .accent { color: var(--red); }

/* ── EDITORIAL QUOTE BLOCK ─────────────────────────────── */
.sp-quote-section {
  padding: clamp(80px, 9vw, 140px) var(--gutter);
  background: var(--bg-off);
  border-top: var(--border);
}
.sp-quote-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.sp-quote-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
.sp-quote-text .accent { color: var(--red); }
.sp-quote-attr {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: clamp(28px, 3vw, 40px);
}

/* ── IMAGE BAND (full-bleed) ───────────────────────────── */
.sp-imageband {
  width: 100%;
  height: clamp(360px, 60vh, 720px);
  background: var(--black);
  overflow: hidden;
  position: relative;
}
.sp-imageband img,
.sp-imageband video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── AD CREATIVES VIDEO GRID ───────────────────────────── */
.sp-video-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
.sp-video-card {
  position: relative;
  aspect-ratio: 9/16;
  background: var(--black);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
}
.sp-video-card video,
.sp-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  pointer-events: none;
  cursor: default;
}
.sp-video-card:hover video,
.sp-video-card:hover img { transform: scale(1.05); }
.sp-video-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, #0a0a0a 0 12px, #141414 12px 24px);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.sp-video-card-sound-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
  cursor: pointer;
}
.sp-video-card-sound-toggle:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.28); }
.sp-video-card-sound-toggle .sound-on { display: none; }
.sp-video-card-sound-toggle.is-on .sound-off { display: none; }
.sp-video-card-sound-toggle.is-on .sound-on { display: block; }
.sp-video-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  padding: 6px 12px;
  background: rgba(232,68,0,0.85);
}
.sp-video-card-meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.sp-video-card-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sp-video-card-views svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* (Old absolute-positioned volume wrap removed — it required a
   `.is-unmuted` class that no longer exists, leaving the slider
   permanently invisible. Inline meta-strip variant lives further
   down in the AD-CREATIVES section.) */

/* ── WORK CARD (case-studies overrides) ────────────────── */
.sp-work-card {
  background: var(--white);
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  cursor: pointer;
}
.sp-work-card:hover {
  background: var(--bg-off);
}
.sp-work-card:hover .sp-work-card-arrow {
  transform: translateX(8px);
  color: var(--red);
}

/* ── INDUSTRY CHIPS / TAG ROW ──────────────────────────── */
.sp-chip-row {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 4vw, 64px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.sp-chip {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 100px;
  color: var(--text-primary);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.sp-chip:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.sp-chip--accent { background: var(--red); color: var(--white); border-color: var(--red); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 960px) {
  .sp-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .sp-hero-visual { aspect-ratio: 16/12; }
  .sp-section-head { grid-template-columns: 1fr; gap: 16px; }
  .sp-pillar-grid { grid-template-columns: 1fr; }
  .sp-step { grid-template-columns: 80px 1fr auto; gap: 20px; }
  .sp-video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sp-step { grid-template-columns: 1fr; }
  .sp-step-num { font-size: 2rem; }
  .sp-video-grid { grid-template-columns: 1fr; }
}

/* ── CREATIVE PLAYBOOK STACK ────────────────────────────── */
.creative-stack-section {
  padding: clamp(60px, 7vw, 100px) 0 clamp(80px, 9vw, 140px);
  border-top: var(--border);
}

.creative-stack {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Rail: sticky positioning container.
   CRITICAL: never apply transform or will-change here —
   both break position:sticky in Chrome and Safari. ── */
.csc-rail {
  position: sticky;
  height: clamp(320px, 44vh, 460px);
  margin-bottom: 40vh;
}

/* Each rail peeks 16px below the previous when fully stacked */
.csc-rail--1 { top: 80px;  z-index: 1; }
.csc-rail--2 { top: 96px;  z-index: 2; }
.csc-rail--3 { top: 112px; z-index: 3; }
.csc-rail--4 { top: 128px; z-index: 4; }
.csc-rail--5 { top: 144px; z-index: 5; margin-bottom: 0; }

/* ── Card: visual + GSAP scale target lives here, not on the rail ── */
.creative-stack-card {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transform-origin: top center;
}

/* Themes */
.creative-stack-card--black  { background: var(--black); color: var(--white); }
.creative-stack-card--white  { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }
.creative-stack-card--yellow { background: var(--red); color: var(--white); }
.creative-stack-card--dark   { background: #141414; color: var(--white); }
.creative-stack-card--red    { background: var(--red); color: var(--white); }

/* Card internals */
.csc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.csc-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.4;
}

.csc-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid currentColor;
  border-radius: 100px;
  opacity: 0.45;
}

.csc-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
}

.csc-desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  max-width: 52ch;
  opacity: 0.72;
  margin-top: 0.6rem;
}

.csc-body { display: flex; flex-direction: column; }

.csc-foot {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid currentColor;
  opacity: 0.5;
}

.csc-stat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.csc-stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.creative-stack-spacer { height: 45vh; }

@media (max-width: 768px) {
  .csc-rail {
    position: relative;
    top: auto !important;
    margin-bottom: 1rem;
    height: auto;
  }
  .creative-stack-card { min-height: 260px; height: auto; transform: none !important; }
  .creative-stack-spacer { height: 0; }
}

/* ── ABOUT PAGE ─────────────────────────────────────────── */
.about-origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: stretch;
  padding-top: 0;
}

.about-pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.about-origin-copy { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.about-origin-copy p { font-size: clamp(0.95rem, 1.1vw, 1.05rem); line-height: 1.75; color: var(--text-secondary); max-width: 540px; }
.about-origin-image--secondary { flex: 1; min-height: 200px; }

.about-origin-pull {
  display: flex;
  flex-direction: column;
}
.about-origin-image {
  margin-top: clamp(28px, 4vw, 44px);
  flex: 1;
  min-height: 240px;
  overflow: hidden;
}
.about-origin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.1);
  margin-top: 0;
}

.about-stat-card {
  background: var(--white);
  padding: clamp(32px,4vw,56px) clamp(24px,3vw,40px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-stat-val {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.about-stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── TEAM GRID ─────────────────────────────────────────── */
.about-team-section { background: var(--black); color: var(--white); border-color: rgba(255,255,255,0.08); }
.about-team-section .sp-section-head { /* inherits */ }
.about-team-section .sp-section-title { color: var(--white); }
.about-team-section .numbered-label { color: rgba(255,255,255,0.45); }

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding-top: 0;
}

/* ── REFLECTIVE CARD ────────────────────────────────────── */
.reflective-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  overflow: hidden;
}

.reflective-card-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #111118;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08) inset;
  isolation: isolate;
  font-family: var(--font-display);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  will-change: transform;
  cursor: default;
}

.reflective-card-container:hover {
  box-shadow:
    0 24px 60px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.15) inset;
}

/* Background: gradient + SVG metallic filter */
.reflective-bg {
  position: absolute;
  inset: -5%;
  background:
    radial-gradient(ellipse at var(--shine-x, 40%) var(--shine-y, 25%),
      rgba(90, 100, 150, 0.55) 0%,
      rgba(30, 32, 55, 0.9) 50%,
      rgba(8, 8, 14, 1) 100%);
  filter: contrast(130%) brightness(105%) blur(4px) url(#reflective-filter);
  z-index: 0;
  transition: background 0.05s linear;
}

/* Noise grain */
.reflective-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Moving highlight sheen */
.reflective-sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    circle at var(--shine-x, 50%) var(--shine-y, 30%),
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.06) 35%,
    rgba(255,255,255,0) 65%
  );
  pointer-events: none;
  mix-blend-mode: overlay;
  transition: background 0.05s linear;
}

/* Glass-like border */
.reflective-border {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1px;
}

/* Card content layout */
.reflective-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(16px, 2vw, 28px);
  color: #fff;
  background: rgba(0,0,0,0.18);
}

/* Header row */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 12px;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.18);
  text-transform: uppercase;
}

.security-icon { opacity: 0.7; flex-shrink: 0; }
.status-icon { opacity: 0.6; }

/* Body: avatar + name */
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.card-avatar {
  width: clamp(52px, 5vw, 72px);
  height: clamp(52px, 5vw, 72px);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}

.card-info { display: flex; flex-direction: column; gap: 4px; }

.user-name {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.user-role {
  font-size: clamp(0.6rem, 0.7vw, 0.72rem);
  letter-spacing: 0.18em;
  opacity: 0.55;
  margin: 0;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* Footer row */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 12px;
}

.id-section { display: flex; flex-direction: column; gap: 3px; }

.label {
  font-family: var(--font-body);
  font-size: 8px;
  letter-spacing: 0.12em;
  opacity: 0.5;
  text-transform: uppercase;
}

.value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(0.6rem, 0.75vw, 0.78rem);
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.fingerprint-icon { opacity: 0.3; flex-shrink: 0; }

/* ── TEAM CARD PHOTOS ───────────────────────────────────── */
.reflective-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -1;
  border-radius: inherit;
  transition: transform 0.4s ease;
}

.reflective-card-container:has(.reflective-photo) .reflective-bg {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(8, 8, 18, 0.45) 50%,
    rgba(0, 0, 0, 0.88) 100%
  );
  filter: contrast(108%) brightness(100%);
}

.reflective-card-container:has(.reflective-photo) .reflective-content {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.84) 0%,
    rgba(0, 0, 0, 0.22) 42%,
    transparent 68%
  );
}

.reflective-card-container:has(.reflective-photo) .card-avatar {
  display: none;
}

.reflective-card-container:has(.reflective-photo):hover .reflective-photo {
  transform: scale(1.05);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .about-team-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .about-origin-grid { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .about-team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ════════════════════════════════════════════════════════════════
   SECTION — DOME GALLERY (Work Sphere)
   3D rotating sphere of work imagery. Matches brutalist tokens.
   Ported DomeGallery (React Bits) → namespaced classes `.dome-*`
   ════════════════════════════════════════════════════════════════ */
.section-dome {
  background: var(--white);
  padding-top: var(--section-v);
  padding-bottom: var(--section-v-sm);
  padding-left: clamp(16px, 1.5vw, 30px);
  padding-right: clamp(16px, 1.5vw, 30px);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.dome-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
  padding-left: 8%;
  padding-right: 8%;
}
.dome-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  align-self: start;
  padding-top: 8px;
}
.dome-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--black);
  text-transform: uppercase;
}
.dome-sub {
  max-width: 320px;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  text-align: right;
  align-self: end;
  justify-self: end;
}
.dome-sub .accent { color: var(--red); }

.dome-stage-wrap {
  position: relative;
  width: 100%;
  height: clamp(520px, 80vh, 860px);
  background: var(--white);
  border-top: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
}

@media (max-width: 860px) {
  .dome-header {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 6%;
    padding-right: 6%;
  }
  .dome-sub { text-align: left; justify-self: start; max-width: 100%; }
  .dome-stage-wrap { height: 70vh; min-height: 480px; }
}

/* ── DOME GALLERY (namespaced, scoped to .sphere-root) ── */
.sphere-root {
  position: relative;
  width: 100%;
  height: 100%;
  --radius: 520px;
  --viewer-pad: 72px;
  --circ: calc(var(--radius) * 3.14);
  --rot-y: calc((360deg / var(--segments-x)) / 2);
  --rot-x: calc((360deg / var(--segments-y)) / 2);
  --item-width: calc(var(--circ) / var(--segments-x));
  --item-height: calc(var(--circ) / var(--segments-y));
}
.sphere-root * { box-sizing: border-box; }

.sphere-root .sphere,
.sphere-root .dome-item,
.sphere-root .dome-item__image { transform-style: preserve-3d; }

.sphere-root main.sphere-main {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  background: transparent;
}

.sphere-root .dome-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  perspective: calc(var(--radius) * 2);
  perspective-origin: 50% 50%;
  contain: layout paint size;
}

.sphere-root .sphere {
  transform: translateZ(calc(var(--radius) * -1));
  will-change: transform;
}

.sphere-root .dome-overlay,
.sphere-root .dome-overlay--blur {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 3;
  pointer-events: none;
}
.sphere-root .dome-overlay {
  background-image: radial-gradient(
    rgba(255, 255, 255, 0) 65%,
    var(--overlay-blur-color, #ffffff) 100%
  );
}
.sphere-root .dome-overlay--blur {
  -webkit-mask-image: radial-gradient(
    rgba(255, 255, 255, 0) 70%,
    var(--overlay-blur-color, #ffffff) 90%
  );
  mask-image: radial-gradient(
    rgba(255, 255, 255, 0) 70%,
    var(--overlay-blur-color, #ffffff) 90%
  );
  backdrop-filter: blur(3px);
}

.sphere-root .dome-item {
  width: calc(var(--item-width) * var(--item-size-x));
  height: calc(var(--item-height) * var(--item-size-y));
  position: absolute;
  top: -999px; bottom: -999px; left: -999px; right: -999px;
  margin: auto;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  transition: transform 300ms;
  transform:
    rotateY(calc(var(--rot-y) * (var(--offset-x) + ((var(--item-size-x) - 1) / 2)) + var(--rot-y-delta, 0deg)))
    rotateX(calc(var(--rot-x) * (var(--offset-y) - ((var(--item-size-y) - 1) / 2)) + var(--rot-x-delta, 0deg)))
    translateZ(var(--radius));
}

.sphere-root .dome-item__image {
  position: absolute;
  display: block;
  inset: 6px;
  border-radius: var(--tile-radius, 0px);
  background: var(--black);
  overflow: hidden;
  backface-visibility: hidden;
  transition: transform 300ms, box-shadow 300ms;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  outline: 1px solid rgba(0, 0, 0, 0.08);
}
.sphere-root .dome-item__image:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.sphere-root .dome-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  backface-visibility: hidden;
  filter: var(--image-filter, grayscale(1));
  transition: filter 260ms var(--ease-out);
}

.sphere-root .dome-viewer {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--viewer-pad);
}
.sphere-root .dome-viewer .dome-frame {
  height: 100%;
  aspect-ratio: 1;
  border-radius: var(--enlarge-radius, 0);
  display: flex;
}
@media (max-aspect-ratio: 1/1) {
  .sphere-root .dome-viewer .dome-frame { height: auto; width: 100%; }
}

.sphere-root .dome-viewer .dome-scrim {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(10, 10, 10, 0.55);
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease;
  backdrop-filter: blur(3px);
}
.sphere-root[data-enlarging='true'] .dome-viewer .dome-scrim {
  opacity: 1;
  pointer-events: all;
}

.sphere-root .dome-viewer .dome-enlarge {
  position: absolute;
  z-index: 30;
  border-radius: var(--enlarge-radius, 0);
  overflow: hidden;
  transition: transform 500ms ease, opacity 500ms ease;
  transform-origin: top left;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  border: 2px solid var(--black);
}
.sphere-root .dome-viewer .dome-enlarge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}
.sphere-root .dome-enlarge-closing img { filter: none; }

.sphere-root .dome-edge-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--overlay-blur-color, #ffffff));
}
.sphere-root .dome-edge-fade--top { top: 0; transform: rotate(180deg); }
.sphere-root .dome-edge-fade--bottom { bottom: 0; }

body.dg-scroll-lock { overflow: hidden; }

/* ── WORK HERO DOME — embeds DomeGallery inside .sp-hero-visual ── */
.sp-hero-visual--dome {
  background:
    radial-gradient(circle at 30% 20%, rgba(232,68,0,0.22), transparent 55%),
    repeating-linear-gradient(45deg, #0a0a0a 0 2px, #141414 2px 4px),
    var(--black);
}
.sp-hero-visual--dome::after {
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55));
  z-index: 4;
}
.sp-hero-dome {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* Override sp-hero-visual img cascade for dome tiles */
.sp-hero-visual--dome .sphere-root .dome-item__image img {
  transform: translateZ(0);
  filter: grayscale(1) contrast(1.08);
  transition: filter 260ms var(--ease-out);
}
.sp-hero-visual--dome:hover .sphere-root .dome-item__image img { transform: translateZ(0); }
.sp-hero-visual--dome .sphere-root .dome-viewer .dome-enlarge img { filter: none; }
.sp-hero-visual--dome .sphere-root .dome-item__image { background: #0a0a0a; outline: 1px solid rgba(255,255,255,0.06); }
.sp-hero-visual--dome .sphere-root .dome-edge-fade { background: linear-gradient(to bottom, transparent, #0a0a0a); }
/* Tag above dome */
.sp-hero-visual--dome .sp-hero-visual-tag { z-index: 5; }

/* ── INFINITE MENU — Insights globe section ──────────────────── */
.im-authors-section {
  background: var(--white);
  padding-bottom: clamp(64px, 8vw, 120px);
}

.im-authors-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  margin-top: -8px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.im-authors-globe-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Two-column: globe left, article panel right */
.im-container {
  display: grid;
  grid-template-columns: 58fr 42fr;
  height: clamp(600px, 62vw, 860px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.im-globe-area {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

#infinite-grid-menu-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  outline: none;
  display: block;
}

#infinite-grid-menu-canvas:active { cursor: grabbing; }

/* Article info panel */
.im-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(36px, 5vw, 72px);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  transition: opacity 0.25s ease;
}

.im-info-panel.is-moving { opacity: 0.25; }

.im-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.im-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--black);
  transition: opacity 0.35s ease;
}

.im-excerpt {
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 400px;
}

.im-read-time {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.im-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border-radius: 100px;
  cursor: pointer;
  width: fit-content;
  margin-top: 4px;
  border: none;
  transition: background 0.2s ease;
}

.im-cta:hover { background: var(--red); }

/* Mobile: stack vertically */
@media (max-width: 860px) {
  .im-container {
    grid-template-columns: 1fr;
    height: auto;
  }
  .im-globe-area { height: clamp(360px, 70vw, 480px); }
  .im-info-panel {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 32px var(--gutter);
    gap: 14px;
  }
}

/* ── CASE STUDIES — THE ARCHIVE (full DomeGallery section) ── */
.sp-section--dome {
  padding-bottom: clamp(40px, 5vw, 72px);
}
.sp-section--dome .numbered-label { color: rgba(255,255,255,0.45); }
.sp-section--dome .sp-section-title .hl-red { color: var(--red); }
.sp-dome-stage {
  position: relative;
  width: 100%;
  height: clamp(600px, 82vh, 920px);
  border-top: 1.5px solid rgba(255,255,255,0.12);
  border-bottom: 1.5px solid rgba(255,255,255,0.12);
  background: #0a0a0a;
  overflow: hidden;
  cursor: grab;
}
.sp-dome-stage:active { cursor: grabbing; }
.sp-dome-stage > [data-dome-gallery] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sp-dome-caption {
  max-width: var(--container);
  margin: clamp(20px, 2vw, 28px) auto 0;
  padding: 0 var(--gutter);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-align: right;
}
/* Dome visuals inside dark section — coloured tiles, subtle light outlines */
.sp-section--dome .sphere-root .dome-item__image {
  background: #141414;
  outline: 1px solid rgba(255,255,255,0.06);
  inset: 4px;
}
.sp-section--dome .sphere-root .dome-item__image img {
  transform: translateZ(0);
  filter: saturate(1.08) contrast(1.04);
  transition: filter 260ms var(--ease-out);
}
.sp-section--dome .sphere-root .dome-item__image:hover img {
  filter: saturate(1.2) contrast(1.1) brightness(1.05);
}
.sp-section--dome .sphere-root .dome-edge-fade {
  background: linear-gradient(to bottom, transparent, #0a0a0a);
}
.sp-section--dome .sphere-root .dome-viewer .dome-enlarge {
  border: 2px solid var(--white);
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
}
.sp-section--dome .sphere-root .dome-viewer .dome-scrim {
  background: rgba(0,0,0,0.7);
}

@media (max-width: 860px) {
  .sp-dome-stage { height: 68vh; min-height: 520px; }
  .sp-dome-caption { text-align: left; }
}

/* ── Masonry ─────────────────────────────────────────────── */
.masonry-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.masonry-item {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform, width, height, opacity;
  padding: 6px;
}

.masonry-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 10px 50px -10px rgba(0, 0, 0, 0.25);
  position: relative;
}

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255, 0, 80, 0.45), rgba(0, 71, 255, 0.45));
  opacity: 0;
  pointer-events: none;
  border-radius: 10px;
  transition: opacity 0.3s;
}

/* ════════════════════════════════════════════════════════════
   WORLD MAP SECTION — global reach visual (contact page)
   ════════════════════════════════════════════════════════════ */
.section-worldmap {
  padding: clamp(96px, 10vw, 160px) 0;
  background: var(--white);
  border-top: var(--border);
  position: relative;
  overflow: hidden;
}
.worldmap-head {
  max-width: var(--container);
  margin: 0 auto clamp(48px, 5vw, 80px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.worldmap-head .sp-stat-eyebrow { margin-bottom: 0; color: var(--red); }
.worldmap-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--black);
}
.worldmap-title .hl-red { color: var(--red); }
.worldmap-sub {
  max-width: 520px;
  margin: clamp(14px, 1.4vw, 20px) 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: rgba(0,0,0,0.5);
  text-transform: uppercase;
}
.worldmap-stage {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.worldmap-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  background: var(--white);
  border: 1.5px solid var(--black);
  overflow: hidden;
}
.worldmap-caption {
  max-width: var(--container);
  margin: clamp(20px, 2vw, 28px) auto 0;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}
.worldmap-caption .pulse-dot {
  display: inline-block;
  width: 8px; height: 8px; margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(232,68,0,0.6);
  animation: wm-pulse 2s ease-out infinite;
  vertical-align: middle;
}
@keyframes wm-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(232,68,0,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(232,68,0,0); }
  100% { box-shadow: 0 0 0 0   rgba(232,68,0,0); }
}

/* ── WorldMap component (scoped) ── */
.wm-root {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}
.wm-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.wm-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.wm-endpoint { pointer-events: none; }
.wm-paths path { will-change: stroke-dashoffset; }
.wm-label-fo { overflow: visible; }
.wm-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 3px 10px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--black);
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

@media (max-width: 860px) {
  .worldmap-head { grid-template-columns: 1fr; gap: 16px; }
  .worldmap-caption { flex-direction: column; align-items: flex-start; }
  .wm-label { font-size: 0.58rem; padding: 2px 6px; letter-spacing: 0.06em; }
}

/* ════════════════════════════════════════════════════════════
   CONTACT HERO — brutalist signal console
   Replaces generic .sp-hero two-column stock-image layout.
   ════════════════════════════════════════════════════════════ */
.contact-hero {
  background: var(--white);
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 5vw, 80px);
}
.contact-hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: stretch;
}
.contact-hero-text {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
  justify-content: center;
}
.contact-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
}
.contact-hero-eyebrow .signal-dot--live {
  width: 8px; height: 8px;
}
.contact-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--black);
}
.contact-hero-headline .accent { color: var(--red); }
.contact-hero-lead {
  max-width: 56ch;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-secondary);
}
.contact-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

/* ── Signal panel (right column) ── */
.contact-signal {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
  padding: clamp(22px, 2.2vw, 32px);
  font-family: var(--font-display);
  min-height: 460px;
  overflow: hidden;
}
.contact-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,0.03) 3px 4px);
  pointer-events: none;
}
.contact-signal > * { position: relative; z-index: 1; }

.signal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 18px;
}
.signal-head-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.signal-head-meta {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
}

.signal-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.signal-row:last-of-type { border-bottom: 0; }
.signal-row-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.signal-row-value {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.signal-row-value .muted { color: rgba(255,255,255,0.5); font-weight: 500; }
.signal-row-value .hl-red { color: var(--red); font-weight: 800; }

.signal-row--clock .signal-row-value { font-feature-settings: "tnum" 1; }
.signal-clock-hms {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
}
.signal-clock-tz {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-left: 4px;
}

.signal-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.signal-channel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.signal-channel:hover { color: var(--red); }
.signal-channel-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.signal-channel-value {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

/* Signal pulse dot — shared (green live indicator) */
.signal-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  flex-shrink: 0;
}
.signal-dot--live {
  position: relative;
  box-shadow: 0 0 0 3px rgba(46,204,113,0.18);
}
.contact-hero-eyebrow .signal-dot--live {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(232,68,0,0.18);
}

/* Responsive */
@media (max-width: 960px) {
  .contact-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-signal { min-height: 420px; }
  .contact-hero-headline { font-size: clamp(2.8rem, 14vw, 5.6rem); }
}
@media (max-width: 520px) {
  .signal-row { grid-template-columns: 96px 1fr; gap: 12px; }
  .signal-clock-hms { font-size: 1.6rem; }
  .contact-hero-ctas .pill-btn { width: 100%; }
}

/* ════════════════════════════════════════════════════════════
   ENGAGEMENT PHASES — sticky-pin scroll, minimalist, white
   Replaces the old dark .sp-step list. Case-studies page only.
   ════════════════════════════════════════════════════════════ */
.section-phases {
  background: var(--white);
  padding: clamp(80px, 9vw, 140px) 0 0;
  border-top: var(--border);
  color: var(--black);
}
.phases-head {
  max-width: var(--container);
  margin: 0 auto clamp(40px, 4vw, 72px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.section-phases .numbered-label { color: var(--text-faint); }
.section-phases .sp-section-title { color: var(--black); }

/* Scroll area: 260vh gives ~2.6 screens of scroll inside the section
   to pin the stage and traverse the three phases smoothly. */
.phases-scroll {
  position: relative;
  height: 260vh;
}
.phases-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 10vh, 140px) var(--gutter) clamp(40px, 5vh, 72px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vh, 96px);
  overflow: hidden;
}

/* ── Progress strip ── */
.phases-progress {
  position: relative;
  width: 100%;
}
.phases-progress-track {
  position: relative;
  height: 1.5px;
  width: 100%;
  background: rgba(0, 0, 0, 0.12);
}
.phases-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--red);
  transform-origin: left center;
  transition: width 80ms linear;
  will-change: width;
}
.phases-markers {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: -7px; /* overlap dots on track */
}
.phases-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 22px;
  transition: color 0.4s var(--ease-out);
  color: var(--text-faint);
}
.phases-marker:nth-child(2) { align-items: center; }
.phases-marker:nth-child(3) { align-items: flex-end;   text-align: right; }
.phases-marker-dot {
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--black);
  transform: translateY(0);
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  z-index: 2;
}
.phases-marker:nth-child(1) .phases-marker-dot { left: 0; }
.phases-marker:nth-child(2) .phases-marker-dot { left: 50%; transform: translateX(-50%); }
.phases-marker:nth-child(3) .phases-marker-dot { right: 0; }
.phases-marker.is-reached .phases-marker-dot {
  background: var(--red);
  border-color: var(--red);
}
.phases-marker.is-active .phases-marker-dot {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(232, 68, 0, 0.14);
}
.phases-marker:nth-child(2).is-active .phases-marker-dot { transform: translateX(-50%) scale(1.25); }
.phases-marker.is-reached,
.phases-marker.is-active { color: var(--black); }
.phases-marker-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
}
.phases-marker-label {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
}

/* ── Phase body (cross-fade stack) ── */
.phases-body {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
}
.phase-card {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr minmax(auto, 6fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
  pointer-events: none;
  position: relative;
}
.phase-card.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.phase-card-time {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 10px;
}
.phase-card-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--black);
  margin: 0;
  grid-column: 2;
}
.phase-card-desc {
  grid-column: 2;
  max-width: 62ch;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: clamp(18px, 2vw, 28px);
}
.phase-card-index {
  position: absolute;
  top: -12px;
  right: 0;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: rgba(0, 0, 0, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.phase-card > :not(.phase-card-index) { position: relative; z-index: 1; }

/* Reduced motion: stack cards vertically, no pin, no fade */
@media (prefers-reduced-motion: reduce) {
  .phases-scroll { height: auto; }
  .phases-stage { position: static; height: auto; gap: clamp(48px, 6vw, 80px); }
  .phase-card { opacity: 1; transform: none; transition: none; }
  .phase-card.is-active ~ .phase-card { position: static; }
  .phases-body {
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 6vw, 80px);
  }
}

/* Mobile: no pin — just stack */
@media (max-width: 860px) {
  .phases-head { grid-template-columns: 1fr; gap: 16px; }
  .phases-scroll { height: auto; }
  .phases-stage {
    position: static;
    height: auto;
    gap: 40px;
    padding: 24px var(--gutter) 0;
  }
  .phases-progress-track { display: none; }
  .phases-markers { display: none; }
  .phases-body { display: flex; flex-direction: column; gap: 48px; }
  .phase-card {
    opacity: 1;
    transform: none;
    transition: none;
    grid-template-columns: 1fr;
    gap: 10px;
    pointer-events: auto;
  }
  .phase-card-title { grid-column: 1; font-size: clamp(3rem, 14vw, 5rem); }
  .phase-card-desc { grid-column: 1; margin-top: 6px; }
  .phase-card-index { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   INSIGHTS LAYERED PANELS  [01] Featured
   ═══════════════════════════════════════════════════════════ */
.ins-panels-section {
  position: relative;
}

.ins-panel {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--black);
}

/* Z-index: later panels stack above earlier ones */
.ins-panel:nth-child(1) { z-index: 1001; background: #0a0a0a; }
.ins-panel:nth-child(2) { z-index: 1002; background: #0f0f0f; }
.ins-panel:nth-child(3) { z-index: 1003; background: #0a0a0a; }
.ins-panel:nth-child(4) { z-index: 1004; background: #111111; }
.ins-panel:nth-child(5) { z-index: 1005; background: #0a0a0a; }
.ins-panel:nth-child(6) { z-index: 1006; background: #0f0f0f; } /* clone */

.ins-panel-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(32px, 5vw, 88px);
  position: relative;
  z-index: 2;
  max-width: min(620px, 58%);
  width: 100%;
}

.ins-panel-num-bg {
  position: absolute;
  bottom: -0.1em;
  left: clamp(20px, 4vw, 56px);
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  user-select: none;
  pointer-events: none;
  z-index: 1;
  letter-spacing: -0.04em;
}

.ins-panel-section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 36px;
}

.ins-panel-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.ins-panel-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 4rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.ins-panel-excerpt {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 420px;
  margin-bottom: 40px;
}

.ins-panel-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ins-panel-readtime {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

.ins-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.ins-panel-cta:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-1px);
}

.ins-panel-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.ins-panel-image::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Strong dark gradient left → transparent right so text is readable, image shows through */
  background:
    linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.72) 38%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0.1) 100%),
    linear-gradient(to top,   rgba(0,0,0,0.5)  0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.ins-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Red left accent bar on odd panels */
.ins-panel:nth-child(odd) .ins-panel-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 2px;
  background: var(--red);
  opacity: 0.6;
}

@media (max-width: 860px) {
  .ins-panel {
    height: 100vh;
  }
  .ins-panel-content {
    max-width: 100%;
    padding: 36px 28px 52px;
  }
  .ins-panel-image::after {
    background:
      linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.2) 100%),
      linear-gradient(to top,   rgba(0,0,0,0.6)  0%, transparent 60%);
  }
  .ins-panel-num-bg {
    font-size: 32vw;
  }
}

/* Post-panels sections must sit above the high z-index pinned panels */
.ins-post-panels {
  position: relative;
  z-index: 1010;
  background: var(--white);
}

/* Tag label inside pillar cards */
.sp-pillar-tag {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

/* ════════════════════════════════════════════════════════════
   SERVICE / WEBSITES — "Built in four moves" + WebGL distort
   White brutalist adaptation of the reference (dark) concept.
   ════════════════════════════════════════════════════════════ */
.section-ws-process {
  background: var(--white);
  padding: clamp(80px, 9vw, 140px) 0;
  border-top: var(--border);
  color: var(--black);
}
.section-ws-process .sp-section-head { margin-bottom: clamp(56px, 7vw, 96px); }
.section-ws-process .numbered-label { color: var(--text-faint); }
.section-ws-process .sp-section-title { color: var(--black); }

.ws-steps {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(96px, 12vw, 180px);
}
.ws-step {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.25fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.ws-step--reverse { direction: rtl; }
.ws-step--reverse > * { direction: ltr; }

.ws-step-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ws-step-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--red);
  line-height: 1;
}
.ws-step-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--black);
}
.ws-step-desc {
  max-width: 48ch;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── WebGL distort frame ── */
.section-ws-process .frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border: 1.5px solid var(--black);
  overflow: hidden;
  margin: 0;
  border-radius: 0; /* brutalist — no rounding */
}
.section-ws-process .frame canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Fallback image shown before WebGL swaps in (or if it fails) */
.section-ws-process .frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--fallback-img, none);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.section-ws-process .frame.has-canvas::before { display: none; }

@media (max-width: 860px) {
  .ws-steps { gap: 56px; }
  .ws-step,
  .ws-step--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 20px;
  }
  .section-ws-process .frame { aspect-ratio: 4 / 3; }
}

/* ════════════════════════════════════════════════════════════
   ABOUT — Infinite 3D Gallery (atmosphere)
   Sits above the founders' quote. Brutalist black canvas frame.
   ════════════════════════════════════════════════════════════ */
.section-about-gallery {
  background: var(--white);
  padding: clamp(80px, 9vw, 140px) 0 clamp(64px, 7vw, 96px);
  border-top: var(--border);
  position: relative;
}
.section-about-gallery .sp-section-head {
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-about-gallery .numbered-label { color: var(--text-faint); }
.section-about-gallery .sp-section-title { color: var(--black); }

.ig-stage-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.ig-stage {
  position: relative;
  width: 100%;
  height: clamp(560px, 80vh, 880px);
  background: #050505;
  border: 1.5px solid var(--black);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.ig-stage:active { cursor: grabbing; }
.ig-stage canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Hint strip below the stage */
.ig-hint {
  max-width: var(--container);
  margin: clamp(18px, 2vw, 24px) auto 0;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ig-hint .ig-hint-actions { color: var(--black); }
.ig-hint kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--black);
  margin: 0 2px;
  line-height: 1.4;
}

/* WebGL fallback grid */
.ig-stage.ig-fallback { padding: 12px; background: var(--white); }
.ig-fallback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px;
  width: 100%;
  height: 100%;
  overflow: auto;
}
.ig-fallback-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .ig-stage { height: 64vh; min-height: 440px; }
  .ig-hint { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ── Work Portfolio (case-studies.html [01]) ─────────────────── */
:root { --wp-ease: cubic-bezier(0.16, 1, 0.3, 1); }

.wp-container {
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: background 0.8s var(--wp-ease);
}
.wp-container.has-active {
  background: var(--black);
}

/* Full-bleed background image — fades + slightly zooms in for cinematic feel */
.wp-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform: scale(1.05);
  transition: opacity 0.9s var(--wp-ease), transform 0.9s var(--wp-ease);
}
.wp-bg-image.is-active {
  opacity: 0.32;
  transform: scale(1);
}

/* Gradient vignette so table text stays readable over the image */
.wp-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.15) 60%, rgba(10,10,10,0.5) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, transparent 30%, transparent 70%, rgba(10,10,10,0.3) 100%);
}

.wp-table {
  position: relative;
  z-index: 1;
  padding: 0 clamp(24px, 5vw, 80px) clamp(48px, 6vw, 80px);
}

/* Column header */
.wp-header {
  display: grid;
  grid-template-columns: 40px 2fr 2fr 1.5fr 1.5fr 0.7fr;
  gap: 0 20px;
  padding: 14px 0;
  border-bottom: 2px solid rgba(10, 10, 10, 0.15);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: border-color 0.7s var(--wp-ease), color 0.7s var(--wp-ease);
}
.wp-container.has-active .wp-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.3);
}

.wp-rows { display: flex; flex-direction: column; }

.wp-row {
  display: grid;
  grid-template-columns: 40px 2fr 2fr 1.5fr 1.5fr 0.7fr;
  gap: 0 20px;
  align-items: center;
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  cursor: pointer;
  transition: border-color 0.6s var(--wp-ease);
}
.wp-container.has-active .wp-row {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.wp-container.has-active .wp-row--active {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* Cells — dim on white, dim on dark, bright when active */
.wp-cell {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
  transition: color 0.6s var(--wp-ease);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp-container.has-active .wp-cell { color: rgba(255, 255, 255, 0.25); }
.wp-row--active .wp-cell { color: var(--black); }
.wp-container.has-active .wp-row--active .wp-cell { color: var(--white); }

.wp-cell--num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
}
.wp-cell--accent { color: var(--red) !important; }
.wp-cell--dim { font-weight: 500; }
.wp-container.has-active .wp-row--active .wp-cell--dim { color: rgba(255, 255, 255, 0.5) !important; }

/* Archive dome on white background — readability fixes */
.sp-section--dome:not(.sp-section--dark) .sp-dome-caption { color: var(--text-faint); }
.sp-section--dome:not(.sp-section--dark) .sp-dome-stage {
  border-top-color: rgba(0, 0, 0, 0.1);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .wp-header,
  .wp-row { grid-template-columns: 32px 1fr 1fr 0.8fr; }
  .wp-header span:nth-child(4),
  .wp-header span:nth-child(5),
  .wp-row .wp-cell:nth-child(4),
  .wp-row .wp-cell:nth-child(5) { display: none; }
  .wp-cell { font-size: 0.78rem; }
}

/* ════════════════════════════════════════════════════════════
   WORK / CASE-STUDIES HERO — proportion fix
   Scoped overrides over the shared .sp-hero block. Brings the
   image to a balanced landscape, centers the columns vertically
   so the headline doesn't get pushed to the bottom edge.
   ════════════════════════════════════════════════════════════ */
.sp-hero--work,
.sp-hero--insights,
.sp-hero--balanced {
  /* Tighter top/bottom rhythm — no longer dominated by tall portrait */
  padding-top: calc(var(--nav-h) + clamp(56px, 7vw, 96px));
  padding-bottom: clamp(48px, 6vw, 96px);
}
.sp-hero--work .sp-hero-grid,
.sp-hero--insights .sp-hero-grid,
.sp-hero--balanced .sp-hero-grid {
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}
.sp-hero--work .sp-hero-text,
.sp-hero--insights .sp-hero-text,
.sp-hero--balanced .sp-hero-text { gap: clamp(18px, 2vw, 28px); }
.sp-hero--work .sp-headline,
.sp-hero--insights .sp-headline,
.sp-hero--balanced .sp-headline {
  font-size: clamp(3.6rem, 11vw, 11rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
}
.sp-hero--work .sp-lead,
.sp-hero--insights .sp-lead,
.sp-hero--balanced .sp-lead { max-width: 46ch; }

.sp-hero--work .sp-hero-visual,
.sp-hero--insights .sp-hero-visual,
.sp-hero--balanced .sp-hero-visual {
  aspect-ratio: 5 / 4;
  max-height: min(60vh, 560px);
  width: 100%;
  align-self: center;
}

@media (max-width: 960px) {
  .sp-hero--work .sp-hero-grid,
  .sp-hero--insights .sp-hero-grid,
  .sp-hero--balanced .sp-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sp-hero--work .sp-hero-visual,
  .sp-hero--insights .sp-hero-visual,
  .sp-hero--balanced .sp-hero-visual {
    aspect-ratio: 16 / 10;
    max-height: 50vh;
  }
}
@media (max-width: 520px) {
  .sp-hero--work .sp-hero-cta,
  .sp-hero--insights .sp-hero-cta,
  .sp-hero--balanced .sp-hero-cta { flex-direction: column; align-items: stretch; }
  .sp-hero--work .sp-hero-cta .pill-btn,
  .sp-hero--insights .sp-hero-cta .pill-btn,
  .sp-hero--balanced .sp-hero-cta .pill-btn { width: 100%; }
}

/* ════════════════════════════════════════════════════════════
   THE ARCHIVE — light variant of the dome section
   White background, larger stage, intro text + meta stats.
   Overrides the prior dark .sp-section--dome treatment when
   the modifier .sp-section--dome-light is also present.
   ════════════════════════════════════════════════════════════ */
.sp-section--dome-light {
  background: var(--white);
  color: var(--black);
  border-color: rgba(0,0,0,0.08);
  padding-top: clamp(80px, 9vw, 140px);
  padding-bottom: clamp(56px, 6vw, 96px);
}
.sp-section--dome-light .numbered-label { color: var(--text-faint); }
.sp-section--dome-light .sp-section-title { color: var(--black); }
.sp-section--dome-light .sp-section-title .hl-red { color: var(--red); }

/* Header layout: text left + meta-stats right */
.sp-section-head--dome {
  max-width: var(--container);
  margin: 0 auto clamp(40px, 5vw, 72px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: clamp(40px, 5vw, 96px);
  align-items: end;
}
.dome-head-text { display: flex; flex-direction: column; gap: 14px; }
.dome-head-lead {
  max-width: 56ch;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-secondary);
}
.dome-head-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
}
.dome-head-meta li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1.5px solid var(--black);
  padding-top: 12px;
  min-width: 88px;
}
.dome-meta-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
}
.dome-meta-num span { color: var(--red); }
.dome-meta-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── STAGE — bigger, BLACK orb framed inside the white section ── */
.sp-section--dome-light .sp-dome-stage {
  height: clamp(720px, 92vh, 1100px);
  background: #0a0a0a;                          /* dome stage = black */
  border-top: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
}

/* Tiles + edge fades + overlays tuned for dark stage */
.sp-section--dome-light .sphere-root .dome-item__image {
  background: #141414;
  outline: 1px solid rgba(255,255,255,0.06);
}
.sp-section--dome-light .sphere-root .dome-item__image img {
  filter: saturate(1.08) contrast(1.04);
}
.sp-section--dome-light .sphere-root .dome-item__image:hover img {
  filter: saturate(1.2) contrast(1.1) brightness(1.05);
}
.sp-section--dome-light .sphere-root .dome-edge-fade {
  background: linear-gradient(to bottom, transparent, #0a0a0a);
}
.sp-section--dome-light .sphere-root .dome-overlay {
  background-image: radial-gradient(rgba(0,0,0,0) 65%, #0a0a0a 100%);
}
.sp-section--dome-light .sphere-root .dome-overlay--blur {
  -webkit-mask-image: radial-gradient(rgba(0,0,0,0) 70%, #0a0a0a 90%);
          mask-image: radial-gradient(rgba(0,0,0,0) 70%, #0a0a0a 90%);
}
.sp-section--dome-light .sphere-root .dome-viewer .dome-enlarge {
  border: 2px solid var(--white);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.sp-section--dome-light .sphere-root .dome-viewer .dome-scrim {
  background: rgba(0,0,0,0.65);
}

/* ── Caption row ── */
.sp-section--dome-light .sp-dome-caption {
  max-width: var(--container);
  margin: clamp(20px, 2vw, 28px) auto 0;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sp-section--dome-light .dome-caption-actions { color: var(--black); }
.sp-section--dome-light .dome-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(232,68,0,0.18);
  vertical-align: middle;
}

@media (max-width: 960px) {
  .sp-section-head--dome { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .dome-head-meta { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .sp-section--dome-light .sp-dome-caption { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .dome-head-meta { grid-template-columns: 1fr 1fr; }
  .sp-section--dome-light .sp-dome-stage { height: 70vh; min-height: 520px; }
}

/* ════════════════════════════════════════════════════════════
   PHASES — The Record (vanilla infinite slider)
   Pure CSS keyframe marquee, two rows, opposite directions.
   Spacing kept tight — no dead gap between phases and quote.
   ════════════════════════════════════════════════════════════ */
.section-phases-slider {
  background: var(--white);
  padding: clamp(32px, 4vw, 56px) 0 clamp(36px, 4vw, 64px);
  overflow: hidden;
  border-top: var(--border);
}
.phases-slider-head {
  max-width: var(--container);
  margin: 0 auto clamp(22px, 2.6vw, 36px);
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phases-slider-head .numbered-label {
  color: var(--red);
  margin-bottom: 0;
}
.phases-slider-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--black);
  margin: 0;
}
.phases-slider-title .hl-red { color: var(--red); }
.phases-slider-lead {
  max-width: 62ch;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-secondary);
}

.is-slider {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%);
  -webkit-mask-image: linear-gradient(to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%);
}
.is-slider + .is-slider { margin-top: clamp(10px, 1vw, 16px); }

.is-track {
  display: flex;
  width: max-content;
  animation: is-scroll var(--is-duration, 55s) linear infinite;
  will-change: transform;
}
.is-slider:hover .is-track { animation-play-state: paused; }
.is-slider--reverse .is-track { animation-direction: reverse; }

.is-tile {
  position: relative;
  flex: 0 0 auto;
  width: clamp(180px, 18vw, 260px);
  aspect-ratio: 1 / 1;
  margin-right: clamp(12px, 1.2vw, 18px);       /* right-margin (not gap) so -50% loops seamlessly */
  background: #0a0a0a;
  border: 1.5px solid var(--black);
  overflow: hidden;
}
.is-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.04) contrast(1.04);
  transition: filter 0.35s var(--ease-out);
}
.is-tile:hover img { filter: saturate(1.18) contrast(1.1) brightness(1.05); }
.is-tile-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  padding: 4px 8px;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

@keyframes is-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .is-track { animation: none; }
}
@media (max-width: 640px) {
  .is-tile { width: 42vw; margin-right: 10px; }
  .is-tile-tag { font-size: 0.54rem; letter-spacing: 0.12em; padding: 3px 6px; }
}

/* ════════════════════════════════════════════════════════════
   GROWTH MARKETING — Interactive Growth Grid (zoomable panels)
   Brutalist port of the comic-book SVG zoom pattern. Six panels
   arranged in a 3x2 grid; click/arrow-keys/swipe drives a GSAP
   viewBox tween on the SVG. White section, black stage, red accent.
   ════════════════════════════════════════════════════════════ */
.section-growth-zoom {
  background: var(--white);
  padding: clamp(80px, 9vw, 140px) 0 clamp(56px, 6vw, 96px);
  border-top: var(--border);
}
.growth-zoom-head {
  max-width: var(--container);
  margin: 0 auto clamp(32px, 4vw, 56px);
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.growth-zoom-head .numbered-label { color: var(--red); margin-bottom: 0; }
.growth-zoom-lead {
  max-width: 56ch;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Stage holds the zoomable SVG, the floating description card, and the bottom strip */
.gz-stage {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.gz-svg {
  display: block;
  width: 100%;
  height: clamp(640px, 88vh, 1080px);
  background: #0a0a0a;
  border: 1.5px solid var(--black);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
}
.gz-svg.is-zoomed { cursor: zoom-out; }

/* Each panel: image is rendered, a transparent hit-rect catches input,
   and the label/num sit on top */
.gz-panels image {
  pointer-events: none;
  filter: saturate(1.05) contrast(1.04);
  transition: filter 0.4s var(--ease-out);
}
.gz-panels g[data-gz-panel] { transition: opacity 0.45s var(--ease-out); }
.gz-svg.is-zoomed .gz-panels g[data-gz-panel] { opacity: 0.18; }
.gz-svg.is-zoomed .gz-panels g[data-gz-panel].is-active { opacity: 1; }
.gz-svg.is-zoomed .gz-panels g[data-gz-panel].is-active image {
  filter: saturate(1.18) contrast(1.1) brightness(1.04);
}

.gz-hit {
  fill: rgba(232, 0, 13, 0.0);
  stroke: rgba(255, 255, 255, 0.0);
  stroke-width: 6;
  cursor: zoom-in;
  transition: fill 0.25s var(--ease-out), stroke 0.25s var(--ease-out);
}
.gz-hit:hover {
  fill: rgba(232, 0, 13, 0.10);
  stroke: rgba(232, 0, 13, 0.85);
}
.gz-svg.is-zoomed .gz-panels g[data-gz-panel].is-active .gz-hit {
  cursor: zoom-out;
  fill: rgba(232, 0, 13, 0);
  stroke: rgba(232, 0, 13, 0);
}

.gz-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 110px;
  font-weight: 800;
  letter-spacing: -0.04em;
  fill: var(--white);
  pointer-events: none;
  text-transform: uppercase;
}
.gz-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.18em;
  fill: var(--white);
  pointer-events: none;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(0,0,0,0.4);
  stroke-width: 6;
}

/* Floating description card */
.gz-card {
  position: absolute;
  left: var(--gutter);
  bottom: 64px;
  z-index: 5;
  max-width: 420px;
  padding: 22px 26px;
  background: var(--white);
  border: 1.5px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
.gz-card-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
}
.gz-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--black);
  margin: 0;
  text-transform: uppercase;
}
.gz-card-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* Bottom instructions strip */
.gz-instructions {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
  border-top: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gz-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(232,0,13,0.18);
}
.gz-instructions kbd {
  display: inline-block;
  padding: 1px 6px;
  margin: 0 2px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .gz-svg { height: 70vh; min-height: 520px; }
  .gz-card { left: 16px; bottom: 56px; max-width: calc(100% - 32px); padding: 14px 18px; }
  .gz-instructions { font-size: 0.6rem; letter-spacing: 0.14em; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .gz-panels image, .gz-panels g[data-gz-panel] { transition: none; }
}

/* ════════════════════════════════════════════════════════════
   AD-CREATIVES — UGC video card controls
   Mute button (top-right, Apple liquid-glass circle)
   Volume slider (bottom-center, liquid-glass pill)
   Views count (inline in card-meta bottom-right)
   ════════════════════════════════════════════════════════════ */
.sp-video-card { position: relative; }

/* ── Liquid-glass mute button (top-right) ─────────────────── */
.sp-video-mute {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  pointer-events: auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  /* Apple-style liquid glass: soft white tint + heavy blur + saturate */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.12) 100%);
  border: 1px solid rgba(255, 255, 255, 0.30);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
          backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.2s var(--ease-out),
    background 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.sp-video-mute:hover {
  transform: scale(1.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.18) 100%);
  border-color: rgba(255, 255, 255, 0.45);
}
.sp-video-mute:active { transform: scale(0.96); }
.sp-video-mute svg { width: 16px; height: 16px; display: block; }
.sp-video-mute .i-sound { display: none; }
.sp-video-mute[aria-pressed="false"] .i-muted { display: none; }
.sp-video-mute[aria-pressed="false"] .i-sound { display: block; color: var(--red); }

/* ── Liquid-glass volume slider — inline in meta strip ────── */
/* Lives between Creator (left) and Views (right) on the same baseline. */
.sp-video-card-meta { z-index: 4; pointer-events: auto; }

.sp-video-volume-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  pointer-events: auto;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

.sp-video-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 3px;
  background: transparent;
  background-color: transparent;
  overflow: visible;
  cursor: pointer;
  margin: 6px 0;
  padding: 0;
  outline: none;
  border: none;
  --vol-fill: 70%;
  display: block;
  pointer-events: auto;
}
/* WHITE fill (left → right), white-translucent rest, white thumb */
.sp-video-volume::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(to right,
    rgba(255,255,255,0.95) 0,
    rgba(255,255,255,0.95) var(--vol-fill),
    rgba(255,255,255,0.25) var(--vol-fill),
    rgba(255,255,255,0.25) 100%);
}
.sp-video-volume::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
}
.sp-video-volume::-moz-range-progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
}
.sp-video-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  border: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.65),
    0 2px 6px rgba(0,0,0,0.45);
  margin-top: -4px;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out);
}
.sp-video-volume::-webkit-slider-thumb:hover { transform: scale(1.2); }
.sp-video-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  border: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.65),
    0 2px 6px rgba(0,0,0,0.45);
  cursor: pointer;
}

/* ── Inline views in the meta strip (bottom-right) ────────── */
.sp-video-views-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: inherit;
}
.sp-video-views-inline .i-eye {
  width: 13px; height: 13px;
  flex-shrink: 0;
}
.sp-video-views-inline .sp-video-views-num { line-height: 1; }

@media (max-width: 640px) {
  .sp-video-mute { width: 32px; height: 32px; top: 10px; right: 10px; }
  .sp-video-mute svg { width: 14px; height: 14px; }
  .sp-video-volume-wrap { padding: 3px 8px; }
  .sp-video-volume { width: 70px; }
}

/* ════════════════════════════════════════════════════════════
   AD-CREATIVES — Inside the Studio
   Vanilla port of React Bits <ScrollStack /> — cards stack on
   top of each other on scroll with scale-down + blur on the
   buried ones. Brutalist edges (no rounding), brand colors,
   uses window scroll (no Lenis dependency).
   ════════════════════════════════════════════════════════════ */
.section-cs-stack {
  background: var(--white);
  padding: clamp(80px, 9vw, 140px) 0 0;
  border-top: var(--border);
}
.section-cs-stack .cs-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.scroll-stack-scroller {
  position: relative;
  width: 100%;
}
.scroll-stack-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  /* Exit budget — dimensioned for the cards as they actually render
     (~40vh after we trimmed padding + metric font) + stackOffset
     (~20vh with tighter data-stack-options) + 12vh pin hold.
     15vh padding-bottom = last card clears the top right as [03]
     enters the viewport. Snappy, no dead zone, no overlap. */
  padding: 6vh var(--gutter) 15vh;
}

/* Each card — GPU-promoted per the React Bits guardrails */
.scroll-stack-card {
  position: relative;
  width: 100%;
  min-height: 40vh;                   /* tighter → faster natural exit */
  margin-bottom: 60px;                /* overridden by JS via itemDistance */
  padding: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 56px);
  border: 1.5px solid var(--black);
  background: var(--white);
  color: var(--black);
  overflow: hidden;
  transform-origin: top center;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-perspective: 1000px;
          perspective: 1000px;
  contain: layout paint;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

/* End spacer — ensures the last card has room to settle */
.scroll-stack-end {
  width: 100%;
  height: 1px;
}

/* Inner layouts */
.ss-card-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  height: 100%;
}
.ss-card-inner--center {
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}
.ss-card-inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}
.ss-card-inner--reverse .ss-card-text { order: 2; }
.ss-card-inner--reverse .ss-card-media { order: 1; }

.ss-card-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ss-card-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.ss-card-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0;
}
.ss-card-title .hl-red { color: var(--red); }
.ss-card-lead {
  max-width: 48ch;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
.ss-card-inner--center .ss-card-lead { max-width: 56ch; }

.ss-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 56vh;
  border: 1.5px solid var(--black);
  overflow: hidden;
  background: #0a0a0a;
}
.ss-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.04) contrast(1.04);
}

/* ── Card 02: black manifesto with three-doctrine list ── */
.ss-card--02 {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.ss-card--02 .ss-card-num { color: var(--red); }
.ss-card--02 .ss-card-title { color: var(--white); }
.ss-card-doctrine {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.ss-card-doctrine li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 16px;
  border-top: 1.5px solid rgba(255,255,255,0.18);
}
.ss-card-doctrine-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--red);
  line-height: 1;
}
.ss-card-doctrine strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.ss-card-doctrine p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ── Card 04: red CTA stage ── */
.ss-card--04 {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.ss-card--04 .ss-card-num { color: rgba(255,255,255,0.7); }
.ss-card--04 .ss-card-title { color: var(--white); }
.ss-card--04 .ss-card-title .hl-red { color: var(--black); }
.ss-card--04 .ss-card-lead { color: rgba(255,255,255,0.88); }
.ss-card--04 .pill-btn--dark {
  background: var(--black);
  color: var(--white);
  margin-top: 12px;
}
.ss-card--04 .pill-btn--dark:hover { background: #1c1c1c; transform: translateY(-2px); }

/* Reduced motion: skip transforms, render cards in natural flow */
@media (prefers-reduced-motion: reduce) {
  .scroll-stack-card { transform: none !important; filter: none !important; }
}

/* Mobile: drop the stack effect — single column flow */
@media (max-width: 860px) {
  .scroll-stack-inner { padding: 4vh var(--gutter) 8vh; }
  .scroll-stack-card {
    min-height: auto;
    margin-bottom: 24px !important;
    transform: none !important;
    filter: none !important;
  }
  .ss-card-inner--split,
  .ss-card-inner--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ss-card-inner--reverse .ss-card-text { order: 1; }
  .ss-card-inner--reverse .ss-card-media { order: 2; }
  .ss-card-doctrine { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   AD-CREATIVES — [02] By the Numbers (ScrollStack metric cards)
   ════════════════════════════════════════════════════════════ */
.section-ss-numbers {
  background: var(--white);
  padding: clamp(80px, 9vw, 140px) 0 0;
  border-top: var(--border);
}
.section-ss-numbers .sp-section-head {
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.ss-numbers-lead {
  max-width: 56ch;
  margin: 6px 0 0;
  padding: 0 var(--gutter);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Metric variant of the scroll-stack card */
.ss-card-inner--metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
}
.ss-card-inner--metric .ss-card-num {
  margin-bottom: 4px;
}
.ss-metric-value {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--red);
  margin: 0 0 4px;
}
.ss-metric-unit,
.ss-metric-plus {
  font-size: 0.4em;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
}
.ss-metric-plus { color: var(--red); }
.ss-card--02 .ss-metric-value,
.ss-card--04 .ss-metric-value { color: var(--white); }
.ss-card--02 .ss-metric-unit,
.ss-card--04 .ss-metric-unit { color: var(--white); }
.ss-card--04 .ss-metric-plus { color: var(--black); }
.ss-card-inner--metric .ss-card-title {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  margin-top: 8px;
}

/* ════════════════════════════════════════════════════════════
   AD-CREATIVES — [03] Inside the Studio (sticky-stack slides)
   Restored from the original — each slide pins at top:0 and
   gets pushed away by the next. Slide 02 is taller than viewport
   so its long copy scrolls in flow before slide 03 stacks on top.
   ════════════════════════════════════════════════════════════ */
.cs-stack { position: relative; }

.cs-slide {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
  background: var(--white);
  color: var(--black);
}
.cs-slide--scroll {
  position: relative;
  height: auto;
  min-height: 100vh;
  border-top: 0;
}

.cs-slide-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 96px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs-slide-inner--center {
  text-align: center;
  align-items: center;
  justify-content: center;
}
.cs-slide-inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.cs-slide-inner--reverse .cs-slide-text { order: 2; }
.cs-slide-inner--reverse .cs-slide-media { order: 1; }

.cs-slide-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs-slide-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.cs-slide-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0;
}
.cs-slide-title .hl-red { color: var(--red); }
.cs-slide-lead {
  max-width: 48ch;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}
.cs-slide-inner--center .cs-slide-lead { max-width: 56ch; }

.cs-slide-media {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  border: 1.5px solid var(--black);
  overflow: hidden;
  background: #0a0a0a;
}
.cs-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.04) contrast(1.04);
}

/* ── Slide 02: black with white text, scrollable copy ── */
.cs-slide--02 {
  background: var(--black);
  color: var(--white);
}
.cs-slide--02 .cs-slide-inner {
  max-width: 880px;
  padding-top: clamp(80px, 9vw, 140px);
  padding-bottom: clamp(120px, 14vw, 200px);
  gap: 22px;
}
.cs-slide--02 .cs-slide-num { color: var(--red); }
.cs-slide--02 .cs-slide-title { color: var(--white); }
.cs-slide--02 p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 64ch;
  margin: 0;
}
.cs-slide--02 p strong { color: var(--white); font-weight: 700; }
.cs-slide--02 .cs-slide-end {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ── Slide 04: red CTA stage ── */
.cs-slide--04 {
  background: var(--red);
  color: var(--white);
}
.cs-slide--04 .cs-slide-num { color: rgba(255,255,255,0.7); }
.cs-slide--04 .cs-slide-title { color: var(--white); }
.cs-slide--04 .cs-slide-title .hl-red { color: var(--black); }
.cs-slide--04 .cs-slide-lead { color: rgba(255,255,255,0.85); }
.cs-slide--04 .pill-btn--dark {
  background: var(--black);
  color: var(--white);
  margin-top: 12px;
}
.cs-slide--04 .pill-btn--dark:hover { background: #1c1c1c; transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .cs-slide { position: relative; height: auto; min-height: 70vh; }
}
@media (max-width: 860px) {
  .cs-slide { position: relative; height: auto; min-height: 70vh; }
  .cs-slide--scroll { min-height: 100vh; }
  .cs-slide-inner--split,
  .cs-slide-inner--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cs-slide-inner--reverse .cs-slide-text { order: 1; }
  .cs-slide-inner--reverse .cs-slide-media { order: 2; }
  .cs-slide-media { aspect-ratio: 4/5; max-height: none; height: auto; }
}

/* ════════════════════════════════════════════════════════════
   SERVICE / WEBSITES — Discovery Surfaces (FlowingMenu port)
   Three stacked full-width items (SEO / AEO / GEO). On hover, a
   marquee panel slides in from whichever edge is nearest the
   cursor, covering the item with a horizontally-scrolling
   text+image strip. Brutalist brand palette: white base, black
   marquee, red accent.
   ════════════════════════════════════════════════════════════ */
.section-discovery {
  background: var(--white);
  padding: clamp(80px, 9vw, 140px) 0 clamp(64px, 7vw, 120px);
  border-top: var(--border);
}
.section-discovery .sp-section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-discovery .numbered-label { color: var(--red); }
.discovery-lead {
  max-width: 62ch;
  margin: 6px 0 0;
  padding: 0 var(--gutter);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-secondary);
}


/* ════════════════════════════════════════════════════════════
   CUSTOM SYSTEMS — [01] How it works  (brutalist 2-col layout)
   Two-column split: intro text left, 2x2 grid of process cards
   right. Replaces a broken absolute-positioned CardSwap layout
   where every card rendered on top of the same x/y (they weren't
   separated in flow and there was no JS to fan them out).
   ════════════════════════════════════════════════════════════ */
.cs-process-section {
  /* Generous top padding so the card stack never runs into the
     marquee / hero above (cards are tall and the stagger makes
     card 1 sit at the TOP of cs-wrap — no visual buffer to the
     section edge otherwise). */
  padding: clamp(120px, 12vw, 200px) var(--gutter) clamp(80px, 9vw, 140px);
}
.cs-process-section .cs-process-left,
.cs-process-section .cs-process-right {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 861px) {
  .cs-process-section {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.35fr);
    gap: clamp(48px, 6vw, 96px);
    align-items: center;             /* vertically centre the stack vs. the text */
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
  }
  .cs-process-section .cs-process-left,
  .cs-process-section .cs-process-right {
    max-width: none;
    margin: 0;
  }
  /* Push the card stack +100px lower inside its column so card 1
     clears the hero / marquee above with plenty of breathing room. */
  .cs-process-right .cs-wrap {
    margin-top: clamp(128px, calc(3vw + 100px), 156px);
  }
}

.cs-process-left {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
}
.cs-process-left .sp-section-title {
  color: var(--black);
}
.cs-process-left .sp-lead {
  max-width: 38ch;
  margin-top: 8px !important;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--text-secondary);
}

/* Stacked-deck layout: cards peek out from behind each other
   with a small vertical + horizontal offset. Hover on any card
   pulls it forward + flattens (z-index + transform reset). */
.cs-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  /* Height = front card height + 3 × vertical offset peek */
  height: clamp(260px, 24vw, 320px);
  margin-left: auto;                /* push stack toward column right */
  perspective: 1200px;
  transform-style: preserve-3d;
}

.cs-card {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(300px, 32vw, 400px);
  height: clamp(210px, 20vw, 260px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.2vw, 28px) clamp(22px, 2.4vw, 30px);
  background: var(--white);
  border: 1.5px solid var(--black);
  color: var(--black);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transform-origin: top left;
  transition:
    transform 0.55s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background 0.35s var(--ease-out),
    color 0.35s var(--ease-out);
  cursor: default;
}

/* Stagger — each card sits further back + right + down */
.cs-card:nth-child(1) { transform: translate(0,   0)  rotate(0);    z-index: 4; }
.cs-card:nth-child(2) { transform: translate(24px,20px) rotate(1.2deg); z-index: 3; }
.cs-card:nth-child(3) { transform: translate(48px,40px) rotate(2.4deg); z-index: 2; }
.cs-card:nth-child(4) { transform: translate(72px,60px) rotate(3.6deg); z-index: 1; }

/* Hover — the hovered card pulls to front, untransformed */
.cs-card:hover {
  transform: translate(0, 0) rotate(0) scale(1.02);
  z-index: 10;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
}
.cs-card:hover .cs-card-num { color: var(--red); }
.cs-card:hover .cs-card-divider { background: rgba(255,255,255,0.2); }
.cs-card:hover .cs-card-desc { color: rgba(255,255,255,0.7); }

.cs-card-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
}

.cs-card-divider {
  width: 100%;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  transition: background 0.35s var(--ease-out);
}

.cs-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}

.cs-card-desc {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  margin-top: auto;
}

@media (max-width: 860px) {
  .cs-process-section { display: block; }
  .cs-process-left { margin-bottom: clamp(32px, 5vw, 56px); }
  /* Stack breaks down on mobile — fall back to a readable vertical list */
  .cs-wrap {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: auto;
    max-width: none;
    margin: 0;
  }
  .cs-card {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 180px;
    transform: none !important;
    z-index: auto !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
}

/* ── Automations — tile gallery [03] In the wild ─────────────────── */
.auto-tiles {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
.auto-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.auto-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.auto-tile {
  transition: border-color 0.4s var(--ease-out);
}
.auto-tile:hover {
  border-color: rgba(255, 0, 0, 0.6);
}
.auto-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}
.auto-tile-meta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--white);
  margin: 0;
}
.auto-tile-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.auto-tile-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
@media (max-width: 768px) {
  .auto-tiles { grid-template-columns: 1fr; }
  .auto-tile { aspect-ratio: 4 / 3; }
}

/* ── Automations [03] — Overlapping collage variant ──────────────── */
.auto-tiles--collage {
  display: block;
  grid-template-columns: unset;
  position: relative;
  height: clamp(640px, 66vw, 900px);
  max-width: 1360px;
  padding: 0 var(--gutter);
}
.auto-tiles--collage .auto-tile {
  position: absolute;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(10, 10, 10, 0.15);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.12);
  will-change: transform;
  transition: box-shadow 0.5s var(--ease-out), border-color 0.4s var(--ease-out);
}
.auto-tiles--collage .auto-tile[data-pos="1"] {
  top: 1%;
  left: 4%;
  width: 42%;
  z-index: 2;
}
.auto-tiles--collage .auto-tile[data-pos="2"] {
  top: 8%;
  left: 48%;
  width: 44%;
  z-index: 1;
}
.auto-tiles--collage .auto-tile[data-pos="3"] {
  top: 48%;
  left: 8%;
  width: 46%;
  z-index: 3;
}
.auto-tiles--collage .auto-tile[data-pos="4"] {
  top: 54%;
  left: 50%;
  width: 44%;
  z-index: 4;
}
.auto-tiles--collage .auto-tile:hover {
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.32),
    0 4px 14px rgba(0, 0, 0, 0.16);
  border-color: rgba(255, 0, 0, 0.55);
}
.auto-tiles--collage .auto-tile::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.82) 100%);
}
.auto-tiles--collage .auto-tile-title {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.05;
}

@media (max-width: 900px) {
  .auto-tiles--collage {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    gap: 20px;
  }
  .auto-tiles--collage .auto-tile,
  .auto-tiles--collage .auto-tile[data-pos] {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    transform: none !important;
  }
}

/* ── Automations [04] — Pipeline diagram ─────────────────────────── */
.auto-pipeline-section {
  background: var(--black);
  color: var(--white);
  padding: clamp(80px, 9vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.auto-pipeline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 0, 0, 0.08), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 120px, rgba(255, 255, 255, 0.025) 120px 121px);
  pointer-events: none;
  z-index: 0;
}
.auto-pipeline-section .sp-section-head {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.auto-pipeline-section .sp-section-title {
  color: var(--white);
}
.auto-pipeline-section .numbered-label {
  color: rgba(255, 255, 255, 0.55);
}

.auto-pipeline {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0 clamp(16px, 3vw, 40px);
}
.auto-pipeline-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* Nodes */
.pp-node-dot {
  fill: var(--black);
  stroke: var(--white);
  stroke-width: 1.5;
}
.pp-node-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1;
  transform-origin: center;
  animation: pp-pulse 2.8s ease-out infinite;
}
.pp-node-ring--2 { animation-delay: 1.4s; }
@keyframes pp-pulse {
  0%   { transform: scale(1);   stroke-opacity: 0.55; }
  70%  { transform: scale(1.9); stroke-opacity: 0;    }
  100% { transform: scale(2);   stroke-opacity: 0;    }
}
.pp-node-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  fill: var(--white);
  text-anchor: middle;
  letter-spacing: 0.05em;
}
.pp-node-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  fill: rgba(255, 255, 255, 0.65);
  text-anchor: middle;
  text-transform: uppercase;
}
.pp-node--final .pp-node-dot { stroke: var(--red); }
.pp-node--final .pp-node-ring { stroke: rgba(255, 0, 0, 0.55); }

/* Links */
.pp-link {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.pp-link--alt {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

/* Particles */
.pp-particle {
  fill: var(--red);
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.9));
}
.pp-particle--alt {
  fill: var(--white);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}

/* Legend below diagram */
.auto-pipeline-legend {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 64px);
  margin-top: clamp(48px, 6vw, 80px);
  padding: 0 var(--gutter);
}
.auto-pipeline-legend-stat {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.auto-pipeline-legend-stat strong {
  color: var(--white);
  font-weight: 700;
  margin-right: 8px;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .auto-pipeline-svg { min-height: 260px; }
  .auto-pipeline-legend {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}


/* ════════════════════════════════════════════════════════════
   BRANDING — Zoom Parallax
   Vanilla port of React Bits <ZoomParallax /> (no framer-motion).
   Container is 300vh tall; inside is sticky h:100vh stage with 7
   images that scale independently based on scroll progress.
   ════════════════════════════════════════════════════════════ */
.section-zoom-parallax {
  background: var(--white);
  padding: clamp(60px, 7vw, 112px) 0 0;
  border-top: var(--border);
  /* NO overflow:hidden here — it silently breaks position:sticky on
     .zp-sticky inside (sticky confines to the nearest clipping
     ancestor, so the scroll trigger never engages). The sticky
     element itself owns its own overflow:hidden. */
}
.zp-head {
  max-width: var(--container);
  margin: 0 auto clamp(32px, 4vw, 56px);
  padding: 0 var(--gutter);
}
.zp-head .numbered-label { color: var(--red); }
.zp-lead {
  max-width: 56ch;
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-secondary);
}

/* The scroll driver — 300vh = 3 screens of scroll mapped to the zoom. */
.zp-container {
  position: relative;
  height: 300vh;
}
.zp-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--white);
}

/* Each item is an absolutely-centred wrapper. Scale is applied to
   the item (not the frame) so the frame's custom position is the
   pre-scale anchor. */
.zp-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* IMPORTANT: no `will-change: transform` and no `translateZ(0)` here.
     Both promote .zp-item to a GPU compositor layer rasterised at the
     INITIAL size (~25vw). `transform: scale(5)` then just stretches that
     small bitmap → visible pixelation at max zoom. Without layer
     promotion, the browser re-rasterises the <img> at the actual
     scaled size on every frame → sharp. */
  transform: scale(1);
}
.zp-frame {
  position: relative;
  width: 25vw;
  height: 25vh;
  overflow: hidden;
  border: 1.5px solid var(--black);
  background: #0a0a0a;
}
/* Centre zoom target has no border — at full zoom a 1.5px border
   scales to ~7.5px flush with the viewport edges (visually jarring). */
.zp-item--0 .zp-frame { border: 0; }
.zp-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.04) contrast(1.04);
  /* Hint to Safari/WebKit to use higher-quality resampling on scale-up */
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
}

/* Per-item frame overrides — matching the React Bits demo positions */
.zp-item--1 .zp-frame { top: -30vh; left: 5vw;     width: 35vw; height: 30vh; }
.zp-item--2 .zp-frame { top: -10vh; left: -25vw;   width: 20vw; height: 45vh; }
.zp-item--3 .zp-frame { top: 0;     left: 27.5vw;  width: 25vw; height: 25vh; }
.zp-item--4 .zp-frame { top: 27.5vh;left: 5vw;     width: 20vw; height: 25vh; }
.zp-item--5 .zp-frame { top: 27.5vh;left: -22.5vw; width: 30vw; height: 25vh; }
.zp-item--6 .zp-frame { top: 22.5vh;left: 25vw;    width: 15vw; height: 15vh; }

/* Since frame has top/left offsets, the parent flex centring still
   plays nicely — the offsets shift the frame off the center point. */
.zp-item--1 .zp-frame,
.zp-item--2 .zp-frame,
.zp-item--3 .zp-frame,
.zp-item--4 .zp-frame,
.zp-item--5 .zp-frame,
.zp-item--6 .zp-frame {
  position: relative;
}

/* Reduced motion: snapshot the default layout, disable scale drive */
@media (prefers-reduced-motion: reduce) {
  .zp-container { height: auto; }
  .zp-sticky { position: relative; height: auto; padding: 40px 0; }
  .zp-item { position: relative; transform: none !important; height: auto; }
  .zp-frame { position: relative !important; top: 0 !important; left: 0 !important; width: 100%; height: auto; aspect-ratio: 16/10; }
}

/* Mobile: flatten — stack images normally without the scroll-zoom effect */
@media (max-width: 860px) {
  .zp-container { height: auto; }
  .zp-sticky { position: relative; height: auto; padding: 20px 0; display: grid; gap: 12px; }
  .zp-item { position: relative; transform: none !important; height: auto; display: block; }
  .zp-frame { position: relative !important; top: 0 !important; left: 0 !important; width: 100% !important; height: auto !important; aspect-ratio: 16/10; }
}


/* ════════════════════════════════════════════════════════════
   [02] SURFACES — mouse-tracked tilt grid + reveal modal
   (service-crm-systems.html)
   ════════════════════════════════════════════════════════════ */
.section-surfaces {
  background: var(--white);
  color: var(--black);
  position: relative;
  overflow: hidden;
}
.srf-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.srf-head {
  margin-bottom: clamp(48px, 6vw, 88px);
}

/* Grid of 4 surface cards ───────────────────────────────── */
.srf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
  perspective: 1400px;
}
.srf-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border: 1.5px solid var(--black);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transform-style: preserve-3d;
  transition: border-color 0.3s ease;
}
.srf-item:focus-visible {
  outline: 3px solid var(--hl-red, #E8000D);
  outline-offset: 4px;
}
.srf-imagewrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.srf-image {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(0.15) contrast(1.05) brightness(0.72);
  transition: filter 0.6s ease;
  will-change: transform;
}
.srf-item:hover .srf-image {
  filter: grayscale(0) contrast(1.1) brightness(0.85);
}
.srf-imagewrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.25) 0%,
    rgba(10,10,10,0.05) 40%,
    rgba(10,10,10,0.85) 100%
  );
  pointer-events: none;
}
.srf-number {
  position: absolute;
  top: clamp(20px, 2.2vw, 32px);
  left: clamp(20px, 2.2vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  z-index: 3;
  will-change: transform;
}
.srf-number::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--hl-red, #E8000D);
  margin-right: 10px;
  vertical-align: middle;
}
.srf-title {
  position: absolute;
  left: clamp(20px, 2.2vw, 32px);
  bottom: clamp(20px, 2.4vw, 36px);
  right: clamp(20px, 2.2vw, 32px);
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.6vw, 2.75rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 3;
  will-change: transform;
}
.srf-title span { display: inline-block; }

@media (max-width: 860px) {
  .srf-grid { grid-template-columns: 1fr; }
  .srf-item { aspect-ratio: 3 / 4; }
}

/* Fullscreen modal ─────────────────────────────────────── */
.srf-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}
.srf-modal[aria-hidden="false"] { pointer-events: auto; }
.srf-modal-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 1;
  will-change: transform;
}
.srf-modal-content {
  position: absolute;
  inset: 0;
  background: var(--black);
  color: var(--white);
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  will-change: transform;
  overflow: hidden;
}
.srf-modal-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-right: 1.5px solid rgba(255,255,255,0.08);
}
.srf-modal-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.2) 0%,
    rgba(10,10,10,0.0) 50%,
    rgba(10,10,10,0.65) 100%
  );
  pointer-events: none;
}
.srf-modal-inner {
  padding: clamp(48px, 6vw, 96px) clamp(40px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 2vw, 28px);
  max-width: 640px;
}
.srf-modal-kicker {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hl-red, #E8000D);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.srf-modal-kicker::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--hl-red, #E8000D);
}
.srf-modal-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}
.srf-modal-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  margin: 0;
}
.srf-modal-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(16px, 2vw, 28px);
  padding: 16px 28px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.srf-modal-back:hover {
  background: var(--white);
  color: var(--black);
}
.srf-modal-back-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.srf-modal-back:hover .srf-modal-back-arrow { transform: translateX(-4px); }

html.srf-modal-open,
body.srf-modal-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .srf-modal-content { grid-template-columns: 1fr; grid-template-rows: 40vh 1fr; }
  .srf-modal-image { border-right: none; border-bottom: 1.5px solid rgba(255,255,255,0.08); }
  .srf-modal-inner { padding: clamp(28px, 6vw, 48px); }
}

@media (prefers-reduced-motion: reduce) {
  .srf-image, .srf-number, .srf-title, .srf-imagewrap { transition: none; }
}

/* ════════════════════════════════════════════════════════════
   [03] INFINITE LAYERS GRID — draggable ad-work collage
   (service-growth-marketing.html)
   ════════════════════════════════════════════════════════════ */
.section-ilg {
  position: relative;
  background: var(--white);
  color: var(--black);
  padding: clamp(80px, 9vw, 140px) 0 0;
  border-top: var(--border);
  overflow: hidden;
}
.ilg-head {
  max-width: var(--container);
  margin: 0 auto clamp(40px, 5vw, 72px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.ilg-head .numbered-label { align-self: start; }
.ilg-head .sp-section-title { grid-column: 2; }
.ilg-lead {
  grid-column: 2;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.65);
  max-width: 60ch;
  margin-top: 1.25rem;
}

.ilg-stage {
  position: relative;
  width: 100%;
  height: clamp(560px, 90vh, 1080px);
  overflow: hidden;
  user-select: none;
  cursor: grab;
  background: var(--white);
  border-top: 1.5px solid rgba(10,10,10,0.08);
  border-bottom: 1.5px solid rgba(10,10,10,0.08);
  touch-action: pan-y;
}
.ilg-stage.is-dragging { cursor: grabbing; }

.ilg-grid {
  position: relative;
  width: 100%;
  height: 100%;
  white-space: nowrap;
}
.ilg-item {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  white-space: normal;
  pointer-events: none;  /* drags propagate to stage */
}
.ilg-item-wrap { will-change: transform; display: block; }
.ilg-item-image {
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(10,10,10,0.12);
}
.ilg-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  display: block;
  transform: scale(1.2);
  filter: grayscale(0.05) contrast(1.02);
}

.ilg-caption {
  display: block;
  width: 100%;
  margin-top: 12px;
  font-family: 'DM Mono', 'Space Grotesk', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: clamp(0.68rem, 0.72vw, 0.8rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--black);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s cubic-bezier(0.6, 0.14, 0, 1), transform 0.8s cubic-bezier(0.6, 0.14, 0, 1);
}
.ilg-caption.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ilg-hint {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(20px, 2vw, 28px) var(--gutter) clamp(40px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
}
.ilg-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--hl-red, #E8000D);
  border-radius: 50%;
  animation: ilgPulse 1.6s ease-in-out infinite;
}
@keyframes ilgPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.45; }
}

/* Mobile / reduced-motion fallback: a plain tiled collage */
.section-ilg.ilg-static .ilg-stage { height: auto; cursor: default; }
.section-ilg.ilg-static .ilg-grid {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  height: auto;
}
.section-ilg.ilg-static .ilg-item {
  position: static !important;
  width: 100% !important;
  transform: none !important;
}
.section-ilg.ilg-static .ilg-item-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
}
.section-ilg.ilg-static .ilg-item-image img {
  transform: none !important;
}
.section-ilg.ilg-static .ilg-caption {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .ilg-head { grid-template-columns: 1fr; }
  .ilg-head .sp-section-title,
  .ilg-lead { grid-column: 1; }
}

/* ════════════════════════════════════════════════════════════
   [02] THE SYSTEM — editorial measurement spread
   (service-growth-marketing.html)
   ════════════════════════════════════════════════════════════ */
.section-studio {
  background: var(--white);
  color: var(--black);
  padding: clamp(80px, 9vw, 140px) 0;
  border-top: var(--border);
}
.studio-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.studio-head {
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(32px, 3vw, 48px);
  border-bottom: 1.5px solid rgba(10,10,10,0.12);
}
.studio-head .sp-section-title { grid-column: 2; }

/* Two-column editorial layout: text 5/12, visuals 7/12 */
.studio-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

/* Copy column ─────────────────────────────────────────────── */
.studio-copy {
  position: sticky;
  top: clamp(80px, 10vh, 120px);
}
.studio-copy .sp-lead {
  font-size: clamp(1.15rem, 1.4vw, 1.5rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--black);
  margin: 0 0 clamp(20px, 2vw, 28px);
  max-width: 42ch;
}
.studio-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.65;
  color: rgba(10,10,10,0.7);
  margin: 0 0 clamp(32px, 3vw, 44px);
  max-width: 50ch;
}
.studio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(10,10,10,0.12);
}
.studio-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: clamp(14px, 1.4vw, 20px) 0;
  border-bottom: 1px solid rgba(10,10,10,0.12);
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 0.98vw, 1.02rem);
  line-height: 1.5;
  color: var(--black);
}
.studio-list-num {
  font-family: 'DM Mono', 'Space Grotesk', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--hl-red, #E8000D);
}

/* Visuals column ──────────────────────────────────────────── */
.studio-visuals {
  display: grid;
  gap: clamp(16px, 1.6vw, 24px);
}
.studio-fig {
  margin: 0;
  display: block;
}
.studio-img-wrap {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--black);
  background: var(--black);
}
.studio-fig--hero .studio-img-wrap { aspect-ratio: 16 / 9; }
.studio-fig--detail .studio-img-wrap { aspect-ratio: 4 / 3; }
.studio-fig--portrait .studio-img-wrap { aspect-ratio: 3 / 4; }
.studio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.05) contrast(1.04);
  transition: transform 1.2s cubic-bezier(0.6, 0.14, 0, 1);
}
.studio-fig:hover .studio-img-wrap img {
  transform: scale(1.035);
}
.studio-fig figcaption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 12px;
  font-family: 'DM Mono', 'Space Grotesk', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: clamp(0.7rem, 0.78vw, 0.82rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.7);
}
.studio-cap-idx {
  color: var(--hl-red, #E8000D);
  font-weight: 700;
}
.studio-cap-label { flex: 1; }

.studio-detail-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(16px, 1.6vw, 24px);
  align-items: start;
}

@media (max-width: 1024px) {
  .studio-grid { grid-template-columns: 1fr; gap: clamp(36px, 5vw, 56px); }
  .studio-copy { position: static; }
}
@media (max-width: 640px) {
  .studio-head { grid-template-columns: 1fr; }
  .studio-head .sp-section-title { grid-column: 1; }
  .studio-detail-row { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   [04] THE PROOF — big-number brutalist stat strip
   (service-growth-marketing.html)
   ════════════════════════════════════════════════════════════ */
.section-proof {
  background: var(--black);
  color: var(--white);
  padding: clamp(80px, 9vw, 140px) 0;
  border-top: var(--border);
}
.section-proof .numbered-label { color: rgba(255,255,255,0.7); }
.section-proof .sp-section-title { color: var(--white); }

.proof-head {
  max-width: var(--container);
  margin: 0 auto clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding-bottom: clamp(32px, 3vw, 48px);
  border-bottom: 1.5px solid rgba(255,255,255,0.12);
}
.proof-head .sp-section-title { grid-column: 2; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1.5px solid rgba(255,255,255,0.12);
  border-bottom: 1.5px solid rgba(255,255,255,0.12);
}
.proof-stat {
  padding: clamp(32px, 3vw, 48px) clamp(24px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.5vw, 24px);
  position: relative;
  min-height: clamp(280px, 28vw, 360px);
}
.proof-stat + .proof-stat {
  border-left: 1.5px solid rgba(255,255,255,0.12);
}
.proof-stat-kicker {
  font-family: 'DM Mono', 'Space Grotesk', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hl-red, #E8000D);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.proof-stat-kicker::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--hl-red, #E8000D);
}
.proof-stat-value {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
  margin-top: auto;
}
.proof-stat-value sup {
  font-size: 0.45em;
  vertical-align: super;
  font-weight: 700;
  margin-left: 4px;
  color: var(--hl-red, #E8000D);
}
.proof-stat-unit {
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-left: 4px;
  color: rgba(255,255,255,0.75);
}
.proof-stat-label {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 0.95vw, 0.98rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  max-width: 32ch;
}

@media (max-width: 1024px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-stat:nth-child(2) { border-left: 1.5px solid rgba(255,255,255,0.12); }
  .proof-stat:nth-child(3),
  .proof-stat:nth-child(4) {
    border-top: 1.5px solid rgba(255,255,255,0.12);
  }
  .proof-stat:nth-child(3) { border-left: none; }
}
@media (max-width: 640px) {
  .proof-head { grid-template-columns: 1fr; }
  .proof-head .sp-section-title { grid-column: 1; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-stat + .proof-stat {
    border-left: none;
    border-top: 1.5px solid rgba(255,255,255,0.12);
  }
}

/* ════════════════════════════════════════════════════════════
   [05] THE PLEDGE — manifesto typography
   (service-growth-marketing.html)
   ════════════════════════════════════════════════════════════ */
.section-pledge {
  background: var(--white);
  color: var(--black);
  padding: clamp(100px, 12vw, 180px) 0;
  border-top: var(--border);
  border-bottom: var(--border);
}
.pledge-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.5vw, 56px);
}
.pledge-inner .numbered-label { align-self: flex-start; }

.pledge-statement {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-transform: none;
  color: var(--black);
  margin: 0;
  max-width: 22ch;
}
.pledge-statement s {
  color: rgba(10,10,10,0.35);
  text-decoration: line-through;
  text-decoration-color: var(--hl-red, #E8000D);
  text-decoration-thickness: 4px;
}
.pledge-statement .hl-red { color: var(--hl-red, #E8000D); }

.pledge-signoff {
  align-self: flex-end;
  font-family: 'DM Mono', 'Space Grotesk', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  margin: 0;
}

@media (max-width: 640px) {
  .pledge-statement { max-width: none; font-size: clamp(1.8rem, 8vw, 3rem); }
  .pledge-signoff { align-self: flex-start; }
}

/* ════════════════════════════════════════════════════════════
   AUTOMATIONS — [06] Leak → Closed  (compare rows)
   ════════════════════════════════════════════════════════════ */
.auto-compare {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-top: 1.5px solid var(--black);
}
.auto-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1.5px solid var(--black);
}
.auto-compare-cell {
  padding: clamp(28px, 3.5vw, 56px) clamp(20px, 2.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auto-compare-cell--leak {
  border-right: 1px solid rgba(10, 10, 10, 0.12);
  background: var(--white);
}
.auto-compare-cell--fix {
  background: var(--bg-off, #f4f4f4);
}
.auto-compare-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.auto-compare-cell--leak .auto-compare-label { color: var(--red); }
.auto-compare-cell--fix  .auto-compare-label { color: var(--black); }
.auto-compare-cell p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.55;
  color: var(--black);
  margin: 0;
  max-width: 50ch;
}
.auto-compare-cell--fix p strong {
  color: var(--red);
  font-weight: 700;
}
@media (max-width: 760px) {
  .auto-compare-row { grid-template-columns: 1fr; }
  .auto-compare-cell--leak {
    border-right: 0;
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  }
}

/* ════════════════════════════════════════════════════════════
   AUTOMATIONS — [08] FAQ  (native <details>/<summary>)
   ════════════════════════════════════════════════════════════ */
.auto-faq {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  border-top: 1.5px solid var(--black);
}
.auto-faq-item {
  border-bottom: 1.5px solid var(--black);
}
.auto-faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 36px) 8px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--black);
  transition: color 0.3s var(--ease-out);
}
.auto-faq-item > summary::-webkit-details-marker { display: none; }
.auto-faq-item > summary:hover { color: var(--red); }
.auto-faq-item[open] > summary { color: var(--red); }

.auto-faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.4s var(--ease-out);
}
.auto-faq-icon::before,
.auto-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.4s var(--ease-out);
}
.auto-faq-icon::before { transform: translate(-50%, -50%); }
.auto-faq-icon::after  { transform: translate(-50%, -50%) rotate(90deg); }
.auto-faq-item[open] > summary .auto-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.auto-faq-body {
  padding: 0 8px clamp(24px, 2.6vw, 40px);
  max-width: 68ch;
}
.auto-faq-body p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.65;
  color: rgba(10, 10, 10, 0.7);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   AUTOMATIONS — UNIQUE SECTION LAYOUTS (brand-aligned, typographic)
   [02] .auto-scope · [03] .auto-statement + .auto-marquee
   [05] .auto-tiles · [06] .auto-sectors · [07] .auto-manifest
   ═══════════════════════════════════════════════════════════════ */

/* ── [02] SCOPE — typographic statement + numbered list ────── */
.auto-scope {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.auto-scope-lede {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 22ch;
  margin: clamp(24px, 3vw, 40px) 0 clamp(40px, 4.4vw, 64px);
}
.auto-scope-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--black);
}
.auto-scope-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: clamp(24px, 2.8vw, 36px) clamp(20px, 2.2vw, 32px);
  border-bottom: 1px solid var(--black);
  align-items: baseline;
}
.auto-scope-item:nth-child(odd) { border-right: 1px solid var(--black); }
.auto-scope-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}
.auto-scope-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 8px;
}
.auto-scope-item p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.02vw, 1.02rem);
  line-height: 1.6;
  color: rgba(10,10,10,0.72);
  max-width: 44ch;
}
@media (max-width: 760px) {
  .auto-scope-list { grid-template-columns: 1fr; }
  .auto-scope-item:nth-child(odd) { border-right: none; }
  .auto-scope-item { grid-template-columns: 54px 1fr; gap: 14px; }
}

/* ── [03] STATEMENT + MARQUEE ─────────────────────────────── */
.auto-statement-lede {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-top: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(36px, 4.4vw, 64px);
  box-sizing: content-box;
}
.auto-statement-foot {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 40px);
  margin-top: clamp(36px, 4vw, 56px);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--black);
  box-sizing: content-box;
}
.auto-statement-foot span {
  padding: 14px 0;
  border-top: 2px solid var(--black);
  min-width: 22ch;
}

.auto-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  padding: clamp(18px, 2.2vw, 28px) 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.auto-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
}
.auto-marquee-group {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  padding-right: clamp(20px, 2.4vw, 36px);
  flex-shrink: 0;
}
.auto-chip {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--black);
  white-space: nowrap;
  padding: 8px 20px 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.auto-chip em {
  font-style: normal;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65em;
  padding: 4px 10px;
  border: 1px solid currentColor;
  line-height: 1;
}

/* ── [06] SECTORS — brutalist typographic 2×2 ──────────────── */
.auto-sectors {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}
@media (max-width: 1440px) {
  .auto-sectors { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.auto-sector {
  position: relative;
  padding: clamp(28px, 3.2vw, 48px) clamp(24px, 2.6vw, 40px) clamp(36px, 4vw, 56px);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--white);
  transition: background 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
  min-height: clamp(220px, 26vw, 320px);
}
.auto-sector::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width 0.45s var(--ease-sig);
  z-index: 0;
}
.auto-sector > * { position: relative; z-index: 1; }
.auto-sector:hover { color: var(--white); }
.auto-sector:hover::before { width: 100%; }
.auto-sector:hover .auto-sector-tag,
.auto-sector:hover .auto-sector-name,
.auto-sector:hover .auto-sector-body { color: var(--white); }

.auto-sector-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auto-sector-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  transition: color 0.3s var(--ease-out);
}
.auto-sector-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--black);
  transition: color 0.3s var(--ease-out);
}
.auto-sector-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.02vw, 1.05rem);
  line-height: 1.55;
  color: rgba(10,10,10,0.72);
  max-width: 42ch;
  margin-top: auto;
  transition: color 0.3s var(--ease-out);
}
@media (max-width: 760px) {
  .auto-sectors { grid-template-columns: 1fr; }
}

/* ── [07] MANIFEST — typographic quote + numbered principles ── */
.auto-manifest {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: clamp(48px, 5vw, 80px);
}
.auto-manifest-quote {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 18ch;
  margin: 0;
}
.auto-manifest-strike {
  position: relative;
  display: inline-block;
  color: rgba(10,10,10,0.32);
}
.auto-manifest-strike::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 52%;
  height: 4px;
  background: var(--red);
  transform: rotate(-2deg);
}
.auto-manifest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--black);
}
.auto-manifest-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: clamp(24px, 2.8vw, 36px) clamp(20px, 2.2vw, 32px);
  border-bottom: 1px solid var(--black);
  align-items: baseline;
}
.auto-manifest-item:nth-child(odd) { border-right: 1px solid var(--black); }
.auto-manifest-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}
.auto-manifest-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 10px;
}
.auto-manifest-item p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1vw, 1.02rem);
  line-height: 1.6;
  color: rgba(10,10,10,0.72);
  max-width: 44ch;
}
@media (max-width: 760px) {
  .auto-manifest-list { grid-template-columns: 1fr; }
  .auto-manifest-item:nth-child(odd) { border-right: none; }
  .auto-manifest-item { grid-template-columns: 48px 1fr; gap: 12px; }
}

/* ── SECTION HEAD BALANCE (smaller on automations sub-sections) ── */
.auto-scope ~ *, .auto-statement, .auto-sectors, .auto-manifest,
.auto-compare, .auto-tiles, .auto-faq {
  /* placeholder anchor — actual rules handled per-section above */
}

/* ════════════════════════════════════════════════════════════
   DEMAND GENERATION — PHASE GRID
   (service-demand-generation.html)
   ════════════════════════════════════════════════════════════ */
.section-dg-phases {
  background: var(--white);
  padding: clamp(80px, 9vw, 140px) 0;
  border-top: var(--border);
}
.dg-phases-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.dg-phase {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(360px, 36vw, 480px);
  border: 0.75px solid rgba(10,10,10,0.12);
  overflow: hidden;
  cursor: default;
}
.dg-phase:hover .dg-phase-img img {
  transform: scale(1.04);
}
.dg-phase-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black);
}
.dg-phase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s cubic-bezier(0.6, 0.14, 0, 1);
}
.dg-phase-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 2.5vw, 36px) clamp(20px, 2vw, 32px);
}
.dg-phase-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--red);
  line-height: 1;
}
.dg-phase-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--black);
}
.dg-phase-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: auto;
  max-width: 48ch;
}
/* Alternate card — dark theme */
.dg-phase--dark {
  background: var(--black);
}
.dg-phase--dark .dg-phase-title { color: var(--white); }
.dg-phase--dark .dg-phase-desc { color: rgba(255,255,255,0.6); }

@media (max-width: 860px) {
  .dg-phases-grid { grid-template-columns: 1fr; }
  .dg-phase { min-height: auto; }
}
@media (max-width: 640px) {
  .dg-phase-img { aspect-ratio: 3 / 2; }
}


/* ── [auto] SECTION BANNER — B/W image between head and content ── */
.auto-banner {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto clamp(48px, 5vw, 72px);
  position: relative;
  border: 1px solid var(--black);
  overflow: hidden;
  background: #0a0a0a;
}
@media (max-width: 1440px) {
  .auto-banner { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.auto-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  will-change: transform;
}
.auto-banner figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(14px, 1.4vw, 20px) clamp(18px, 1.8vw, 24px);
  background: var(--white);
  border-top: 1px solid var(--black);
  border-right: 1px solid var(--black);
  max-width: 88%;
}
.auto-banner-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.auto-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1.2;
}
@media (max-width: 760px) {
  .auto-banner img { aspect-ratio: 4 / 3; }
}

/* ── AUTOMATIONS — TIGHTER SECTION SPACING ────────────────── */
/* The page is image-heavy now; reduce section padding so content breathes without feeling stretched */
main.sp-page > .sp-section {
  padding: clamp(56px, 5.6vw, 96px) 0;
}
main.sp-page .sp-section-head {
  margin-bottom: clamp(40px, 4.2vw, 64px);
}

/* ════════════════════════════════════════════════════════════
   [02] THE THESIS — editorial bridge between Pillars and Campaign
   ════════════════════════════════════════════════════════════ */
.sp-section--thesis {
  background: var(--white);
  color: var(--black);
  border-top: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
}
.sp-thesis-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.6vw, 26px);
}
.sp-thesis-lead {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0;
}
.sp-thesis-body > p:not(.sp-thesis-lead):not(.sp-thesis-attr) {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.78);
  margin: 0;
}
.sp-thesis-attr {
  font-family: 'DM Mono', 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 8px 0 0 0;
}

/* ═══════════════════════════════════════════════════════════════
   INDUSTRY PAGES — brand-rigid typographic patterns
   E-commerce: .ind-funnel
   B2B SaaS:   .ind-lifecycle
   Health:     .ind-spine
   Index:      .ind-periodic + .ind-other
   Shared:     .ind-proof
   ═══════════════════════════════════════════════════════════════ */

/* ── [E-COMMERCE] CONVERSION FUNNEL — actual visual taper ─────── */
.ind-funnel {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--black);
  --funnel-taper: clamp(24px, 3.4vw, 56px);
}
@media (max-width: 1440px) {
  .ind-funnel { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.ind-funnel-stage {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(180px, 240px);
  gap: clamp(16px, 2.2vw, 32px);
  padding-top: clamp(28px, 3.2vw, 44px);
  padding-bottom: clamp(28px, 3.2vw, 44px);
  padding-right: clamp(20px, 2.2vw, 32px);
  padding-left: clamp(20px, 2.2vw, 32px);
  border-bottom: 1px solid var(--black);
  align-items: center;
  isolation: isolate;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
/* Each row tapers inward — the layout physically funnels */
.ind-funnel-stage:nth-child(2) { padding-left: calc(clamp(20px, 2.2vw, 32px) + var(--funnel-taper)); }
.ind-funnel-stage:nth-child(3) { padding-left: calc(clamp(20px, 2.2vw, 32px) + var(--funnel-taper) * 2); }
.ind-funnel-stage:nth-child(4) { padding-left: calc(clamp(20px, 2.2vw, 32px) + var(--funnel-taper) * 3); }
.ind-funnel-stage:nth-child(5) { padding-left: calc(clamp(20px, 2.2vw, 32px) + var(--funnel-taper) * 4); }
@media (max-width: 900px) {
  .ind-funnel { --funnel-taper: clamp(8px, 1.4vw, 14px); }
}
@media (max-width: 600px) {
  .ind-funnel { --funnel-taper: 0px; }
  .ind-funnel-stage,
  .ind-funnel-stage:nth-child(n) { padding-left: clamp(16px, 4vw, 24px); }
}
.ind-funnel-stage::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: var(--red);
  width: calc(var(--pct, 100) * 1%);
  opacity: 0.08;
  transition: opacity 0.4s var(--ease-out);
  z-index: 0;
}
.ind-funnel-stage:hover::before { opacity: 0.14; }
.ind-funnel-stage > * { position: relative; z-index: 1; }
.ind-funnel-step {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  color: var(--red);
  letter-spacing: 0.04em;
}
.ind-funnel-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 6px;
}
.ind-funnel-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1vw, 1.02rem);
  line-height: 1.55;
  color: rgba(10,10,10,0.72);
  max-width: 46ch;
  margin: 0;
}
.ind-funnel-metric {
  text-align: right;
  font-family: var(--font-display);
  min-width: 0;
}
.ind-funnel-metric strong {
  display: block;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.ind-funnel-metric em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.62);
  line-height: 1.3;
}
.ind-funnel-metric--final strong { color: var(--red); }
@media (max-width: 900px) {
  .ind-funnel-stage {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
  }
  .ind-funnel-metric {
    grid-column: 1 / -1;
    text-align: left;
  }
}

/* ── [B2B SAAS] LIFECYCLE — staircase ascent ──────────────── */
.ind-lifecycle {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--black);
  position: relative;
  --stair: clamp(18px, 2.4vw, 40px);
}
@media (max-width: 1440px) {
  .ind-lifecycle { margin-left: var(--gutter); margin-right: var(--gutter); }
}
/* Left vertical connector line — the staircase rail */
.ind-lifecycle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--black) 0%, var(--black) 60%, rgba(10,10,10,0.15) 100%);
  z-index: 0;
}
.ind-lifecycle-stage {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: clamp(16px, 2.2vw, 32px);
  padding: clamp(26px, 3vw, 40px) clamp(20px, 2.2vw, 32px);
  border-bottom: 1px solid var(--black);
  align-items: baseline;
  position: relative;
  transition: background 0.35s var(--ease-out);
  background: var(--white);
  z-index: 1;
}
/* Staircase: each stage steps visually to the right */
.ind-lifecycle-stage:nth-child(1) { margin-left: 0; }
.ind-lifecycle-stage:nth-child(2) { margin-left: var(--stair); }
.ind-lifecycle-stage:nth-child(3) { margin-left: calc(var(--stair) * 2); }
.ind-lifecycle-stage:nth-child(4) { margin-left: calc(var(--stair) * 3); }
.ind-lifecycle-stage:nth-child(5) { margin-left: calc(var(--stair) * 4); }
/* Step connector tick at the left edge of each stage */
.ind-lifecycle-stage::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--black);
  transform: translate(-100%, -50%);
}
@media (max-width: 700px) {
  .ind-lifecycle { --stair: 8px; }
}
.ind-lifecycle-stage:hover { background: var(--black); color: var(--white); }
.ind-lifecycle-stage:hover .ind-lifecycle-step,
.ind-lifecycle-stage:hover .ind-lifecycle-pct { color: var(--red); }
.ind-lifecycle-stage:hover .ind-lifecycle-name,
.ind-lifecycle-stage:hover .ind-lifecycle-body p { color: var(--white); }
.ind-lifecycle-step {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--red);
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease-out);
}
.ind-lifecycle-body { min-width: 0; }
.ind-lifecycle-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 8px;
  transition: color 0.3s var(--ease-out);
}
.ind-lifecycle-body p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1vw, 1.02rem);
  line-height: 1.55;
  color: rgba(10,10,10,0.72);
  max-width: 52ch;
  transition: color 0.3s var(--ease-out);
}
.ind-lifecycle-pct {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  justify-self: end;
  padding-top: 10px;
  transition: color 0.3s var(--ease-out);
}
@media (max-width: 900px) {
  .ind-lifecycle-stage { grid-template-columns: 56px 1fr; }
  .ind-lifecycle-pct { grid-column: 2; justify-self: start; padding-top: 4px; }
}

/* ── [HEALTH] COMPLIANCE SPINE — vertical dotted spine ────── */
.ind-spine {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
@media (max-width: 1440px) {
  .ind-spine { margin-left: var(--gutter); margin-right: var(--gutter); }
}
/* Static track (faint) — the "before" of the scan */
.ind-spine::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: rgba(10,10,10,0.14);
  z-index: 0;
}
/* Live scanner line — draws from top on scroll (JS sets --draw) */
.ind-spine::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 32px;
  width: 2px;
  height: var(--draw, 0%);
  background: var(--black);
  z-index: 1;
  max-height: calc(100% - 64px);
  pointer-events: none;
}
.ind-spine-node {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  padding: clamp(24px, 2.8vw, 36px) 0 clamp(24px, 2.8vw, 36px) 0;
  border-bottom: 1px solid rgba(10,10,10,0.12);
  align-items: start;
}
.ind-spine-node:last-child { border-bottom: none; }
.ind-spine-dot {
  width: 22px;
  height: 22px;
  background: var(--white);
  border: 2px solid var(--black);
  margin-left: 12px;
  z-index: 1;
  position: relative;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.ind-spine-node:hover .ind-spine-dot { background: var(--red); border-color: var(--red); }
.ind-spine-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.ind-spine-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 8px;
}
.ind-spine-body p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.02vw, 1.05rem);
  line-height: 1.55;
  color: rgba(10,10,10,0.72);
  max-width: 58ch;
}
@media (max-width: 600px) {
  .ind-spine::before { left: 10px; }
  .ind-spine-node { grid-template-columns: 32px 1fr; gap: 16px; }
  .ind-spine-dot { width: 16px; height: 16px; margin-left: 2px; }
}

/* ── [INDEX] PERIODIC TABLE OF VERTICALS ──────────────────── */
.ind-periodic {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}
@media (max-width: 1440px) {
  .ind-periodic { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.ind-periodic-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 20px);
  padding: clamp(28px, 2.8vw, 40px) clamp(22px, 2.2vw, 32px);
  min-height: clamp(240px, 24vw, 320px);
  background: var(--white);
  color: var(--black);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  text-decoration: none;
  overflow: hidden;
  transition: color 0.4s var(--ease-out);
}
.ind-periodic-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-sig);
  z-index: 0;
}
.ind-periodic-cell > * { position: relative; z-index: 1; transition: color 0.3s var(--ease-out); }
.ind-periodic-cell:hover { color: var(--white); }
.ind-periodic-cell:hover::before { transform: scaleY(1); }
.ind-periodic-cell:hover .ind-periodic-sym { color: var(--red); }
.ind-periodic-cell:hover .ind-periodic-num,
.ind-periodic-cell:hover .ind-periodic-cta { color: var(--red); }

.ind-periodic-sym {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
  margin-bottom: 8px;
}
.ind-periodic-num {
  position: absolute;
  top: clamp(18px, 1.8vw, 24px);
  right: clamp(20px, 2vw, 28px);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(10,10,10,0.55);
  z-index: 2;
}
.ind-periodic-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: inherit;
}
.ind-periodic-body {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 0.95vw, 1rem);
  line-height: 1.5;
  color: rgba(10,10,10,0.7);
  margin-top: auto;
  transition: color 0.3s var(--ease-out);
}
.ind-periodic-cell:hover .ind-periodic-body { color: rgba(255,255,255,0.75); }
.ind-periodic-cta {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 12px;
}
@media (max-width: 1100px) { .ind-periodic { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ind-periodic { grid-template-columns: 1fr; } }

/* ── [INDEX] OTHER / BRIEF US TWO-UP ───────────────────────── */
.ind-other {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--black);
}
@media (max-width: 1440px) {
  .ind-other { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.ind-other-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(36px, 3.6vw, 56px) clamp(28px, 2.8vw, 40px);
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  overflow: hidden;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
  min-height: clamp(240px, 22vw, 300px);
}
.ind-other-card + .ind-other-card { border-left: 1px solid var(--black); }
.ind-other-card--dark { background: var(--black); color: var(--white); }
.ind-other-card:hover { background: var(--red); color: var(--white); }
.ind-other-card:hover .ind-other-tag,
.ind-other-card:hover .ind-other-cta { color: var(--white); }
.ind-other-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  transition: color 0.3s var(--ease-out);
}
.ind-other-card--dark .ind-other-tag { color: var(--red); }
.ind-other-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: inherit;
}
.ind-other-card p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.55;
  color: inherit;
  opacity: 0.8;
  max-width: 42ch;
}
.ind-other-cta {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  transition: color 0.3s var(--ease-out);
}
.ind-other-card--dark .ind-other-cta { color: var(--red); }
@media (max-width: 720px) {
  .ind-other { grid-template-columns: 1fr; }
  .ind-other-card + .ind-other-card { border-left: none; border-top: 1px solid var(--black); }
}

/* ── [SHARED] PROOF — big stat strip on dark ──────────────── */
.ind-proof {
  color: var(--white);
}
.ind-proof .numbered-label { color: rgba(255,255,255,0.55); }
.ind-proof-grid {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto auto;
  gap: clamp(24px, 3vw, 56px);
  align-items: end;
  padding-top: clamp(20px, 2vw, 32px);
}
@media (max-width: 1440px) {
  .ind-proof-grid { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.ind-proof-label {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ind-proof-client {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0;
}
.ind-proof-stat {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.ind-proof-stat-val {
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.ind-proof-arrow {
  color: var(--red);
  padding: 0 0.15em;
}
.ind-proof-stat-unit {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.ind-proof-delta {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  padding-left: clamp(20px, 2.4vw, 40px);
  border-left: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-display);
}
.ind-proof-delta-val {
  font-size: clamp(2.6rem, 4.4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--red);
}
.ind-proof-delta-unit {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.ind-proof-note {
  grid-column: 1 / -1;
  grid-row: 2;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 68ch;
  margin: 0;
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 900px) {
  .ind-proof-grid { grid-template-columns: 1fr; }
  .ind-proof-label, .ind-proof-stat, .ind-proof-delta, .ind-proof-note { grid-column: 1; }
  .ind-proof-stat, .ind-proof-delta { align-items: flex-start; border-left: none; padding-left: 0; }
}

/* ════════════════════════════════════════════════════════════
   [GOV WALL] — Brutalist Constitutional Articles, no animation.
   The most government move possible: typographic restraint.
   ════════════════════════════════════════════════════════════ */
.section-gov-wall {
  background: var(--white);
  color: var(--black);
  border-top: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
}
.gw-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.gw-head {
  padding-bottom: clamp(40px, 4.6vw, 80px);
  border-bottom: 1.5px solid var(--black);
  margin-bottom: clamp(40px, 4.6vw, 80px);
}
.gw-articles { display: flex; flex-direction: column; }
.gw-article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 3vw, 56px);
  padding: clamp(40px, 4.4vw, 72px) 0;
  border-bottom: 1.5px solid var(--black);
  align-items: start;
}
.gw-article:last-child { border-bottom: 0; }
.gw-num {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(72px, 9vw, 140px);
  line-height: 0.85;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--red);
  margin: 0;
}
.gw-num-label {
  display: block;
  font-family: 'DM Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.6);
  margin-bottom: 8px;
  font-weight: 500;
}
.gw-body { display: flex; flex-direction: column; gap: 18px; }
.gw-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--black);
  margin: 0;
}
.gw-text {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.78);
  margin: 0;
  max-width: 62ch;
}
.gw-cite {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 8px;
}
@media (max-width: 860px) {
  .gw-article { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .gw-num { font-size: 64px; }
}

/* ════════════════════════════════════════════════════════════
   [FIN LEDGER] — Reconciliation ticker + audit-trail grid.
   Bloomberg-terminal aesthetic in editorial form.
   ════════════════════════════════════════════════════════════ */
.section-fin-ledger {
  background: #0a0a0a;
  color: var(--white);
  border-top: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
  overflow: hidden;
}
.fl-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.fl-head { color: var(--white); margin-bottom: clamp(32px, 4vw, 56px); }
.fl-head .numbered-label { color: rgba(255, 255, 255, 0.55); }
.fl-head .sp-section-title { color: var(--white); }
.fl-ticker {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: #050505;
  overflow: hidden;
  position: relative;
  padding: 14px 0;
  margin: 0 calc(var(--gutter) * -1);
}
.fl-ticker-track {
  display: inline-flex;
  gap: 56px;
  white-space: nowrap;
  animation: flTicker 70s linear infinite;
  font-family: 'DM Mono', 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}
.fl-ticker-item { display: inline-flex; gap: 12px; align-items: baseline; }
.fl-ticker-time { color: rgba(255, 255, 255, 0.4); }
.fl-ticker-inst { color: var(--white); font-weight: 500; }
.fl-ticker-qty { color: rgba(255, 255, 255, 0.78); }
.fl-ticker-status { color: #4ade80; }
.fl-ticker-status--break { color: var(--red); font-weight: 600; }
.fl-ticker-lat { color: rgba(255, 255, 255, 0.42); }
@keyframes flTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.fl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.fl-cell {
  padding: clamp(20px, 2.4vw, 32px);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fl-cell:nth-child(4n) { border-right: 0; }
.fl-cell-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.fl-cell-value {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
}
.fl-cell-value--red { color: var(--red); }
.fl-cell-value--ok { color: #4ade80; }
.fl-cell-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}
.fl-foot {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}
.fl-foot strong { color: var(--white); font-weight: 500; }
@media (max-width: 860px) {
  .fl-grid { grid-template-columns: 1fr 1fr; }
  .fl-cell:nth-child(4n) { border-right: 1px solid rgba(255,255,255,0.18); }
  .fl-cell:nth-child(2n) { border-right: 0; }
  .fl-foot { flex-direction: column; gap: 8px; }
}

/* ════════════════════════════════════════════════════════════
   [AI EVAL] — Terminal-styled CI eval output, animated reveal.
   Anti-hype = code, not slick UI.
   ════════════════════════════════════════════════════════════ */
.section-ai-eval {
  background: var(--white);
  color: var(--black);
  border-top: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
}
.aev-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.aev-head { margin-bottom: clamp(32px, 4vw, 56px); }
.aev-terminal {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--black);
  border-radius: 4px;
  font-family: 'DM Mono', 'JetBrains Mono', 'Menlo', monospace;
  font-size: clamp(12px, 0.92vw, 14px);
  line-height: 1.65;
  position: relative;
  overflow: hidden;
}
.aev-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #161616;
  border-bottom: 1px solid #2a2a2a;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.42);
}
.aev-dot { width: 11px; height: 11px; border-radius: 50%; background: #2a2a2a; }
.aev-dot--red { background: var(--red); }
.aev-bar-title { margin-left: 12px; }
.aev-body {
  padding: clamp(20px, 2.4vw, 32px);
  min-height: 460px;
}
.aev-line {
  display: block;
  white-space: pre-wrap;
  opacity: 0;
  animation: aevAppear 0.001s linear forwards;
  animation-delay: var(--d, 0s);
}
.aev-line--prompt { color: rgba(255, 255, 255, 0.4); }
.aev-line--ok::before { content: 'PASS '; color: #4ade80; font-weight: 600; }
.aev-line--fail::before { content: 'FAIL '; color: var(--red); font-weight: 600; }
.aev-line--info { color: rgba(255, 255, 255, 0.55); padding-left: 0; }
.aev-line--head {
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.aev-line--summary {
  color: var(--white);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #2a2a2a;
  font-weight: 500;
}
.aev-line .aev-score { color: #4ade80; }
.aev-line .aev-score--low { color: var(--red); }
.aev-line .aev-num { color: rgba(255, 255, 255, 0.55); }
.aev-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--white);
  vertical-align: -2px;
  margin-left: 4px;
  animation: aevBlink 1s step-end infinite;
}
@keyframes aevAppear { to { opacity: 1; } }
@keyframes aevBlink { 50% { opacity: 0; } }
.aev-foot {
  margin-top: clamp(20px, 2.2vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(10, 10, 10, 0.5);
  text-transform: uppercase;
}
.aev-foot strong { color: var(--black); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   [RETAIL SURFACES OVERRIDE] — reuse the .srf-* system from CRM,
   but tighten the head spacing for the industry page rhythm.
   ════════════════════════════════════════════════════════════ */
main.sp-page .section-surfaces { padding: clamp(56px, 5.6vw, 96px) 0; }

/* ════════════════════════════════════════════════════════════
   [INTERMISSION FB] — Full-bleed image break with floating caption.
   Visual punctuation between dense sections.
   ════════════════════════════════════════════════════════════ */
.section-fb {
  position: relative;
  width: 100%;
  height: clamp(420px, 56vh, 640px);
  overflow: hidden;
  background: #0a0a0a;
  border-top: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
}
.section-fb img,
.section-fb-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.section-fb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  z-index: 1;
}
.section-fb-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(28px, 3vw, 48px) var(--gutter);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  z-index: 2;
}
.section-fb-line {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(20px, 2.0vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
  max-width: 56ch;
  margin: 0;
  color: var(--white);
}
.section-fb-line .accent { color: var(--red); }
.section-fb-meta {
  font-family: 'DM Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .section-fb-caption { grid-template-columns: 1fr; }
  .section-fb-meta { white-space: normal; }
}

/* ─── Split variant — image on one side, caption on its own typographic
   stage. Use when the image has too much internal noise (dense screen data,
   busy detail) for an overlaid caption to read cleanly. */
.section-fb--split {
  height: clamp(340px, 44vh, 480px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #0a0a0a;
  margin-top: clamp(48px, 6vw, 96px);
}
.section-fb--split::after { content: none; }
.section-fb--split .section-fb-image {
  position: relative;
  overflow: hidden;
  /* No border between image and stage — both sit on #0a0a0a so a black
     hairline would be invisible. The image's own edge reads as the seam;
     the red 56px mark on the stage carries the accent. */
}
.section-fb--split .section-fb-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.section-fb--split .section-fb-stage {
  position: relative;
  background: #0a0a0a;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px) clamp(32px, 4.6vw, 80px);
  gap: clamp(20px, 2.4vw, 32px);
}
.section-fb--split .section-fb-stage::before {
  content: '';
  position: absolute;
  top: clamp(40px, 5vw, 80px);
  left: clamp(32px, 4.6vw, 80px);
  width: 56px;
  height: 1.5px;
  background: var(--red);
}
.section-fb--split .section-fb-kicker {
  font-family: 'DM Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 24px;
}
.section-fb--split .section-fb-line {
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.22;
  max-width: none;
  color: var(--white);
}
.section-fb--split .section-fb-attr {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 860px) {
  .section-fb--split {
    grid-template-columns: 1fr;
    height: auto;
  }
  .section-fb--split .section-fb-image {
    height: 320px;
    border-right: 0;
    border-bottom: 1.5px solid var(--black);
  }
  .section-fb--split .section-fb-stage { padding: 40px 24px; }
}

/* ════════════════════════════════════════════════════════════
   [INTERMISSION FN] — Field-notes ribbon. Three short observations
   from real engagements. Editorial pause between sections.
   ════════════════════════════════════════════════════════════ */
.section-fn {
  background: var(--white);
  color: var(--black);
  border-top: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
  padding: clamp(56px, 5.6vw, 96px) 0;
}
.fn-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.fn-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid var(--black);
  margin-bottom: clamp(28px, 3vw, 40px);
}
.fn-title { flex: 1 1 320px; max-width: 56ch; }
.fn-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.6);
}
.fn-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0;
}
.fn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--black);
}
.fn-item {
  padding: clamp(22px, 2.4vw, 32px);
  border-right: 1.5px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
}
.fn-item:last-child { border-right: 0; }
.fn-item-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.fn-item-text {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(14px, 0.98vw, 16px);
  line-height: 1.55;
  color: var(--black);
  margin: 0;
}
.fn-item-attr {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(10, 10, 10, 0.18);
}
@media (max-width: 860px) {
  .fn-grid { grid-template-columns: 1fr; }
  .fn-item { border-right: 0; border-bottom: 1.5px solid var(--black); }
  .fn-item:last-child { border-bottom: 0; }
}

/* ════════════════════════════════════════════════════════════
   [INTERMISSION ST] — Single dramatic typographic statement on
   dark background. Used where dignity > image (Government, AI).
   ════════════════════════════════════════════════════════════ */
.section-st {
  background: #0a0a0a;
  color: var(--white);
  padding: clamp(80px, 9vw, 160px) 0;
  border-top: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
}
.st-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.st-kicker {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: clamp(24px, 2.6vw, 36px);
}
.st-line {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--white);
  margin: 0 auto;
  /* 28ch wraps the 70-85ch statements into ~3-4 natural lines instead of
     6-7 tight ones at 22ch. Still tight enough to feel like a manifesto. */
  max-width: 28ch;
}
.st-line .accent { color: var(--red); }
.st-line s { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.st-attr {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: clamp(28px, 3vw, 44px);
}


/* ═══════════════════════════════════════════════════════════════
   INDUSTRY — SEPARATORS & PAGE-SPECIFIC PROCESS PATTERNS
   .ind-breaker   →  typographic / image-mixed section separator
   .ind-equation  →  SaaS horizontal growth-equation process
   .ind-protocol  →  Health clinical SOP checklist process
   ═══════════════════════════════════════════════════════════════ */

/* ── [SEPARATOR] typographic breaker — dark or light ──────── */
.ind-breaker {
  padding: clamp(72px, 8vw, 120px) 0;
  border: none;
}
.ind-breaker--dark  { background: var(--black); color: var(--white); }
.ind-breaker--light { background: var(--white); color: var(--black); border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.ind-breaker-inner {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 1440px) {
  .ind-breaker-inner { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.ind-breaker-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
}
.ind-breaker-line {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 22ch;
}
.ind-breaker-line .hl-red { color: var(--red); }
.ind-breaker-foot {
  display: flex;
  gap: clamp(28px, 3vw, 56px);
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: clamp(20px, 2.4vw, 32px);
  border-top: 1px solid currentColor;
  opacity: 0.72;
}
.ind-breaker-foot span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Mixed image+text variant — text-dominant, image as smaller accent ─── */
.ind-breaker--mixed .ind-breaker-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}
.ind-breaker--mixed .ind-breaker-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 28px);
  order: 1;
}
.ind-breaker--mixed .ind-breaker-visual {
  flex: 0 1 clamp(240px, 32vw, 380px);
  min-width: 0;
  height: clamp(260px, 28vw, 360px);
  border: 1px solid currentColor;
  overflow: hidden;
  margin: 0;
  order: 2;
  align-self: center;
}
.ind-breaker--mixed .ind-breaker-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
/* Foot divider uses only the text column width, not full row */
.ind-breaker--mixed .ind-breaker-foot {
  max-width: 40ch;
}
@media (max-width: 760px) {
  .ind-breaker--mixed .ind-breaker-visual {
    flex: 1 1 100%;
    height: clamp(220px, 60vw, 320px);
    order: 2;
  }
}

/* ── [SAAS] GROWTH EQUATION — horizontal formula ─────────── */
.ind-equation {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  padding: clamp(28px, 3.4vw, 48px) 0;
}
@media (max-width: 1440px) {
  .ind-equation { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.ind-equation-row {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr) auto
    minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 1.8vw, 28px);
}
.ind-equation-term {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.ind-equation-sym {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--black);
  word-break: break-word;
}
.ind-equation-name {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.ind-equation-body {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.5;
  color: rgba(10,10,10,0.7);
  max-width: 22ch;
  margin-top: 6px;
}
.ind-equation-op {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--red);
  align-self: center;
  justify-self: center;
  padding-top: 0;
}
@media (max-width: 900px) {
  .ind-equation-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ind-equation-op {
    justify-self: start;
    padding-top: 0;
    padding-bottom: 4px;
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  }
}

/* ── [HEALTH] CARE PROTOCOL — SOP checklist ────────────────── */
.ind-protocol {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--black);
}
@media (max-width: 1440px) {
  .ind-protocol { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.ind-protocol-row {
  display: grid;
  grid-template-columns: 56px 1fr 140px;
  gap: clamp(20px, 2.4vw, 36px);
  padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.6vw, 36px);
  align-items: center;
  border-bottom: 1px solid var(--black);
  background: var(--white);
  transition: background 0.3s var(--ease-out);
  position: relative;
}
.ind-protocol-row:last-child { border-bottom: none; }
.ind-protocol-row:hover { background: #fafaf8; }
.ind-protocol-check {
  width: 32px;
  height: 32px;
  border: 2px solid var(--black);
  position: relative;
  flex-shrink: 0;
  background: var(--white);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.ind-protocol-check::before,
.ind-protocol-check::after {
  content: "";
  position: absolute;
  background: var(--red);
  transform-origin: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out) 0.1s, transform 0.35s var(--ease-out);
}
/* Red check mark — two rotated bars forming ✓ */
.ind-protocol-check::before {
  width: 12px; height: 2px;
  top: 62%; left: 16%;
  transform: rotate(45deg);
}
.ind-protocol-check::after {
  width: 20px; height: 2px;
  top: 48%; left: 32%;
  transform: rotate(-50deg);
}
.ind-protocol-row.is-checked .ind-protocol-check,
.ind-protocol-row:hover .ind-protocol-check { border-color: var(--red); }
.ind-protocol-row.is-checked .ind-protocol-check::before,
.ind-protocol-row.is-checked .ind-protocol-check::after,
.ind-protocol-row:hover .ind-protocol-check::before,
.ind-protocol-row:hover .ind-protocol-check::after { opacity: 1; }

.ind-protocol-body { min-width: 0; }
.ind-protocol-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.ind-protocol-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 6px;
}
.ind-protocol-desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 0.98vw, 1rem);
  line-height: 1.55;
  color: rgba(10,10,10,0.72);
  max-width: 56ch;
  margin: 0;
}
.ind-protocol-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(10,10,10,0.55);
  justify-self: end;
  text-align: right;
  line-height: 1.4;
}
.ind-protocol-code strong { color: var(--black); font-weight: 600; display: block; }
@media (max-width: 760px) {
  .ind-protocol-row { grid-template-columns: 36px 1fr; }
  .ind-protocol-code { grid-column: 2; justify-self: start; text-align: left; margin-top: 4px; }
}

/* ═══════════════════════════════════════════════════════════════
   INDUSTRY — E-COM CLOSER SECTIONS
   [06] .ind-deliverables  —  bordered 3×2 grid of concrete handovers
   [07] .ind-anti          —  strikethrough → arrow → alternative rows
   ═══════════════════════════════════════════════════════════════ */

/* ── [06] DELIVERABLES — 3×2 bordered grid ─────────────────── */
.ind-deliverables {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}
@media (max-width: 1440px) {
  .ind-deliverables { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.ind-deliverable {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.4vw, 34px);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--white);
  min-height: clamp(200px, 22vw, 280px);
  transition: background 0.3s var(--ease-out);
}
.ind-deliverable::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 0;
  transition: transform 0.3s var(--ease-out);
}
.ind-deliverable:hover::before { transform: scale(1.6); }
.ind-deliverable:hover { background: #fafaf8; }
.ind-deliverable-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.ind-deliverable-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--black);
  margin-top: 6px;
  max-width: 22ch;
}
.ind-deliverable-body {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.55;
  color: rgba(10,10,10,0.72);
  margin-top: auto;
  padding-top: 16px;
  max-width: 42ch;
}
@media (max-width: 900px) { .ind-deliverables { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ind-deliverables { grid-template-columns: 1fr; } }

/* ── [07] ANTI-MANIFESTO — strikethrough → arrow → alternative ── */
.ind-anti {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--black);
}
@media (max-width: 1440px) {
  .ind-anti { margin-left: var(--gutter); margin-right: var(--gutter); }
}
.ind-anti-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(40px, 5vw, 72px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 36px);
  padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.2vw, 32px);
  align-items: center;
  border-bottom: 1px solid var(--black);
  transition: background 0.3s var(--ease-out);
}
.ind-anti-row:hover { background: #fafaf8; }
.ind-anti-no {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  font-weight: 500;
  color: rgba(10,10,10,0.58);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ind-anti-arrow {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  color: var(--red);
  justify-self: center;
  line-height: 1;
  transition: transform 0.35s var(--ease-out);
}
.ind-anti-row:hover .ind-anti-arrow { transform: translateX(6px); }
.ind-anti-yes {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
@media (max-width: 700px) {
  .ind-anti-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: clamp(20px, 4vw, 28px);
  }
  .ind-anti-arrow {
    justify-self: start;
    transform: rotate(90deg);
    padding: 2px 0;
  }
  .ind-anti-row:hover .ind-anti-arrow { transform: rotate(90deg) translateX(6px); }
}

/* ═══════════════════════════════════════════════════════════════════
   LEGAL PAGES — Shared scaffolding
   Used by imprint / legal-notices / privacy / cookies.
   Each page has its OWN layout DNA (below). This block covers the
   bits they genuinely share: page wrapper, hero band, footnote strip.
   ═══════════════════════════════════════════════════════════════════ */
.legal-page {
  background: var(--white);
  color: var(--black);
  padding-top: calc(var(--nav-h) + clamp(32px, 4vw, 56px));
  padding-bottom: clamp(72px, 8vw, 128px);
}
.legal-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Hero band — shared shell, per-page glyph differs */
.legal-hero {
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px);
  margin-bottom: clamp(48px, 6vw, 88px);
}
.legal-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: end;
}
.legal-hero-meta {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.55;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: clamp(16px, 2vw, 28px);
}
.legal-hero-meta span { display: block; }
.legal-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.4vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0;
}
.legal-hero-title .accent { color: var(--red); }
.legal-hero-title .ghost { color: transparent; -webkit-text-stroke: 1.5px var(--black); }
.legal-hero-sub {
  margin: clamp(20px, 2.4vw, 32px) 0 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--black);
  opacity: 0.82;
  max-width: 62ch;
}
.legal-hero-stamp {
  justify-self: end;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  text-align: right;
  line-height: 1.5;
  border: 1px solid var(--black);
  padding: clamp(16px, 1.8vw, 24px) clamp(20px, 2.2vw, 28px);
  min-width: 240px;
  background: var(--white);
}
.legal-hero-stamp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.2);
}
.legal-hero-stamp-row:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-hero-stamp-row:first-child { padding-top: 0; }
.legal-hero-stamp-row strong {
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.05em;
}
@media (max-width: 820px) {
  .legal-hero-inner {
    grid-template-columns: 1fr;
  }
  .legal-hero-stamp {
    justify-self: stretch;
    width: 100%;
  }
}

/* Shared anchor-target offset — legal pages use intra-page links heavily */
.legal-anchor {
  scroll-margin-top: calc(var(--nav-h) + 32px);
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT DNA 1 — IMPRINT DATASHEET (.legal-imprint)
   Treats the page as an official identification sheet.
   Two-column `dt/dd` pattern, field-code on the left.
   ═══════════════════════════════════════════════════════════════════ */
.legal-imprint-grid {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}
.legal-imprint-row {
  display: contents;
}
.legal-imprint-key,
.legal-imprint-val {
  padding: clamp(18px, 2.2vw, 28px) clamp(16px, 2vw, 28px);
  border-bottom: 1px solid var(--black);
  font-family: var(--font-body);
  line-height: 1.55;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  color: var(--black);
}
.legal-imprint-key {
  border-right: 1px solid var(--black);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-imprint-key .k-code {
  color: var(--red);
  font-weight: 600;
  font-size: 0.72rem;
}
.legal-imprint-val strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}
.legal-imprint-val a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s var(--ease-out);
}
.legal-imprint-val a:hover { opacity: 0.7; }
.legal-imprint-val em {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  color: var(--black);
  opacity: 0.6;
  display: inline-block;
  margin-top: 4px;
}
.legal-imprint-row:last-child .legal-imprint-key,
.legal-imprint-row:last-child .legal-imprint-val {
  border-bottom: 0;
}
@media (max-width: 760px) {
  .legal-imprint-grid {
    grid-template-columns: 1fr;
  }
  .legal-imprint-key {
    border-right: 0;
    border-bottom: 0;
    padding-top: 14px;
    padding-bottom: 10px;
  }
  .legal-imprint-val {
    padding-top: 4px;
  }
}

/* Section band separating grouped rows ("Company", "Registration", "Professional") */
.legal-imprint-band {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  background: var(--white);
}
.legal-imprint-band + .legal-imprint-grid { border-top: 0; }
.legal-imprint-band-num {
  padding: clamp(20px, 2.4vw, 32px);
  border-right: 1px solid var(--black);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
  line-height: 1;
}
.legal-imprint-band-title {
  padding: clamp(20px, 2.4vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-imprint-band-title span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--black);
  opacity: 0.6;
}
@media (max-width: 760px) {
  .legal-imprint-band {
    grid-template-columns: 80px 1fr;
  }
}

/* Disclaimer strip at the bottom — typographic, not a card */
.legal-imprint-strip {
  margin-top: clamp(48px, 5vw, 72px);
  padding: clamp(32px, 4vw, 56px) 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--black);
  text-transform: uppercase;
  max-width: 72ch;
}
.legal-imprint-strip .accent { color: var(--red); }
.legal-imprint-strip p + p { margin-top: clamp(18px, 2vw, 28px); }

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT DNA 2 — LEGAL NOTICES CLAUSES-SCROLL (.legal-clauses)
   Sticky left-hand TOC, long-form numbered clauses on the right.
   Each clause reads like a contract paragraph, not a card.
   ═══════════════════════════════════════════════════════════════════ */
.legal-clauses-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.legal-clauses-toc {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  padding: 24px 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  align-self: start;
}
.legal-clauses-toc-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.55;
  margin-bottom: 16px;
  display: block;
}
.legal-clauses-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.legal-clauses-toc-link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px dashed rgba(0,0,0,0.15);
  transition: color 0.2s var(--ease-out), padding 0.2s var(--ease-out);
}
.legal-clauses-toc-link:last-child { border-bottom: 0; }
.legal-clauses-toc-link .toc-num {
  color: var(--red);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.legal-clauses-toc-link:hover { color: var(--red); padding-left: 6px; }
.legal-clauses-toc-link.is-active {
  color: var(--red);
}
.legal-clauses-toc-link.is-active .toc-num {
  color: var(--black);
}
.legal-clauses-body { display: flex; flex-direction: column; }

/* Each clause */
.legal-clause {
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--black);
}
.legal-clause:first-child { border-top: 0; padding-top: 0; }
.legal-clause-head {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: baseline;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.legal-clause-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--red);
  line-height: 1.2;
}
.legal-clause-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--black);
  text-transform: uppercase;
  margin: 0;
}
.legal-clause-body {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.65;
  color: var(--black);
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.legal-clause-body p { margin: 0; }
.legal-clause-body strong { font-weight: 700; color: var(--black); }
.legal-clause-body em {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85em;
  color: var(--red);
  letter-spacing: 0.04em;
}
.legal-clause-body a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.legal-clause-body a:hover { opacity: 0.7; }
.legal-clause-body ul,
.legal-clause-body ol {
  margin: 0;
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.legal-clause-body li { padding-left: 0.2em; }
.legal-clause-sub {
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
}
.legal-clause-sub strong { color: var(--red); font-weight: 600; }
@media (max-width: 860px) {
  .legal-clauses-wrap { grid-template-columns: 1fr; }
  .legal-clauses-toc { position: static; margin-bottom: 24px; }
  .legal-clause-head { grid-template-columns: 1fr; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT DNA 3 — PRIVACY DATA LEDGER (.legal-ledger)
   Each processing activity is a ledger entry with fixed rows:
   PURPOSE · CATEGORIES · LEGAL BASIS · RETENTION · RECIPIENTS · TRANSFERS
   Reads like an Art. 30 record of processing activities.
   ═══════════════════════════════════════════════════════════════════ */
.legal-ledger-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(32px, 4vw, 56px) 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.legal-ledger-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0;
}
.legal-ledger-intro p {
  margin: 0 0 0.8em;
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1vw, 1.05rem);
  line-height: 1.6;
  color: var(--black);
}
.legal-ledger-intro p:last-child { margin-bottom: 0; }

/* Controller card (who the data controller is) */
.legal-ledger-controller {
  border: 2px solid var(--black);
  padding: clamp(24px, 3vw, 36px);
  margin-bottom: clamp(48px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  background: var(--white);
}
.legal-ledger-controller-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-ledger-controller-tag strong {
  color: var(--black);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-top: 4px;
}
.legal-ledger-controller-body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--black);
}
.legal-ledger-controller-body a { color: var(--red); text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 760px) {
  .legal-ledger-controller { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
}

/* Section header inside ledger */
.legal-ledger-section {
  margin-top: clamp(48px, 5vw, 72px);
  padding-bottom: clamp(20px, 2.4vw, 28px);
  border-bottom: 2px solid var(--black);
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: baseline;
}
.legal-ledger-section-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.12em;
}
.legal-ledger-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--black);
  margin: 0;
}
.legal-ledger-section-title .accent { color: var(--red); }

/* The ledger entries themselves */
.legal-ledger-entry {
  border-bottom: 1px solid var(--black);
  padding: clamp(24px, 3vw, 40px) 0;
}
.legal-ledger-entry:last-child { border-bottom: 0; }
.legal-ledger-entry-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2vw, 24px);
  align-items: baseline;
  margin-bottom: clamp(20px, 2.4vw, 28px);
}
.legal-ledger-entry-id {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.1em;
  padding-top: 2px;
}
.legal-ledger-entry-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
}
.legal-ledger-entry-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--black);
  color: var(--black);
  white-space: nowrap;
}
.legal-ledger-entry-status.is-required {
  background: var(--black);
  color: var(--white);
}
.legal-ledger-entry-status.is-consent { color: var(--red); border-color: var(--red); }

/* Ledger fields — fixed 6 rows, label-left value-right */
.legal-ledger-fields {
  display: grid;
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
  border-top: 1px solid rgba(0,0,0,0.18);
}
.legal-ledger-field {
  display: contents;
}
.legal-ledger-field-key,
.legal-ledger-field-val {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-size: 0.96rem;
  line-height: 1.55;
}
.legal-ledger-field:last-child .legal-ledger-field-key,
.legal-ledger-field:last-child .legal-ledger-field-val {
  border-bottom: 0;
}
.legal-ledger-field-key {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.6;
  padding-right: 16px;
  padding-top: 16px;
}
.legal-ledger-field-val {
  font-family: var(--font-body);
  color: var(--black);
}
.legal-ledger-field-val strong { font-weight: 700; color: var(--black); }
.legal-ledger-field-val em {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  color: var(--red);
  letter-spacing: 0.03em;
}
.legal-ledger-field-val ul {
  margin: 0;
  padding-left: 1.2em;
  list-style: none;
}
.legal-ledger-field-val ul li::before {
  content: "→ ";
  color: var(--red);
  margin-left: -1.2em;
  padding-right: 0.4em;
}
@media (max-width: 720px) {
  .legal-ledger-fields { grid-template-columns: 1fr; }
  .legal-ledger-field-key { padding-bottom: 2px; opacity: 0.7; }
  .legal-ledger-field-val { padding-top: 2px; }
  .legal-ledger-entry-head { grid-template-columns: 1fr; gap: 8px; }
}

/* Rights block — handled separately with its own typographic treatment */
.legal-ledger-rights {
  margin-top: clamp(56px, 6vw, 88px);
  background: var(--black);
  color: var(--white);
  padding: clamp(36px, 4.5vw, 64px) clamp(24px, 3vw, 48px);
}
.legal-ledger-rights-head {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: baseline;
  margin-bottom: clamp(28px, 3.2vw, 40px);
  padding-bottom: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.legal-ledger-rights-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.12em;
}
.legal-ledger-rights-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--white);
  margin: 0;
}
.legal-ledger-rights-title .accent { color: var(--red); }
.legal-ledger-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
}
.legal-ledger-right {
  border: 1px solid rgba(255,255,255,0.2);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s var(--ease-out);
}
.legal-ledger-right:hover { border-color: var(--red); }
.legal-ledger-right-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.legal-ledger-right-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}
.legal-ledger-right-body {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0;
}

/* Complaint / authority block */
.legal-ledger-authority {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: clamp(24px, 2.8vw, 32px);
  border-top: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}
.legal-ledger-authority strong { color: var(--white); font-weight: 600; }
.legal-ledger-authority a { color: var(--red); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT DNA 4 — COOKIE REGISTRY (.legal-cookies)
   Categories with status badge + per-category table of cookies.
   Tabular-first, data-dense.
   ═══════════════════════════════════════════════════════════════════ */
.legal-cookies-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(40px, 4.5vw, 64px);
  border-bottom: 1px solid var(--black);
  margin-bottom: clamp(40px, 4.5vw, 64px);
}
.legal-cookies-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 0.5em;
}
.legal-cookies-intro p {
  margin: 0 0 0.8em;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--black);
}
.legal-cookies-intro p:last-child { margin-bottom: 0; }

/* Summary strip — 4 counters of what's on the page */
.legal-cookies-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--black);
  margin-bottom: clamp(48px, 5vw, 72px);
}
.legal-cookies-summary-cell {
  padding: clamp(20px, 2.4vw, 28px);
  border-right: 1px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-cookies-summary-cell:last-child { border-right: 0; }
.legal-cookies-summary-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.6;
}
.legal-cookies-summary-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--black);
}
.legal-cookies-summary-value .accent { color: var(--red); }
.legal-cookies-summary-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--black);
  opacity: 0.6;
}
@media (max-width: 720px) {
  .legal-cookies-summary { grid-template-columns: repeat(2, 1fr); }
  .legal-cookies-summary-cell:nth-child(2) { border-right: 0; }
  .legal-cookies-summary-cell:nth-child(-n+2) { border-bottom: 1px solid var(--black); }
}

/* Category blocks */
.legal-cookies-cat {
  margin-bottom: clamp(48px, 5vw, 72px);
}
.legal-cookies-cat-head {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: clamp(16px, 2vw, 28px);
  align-items: baseline;
  padding-bottom: clamp(20px, 2.4vw, 28px);
  border-bottom: 2px solid var(--black);
  margin-bottom: clamp(20px, 2.4vw, 28px);
}
.legal-cookies-cat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.12em;
}
.legal-cookies-cat-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--black);
  margin: 0;
  line-height: 1.1;
}
.legal-cookies-cat-title small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--black);
  opacity: 0.7;
  margin-top: 6px;
}
.legal-cookies-cat-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--black);
  white-space: nowrap;
}
.legal-cookies-cat-badge.is-required {
  background: var(--black);
  color: var(--white);
}
.legal-cookies-cat-badge.is-consent {
  color: var(--red);
  border-color: var(--red);
}
.legal-cookies-cat-body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--black);
  max-width: 68ch;
  margin-bottom: clamp(24px, 3vw, 32px);
}

/* Cookie table */
.legal-cookies-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.legal-cookies-table thead th {
  text-align: left;
  padding: 12px clamp(10px, 1vw, 16px);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--black);
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.15);
}
.legal-cookies-table thead th:last-child { border-right: 0; }
.legal-cookies-table tbody td {
  padding: 14px clamp(10px, 1vw, 16px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  border-right: 1px solid rgba(0,0,0,0.1);
  vertical-align: top;
  color: var(--black);
  line-height: 1.45;
}
.legal-cookies-table tbody tr:last-child td { border-bottom: 0; }
.legal-cookies-table tbody td:last-child { border-right: 0; }
.legal-cookies-table tbody td.cookie-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.legal-cookies-table tbody td.cookie-life {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.legal-cookies-table tbody td.cookie-type {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .legal-cookies-table,
  .legal-cookies-table thead,
  .legal-cookies-table tbody,
  .legal-cookies-table tr,
  .legal-cookies-table th,
  .legal-cookies-table td {
    display: block;
  }
  .legal-cookies-table thead { display: none; }
  .legal-cookies-table tbody tr {
    border-bottom: 2px solid var(--black);
    padding: 12px 0;
  }
  .legal-cookies-table tbody tr:last-child { border-bottom: 0; }
  .legal-cookies-table tbody td {
    border-right: 0;
    border-bottom: 1px dashed rgba(0,0,0,0.12);
    padding: 8px 0;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
  }
  .legal-cookies-table tbody td::before {
    content: attr(data-label);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.55;
    padding-top: 2px;
  }
}

/* Consent control block */
.legal-cookies-control {
  margin-top: clamp(48px, 5vw, 72px);
  background: var(--black);
  color: var(--white);
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.legal-cookies-control-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 0.5em;
}
.legal-cookies-control-title .accent { color: var(--red); }
.legal-cookies-control-body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.legal-cookies-control-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-cookies-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.legal-cookies-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.legal-cookies-btn.is-primary {
  background: var(--red);
  border-color: var(--red);
}
.legal-cookies-btn.is-primary:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
@media (max-width: 720px) {
  .legal-cookies-control { grid-template-columns: 1fr; }
}

/* Shared closing strip (all legal pages reuse it for the "update date") */
.legal-updated {
  margin-top: clamp(56px, 6vw, 88px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid var(--black);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}
.legal-updated strong { color: var(--red); font-weight: 600; }
.legal-updated-meta { text-align: right; opacity: 0.7; }
@media (max-width: 600px) {
  .legal-updated { grid-template-columns: 1fr; }
  .legal-updated-meta { text-align: left; }
}

/* ═══════════════════════════════════ [04] THE FRAME — MINIMAL STATEMENT ═════ */
.section-statement {
  background: var(--white);
  color: var(--black);
  padding: clamp(100px, 14vw, 180px) var(--gutter);
  border-top: 1px solid rgba(0,0,0,0.08);
  position: relative;
}
.statement-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 52px);
}
.statement-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;
  color: var(--black);
}
.statement-line s {
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
  color: rgba(0,0,0,0.4);
}
.statement-foot {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.48);
  margin: 0;
}
.section-statement .numbered-label { color: rgba(0,0,0,0.45); }

/* ═══════════════════════════════ HOMEPAGE — WHITE FOOTER OVERRIDES ═════ */
.page-home .site-footer {
  background: var(--white);
  color: var(--black);
}
.page-home .footer-arched-crown { background-color: var(--white); }
.page-home .footer-brand-arch-dome { fill: var(--white); }
.page-home .footer-brand-arch-icon { filter: invert(1); }
.page-home .footer-brand-arch-text {
  fill: var(--black);
  stroke: var(--black);
}

.page-home .footer-underarch { background-color: var(--white); }
.page-home .footer-underarch .curved-loop-svg { fill: var(--black); }
.page-home .footer-underarch svg image { filter: invert(1); }

.page-home .footer-brand-col-logo { filter: none; }
.page-home .footer-brand-tagline { color: rgba(0, 0, 0, 0.55); }

.page-home .footer-col-title { color: rgba(0, 0, 0, 0.42); }
.page-home .footer-col-link { color: rgba(0, 0, 0, 0.82); }

.page-home .footer-newsletter-form { border-bottom-color: rgba(0, 0, 0, 0.2); }
.page-home .footer-newsletter-form input { color: var(--black); }
.page-home .footer-newsletter-form input::placeholder { color: rgba(0, 0, 0, 0.3); }
.page-home .footer-newsletter-form button { color: var(--black); }

.page-home .footer-bottom { border-top-color: rgba(0, 0, 0, 0.1); }
.page-home .footer-legal-link { color: rgba(0, 0, 0, 0.45); }
.page-home .footer-legal-sep { color: rgba(0, 0, 0, 0.25); }
.page-home .footer-copy { color: rgba(0, 0, 0, 0.45); }

/* Homepage white-footer hover states — all clickable elements to red */
.page-home .footer-col-link:hover,
.page-home .footer-legal-link:hover,
.page-home .footer-newsletter-form button:hover,
.page-home .footer-touch-link:hover,
.page-home .footer-social-text:hover,
.page-home .footer-col a:hover { color: var(--red); }
.page-home .footer-brand-col-link:hover .footer-brand-tagline { color: var(--red); }
.page-home .footer-brand-col-link:hover .footer-brand-col-logo {
  filter: brightness(0) saturate(100%) invert(11%) sepia(99%) saturate(6800%) hue-rotate(4deg) brightness(99%) contrast(117%);
}
.page-home .footer-arched-link:hover .footer-brand-arch-text { fill: var(--red); stroke: var(--red); }
.page-home .footer-underarch-link:hover .curved-loop-svg { fill: var(--red); }

/* Awards grid — slight grey filter (homepage only) */
.section-ilg--awards .ilg-item-image img {
  filter: grayscale(0.35) contrast(1.02);
}

/* ═══════════════════════════════════ [05] THE BRIEF — REBUILT ═════ */
.section-brief {
  background: var(--red);
  color: var(--black);
  border-top: 1px solid rgba(0,0,0,0.15);
  position: relative;
}
.brief-red {
  padding: clamp(120px, 15vw, 200px) var(--gutter) clamp(80px, 10vw, 140px);
}
.brief-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
}
.brief-eyebrow {
  font-family: var(--font-mono, 'IBM Plex Mono', 'DM Mono', ui-monospace, monospace);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.65);
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(0,0,0,0.35);
  width: fit-content;
}
.brief-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
  color: var(--black);
}
.brief-line-slash {
  display: inline-block;
  position: relative;
  color: rgba(0,0,0,0.88);
}
.brief-line-slash::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 50%;
  height: 8%;
  background: var(--black);
  transform: translateY(-50%) rotate(-4deg);
  pointer-events: none;
}
.brief-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  max-width: 780px;
}
.brief-meta-divider {
  display: block;
  width: clamp(60px, 8vw, 120px);
  height: 2px;
  background: var(--black);
  margin-top: 0.55em;
}
.brief-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.005em;
  color: rgba(0,0,0,0.82);
  margin: 0;
  max-width: 48ch;
}

/* The CTA slab: a massive black band the user can't miss */
.brief-slab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, auto);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding: clamp(44px, 6vw, 80px) var(--gutter);
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.brief-slab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}
.brief-slab > * { position: relative; z-index: 1; }
.brief-slab:hover::before { transform: translateX(0); }
.brief-slab:hover { color: var(--white); }

.brief-slab-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.brief-slab-mono {
  font-family: var(--font-mono, 'IBM Plex Mono', 'DM Mono', ui-monospace, monospace);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  white-space: nowrap;
}
.brief-slab-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(80px, 10vw, 140px);
  color: currentColor;
  transition: transform 0.35s cubic-bezier(0.5, 0, 0.15, 1);
}
.brief-slab-arrow svg {
  width: 100%;
  height: auto;
  display: block;
}
.brief-slab:hover .brief-slab-arrow {
  transform: translateX(12px);
}

@media (max-width: 860px) {
  .brief-slab {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .brief-slab-mono { display: none; }
  .brief-slab-arrow { width: 80px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   MOBILE FIXES — phones ≤640px
   Scoped so desktop renders unchanged.
   Added 2026-04-21 during mobile audit.
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* --- Root: prevent horizontal scroll universally --- */
  html, body { overflow-x: hidden; max-width: 100vw; }
  main, section, footer, header { max-width: 100vw; overflow-x: clip; }

  /* --- HERO MEDIA: tighten videos + captions --- */
  .section-hero-media { height: auto; min-height: 100vh; }
  .hero-media-sticky { height: 100vh; }
  .hero-video { object-fit: cover; }
  .slide-title { font-size: clamp(2rem, 11vw, 3.6rem) !important; line-height: 0.95; letter-spacing: -0.015em; padding: 0 20px; }
  .slide-description { font-size: 0.9rem !important; padding: 0 20px; }
  .slideshow-counter { font-size: 0.7rem; bottom: 20px; right: 20px; }
  .sound-toggle { bottom: 20px; right: 20px; width: 44px; height: 44px; }

  /* --- BRAND MARQUEE (INHO/USE): keep within viewport --- */
  .brand-logo-block { overflow: hidden; }
  .brand-marquee { width: 100vw; overflow: hidden; }
  .brand-marquee-track { min-width: 100vw; }
  .brand-ticker-item { font-size: clamp(3.6rem, 18vw, 6.8rem) !important; letter-spacing: -0.02em !important; }

  /* --- SERVICES SECTION: stack label + heading in one column --- */
  .section-services { padding: 64px 0 !important; }
  .section-services .container { padding-left: 20px !important; padding-right: 20px !important; }
  .svc-header { grid-template-columns: 1fr !important; padding-left: 0 !important; gap: 12px !important; margin-bottom: 32px !important; align-items: start !important; }
  .svc-eyebrow { padding-top: 0; }
  .svc-title { font-size: clamp(2.4rem, 12vw, 4rem) !important; line-height: 0.95; letter-spacing: -0.025em; max-width: 100%; }
  .svc-subtitle { max-width: 100%; text-align: left !important; font-size: 0.8rem !important; align-self: start !important; }
  .svc-row-header { flex-direction: row; align-items: center; padding: 24px 0 !important; gap: 12px; }
  .svc-row-title { font-size: clamp(1.6rem, 8vw, 2.6rem) !important; line-height: 1; letter-spacing: -0.01em; }
  .svc-row-right { padding-right: 0 !important; gap: 10px !important; }
  .svc-row-tag { display: none; } /* too cramped, hide on phone */
  .svc-row-toggle { font-size: 1.3rem !important; min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; }
  .svc-row-panel, .svc-panel-list { padding-left: 0 !important; }
  .svc-panel-item { font-size: 0.95rem !important; padding: 6px 0 !important; }

  /* --- FRAMES (HOMEPAGE GRID): 2 cols + smaller type --- */
  .section-frames { padding: 64px 20px 40px !important; }
  .frames-header { grid-template-columns: 1fr !important; padding: 0 0 32px !important; gap: 16px !important; }
  .frames-title { font-size: clamp(2rem, 10vw, 3.4rem) !important; line-height: 0.95; letter-spacing: -0.02em; text-align: left; }
  .frames-sub { font-size: 0.95rem !important; text-align: left; max-width: 100%; }
  .frames-grid { grid-template-columns: repeat(2, 1fr) !important; grid-template-rows: auto !important; grid-auto-rows: auto !important; gap: 2px !important; padding: 0 !important; height: auto !important; max-height: none !important; }
  .frame-cell { height: auto !important; aspect-ratio: 3/4 !important; }
  .frame-cell--accent { aspect-ratio: 3/4 !important; }
  .frame-brand { font-size: 0.9rem !important; letter-spacing: 0.04em; }
  .frame-tag { font-size: 0.58rem !important; }
  .frame-caption { font-size: 0.75rem !important; line-height: 1.35; }
  .frame-stat { font-size: 1.2rem !important; line-height: 1.1; }
  .frame-stat span { font-size: 2rem !important; display: block; }

  /* --- SCROLLPANELS: hide the JS-pinned horizontal scrollpanel on mobile,
       show images vertically instead. JS continues running but invisible. --- */
  #impactPanels, .section-scrollpanels {
    height: auto !important;
    min-height: 0 !important;
    padding: 56px 20px !important;
    background: var(--black);
    color: var(--white);
  }
  #impactPanels .scrollpanels, .section-scrollpanels .scrollpanels {
    position: static !important;
    height: auto !important;
    width: 100% !important;
    overflow: visible !important;
  }
  #impactPanels .scrollpanels__track, .section-scrollpanels .scrollpanels__track {
    position: static !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    gap: 28px;
    padding: 0 !important;
    will-change: auto !important;
  }
  .scrollpanel {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    flex: 0 0 auto !important;
  }
  .scrollpanel__first, .scrollpanel__second {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
    height: auto !important;
    position: static !important;
  }
  .scrollpanel__col {
    position: static !important;
    width: 100% !important;
    height: auto !important;
  }
  .scrollpanel__col--image {
    aspect-ratio: 4/3;
    overflow: hidden;
  }
  .scrollpanel__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    position: static !important;
  }
  .scrollpanel__col--text { padding: 14px 4px !important; }
  .scrollpanel__quote {
    font-size: clamp(1.6rem, 8vw, 2.8rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* --- INFINITE AWARDS GRID (.section-ilg): force static vertical stack on mobile --- */
  .section-ilg { padding: 64px 20px 40px !important; }
  .ilg-head { padding: 0 !important; max-width: 100%; }
  .sp-section-title { font-size: clamp(2.2rem, 10vw, 3.6rem) !important; line-height: 0.95; letter-spacing: -0.02em; text-align: left; }
  .ilg-lead { font-size: 0.95rem !important; max-width: 100%; }
  .ilg-stage { height: auto !important; cursor: default !important; touch-action: auto !important; overflow: visible !important; }
  .ilg-grid { position: static !important; transform: none !important; display: grid !important; grid-template-columns: 1fr !important; gap: 16px !important; margin: 24px 0; height: auto !important; width: 100% !important; }
  .ilg-item { position: static !important; transform: none !important; width: 100% !important; height: auto !important; flex-direction: column; pointer-events: auto !important; }
  .ilg-item { display: none !important; }
  .ilg-item:nth-child(4n+1) { display: flex !important; flex-direction: column; }
  .ilg-item-wrap { width: 100%; transform: none !important; }
  .ilg-item-image { width: 100% !important; aspect-ratio: 4/3; height: auto !important; }
  .ilg-item-image img { transform: none !important; }
  .ilg-caption { opacity: 1 !important; transform: none !important; display: none; } /* hide duplicated captions on mobile */
  .ilg-hint { display: none !important; }

  /* --- [04] Statement section --- */
  .section-statement { padding: 72px 24px !important; }
  .statement-line { font-size: clamp(2rem, 10vw, 3.4rem) !important; line-height: 1; letter-spacing: -0.02em; }

  /* --- [05] Brief section --- */
  .brief-red { padding: 80px 24px 48px !important; }
  .brief-line { font-size: clamp(2.6rem, 14vw, 5rem) !important; line-height: 0.92; }
  .brief-line br { display: inline; }  /* let it wrap naturally at phone widths */
  .brief-line { word-spacing: 0.02em; }
  .brief-meta { grid-template-columns: 1fr !important; gap: 12px !important; }
  .brief-meta-divider { margin-top: 0 !important; }
  .brief-sub { font-size: 1rem !important; }
  .brief-slab { padding: 40px 24px !important; grid-template-columns: 1fr !important; gap: 16px !important; }
  .brief-slab-label { font-size: clamp(2.4rem, 13vw, 4rem) !important; }
  .brief-slab-arrow { width: 72px !important; align-self: flex-start; }

  /* --- Case studies carousel (hidden on home but applies elsewhere) --- */
  .section-cases[style*="display:none"] { display: none !important; }

  /* --- Footer --- */
  .site-footer { padding: 32px 20px !important; }
  .footer-top { grid-template-columns: 1fr !important; gap: 28px !important; padding-bottom: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 20px; }
  .footer-legal-links { flex-wrap: wrap; gap: 10px; }
  .footer-brand-col-logo { width: 120px !important; }
  .footer-brand-tagline { font-size: 0.7rem; }

  /* --- Footer arched crown — kept smaller so it doesn't dominate --- */
  .footer-brand-arch { min-height: 0 !important; }
  .footer-underarch { padding: 14px 0 18px !important; }
  .footer-underarch .curved-loop-svg { font-size: clamp(2rem, 9vw, 3rem) !important; }

  /* --- Generic typography containment --- */
  h1, h2, h3, .sp-section-title { max-width: 100%; word-break: normal; overflow-wrap: break-word; }

  /* --- CTA pills always touchable --- */
  .pill-btn { height: 48px; font-size: 0.85rem; padding: 0 24px; }
}

/* Contact page mobile: stack form + sidebar */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr !important; gap: 48px !important; }
}
@media (max-width: 640px) {
  .sp-section { padding: 48px 20px !important; }
  .sp-section-title { font-size: clamp(2.2rem, 11vw, 3.6rem) !important; line-height: 0.95; }
  .sp-section-head { padding: 0 !important; margin-bottom: 24px !important; }
}
