/* ============================================
   ANTPACK PROPOSALS — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  /* Brand colors */
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --bg-soft: #1a1a1a;
  --fg: #f5f1ea;
  --fg-dim: #a8a39a;
  --fg-mute: #6b6760;
  --line: rgba(245, 241, 234, 0.08);
  --line-strong: rgba(245, 241, 234, 0.18);

  /* Accent - hot pink/magenta (signature) */
  --pink: #EF0C75;
  --pink-deep: color-mix(in oklab, #EF0C75 78%, #000);
  --pink-soft: color-mix(in oklab, #EF0C75 68%, #fff);
  --pink-glow: color-mix(in oklab, #EF0C75 40%, transparent);

  /* Secondary accents */
  --yellow: oklch(0.92 0.18 100);
  --acid: oklch(0.88 0.22 130);

  /* Type — brand: Anton (display) + Figtree (everything else) */
  --font-display: 'Anton', system-ui, sans-serif;
  --font-sans: 'Figtree', system-ui, sans-serif;
  --font-serif: 'Figtree', system-ui, sans-serif;
  --font-mono: 'Figtree', system-ui, sans-serif;

  /* Spacing */
  --gut: clamp(1rem, 3vw, 2rem);
  --col: minmax(0, 1fr);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: var(--bg); }

/* Display type — Anton, always uppercase */
.display {
  font-family: var(--font-display);
  font-weight: 400; /* Anton only ships in 400 */
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.serif {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Eyebrow / tag */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
}

/* "LO.BUENO" corner mark */
.lo-bueno {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  text-transform: uppercase;
}

/* Layout */
.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.wrap-narrow {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

section {
  position: relative;
  padding: clamp(4rem, 10vh, 8rem) 0;
}

section[data-section] {
  border-top: 1px solid var(--line);
  min-height: 100vh;
}

/* Section header */
.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 5vh, 4rem);
}

@media (min-width: 800px) {
  .sec-head {
    grid-template-columns: 1fr 2fr;
    align-items: end;
  }
}

.sec-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  text-transform: uppercase;
}

/* Big headlines */
h1, h2, h3 { margin: 0; font-weight: 700; }

h1.display { font-size: clamp(3rem, 9vw, 8rem); }
h2.display { font-size: clamp(2.25rem, 6vw, 5.5rem); }
h3.display { font-size: clamp(1.5rem, 3vw, 2.5rem); }

.lead {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.3;
  color: var(--fg);
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 36ch;
}
.lead em {
  color: var(--pink);
  font-weight: 500;
}

p { margin: 0 0 1rem; color: var(--fg-dim); max-width: 64ch; }
p.large { font-size: 1.125rem; line-height: 1.55; color: var(--fg); }

/* Pink accent text */
.pink { color: var(--pink); }
.serif-pink { color: var(--pink); font-family: var(--font-serif); font-style: italic; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.btn:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}
.btn-pink {
  background: var(--pink);
  color: var(--bg);
  border-color: var(--pink);
}
.btn-pink:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* Cards / panels */
.card {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* Stat */
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.stat-num.pink { color: var(--pink); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.stat-sub {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--fg-dim);
  max-width: 28ch;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="up"] { transform: translateY(60px); }
[data-reveal="left"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); opacity: 0; }
[data-reveal].in,
[data-reveal="up"].in,
[data-reveal="left"].in,
[data-reveal="scale"].in {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
[data-reveal="lines"] > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* Left side-nav drawer + hamburger */
.sidenav-toggle {
  position: fixed;
  top: clamp(0.85rem, 2vw, 1.25rem);
  left: clamp(0.85rem, 2vw, 1.25rem);
  z-index: 1200;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.sidenav-toggle:hover { border-color: var(--pink); }
.sidenav-bars {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}
.sidenav-bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--fg);
  transition: transform 0.32s var(--ease-out), opacity 0.2s var(--ease-out);
}
.sidenav-bars i:nth-child(1) { top: 0; }
.sidenav-bars i:nth-child(2) { top: 6px; }
.sidenav-bars i:nth-child(3) { top: 12px; }
.sidenav-toggle.is-open .sidenav-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sidenav-toggle.is-open .sidenav-bars i:nth-child(2) { opacity: 0; }
.sidenav-toggle.is-open .sidenav-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.sidenav-scrim {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(6, 6, 6, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.sidenav-scrim.show { opacity: 1; pointer-events: auto; }

.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1150;
  width: min(330px, 86vw);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: clamp(4.5rem, 9vh, 5.5rem) clamp(1.4rem, 3vw, 2rem) clamp(1.5rem, 4vh, 2.2rem);
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-right: 1px solid var(--line-strong);
  transform: translateX(-102%);
  transition: transform 0.42s var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sidenav.open { transform: translateX(0); }

.sidenav-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 4vh, 2.6rem);
}
.sidenav-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidenav-group-title {
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding: 0 0 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.sidenav-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.sidenav-link {
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 0.6rem 0.7rem 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 0.95rem;
  text-align: left;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.sidenav-link:hover { color: var(--fg); background: rgba(255, 255, 255, 0.03); border-left-color: var(--pink); }
.sidenav-link.active {
  color: var(--fg);
  border-left-color: var(--pink);
  background: rgba(255, 255, 255, 0.04);
}
.sidenav-link .num { font-size: 0.66rem; color: var(--fg-mute); flex: none; }
.sidenav-link.active .num { color: var(--pink); }
.sidenav-link .lbl { flex: 1; }
.sidenav-download {
  margin-top: auto;
  justify-content: center;
  background: var(--pink);
  color: #0a0a0a;
  border-color: var(--pink);
}
.sidenav-download:hover { background: var(--fg); border-color: var(--fg); }

/* Rotate-to-landscape gate — phones & small tablets in portrait only */
.rotate-gate { display: none; }
@media (orientation: portrait) and (max-width: 900px) {
  .rotate-gate {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #0a0a0a;
    text-align: center;
  }
  /* Freeze the underlying page while the gate is up */
  body:has(.rotate-gate) #root { pointer-events: none; }
}
.rotate-gate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  max-width: 320px;
}
.rotate-gate-phone {
  position: relative;
  width: 58px;
  height: 100px;
  border: 3px solid var(--fg);
  border-radius: 12px;
  animation: rotate-hint 2.4s var(--ease-out) infinite;
}
.rotate-gate-phone::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--fg-mute);
  transform: translateX(-50%);
}
.rotate-gate-arrow {
  position: absolute;
  top: -34px;
  right: -34px;
  width: 30px;
  height: 30px;
  border: 3px solid var(--pink);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}
.rotate-gate-arrow::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -2px;
  border: 6px solid transparent;
  border-top-color: var(--pink);
  transform: rotate(-12deg);
}
@keyframes rotate-hint {
  0%, 55% { transform: rotate(0deg); }
  80%, 100% { transform: rotate(90deg); }
}
.rotate-gate-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.rotate-gate-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0;
}
.rotate-gate-brand {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--fg-mute);
  margin-top: 0.6rem;
}
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-mark .dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--pink-soft), var(--pink-deep) 80%);
  flex: none;
}
.brand-mark .slash {
  width: 1px; height: 18px; background: var(--line-strong); margin: 0 0.2rem;
}
.brand-mark .lab {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.nav-links {
  display: none;
  gap: 0.2rem;
  align-items: center;
}
@media (min-width: 980px) {
  .nav-links { display: flex; }
}
.nav-link {
  background: transparent;
  border: 0;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); }
.nav-link .num {
  font-size: 0.6rem;
  color: var(--fg-mute);
}
.nav-link.active .num { color: var(--pink); }

/* Progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--pink);
  z-index: 60;
  transform-origin: left center;
  pointer-events: none;
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: clamp(6rem, 12vh, 8rem) 0 clamp(3rem, 6vh, 5rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: end;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 13vw, 13rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero-title .em {
  font-family: var(--font-sans);
  font-weight: 300;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--pink);
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 0.5rem;
}
.hero-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
}

/* ============================================
   WHY (manifesto module)
   ============================================ */
.why {
  position: relative;
  min-height: 100vh;
  padding: clamp(2.5rem, 6vh, 4.5rem) 0 clamp(2.5rem, 5vh, 4rem);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.why-bg {
  position: absolute;
  inset: -10% -5%;
  pointer-events: none;
  opacity: 1;
  will-change: transform;
}
.why-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 50% 50%, transparent 0%, var(--bg) 75%);
}

.why-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(2rem, 5vh, 4rem);
  min-height: calc(100vh - clamp(5rem, 12vh, 9rem));
  text-align: center;
}

.why-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: clamp(1rem, 3vh, 2rem);
}
.why-logo {
  height: clamp(28px, 3.6vw, 48px);
  width: auto;
  display: block;
}

.why-stage {
  display: grid;
  grid-template-rows: auto auto;
  gap: clamp(0.75rem, 2vh, 1.5rem);
  align-content: center;
  justify-items: center;
}

.why-statement,
.why-response {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.why-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.why-overline {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0;
  white-space: nowrap;
}

.why-statement {
  display: flex;
  flex-direction: column;
}

.why-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.5rem, 16vw, 16rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: -28px 0 0 0;
  color: var(--fg);
}
.why-dot {
  display: inline-block;
  color: var(--pink);
  transform: translateY(-0.04em);
  margin-left: -0.04em;
}

.why-divider {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
}
.why-rule {
  width: 100%;
  height: 1px;
  background: var(--line);
  position: relative;
}
.why-rule::before {
  content: '';
  position: absolute;
  left: 50%; top: -3px;
  margin-left: -3.5px;
  width: 7px; height: 7px;
  background: var(--pink);
  border-radius: 50%;
}

.why-response {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.why-values {
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--fg);
  white-space: nowrap;
}
.why-value,
.why-sep,
.why-conj {
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: inherit;
  text-transform: none;
  letter-spacing: inherit;
  padding: 0;
  vertical-align: baseline;
  white-space: nowrap;
}
.why-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: clamp(0.5rem, 2vh, 1.5rem);
}
.why-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.why-meta-arrow {
  display: inline-block;
  animation: why-bob 2.4s ease-in-out infinite;
}
@keyframes why-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 720px) {
  .why-values { font-size: clamp(2rem, 9vw, 4rem); }
}

/* ============================================
   COMPLEXITY (transition / chaos manifesto)
   ============================================ */
.complexity {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--bg);
}

.complexity-bg {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
.complexity-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 55%, rgba(10,10,10,0) 0%, var(--bg) 80%);
}

.complexity-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.complexity-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 2.4vh, 1.8rem);
}

.complexity-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.4rem, 1.4vh, 1rem);
}

.complexity-line {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 2rem);
  letter-spacing: 0.06em;
  color: var(--fg);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.complexity.is-in .complexity-line {
  opacity: 1;
  transform: translateY(0);
}
.complexity-accent {
  color: #ef0c75;
  margin-left: 0.1em;
}

.complexity-word-wrap {
  margin-top: clamp(0.8rem, 3vh, 2.4rem);
  overflow: hidden;
  padding: 0 0.05em;
  line-height: 1;
}

.complexity-word {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.5rem, 16vw, 16rem);
  color: #ef0c75;
  letter-spacing: -0.01em;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 0 0 60px rgba(239, 12, 117, 0.4);
  opacity: 0;
  transform: translateY(-110%) rotate(-2deg);
  transition:
    opacity 0.45s var(--ease-out),
    transform 1.05s cubic-bezier(0.34, 1.45, 0.5, 1);
  transition-delay: var(--d, 0ms);
}
.complexity.is-in .complexity-word {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

@media (max-width: 720px) {
  .complexity-line { letter-spacing: 0.04em; }
  .complexity-word { font-size: clamp(3.5rem, 18vw, 7rem); }
}

/* ============================================
   INTELLIGENCE, ORCHESTRATED (light module)
   ============================================ */
.intel {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEEEEE;
  color: #0a0a0a;
  padding: clamp(2rem, 5vh, 4rem) 0;
  overflow: hidden;
}
/* Scroll-linked colour shift on entry: bg holds black (matching hack) while
   the section scrolls in, then crossfades to #EEEEEE in the last stretch.
   Same cadence as colony-map's entry. Gated by @supports so non-supporting
   browsers (Safari) keep solid #EEEEEE. */
@supports (animation-timeline: view()) {
  .intel {
    animation: intel-bg linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
  @keyframes intel-bg {
    0%   { background-color: #0a0a0a; }
    65%  { background-color: #0a0a0a; }
    100% { background-color: #EEEEEE; }
  }
}

.intel-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.intel-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 var(--gut);
}

.intel-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vh, 2.4rem);
  min-width: 0;
}

.intel-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6.4vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #0a0a0a;
}
.intel-title-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.intel-title-hl {
  display: inline-block;
  background: #ef0c75;
  color: #0a0a0a;
  padding: 0.04em 0.32em 0.08em;
  margin-left: -0.04em;
}
.intel.is-in .intel-title-line {
  opacity: 1;
  transform: translateY(0);
}

.intel-pillars {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.4vh, 1.6rem);
}
.intel-pillar {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.intel.is-in .intel-pillar {
  opacity: 1;
  transform: translateY(0);
}
.intel-pillar-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.45rem 0;
  color: #0a0a0a;
}
.intel-pillar-body {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.45;
  color: #2a2a2a;
  margin: 0;
  max-width: 52ch;
}
.intel-pillar-body strong {
  font-weight: 700;
  color: #0a0a0a;
}

.intel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.intel.is-in .intel-eyebrow {
  opacity: 1;
  transform: translateY(0);
}
.intel-eyebrow-chip {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #e8ff1c;
}
.intel-eyebrow-text {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #0a0a0a;
}

