/* ==========================================================================
   Perspective — site styles
   Light, editorial, precise. Tokens first; components below in page order.
   ========================================================================== */

:root {
  --paper: #F3F2EE;
  --paper-2: #EAE8E2;
  --paper-3: #E0DDD5;
  --white: #FBFBF9;
  --ink: #0E0F11;
  --ink-2: #45474B;
  --ink-3: #85878B;
  --line: rgba(14, 15, 17, .12);
  --line-strong: rgba(14, 15, 17, .22);
  --accent: #19AFC4;       /* acrylic cyan — the "render" colour */
  --accent-ink: #0A6776;   /* accessible on paper */

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1680px;
  --nav-h: 76px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }

/* Film grain — very subtle, adds tactility */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 95; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Primitives ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(96px, 14vw, 200px); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; }
.muted { color: var(--ink-3); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.eyebrow__num {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 22px; padding: 0 8px;
  border: 1px solid var(--line-strong); border-radius: 99px;
  color: var(--ink); font-size: 11px;
}
.eyebrow--light { color: rgba(255,255,255,.75); }
.eyebrow--light .eyebrow__num { border-color: rgba(255,255,255,.35); color: #fff; }

.h2 {
  font-size: clamp(42px, 6.4vw, 108px);
  line-height: .94;
  letter-spacing: -.04em;
  font-weight: 500;
}
.h2 em { letter-spacing: -.02em; }
.h2--xl { font-size: clamp(52px, 8.6vw, 148px); }
.h2--light { color: #fff; }

/* line-by-line reveal */
[data-lines] .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
[data-lines] .ln > span { display: inline-block; will-change: transform; }
.js [data-lines] .ln > span { transform: translateY(110%); }
.js [data-lines].is-in .ln > span { transform: none; transition: transform 1.2s var(--ease); }
.js [data-lines].is-in .ln:nth-child(2) > span { transition-delay: .09s; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2);
}

/* Buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: 46px; padding: 0 20px 0 22px;
  border-radius: 99px;
  font-size: 14px; font-weight: 500; letter-spacing: -.005em;
  transition: color .4s var(--ease);
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--lg { height: 58px; padding: 0 26px 0 30px; font-size: 16px; }
.btn__dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.btn::before {
  content: ""; position: absolute; z-index: -1;
  width: 8px; height: 8px; border-radius: 50%;
  right: 20px; top: 50%; margin-top: -4px;
  background: var(--accent-ink);
  transform: scale(0); transition: transform .6s var(--ease);
}
.btn--lg::before { right: 26px; }
.btn:hover::before { transform: scale(60); }
.btn:hover .btn__dot { background: #fff; }

.link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link:hover { background-size: 100% 1px; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 18px;
  border-radius: 99px;
  background: rgba(251, 251, 249, .62);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(14, 15, 17, .08);
  font-size: 13px; font-weight: 500;
  transition: background .3s, transform .3s var(--ease);
}
.chip:hover { background: rgba(251, 251, 249, .9); }
.chip svg { width: 11px; height: 11px; }
.chip--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip--solid:hover { background: #26282c; }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .3s; }
[data-sound][aria-pressed="true"] .eq i { animation: eq 1s ease-in-out infinite; }
[data-sound][aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
[data-sound][aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
[data-sound][aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
}
.no-js .loader { display: none; }
.loader.is-done { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--ease-io) .1s; }
.loader.is-gone { display: none; }
.loader__inner { width: min(560px, 80vw); transition: opacity .5s var(--ease), translate .8s var(--ease); }
/* Emblem constructs itself: cyan wireframe draws, the solid wipes on, the wire dissolves (as in the end card) */
.loader__emblem { display: block; width: clamp(128px, 15vw, 168px); height: auto; margin: 0 auto 40px; overflow: visible; }
.loader__wire ellipse, .loader__wire path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ldraw .85s var(--ease-io) forwards; }
.loader__wire > ellipse:nth-of-type(2) { animation-delay: .08s; }
.loader__wire > ellipse:nth-of-type(3) { animation-delay: .16s; }
.loader__wire g path:nth-of-type(1) { animation-delay: .42s; }
.loader__wire g path:nth-of-type(2) { animation-delay: .52s; }
.loader__wire { animation: lfade .4s ease 1.3s forwards; }
.loader__solid { clip-path: polygon(-40% 0, -40% 0, -60% 100%, -60% 100%); animation: lwipe .7s var(--ease-io) .85s forwards; }
.loader:not(.is-ready) .loader__emblem, .loader:not(.is-ready) .loader__emblem * { animation-play-state: paused; }
@keyframes ldraw { to { stroke-dashoffset: 0; } }
@keyframes lfade { to { opacity: 0; } }
@keyframes lwipe { to { clip-path: polygon(-40% 0, 140% 0, 120% 100%, -60% 100%); } }
.loader.is-done .loader__inner { opacity: 0; translate: 0 -32px; }
.loader__mark {
  display: flex; justify-content: space-between;
  font-size: clamp(20px, 3.2vw, 34px); font-weight: 400; letter-spacing: 0;
  overflow: hidden;
}
.loader__mark span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.loader__mark span:nth-child(n) { animation-delay: calc(var(--i, 0) * 45ms); }
.loader:not(.is-ready) .loader__mark span { animation-play-state: paused; }   /* wait for the real font: no mid-rise swap */
@keyframes rise { to { transform: none; } }
.loader__bar { position: relative; height: 1px; background: var(--line); margin: 22px 0 14px; overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.loader__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.loader__count { color: var(--ink); }

/* ==========================================================================
   Entrance — the loader lifts and the first screen assembles as one move.
   Elements start hidden under the loader, so nothing is ever shown twice.
   ========================================================================== */
.is-loading .nav > * { opacity: 0; translate: 0 -12px; }
.is-loading .hero__ui > * { opacity: 0; translate: 0 18px; }
.is-loading .hero__frame { transform: scale(1.06); }
.is-entering .nav > *, .is-entering .hero__ui > * {
  transition: opacity 1s var(--ease) var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s);
}
.is-entering .hero__frame { transition: transform 2.1s var(--ease); }
.nav > :nth-child(1) { --d: .45s; }
.nav > :nth-child(2) { --d: .52s; }
.nav > :nth-child(3), .nav > :nth-child(4) { --d: .59s; }
.hero__ui > :nth-child(1) { --d: .62s; }
.hero__ui > :nth-child(2) { --d: .70s; }
.hero__ui > :nth-child(3) { --d: .78s; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(243, 242, 238, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; letter-spacing: .42em; justify-self: start; padding: 8px 0; }
.nav__emblem { height: 24px; width: auto; flex: none; }
.nav__links {
  display: flex; gap: 4px;
  padding: 5px; border-radius: 99px;
  background: rgba(251, 251, 249, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(14, 15, 17, .06);
}
.nav.is-solid .nav__links { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__links a {
  font-size: 14px; padding: 7px 14px; border-radius: 99px;
  transition: background .3s, color .3s;
}
.nav__links a:hover, .nav__links a.is-current { background: var(--ink); color: var(--paper); }
.nav__cta { justify-self: end; }
.nav__burger { display: none; justify-self: end; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; }
.nav__burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--paper); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--paper);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(40px, 11vw, 64px); line-height: 1.1; letter-spacing: -.04em; font-weight: 500;
  border-bottom: 1px solid var(--line); padding: 8px 0;
}
.menu__links em { font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.menu__foot { display: flex; flex-direction: column; gap: 6px; font-size: 18px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; }
.hero__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); }

