/* =========================================================
   E11 Media — v3 (marketing)
   White page with dark chapters; the logo's two bars as the motif.
   ========================================================= */

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #5f5f5f;
  --quiet: #6b6b6b;
  --line: #e4e4e2;
  --soft: #f3f3f1;

  --d-text: #f4f4f2;
  --d-muted: #9b9b97;
  --d-line: #282828;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
  --max: 1520px;
  --section: clamp(96px, 12vw, 180px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
@media (max-width: 760px) { :root { --nav-h: 60px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--ink); color: #fff; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff;
  transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

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

.label {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); line-height: 1.3;
}
.h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5.8vw, 100px); line-height: 0.95; letter-spacing: -0.04em;
  max-width: 14ch; margin-top: 20px;
}
.split-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* ---------- Links & buttons ---------- */
.link-u {
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px;
  transition: background-size 0.45s var(--ease-out);
  padding-bottom: 2px;
}
.link-u:hover, .link-u:focus-visible { background-position: left bottom; background-size: 100% 1px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px;
  border-bottom: 2px solid currentColor; padding-bottom: 4px;
}
.link-arrow span { transition: transform 0.4s var(--ease-out); }
.link-arrow:hover span { transform: translateX(6px); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
  overflow: hidden; transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn span { display: inline-block; text-shadow: 0 3em 0 currentColor; transition: transform 0.5s var(--ease-out); }
.btn:hover span, .btn:focus-visible span { transform: translateY(-3em); }
.btn:hover { background: #2a2a2a; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e6e6e3; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 32px; padding-inline: var(--gutter);
  color: var(--ink); border-bottom: 1px solid transparent;
  transition: color 0.35s, background-color 0.35s, border-color 0.35s, transform 0.5s var(--ease-out);
}
.nav--solid {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line);
}
.nav--dark { color: #fff; background: rgba(10, 10, 10, 0.72); border-bottom-color: rgba(255, 255, 255, 0.08); }
.nav--dark .btn { background: #fff; color: var(--ink); }
.nav--hidden { transform: translateY(-101%); }
.menu-open .nav { transform: none; background: transparent; border-color: transparent; color: var(--ink); }
.menu-open .nav .btn { background: var(--ink); color: #fff; }

.nav__logo { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.mark { height: 26px; width: auto; fill: currentColor; }
.mark rect { transition: transform 0.5s var(--ease-out); transform-box: fill-box; transform-origin: bottom; }
.nav__logo:hover .mark rect:last-child { transform: scaleY(0.72); }
.nav__wordmark { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.nav__links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav__toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; }
.nav__toggle span {
  position: absolute; top: 11px; width: 5px; height: 22px; background: currentColor;
  transition: transform 0.5s var(--ease-out), left 0.5s var(--ease-out);
}
.nav__toggle span:first-child { left: 14px; }
.nav__toggle span:last-child { left: 25px; }
.menu-open .nav__toggle span:first-child { left: 19.5px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { left: 19.5px; transform: rotate(-45deg); }
@media (max-width: 900px) { .nav__links { display: none; } .nav__toggle { display: block; } }
@media (max-width: 560px) { .nav__cta { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 45; background: #fff;
  padding: calc(var(--nav-h) + 6vh) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  overflow: hidden; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 15vw, 96px); line-height: 1.02; letter-spacing: -0.045em;
  border-bottom: 1px solid var(--line); padding-block: 6px;
}
.menu__links a span { display: inline-block; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-weight: 500; color: var(--muted); padding-top: 32px; }
.menu-open { overflow: hidden; }

/* ---------- Cursor: the logo's two bars (mouse and trackpad only) ---------- */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='28' viewBox='0 0 22 28'%3E%3Crect x='3' y='3' width='5.5' height='22' fill='%230a0a0a' stroke='%23ffffff' stroke-width='1.5'/%3E%3Crect x='13' y='3' width='5.5' height='22' fill='%230a0a0a' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E") 3 3, auto; }
  /* Over anything clickable the bars invert, so links still read as links */
  a, button, label, summary, [role="button"], .warp__bars i { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='28' viewBox='0 0 22 28'%3E%3Crect x='3' y='3' width='5.5' height='22' fill='%23ffffff' stroke='%230a0a0a' stroke-width='1.5'/%3E%3Crect x='13' y='3' width='5.5' height='22' fill='%23ffffff' stroke='%230a0a0a' stroke-width='1.5'/%3E%3C/svg%3E") 3 3, pointer; }
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90;
  width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  pointer-events: none; transform: scale(0); visibility: hidden;
}
.has-cursor .cursor { visibility: visible; }
.cursor.is-dark { background: #fff; color: var(--ink); }
.cursor__label { opacity: 0; transition: opacity 0.2s; }
.cursor.is-active .cursor__label { opacity: 1; }

/* =========================================================
   LANDING (from v1) — two image bars open into a full-bleed showcase
   ========================================================= */
.landing {
  --bw: min(9vw, 13svh, 150px);
  --bh: calc(var(--bw) * 4.19);
  --bar-gap: calc(var(--bw) * 0.79);
  --hero-fs: min(6.2vw, 12svh);
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
}
.landing__stage { position: relative; height: 100%; overflow: hidden; }

.landing__media { position: absolute; inset: 0; visibility: hidden; pointer-events: none; }
.landing__panel { position: absolute; inset: 0; clip-path: inset(50% 50% 50% 50%); will-change: clip-path; }
.landing__panel img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.landing__shade {
  position: absolute; inset: 0; opacity: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 18%);
}

/* Ambient bar field behind the landing; it fades out around the centre so the headline stays crisp */
.landing__field {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease-out);
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 50%, transparent 0%, transparent 28%, #000 78%);
  mask-image: radial-gradient(ellipse 58% 52% at 50% 50%, transparent 0%, transparent 28%, #000 78%);
}
.landing__field.is-on { opacity: 1; }
.landing--live .landing__media { visibility: visible; }
.landing--live .landing__bar { visibility: hidden; }

.landing__eyebrow {
  position: absolute; z-index: 2;
  top: calc(var(--nav-h) + 20px); left: var(--gutter);
}
.landing__eyebrow > span {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

.landing__row {
  position: absolute; z-index: 2;
  inset: var(--nav-h) 0 110px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(18px, 2.6vw, 48px);
  padding-inline: var(--gutter);
}
.landing__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--hero-fs);
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  will-change: transform;
}
.landing__word--l { justify-self: end; }
.landing__word--r { justify-self: start; }
.landing__word .char { display: inline-block; }

.landing__slot { display: flex; gap: var(--bar-gap); }
.landing__bar { width: var(--bw); height: var(--bh); overflow: hidden; background: var(--soft); }
.landing__bar img { width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; }
.landing__bar + .landing__bar img { object-position: 68% 50%; }

.landing__foot {
  position: absolute; z-index: 2;
  left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.landing__intro { max-width: 36ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; }
.landing__cue {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.cue-bars { display: inline-flex; gap: 3px; height: 18px; align-items: flex-end; }
.cue-bars i { width: 4px; height: 100%; background: var(--ink); transform-origin: bottom; animation: cue 1.8s var(--ease-in-out) infinite; }
.cue-bars i + i { animation-delay: 0.18s; }
@keyframes cue { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.35); } }

.landing__showcase {
  position: absolute; inset: 0; z-index: 3;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) clamp(28px, 4vw, 56px);
  color: #fff;
  visibility: hidden; opacity: 0;
}
.landing__beyond {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(72px, 17vw, 300px);
  line-height: 0.8;
  letter-spacing: -0.055em;
  margin-left: -0.04em;
}
.landing__caption { max-width: 360px; padding-bottom: 0.4em; }
.landing__project {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.12; letter-spacing: -0.02em;
  margin: 12px 0 8px;
}
.landing__project em { font-style: normal; color: rgba(255, 255, 255, 0.8); }
.landing__meta { font-size: 15px; color: rgba(255, 255, 255, 0.85); margin-bottom: 22px; }

/* Light showcase image (data-tone="light"): dark type and a pale wash instead of a dark one */
.landing[data-tone="light"] .landing__showcase { color: var(--ink); }
.landing[data-tone="light"] .landing__showcase :focus-visible { outline-color: var(--ink); }
.landing[data-tone="light"] .label--light,
.landing[data-tone="light"] .landing__meta { color: #4d4d4d; }
.landing[data-tone="light"] .landing__project em { color: #4d4d4d; }
.landing[data-tone="light"] .btn--light { background: var(--ink); color: #fff; }
.landing[data-tone="light"] .btn--light:hover { background: #2a2a2a; }
.landing[data-tone="light"] .landing__shade {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 42%);
}

@media (max-width: 760px) {
  .landing {
    --bw: min(19vw, 9.5svh);
    --hero-fs: min(15vw, 9svh);
  }
  .landing__row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center; align-content: center;
    row-gap: clamp(14px, 3svh, 26px);
    inset: var(--nav-h) 0 120px 0;
  }
  .landing__word--l, .landing__word--r { justify-self: center; }
  .landing__eyebrow { top: calc(var(--nav-h) + 8px); }
  .landing__foot { bottom: 22px; }
  .landing__intro { font-size: 15px; max-width: 30ch; }
  .landing__cue { display: none; }
  /* On tall phone screens the product fills the middle, so 'Beyond.' sits above it */
  .landing__showcase { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 20px; }
  .landing__beyond { font-size: 25vw; align-self: start; }
  /* Portrait crops fill the screen with the product, so wash both ends for the type */
  .landing[data-tone="dark"] .landing__shade {
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 32%),
      linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 40%);
  }
  .landing[data-tone="light"] .landing__shade {
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 18%, rgba(255, 255, 255, 0) 32%),
      linear-gradient(to top, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 22%, rgba(255, 255, 255, 0) 38%);
  }
}
@media (max-height: 680px) {
  .landing__eyebrow { display: none; }
}


.label--light { color: rgba(255, 255, 255, 0.85); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.landing__showcase :focus-visible { outline-color: #fff; }
.landing__showcase .btn { pointer-events: auto; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: flex; align-items: center;
  padding: var(--section) 0 clamp(64px, 8vw, 120px);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 5vw, 96px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow__bars { display: inline-flex; gap: 3px; height: 14px; }
.eyebrow__bars i { width: 4px; height: 100%; background: var(--ink); }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 6.6vw, 120px); line-height: 0.94; letter-spacing: -0.048em;
  margin: 22px 0 26px; max-width: 11ch;
}
.hero__lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hero__tags li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--muted); }

/* Dashboard */
.hero__visual { position: relative; padding: 76px 28px 52px; perspective: 1400px; }
.dash {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 2vw, 26px);
  box-shadow: 0 50px 90px -50px rgba(10, 10, 10, 0.45), 0 2px 8px rgba(10, 10, 10, 0.04);
  transform-origin: 50% 100%;
}
.dash__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.dash__title { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.dash__range { color: var(--quiet); font-size: 13px; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ink);
  animation: ping 2s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
.dash__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 24px; }
.dash__stats > div { background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.dash__k { display: block; font-size: 12px; color: var(--quiet); letter-spacing: 0.04em; text-transform: uppercase; }
.dash__v { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.dash__chart { position: relative; height: clamp(170px, 20vw, 250px); }
.dash__bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 4.5%; }
.pair { flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 16%; }
.pair i { flex: 1; height: calc(var(--h) * 100%); background: #dcdcd8; border-radius: 3px 3px 0 0; transform-origin: 50% 100%; }
.pair i + i { height: calc(var(--h2) * 100%); }
.pair.is-hot i { background: var(--ink); }
.dash__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dash__line path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.dash__halo { stroke: #fff; stroke-width: 7; }
.dash__trend { stroke: var(--ink); stroke-width: 2.5; }
.dash__axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--quiet); }

.float {
  position: absolute; z-index: 2; background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(10, 10, 10, 0.4);
  will-change: transform;
}
.float--roas {
  top: 0; right: 0; padding: 12px 18px;
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px;
}
.float--roas strong { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; line-height: 1; }
.float--roas span:last-child { grid-column: 1 / -1; font-size: 12px; color: var(--quiet); margin-top: 4px; }
.float__up { font-size: 12px; }
.float--clip { left: 0; bottom: 6px; padding: 10px 16px 10px 10px; display: flex; align-items: center; gap: 12px; }
.float--clip img { width: 52px; height: 66px; object-fit: cover; border-radius: 10px; }
.float--clip strong { display: block; font-size: 15px; }
.float--clip span { font-size: 12px; color: var(--quiet); }
.hero__note { position: absolute; right: 30px; bottom: 14px; font-size: 12px; color: var(--quiet); }

@media (max-width: 900px) {
  .hero { padding-top: clamp(72px, 16vw, 120px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { padding: 70px 6px 52px; }
  .float--roas { right: -4px; }
  .float--clip { left: -4px; }
  .dash__stats { gap: 8px; }
  .dash__stats > div { padding: 10px 10px; }
  .dash__k { font-size: 10.5px; letter-spacing: 0.02em; }
}

/* ---------- Statement (above Selected work) ---------- */
.statement { border-block: 1px solid var(--line); padding-block: clamp(40px, 6vw, 96px); }
.statement__inner { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 32px); }
.statement__bars { flex: none; display: flex; gap: 0.3em; height: 0.78em; margin-top: 0.12em; font-size: clamp(40px, 6.4vw, 112px); }
.statement__bars i { display: block; width: 0.22em; height: 100%; background: var(--ink); }
.statement__text {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 6.4vw, 112px); line-height: 0.98; letter-spacing: -0.045em;
  max-width: 17ch; text-wrap: balance;
}
@media (max-width: 560px) { .statement__bars { display: none; } }

/* =========================================================
   DARK CHAPTERS
   ========================================================= */
.dark { position: relative; background: var(--ink); color: var(--d-text); isolation: isolate; }
.dark .label { color: var(--d-muted); }
.dark ::selection { background: #fff; color: var(--ink); }
.dark[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(640px circle at var(--mx, 70%) var(--my, 20%), rgba(255, 255, 255, 0.075), transparent 62%);
  transition: opacity 0.4s;
}

/* Problem */
.problem__text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.2vw, 68px); line-height: 1.08; letter-spacing: -0.03em;
  max-width: 24ch; margin-top: 28px;
}
.problem__grid {
  margin-top: clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px);
}
.problem__grid li { border-top: 1px solid var(--d-line); padding-top: 22px; }
.problem__n { font-size: 13px; color: var(--d-muted); }
.problem__grid h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -0.02em; margin: 12px 0 10px; }
.problem__grid p { color: var(--d-muted); max-width: 34ch; }
@media (max-width: 760px) { .problem__grid { grid-template-columns: 1fr; } }