.intel-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #d9d9d9;
  border-radius: clamp(14px, 1.6vw, 22px);
  padding: clamp(1rem, 2vw, 1.8rem);
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.intel.is-in .intel-visual {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.intel-visual-inner {
  position: absolute;
  inset: clamp(1rem, 2vw, 1.8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.intel-colmena {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: clamp(0.5rem, 1vw, 1rem);
}
}

@media (max-width: 900px) {
  .intel-grid { grid-template-columns: 1fr; }
  .intel-visual { aspect-ratio: 4 / 3; max-width: 520px; margin: 0 auto; width: 100%; }
}

/* ============================================
   MANIFESTO — one phrase per scroll-snap slide
   ============================================ */
.manifesto {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  /* The section is just a container — only inner slides act as snap targets */
  scroll-snap-align: none;
}
/* Scroll-linked colour shift on entry: bg holds at #EEEEEE (matching intel)
   while the first slide scrolls in, then crossfades to black in the last
   stretch — same cadence as colony-map / intel. */
@supports (animation-timeline: view()) {
  .manifesto {
    animation: manifesto-bg linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
  @keyframes manifesto-bg {
    0%   { background-color: #EEEEEE; }
    65%  { background-color: #EEEEEE; }
    100% { background-color: #0a0a0a; }
  }
}

.manifesto-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.manifesto-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(85% 70% at 50% 50%, rgba(10,10,10,0) 0%, var(--bg) 80%);
}

/* Each phrase = its own 100vh snap point */
.manifesto-slide {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(2rem, 6vh, 5rem) var(--gut);
  scroll-margin-top: 0;
}

.manifesto-slide-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.manifesto-slide-left .manifesto-slide-inner {
  display: flex;
  justify-content: flex-start;
}
.manifesto-slide-right .manifesto-slide-inner {
  display: flex;
  justify-content: flex-end;
}

.manifesto-statement {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
  text-wrap: pretty;
  max-width: 22ch;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.manifesto-slide-right .manifesto-statement {
  text-align: right;
}
.manifesto-slide.is-in .manifesto-statement {
  opacity: 1;
  transform: translateY(0);
}
.manifesto-statement strong {
  font-weight: 700;
  color: #ef0c75;
}

.manifesto-closer {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.manifesto-closer-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.manifesto-slide.is-in .manifesto-closer-line {
  opacity: 1;
  transform: translateY(0);
}
.manifesto-closer-line:last-child {
  color: #ef0c75;
}

@media (max-width: 720px) {
  .manifesto-slide-right .manifesto-slide-inner,
  .manifesto-slide-left .manifesto-slide-inner {
    justify-content: flex-start;
  }
  .manifesto-slide-right .manifesto-statement,
  .manifesto-closer {
    text-align: left;
  }
}

/* ============================================
   INTRODUCING THE COLONY (light transition slide)
   ============================================ */
.intro-colony {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
  color: #0a0a0a;
  padding: clamp(2rem, 5vh, 4rem) var(--gut);
  overflow: hidden;
}

.intro-colony-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.2rem, 3vh, 2.2rem);
}

.intro-colony-eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0a0a0a;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.intro-colony.is-in .intro-colony-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.intro-colony-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 8.5vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06em;
}
.intro-colony-title-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.intro-colony.is-in .intro-colony-title-line {
  opacity: 1;
  transform: translateY(0);
}
.intro-colony-title-hl {
  display: inline-block;
  background: #ef0c75;
  color: #0a0a0a;
  padding: 0.04em 0.32em 0.08em;
}

.intro-colony-sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.2rem, 1.9vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.intro-colony.is-in .intro-colony-sub {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   COLONY MAP — scroll-driven reveal of the ecosystem
   The section is tall; an inner .cm-sticky element pins to the viewport
   while the user scrolls. Scroll progress drives both the title shrink
   and the phase advancement.
   ============================================ */
section.colony-map {
  position: relative;
  min-height: 550vh;            /* scrollytelling track (4 phases) */
  width: 100%;
  background: #e8e8e8;
  color: #0a0a0a;
  /* Opt out of the global scroll-snap so scroll within the section is free */
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}
/* Scroll-linked colour shift on entry: bg starts black (matching manifesto)
   and fades to the section's light grey while the user scrolls into it.
   Animation is bound to the *entry* range only, so the rest of the 550vh
   track stays on the final colour. Gated by @supports so non-supporting
   browsers (Safari) keep the solid grey. */
@supports (animation-timeline: view()) {
  section.colony-map {
    animation: colony-map-bg linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
  @keyframes colony-map-bg {
    0%   { background-color: #0a0a0a; }
    65%  { background-color: #0a0a0a; }
    100% { background-color: #e8e8e8; }
  }
}

.cm-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vh, 2rem) clamp(1rem, 3vw, 2rem);
  overflow: hidden;
}

.cm-stage {
  position: relative;
  width: 100%;
  max-width: min(1600px, 92vw, calc((100vh - 220px) * 16 / 9));
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

/* --- The morphing intro title (lives inside the stage, scales 1 → 0.18) --- */
.cm-title-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(var(--ts, 1));
  transform-origin: center;
  z-index: 8;
  pointer-events: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.4vh, 1.8rem);
  width: max-content;
  will-change: transform, opacity;
  opacity: var(--title-opacity, 1);
}
.cm-title-eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0a0a0a;
  opacity: var(--so, 1);
}
.cm-title-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 8.5vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06em;
}
.cm-title-line { display: inline-block; }
.cm-title-hl {
  display: inline-block;
  background: #ef0c75;
  color: #0a0a0a;
  padding: 0.04em 0.32em 0.08em;
}
.cm-title-sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.2rem, 1.9vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0;
  opacity: var(--so, 1);
}

/* SVG line layer — sits behind everything */
.cm-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}
.cm-line {
  stroke: #ef0c75;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.6s ease, stroke-dashoffset 0.9s var(--ease-out);
}
.cm-stage-pillars .cm-line-p1,
.cm-stage-roster .cm-line-p1,
.cm-stage-roster .cm-line-p2,
.cm-stage-quadrants .cm-line-p1,
.cm-stage-quadrants .cm-line-p2,
.cm-stage-quadrants .cm-line-p3,
.cm-stage-full .cm-line { opacity: 1; }

/* --- CENTER (Colony) — the small pink ant mark that takes over from the
   title once the title has finished shrinking and fading out. --- */
.cm-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(54px, 6.75vw, 97px);
  height: clamp(54px, 6.75vw, 97px);
  background: #ef0c75;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: var(--ant-opacity, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 0 0 6px rgba(239, 12, 117, 0.08);
  transition: opacity 0.2s linear;
}
.cm-center img { width: 35%; height: 35%; object-fit: contain; }
.cm-center svg { width: 35%; height: 35%; }

/* --- PILLAR BOXES (compact yellow title chip + floating description) ---
   The pillar element is just the title chip, vertically anchored to 50%
   so it lines up exactly with the centred middle platform/worker chip.
   The description sits absolutely positioned below it, so it never
   pushes the title off-centre even when hidden. --- */
.cm-pillar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  width: clamp(90px, 11vw, 150px);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.cm-pillar-title {
  background: #e8ff1c;
  color: #0a0a0a;
  padding: 0.6em 0.9em;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(0.8rem, 1.05vw, 1.1rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: center;
}
.cm-pillar-desc {
  position: absolute;
  top: calc(100% + 0.7em);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: clamp(140px, 17vw, 220px);
  font-family: var(--font-sans);
  color: #2a2a2a;
  font-size: clamp(0.62rem, 0.78vw, 0.85rem);
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: 0.15s;
}
.cm-pillar-platforms { left: 33%; }
.cm-pillar-workers   { left: 67%; }
.cm-stage-pillars .cm-pillar,
.cm-stage-roster .cm-pillar {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}
.cm-stage-pillars .cm-pillar-desc {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- PLATFORM CHIPS (left side) --- */
.cm-platforms {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26%;
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 0.9vw, 0.7rem);
  z-index: 3;
  padding-left: clamp(0.4rem, 1vw, 1rem);
}
.cm-platform {
  position: relative;
  background: linear-gradient(135deg, #ef0c75 0%, #6a0fff 60%, #1c1c1c 100%);
  color: #fff;
  padding: 0.55em 0.8em;
  border-radius: 4px;
  border: none;
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 0.85vw, 0.9rem);
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.2s ease;
  transition-delay: calc(var(--i) * 90ms);
}
.cm-platform:hover,
.cm-platform:focus-visible {
  filter: brightness(1.12);
  outline: none;
}
.cm-platform:hover .cm-chip-plus,
.cm-platform:focus-visible .cm-chip-plus {
  background: #fff;
  color: #ef0c75;
  transform: scale(1.15);
}
.cm-platform:focus-visible {
  box-shadow: 0 0 0 3px rgba(239, 12, 117, 0.35);
}
.cm-platform:nth-child(1) { background: #0a0a0a; }
.cm-platform:nth-child(3) { background: linear-gradient(135deg, #ef0c75, #ffd000); }
.cm-platform:nth-child(4) { background: linear-gradient(135deg, #06b6d4 0%, #2563eb 60%, #1c1c1c 100%); }
.cm-platform-name {
  font-weight: 700;
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cm-platform-tag {
  font-size: 0.72em;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15em;
}
.cm-stage-roster .cm-platform {
  opacity: 1;
  transform: translateX(0);
}

/* --- WORKER CHIPS (right side, radial around workers box) --- */
.cm-workers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.cm-worker {
  position: absolute;
  width: clamp(35px, 4.32vw, 62px);
  background: transparent;
  border: none;
  padding: 0;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i) * 80ms);
}
.cm-worker:hover .cm-worker-disc,
.cm-worker:focus-visible .cm-worker-disc {
  transform: scale(1.08);
}
.cm-worker:focus-visible {
  outline: none;
}
.cm-worker:focus-visible .cm-worker-disc {
  box-shadow: 0 0 0 3px rgba(239, 12, 117, 0.45);
}
.cm-worker-disc {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ef0c75;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* --- Affordance: "+" badge on every clickable chip --- */
.cm-chip-plus {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0a0a0a;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.cm-chip-plus--worker {
  top: 6%;
  right: 6%;
  width: 26%;
  height: 26%;
  font-size: clamp(10px, 1.1vw, 14px);
  background: #fff;
  color: #ef0c75;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
.cm-worker:hover .cm-chip-plus--worker,
.cm-worker:focus-visible .cm-chip-plus--worker {
  transform: scale(1.18);
}

/* --- One-shot breathe pulse to draw the eye when the roster first
       appears. Triggered only while .cm-stage is in the roster phase. --- */
@keyframes cm-chip-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 12, 117, 0); }
  50%      { box-shadow: 0 0 0 8px rgba(239, 12, 117, 0.18); }
}
.cm-stage-roster .cm-worker .cm-worker-disc {
  animation: cm-chip-breathe 2.4s ease-in-out calc(var(--i) * 0.1s + 0.6s) 3;
}
.cm-stage-roster .cm-platform {
  animation: cm-chip-breathe 2.4s ease-in-out calc(var(--i) * 0.18s + 0.6s) 3;
  border-radius: 4px;
}

/* ============================================
   QUADRANTS VIEW — phase 3 (final reveal)
   Four operational quadrants (Growth, Operations, Craft, Intelligence) with
   sub-categories and leaves, connected via pink right-angle lines + dots.
   The whole diagram sits in an absolutely-positioned layer that fills the
   stage; it fades + scales in when the stage enters .cm-stage-quadrants.
   ============================================ */
.cm-quadrants {
  position: absolute;
  inset: 0;
  z-index: 5;                       /* above ant, above pillar layer */
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.cm-stage-quadrants .cm-quadrants,
.cm-stage-full .cm-quadrants {
  opacity: 1;
  transform: scale(1);
}
.cm-q-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Pink connector dots — sized in viewport units so they render perfectly
   circular regardless of the SVG's stretched coordinate space. */
.cm-q-dot {
  position: absolute;
  width: clamp(6px, 0.55vw, 9px);
  height: clamp(6px, 0.55vw, 9px);
  border-radius: 50%;
  background: #ef0c75;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Box base — centred on its (left, top) percent coords. */
.cm-q-box {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #0a0a0a;
  line-height: 1;
}
/* Leaves: a compact white card. The connector dot lands at the box edge
   nearest the sub-category, so the text never covers the dot. */
.cm-q-leaf {
  position: absolute;
  background: #fff;
  padding: 0.45em 0.65em;
  border-radius: 3px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.6rem, 0.85vw, 0.82rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #0a0a0a;
  line-height: 1.15;
}
/* Bare variant — no card, just Figtree text. Used for leaves where the
   surrounding space is open and the chip would feel heavy. */
.cm-q-leaf--bare {
  background: transparent;
  padding: 0.2em 0.45em;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Dark filled quadrant labels (Growth / Operations / Craft / Intelligence) */
.cm-q-box--quadrant {
  padding: 0.55em 1.4em 0.65em;
  background: #c8c2b8;              /* warm tan/beige */
  font-size: clamp(0.85rem, 1.25vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Light bordered sub-category labels (Social / Paid / Lifecycle / …) */
.cm-q-box--sub {
  padding: 0.5em 1.1em 0.55em;
  background: #fff;
  border: 1.5px solid #d4d4d4;
  font-size: clamp(0.7rem, 1vw, 0.95rem);
  font-weight: 700;
}

/* Stagger the appearance: lines first, then quadrants, then subs, then leaves */
.cm-quadrants .cm-q-lines       { opacity: 0; transition: opacity 0.7s var(--ease-out) 0.05s; }
.cm-quadrants .cm-q-dot         { opacity: 0; transition: opacity 0.5s var(--ease-out) 0.05s; }
.cm-quadrants .cm-q-box--quadrant,
.cm-quadrants .cm-q-box--sub,
.cm-quadrants .cm-q-leaf {
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.cm-stage-quadrants .cm-quadrants .cm-q-lines,
.cm-stage-full      .cm-quadrants .cm-q-lines { opacity: 1; }
.cm-stage-quadrants .cm-quadrants .cm-q-dot,
.cm-stage-full      .cm-quadrants .cm-q-dot   { opacity: 1; }
.cm-stage-quadrants .cm-quadrants .cm-q-box--quadrant,
.cm-stage-full      .cm-quadrants .cm-q-box--quadrant { opacity: 1; transition-delay: 0.15s; }
.cm-stage-quadrants .cm-quadrants .cm-q-box--sub,
.cm-stage-full      .cm-quadrants .cm-q-box--sub      { opacity: 1; transition-delay: 0.3s; }
.cm-stage-quadrants .cm-quadrants .cm-q-leaf,
.cm-stage-full      .cm-quadrants .cm-q-leaf          { opacity: 1; transition-delay: 0.45s; }
.cm-worker-disc svg { width: 50%; height: 50%; }
.cm-worker-code {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(0.55rem, 0.65vw, 0.75rem);
  letter-spacing: 0.04em;
  color: #0a0a0a;
  text-transform: uppercase;
}
.cm-stage-roster .cm-worker {
  opacity: 1;
  transform: scale(1);
}

/* Worker positions — a semicircle to the RIGHT of the Digital Workers pillar
   at (67%, 50%).  Radii are tuned so every chip sits at the SAME pixel
   distance from the pillar centre (rh = 19% / rv = 33.8% — a true circle
   in pixel terms on a 16:9 stage). Uniform angular spacing (25.7° between
   adjacent chips) keeps the labels evenly spaced too. */
.cm-worker-0 { left: 67%;    top: 16.2%; }   /* GIN       — top      */
.cm-worker-1 { left: 75.25%; top: 19.55%; }  /* PULSE     — upper N–E */
.cm-worker-2 { left: 81.84%; top: 28.91%; }  /* ANTENNA   — N–E      */
.cm-worker-3 { left: 85.53%; top: 42.46%; }  /* ARCHITECT — right    */
.cm-worker-4 { left: 85.53%; top: 57.54%; }  /* FORAGER   — right    */
.cm-worker-5 { left: 81.84%; top: 71.09%; }  /* TRACER    — S–E      */
.cm-worker-6 { left: 75.25%; top: 80.45%; }  /* WEAVER    — lower S–E */
.cm-worker-7 { left: 67%;    top: 83.8%; }   /* FERO      — bottom   */

/* Recenter group: workers anchor by their center, not top-left */
.cm-worker { transform-origin: center; }
.cm-worker { margin-left: calc(-1 * clamp(17.5px, 2.16vw, 31px)); margin-top: calc(-1 * clamp(17.5px, 2.16vw, 31px)); }

/* --- QUADRANT HUBS (4 corners) --- */
.cm-quad {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  width: clamp(160px, 22vw, 320px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.cm-quad-tl { left: 2%; top: 6%; }
.cm-quad-tr { right: 2%; top: 6%; align-items: flex-end; }
.cm-quad-bl { left: 2%; bottom: 6%; }
.cm-quad-br { right: 2%; bottom: 6%; align-items: flex-end; }

.cm-quad-title {
  background: #c9c9c9;
  color: #0a0a0a;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.85rem, 1.2vw, 1.25rem);
  padding: 0.3em 0.8em;
  align-self: flex-start;
}
.cm-quad-tr .cm-quad-title,
.cm-quad-br .cm-quad-title { align-self: flex-end; }

.cm-stage-quadrants .cm-quad,
.cm-stage-full .cm-quad {
  opacity: 1;
  transform: translateY(0);
}
.cm-stage-quadrants .cm-quad-title,
.cm-stage-full .cm-quad-title { opacity: 1; }

/* Quadrant children (sub-categories) - only visible in 'full' phase */
.cm-quad-children {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.cm-stage-full .cm-quad-children {
  opacity: 1;
  transform: translateY(0);
}
.cm-quad-child-name {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 0.95vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fff;
  display: inline-block;
  padding: 0.2em 0.55em;
  margin-bottom: 0.15em;
}
.cm-quad-tr .cm-quad-child-name,
.cm-quad-br .cm-quad-child-name { align-self: flex-end; }

.cm-quad-child-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  font-family: var(--font-sans);
  font-size: clamp(0.6rem, 0.78vw, 0.82rem);
  line-height: 1.25;
  color: #2a2a2a;
}
.cm-quad-child-items li::before {
  content: '• ';
  color: #ef0c75;
}
.cm-quad-tr .cm-quad-child-items,
.cm-quad-br .cm-quad-child-items { text-align: right; }
.cm-quad-tr .cm-quad-child-items li::before,
.cm-quad-br .cm-quad-child-items li::before { display: none; }
.cm-quad-tr .cm-quad-child-items li::after,
.cm-quad-br .cm-quad-child-items li::after {
  content: ' •';
  color: #ef0c75;
}

/* --- HUD (caption + controls) --- */
.cm-hud {
  width: 100%;
  max-width: 920px;
  margin: clamp(0.8rem, 2vh, 1.6rem) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 5;
}
.cm-caption {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  line-height: 1.35;
  color: #1a1a1a;
  text-align: center;
  max-width: 70ch;
  min-height: 2.6em;
  animation: cm-fade 0.5s var(--ease-out);
}
.cm-caption strong { font-weight: 700; color: #ef0c75; }
@keyframes cm-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cm-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cm-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #0a0a0a;
  background: transparent;
  color: #0a0a0a;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cm-btn:hover:not(:disabled) { background: #0a0a0a; color: #fff; }
.cm-btn:disabled { opacity: 0.25; cursor: default; }

.cm-dots {
  display: flex;
  gap: 0.5rem;
}
.cm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #0a0a0a;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.cm-dot.is-active { background: #ef0c75; border-color: #ef0c75; }
.cm-dot.is-past { background: #0a0a0a; }

/* --- Service detail modal (opens when a platform/worker chip is clicked) --- */
.cm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  animation: cm-modal-fade-in 0.18s ease-out;
}
.cm-modal {
  position: relative;
  background: #fff;
  color: #0a0a0a;
  border-radius: 14px;
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.6rem, 3vw, 2.6rem) clamp(1.4rem, 2.6vw, 2.2rem);
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.4);
  animation: cm-modal-pop-in 0.22s var(--ease-out);
}
.cm-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 10, 10, 0.06);
  color: #0a0a0a;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.cm-modal-close:hover { background: rgba(10, 10, 10, 0.12); }

/* --- Discreet prev/next arrows in the bottom-right of the modal --- */
.cm-modal-nav {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
}
.cm-modal-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 10, 10, 0.05);
  color: #6a6a6a;
  font-size: 20px;
  line-height: 1;
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  transition: background 0.18s ease, color 0.18s ease;
}
.cm-modal-nav-btn:hover {
  background: #ef0c75;
  color: #fff;
}
.cm-modal-nav-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 12, 117, 0.35);
}
.cm-modal-eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 0.85vw, 0.85rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ef0c75;
  margin-bottom: 0.25rem;
}
.cm-modal-tag {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 0.95vw, 0.95rem);
  font-weight: 500;
  color: #6a6a6a;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
}
.cm-modal-role {
  color: #6a6a6a;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.cm-modal-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 0.9rem;
}
.cm-modal-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  color: #1f1f1f;
  margin: 0 0 1.1rem;
}
.cm-modal-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cm-modal-bullets li {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.35;
  color: #2a2a2a;
  padding-left: 1.1rem;
  position: relative;
}
.cm-modal-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef0c75;
}
@keyframes cm-modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes cm-modal-pop-in {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cm-modal-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes cm-modal-pop-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(6px) scale(0.985); }
}
.cm-modal-backdrop.is-closing {
  animation: cm-modal-fade-out 0.22s ease-out forwards;
}
.cm-modal.is-closing {
  animation: cm-modal-pop-out 0.22s ease-out forwards;
}

@media (max-width: 720px) {
  .cm-stage { max-width: 96vw; }
  .cm-worker-code { display: none; }
  .cm-quad-children { display: none; }
}

/* Scroll-snap pacing — every section feels like its own slide.
   Tall sections (timeline, cases, colony-map) keep their internal scroll;
   proximity (vs mandatory) lets users stop mid-section if they want. */
html {
  scroll-snap-type: y proximity;
}
section[data-section] {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.why, .complexity, .hack {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ============================================
   BUILT FOR YOU — engagement-model picker
   Black-canvas section with three selectable model columns.  Each column
   is a button: white pill "tab" at the top + coloured body card.  Click a
   card to lock-in the choice — the picked card stays highlighted while the
   other two dim, and a confirmation bar appears at the bottom.
   ============================================ */
.bfy {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #0a0a0a;
  color: #fff;
  padding: clamp(2.6rem, 7vh, 5rem) clamp(1.4rem, 4vw, 3.5rem) clamp(5rem, 9vh, 6.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.6rem, 3.4vh, 2.6rem);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
/* Scroll-linked colour shift on entry: bg holds at fucsia (matching the end
   of stack-diff) while built-for-you scrolls in, then crossfades to black —
   same cadence as the other section transitions. */
@supports (animation-timeline: view()) {
  .bfy {
    animation: bfy-bg linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
  @keyframes bfy-bg {
    0%   { background-color: #ef0c75; }
    65%  { background-color: #ef0c75; }
    100% { background-color: #0a0a0a; }
  }
}

.bfy-head {
  width: 100%;
  max-width: 1240px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.bfy-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 8.5vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.bfy.is-in .bfy-title { opacity: 1; transform: translateY(0); }
.bfy-intro {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 58ch;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out) 0.1s, transform 0.6s var(--ease-out) 0.1s;
}
.bfy.is-in .bfy-intro { opacity: 1; transform: translateY(0); }

.bfy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 1.4vw, 1.4rem);
  width: 100%;
  max-width: 1240px;
}

/* Column = tab + card showcase (non-interactive) */
.bfy-col {
  appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: clamp(0.7rem, 1.2vh, 1rem);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out) calc(0.18s + var(--i) * 0.11s),
    transform 0.7s var(--ease-out) calc(0.18s + var(--i) * 0.11s),
    filter 0.25s ease;
}
.bfy.is-in .bfy-col { opacity: 1; transform: translateY(0); }

/* Tab pill on top */
.bfy-tab {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  color: #0a0a0a;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 0.95vw, 0.95rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bfy-tab-dot {
  width: 11px;
  height: 11px;
  background: #ef0c75;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.bfy-tab-label { flex: 1; }
.bfy-tab-label strong { font-weight: 800; }
.bfy-tab-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out);
}
.bfy-tab-check.is-on { opacity: 1; transform: scale(1); }

/* Body card */
.bfy-card {
  position: relative;
  flex: 1;
  padding: clamp(1.4rem, 2vw, 1.9rem) clamp(1.3rem, 1.8vw, 1.7rem) clamp(3.2rem, 5vh, 4rem);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.6vh, 1.3rem);
  min-height: clamp(360px, 48vh, 480px);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, filter 0.25s ease;
}
.bfy-col--light  .bfy-card { background: #f1f1f1; color: #0a0a0a; }
.bfy-col--accent .bfy-card { background: #e8ff1c; color: #0a0a0a; }
.bfy-col--pink   .bfy-card { background: #ef0c75; color: #fff; }

.bfy-card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.4rem;
  color: inherit;
}
.bfy-card-block { display: flex; flex-direction: column; gap: 0.35rem; }
.bfy-card-h {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  letter-spacing: 0;
  color: inherit;
}
.bfy-card-p {
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  line-height: 1.45;
  margin: 0;
  color: inherit;
}
.bfy-card-cta {
  position: absolute;
  left: clamp(1.3rem, 1.8vw, 1.7rem);
  right: clamp(1.3rem, 1.8vw, 1.7rem);
  bottom: clamp(1.1rem, 2vh, 1.5rem);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.45;
  text-align: center;
  padding-top: 0.8rem;
  border-top: 1px solid currentColor;
  transition: opacity 0.2s ease;
}
.bfy-col:hover .bfy-card-cta,
.bfy-col:focus-visible .bfy-card-cta { opacity: 0.85; }
.bfy-col.is-selected .bfy-card-cta { opacity: 1; font-weight: 700; }

/* Hover focus: lift the hovered card, dim the others. */
.bfy-cards:hover .bfy-col:not(:hover) .bfy-card {
  filter: brightness(0.78) saturate(0.85);
}
.bfy-col:hover .bfy-card {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px -16px rgba(0, 0, 0, 0.55);
}

.bfy-col:focus-visible {
  outline: none;
}
.bfy-col:focus-visible .bfy-tab {
  box-shadow: 0 0 0 3px rgba(239, 12, 117, 0.45);
}

/* Confirmation bar */
.bfy-confirm {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(140%);
  background: #fff;
  color: #0a0a0a;
  padding: 0.9rem 1.1rem 0.9rem 1.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.5);
  z-index: 80;
  transition: transform 0.45s var(--ease-out), opacity 0.3s ease;
  opacity: 0;
  max-width: calc(100vw - 32px);
}
.bfy-confirm.is-on {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.bfy-confirm-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-family: var(--font-sans);
}
.bfy-confirm-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a6a6a;
}
.bfy-confirm-eyebrow strong { color: #0a0a0a; font-weight: 800; }
.bfy-confirm-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a0a0a;
}
.bfy-confirm-cta { white-space: nowrap; }

/* Bottom-corner brand marks (always visible, matching the screenshot) */
.bfy-lobueno {
  position: absolute;
  left: clamp(1.4rem, 4vw, 2.6rem);
  bottom: clamp(1.4rem, 2.5vh, 1.8rem);
  color: rgba(255, 255, 255, 0.65);
}
.bfy-brand {
  position: absolute;
  right: clamp(1.4rem, 4vw, 2.6rem);
  bottom: clamp(1.2rem, 2.2vh, 1.6rem);
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 880px) {
  .bfy-cards { grid-template-columns: 1fr; gap: 1.4rem; }
  .bfy-card { min-height: auto; }
  .bfy-confirm { left: 16px; right: 16px; transform: translateY(140%); }
  .bfy-confirm.is-on { transform: translateY(0); }
}

/* ============================================
   STACK DIFF — "What we have (that your stack doesn't)"
   Bold pink section with 3 contrasting cards.  Cards reveal on scroll-in
   and react to hover (the focused card lifts while siblings dim).
   ============================================ */
.stack-diff {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #ef0c75;
  color: #fff;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.8rem, 4vh, 3rem);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;

}
/* Scroll-linked colour shift: bg starts black as the section enters from
   below, rests on pink while it dominates the viewport, then fades back to
   black as it leaves. Makes the colony-map → stack-diff → built-for-you
   boundary feel like one continuous motion instead of two hard cuts.
   Gated by @supports so non-supporting browsers (Safari) keep solid pink. */
@supports (animation-timeline: view()) {
  .stack-diff {
    animation: stack-diff-bg linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
  @keyframes stack-diff-bg {
    /* Entry from colony-map: hold its light grey for the first stretch, then
       slow fade into fucsia — fucsia appears only after significant scroll. */
    0%   { background-color: #e8e8e8; }
    30%  { background-color: #e8e8e8; }
    50%  { background-color: #ef0c75; }
    /* Hold pink through the rest — built-for-you handles the pink → black
       crossfade on its own entry. */
    100% { background-color: #ef0c75; }
  }
}

.stack-diff-mark {
  color: #0a0a0a;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stack-diff.is-in .stack-diff-mark { opacity: 1; transform: translateY(0); }

.stack-diff-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin: 0;
  max-width: 22ch;
}
.stack-diff-title-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.stack-diff.is-in .stack-diff-title-line { opacity: 1; transform: translateY(0); }
.stack-diff.is-in .stack-diff-title-line:nth-child(2) { transition-delay: 0.08s; }

.stack-diff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.6vw, 1.8rem);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.stack-diff-card {
  position: relative;
  border-radius: clamp(18px, 1.6vw, 26px);
  padding: clamp(1.6rem, 2.6vw, 2.6rem) clamp(1.4rem, 2vw, 2.2rem);
  min-height: clamp(280px, 36vh, 380px);
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vh, 0.9rem);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out) calc(0.18s + var(--i) * 0.12s),
    transform 0.7s var(--ease-out) calc(0.18s + var(--i) * 0.12s),
    filter 0.25s ease,
    box-shadow 0.25s ease;
  will-change: transform, opacity;
}
.stack-diff.is-in .stack-diff-card { opacity: 1; transform: translateY(0); }

/* Card colour variants */
.stack-diff-card--light  { background: #f1f1f1; color: #0a0a0a; }
.stack-diff-card--dark   { background: #0a0a0a; color: #fff; }
.stack-diff-card--accent { background: #e8ff1c; color: #0a0a0a; }

/* Hover focus: lift the hovered card, dim the others. */
.stack-diff-cards:hover .stack-diff-card { filter: brightness(0.92) saturate(0.85); }
.stack-diff-cards .stack-diff-card:hover {
  filter: none;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.35);
}

.stack-diff-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
  color: inherit;
}
.stack-diff-card-subtitle {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.85rem, 1vw, 1.05rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
  margin-bottom: clamp(1rem, 2vh, 1.6rem);
}
.stack-diff-card-body {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  line-height: 1.45;
  margin: 0;
  color: inherit;
}
.stack-diff-card-body strong { font-weight: 700; }

.stack-diff-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.2rem, 2.5vh, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  color: #0a0a0a;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.stack-diff-footer .lo-bueno { color: #0a0a0a; }
.stack-diff-ant {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
}
.stack-diff-brand {
  color: #0a0a0a;
}
.stack-diff-brand span:first-child {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: lowercase;
  letter-spacing: -0.005em;
}
.stack-diff-brand .lab {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  margin-left: 0.3em;
  text-transform: lowercase;
}

@media (max-width: 880px) {
  .stack-diff-cards { grid-template-columns: 1fr; }
  .stack-diff-card { min-height: auto; }
}

/* ============================================
   HACK THE CHAOS (manifesto answer)
   ============================================ */
.hack {
  position: relative;
  min-height: 100vh;
  max-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding: clamp(1rem, 3vh, 2rem) 0;
}

.hack-bg {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hack-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(75% 55% at 50% 50%, rgba(10,10,10,0) 0%, var(--bg) 82%);
}

.hack-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hack-stage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.8rem, 2vh, 1.6rem);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gut);
  width: 100%;
}

.hack-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.4vh, 1.1rem);
  align-items: flex-start;
}

.hack-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1vw, 1rem);
  margin-top: clamp(0.4rem, 1.2vh, 1rem);
  position: relative;
}

.hack-card-wide {
  grid-column: 1 / -1;
  min-height: clamp(80px, 12vh, 110px);
}

.hack-card {
  position: relative;
  border-radius: clamp(14px, 1.4vw, 20px);
  padding: clamp(0.9rem, 1.6vw, 1.3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(120px, 18vh, 170px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.hack.is-in .hack-card {
  opacity: 1;
  transform: translateY(0);
}

.hack-card-pink {
  background: #ef0c75;
  color: #ffffff;
}
.hack-card-yellow {
  background: #e8ff1c;
  color: #0a0a0a;
}

.hack-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  z-index: 1;
}

.hack-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.9vw, 1.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.01em;
  color: inherit;
}
.hack-card-body {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
  line-height: 1.35;
  margin: 0;
  color: inherit;
  opacity: 0.95;
}

/* Pixel glyph positioning per corner */
.hack-glyph {
  position: absolute;
  width: clamp(34px, 3.6vw, 56px);
  height: auto;
  pointer-events: none;
}
.hack-glyph-tl { top: clamp(0.7rem, 1.1vw, 1rem); left: clamp(0.7rem, 1.1vw, 1rem); }
.hack-glyph-tr { top: clamp(0.7rem, 1.1vw, 1rem); right: clamp(0.7rem, 1.1vw, 1rem); }
.hack-glyph-bl { bottom: clamp(0.7rem, 1.1vw, 1rem); left: clamp(0.7rem, 1.1vw, 1rem); }
.hack-glyph-br { bottom: clamp(0.7rem, 1.1vw, 1rem); right: clamp(0.7rem, 1.1vw, 1rem); }

/* Center ant glyph that sits at the intersection of the 4 cards */
.hack-grid-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.hack-grid-center svg {
  width: clamp(28px, 2.8vw, 40px);
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}

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

.hack-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0;
  display: flex;
  flex-direction: column;
}
.hack-title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.hack-title-line:nth-child(2) {
  color: #ef0c75;
}
.hack.is-in .hack-title-line {
  opacity: 1;
  transform: translateY(0);
}

.hack-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.4vw, 1.3rem);
  line-height: 1.4;
  max-width: 56ch;
  color: var(--fg-dim);
  margin: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.hack.is-in .hack-body {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .hack-title { font-size: clamp(3.2rem, 18vw, 7rem); }
}
.marquee {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  padding-right: 3rem;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  color: var(--fg);
}
.marquee span::after {
  content: '';
  width: 12px; height: 12px;
  background: var(--pink);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Pillar list (executive summary) */
.pillar-list {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
.pillar {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.pillar:first-child { border-top: 1px solid var(--line); }
.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--pink);
  padding-top: 0.6rem;
}
.pillar-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.pillar p { color: var(--fg-dim); max-width: 56ch; }

/* Two-up */
.two-up {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 900px) {
  .two-up { grid-template-columns: 1fr 1fr; }
}

.three-up {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 700px) { .three-up { grid-template-columns: repeat(3, 1fr); } }

.four-up {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (min-width: 600px) { .four-up { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .four-up { grid-template-columns: repeat(4, 1fr); } }

/* Problem section — diagnostic cards */
.diag {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-elev);
  transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 240px;
}
.diag:hover { border-color: var(--pink); }
.diag-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}
.diag-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.diag h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Timeline */
.timeline-wrap {
  overflow-x: auto;
  padding-bottom: 1rem;
}
.timeline {
  display: grid;
  grid-template-columns: 280px repeat(16, minmax(48px, 1fr));
  gap: 0;
  min-width: 1000px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}
.timeline-head {
  display: contents;
}
.timeline-head > div {
  padding: 0.8rem 0.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--fg-mute);
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}
.timeline-head > div:first-child {
  text-align: left;
  color: var(--fg-dim);
}
.tl-row {
  display: contents;
}
.tl-row > div {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-row > .tl-label {
  justify-content: flex-start;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}
.tl-cell.on {
  background: var(--pink);
  border-radius: 0;
}

/* Pricing */
.price-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-elev);
  position: relative;
  overflow: hidden;
}
.price-card.featured {
  border-color: var(--pink);
  background:
    radial-gradient(800px 200px at 100% 0%, color-mix(in oklab, var(--pink) 18%, transparent), transparent 60%),
    var(--bg-elev);
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.price-row:first-of-type { border-top: 1px solid var(--line-strong); }
.price-row h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0;
}
.price-row p { color: var(--fg-dim); font-size: 0.92rem; max-width: 52ch; }
.price-row .num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.price-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--pink);
}
.price-total-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  color: var(--pink);
}