.hero__title {
  position: absolute; inset: 0; z-index: 1;
  font-weight: 500;
  font-size: min(10.5vw, 13.5vh);
  line-height: .9; letter-spacing: -.055em;
  pointer-events: none;
}
.hero__line { position: absolute; white-space: nowrap; }
.hero__line--1 { left: var(--gutter); top: 10.5vh; }
.hero__line--2 { right: var(--gutter); bottom: 9vh; }
.hero__line em { letter-spacing: -.03em; }

.hero__frame {
  position: absolute; inset: 0; z-index: 2;
  clip-path: inset(0% 0% 0% 0% round 0px);
  will-change: clip-path;
  background: var(--paper-2);
}
.hero__video { position: absolute; left: 0; top: 0; bottom: 0; margin: auto 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(243,242,238,.55), rgba(243,242,238,0) 32%); }

.hero__ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__ui > * { pointer-events: auto; }
.hero__intro {
  position: absolute; left: var(--gutter); bottom: clamp(20px, 4vh, 40px);
  display: flex; flex-direction: column; gap: 6px;
  max-width: 320px; font-size: 15px; line-height: 1.35; font-weight: 500;
}
.hero__intro .mono { color: var(--ink-2); font-size: 11px; }
.hero__controls {
  position: absolute; right: var(--gutter); bottom: clamp(20px, 4vh, 40px);
  display: flex; gap: 8px;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; color: var(--ink-2);
  pointer-events: none;
}
.hero__scroll i { position: relative; width: 1px; height: 36px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--ink); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-14px); } to { transform: translateY(36px); } }

