/* Lawton — marketing site.
   Layout and motion modelled on an editorial agency homepage: white page, one accent,
   huge light display type against tiny UI type, a 12-column grid, text-roll hovers,
   a colour sweep on every big heading. The dark band under the hero is the Brain
   Sphere scroll story from the Team of Swarms handoff.

   Sizing is fluid: the desktop design is drawn at 1920 wide, so 1rem = 100vw / 192
   (7.5px at 1440, 10px at 1920). Phones use a 375-wide design capped at 480. */

@font-face { font-family: "Inter Tight"; font-weight: 200; font-style: normal; font-display: swap; src: url(../fonts/inter-tight-latin-200-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/inter-tight-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/inter-tight-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/inter-tight-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/inter-tight-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }

:root {
  --bg: #ffffff;
  --ink: #0d0d12;
  --grey: #8f8f8f;
  --grey-2: #5d5d66;
  --hair: #ececf0;
  --accent: #7674f1;          /* Lawton violet: hovers, sweep, progress */
  --accent-ink: #5552e0;      /* the same violet, dark enough for small text on white */
  --logo: #46255f;            /* the logo's own purple */
  --night: #0c0c16;           /* the sphere stage */
  --night-ink: #f1ede6;
  --yellow: #f1c40f;          /* only ever the approver: you */

  --sans: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --gutter: 2.4rem;           /* 18px at 1440 */
  --gap: 2rem;                /* 15px at 1440 */
  --space: 7.5rem;            /* 56px at 1440: the one vertical rhythm between sections */
  --header-h: 10.4rem;

  --ease-power4: cubic-bezier(.215, .61, .355, 1);
  --ease-soft: cubic-bezier(.165, .84, .44, 1);
  --ease-snappy: cubic-bezier(.694, .048, .335, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html { font-size: min(calc(480px / 375 * 10), calc(100vw / 375 * 10)); -webkit-text-size-adjust: 100%; }
@media (min-width: 1024px) { html { font-size: calc(100vw / 192); } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 500;
  font-size: max(2rem, 16px); line-height: 1.35;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, 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; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; font-size: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; font-size: 14px; }
.skip:focus { top: 10px; }

/* ---------------------------------------------------------------- type scale -- */
.t-xs  { font-size: max(1.4rem, 10px); line-height: 1.1; font-weight: 500; }
.t-sm  { font-size: max(1.6rem, 12px); line-height: 1.1; font-weight: 500; }
.t-2sm { font-size: max(1.8rem, 14px); line-height: 1.1; font-weight: 500; }
.t-md  { font-size: max(2rem, 16px); line-height: 1.35; font-weight: 500; }
.t-2md { font-size: 2.6rem; line-height: 1.3; }
.t-lg  { font-size: 5rem; line-height: 1.05; }
.t-xl  { font-size: 8rem; line-height: 1; }
.t-3xl { font-size: 6rem; line-height: 1.08; font-weight: 400; letter-spacing: -0.035em; }
@media (min-width: 1024px) { .t-3xl { font-size: 14.5rem; font-weight: 300; letter-spacing: -0.04em; } }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
.serif.t-lg { font-size: 5rem; line-height: 1; }
.serif.t-xl { font-size: 8rem; line-height: 1; }
.upper { text-transform: uppercase; }
.muted { color: var(--grey); }
.body-copy { font-size: max(2rem, 16px); line-height: 1.45; font-weight: 400; color: #2a2a33; max-width: 62ch; }
.body-copy + .body-copy { margin-top: 1em; }
.body-copy strong { font-weight: 500; color: var(--ink); }

/* ---------------------------------------------------------------------- grid -- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.spacing { height: var(--space); }
.spacing--lg { height: calc(var(--space) * 2); }
.col-1-4 { grid-column: 1 / span 4; }
.col-5-end { grid-column: 5 / -1; }
.col-5-10 { grid-column: 5 / span 6; }
.col-5-9 { grid-column: 5 / span 5; }
.col-full { grid-column: 1 / -1; }
@media (max-width: 1023px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-1-4, .col-5-end, .col-5-10, .col-5-9 { grid-column: 1 / -1; }
  .col-1-4 + .col-5-end, .col-1-4 + .col-5-10, .col-1-4 + .col-5-9 { margin-top: 3rem; }
}
.eyebrow { font-size: max(1.6rem, 12px); line-height: 1.1; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; }

/* ------------------------------------------------- text roll (every hover) ---- */
.roll { display: inline-flex; align-items: center; gap: .6em; cursor: pointer; }
.roll__mask { position: relative; display: inline-block; overflow: clip; vertical-align: top; line-height: 1.1; padding-bottom: .08em; }
.roll__a, .roll__b { display: block; transition: transform .55s var(--ease-snappy); }
.roll__b { position: absolute; left: 0; right: 0; top: 100%; color: var(--accent-ink); }
.roll:hover .roll__a, .roll:focus-visible .roll__a, .roll.is-hot .roll__a { transform: translateY(-100%); }
.roll:hover .roll__b, .roll:focus-visible .roll__b, .roll.is-hot .roll__b { transform: translateY(-100%); }
.roll--big .roll__b { color: var(--accent); }
.arrow { display: inline-block; width: 4.6rem; height: 1.2rem; min-width: 34px; flex: none; }
.arrow path { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: stroke .45s var(--ease-snappy); }

/* ---------------------------------------------------- split heading + sweep -- */
.split { display: block; }
.split .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w__i { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1.1s var(--ease-expo), opacity .9s var(--ease-power4); transition-delay: calc(var(--wi, 0) * 45ms); }
.split .c { color: var(--accent); transition: color 1.8s var(--ease-soft); transition-delay: calc(400ms + var(--ci, 0) * 65ms); }
.split.is-in .w__i { transform: none; opacity: 1; }
.split.is-in .c { color: inherit; }
/* "overwrite": a second line replaces the first in the same place */
.overwrite { display: grid; }
.overwrite > .split { grid-area: 1 / 1; }
.overwrite > .ow__b { align-self: center; } /* "The boss is you." lands between the two lines it replaces */
.split.is-out .w__i { transform: translateY(-105%); opacity: 0; transition: transform .9s var(--ease-expo), opacity .6s ease; transition-delay: calc(var(--wi, 0) * 40ms); }
@media (prefers-reduced-motion: reduce) { .overwrite { display: block; } .overwrite > .split { display: block; } }
.split--ondark .c { color: var(--accent); }
@media (max-width: 1023px) { .split .br-d, .t-3xl br { display: none; } }
.sph-sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------- generic reveal (line mask) -- */
.reveal { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.reveal > .reveal__i { display: block; transform: translateY(105%); transition: transform .9s var(--ease-expo); transition-delay: calc(var(--ri, 0) * 70ms); }
.reveal.is-in > .reveal__i { transform: none; }
.fade-up { opacity: .1; transform: translateY(1.6rem); transition: opacity 1s var(--ease-power4), transform 1s var(--ease-power4); transition-delay: calc(var(--ri, 0) * 90ms); }
.fade-up.is-in { opacity: 1; transform: none; }
.no-js .split .w__i, .no-js .reveal > .reveal__i, .no-js .fade-up { transform: none; opacity: 1; }
.no-js .split .c { color: inherit; }

/* -------------------------------------------------------------------- header -- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h); padding: 2rem var(--gutter);
  transition: transform .6s var(--ease-snappy), color .35s ease;
  color: var(--ink); pointer-events: none;
}
.header > * { pointer-events: auto; }
.header.is-hidden { transform: translateY(-110%); }
.header .grid { align-items: start; }
.logo { grid-column: 1 / span 2; display: block; width: 11rem; min-width: 64px; position: relative; }
.logo img { width: 100%; height: auto; transition: opacity .35s ease; }
.logo .logo--white { position: absolute; inset: 0; opacity: 0; }
.nav { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--gap); padding-top: .4rem; }
.nav a { font-size: max(1.6rem, 12px); font-weight: 500; white-space: nowrap; }
.nav a[aria-current="page"] .roll__a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.nav .nav__cta { grid-column: 8; justify-self: end; }
.page-top { height: var(--header-h); }
/* the white copy of the header, shown only where something dark is behind it */
.header__inv { position: absolute; inset: 0; padding: inherit; color: #fff; pointer-events: none; clip-path: inset(0 0 100% 0); }
.header__inv .logo .logo--purple { opacity: 0; }
.header__inv .logo .logo--white { opacity: 1; }
.header__inv .roll__b { color: #c9c6ff; }
@media (max-width: 1023px) {
  :root { --header-h: 7.2rem; }
  .header { padding: 1.6rem var(--gutter); }
  .logo { grid-column: 1 / span 2; width: 6.2rem; }
  .nav { grid-column: 3 / -1; grid-template-columns: repeat(2, auto); justify-content: end; row-gap: .6rem; column-gap: 2.4rem; padding-top: 0; }
  .nav a { font-size: 12.5px; }
  .nav .nav__cta { grid-column: auto; }
}

/* ----------------------------------------------------------------- preloader -- */
.preloader { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; align-items: center; padding: 0 var(--gutter); transition: opacity .6s ease .1s, visibility 0s linear .7s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__lines { position: absolute; inset: 0; pointer-events: none; }
/* the loader's faint synapse web (drawn by site.js) */
.preloader__lines .syn { position: absolute; inset: 0; width: 100%; height: 100%; }
.syn-f { fill: none; stroke: #e2e1ec; stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: syn-draw 1.1s var(--ease-expo) forwards; animation-delay: var(--d, 0ms); }
.syn-n { fill: #d6d4f0; opacity: 0; transform-box: fill-box; transform-origin: center; animation: syn-node .9s var(--ease-expo) forwards; animation-delay: var(--d, 0ms); }
.syn-s { fill: var(--accent); opacity: .38; }
@keyframes syn-draw { to { stroke-dashoffset: 0; } }
@keyframes syn-node { 0% { opacity: 0; transform: scale(.2); } 45% { opacity: 1; transform: scale(1.8); fill: #b9b6f6; } 100% { opacity: 1; transform: scale(1); } }
.preloader__mark { position: relative; font-size: max(2.4rem, 17px); letter-spacing: .9em; font-weight: 400; }
.preloader__mark b { color: var(--logo); font-weight: 400; }
.preloader__meta { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; gap: 3rem; align-items: baseline; font-size: max(1.4rem, 10px); color: var(--grey); }
.preloader__pct { font-variant-numeric: tabular-nums; color: var(--ink); font-size: max(2rem, 15px); min-width: 4ch; text-align: right; }

/* ------------------------------------------------------------------------ hero -- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 3rem); }
.hero h1 { max-width: none; }
.hero__sub { margin-top: 4.5rem; }
@media (max-width: 1023px) { .hero { padding-top: calc(var(--header-h) + 3rem); } }

/* --------------------------------------------- the Brain Sphere scroll story -- */
.story { position: relative; height: 610vh; margin-top: 6rem; }
.story__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--night); color: var(--night-ink);
  transform-origin: 50% 0; will-change: transform;
}
.story__frame { position: absolute; inset: 0; transition: transform 1.1s var(--ease-soft); }
/* on wide screens the sphere steps aside from whichever side the copy is on */
@media (min-width: 1024px) {
  .story__frame { transform: translateX(13%); }
  .story__stage.is-even .story__frame { transform: translateX(-13%); }
}
.story__frame .sph-frame { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; cursor: default; background: transparent; }
.story__beats { position: absolute; inset: 0; pointer-events: none; }
.beat {
  position: absolute; left: var(--gutter); bottom: 12vh; width: min(58rem, 86vw);
  opacity: 0; transform: translateY(3rem); transition: opacity .7s var(--ease-power4), transform .9s var(--ease-expo);
}
.beat.is-on { opacity: 1; transform: none; }
.beat:nth-child(even) { left: auto; right: var(--gutter); }
.beat__k { display: flex; gap: 1.6rem; align-items: baseline; color: #b4b1bd; margin-bottom: 1.8rem; }
.beat__k .idx { color: #8f8c99; font-variant-numeric: tabular-nums; }
.beat h2 { font-size: max(6.2rem, 32px); line-height: 1.02; font-weight: 300; letter-spacing: -0.015em; margin-bottom: 2rem; text-wrap: balance; color: #fff; }
.beat p { font-size: max(2rem, 15px); line-height: 1.5; font-weight: 400; color: #d8d5de; max-width: 46ch; text-wrap: pretty; }
.beat p b { color: var(--yellow); font-weight: 500; }
.story__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(12,12,22,.82) 0%, rgba(12,12,22,.35) 34%, rgba(12,12,22,0) 55%); transition: background .6s ease; }
.story__stage.is-even .story__veil { background: linear-gradient(270deg, rgba(12,12,22,.82) 0%, rgba(12,12,22,.35) 34%, rgba(12,12,22,0) 55%); }
.story__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.story__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.story__hud { position: absolute; top: calc(var(--header-h) + 1rem); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; color: #8f8c99; pointer-events: none; }
.story__legend { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.story__legend span { display: inline-flex; align-items: center; gap: .8rem; }
.story__legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.cursor-pill { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; background: #000; color: #fff; border-radius: 999px; padding: 4px 10.5px; font-size: max(1.4rem, 10.5px); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; opacity: 0; transform: translate(-100%, -50%) translate(-12px, 0); transition: opacity .25s ease; }
.cursor-pill.is-on { opacity: 1; }
.story__stage .cursor-pill { background: #fff; color: #000; }
@media (max-width: 1023px) {
  .story { height: 540vh; }
  .beat, .beat:nth-child(even) { left: var(--gutter); right: var(--gutter); width: auto; bottom: 8vh; }
  .beat h2 { font-size: 3.6rem; }
  .story__veil, .story__stage.is-even .story__veil { background: linear-gradient(0deg, rgba(12,12,22,.92) 0%, rgba(12,12,22,.55) 38%, rgba(12,12,22,0) 62%); }
  .story__legend { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .story { height: auto; }
  .story__stage { position: relative; height: auto; transform: none !important; }
  .story__frame { position: relative; height: 80vh; }
  .story__beats { position: relative; inset: auto; background: var(--night); padding: 6rem var(--gutter) 2rem; display: grid; gap: 6rem; pointer-events: auto; }
  .beat, .beat:nth-child(even) { position: static; opacity: 1; transform: none; width: auto; }
  .story__veil, .story__bar { display: none; }
}

/* -------------------------------------------------------- about tile mosaic -- */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 5.6rem; margin-top: 6rem; }
.tile { position: relative; }
.tile__idx { display: flex; justify-content: space-between; gap: 1rem; font-size: max(1.4rem, 10.5px); line-height: 1.1; margin-bottom: 1.6rem; }
.tile__idx > span:first-child { color: var(--grey-2); }
.tile--lower .tile__idx { margin: 1.6rem 0 0; }
.tile__frame { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--night); }
.tile__in { position: absolute; inset: 0; transform: translateX(-44%) scale(1.5); transition: transform 1.1s var(--ease-expo); transition-delay: calc(var(--ri, 0) * 120ms); }
.tile__in svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tiles.is-in .tile__in { transform: none; }
.tile--gap { visibility: hidden; }
/* the left column of the mosaic holds the note; tiles fill columns 2–6 on both rows */
.tiles__q { position: relative; }
.tiles__q--1 { grid-column: 1; grid-row: 1; padding-top: calc(max(1.4rem, 10.5px) * 1.1 + 1.6rem); }
.tiles__q--2 { grid-column: 1; grid-row: 2; }
.qfit { margin: 0; aspect-ratio: 1; overflow: visible; }
.qfit__in { display: block; font-weight: 300; line-height: 1.02; letter-spacing: -0.035em; }
.qfit[data-q="2"] .qfit__in { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: .98; }
.qw { display: inline-block; will-change: transform; transform-origin: 0 100%; position: relative; }
.is-measuring .qw { transform: none !important; }
.qw--strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .07em; background: var(--accent); transform: scaleX(var(--strike, 0)); transform-origin: 0 50%; }
.about__copy { margin-top: 7rem; }
@media (max-width: 1023px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 3rem; }
  .tile--gap { display: none; }
  .tiles__q--1, .tiles__q--2 { grid-column: 1 / -1; grid-row: auto; padding-top: 0; }
  .qfit { aspect-ratio: 2.4 / 1; }
  .tiles__q--2 { margin-bottom: 1rem; }
  .tile--lower { display: flex; flex-direction: column-reverse; }
  .tile--lower .tile__idx { margin: 0 0 1.6rem; }
  .tile__idx { font-size: 10.5px; align-items: flex-end; min-height: 2.3em; }
  .tile--mgap { visibility: hidden; display: block; }
}

/* ---------------------------------------------------------------- services -- */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 7.5rem; margin-top: 6rem; }
.svc__item { grid-column: span 6; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); position: relative; color: inherit; }
.svc__media { grid-column: 1 / span 2; position: relative; aspect-ratio: 330 / 134; background: var(--night); overflow: hidden; clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--ease-expo); }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.1s var(--ease-expo); }
.svc__item:hover .svc__media img, .svc__item:focus-visible .svc__media img { transform: scale(1); }
.svc__body { grid-column: 3 / span 2; position: relative; }
.svc__idx { position: absolute; right: calc(100% + 1.4rem); top: .5rem; font-size: max(1.4rem, 10.5px); transition: opacity .3s ease; }
.svc__title { font-family: var(--serif); font-size: 5rem; line-height: 1; letter-spacing: -.005em; display: block; }
.svc__title .roll__mask { line-height: 1; padding-bottom: .12em; display: block; }
.svc__title .roll__a, .svc__title .roll__b { white-space: normal; }
.svc__title .roll__b { color: var(--accent); }
.svc__desc { margin-top: 1.6rem; font-size: max(1.8rem, 14px); line-height: 1.4; font-weight: 400; color: var(--grey-2); max-width: 34ch; }
.svc__more { display: flex; justify-content: space-between; align-items: center; margin-top: 2.6rem; font-size: max(1.6rem, 12px); text-transform: uppercase; opacity: 0; transform: translateY(.8rem); transition: opacity .45s ease, transform .6s var(--ease-expo); }
.svc__item:hover .svc__media, .svc__item:focus-visible .svc__media { clip-path: inset(0 0 0 0); }
.svc__item:hover .svc__idx, .svc__item:focus-visible .svc__idx { opacity: 0; }
.svc__item:hover .svc__more, .svc__item:focus-visible .svc__more { opacity: 1; transform: none; }
.svc__item:hover .roll__a, .svc__item:focus-visible .roll__a, .svc__item:hover .roll__b, .svc__item:focus-visible .roll__b { transform: translateY(-100%); }
@media (max-width: 1023px) {
  .svc { grid-template-columns: 1fr; row-gap: 5rem; }
  .svc__item { grid-column: auto; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .svc__media { display: none; }
  .svc__body { grid-column: 2 / -1; }
  .svc__title { font-size: 4.2rem; }
  .svc__more { opacity: 1; transform: none; }
}

/* ------------------------------------------------- works: pinned pipelines --- */
.works { position: relative; height: calc(var(--n, 4) * 100vh + 40vh); margin-top: 6rem; }
.works__pin { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h) - 2rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.works__text { grid-column: 1 / span 4; position: relative; }
.works__media { grid-column: 5 / -1; position: relative; display: flex; flex-direction: column; }
.works__stack { position: relative; flex: 1; overflow: hidden; background: var(--night); }
.works__cover { position: absolute; inset: 0; transform: translateY(100%); will-change: transform; background: var(--night); }
.works__cover:first-child { transform: none; }
.works__cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.works__bar { height: 2px; margin-top: 1rem; position: relative; }
.works__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.proj { position: absolute; inset: 0; display: flex; flex-direction: column; pointer-events: none; }
.proj.is-on { pointer-events: auto; }
.proj__title { font-family: var(--serif); font-size: 8rem; line-height: 1; letter-spacing: -.01em; }
.proj__specs { margin-top: 7rem; display: grid; gap: 4.5rem; }
.proj__row { display: grid; grid-template-columns: 1fr 2fr; column-gap: var(--gap); font-size: max(1.8rem, 14px); line-height: 1.25; font-weight: 500; }
.proj__row dt { color: var(--ink); }
.proj__row dd { margin: 0; color: var(--ink); }
.proj__row dd .y { color: #9a7a00; }
.proj__desc { margin-top: auto; display: grid; grid-template-columns: 1fr 2fr; column-gap: var(--gap); font-size: max(1.8rem, 14px); line-height: 1.25; font-weight: 400; padding-bottom: 1rem; }
.proj .ln { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.proj .ln > span { display: block; transform: translateY(105%); transition: transform .8s var(--ease-expo); transition-delay: calc(var(--li, 0) * 60ms); }
.proj.is-on .ln > span { transform: none; transition-delay: calc(200ms + var(--li, 0) * 60ms); }
.proj.is-past .ln > span { transform: translateY(-105%); }
.works__count { position: absolute; right: 0; top: -3rem; font-size: max(1.4rem, 10.5px); font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .works__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; row-gap: 2rem; top: calc(var(--header-h)); height: calc(100svh - var(--header-h) - 1rem); }
  .works__text { grid-column: 1; min-height: 23rem; }
  .works__media { grid-column: 1; }
  .proj__title { font-size: 4.4rem; }
  .proj__specs { margin-top: 2rem; gap: 1rem; }
  .proj__desc { display: none; }
  .proj__specs .proj__row:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .works { height: auto; }
  .works__pin { position: relative; top: 0; height: auto; display: block; }
  .works__text { display: none; }
  .works__stack, .works__bar, .works__count { display: none; }
  .works__static { display: grid !important; }
}
.works__static { display: none; gap: 6rem; }

/* pipeline drawings inside the covers */
.pipe .node circle.body { transition: fill .4s ease; }
.pipe .hop { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.works__cover.is-live .pipe .hop { animation: hop var(--cycle, 7s) var(--ease-power4) infinite; animation-delay: calc(var(--hi, 0) * 0.9s); }
@keyframes hop { 0% { stroke-dashoffset: 1; opacity: 1; } 14% { stroke-dashoffset: 0; opacity: 1; } 82% { stroke-dashoffset: 0; opacity: .55; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.works__cover.is-live .pipe .node .body { animation: work var(--cycle, 7s) linear infinite; animation-delay: calc(var(--ni, 0) * 0.9s); }
@keyframes work { 0%, 100% { fill: #6b6b78; } 4%, 20% { fill: #7674f1; } 30% { fill: #6b6b78; } }
.works__cover.is-live .pipe .you-pulse { animation: pulse 1.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.works__cover.is-live .pipe .brain-glow { animation: breathe 4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }

/* ---------------------------------------------------------------------- CTA -- */
.cta { display: inline-flex; flex-direction: column; font-family: var(--serif); font-size: 5rem; line-height: 1.05; }
.cta .l1 { color: var(--grey); }
.cta .l2 { display: inline-flex; align-items: center; gap: 2.4rem; color: var(--ink); }
.cta .l1, .cta .l2 { transition: color .5s var(--ease-snappy); }
.cta:hover .l1, .cta:hover .l2, .cta:focus-visible .l1, .cta:focus-visible .l2 { color: var(--accent); }
.cta .arrow { width: 8rem; height: 2rem; }
@media (max-width: 1023px) { .cta { font-size: 3.6rem; } }

/* ----------------------------------------------------------------- text grid -- */
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.2rem; font-size: max(1.8rem, 14px); line-height: 1.1; }
.tgrid--1 { grid-template-columns: 1fr; }
.tgrid li .muted { display: block; margin-top: .4rem; font-weight: 400; }
.tgrid--1 li { display: grid; grid-template-columns: 1fr 3fr; column-gap: var(--gap); }
.tgrid--1 li .muted { margin: 0; }
@media (max-width: 1023px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tgrid--1 { grid-template-columns: 1fr; } .tgrid--1 li { grid-template-columns: 1fr 1.6fr; } }

/* -------------------------------------------------------------------- footer -- */
.footer { padding: 2rem var(--gutter) 2rem; }
.footer .grid { row-gap: 6rem; }
.footer__logo { grid-column: 1 / span 4; width: 13.7rem; min-width: 84px; }
.footer__logo img { width: 100%; height: auto; }
.footer__col { font-size: max(1.8rem, 14px); line-height: 1.1; display: grid; gap: .9rem; align-content: start; }
.footer__col--a { grid-column: 5 / span 2; }
.footer__col--b { grid-column: 7 / span 2; }
.footer__col--c { grid-column: 11 / span 2; text-transform: uppercase; }
.footer__legal { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); font-size: max(1.4rem, 10.5px); color: var(--grey-2); }
.footer__legal > :nth-child(1) { grid-column: 1 / span 4; }
.footer__legal > :nth-child(2) { grid-column: 5 / span 2; }
.footer__legal > :nth-child(3) { grid-column: 7 / span 2; }
.footer__legal > :nth-child(4) { grid-column: 9 / span 2; }
@media (max-width: 1023px) {
  .footer__logo { grid-column: 1 / -1; }
  .footer__col--a { grid-column: 1 / span 3; } .footer__col--b { grid-column: 4 / span 3; } .footer__col--c { grid-column: 1 / -1; }
  .footer__legal { grid-template-columns: 1fr 1fr; row-gap: .8rem; }
  .footer__legal > * { grid-column: auto !important; }
}

/* ------------------------------------------------------------- inner pages ---- */
.page-hero { padding-top: calc(var(--header-h) + 6rem); }
.lede { margin-top: 4.5rem; }
.steps { display: grid; gap: 0; margin-top: 6rem; }
.step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 4.5rem 0; border-top: 1px solid var(--hair); }
.step:last-child { border-bottom: 1px solid var(--hair); }
.step__n { grid-column: 1 / span 4; font-size: max(1.4rem, 10.5px); }
.step__t { grid-column: 5 / span 3; font-family: var(--serif); font-size: 5rem; line-height: 1; }
.step__b { grid-column: 8 / span 5; font-size: max(1.8rem, 14px); line-height: 1.45; font-weight: 400; color: #2a2a33; max-width: 60ch; }
@media (max-width: 1023px) {
  .step { grid-template-columns: 1fr; row-gap: 1.6rem; }
  .step__n, .step__t, .step__b { grid-column: 1; }
  .step__t { font-size: 4rem; }
}
.figure { margin-top: 6rem; background: #f7f5f0; }
.figure img { width: 100%; height: auto; }
.figure figcaption { padding: 1.6rem 0 0; font-size: max(1.4rem, 10.5px); color: var(--grey-2); background: #fff; }

.two-lists { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.two-lists > div:first-child { grid-column: 5 / span 4; }
.two-lists > div:last-child { grid-column: 9 / span 4; }
.rule-list li { padding: 1.6rem 0; border-top: 1px solid var(--hair); font-size: max(1.8rem, 14px); font-weight: 400; display: flex; gap: 1.2rem; }
.rule-list li:last-child { border-bottom: 1px solid var(--hair); }
.rule-list .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: .45em; flex: none; }
.list-label { margin-bottom: 2.4rem; }
@media (max-width: 1023px) { .two-lists { grid-template-columns: 1fr; row-gap: 5rem; } .two-lists > div { grid-column: 1 !important; } }

.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 2.6rem 0; display: flex; justify-content: space-between; gap: 2rem; font-family: var(--serif); font-size: 3.6rem; line-height: 1.1; transition: color .4s var(--ease-snappy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .pm { font-family: var(--sans); font-size: max(2rem, 16px); font-weight: 400; transition: transform .4s var(--ease-snappy); flex: none; margin-top: .3em; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 0 3rem; font-size: max(1.8rem, 14px); line-height: 1.5; font-weight: 400; color: #2a2a33; max-width: 70ch; }
@media (max-width: 1023px) { .faq summary { font-size: 2.6rem; } }

/* agents page */
.sphere-band { position: relative; background: var(--night); color: var(--night-ink); height: min(56.25vw, 92vh); min-height: 460px; }
.sphere-band .sph-frame { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; }
.groups { margin-top: 6rem; display: grid; gap: 0; }
.group { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 4.5rem 0; border-top: 1px solid var(--hair); scroll-margin-top: calc(var(--header-h) + 2rem); }
.group:last-child { border-bottom: 1px solid var(--hair); }
.group__head { grid-column: 1 / span 4; }
.group__name { font-family: var(--serif); font-size: 5rem; line-height: 1; display: flex; align-items: center; gap: 1.6rem; }
.group__name i { width: 12px; height: 12px; border-radius: 50%; flex: none; border: 2.5px solid; background: #6b6b78; }
.group__blurb { margin-top: 1.6rem; font-size: max(1.8rem, 14px); line-height: 1.45; font-weight: 400; color: var(--grey-2); max-width: 36ch; }
.group__roles { grid-column: 5 / -1; }
@media (max-width: 1023px) { .group { grid-template-columns: 1fr; row-gap: 3rem; } .group__head, .group__roles { grid-column: 1; } }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 6rem; border-top: 1px solid var(--hair); }
.tier { grid-column: span 4; padding: 4rem 3rem 4rem 0; display: flex; flex-direction: column; position: relative; }
.tier + .tier { padding-left: 3rem; border-left: 1px solid var(--hair); }
.tier__label { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.tier__pop { background: var(--yellow); color: var(--ink); padding: 4px 9px; border-radius: 999px; font-size: max(1.3rem, 10px); }
.tier__price { margin-top: 4rem; font-size: 12rem; font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.tier__price small { font-size: max(2rem, 15px); font-weight: 400; letter-spacing: 0; color: var(--grey-2); margin-left: .4rem; }
.tier__price.serif { font-size: 9rem; letter-spacing: -.01em; }
.tier__desc { margin-top: 2rem; font-size: max(1.8rem, 14px); line-height: 1.45; font-weight: 400; color: #2a2a33; min-height: 4.4em; }
.tier ul { margin: 3rem 0 4rem; }
.tier li { padding: 1.2rem 0; border-top: 1px solid var(--hair); font-size: max(1.8rem, 14px); font-weight: 400; }
.tier .cta { margin-top: auto; font-size: 3.6rem; }
@media (max-width: 1023px) {
  .tiers { grid-template-columns: 1fr; }
  .tier, .tier + .tier { grid-column: 1; padding: 4rem 0; border-left: 0; border-bottom: 1px solid var(--hair); }
  .tier__price { font-size: 9rem; }
}

/* get started form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3.6rem; }
.field { display: flex; flex-direction: column; gap: 1rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: max(1.6rem, 12px); text-transform: uppercase; }
.field label .opt { color: var(--grey); text-transform: none; margin-left: .5em; }
.field input, .field select, .field textarea {
  font: 400 max(2.6rem, 18px)/1.3 var(--sans); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid #cfcfd6; border-radius: 0; padding: .8rem 0 1.2rem; outline: none; transition: border-color .3s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field textarea { min-height: 14rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field .err { font-size: max(1.4rem, 11px); color: #b3261e; min-height: 1.2em; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; flex-wrap: wrap; }
.form__note { font-size: max(1.4rem, 11px); color: var(--grey-2); max-width: 52ch; line-height: 1.45; }
.form__status { grid-column: 1 / -1; font-size: max(1.8rem, 14px); line-height: 1.45; min-height: 1.4em; }
.form__status.is-ok { color: var(--accent-ink); }
.form__status.is-bad { color: #b3261e; }
button.cta { text-align: left; }
button.cta[disabled] { opacity: .5; cursor: progress; }
@media (max-width: 1023px) { .form { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .split .w__i, .reveal > .reveal__i, .fade-up, .tile__in { transform: none !important; opacity: 1 !important; }
  .split .c { color: inherit !important; }
  .preloader { display: none; }
}

/* legal pages */
.legal { font-size: max(1.8rem, 15px); line-height: 1.6; font-weight: 400; color: #2a2a33; }
.legal p { margin: 0 0 1.1em; max-width: 68ch; }
.legal__h { font-family: var(--serif); font-size: 3.6rem; line-height: 1.1; color: var(--ink); margin: 2.2em 0 .7em; }
.legal__date { margin-bottom: 3rem !important; }
@media (max-width: 1023px) { .legal__h { font-size: 2.8rem; } }

/* ------------------------------------------------- intro: stair-step violet wipe -- */
.wipe { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: repeat(8, 1fr); pointer-events: none; }
.wipe i { background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease-snappy); transition-delay: var(--d, 0ms); margin: 0 -1px; }
.wipe.is-up i { transform: scaleY(1); }
.wipe.is-off i { transform-origin: 50% 0%; transform: scaleY(0); transition-duration: .65s; }

/* ------------------------------------------------------------- the phrase reel -- */
.reel { position: relative; margin-top: 3.6rem; height: clamp(240px, 42vh, 520px); }
.reel__stage { position: absolute; inset: 0; overflow: hidden; background: #fff; color: var(--ink); transition: background-color .01s; }
.reel__stage.dark { background: var(--night); color: #fff; }
.reel__cols { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-columns: repeat(8, 1fr); pointer-events: none; }
.reel__cols i { transform: scaleY(0); margin: 0 -1px; }
.reel__static { display: none; }
.reel__stage.is-static .reel__static { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding-bottom: 2rem; }
.reel__static p { font-size: max(2rem, 15px); color: var(--grey-2); font-weight: 400; margin-top: 1rem; max-width: 60ch; }
.sc { position: absolute; inset: 0; display: flex; padding: 0 0 calc(var(--rh) * .08); }
.ch { display: inline-block; transform-origin: 50% 100%; }
.acc { color: var(--accent); }
.r-sm { font-size: calc(var(--rh) * .085); font-weight: 400; line-height: 1; }
.r-serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.r-big { font-size: calc(var(--rh) * .66); line-height: .9; letter-spacing: -0.01em; }
.r-huge { font-size: calc(var(--rh) * .78); line-height: .85; }
.s1 { align-items: flex-end; gap: calc(var(--rh) * .06); }
.s1 .r-sm { margin-bottom: calc(var(--rh) * .06); }
.s2 { align-items: center; justify-content: space-between; padding: 0; }
.s2.gather { justify-content: center; gap: .3em; }
.r-word { font-size: calc(var(--rh) * .13); font-weight: 300; letter-spacing: -0.02em; display: inline-block; }
.s3 { flex-direction: column; justify-content: flex-end; }
.s3 .r-top { margin-bottom: calc(var(--rh) * .04); }
.s4 { align-items: center; padding: 0; overflow: hidden; }
.r-mega { font-size: calc(var(--rh) * .8); font-weight: 300; letter-spacing: -0.04em; white-space: nowrap; line-height: 1; flex: none; }
.r-mega em, .r-mid em { font-style: normal; color: var(--accent); }
.r-mid { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .25em; font-size: calc(var(--rh) * .22); font-weight: 300; letter-spacing: -0.03em; white-space: nowrap; }
.s5 { padding: 0; }
.s5 svg { position: absolute; inset: 0; }
.r-wave { font-family: var(--serif); font-style: italic; }
.s6 { flex-direction: column; justify-content: center; padding: 0; background: var(--night); color: #fff; }
.s6[data-tone="vio"] { background: var(--accent); color: #fff; }
.s6[data-tone="light"] { background: #fff; color: var(--accent); }
.s6[data-tone="dark"] { background: var(--night); color: #fff; }
.r-row { font-size: calc(var(--rh) * .4); font-weight: 300; letter-spacing: -0.035em; white-space: nowrap; line-height: 1; }
.r-row + .r-row { font-family: var(--serif); font-style: italic; letter-spacing: -0.01em; }
@media (max-width: 1023px) { .reel { margin-top: 2.4rem; height: clamp(200px, 34vh, 340px); } .s2 { flex-wrap: wrap; align-content: center; justify-content: space-around; } }

/* the verbs, one at a time */
.s2v { align-items: center; justify-content: center; padding: 0; }
/* full-box colours behind some of the verbs */
.s2v[data-bg="violet"] { background: var(--accent); color: #fff; }
.s2v[data-bg="night"] { background: var(--night); color: #fff; }
.s2v[data-bg="lilac"] { background: #ecebfd; color: var(--accent-ink); }
.r-verb.w-200 { font-weight: 200; }
.r-verb.w-300 { font-weight: 300; }
.r-verb.w-500 { font-weight: 500; }
.r-verb.w-800 { font-weight: 800; letter-spacing: -0.045em; }
.r-verb { position: relative; isolation: isolate; font-size: calc(var(--rh) * .44); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; white-space: nowrap; display: inline-block; }
.r-verb.r-serif { letter-spacing: -0.01em; }
.r-caret { display: inline-block; width: .05em; height: .78em; margin-left: .05em; background: var(--accent); vertical-align: -.04em; animation: caret .5s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.r-verb.on-band { color: #fff; padding: 0 .18em; }
.r-band { position: absolute; inset: .02em 0 -.02em; background: var(--accent); z-index: -1; }

/* "Create": the upright serif (Scale is the italic) */
.r-verb.r-roman { font-family: var(--serif); font-style: normal; font-weight: 400; letter-spacing: -0.015em; }
/* "Always Working": on black, letters scramble then lock in over a filling violet bar */
.s7 { flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 0 0 .04em; color: #fff; }
.r-aw-top { color: #b4b1bd; margin-bottom: calc(var(--rh) * .02); }
.r-aw { font-size: calc(var(--rh) * .4); font-weight: 300; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
.r-aw .ch { transform-origin: 50% 50%; }
.r-aw-bar { position: relative; display: block; width: 100%; height: max(3px, calc(var(--rh) * .012)); margin-top: calc(var(--rh) * .05); background: rgba(255, 255, 255, .12); }
.r-aw-bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); }

/* ===================================================================== phones ====
   The phone design. Everything below applies under 1024px only; the desktop rules above
   are untouched. Sizing: 1rem = 10.4px on a 390-wide phone, 11.5px at 430 (capped at 480). */
.menu-btn, .story__nav, .only-m { display: none; }
@media (max-width: 1023px) {
  .only-d { display: none; }
  .only-m { display: inline; }
  /* the loader: counter under the wordmark rather than on top of it */
  .preloader__meta { top: calc(50% + 4rem); left: var(--gutter); right: auto; transform: none; }

  /* --- header: a Menu button instead of four small links ------------------------- */
  .has-menu .nav { display: none; }
  .menu-btn {
    grid-column: 4 / -1; justify-self: end; align-self: center;
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 0 0 14px;
    font-size: 14px; font-weight: 500; letter-spacing: .01em;
  }
  .menu-btn__i { display: grid; gap: 5px; width: 22px; }
  .menu-btn__i i { display: block; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-snappy); }
  .menu-btn__i i:last-child { width: 70%; justify-self: end; }
  .menu-btn:hover .menu-btn__i i:last-child { transform: scaleX(1.43); transform-origin: 100% 50%; }
  html.menu-open, html.menu-open body { overflow: hidden; }

  /* the full-screen violet menu */
  .mnav { position: fixed; inset: 0; z-index: 110; color: #fff; }
  .mnav[hidden] { display: none; }
  .mnav__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); }
  .mnav__cols i { background: var(--accent); margin: 0 -1px; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-snappy); transition-delay: var(--d, 0ms); }
  .mnav.is-open .mnav__cols i { transform: scaleY(1); }
  .mnav.is-closing .mnav__cols i { transform-origin: 50% 0; transform: scaleY(0); transition-delay: calc(var(--d, 0ms) + 120ms); }
  .mnav__in { position: relative; height: 100%; display: flex; flex-direction: column; padding: 1.6rem var(--gutter) max(2.4rem, env(safe-area-inset-bottom)); opacity: 0; transition: opacity .25s ease; overflow-y: auto; }
  .mnav.is-open .mnav__in { opacity: 1; transition-delay: .28s; }
  .mnav__top { display: flex; justify-content: space-between; align-items: center; min-height: calc(var(--header-h) - 3.2rem); }
  .mnav__logo { width: 6.2rem; min-width: 64px; }
  .mnav__logo img { width: 100%; height: auto; }
  .mnav__close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-left: 14px; font-size: 14px; font-weight: 500; }
  .mnav__x { position: relative; width: 20px; height: 20px; }
  .mnav__x::before, .mnav__x::after { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
  .mnav__x::after { transform: rotate(-45deg); }
  .mnav__links { margin-top: auto; padding-top: 4rem; display: grid; }
  .mnav__links a { display: flex; align-items: baseline; gap: 1.6rem; padding: 1.2rem 0 1rem; border-top: 1px solid rgba(255, 255, 255, .28); }
  .mnav__links a:last-child { border-bottom: 1px solid rgba(255, 255, 255, .28); }
  .mnav__n { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .75; min-width: 2.2em; transform: translateY(-.2em); }
  .mnav__t { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; white-space: nowrap; font-size: min(4.8rem, 10.5vw); font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; }
  .mnav__t > span { display: block; transform: translateY(105%); transition: transform .8s var(--ease-expo); transition-delay: calc(330ms + var(--i, 0) * 55ms); }
  .mnav.is-open .mnav__t > span { transform: none; }
  .mnav.is-closing .mnav__t > span { transition-delay: 0ms; transition-duration: .3s; }
  .mnav__links a[aria-current="page"] { color: var(--ink); }
  .mnav__links a:active .mnav__t { opacity: .7; }
  .mnav__foot { margin-top: 3.6rem; display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; font-size: 13px; font-weight: 400; }
  .mnav__foot a { min-height: 32px; display: inline-flex; align-items: center; }
  .mnav__foot span { opacity: .8; width: 100%; }

  /* --- hero: the headline up top, the reel filling the rest of the first screen ----- */
  .hero { height: 100vh; height: 100svh; min-height: 560px; max-height: 1000px; justify-content: flex-start; padding-top: calc(var(--header-h) + 4.8rem); padding-bottom: 2.4rem; }
  .hero .t-3xl { font-size: 5.8rem; line-height: 1.04; }
  .hero .reel { flex: 1 1 auto; height: auto; min-height: 240px; margin-top: 3.2rem; }

  /* the reel's words are sized to the stage's height on desktop; on a phone the width
     is what runs out first, so each word takes the smaller of the two */
  .s1 { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0; }
  .s1 .r-sm { margin: 0 0 0 .2em; font-size: max(calc(var(--rh) * .07), 22px); }
  .r-big { font-size: min(calc(var(--rh) * .66), calc(var(--rw) * .4)); }
  .r-huge { font-size: min(calc(var(--rh) * .78), calc(var(--rw) * .44)); }
  .s3 .r-sm { font-size: max(calc(var(--rh) * .07), 22px); }
  .r-verb { font-size: min(calc(var(--rh) * .44), calc(var(--rw) * .3)); }
  .r-mid { font-size: min(calc(var(--rh) * .22), calc(var(--rw) * .2)); }
  .r-mega { font-size: min(calc(var(--rh) * .8), calc(var(--rw) * .62)); }
  .r-row { font-size: min(calc(var(--rh) * .34), calc(var(--rw) * .3)); }
  .s6 { gap: calc(var(--rh) * .03); }
  .r-aw { font-size: min(calc(var(--rh) * .4), calc(var(--rw) * .26)); }

  /* --- the sphere story: one screen, swipe through the seven groups ---------------- */
  .story { height: auto; margin-top: 4.8rem; }
  .story__stage { position: relative; top: auto; height: auto; transform: none !important; display: flex; flex-direction: column; padding: calc(var(--header-h) + .8rem) 0 3.2rem; }
  .story__hud { position: static; order: -1; padding: 0 var(--gutter); line-height: 1.4; }
  .story__frame { position: relative; inset: auto; height: auto; width: 100%; aspect-ratio: 1 / 1; max-height: 54svh; margin-top: 1rem; transform: none !important; }
  .story__veil { display: none; }
  .story__beats {
    position: relative; inset: auto; display: flex; gap: 0; padding: 0; background: none;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none; pointer-events: auto; touch-action: pan-x pan-y;
  }
  .story__beats::-webkit-scrollbar { display: none; }
  .beat, .beat:nth-child(even) {
    position: relative; left: auto; right: auto; bottom: auto; width: auto; flex: 0 0 100%;
    padding: 1.6rem var(--gutter) 0; scroll-snap-align: start; scroll-snap-stop: always;
    opacity: .25; transform: none; transition: opacity .45s ease;
  }
  .beat.is-on { opacity: 1; }
  .beat__k { margin-bottom: 1.2rem; }
  .beat h2 { font-size: 3.6rem; line-height: 1.04; margin-bottom: 1.2rem; }
  .beat p { font-size: 15.5px; line-height: 1.5; }
  .story__nav { display: flex; align-items: center; gap: .4rem; padding: 2rem calc(var(--gutter) - 10px) 0; }
  .story__dots { display: flex; flex: 1; }
  .story__dots button { width: 26px; height: 44px; display: grid; place-items: center; }
  .story__dots i { display: block; width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .3); transition: width .4s var(--ease-expo), background-color .3s ease; }
  .story__dots button[aria-current="step"] i { width: 20px; background: var(--accent); }
  .story__count { color: #8f8c99; font-variant-numeric: tabular-nums; margin-right: .8rem; }
  .story__arw { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
  .story__arw svg { width: 30px; height: 12px; }
  .story__arw path { fill: none; stroke: currentColor; stroke-width: 1.2; }
  .story__arw:disabled { opacity: .25; cursor: default; }

  /* --- the structure sentences and ten tiles: two columns of larger tiles ---------- */
  .about { overflow-x: clip; } /* the sentences' words fly in from off screen */
  .qfit { aspect-ratio: 1.75 / 1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.4rem; row-gap: 3rem; margin-top: 4.8rem; }
  .tiles__q--2 { margin-bottom: 1.6rem; }
  .tile__idx { font-size: 12px; min-height: 0; align-items: baseline; margin-bottom: 1rem; }
  .tile--lower .tile__idx { margin: 0 0 1rem; }

  /* --- services: photo, number, title, words, "Discover more" — no hover needed ---- */
  .svc { row-gap: 6.4rem; margin-top: 4rem; }
  .svc__item { grid-template-columns: 1fr; row-gap: 2rem; }
  .svc__media { display: block; grid-column: 1; aspect-ratio: 16 / 7; }
  .svc__item.is-in .svc__media { clip-path: inset(0 0 0 0); }
  .svc__item.is-in .svc__media img { transform: scale(1); }
  .svc__body { grid-column: 1; }
  .svc__idx { position: static; display: block; margin-bottom: 1.2rem; color: var(--grey-2); }
  .svc__item:hover .svc__idx { opacity: 1; }
  .svc__title { font-size: 4.4rem; }
  .svc__desc { max-width: none; font-size: 15.5px; }
  .svc__more { margin-top: 1.6rem; min-height: 44px; font-size: 13px; border-bottom: 1px solid var(--hair); }

  /* --- pipelines ------------------------------------------------------------------- */
  .works__text { min-height: 19rem; }
  .proj__title { font-size: 4.2rem; }
  .proj__row { font-size: 15px; }

  /* --- CTA, lists, footer ---------------------------------------------------------- */
  .cta { font-size: 4rem; }
  .cta .l2 { min-height: 48px; }
  .tgrid { row-gap: 1.4rem; font-size: 15.5px; line-height: 1.2; }
  .footer .grid { row-gap: 4rem; }
  .footer__logo { width: 9.6rem; }
  .footer__col { font-size: 17px; gap: 0; }
  .footer__col a { display: flex; align-items: center; min-height: 40px; }
  .footer__legal { font-size: 12px; row-gap: 1.2rem; }

  /* --- inner pages ----------------------------------------------------------------- */
  .page-hero { padding-top: calc(var(--header-h) + 4.8rem); }
  .page-hero .t-3xl { font-size: 5.8rem; line-height: 1.04; }
  .lede { margin-top: 3.2rem; }
  .step { padding: 3.6rem 0; }
  .step__b { font-size: 15.5px; }
  /* the How it works map: shown big enough to read, and swiped sideways */
  .figure { margin: 3rem calc(var(--gutter) * -1) 0; }
  .figure figcaption { padding: 1.6rem var(--gutter) 0; }
  .figure__pan { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .figure__pan img { width: 240%; max-width: none; }
  .figure__hint { color: var(--accent-ink); }
  .sphere-band { height: min(150vw, 88svh); min-height: 520px; }
  /* never trap the page: an up/down swipe on a sphere always scrolls; sideways still turns it */
  .story__frame .sph-frame { touch-action: auto; }
  .sphere-band .sph-frame { touch-action: pan-y; }
  .group { padding: 3.6rem 0; row-gap: 2.4rem; }
  .group__name { font-size: 4.4rem; }
  .group__blurb { font-size: 15.5px; max-width: none; }
  .faq summary { font-size: 2.6rem; padding: 2.2rem 0; }
  .faq .ans { font-size: 15.5px; }
  .tier__price { font-size: 10rem; }
  .tier__price.serif { font-size: 8rem; }
  .tier__desc { min-height: 0; font-size: 15.5px; }
  .tier li { font-size: 15.5px; }
  .tier .cta { margin-top: 0; }
  /* the form: every field fits the screen; 16px+ text so phones do not zoom in on tap */
  .form { row-gap: 3.2rem; }
  .field { min-width: 0; }
  .field input, .field select, .field textarea { width: 100%; min-width: 0; font-size: 18px; }
  .form__foot { gap: 2.4rem; }
  .legal { font-size: 16px; }
}