/* Case studies */
.case {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 4rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 900px) {
  .case { grid-template-columns: 1fr 1.2fr; }
}
.case-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 90px;
  align-self: start;
}
.case-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}
.case-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.result-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.result-label {
  font-size: 0.86rem;
  color: var(--fg-dim);
  line-height: 1.35;
}

/* Method steps */
.method-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.method-step:last-child { border-bottom: 1px solid var(--line); }
.method-step-num {
  font-family: var(--font-mono);
  color: var(--pink);
  font-size: 0.85rem;
}
.method-step h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0 0 0.5rem;
}

/* ============================================
   SERVICE — one service per full view (modular).
   Each stage is its own section so a proposal can
   include only the services it sells.
   ============================================ */
.svc1 {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.svc1-ghost {
  position: absolute;
  top: 50%;
  right: clamp(-1rem, 2vw, 3rem);
  transform: translateY(-50%);
  font-size: clamp(14rem, 42vw, 40rem);
  line-height: 0.8;
  color: var(--fg);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
/* Word variant — the Colony worker name as a faint backdrop (replaces the
   old editorial index number, which would be misleading on a partial scope). */
.svc1-ghost--word {
  right: clamp(-2rem, -2vw, -0.5rem);
  font-size: clamp(7rem, 20vw, 19rem);
  letter-spacing: -0.02em;
  opacity: 0.05;
}
.svc1-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 36vw, 480px);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.svc1-main { min-width: 0; }
.svc1-top {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out) 0.1s, transform 0.7s var(--ease-out) 0.1s;
}
.svc1.is-in .svc1-top { opacity: 1; transform: none; }
.svc1-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}
.svc1-weeks {
  margin-left: auto;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
}
.svc1-name {
  margin: clamp(1rem, 3vh, 2rem) 0 0;
  font-size: clamp(3.4rem, 11vw, 9rem);
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  overflow: hidden;
}
.svc1-name {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out) 0.2s, transform 0.8s var(--ease-out) 0.2s;
}
.svc1.is-in .svc1-name { opacity: 1; transform: none; }
.svc1-tagline {
  margin: clamp(1rem, 2.4vh, 1.6rem) 0 0;
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--fg-dim);
  max-width: 30ch;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out) 0.35s, transform 0.8s var(--ease-out) 0.35s;
}
.svc1.is-in .svc1-tagline { opacity: 1; transform: none; }