.hero__meta {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  display: flex; justify-content: space-between; align-items: center;
  padding-inline: var(--gutter);
  color: var(--ink-2); font-size: 11px;
}
.hero__meta span { max-width: 14vw; }
.js .hero__meta { opacity: 0; }

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto { position: relative; z-index: 2; background: var(--paper); }
.manifesto__text {
  font-size: clamp(30px, 3.9vw, 66px);
  line-height: 1.06; letter-spacing: -.03em; font-weight: 400;
  max-width: 22ch;
  max-width: 1320px;
  text-indent: clamp(0px, 14vw, 240px);
}
.manifesto__text .w { display: inline; }
.manifesto__cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(56px, 7vw, 112px);
  margin-left: auto; width: min(100%, 880px);
  color: var(--ink-2); font-size: 17px; line-height: 1.6;
}

/* ==========================================================================
   Numbers
   ========================================================================== */
.numbers { position: relative; z-index: 2; background: var(--paper); padding-bottom: clamp(96px, 12vw, 180px); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__value {
  font-size: clamp(44px, 5.4vw, 92px); font-weight: 400; letter-spacing: -.05em; line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: flex-start;
}
.stat__value sup { font-size: .45em; top: 0; margin-left: 4px; color: var(--accent-ink); line-height: 1.2; }
.stat__label { display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.45; max-width: 26ch; }
.stat__label .mono { color: var(--ink); }

/* ==========================================================================
   Formats (horizontal gallery)
   ========================================================================== */
.formats { position: relative; background: var(--white); border-top: 1px solid var(--line); }
.formats__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4.5vh, 56px); padding-block: calc(var(--nav-h) + 12px) 32px; }
.formats__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.formats__head .eyebrow { margin-bottom: 20px; }
.formats__head .h2 { font-size: clamp(40px, 5.4vw, 92px); }
.formats__lede { max-width: 400px; color: var(--ink-2); font-size: 16px; }
.formats__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.formats__viewport::-webkit-scrollbar { display: none; }
.formats__viewport .card { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.formats.is-pinned .formats__viewport { overflow: hidden; scroll-snap-type: none; }
.formats__track { display: flex; gap: clamp(16px, 2vw, 32px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.card { width: min(46vw, 820px); flex: none; }
.card--wide { width: min(70vw, 1240px); }
.card__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  height: min(46vh, 30vw);
  background: #EFEFEE;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 1.4s var(--ease);
}
.card:hover .card__media img { transform: scale(1.0); }
.card__body { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 10px; align-items: baseline; padding: 18px 4px 0; }
.card__idx { color: var(--ink-3); }
.card__body h3 { font-size: clamp(20px, 1.6vw, 26px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.card__body .tags { grid-column: 2; }
.swipe-hint { display: none; }
.formats__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.progress { position: relative; flex: 1; max-width: 360px; height: 1px; background: var(--line); }
.progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--paper); }
.process__head { margin-bottom: clamp(56px, 8vw, 120px); }
.process__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.process__media { position: sticky; top: calc(var(--nav-h) + 4vh); }
.process__frame {
  position: relative; aspect-ratio: 4 / 3.2; max-height: calc(100vh - var(--nav-h) - 8vh);
  border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
}
.process__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.12);
  transition: clip-path 1.1s var(--ease-io), transform 1.6s var(--ease);
}
.process__frame img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.process__frame img.was-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 0; }
.process__counter {
  position: absolute; z-index: 3; left: 16px; bottom: 16px;
  padding: 7px 12px; border-radius: 99px;
  background: rgba(251,251,249,.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 11px;
}
.process__steps { counter-reset: step; }
.step {
  min-height: 72vh;
  padding-top: 8px;
  border-top: 1px solid var(--line-strong);
  display: flex; flex-direction: column; gap: 18px;
  opacity: .28; transition: opacity .6s var(--ease);
}
.step:last-child { min-height: 60vh; }
.step.is-active { opacity: 1; }
.step__num { color: var(--accent-ink); padding-top: 14px; }
.step h3 { font-size: clamp(30px, 3vw, 48px); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.step p { color: var(--ink-2); font-size: 17px; max-width: 46ch; }

/* ==========================================================================
   Capabilities
   ========================================================================== */
.capabilities { background: var(--white); border-top: 1px solid var(--line); }
.capabilities__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 40px; margin-bottom: clamp(48px, 6vw, 88px); }
.capabilities__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.capabilities__lede { max-width: 360px; color: var(--ink-2); }
.caps { border-bottom: 1px solid var(--line-strong); }
.cap {
  position: relative;
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.1fr) 40px; align-items: center; gap: 24px;
  padding: clamp(20px, 2.2vw, 30px) 0;
  border-top: 1px solid var(--line-strong);
  cursor: default;
}
.cap::before {
  content: ""; position: absolute; inset: -1px 0 0; z-index: 0;
  background: var(--paper);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.cap > * { position: relative; z-index: 1; }
.cap__num { color: var(--ink-3); padding-left: 4px; }
.cap__name { font-size: clamp(24px, 2.8vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; transition: transform .6s var(--ease); }
.cap__desc { color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.cap__arrow { font-size: 22px; justify-self: end; padding-right: 4px; transition: transform .5s var(--ease), color .3s; }
@media (hover: hover) {
  .cap:hover::before { transform: scaleY(1); }
  .cap:hover .cap__name { transform: translateX(14px); }
  .cap:hover .cap__arrow { transform: rotate(-45deg); color: var(--accent-ink); }
}
.cap-preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 300px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  opacity: 0; transition: opacity .35s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(14,15,17,.35);
  will-change: transform;
}
.cap-preview.is-on { opacity: 1; }
.cap-preview img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform .8s var(--ease); }
.cap-preview.is-on img { transform: scale(1); }
@media (hover: none) { .cap-preview { display: none; } }

/* ==========================================================================
   Facility
   ========================================================================== */
.facility { background: var(--paper); padding-top: clamp(48px, 6vw, 96px); overflow: hidden; }
.facility__stage { position: relative; height: 100vh; height: 100svh; }
.facility__frame {
  position: absolute; inset: 0;
  clip-path: inset(6% 8% 6% 8% round 28px);
  background: #1a1b1d; color: #fff;
  overflow: hidden;
}
.facility__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.facility__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,12,.82) 0%, rgba(10,11,12,.35) 45%, rgba(10,11,12,.1) 75%); }
.facility__copy {
  position: absolute; left: 0; right: 0; bottom: clamp(56px, 11vh, 120px);
  display: grid; grid-template-columns: auto minmax(0, 420px); justify-content: space-between; align-items: end; column-gap: 48px;
  padding-inline: calc(var(--gutter) + 8vw);
}
.facility__copy .h2 { font-size: clamp(40px, 5.4vw, 92px); }
.facility__copy .ln { white-space: nowrap; }
.facility__copy .eyebrow { grid-column: 1 / -1; }
.facility__copy p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 44ch; }
.facility__tag {
  position: absolute; top: clamp(56px, 10vh, 100px); right: calc(var(--gutter) + 8vw);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 99px;
  background: rgba(14,15,17,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 11px; color: rgba(255,255,255,.9);
}
.facility__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF4D3D; box-shadow: 0 0 0 4px rgba(255,77,61,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,77,61,0); } }