/* System: eleven disciplines, each with its own image */
.system { padding-bottom: var(--section); }
.system__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 4.4vw, 76px); line-height: 0.95; letter-spacing: -0.042em;
  margin-top: 18px; max-width: 13ch;
}

/* Default (phones, reduced motion, no JS): illustrated cards */
.discs { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 3vw, 48px) clamp(20px, 3vw, 48px); }
.disc__fig { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: #161616; }
.disc__fig img { width: 100%; height: 100%; object-fit: cover; }
.disc__text { padding-top: 16px; }
.disc__meta { display: flex; align-items: baseline; gap: 12px; }
.disc__n { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.disc__practice { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--d-muted); }
.disc__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.4vw, 38px); letter-spacing: -0.03em; line-height: 1.05; margin: 8px 0 8px; }
.disc__desc { color: var(--d-muted); max-width: 42ch; }
.disc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.disc__tags li { border: 1px solid var(--d-line); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; color: #c9c9c5; }
@media (max-width: 760px) { .discs { grid-template-columns: 1fr; } }

/* Live (motion): the cards stay for screen readers; the warp stage shows them */
.system--live { padding-bottom: 0; }
.system--live .discs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.system--live .system__pin { padding-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Work ---------- */
.work { padding-top: var(--section); }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.work__note { font-size: 14px; color: var(--quiet); max-width: 26ch; text-align: right; }
.work__track {
  display: flex; gap: clamp(20px, 2.5vw, 40px);
  padding: 0 var(--gutter) 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
}
.case { flex: none; width: min(78vw, 440px); scroll-snap-align: start; }
.case__fig { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--soft); }
.case__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .case:hover .case__fig img { transform: scale(1.05); } }
.case__body { padding-top: 18px; }
.case__client { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Sector sits on its own line on every card, so long client names can't push one card's rows down */
.case__client span { display: block; margin-top: 2px; font-weight: 500; color: var(--quiet); text-transform: none; letter-spacing: 0; }
/* Titles reserve two lines, so the result pills line up across the row */
.case__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.15; letter-spacing: -0.02em; margin: 10px 0 14px; max-width: 22ch; min-height: calc(2em * 1.15); }
.case__result { display: inline-flex; align-items: baseline; gap: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.case__goal { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.warp__result .case__goal { font-size: 12px; }
.case__result strong { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.case__tags li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: var(--muted); }
.work--live .work__track { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }

@media (max-width: 760px) {
  .work__head { flex-direction: column; align-items: flex-start; }
  .work__note { text-align: left; }
}

/* ---------- Warp stage: one full-screen image at a time; scrolling warps it into the next ---------- */
.warp {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  background: #0d0d0d; color: #fff; isolation: isolate;
}
.warp__media { position: absolute; inset: 0; }
.warp__gl, .warp__slides { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.warp__slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.warp__slide img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.warp__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 26%, rgba(0, 0, 0, 0.06) 50%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 20%);
}
.warp__hud {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 20px); z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
}
.warp__label { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.warp__meter { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.warp__count { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
.warp__digits { display: block; height: 1em; overflow: hidden; font-size: clamp(30px, 3vw, 46px); line-height: 1; }
.warp__roll { display: block; transition: transform 0.8s var(--ease-out); }
.warp__roll > span { display: block; height: 1em; }
.warp__of { font-size: clamp(15px, 1.2vw, 18px); color: rgba(255, 255, 255, 0.7); }
.warp__bars { display: flex; align-items: flex-end; gap: 5px; height: 30px; }
.warp__bars i {
  display: block; width: 5px; height: 40%; background: rgba(255, 255, 255, 0.35);
  transition: height 0.5s var(--ease-out), background-color 0.3s;
}
.warp__bars i.is-done { background: rgba(255, 255, 255, 0.65); height: 60%; }
.warp__bars i.is-on { background: #fff; height: 100%; }
@media (hover: hover) and (pointer: fine) { .warp__bars i:hover { background: #fff; } }

.warp__texts { position: absolute; left: 0; right: 0; bottom: clamp(36px, 8vh, 88px); z-index: 3; }
.warp__text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; visibility: hidden; }
.warp__text > * { will-change: transform, opacity; }
.warp__kicker { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.warp__kicker span { color: rgba(255, 255, 255, 0.6); }
.warp__title {
  font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: clamp(36px, 5.4vw, 92px); line-height: 0.98; letter-spacing: -0.04em;
  margin-top: 16px; max-width: 17ch; text-wrap: balance;
}
.warp__title--xl { font-size: clamp(56px, 10vw, 168px); line-height: 0.9; letter-spacing: -0.05em; max-width: none; }
.warp__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(20px, 3vh, 32px); }
.warp__result { display: inline-flex; align-items: baseline; gap: 10px; background: #fff; color: var(--ink); padding: 10px 18px; border-radius: 999px; font-size: 15px; }
.warp__result strong { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.warp__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.warp__tags li { border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: #fff; }
.warp__desc { margin-top: clamp(14px, 2vh, 22px); max-width: 44ch; font-size: clamp(16px, 1.25vw, 19px); color: rgba(255, 255, 255, 0.86); }
.warp__desc + .warp__tags { margin-top: clamp(16px, 2.4vh, 24px); }

@media (max-width: 760px) {
  .warp__hud { top: calc(var(--nav-h) + 12px); }
  .warp__digits { font-size: 28px; }
  .warp__bars { height: 22px; gap: 4px; }
  .warp__bars i { width: 4px; }
  .warp__texts { bottom: 28px; }
  .warp__title { font-size: clamp(30px, 8.6vw, 44px); max-width: none; }
  .warp__title--xl { font-size: clamp(40px, 13vw, 84px); }
  .warp__result { font-size: 14px; padding: 8px 14px; }
  .warp__result strong { font-size: 17px; }
  .warp__tags li { font-size: 12px; padding: 4px 10px; }
}

/* ---------- Results ---------- */
.results__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(48px, 6vw, 88px); }
.results__note { font-size: 14px; color: var(--d-muted); max-width: 26ch; text-align: right; }
.results__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.stat { border-top: 1px solid var(--d-line); padding-top: 22px; }
.stat__v { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(52px, 6.2vw, 112px); line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat__k { display: block; margin-top: 14px; color: var(--d-muted); max-width: 20ch; }
@media (max-width: 900px) {
  .results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .results__head { flex-direction: column; align-items: flex-start; }
  .results__note { text-align: left; }
}

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.process__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.process__head .h2 { font-size: clamp(36px, 4.2vw, 72px); }
.process__head .link-arrow { margin-top: 36px; }
.process__track { position: relative; }
.process__steps { position: relative; padding-left: 52px; display: grid; gap: clamp(56px, 8vw, 112px); }
.process__line { position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.process__line i { position: absolute; inset: 0; background: var(--ink); transform-origin: top; }
.motion .process__line i { transform: scaleY(0); }
.pstep { position: relative; }
.pstep__dot {
  position: absolute; left: -52px; top: 4px; z-index: 1;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  transition: background-color 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.pstep__n { font-size: 13px; color: var(--quiet); }
.pstep h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 3.6vw, 60px); letter-spacing: -0.04em; line-height: 1;
  margin: 10px 0 14px; transition: color 0.5s;
}
.pstep p { color: var(--muted); max-width: 40ch; font-size: 18px; }
.motion .pstep h3 { color: #949491; }
.motion .pstep.is-active h3 { color: var(--ink); }
.pstep.is-active .pstep__dot, .js:not(.motion) .pstep__dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(10, 10, 10, 0.08); }
@media (max-width: 900px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__head { position: static; }
}

/* ---------- CTA ---------- */
.cta { overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr); gap: 48px; align-items: end; }
.cta__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 8vw, 144px); line-height: 0.92; letter-spacing: -0.05em;
  margin-top: 22px; max-width: 12ch;
}
.cta__status {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  padding: 8px 16px 8px 14px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #e6e6e3;
}
.cta__status .live-dot { background: #fff; }
.cta__status .live-dot::after { border-color: #fff; }
@media (max-width: 420px) { .cta__status { text-transform: none; letter-spacing: 0; font-size: 13px; gap: 10px; } }
.cta__lede { margin-top: 24px; max-width: 42ch; font-size: clamp(17px, 1.4vw, 20px); color: #bdbdb9; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.cta__email { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.02em; }
.cta__email span { background: linear-gradient(#fff, #fff) no-repeat left bottom / 100% 2px; padding-bottom: 4px; transition: background-size 0.6s var(--ease-out); }
.cta__email:hover span { background-size: 0 2px; background-position: right bottom; }
.cta__bars { display: flex; gap: clamp(20px, 2.6vw, 44px); justify-content: flex-end; height: min(56vh, 540px); }
.cta__bars i { width: clamp(44px, 5.6vw, 104px); height: 100%; background: #fff; transform-origin: bottom; }
@media (max-width: 760px) {
  .cta__grid { grid-template-columns: 1fr; }
  .cta__bars { order: -1; justify-content: flex-start; height: 110px; gap: 14px; }
  .cta__bars i { width: 28px; }
}

/* ---------- Footer ---------- */
.footer { padding-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand p { margin-top: 20px; font-weight: 500; }
.footer__logo { height: 145px; width: auto; fill: var(--ink); overflow: visible; }
.footer__logo text { font-family: var(--font-display); font-weight: 800; font-size: 138px; }
.footer__logo .footer__e { font-size: 768px; letter-spacing: 0; } /* cap height matches the bars: E11 */
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col .label { margin-bottom: 8px; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(56px, 8vw, 112px);
  padding-block: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
@media (max-width: 1000px) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Motion initial states (only with JS + motion) ---------- */
.motion [data-reveal], .motion [data-hero-fade], .motion .dash, .motion .float { opacity: 0; }
.motion [data-split], .motion [data-hero-title] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}


.motion .landing__word { visibility: hidden; }