.svc1-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: clamp(1.4rem, 3vh, 2.2rem);
  border-top: 1px solid var(--line-strong);
}
.svc1-deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: min(420px, 100%);
}
.svc1-deliverables li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--fg);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.6s var(--ease-out) calc(0.5s + var(--j) * 0.1s),
              transform 0.6s var(--ease-out) calc(0.5s + var(--j) * 0.1s);
}
.svc1.is-in .svc1-deliverables li { opacity: 1; transform: none; }
.svc1-bullet {
  width: 7px;
  height: 7px;
  background: var(--pink);
  transform: rotate(45deg);
  flex: none;
}
.svc1-worker {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
  margin-left: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out) 0.7s, transform 0.7s var(--ease-out) 0.7s;
}
.svc1.is-in .svc1-worker { opacity: 1; transform: none; }
.svc1-worker-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.svc1-worker-name {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.svc1-worker-diamond {
  width: 11px;
  height: 11px;
  background: var(--pink);
  transform: rotate(45deg);
  flex: none;
}
@media (max-width: 700px) {
  .svc1-foot { flex-direction: column; align-items: flex-start; }
  .svc1-worker { text-align: left; margin-left: 0; }
}

/* --- Per-section position ring ("you are here") --- */
.svc1-ring-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.svc-ring {
  position: relative;
  width: 100%;
  max-width: clamp(260px, 36vw, 480px);
  aspect-ratio: 1 / 1;
}
.svc-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.svc-ring-base {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 0.4;
}
.svc-ring-arc {
  fill: none;
  stroke: var(--pink);
  stroke-width: 0.8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 3px var(--pink-glow));
  transition: stroke-dashoffset 1.2s var(--ease-out) 0.25s;
}
.svc-ring-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out) 0.3s;
  pointer-events: none;
}
.svc-ring.is-in .svc-ring-hub { opacity: 1; }
.svc-ring-hub svg { opacity: 0.85; }
.svc-ring-hub-step {
  margin-top: 0.2rem;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1;
  color: var(--pink);
}
.svc-ring-hub-of {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
}

/* Labeled ring node — disc anchored on the ring, label below */
.svc-ring-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: clamp(34px, 5vw, 56px);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.svc-ring.is-in .svc-ring-node { transition-delay: calc(var(--i) * 0.05s + 0.2s); }
.svc-ring-disc {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--bg-elev);
  transform: scale(0.6);
  transition: transform 0.5s var(--ease-out), background 0.5s var(--ease-out),
              border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.svc-ring.is-in .svc-ring-disc { transform: scale(1); transition-delay: calc(var(--i) * 0.05s + 0.2s); }
.svc-ring-label {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(0.58rem, 0.95vw, 0.78rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  white-space: normal;
  width: max-content;
  max-width: clamp(72px, 9vw, 116px);
  text-align: center;
  text-wrap: balance;
  color: var(--fg-mute);
  transition: color 0.5s var(--ease-out);
}
/* States */
.svc-ring.is-in .svc-ring-node.is-ghost { opacity: 0.3; }
.svc-ring-node.is-ghost .svc-ring-disc { border-style: dashed; }

.svc-ring.is-in .svc-ring-node.is-included { opacity: 0.7; }

.svc-ring.is-in .svc-ring-node.is-done { opacity: 1; }
.svc-ring-node.is-done .svc-ring-disc { border-color: var(--pink-glow); background: color-mix(in oklab, var(--pink) 14%, var(--bg-elev)); }
.svc-ring-node.is-done .svc-ring-label { color: var(--fg-dim); }

.svc-ring.is-in .svc-ring-node.is-current { opacity: 1; }
.svc-ring-node.is-current { width: clamp(46px, 6.4vw, 74px); z-index: 2; }
.svc-ring-node.is-current .svc-ring-disc {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 0 0 6px var(--pink-glow), 0 6px 22px -5px var(--pink-glow);
}
.svc-ring-node.is-current .svc-ring-label { color: var(--fg); font-size: clamp(0.72rem, 1.25vw, 0.95rem); }

@media (max-width: 860px) {
  .svc1-wrap {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vh, 3rem);
  }
  .svc1-ring-col { justify-content: center; order: -1; }
  .svc-ring { max-width: min(72vw, 320px); }
  .svc1-name { font-size: clamp(3rem, 18vw, 7rem); }
}

@media print {
  .svc-ring-node { opacity: 1 !important; }
  .svc-ring-disc { transform: scale(1) !important; }
  .svc-ring-hub { opacity: 1 !important; }
}

/* ============================================
   SERVICE MAP — radial, scroll-driven process map.
   Tall section; an inner .svc-map-sticky pins to the viewport while
   the user scrolls. Scroll sweeps a progress arc around the ring;
   included stages ignite, stages not sold stay ghosted.
   ============================================ */