.marquee { padding-block: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px); overflow: hidden; }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 75s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee figure { position: relative; width: clamp(240px, 24vw, 420px); aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; flex: none; background: var(--paper-2); }
.marquee img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.02); transition: filter .6s, transform 1.2s var(--ease); }
.marquee figure:hover img { filter: none; transform: scale(1.04); }
.marquee figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 10px; border-radius: 99px; font-size: 10px;
  background: rgba(251,251,249,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Reach (map)
   ========================================================================== */
.reach { background: var(--paper); border-top: 1px solid var(--line); }
.reach__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 40px; margin-bottom: clamp(24px, 3vw, 48px); }
.reach__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.reach__lede { max-width: 380px; color: var(--ink-2); }
.reach__map { position: relative; aspect-ratio: 2.05 / 1; }
.reach__map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.reach__count {
  position: absolute; left: 0; bottom: 6%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  pointer-events: none;
}
.reach__num { font-size: clamp(56px, 7vw, 120px); font-weight: 400; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.reach__list {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong); margin-top: clamp(16px, 2vw, 32px);
}
.reach__list li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: baseline;
  padding: 16px 16px 18px 0; border-bottom: 1px solid var(--line);
  opacity: .32; transition: opacity .6s var(--ease);
}
.reach__list li.is-on { opacity: 1; }
.reach__idx { color: var(--ink-3); font-size: 11px; transition: color .6s; }
.reach__list li.is-on .reach__idx { color: var(--accent-ink); }
.reach__country { font-size: clamp(17px, 1.4vw, 22px); font-weight: 500; letter-spacing: -.02em; }
.reach__region { grid-column: 2; color: var(--ink-3); font-size: 10px; }
.no-js .reach__list li { opacity: 1; }