section.svc-map {
  position: relative;
  min-height: 340vh;            /* scrollytelling track */
  background: var(--bg);
}
.svc-map-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vh, 2.5rem) var(--gut);
  overflow: hidden;
}

/* --- Heading --- */
.svc-map-head {
  text-align: center;
  margin-bottom: clamp(0.5rem, 1.5vh, 1.2rem);
  z-index: 4;
}
.svc-map-eyebrow {
  display: block;
  color: var(--pink);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}
.svc-map-title {
  margin: 0;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 0.96;
}

/* --- Stage (square ring container) --- */
.svc-map-stage {
  position: relative;
  width: min(62vh, 88vw, 640px);
  aspect-ratio: 1 / 1;
  flex: none;
}
.svc-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.svc-map-ring {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 0.4;
}
.svc-map-spoke {
  stroke: var(--line);
  stroke-width: 0.3;
  transition: stroke 0.5s var(--ease-out);
}
.svc-map-spoke.is-ghost { stroke: rgba(245, 241, 234, 0.04); }
.svc-map-spoke.is-lit {
  stroke: var(--pink-glow);
  stroke-width: 0.45;
}
.svc-map-arc {
  fill: none;
  stroke: var(--pink);
  stroke-width: 0.7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 3px var(--pink-glow));
}

/* --- Center hub --- */
.svc-map-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  pointer-events: none;
}
.svc-map-hub svg { opacity: 0.9; }
.svc-map-hub-count {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.svc-map-hub-num {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--pink);
}
.svc-map-hub-of {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
}

/* --- Nodes --- */
.svc-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: clamp(46px, 6vw, 64px);
  z-index: 3;
}
.svc-node-disc {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line-strong);
  background: var(--bg-elev);
  transition: transform 0.5s var(--ease-out), background 0.5s var(--ease-out),
              border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}
.svc-node-disc svg { opacity: 0.5; transition: opacity 0.5s var(--ease-out); }
.svc-node-lock {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fg-mute);
  opacity: 0.5;
}
.svc-node-label {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
  width: clamp(74px, 13vw, 116px);
}
.svc-node-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(0.78rem, 1.5vw, 1.05rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--fg-dim);
  transition: color 0.5s var(--ease-out);
}
.svc-node-worker {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.5s var(--ease-out), color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

/* Ghost stages — visible but clearly "off" (not part of this scope) */
.svc-node.is-ghost { opacity: 0.34; }
.svc-node.is-ghost .svc-node-disc { border-style: dashed; }

/* Included-but-not-yet-reached — dim, awaiting ignition */
.svc-node.is-included .svc-node-disc { border-color: var(--line-strong); }

/* Lit — the sweep has reached an included stage */
.svc-node.is-lit .svc-node-disc {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 0 0 5px var(--pink-glow), 0 6px 22px -6px var(--pink-glow);
}
.svc-node.is-lit .svc-node-disc svg { opacity: 1; }
.svc-node.is-lit .svc-node-name { color: var(--fg); }
.svc-node.is-lit .svc-node-worker { opacity: 1; transform: none; color: var(--pink-soft); }

/* Active — the currently-narrated stage gets a gentle emphasis */
.svc-node.is-active .svc-node-disc { transform: scale(1.12); }
.svc-node.is-active .svc-node-name { color: #fff; }

/* --- HUD (caption + dots) --- */
.svc-map-hud {
  width: 100%;
  max-width: 760px;
  margin-top: clamp(0.8rem, 2.5vh, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 4;
}
.svc-map-caption {
  min-height: 4.4em;
  text-align: center;
  animation: svc-map-fade 0.5s var(--ease-out);
}
.svc-map-cap-lead {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: var(--fg-dim);
  max-width: 52ch;
  text-wrap: pretty;
}
.svc-map-cap-top {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.svc-map-cap-name {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1;
}
.svc-map-cap-weeks {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}
.svc-map-cap-worker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--pink-soft);
}
.svc-map-cap-diamond {
  width: 8px; height: 8px;
  background: var(--pink);
  transform: rotate(45deg);
  flex: none;
}
.svc-map-cap-tag {
  margin: 0.7rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--fg-dim);
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}
@keyframes svc-map-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.svc-map-dots {
  display: flex;
  gap: 0.5rem;
}
.svc-map-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.svc-map-dot.is-ghost { opacity: 0.4; }
.svc-map-dot.is-lit { background: var(--pink-glow); border-color: var(--pink); }
.svc-map-dot.is-active { background: var(--pink); border-color: var(--pink); transform: scale(1.3); }

@media (max-width: 720px) {
  .svc-map-stage { width: min(56vh, 92vw); }
  .svc-node { width: clamp(58px, 22vw, 96px); }
  .svc-node-worker { display: none; }
}

/* Print: render the map flat with all included stages lit. */
@media print {
  section.svc-map { min-height: auto; }
  .svc-map-sticky { position: static; height: auto; min-height: 90vh; }
  .svc-map-arc { display: none; }
  .svc-node.is-included .svc-node-disc {
    background: var(--pink); border-color: var(--pink);
  }
  .svc-node.is-included .svc-node-disc svg { opacity: 1; }
  .svc-node.is-included .svc-node-name { color: var(--fg); }
  .svc-node.is-included .svc-node-worker { opacity: 1; transform: none; }
}

/* CTA section */
.cta-block {
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(700px 360px at 0% 0%, color-mix(in oklab, var(--pink) 25%, transparent), transparent 60%),
    var(--bg-elev);
  position: relative;
  overflow: hidden;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.cta-title .em {
  font-family: var(--font-sans);
  font-weight: 300;
  text-transform: none;
  color: var(--pink);
}

/* Footer */
footer.foot {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  scroll-snap-align: start;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Float controls (download button) */
.float-actions {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.float-actions.hide {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.float-actions .btn {
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  background: var(--pink);
  color: var(--bg);
  border-color: var(--pink);
}
.float-actions .btn:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

/* Image placeholders */
.img-ph {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(245, 241, 234, 0.03) 0 14px,
      rgba(245, 241, 234, 0.06) 14px 28px),
    var(--bg-elev);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-ph::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* Aspect helpers */
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-1-1 { aspect-ratio: 1 / 1; }
.aspect-3-4 { aspect-ratio: 3 / 4; }

/* Utility */
.row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.gap-sm { gap: 0.5rem; }
.gap-lg { gap: 2rem; }
.col { display: flex; flex-direction: column; gap: 1rem; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 3rem; }
.text-pink { color: var(--pink); }
.text-dim { color: var(--fg-dim); }
.text-mute { color: var(--fg-mute); }
.no-print {} /* used in print.css */


/* ============================================
   TOGETHER — three-act story (Intro · Holding · Stagwell)
   The section is a 300vh container. Each act is a 100vh scroll-snap slide.
   Bg colour shifts between acts using the same scroll-linked pattern as the
   rest of the deck.
   ============================================ */
#together {
  position: relative;
  width: 100%;
  /* Acts handle their own snap; the outer section opts out */
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  /* Opt out of the global `section` block padding — the inner slides are
     full-height and manage their own spacing; the padding would otherwise
     show as bg-coloured bands above/below the slides. */
  padding: 0;
  background: #0a0a0a;
}

.tg-slide {
  position: relative;
  width: 100%;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 5vw, 5rem);
  overflow: hidden;
}

/* ---------- ACT 1 — Intro ---------- */
.tg-intro {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  gap: clamp(1.2rem, 2.4vh, 1.8rem);
  padding-top: clamp(3.5rem, 8vh, 6rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
  /* Let the intro grow past 100vh so the logo wall never gets clipped on
     tall/wide viewports (min-height:100vh keeps it full when content fits). */
  height: auto;
  overflow: visible;
}
.tg-intro-eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.tg-intro.is-in .tg-intro-eyebrow { opacity: 1; transform: translateY(0); }

.tg-intro-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  max-width: 18ch;
  text-wrap: balance;
  margin: 0;
}
.tg-intro-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.tg-intro-line:nth-child(3) {
  /* Period emphasis — slightly offset */
  font-style: italic;
  color: #ef0c75;
}
.tg-intro.is-in .tg-intro-line { opacity: 1; transform: translateY(0); }

.tg-intro-sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.45;
  max-width: 56ch;
  color: rgba(255,255,255,0.7);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out) 0.45s, transform 0.8s var(--ease-out) 0.45s;
}
.tg-intro.is-in .tg-intro-sub { opacity: 1; transform: translateY(0); }

/* ---------- ACT 1 — Logo wall under the intro message ---------- */
.tg-logos {
  width: 100%;
  max-width: 1240px;
  margin-top: clamp(1.4rem, 3vh, 2.6rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.4rem, 1.2vw, 1.2rem) clamp(0.6rem, 1.6vw, 1.6rem);
  align-items: center;
  justify-items: center;
}
@media (max-width: 720px) {
  .tg-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tg-logo-cell {
  position: relative;
  width: 100%;
  height: clamp(80.5px, 11.5vh, 126.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: calc(0.45s + var(--i) * 0.07s);
}
.tg-intro.is-in .tg-logo-cell { opacity: 1; transform: translateY(0); }
.tg-logo-cell img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
/* Individual logo size tweaks */
.tg-logo-cell[data-logo="migrante"] img { transform: scale(0.8); }
.tg-logo-cell[data-logo="solido"] img   { transform: scale(1.2); }
.tg-logo-cell[data-logo="buentipo"] img { transform: scale(1.2); }
.tg-logo-cell[data-logo="buentipo"] {
  overflow: hidden;
  box-sizing: border-box;
}

/* ---------- ACT 2 — We are Stagwell ---------- */
.tg-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  background: #0a0a0a;
  color: #fff;
  border-radius: clamp(22px, 2.4vw, 32px);
  padding: clamp(2.4rem, 5vh, 4.2rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.6rem, 3vh, 2.4rem);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out) 0.15s, transform 0.9s var(--ease-out) 0.15s;
}
.tg-stag.is-in .tg-card { opacity: 1; transform: translateY(0); }

.tg-stag {
  background: #0a0a0a;
  color: #fff;
  padding-top: clamp(2rem, 5vh, 4rem);
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
  gap: 0;
}
.tg-stag-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1rem, 2vh, 1.6rem) 0;
}

.tg-stag-h-card {
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.tg-stag.is-in .tg-stag-h-card { opacity: 1; transform: translateY(0); }

.tg-stag-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 11vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: clamp(-3.5rem, -6vh, -2.5rem);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.tg-stag.is-in .tg-stag-h { opacity: 1; transform: translateY(0); }

.tg-stag-card {
  background: #0a0a0a;
  color: #fff;
  padding: clamp(2rem, 4vh, 3.2rem) clamp(1.8rem, 4vw, 3.4rem);
}
.tg-stag-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.6rem, 3.4vw, 3rem);
  align-items: stretch;
}
@media (max-width: 820px) {
  .tg-stag-grid { grid-template-columns: 1fr; }
}
.tg-stag-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.8rem, 2vh, 1.6rem);
}

.tg-stag-body {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1.25;
  font-weight: 400;
  margin: 0;
  color: rgba(255,255,255,0.85);
}
.tg-stag-body strong {
  color: #fff;
  font-weight: 800;
  font-style: italic;
}

/* Video tile — clickable, fullscreen on click */
.tg-video {
  position: relative;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: clamp(12px, 1.4vw, 18px);
  overflow: hidden;
  display: block;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
  background-color: #111;
}
.tg-video:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 28px 60px -30px rgba(0,0,0,0.6); }
.tg-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  /* Iframe must not capture clicks — they should reach the wrapper button so
     it can request fullscreen. The fullscreen API still fullscreens the
     iframe even when its pointer events are off. */
  pointer-events: none;
}
.tg-video-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: rgba(255,255,255,0.65);
  padding: 1.2rem;
  text-align: center;
}
.tg-video-fallback-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.5);
}
.tg-video-fallback-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 32ch;
}
.tg-video-fallback code {
  font-family: var(--font-mono);
  background: rgba(255,255,255,0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  color: #fff;
  white-space: nowrap;
}
.tg-audio-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(10,10,10,0.65);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}
.tg-audio-btn:hover { background: rgba(239,12,117,0.85); transform: scale(1.1); }

.tg-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.45));
  transition: transform 0.35s var(--ease-out);
}
.tg-video:hover .tg-video-play { transform: scale(1.08); }
.tg-video-sound-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.tg-stag-caption {
  width: 100%;
  text-align: right;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
}
@media (max-width: 820px) {
  .tg-stag-caption { text-align: center; }
}


/* ---------- Stagwell stats row + client marquee ---------- */
.tg-stag-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 2vw, 1.8rem);
  padding-top: clamp(1rem, 2.4vh, 1.8rem);
  border-top: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 820px) {
  .tg-stag-stats { grid-template-columns: repeat(2, 1fr); }
}
.tg-stag-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(0.35s + var(--i) * 0.09s);
}
.tg-stag.is-in .tg-stag-stat { opacity: 1; transform: translateY(0); }
.tg-stag-stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
}
.tg-stag-stat-label {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  line-height: 1.3;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}

/* Client marquee — endless horizontal scroll */
.tg-stag-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-top: clamp(1rem, 2vh, 1.4rem);
  border-top: 1px solid rgba(255,255,255,0.12);
  /* fade edges */
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.tg-stag-marquee-track {
  display: flex;
  gap: clamp(2rem, 4vw, 3.5rem);
  width: max-content;
  animation: tg-marquee 38s linear infinite;
  align-items: center;
}
.tg-stag-marquee-item {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.tg-stag-marquee-item::after {
  content: '·';
  margin-left: clamp(2rem, 4vw, 3.5rem);
  color: rgba(255,255,255,0.25);
}
@keyframes tg-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tg-stag-marquee-track { animation: none; }
}

/* Stagwell card: tighter video so the stats + marquee fit comfortably */
.tg-stag-card { gap: clamp(1.2rem, 2.4vh, 2rem); }
.tg-stag-card .tg-video { max-width: 100%; }


/* ============================================
   AWARDS — "We don't make noise. We make history."
   Two-slide section: bold manifesto title, then a featured Clutch card +
   three secondary award cards. Light palette (matches the "intelligence",
   "intro-colony", "stagwell-when-light" rhythm) — Stagwell exits black so
   the entry uses the same scroll-linked colour shift as the other section
   boundaries.
   ============================================ */
#awards {
  position: relative;
  width: 100%;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  /* Opt out of the global `section` block padding — without this the parent's
     padding showed as bg-coloured bands above/below the slides. */
  padding: 0;
  /* Parent is black to match the Stagwell slide above and the aw-intro slide's
     black entry — any sub-pixel seam at the top therefore reads as black.
     The bottom seam (aw-display grey → Clients grey) is flush since there is
     no longer any padding, so the parent colour never shows there. */
  background: #0a0a0a;
}

.aw-slide {
  position: relative;
  width: 100%;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 7vh, 5rem) clamp(1.5rem, 5vw, 5rem);
  overflow: hidden;
}

/* ---------- Intro (manifesto title) ---------- */
.aw-intro {
  background: #EEEEEE;
  color: #0a0a0a;
  text-align: center;
  gap: clamp(1.4rem, 3vh, 2.2rem);
}
/* Scroll-linked entry: hold the previous slide's black during the first
   stretch, then fade to the section's light grey. Matches the cadence used
   elsewhere. */
@supports (animation-timeline: view()) {
  .aw-intro {
    animation: aw-intro-bg linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
  @keyframes aw-intro-bg {
    0%   { background-color: #0a0a0a; }
    65%  { background-color: #0a0a0a; }
    100% { background-color: #EEEEEE; }
  }
  /* Text crossfades alongside the bg so it stays legible during the fade. */
  .aw-intro {
    color: var(--aw-fg, #0a0a0a);
    animation: aw-intro-bg linear both, aw-intro-fg linear both;
    animation-timeline: view(), view();
    animation-range: entry 0% entry 100%, entry 0% entry 100%;
  }
  @keyframes aw-intro-fg {
    0%   { color: #fff; }
    65%  { color: #fff; }
    100% { color: #0a0a0a; }
  }
}

.aw-intro-eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.aw-intro.is-in .aw-intro-eyebrow { opacity: 0.55; transform: translateY(0); }

.aw-intro-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9.5vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  max-width: 16ch;
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.aw-intro-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.aw-intro.is-in .aw-intro-line { opacity: 1; transform: translateY(0); }
.aw-intro-line:nth-child(2) {
  /* Italic emphasis for the "we make history" punchline */
  font-style: italic;
}

.aw-intro-sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  line-height: 1.4;
  max-width: 50ch;
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease-out) 0.4s, transform 0.8s var(--ease-out) 0.4s;
}
.aw-intro.is-in .aw-intro-sub { opacity: 0.7; transform: translateY(0); }

/* ---------- Display slide (featured + secondary stack) ---------- */
.aw-display {
  background: #EEEEEE;
  color: #0a0a0a;
  padding-top: clamp(2rem, 5vh, 4rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
  gap: clamp(1rem, 2.4vh, 2rem);
}
.aw-display-head {
  width: 100%;
  max-width: 1380px;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.aw-display.is-in .aw-display-head { opacity: 1; transform: translateY(0); }
.aw-display-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  color: #0a0a0a;
}
.aw-grid {
  width: 100%;
  max-width: 1380px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: stretch;
}
@media (max-width: 900px) {
  .aw-grid { grid-template-columns: 1fr; }
}

/* Featured (Clutch) */
.aw-featured {
  background: #0a0a0a;
  color: #fff;
  border-radius: clamp(16px, 1.6vw, 22px);
  padding: clamp(1.6rem, 3vh, 2.6rem) clamp(1.4rem, 2.4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vh, 1.6rem);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: 0.1s;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.35);
}
.aw-display.is-in .aw-featured { opacity: 1; transform: translateY(0); }

.aw-featured-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
  padding-bottom: clamp(0.8rem, 1.4vh, 1.2rem);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.aw-featured-logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ef0c75; /* Antpack fucsia accent */
  line-height: 1;
}
.aw-featured-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 0.95vw, 0.95rem);
  color: rgba(255,255,255,0.55);
  text-align: right;
  max-width: 24ch;
  line-height: 1.3;
}
@media (max-width: 600px) {
  .aw-featured-head { flex-direction: column; align-items: flex-start; }
  .aw-featured-tagline { text-align: left; }
}

.aw-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1vw, 1rem);
}
@media (max-width: 600px) {
  .aw-cats { grid-template-columns: 1fr; }
}
.aw-cat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: clamp(0.7rem, 1.3vh, 1rem) clamp(0.7rem, 1.2vw, 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: clamp(80px, 11vh, 110px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  transition-delay: calc(0.3s + var(--i) * 0.05s);
}
.aw-display.is-in .aw-cat { opacity: 1; transform: translateY(0); }
.aw-cat-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(0.88rem, 1.1vw, 1.05rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}
.aw-cat-where {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.55);
  margin-top: auto;
}

/* Secondary stack */
.aw-side {
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1.6vh, 1.2rem);
}
.aw-side-card {
  background: #fff;
  border-radius: clamp(14px, 1.4vw, 18px);
  padding: clamp(0.9rem, 1.6vh, 1.3rem);
  display: grid;
  grid-template-columns: clamp(70px, 9vw, 100px) 1fr;
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
  align-items: center;
  flex: 1;
  min-height: 0;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(0.15s + var(--i) * 0.1s);
  box-shadow: 0 14px 36px -22px rgba(0,0,0,0.25);
  border-top: 3px solid var(--accent, #0a0a0a);
}
.aw-display.is-in .aw-side-card { opacity: 1; transform: translateX(0); }
.aw-side-logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #f3f3f3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aw-side-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.aw-side-card--gptw .aw-side-logo { background: #E51924; }
.aw-side-card--ingenio .aw-side-logo { background: #0d2231; }
.aw-side-card--lad .aw-side-logo { background: #fff; padding: 0.5rem; }

.aw-side-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.aw-side-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #0a0a0a;
}
.aw-side-year {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85em;
  color: rgba(0,0,0,0.5);
}
.aw-side-meta {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 0.92vw, 0.92rem);
  line-height: 1.35;
  color: rgba(0,0,0,0.62);
}


/* ============================================
   OUR CLIENTS — filterable client wall
   Sits between Awards (light #EEEEEE) and Stack Diff (pink).  Same light
   palette as Awards so the seam is invisible; an off-white grid surface
   for the logo tiles so each wordmark reads cleanly.
   ============================================ */
.oc {
  position: relative;
  width: 100%;
  background: #EEEEEE;
  color: #0a0a0a;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.oc-stage {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(3rem, 7vh, 5rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 6vh, 4.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vh, 2.4rem);
}

.oc-head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.oc.is-in .oc-head,
.oc-stage.is-in .oc-head { opacity: 1; transform: translateY(0); }

.oc-eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}

.oc-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
  color: #0a0a0a;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.3em;
}
.oc-title-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.oc-stage.is-in .oc-title-line { opacity: 1; transform: translateY(0); }

.oc-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.5;
  max-width: 56ch;
  margin: 0;
  color: rgba(10, 10, 10, 0.65);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s var(--ease-out) 0.25s, transform 0.8s var(--ease-out) 0.25s;
}
.oc-stage.is-in .oc-sub { opacity: 1; transform: translateY(0); }

/* ---------- Filter chips ---------- */
.oc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease-out) 0.3s, transform 0.7s var(--ease-out) 0.3s;
}
.oc-stage.is-in .oc-filters { opacity: 1; transform: translateY(0); }

.oc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 10, 0.16);
  background: transparent;
  color: #0a0a0a;
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.22s var(--ease-out),
    color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out),
    transform 0.18s var(--ease-out);
}
.oc-chip:hover {
  border-color: rgba(10, 10, 10, 0.55);
  transform: translateY(-1px);
}
.oc-chip.is-on {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}
.oc-chip.is-on .oc-chip-count {
  background: #ef0c75;
  color: #fff;
  border-color: #ef0c75;
}
.oc-chip-label {
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: 0.01em;
}
.oc-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6em;
  height: 1.4em;
  padding: 0 0.4em;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.07);
  color: rgba(10, 10, 10, 0.7);
  font-family: var(--font-mono);
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}

/* ---------- Logo grid ---------- */
.oc-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.4vw, 1.3rem);
}
@media (max-width: 1100px) { .oc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 800px)  { .oc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .oc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.oc-cell {
  position: relative;
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 1vw, 1rem);
  text-align: center;
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
  opacity: 0;
  transform: scale(0.96) translateY(8px);
}
.oc-stage.is-in .oc-cell {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: calc(var(--seq, 0) * 14ms);
}

.oc-mark {
  display: inline-block;
  color: #0a0a0a;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.oc-cell:hover .oc-mark { transform: scale(1.04); }

/* Real logo images — normalized to a uniform optical size */
.oc-logo {
  max-width: 76%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s var(--ease-out);
}
.oc-logo--big {
  max-width: 92%;
  max-height: 58px;
}
.oc-cell:hover .oc-logo { transform: scale(1.05); }

/* ============================================
   CLIENT INTRO — Chapter 02 transition
   ============================================ */
.ci {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 5vw, 5rem);
}
.ci-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(2rem, 5vh, 3.4rem);
}
.ci-eyebrow {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.2rem);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.ci-stage.is-in .ci-eyebrow { opacity: 1; transform: none; }
.ci-eyebrow-rule {
  width: clamp(28px, 5vw, 56px);
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-out) 0.15s;
}
.ci-stage.is-in .ci-eyebrow-rule { transform: scaleX(1); }
.ci-eyebrow-label {
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.ci-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.ci-logo { width: auto; object-fit: contain; }
.ci-logo-antpack {
  height: clamp(28px, 4vw, 46px);
  opacity: 0;
  transform: translateX(-55px) scale(0.96);
  transition: opacity 0.9s var(--ease-out) 0.2s, transform 0.9s var(--ease-out) 0.2s;
}
.ci-logo-client {
  height: clamp(40px, 6vw, 72px);
  filter: invert(1);
  opacity: 0;
  transform: translateX(55px) scale(0.96);
  transition: opacity 0.9s var(--ease-out) 0.2s, transform 0.9s var(--ease-out) 0.2s;
}
.ci-stage.is-in .ci-logo-antpack,
.ci-stage.is-in .ci-logo-client { opacity: 1; transform: none; }
.ci-cross {
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  opacity: 0;
  transform: scale(0.2) rotate(-120deg);
  transition: opacity 0.5s var(--ease-out) 0.8s, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s;
}
.ci-stage.is-in .ci-cross { opacity: 1; transform: scale(1) rotate(0deg); }
.ci-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  max-width: 640px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease-out) 1.05s, transform 1s var(--ease-out) 1.05s;
}
.ci-stage.is-in .ci-body { opacity: 1; transform: none; }
.ci-name {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}
.ci-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.ci-copy {
  margin-top: clamp(1rem, 2.5vh, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}
.ci-text {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  text-wrap: pretty;
}

/* ============================================
   THE ASK — our interpretation of the brief
   ============================================ */
.ta {
  position: relative;
  width: 100%;
  background: var(--pink);
  color: #0a0a0a;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(4rem, 12vh, 8rem) clamp(1.5rem, 5vw, 5rem);
  transition: background-color 0.7s var(--ease-out);
}
.ta.is-in { background: #EEEEEE; }
.ta-stage {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vh, 3.4rem);
}
.ta-head {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 3vh, 2rem);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out) 0.45s, transform 0.9s var(--ease-out) 0.45s;
}
.ta-stage.is-in .ta-head { opacity: 1; transform: none; }
.ta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
}
.ta-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
}
.ta-lead {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
  color: #0a0a0a;
}
.ta-body {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.66);
  margin: 0;
  max-width: 56ch;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out) 0.58s, transform 0.9s var(--ease-out) 0.58s;
}
.ta-stage.is-in .ta-body { opacity: 1; transform: none; }
.ta-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  padding-top: clamp(0.5rem, 2vh, 1.2rem);
  border-top: 1px solid rgba(10, 10, 10, 0.14);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out) 0.7s, transform 0.9s var(--ease-out) 0.7s;
}
.ta-stage.is-in .ta-points { opacity: 1; transform: none; }
@media (max-width: 760px) { .ta-points { grid-template-columns: 1fr; gap: 1.6rem; } }
.ta-point {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ta-point-rule {
  width: 32px;
  height: 2px;
  background: var(--pink);
  margin-bottom: 0.2rem;
}
.ta-point-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.15;
  color: #0a0a0a;
  margin: 0;
}
.ta-point-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.62);
  margin: 0;
  text-wrap: pretty;
}

/* ============================================
   CURRENT STATE — big diagnosis divider
   ============================================ */
.cs2 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #EEEEEE;
  color: var(--fg);
  display: flex;
  align-items: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 5vw, 5rem);
  transition: background-color 0.8s var(--ease-out);
}
.cs2.is-in { background: #0a0a0a; }
.cs2-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3.5vh, 2.4rem);
}
.cs2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-mute);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out) 0.4s, transform 0.7s var(--ease-out) 0.4s;
}
.cs2.is-in .cs2-eyebrow { color: rgba(245, 241, 234, 0.6); }
.cs2-stage.is-in .cs2-eyebrow { opacity: 1; transform: none; }
.cs2-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(239, 12, 117, 0.6);
  animation: cs2-pulse 1.8s ease-out infinite;
}
@keyframes cs2-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 12, 117, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(239, 12, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 12, 117, 0); }
}
.cs2-title {
  margin: 0;
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-size: clamp(3.5rem, 16vw, 13rem);
}
.cs2-line {
  display: block;
  overflow: hidden;
}
.cs2-line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0a0a0a;
}
.cs2.is-in .cs2-line-inner { color: #f5f1ea; }
.cs2.is-in .cs2-line-inner.is-accent { color: var(--pink); }
.cs2-stage.is-in .cs2-line-inner { transform: translateY(0); }
.cs2-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0;
  max-width: 52ch;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out) 1s, transform 0.9s var(--ease-out) 1s;
}
.cs2.is-in .cs2-lead { color: rgba(245, 241, 234, 0.7); }
.cs2-stage.is-in .cs2-lead { opacity: 1; transform: none; }

/* Future State divider — continues the magenta chapter (magenta paper,
   black ink, white accent line). */