/* ==========================================================================
   Clients
   ========================================================================== */
.clients { background: var(--paper); }
/* Reach → Clients read as one chapter ("where" → "who"): one surface, tight internal rhythm. */
.section.reach { padding-bottom: clamp(72px, 8vw, 128px); }
.section.clients { padding-top: 0; }
.clients__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 40px; margin-bottom: clamp(48px, 6vw, 88px); }
.clients__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.clients__lede { max-width: 340px; color: var(--ink-2); }
.clients__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line);
}
.clients__grid li {
  position: relative; isolation: isolate;
  min-height: clamp(170px, 15vw, 240px);
  padding: clamp(20px, 2vw, 32px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: color .45s var(--ease);
}
.clients__grid li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease-io);
}
.client__logo { flex: 1; display: grid; place-items: center; padding-block: 12px 4px; }
.client__logo img { height: calc(var(--h, 44px) * 1.3); width: auto; max-width: 80%; object-fit: contain; opacity: .78; transition: opacity .45s var(--ease), filter .45s var(--ease), transform .8s var(--ease); }
.client__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.client__name { color: var(--ink-2); font-size: 11px; transition: color .45s; }
.client__sector { color: var(--ink-3); font-size: 11px; text-align: right; transition: color .45s; }
@media (hover: hover) {
  .clients__grid li:hover { color: var(--paper); }
  .clients__grid li:hover::before { clip-path: inset(0 0 0 0); }
  .clients__grid li:hover .client__sector { color: var(--accent); }
  .clients__grid li:hover .client__name { color: rgba(255,255,255,.7); }
  .clients__grid li:hover .client__logo img { opacity: 1; filter: invert(1); transform: scale(1.04); }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 140px); }
.contact__lede { margin-top: 28px; max-width: 44ch; color: var(--ink-2); font-size: 18px; }
.contact__details { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.contact__details dt { color: var(--ink-3); margin-bottom: 6px; }
.contact__details dd { font-size: 17px; line-height: 1.45; }

.form { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__label { color: var(--ink-3); padding: 0; }
.field input, .field textarea {
  font: inherit; font-size: 18px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 10px 0 12px; outline: none; resize: vertical;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field textarea::placeholder { color: var(--ink-3); }
.field.is-invalid input { border-bottom-color: #C2410C; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form__note { color: var(--ink-3); font-size: 11px; max-width: 32ch; }

/* ==========================================================================
   Footer + wordmark
   ========================================================================== */
.footer { background: var(--paper); padding-top: clamp(80px, 9vw, 140px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; align-items: flex-start; }
.footer__col .mono { margin-bottom: 8px; }
.footer__col a { transition: color .3s; }
.footer__col a:not(.btn):hover { color: var(--accent-ink); }
.footer__emblem { width: 112px; height: auto; margin-bottom: 28px; }
.footer__claim { font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -.03em; line-height: 1.1; max-width: 18ch; margin-bottom: 20px; font-weight: 500; }

.wordmark {
  --size: 22vw;
  position: relative;
  margin-top: clamp(64px, 8vw, 120px);
  perspective: 900px;
  perspective-origin: 50% 0%;
  text-align: center;
  user-select: none;
}
.wordmark__scene { display: flex; flex-direction: column; align-items: center; transform-style: preserve-3d; transform-origin: 50% 100%; }
.wordmark__word, .wordmark__reflection {
  position: relative;
  font-size: var(--size); font-weight: 500;
  line-height: .78; letter-spacing: -.052em;
  white-space: nowrap;
}
.wordmark__outline, .wordmark__solid { padding: 0 .06em .2em .02em; }
.wordmark__word { margin-bottom: -.2em; }
.wordmark__word { display: inline-block; }
.wordmark__outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}
.wordmark__solid {
  position: absolute; inset: 0;
  display: block;
  background: linear-gradient(180deg, #1d1e21 0%, var(--ink) 45%, #060607 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.js .wordmark__word .wordmark__solid { clip-path: inset(135% -5% -35% -5%); }
.wordmark.is-filled .wordmark__outline { opacity: 0; }   /* no cyan rim once the fill lands */
.wordmark__reflection {
  transform: scaleY(-1);
  margin-top: .02em;
  height: .32em; overflow: hidden;
  opacity: .12;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 70%);
  mask-image: linear-gradient(to top, #000 0%, transparent 70%);
}
.wordmark__reflection .wordmark__solid { position: relative; inset: auto; padding-bottom: 0; }
.wordmark__reflection { display: flex; align-items: flex-end; justify-content: center; }
.wordmark__reflection { height: .3em; }

.footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 20px 28px; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 11px;
}
.footer__base a:hover { color: var(--ink); }
.footer__credit { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.footer__credit span {
  color: var(--ink-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.footer__credit i { font-style: normal; display: inline-block; transition: transform .45s var(--ease), color .3s; }
.footer__credit:hover span { color: var(--ink); background-size: 100% 1px; }
.footer__credit:hover i { transform: translate(2px, -2px); color: var(--accent-ink); }

/* ==========================================================================
   Film modal + cursor
   ========================================================================== */
.film {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10, 11, 12, .94);
  display: grid; place-items: center;
  padding: clamp(16px, 5vw, 80px);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.film.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.film__video { width: min(100%, calc((100vh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 14px; background: #000; transform: scale(.94); transition: transform .8s var(--ease); }
.film.is-open .film__video { transform: none; }
.film__close { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); }
.film__close:hover { background: rgba(255,255,255,.2); }
.film__close span { position: absolute; left: 16px; right: 16px; top: 25px; height: 1.5px; background: #fff; }
.film__close span:first-child { transform: rotate(45deg); }
.film__close span:last-child { transform: rotate(-45deg); }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  will-change: transform;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto auto; gap: 10px; }
  .nav__burger { display: block; }
  .numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 220px; padding-bottom: 28px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cap { grid-template-columns: 56px minmax(0, 1fr) 32px; }
  .cap__desc { grid-column: 2; grid-row: 2; }
  .cap__arrow { grid-row: 1; grid-column: 3; }
  .hero__meta span { max-width: 22vw; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; --radius: 16px; }
  .nav__cta { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .section { padding-block: 96px; }

  .hero__line--1 { top: 19vh; }
  .hero__line--2 { bottom: 19vh; }
  .hero__title { font-size: min(14.5vw, 11vh); }
  .hero__meta { align-items: flex-end; padding-bottom: 7vh; }
  .hero__meta span { max-width: 40vw; }
  .hero__intro { right: var(--gutter); max-width: none; bottom: 88px; }
  .hero__controls { left: var(--gutter); right: auto; bottom: 24px; }
  .hero__scroll { display: none; }
  .hero__controls [data-sound] { display: none; }   /* phone hero loop is silent (lighter file); the film has sound */
  .nav__emblem { height: 21px; }
  .nav__logo { gap: 10px; }

  .manifesto__text { text-indent: 0; }
  .manifesto__cols { grid-template-columns: 1fr; font-size: 16px; }

  .formats__pin { min-height: 0; padding-block: 96px 64px; }
  .formats__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .formats__track { padding-right: var(--gutter); }
  .card, .card--wide { width: 84vw; scroll-snap-align: center; }
  .card__media { height: auto; aspect-ratio: 4 / 3.3; }
  .card__media img { transform: none; }
  .progress { display: none; }
  .swipe-hint { display: inline; }

  .process__grid { grid-template-columns: 1fr; gap: 24px; }
  .process__media { top: calc(var(--nav-h) + 8px); z-index: 2; }
  .process__media::before { content: ""; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); bottom: 100%; height: calc(var(--nav-h) + 8px); background: var(--paper); }
  .process__media::after { content: ""; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%; height: 28px; background: linear-gradient(var(--paper), rgba(243,242,238,0)); }
  .process__frame { aspect-ratio: 16 / 11; box-shadow: 0 0 0 10px var(--paper); }
  .step { min-height: 56vh; }
  .step h3 { font-size: 30px; }
  .step p { font-size: 16px; }

  .capabilities__head, .clients__head, .reach__head { grid-template-columns: 1fr; }
  .reach__map { aspect-ratio: auto; margin-inline: calc(-1 * var(--gutter) + 4px); }
  .reach__map canvas { position: relative; inset: auto; height: auto; aspect-ratio: 1.55 / 1; }
  .reach__count { position: static; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 12px; padding-inline: var(--gutter); margin-top: 8px; }
  .reach__num { font-size: 56px; }
  .reach__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .facility__stage { height: 88svh; }
  .facility__frame { clip-path: inset(0 3% 0 3% round 18px); }
  .facility__copy .ln { white-space: normal; }
  .facility__copy { grid-template-columns: 1fr; row-gap: 20px; padding-inline: calc(var(--gutter) + 3vw); bottom: 40px; }
  .facility__copy p { font-size: 16px; }
  .facility__tag { top: 24px; right: calc(var(--gutter) + 3vw); }

  .clients__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col--lead { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .numbers__grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { border-right: 0; padding-left: 0; min-height: 0; border-top: 1px solid var(--line); padding-block: 24px; }
  .stat:first-child { border-top: 0; }
  .form__row { grid-template-columns: 1fr; }
  .contact__details { grid-template-columns: 1fr; }
  .clients__grid li { min-height: 150px; padding: 16px; }
  .client__logo img { height: calc(var(--h, 44px) * .62); max-width: 92%; }
  .client__meta { flex-direction: column; gap: 2px; }
  .client__name { display: none; }
  .client__sector { text-align: left; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
  .cap { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 12px 14px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-lines] .ln > span { transform: none; }
  .js .wordmark__word .wordmark__solid { clip-path: none; }
  .js .hero__meta { opacity: 1; }
  .marquee__track { animation: none; }
}