.fs2.is-in { background: var(--pink); }
.fs2.is-in .cs2-eyebrow { color: rgba(10, 10, 10, 0.6); }
.fs2 .cs2-live { background: #0a0a0a; }
.fs2.is-in .cs2-line-inner { color: #0a0a0a; }
.fs2.is-in .cs2-line-inner.is-accent { color: #ffffff; }
.fs2.is-in .cs2-lead { color: rgba(10, 10, 10, 0.78); }

/* ============================================
   THE ADVANTAGE — secret-sauce bridge (Current → Future)
   ============================================ */
.adv {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #EEEEEE;
  color: var(--fg);
  display: flex;
  align-items: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(4rem, 11vh, 8rem) clamp(1.5rem, 5vw, 5rem);
  transition: background-color 0.8s var(--ease-out);
}
.adv.is-in { background: #0a0a0a; }
.adv-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.1s var(--ease-out) 0.3s;
  pointer-events: none;
}
.adv.is-in .adv-bg { opacity: 1; }
.adv-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1100px 620px at 50% 38%, rgba(10,10,10,0) 0%, #0a0a0a 80%);
}
.adv-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 3.6vh, 2.6rem);
}
.adv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-mute);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out) 0.35s, transform 0.7s var(--ease-out) 0.35s, color 0.8s var(--ease-out);
}
.adv.is-in .adv-eyebrow { color: rgba(245, 241, 234, 0.6); }
.adv-stage.is-in .adv-eyebrow { opacity: 1; transform: none; }
.adv-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(239, 12, 117, 0.6);
  animation: cs2-pulse 1.8s ease-out infinite;
}
.adv-title {
  margin: 0;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 11vw, 8.5rem);
}
.adv-line {
  display: block;
  overflow: hidden;
}
.adv-line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s var(--ease-out);
  color: #0a0a0a;
}
.adv.is-in .adv-line-inner { color: #f5f1ea; }
.adv.is-in .adv-line-inner.is-accent { color: var(--pink); }
.adv-stage.is-in .adv-line-inner { transform: translateY(0); }
.adv-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0;
  max-width: 58ch;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out) 1s, transform 0.9s var(--ease-out) 1s, color 0.8s var(--ease-out);
}
.adv.is-in .adv-lead { color: rgba(245, 241, 234, 0.74); }
.adv-stage.is-in .adv-lead { opacity: 1; transform: none; }

/* --- The secret sauce: fuchsia pour-line + oozing drips --- */
.adv-sauce {
  position: relative;
  align-self: flex-start;
  width: min(100%, 720px);
  height: 92px;
  margin-top: clamp(-1.2rem, -1.4vh, -0.6rem);
  pointer-events: none;
}
.adv-sauce-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 11px;
  background: var(--pink);
  border-radius: 0 0 5px 5px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.85s var(--ease-out) 0.9s;
}
.adv-stage.is-in .adv-sauce-bar { transform: scaleX(1); }
.adv-drip {
  position: absolute;
  top: 7px;
  width: clamp(13px, 1.6vw, 20px);
  margin-left: clamp(-10px, -0.8vw, -6px);
  background: var(--pink);
  border-radius: 0 0 999px 999px;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.95s cubic-bezier(0.55, 0, 0.25, 1) var(--dd, 1s);
}
.adv-stage.is-in .adv-drip { transform: scaleY(1); }
.adv-drip::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  transform: translateX(-50%) scale(0);
  transition: transform 0.45s var(--ease-out) calc(var(--dd, 1s) + 0.65s);
}
.adv-stage.is-in .adv-drip::after { transform: translateX(-50%) scale(1); }
@media (max-width: 820px) { .adv-sauce { height: 76px; } }

/* --- The engine recall (reconnects to The Colony) --- */
.adv-engine {
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 2.6vh, 1.8rem);
  padding-top: clamp(1.4rem, 3.5vh, 2.4rem);
  border-top: 1px solid rgba(245, 241, 234, 0.14);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out) 1.2s, transform 0.9s var(--ease-out) 1.2s;
}
.adv-stage.is-in .adv-engine { opacity: 1; transform: none; }
.adv-engine-head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.adv-engine-label {
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.45);
}
.adv-engine-name {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--pink);
  letter-spacing: -0.01em;
}
.adv-recall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
}
@media (max-width: 820px) { .adv-recall { grid-template-columns: 1fr; gap: 1.4rem; } }
.adv-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(245, 241, 234, 0.12);
}
.adv-tile-num {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.8;
  color: #f5f1ea;
  letter-spacing: -0.03em;
}
.adv-tile-k {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.15;
  color: #f5f1ea;
}
.adv-tile-v {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(245, 241, 234, 0.6);
  text-wrap: pretty;
}
.adv-backbone {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.55;
  color: rgba(245, 241, 234, 0.55);
  max-width: 66ch;
  text-wrap: pretty;
}
.adv-forward {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease-out) 1.45s, transform 0.9s var(--ease-out) 1.45s;
}
.adv-stage.is-in .adv-forward { opacity: 1; transform: none; }
.adv-forward-rule {
  width: clamp(28px, 5vw, 56px);
  height: 2px;
  background: var(--pink);
}
.adv-forward-text {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  letter-spacing: 0.01em;
  color: rgba(245, 241, 234, 0.85);
}
.adv-forward-arrow {
  color: var(--pink);
  font-size: 1.1em;
  animation: adv-bob 1.8s ease-in-out infinite;
}
@keyframes adv-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============================================================
   MAGENTA CHAPTER — the "secret sauce" reveal and the two slides
   that follow it (Advantage · Cronograma · Metodología).
   Concept: magenta paper, black ink. The black SECRET SAUCE words
   pour real black sauce; the chapter then carries the same
   magenta + black-ink palette into the next two sections.
   ============================================================ */

/* --- Advantage: full magenta reveal --- */
.adv.is-in { background: var(--pink); }
.adv-bg::after {
  background: radial-gradient(1100px 620px at 50% 38%, rgba(239,12,117,0) 0%, var(--pink) 80%);
}
.adv.is-in .adv-eyebrow { color: rgba(255, 255, 255, 0.7); }
.adv-eyebrow-dot { background: #ffffff; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
.adv.is-in .adv-line-inner { color: #ffffff; }
.adv.is-in .adv-line-inner.is-accent { color: #0a0a0a; }
.adv.is-in .adv-lead { color: rgba(255, 255, 255, 0.9); }
/* black sauce pouring off the black words */
.adv-sauce-bar,
.adv-drip,
.adv-drip::after { background: #0a0a0a; }
.adv-engine { border-top-color: rgba(255, 255, 255, 0.28); }
.adv-engine-label { color: rgba(255, 255, 255, 0.65); }
.adv-engine-name { color: #ffffff; }
.adv-tile { border-top-color: rgba(255, 255, 255, 0.28); }
.adv-tile-num,
.adv-tile-k { color: #ffffff; }
.adv-tile-v { color: rgba(255, 255, 255, 0.78); }
.adv-backbone { color: rgba(255, 255, 255, 0.7); }
.adv-forward-rule { background: #ffffff; }
.adv-forward-text { color: #ffffff; }
.adv-forward-arrow { color: #ffffff; }

/* --- Metodología: continue the magenta chapter --- */
#method {
  background: var(--pink);
  color: #0a0a0a;
}
#method .sec-num { color: rgba(10, 10, 10, 0.6); }
#method h2.display,
#method .lead { color: #0a0a0a; }

/* method steps → black ink on magenta */
#method .method-step { border-top-color: rgba(10, 10, 10, 0.18); }
#method .method-step:last-child { border-bottom-color: rgba(10, 10, 10, 0.18); }
#method .method-step-num { color: #0a0a0a; }
#method .method-step h4 { color: #0a0a0a; }
#method .method-step p { color: rgba(10, 10, 10, 0.74); }

/* ============================================
   DIAGNOSIS — Current State chapter (4 sections)
   ============================================ */
.dg {
  width: 100%;
  background: #EEEEEE;
  color: #0a0a0a;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(4rem, 11vh, 7.5rem) clamp(1.5rem, 5vw, 5rem);
}
.dg-stage { max-width: 1200px; margin: 0 auto; }
.dg-head {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 2.2vh, 1.4rem);
  max-width: 62ch;
  margin-bottom: clamp(2.2rem, 5vh, 3.6rem);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.dg-stage.is-in .dg-head { opacity: 1; transform: none; }
.dg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
}
.dg-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.dg-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
.dg-lead {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.66);
  margin: 0;
  text-wrap: pretty;
}

/* 1. Services grid */
.dg-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
}
@media (max-width: 820px) { .dg-svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .dg-svc-grid { grid-template-columns: 1fr; } }
.dg-svc {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(10, 10, 10, 0.16);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i) * 70ms + 0.1s);
}
.dg-stage.is-in .dg-svc { opacity: 1; transform: none; }
.dg-svc-rule { width: 30px; height: 2px; background: var(--pink); }
.dg-svc-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  margin: 0;
}
.dg-svc-scope {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.6);
  margin: 0;
  text-wrap: pretty;
}

/* 2. Industry list */
.dg-ind-list { display: flex; flex-direction: column; }
.dg-ind-row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1rem, 2.2vh, 1.5rem) 0;
  border-top: 1px solid rgba(10, 10, 10, 0.16);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i) * 70ms + 0.1s);
}
.dg-ind-row:last-child { border-bottom: 1px solid rgba(10, 10, 10, 0.16); }
.dg-stage.is-in .dg-ind-row { opacity: 1; transform: none; }
.dg-ind-name {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  padding-top: 0.2rem;
}
.dg-ind-standard {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  color: #0a0a0a;
  text-wrap: pretty;
}
@media (max-width: 640px) { .dg-ind-row { grid-template-columns: 1fr; gap: 0.5rem; } }

/* 3. Competition */
.dg-comp-list { display: flex; flex-direction: column; gap: clamp(1.5rem, 3.5vh, 2.6rem); }
.dg-comp {
  padding-top: clamp(1.2rem, 2.5vh, 1.8rem);
  border-top: 1px solid rgba(10, 10, 10, 0.16);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i) * 90ms + 0.1s);
}
.dg-stage.is-in .dg-comp { opacity: 1; transform: none; }
.dg-comp-name {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
}
.dg-comp-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
}
@media (max-width: 640px) { .dg-comp-cols { grid-template-columns: 1fr; gap: 1rem; } }
.dg-comp-col { display: flex; flex-direction: column; gap: 0.4rem; }
.dg-comp-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}
.dg-comp-label-op { color: var(--pink); }
.dg-comp-text {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.72);
  margin: 0;
  text-wrap: pretty;
}

/* 4. Client diagnosis (traffic light) */
.dg-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dg-dot-good { background: #1f8a5b; }
.dg-dot-warn { background: #d9921f; }
.dg-dot-bad { background: #d83a3a; }
.dg-legend {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.4rem, 3vh, 2rem);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.dg-stage.is-in .dg-legend { opacity: 1; transform: none; }
.dg-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.6);
}
.dg-diag-list { display: flex; flex-direction: column; }
.dg-diag-row {
  display: grid;
  grid-template-columns: 14px minmax(110px, 180px) 1fr;
  gap: clamp(0.8rem, 2.5vw, 2rem);
  align-items: start;
  padding: clamp(1rem, 2.4vh, 1.6rem) 0;
  border-top: 1px solid rgba(10, 10, 10, 0.16);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i) * 70ms + 0.2s);
}
.dg-diag-row:last-child { border-bottom: 1px solid rgba(10, 10, 10, 0.16); }
.dg-stage.is-in .dg-diag-row { opacity: 1; transform: none; }
.dg-diag-row .dg-dot { margin-top: 0.45rem; }
.dg-diag-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.2;
}
.dg-diag-body { display: flex; flex-direction: column; gap: 0.85rem; }
.dg-diag-finding {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.72);
  margin: 0;
  text-wrap: pretty;
}
.dg-metrics { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.dg-metric {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(10, 10, 10, 0.16);
  background: #fff;
}
.dg-metric-k { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(10, 10, 10, 0.5); }
.dg-metric-v { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; }
.dg-metric-good { border-color: rgba(31, 138, 91, 0.4); }
.dg-metric-good .dg-metric-v { color: #1f8a5b; }
.dg-metric-warn { border-color: rgba(217, 146, 31, 0.45); }
.dg-metric-warn .dg-metric-v { color: #b6790f; }
.dg-metric-bad { border-color: rgba(216, 58, 58, 0.4); }
.dg-metric-bad .dg-metric-v { color: #d83a3a; }
@media (max-width: 640px) {
  .dg-diag-row { grid-template-columns: 16px 1fr; }
  .dg-diag-body { grid-column: 2; }
}

/* ---------- Footer counter ---------- */
.oc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.4rem;
}
.oc-foot-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.6);
}
.oc-foot-count strong {
  color: #ef0c75;
  font-weight: 700;
}

/* ============================================
   CASE STUDIES — draggable carousel (after Our Clients)
   Dark, gallery-style. Cards carry user-supplied imagery (<image-slot>).
   Track aligns its first card with the .wrap content edge; cards bleed to
   the right so a "peek" of the next card hints there's more to drag.
   ============================================ */
#case_studies.cs {
  background: #0a0a0a;
  color: var(--fg);
  overflow: hidden;
}

.cs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vh, 3.2rem);
}
.cs-eyebrow {
  color: var(--pink);
  margin-bottom: clamp(0.8rem, 2vh, 1.4rem);
}
.cs-head-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 60ch;
}
.cs-title {
  font-size: clamp(2.6rem, 7vw, 6rem);
  margin: 0;
  line-height: 0.92;
  padding-bottom: 0.04em;
}
.cs-title-line { display: block; }
.cs-title-line:nth-child(2) { color: var(--fg-mute); }
.cs-sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--fg-dim);
  margin: clamp(1.5rem, 3vh, 2.1rem) 0 0;
  max-width: 40ch;
}

.cs-nav {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 clamp(1.6rem, 3vh, 2.4rem);
}
.cs-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent;
  color: var(--fg-dim);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease-out), color 0.18s var(--ease-out), background 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.cs-chip:hover { border-color: rgba(255,255,255,0.4); color: var(--fg); transform: translateY(-1px); }
.cs-chip.is-on { background: var(--fg); border-color: var(--fg); color: #0a0a0a; }
.cs-chip.is-on .cs-chip-count { background: var(--pink); color: #fff; }
.cs-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.35em;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: var(--fg-dim);
  font-size: 0.72rem;
}
.cs-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
.cs-arrow:hover:not(:disabled) {
  background: var(--pink);
  border-color: var(--pink);
  color: #0a0a0a;
}
.cs-arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

/* --- Track --- */
.cs-track {
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.6rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  /* Lead-in padding aligns the first card with the .wrap content edge. */
  padding-inline: max(clamp(1.25rem, 4vw, 3rem), calc((100vw - 1440px) / 2));
  padding-block: 0.5rem;
}
.cs-track::-webkit-scrollbar { display: none; }
.cs-track.cs-dragging { cursor: grabbing; scroll-snap-type: none; }
.cs-track.cs-dragging * { cursor: grabbing; }

.cs-card {
  flex: 0 0 clamp(290px, 32vw, 420px);
  scroll-snap-align: start;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.cs-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}
.cs-card-more {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  transition: color 0.25s var(--ease-out);
}
.cs-card:hover .cs-card-more {
  color: var(--pink);
}
.cs-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
}
/* trailing spacer keeps a margin past the last card */
.cs-spacer {
  flex: 0 0 max(1px, calc((100vw - 1440px) / 2));
}

.cs-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #111;
  /* accent wash so empty slots read on-brand before images are dropped */
  box-shadow: inset 0 -60px 80px -60px color-mix(in oklab, var(--accent) 60%, transparent);
}
.cs-card-media image-slot {
  --image-slot-bg: #131313;
  /* Card slot is preview-only — clicks open the modal; image management
     happens in the modal hero (same id → updates both). */
  pointer-events: none;
}
.cs-card-index {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
}
.cs-card-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 2;
}
.cs-card-tag::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}
.cs-card-region {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(6px);
  padding: 4px 9px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
}

.cs-card-body {
  padding: clamp(1.3rem, 2vw, 1.7rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.cs-card-name {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 0.95;
  margin: 0;
}
.cs-card-impact {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--fg-dim);
  margin: 0;
  text-wrap: pretty;
}
.cs-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: auto;
  padding-top: clamp(1rem, 2vh, 1.3rem);
  border-top: 1px solid var(--line);
}
.cs-metric-num {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1;
  color: var(--pink);
}
.cs-metric-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-top: 0.35rem;
  line-height: 1.2;
}

/* --- Progress bar --- */
.cs-progress {
  margin-top: clamp(1.6rem, 3vh, 2.4rem);
}
.cs-progress-track {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.cs-progress-bar {
  height: 100%;
  background: var(--pink);
  border-radius: 2px;
  transform-origin: left center;
  transition: transform 0.18s linear;
}

@media (max-width: 720px) {
  .cs-head { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .cs-card { flex-basis: 80vw; }
  .cs-arrow { width: 48px; height: 48px; }
}

/* ============================================
   CASE STUDY MODAL
   ============================================ */
.csm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vh, 3rem) clamp(1rem, 4vw, 3rem);
  background: rgba(6, 6, 6, 0.78);
  backdrop-filter: blur(8px);
  animation: csm-fade 0.28s var(--ease-out) both;
}
@keyframes csm-fade { from { opacity: 0; } to { opacity: 1; } }

.csm-dialog {
  position: relative;
  width: min(880px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #111;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  color: var(--fg);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  animation: csm-rise 0.34s var(--ease-out) both;
  scrollbar-width: thin;
}
@keyframes csm-rise {
  from { opacity: 0; transform: translateY(26px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* Keep natural heights so the dialog scrolls instead of compressing content */
.csm-dialog > * { flex-shrink: 0; }

.csm-close {
  position: sticky;
  top: 16px;
  align-self: flex-end;
  margin: 16px 16px -60px;
  z-index: 10;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: none;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s var(--ease-out);
}
.csm-close:hover { background: var(--pink); color: #0a0a0a; }

.csm-hero {
  position: relative;
  aspect-ratio: 16 / 5;
  width: 100%;
  background: #0d0d0d;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
}
.csm-hero image-slot { --image-slot-bg: #0d0d0d; }
.csm-hero-grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.4) 38%, transparent 70%);
}
.csm-hero-copy {
  position: absolute;
  left: clamp(1.4rem, 3vw, 2.6rem);
  right: clamp(1.4rem, 3vw, 2.6rem);
  bottom: clamp(1rem, 2vh, 1.4rem);
  pointer-events: none;
}
.csm-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.84rem;
  color: #fff;
}
.csm-tag::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}
.csm-region {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-left: 10px;
}
.csm-name {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 0.92;
  margin: 0.3rem 0 0;
}
.csm-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--fg-dim);
  margin-top: 0.4rem;
}

.csm-body {
  padding: clamp(1rem, 1.8vw, 1.4rem) clamp(1.6rem, 3.5vw, 2.8rem) clamp(1rem, 2vw, 1.4rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.5vh, 1.15rem);
}
.csm-block { display: flex; flex-direction: column; gap: 0.4rem; padding: 0; min-height: 0; }

/* --- Live-site laptop showcase (craft moment) --- */
.csm-showcase {
  align-items: center;
  gap: 0.9rem;
  padding: clamp(1.2rem, 2.4vw, 2rem) 0 clamp(0.4rem, 1vw, 0.8rem);
}
.csm-showcase .csm-label { align-self: flex-start; }
.csm-laptop {
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.csm-laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #060606;
  border: 1px solid #2c2c2e;
  border-radius: 14px 14px 6px 6px;
  padding: 9px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 26px 60px -20px rgba(0, 0, 0, 0.8);
}
.csm-laptop-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 5px;
  background: #0d0d0d;
}
.csm-laptop-base {
  position: relative;
  width: 116%;
  height: 13px;
  margin-top: -1px;
  background: linear-gradient(180deg, #3a3a3d 0%, #1c1c1e 90%);
  border-radius: 2px 2px 11px 11px;
  box-shadow: 0 16px 26px -12px rgba(0, 0, 0, 0.7);
}
.csm-laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16%;
  height: 5px;
  background: #141416;
  border-radius: 0 0 6px 6px;
}
.csm-laptop-cap {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--fg-mute, var(--fg-dim));
  margin: 0.2rem 0 0;
}

/* --- Fifty audience-intelligence block (US Government) --- */
.csm-fifty { gap: 0.95rem; }
.csm-fifty-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0));
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.csm-fifty-head {
  display: flex;
  align-items: center;
  gap: 1rem 1.1rem;
  flex-wrap: wrap;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.csm-fifty-logo {
  height: clamp(60px, 8vw, 84px);
  width: auto;
  display: block;
  filter: invert(1);
  opacity: 0.92;
}
.csm-fifty-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-left: auto;
}
.csm-fifty-copy { display: flex; flex-direction: column; }
.csm-fifty-dims {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.csm-fifty-chip {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.005em;
  color: var(--fg-dim);
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  white-space: nowrap;
}
.csm-fifty-stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.csm-fifty-stat-num {
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
  line-height: 0.9;
  color: var(--pink);
}
.csm-fifty-stat-label {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--fg-mute);
  max-width: 28ch;
  text-wrap: pretty;
}
.csm-fifty .csm-laptop {
  width: 100%;
  max-width: 640px;
  margin: 0.4rem auto 0;
}
@media (max-width: 600px) {
  .csm-fifty-kicker { margin-left: 0; flex-basis: 100%; }
}

/* --- Audience archetypes (US Government) --- */
.csm-arch { gap: 0.95rem; }
.csm-arch-countries {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.1rem;
}
.csm-arch-countries-label {
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-right: 0.15rem;
}
.csm-arch-country {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--fg-dim);
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.csm-arch-grid {
  display: flex;
  gap: clamp(0.65rem, 1.3vw, 0.95rem);
  margin-top: 0.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 0.7rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.csm-arch-grid::-webkit-scrollbar { height: 6px; }
.csm-arch-grid::-webkit-scrollbar-track { background: transparent; }
.csm-arch-grid::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}
.csm-arch-card {
  flex: 0 0 clamp(238px, 26vw, 272px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c0c0c;
  overflow: hidden;
}
.csm-arch-head {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.95rem 1.1rem 0.85rem;
  background: var(--pink);
  color: #0a0a0a;
}
.csm-arch-idx {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  opacity: 0.65;
}
.csm-arch-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.csm-arch-gloss {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.82rem;
  opacity: 0.78;
}
.csm-arch-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem 1.2rem;
}
.csm-arch-stage {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--fg-dim);
  margin: 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.csm-arch-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.csm-arch-row-label {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}
.csm-arch-row-val {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--fg);
  text-wrap: pretty;
}
.csm-arch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.csm-arch-chip {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--fg-dim);
  padding: 0.32rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  white-space: nowrap;
}

/* --- La Tilde UI showcase + Synapse analysis (US Government) --- */
.csm-ui { gap: 0.85rem; }
.csm-ui-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
}
.csm-ui-trait {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--fg-dim);
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.csm-ui .csm-laptop,
.csm-analysis .csm-laptop {
  width: 100%;
  max-width: 660px;
  margin: 0.5rem auto 0;
}
.csm-ui .csm-laptop-video {
  object-fit: contain;
  background: #060606;
}
.csm-analysis { gap: 0.85rem; }
.csm-analysis-pull {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.12;
  color: var(--fg);
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--pink);
  text-wrap: balance;
}

/* --- Social / AR filters (Under Armour) --- */
.csm-social { gap: 0.85rem; }
.csm-social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.9rem, 2.2vw, 1.5rem);
  margin-top: 0.7rem;
}
.csm-social-phone {
  position: relative;
  margin: 0;
  width: clamp(146px, 16vw, 178px);
  background: #1b1b1d;
  border: 1px solid #2c2c2e;
  border-radius: 26px;
  padding: 6px;
  box-shadow:
    0 24px 50px -22px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.csm-social-screen {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #060606;
}
.csm-social-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.csm-social-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--accent, var(--pink));
  padding: 0.24rem 0.5rem;
  border-radius: 6px;
}

/* --- Phone showcase (vertical/mobile video, e.g. Banco Falabella) --- */
.csm-showcase .csm-phone {
  position: relative;
  width: min(280px, 62vw);
  background: #1b1b1d;
  border: 1px solid #2c2c2e;
  border-radius: 34px;
  padding: 8px;
  box-shadow:
    0 30px 70px -24px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.csm-phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 26px;
  overflow: hidden;
  background: #060606;
}
.csm-phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.csm-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  background: #000;
  border-radius: 10px;
  z-index: 2;
}

/* --- UX diagnosis (Under Armour) --- */
.csm-ux { gap: clamp(1.1rem, 2vw, 1.6rem); }
.csm-ux-thesis {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.08;
  color: var(--fg);
  margin: 0.1rem 0 0;
  text-wrap: balance;
}
.csm-ux-sub {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.csm-ux-subhead {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}
.csm-ux-findings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 198px), 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.4rem);
}
.csm-ux-finding {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.7rem;
  border-top: 2px solid var(--accent, var(--pink));
}
.csm-ux-finding-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  color: var(--fg);
}
.csm-ux-finding-body {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--fg-dim);
  text-wrap: pretty;
}
.csm-ux-journey {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(0.6rem, 1.3vw, 0.9rem);
}
.csm-ux-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(0.9rem, 1.6vw, 1.2rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0c0c0c;
}
.csm-ux-step-top {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.csm-ux-step-num {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--accent, var(--pink));
}
.csm-ux-step-stage {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1;
  color: var(--fg);
}
.csm-ux-step-body {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--fg-dim);
  margin: 0;
  text-wrap: pretty;
}
.csm-ux-impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.4rem);
}
.csm-ux-impact-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.csm-ux-check {
  color: var(--accent, var(--pink));
  margin-bottom: 0.1rem;
}
.csm-ux-impact-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  color: var(--fg);
}
.csm-ux-impact-body {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--fg-dim);
  text-wrap: pretty;
}

/* --- Expandable video gallery (Cusezar) --- */
.csm-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1.1vw, 0.85rem);
}
.csm-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: #0a0a0a;
  cursor: pointer;
  display: block;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.csm-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.csm-thumb:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.csm-thumb-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0d0d0d;
}
.csm-thumb-grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 6, 6, 0.78) 0%, transparent 45%);
}
.csm-thumb-exp {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.62);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.csm-thumb:hover .csm-thumb-exp { opacity: 1; transform: scale(1); }
.csm-thumb-cap {
  position: absolute;
  left: 11px;
  bottom: 9px;
  right: 11px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
@media (max-width: 560px) {
  .csm-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* --- Pillars grid (Cusezar) --- */
.csm-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.csm-pillar {
  background: #0c0c0c;
  padding: clamp(1rem, 1.7vw, 1.35rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.csm-pillar-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
  margin: 0.15rem 0 0;
}
.csm-pillar-goal {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--pink);
}
.csm-pillar-body {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0.3rem 0 0;
  text-wrap: pretty;
}
@media (max-width: 860px) {
  .csm-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .csm-pillars { grid-template-columns: 1fr; }
}

/* --- Video lightbox (expanded thumbnail) --- */
.csm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3.5rem);
  background: rgba(4, 4, 4, 0.92);
  backdrop-filter: blur(10px);
  animation: csm-fade 0.2s var(--ease-out) both;
}
.csm-lightbox-stage {
  position: relative;
  width: min(1100px, 100%);
}
.csm-lightbox-video {
  width: 100%;
  max-height: 80vh;
  display: block;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.csm-lightbox-cap {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  text-align: center;
}
.csm-lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vh, 2rem);
  right: clamp(1rem, 3vw, 2.2rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s var(--ease-out);
}
.csm-lightbox-close:hover { background: var(--pink); color: #0a0a0a; }
.csm-label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0;
}
.csm-text {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0;
  text-wrap: pretty;
}
.csm-text + .csm-text { margin-top: 0.55rem; }
.csm-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.csm-result {
  background: #0c0c0c;
  padding: clamp(1.1rem, 2vw, 1.5rem);
}
.csm-result-num {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1;
  color: var(--pink);
}
.csm-result-label {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--fg-mute);
  margin-top: 0.6rem;
  text-wrap: pretty;
}

/* Long result sets (e.g. Under Armour) scroll in one row instead of wrapping */
.csm-results-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.csm-results-scroll .csm-result {
  flex: 0 0 clamp(186px, 22vw, 224px);
  scroll-snap-align: start;
}
.csm-results-scroll::-webkit-scrollbar { height: 6px; }
.csm-results-scroll::-webkit-scrollbar-track { background: transparent; }
.csm-results-scroll::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.csm-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 0 clamp(1.6rem, 3.5vw, 2.8rem) clamp(1.6rem, 3.5vw, 2.6rem);
}
.csm-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.csm-nav:hover { background: var(--pink); border-color: var(--pink); color: #0a0a0a; }
.csm-count {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  min-width: 5ch;
  text-align: center;
}

@media (max-width: 600px) {
  .csm-hero { aspect-ratio: 4 / 3; }
  .csm-results { grid-template-columns: repeat(2, 1fr); }
}
