/* ==========================================================================
   ntell.ai
   Layout concept: a calm, off-white company page. An editorial serif carries
   the statements, Stack Sans carries everything you read and use, and the
   crimson signal orb from the logo is the one thing that moves through it.
   ========================================================================== */

:root {
  /* colour */
  --paper: #F4F4F6;
  --paper-2: #EAEAEF;
  --card: #FFFFFF;
  --ink: #17090C;
  --ink-2: #454049;
  --mute: #706B76;
  --faint: #A29EA9;
  --line: #E2E2E8;
  --line-2: #D1D1DA;
  --accent: #D7143C;
  --accent-ink: #AE0F30;
  --accent-soft: #FBE8EC;
  --accent-line: #F0A9B8;
  --accent-glow: #FF7A8E;
  --night: #160B10;
  --night-2: #2A121C;
  --plum: #5B2A6E;
  /* product screens keep their own palette */
  --blue: #2460E5;
  --blue-soft: #E7EDFC;
  --teal: #0F8F80;
  --teal-soft: #DFF2EE;
  --navy: #0C1222;
  --good: #15803D;
  --warn: #B45309;
  --bad: #C0182B;

  /* type */
  --f-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-head: "Stack Sans Headline", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Stack Sans Text", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-hero: clamp(2.7rem, min(6vw, 10.4vh), 5.75rem);
  --fs-h2: clamp(2rem, 3.9vw, 3.7rem);
  --fs-h3: clamp(1.25rem, 1.7vw, 1.6rem);
  --fs-body: clamp(1rem, 1.08vw, 1.125rem);

  /* space */
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --sec: clamp(84px, 13vh, 164px);
  --nav-h: 72px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
main, .foot { overflow-x: clip; }
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(--f-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- type primitives ---------- */
.mono { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.01em; font-weight: 400; }
.cap { font-family: var(--f-body); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.11em; line-height: 1.4; }
.label { font-family: var(--f-body); font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 1.5em; }
.h2 {
  font-family: var(--f-serif); font-weight: 400; font-size: var(--fs-h2);
  line-height: 1.05; letter-spacing: -0.024em; text-wrap: balance; max-width: 17ch;
}
.h2--sm { font-size: clamp(1.7rem, 2.9vw, 2.7rem); max-width: 20ch; }
.h3 { font-family: var(--f-head); font-weight: 600; font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.02em; }
em { font-style: italic; }
.h2 em, .hero__title em, .manifesto em, .mission__text em, .contact__h em, .loop em, .prod__name em, .pillar__title em, .foot__tag em, .marquee em, .menu em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.015em;
}
.body { color: var(--ink-2); max-width: 34rem; text-wrap: pretty; }
.fine { color: var(--faint); margin-top: 20px; }

/* the full stop that the signal orb lands on */
.dot {
  display: inline-block; width: 0.15em; height: 0.15em; margin-left: 0.05em;
  border-radius: 50%; background: var(--accent); vertical-align: baseline; position: relative;
}
.dot::after {
  content: ""; position: absolute; inset: -0.02em; border-radius: 50%;
  border: 1.5px solid var(--accent); opacity: 0; pointer-events: none;
}
.dot.is-hit::after { animation: ping 0.9s var(--ease) both; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(5.5); opacity: 0; } }

/* masked line reveals (SplitText) */
.line-mask { padding: 0.1em 0.07em 0.2em; margin: -0.1em -0.07em -0.2em; }

.split-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 6.5vh, 76px); }
@media (max-width: 899px) { .split-head { grid-template-columns: 1fr; } }

/* ---------- buttons, links, chips, pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-family: var(--f-body); font-weight: 500; font-size: 0.98rem; letter-spacing: -0.005em; line-height: 1;
  white-space: nowrap; cursor: pointer; transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn__arrow { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { background: rgba(23, 9, 12, 0.05); color: var(--ink); border-color: transparent; }
.btn--ghost:hover { background: rgba(23, 9, 12, 0.1); border-color: transparent; }
.btn--sm { padding: 11px 16px; font-size: 0.92rem; border-radius: 10px; }

.link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; }
.link svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.link:hover svg { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 500; line-height: 1.25; color: var(--ink);
}
.chips--dot li { display: inline-flex; align-items: center; gap: 8px; background: var(--card); }
.chips--dot li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.chips--row li { background: var(--card); }

.pill { display: inline-flex; align-items: center; font-family: var(--f-body); padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--mute); font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.5; white-space: nowrap; }
.pill--solid { background: var(--accent); border-color: var(--accent); color: #fff; }

.badge { display: inline-flex; align-items: center; padding: 0.22em 0.6em; border-radius: 0.5em; font-size: 0.86em; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.badge--teal { background: var(--teal); color: #fff; border-radius: 99px; }
.badge--red { background: #FCE4E6; color: var(--bad); }
.badge--amber { background: #FBEFD9; color: var(--warn); }

.ph { color: var(--faint); font-size: 0.82rem; }

/* ---------- opening sting ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--paper); animation: loader-failsafe 0.01s linear 9s forwards;
}
.loader__video { width: min(640px, 88vw); height: auto; aspect-ratio: 1200 / 540; mix-blend-mode: multiply; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader__skip {
  position: absolute; left: 50%; bottom: max(26px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  padding: 12px 18px; border: 0; background: none; color: var(--mute); cursor: pointer; opacity: 0; animation: skip-in 0.5s ease 0.9s forwards; transition: color 0.3s;
}
.loader__skip:hover, .loader__skip:focus-visible { color: var(--ink); }
@keyframes skip-in { to { opacity: 1; } }

/* ---------- the signal orb ---------- */
.signal {
  position: fixed; left: 0; top: 0; width: 100px; height: 100px; margin: -50px 0 0 -50px;
  z-index: 40; pointer-events: none; opacity: 0; visibility: hidden; will-change: transform;
}
.signal canvas { width: 100%; height: 100%; }
.signal-on .signal { visibility: visible; }
.rail { position: fixed; z-index: 39; top: 24vh; height: 52vh; width: 1px; right: max(11px, calc(var(--gutter) / 2)); pointer-events: none; opacity: 0; }
.rail__track { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent); }
/* the label runs down the rail itself, so it always fits in the gutter and never prints over content */
.rail__label {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, 15px); writing-mode: vertical-rl; white-space: nowrap;
  padding: 7px 0; background: var(--paper); line-height: 1;
  font-size: 0.6rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mute);
}
@media (max-width: 1100px) { .rail__label { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform 0.6s var(--ease), background 0.4s, box-shadow 0.4s;
}
.nav.is-solid { background: rgba(244, 244, 246, 0.84); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-105%); }
.nav__inner {
  height: 100%; max-width: var(--max); margin-inline: auto; display: flex; align-items: center; gap: 28px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.nav__logo { display: block; flex: none; }
.nav__logo > svg { height: 25px; width: auto; fill: var(--ink); overflow: visible; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 32px); margin-left: auto; }
.nav__links a { position: relative; font-size: 0.94rem; font-weight: 500; color: var(--ink-2); padding: 6px 0; transition: color 0.3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--paper);
  padding: calc(var(--nav-h) + 6vh) max(var(--gutter), env(safe-area-inset-right, 0px)) 32px max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease-io);
}
.menu[hidden] { display: none !important; }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__links { display: grid; gap: 2px; }
.menu__links a { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.1rem, 10vw, 3.2rem); letter-spacing: -0.025em; line-height: 1.16; padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu__foot { color: var(--mute); }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; margin-left: auto; }
  html:not(.js) .nav__cta { display: inline-flex; margin-left: auto; }
}
/* without JavaScript the page is static: the nav gets solid ground, and scenes that only draw with script step aside */
html:not(.js) .nav { background: rgba(244, 244, 246, 0.95); box-shadow: 0 1px 0 var(--line); }
html:not(.js) .nav__burger, html:not(.js) .rays, html:not(.js) .shift__viz, html:not(.js) .art--adopt { display: none; }

/* ---------- the ray field: one fixed layer behind the whole page ---------- */
.rays { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }

/* ---------- 01 hero ---------- */
.hero { position: relative; min-height: max(100svh, 680px); padding-top: calc(var(--nav-h) + 8px); display: flex; }
.hero__inner {
  position: relative; z-index: 1; flex: 1; display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); grid-template-rows: 1fr auto;
  column-gap: clamp(20px, 4vw, 64px); align-items: center;
}
.hero__text { grid-column: 1; grid-row: 1; padding-block: 24px; }
.hero__label { margin-bottom: 1.6em; }
.hero__title {
  font-family: var(--f-serif); font-weight: 400; font-size: var(--fs-hero);
  line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 0.42em;
}
.hero__line { display: block; overflow: clip; white-space: nowrap; padding: 0.08em 0.06em 0.2em; margin: -0.08em -0.06em -0.2em; }
.hero__line-in { display: block; will-change: transform; }
.hero__lede { font-size: clamp(1.02rem, 1.26vw, 1.22rem); line-height: 1.5; color: var(--ink-2); max-width: 35rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3.6vh, 36px); }
/* the stage is the orb's home, and the surface you drag to turn it */
.hero__stage {
  position: relative; grid-column: 2; grid-row: 1; justify-self: center; width: min(30vw, 46vh, 400px); aspect-ratio: 1; border-radius: 50%;
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.hero__stage.is-dragging { cursor: grabbing; }
.hero__stage.is-away { cursor: default; pointer-events: none; }
.hero__stage svg { width: 100%; height: 100%; }
.signal-on .hero__stage svg { visibility: hidden; }
.hero__hint { position: absolute; left: 50%; top: calc(100% + 62px); transform: translateX(-50%); white-space: nowrap; color: var(--mute); font-size: 0.62rem; opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.signal-on .hero__hint.is-on { opacity: 1; }
.hero__meta {
  grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 14px clamp(16px, 2.6vh, 28px);
  border-top: 1px solid var(--line-2); color: var(--mute);
}
.hero__meta span:not(.hero__scroll)::before { content: "/ "; color: var(--faint); }
.hero__scroll { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { display: block; width: 34px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); animation: scroll-hint 2.4s var(--ease-io) infinite; }
@keyframes scroll-hint { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

@media (max-width: 860px) {
  .hero { min-height: max(100svh, 640px); }
  .hero__inner { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto auto; row-gap: 4px; }
  .hero__stage { grid-column: 1; grid-row: 1; width: min(46vw, 30vh, 220px); align-self: center; }
  .hero__hint { display: none; }
  .hero__text { grid-column: 1; grid-row: 2; padding-block: 8px 20px; }
  .hero__title { font-size: clamp(2.5rem, 11.4vw, 4rem); }
  .hero__meta { grid-row: 3; }
  .hero__meta span:not(.hero__scroll) { display: none; }
  .hero__scroll { margin-left: 0; }
}

/* ---------- section rhythm ---------- */
.about, .what, .gap, .bring, .inds, .engage, .deliver, .who, .contact { padding-block: var(--sec); }

/* ---------- 02 who we are ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.trio__item { padding-top: 22px; border-top: 1px solid var(--ink); display: grid; gap: 10px; align-content: start; }
.trio__ico { width: 48px; height: 48px; color: var(--ink); margin-bottom: 6px; }
.trio__item h3 { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.2; }
.trio__item p { color: var(--ink-2); }
.mission { margin-top: clamp(64px, 11vh, 132px); }
.mission__text { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.65rem, 3.3vw, 3.1rem); line-height: 1.16; letter-spacing: -0.022em; max-width: 23em; text-wrap: pretty; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); margin-top: clamp(40px, 7vh, 80px); }
.values li { padding-top: 16px; border-top: 1px solid var(--line-2); display: grid; gap: 6px; align-content: start; }
.values h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.015em; }
.values p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 899px) {
  .trio { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
}

/* ---------- 03 what we do ---------- */
.lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.lineitem {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 2vw, 30px);
  display: grid; gap: 10px; align-content: start; transition: translate 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s;
}
.lineitem:hover { translate: 0 -6px; border-color: var(--accent-line); box-shadow: 0 30px 50px -36px rgba(215, 20, 60, 0.45); }
.lineitem__k { color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.lineitem__k::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.lineitem h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.9rem); letter-spacing: -0.022em; line-height: 1.08; }
.lineitem > p:not(.lineitem__k) { color: var(--ink-2); font-size: 0.97rem; }
.lineitem ul { margin-top: 8px; }
.lineitem li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.93rem; font-weight: 500; line-height: 1.35; }
.traits { margin-top: clamp(28px, 4.5vh, 48px); }
@media (max-width: 1099px) { .lines { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .lines { grid-template-columns: 1fr; } }

/* ---------- 04 shift ---------- */
.shift__stage { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 3vh, 36px); padding-block: calc(var(--nav-h) + 12px) 28px; }
.shift__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.shift__body { margin-top: 1.4em; }
.shift__states { margin-top: clamp(18px, 3vh, 32px); display: grid; gap: 2px; }
.shift__state {
  display: grid; grid-template-columns: 5em 1fr; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line-2);
  font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.015em;
  opacity: 0.32; transition: opacity 0.5s;
}
.shift__state .cap { color: var(--mute); }
.shift__state.is-on { opacity: 1; }
.shift__state.is-on .cap { color: var(--accent); }
.shift__viz { position: relative; width: 100%; aspect-ratio: 7 / 5; max-height: 60vh; justify-self: end; }
.shift__viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.shift__legend { position: absolute; left: 0; top: 0; display: grid; gap: 6px; color: var(--mute); font-size: 0.62rem; }
.shift__legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 11px; height: 11px; border-radius: 50%; display: block; }
.lg--gen { background: #2A1A22; }
.lg--spec { border: 1.6px solid #2A1A22; }
.lg--agent { border: 1.6px solid var(--accent); border-radius: 3px; }
.shift__formula {
  font-family: var(--f-serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2.4rem); line-height: 1.18; letter-spacing: -0.012em;
  padding-top: clamp(14px, 2.4vh, 26px); border-top: 1px solid var(--line-2); text-wrap: balance;
}
.shift__formula b { font-weight: 400; color: var(--accent); }
.shift__formula .gt { padding-inline: 0.2em; }

@media (max-width: 899px) {
  .shift { padding-block: var(--sec); }
  .shift__stage { min-height: 0; padding-block: 0; }
  .shift__grid { grid-template-columns: 1fr; }
  .shift__viz { max-height: none; margin-top: 12px; aspect-ratio: auto; }
  .shift__viz canvas { position: relative; inset: auto; aspect-ratio: 7 / 5; height: auto; }
  .shift__legend { position: static; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
}

/* ---------- 05 gap ---------- */
.manifesto {
  font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.7rem, 3.5vw, 3.3rem);
  line-height: 1.14; letter-spacing: -0.024em; max-width: 22em; text-wrap: pretty;
}
.takes { margin-top: clamp(64px, 10vh, 128px); }
.take {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); gap: 12px clamp(20px, 3vw, 48px);
  align-items: baseline; padding: clamp(20px, 3vh, 30px) 0; position: relative;
}
.take::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform-origin: left; transform: scaleX(var(--rule, 1)); }
.take__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.45rem, 2.3vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.1; }
.take__body { color: var(--ink-2); }
.take__not { color: var(--mute); font-size: 0.95rem; line-height: 1.6; }
.take__not span { color: var(--bad); margin-right: 8px; }
.take__not s { text-decoration: none; background: linear-gradient(var(--mute), var(--mute)) no-repeat 0 56% / var(--strike, 100%) 1px; }
@media (max-width: 899px) { .take { grid-template-columns: 1fr; } }

/* ---------- 06 how we work ---------- */
.bring__head { margin-bottom: clamp(40px, 7vh, 80px); }
.bring__lede { margin-top: 1.5em; }
.stack { display: grid; gap: 20px; }
.pillar {
  position: sticky; top: calc(var(--nav-h) + 16px + var(--i) * 16px);
  min-height: min(56vh, 500px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 56px); align-items: center;
  padding: clamp(24px, 3.6vw, 56px); border-radius: 28px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -44px rgba(23, 9, 12, 0.4); transform-origin: 50% 0; will-change: transform;
}
.pillar__tag { color: var(--accent); margin-bottom: 1.4em; }
.pillar__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.4rem); letter-spacing: -0.026em; line-height: 1.02; }
.pillar__line { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.2; color: var(--accent); margin-top: 0.7em; max-width: 17em; text-wrap: balance; }
.pillar__list li { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); font-weight: 500; }
.pillar__list li:last-child { border-bottom: 1px solid var(--line); }
.pillar__list svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.pillar__art .art { width: 100%; max-width: 230px; margin-left: auto; overflow: visible; }
.art--adopt circle { fill: var(--line-2); }
.pillar--ink {
  background: radial-gradient(120% 150% at 92% -10%, #5A1630 0%, var(--night-2) 34%, var(--night) 72%);
  color: #fff; border-color: transparent; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.pillar--ink .pillar__tag { color: var(--accent-glow); }
.pillar--ink .pillar__title em { color: var(--accent-glow); }
.pillar--ink .pillar__line { color: #DCCDD3; font-style: normal; font-family: var(--f-body); font-size: 1.02rem; line-height: 1.5; max-width: 26em; }
.apart { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 44px); }
.apart li { display: flex; gap: 14px; padding: 17px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.apart svg { width: 22px; height: 22px; flex: none; color: var(--accent-glow); --check-ink: var(--night); margin-top: 2px; }
.apart b { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.015em; }
.apart span { display: block; color: #BFAFB6; font-size: 0.93rem; margin-top: 2px; }
@media (max-width: 899px) {
  .pillar { grid-template-columns: 1fr; min-height: 0; top: calc(var(--nav-h) + 8px + var(--i) * 10px); border-radius: 22px; }
  .pillar--ink { grid-template-columns: 1fr; }
  .pillar__art { display: none; }
  .apart { grid-template-columns: 1fr; }
  .apart li { padding: 13px 0; }
}

/* ---------- 07 industries ---------- */
.inds { padding-bottom: 0; }
.indnav { display: flex; flex-wrap: wrap; gap: 8px; }
.indnav a {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  font-family: var(--f-head); font-weight: 600; font-size: 0.96rem; letter-spacing: -0.012em; transition: border-color 0.3s, color 0.3s, translate 0.5s var(--ease);
}
.indnav a .cap { color: var(--accent); font-size: 0.62rem; padding: 3px 7px; border-radius: 6px; background: var(--accent-soft); }
.indnav a:hover { border-color: var(--accent); color: var(--accent-ink); translate: 0 -2px; }

.chapter { padding-block: clamp(64px, 10vh, 128px); position: relative; }
.chapter::before { content: ""; position: absolute; top: 0; left: var(--edge); right: var(--edge); height: 1px; background: var(--line-2); }
.chapter:first-of-type { margin-top: clamp(40px, 7vh, 80px); }
.chapter__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 28px clamp(28px, 5vw, 88px); align-items: start; }
.chapter__head { position: sticky; top: calc(var(--nav-h) + 36px); display: grid; gap: 0; justify-items: start; }
.chapter__who { color: var(--mute); margin-bottom: 1.4em; }
.chapter__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.1rem, 3.6vw, 3.4rem); letter-spacing: -0.026em; line-height: 1.02; text-wrap: balance; }
.chapter__line { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.2; margin-top: 0.7em; text-wrap: balance; }
.chapter__head .body { margin-top: 1.1em; font-size: 0.98rem; }
.chapter__head .link { margin-top: 1.4em; }
.rows { border-bottom: 1px solid var(--line-2); }
.row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) 9.9rem; gap: 6px clamp(14px, 2vw, 32px); align-items: baseline;
  padding: 17px 12px 17px 0; border-top: 1px solid var(--line-2); border-radius: 0; position: relative;
  transition: background 0.4s, padding-left 0.5s var(--ease);
}
.row::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform 0.45s var(--ease); }
.row:hover { background: rgba(255, 255, 255, 0.72); padding-left: 26px; }
.row:hover::before { transform: scale(1); left: 10px; }
.row h4 { font-family: var(--f-head); font-weight: 600; font-size: 1.06rem; letter-spacing: -0.015em; line-height: 1.25; }
.row p { color: var(--ink-2); font-size: 0.96rem; line-height: 1.45; }
.tag { justify-self: end; white-space: nowrap; padding: 4px 11px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.5; }
.tag--plain { background: transparent; color: var(--mute); border: 1px solid var(--line-2); font-weight: 500; }
.suite { margin-top: clamp(56px, 9vh, 112px); }
.suite__note { margin-top: 16px; max-width: 54ch; color: var(--mute); font-size: 0.95rem; line-height: 1.5; }
.demo { padding: 0.2em 0.65em; border-radius: 99px; border: 1px dashed #B9B9C4; color: #6B6B78; background: rgba(255, 255, 255, 0.6); font-family: var(--f-mono); font-size: 0.7em; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.indkey { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 20px; color: var(--mute); font-size: 0.86rem; }
.indkey .tag { justify-self: auto; margin: 0; }
.indkey .tag--plain { margin-left: 14px; }
.suite__head { margin-bottom: clamp(28px, 5vh, 52px); }
@media (max-width: 1099px) {
  .chapter__grid { grid-template-columns: 1fr; }
  .chapter__head { position: static; }
}
@media (max-width: 699px) {
  .row { grid-template-columns: 1fr; padding: 15px 0; margin-inline: 0; }
  .row:hover { padding-left: 0; background: none; }
  .row::before { display: none; }
  .tag { justify-self: start; margin-top: 4px; }
  .indnav a { flex: 1 1 100%; }
}

/* ---------- product gallery (inside financial services) ---------- */
/* Without the pinned scroll scene (no JS, reduced motion) the track is a native horizontal scroller. */
.work__pin { position: relative; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.work__pin.is-pinned { overflow-x: clip; scroll-snap-type: none; }
.work__track { display: flex; gap: clamp(16px, 2.2vw, 36px); width: max-content; padding-inline: var(--edge); will-change: transform; }
.prod {
  --accent: var(--blue); --tint: #EEF2FD;
  flex: none; width: min(1240px, 88vw); height: min(680px, calc(100svh - 150px)); min-height: 520px;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); overflow: hidden; position: relative;
  border-radius: 32px; background: var(--card); border: 1px solid var(--line); scroll-snap-align: center;
}
.prod--ms { --accent: var(--teal); --tint: #E9F5F2; }
.prod--arb { --accent: #3B5BDB; --tint: #EEF0F6; }
.prod__info { padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; }
.prod__k { color: var(--mute); }
.prod__name { display: flex; align-items: center; gap: 0.32em; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.9rem, 3.2vw, 3rem); letter-spacing: -0.035em; line-height: 1; white-space: nowrap; }
.prod__icon { width: 1.05em; height: 1.05em; flex: none; }
.prod__name em { font-size: 1.12em; }
.prod__line { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.2; color: var(--accent); text-wrap: balance; }
.prod__body { color: var(--ink-2); font-size: 0.98rem; }
.prod__screen {
  position: relative; min-width: 0; border-left: 1px solid var(--line); overflow: hidden;
  background-color: var(--tint); background-image: radial-gradient(rgba(12, 18, 34, 0.11) 1px, transparent 1.2px); background-size: 18px 18px;
  display: flex; align-items: center; justify-content: center; padding: clamp(16px, 2.2vw, 34px);
}
.work__hud { display: flex; align-items: center; gap: 12px; color: var(--mute); padding: 18px var(--edge) 0; }
.work__bar { width: 140px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.work__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0.33); }

/* product windows */
.win {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  font-size: clamp(11px, 0.93vw, 13.5px); line-height: 1.35;
  box-shadow: 0 32px 60px -36px rgba(12, 18, 34, 0.38), 0 2px 6px rgba(12, 18, 34, 0.04);
}
.win__bar { display: flex; align-items: center; gap: 0.75em; padding: 0.8em 1em; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 600; letter-spacing: -0.01em; font-size: 1.06em; white-space: nowrap; }
.win__icon { width: 1.8em; height: 1.8em; flex: none; }
.win__crumb { margin-left: auto; color: var(--mute); font-size: 0.86em; }
.win__right { margin-left: auto; }
.seg { margin-left: auto; display: flex; gap: 0.4em; }
.seg i { font-style: normal; font-family: var(--f-mono); font-weight: 400; font-size: 0.84em; padding: 0.3em 0.7em; border: 1px solid var(--line); border-radius: 0.5em; color: var(--mute); }
.seg .on { background: var(--blue-soft); color: var(--blue); border-color: transparent; }
.mini { font-family: var(--f-body); font-weight: 600; font-size: 0.9em; padding: 0.42em 0.8em; border-radius: 0.55em; border: 1px solid var(--line-2); background: #fff; white-space: nowrap; }
.mini--solid { background: var(--blue); color: #fff; border-color: var(--blue); }
.mini--soft { background: var(--blue-soft); color: var(--blue); border-color: transparent; border-radius: 99px; margin-left: auto; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65em; padding: 0.9em; background: #F6F6F8; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 0.8em; padding: 0.7em 0.9em; display: grid; gap: 0.05em; }
.kpi small { font-family: var(--f-mono); text-transform: uppercase; font-size: 0.8em; color: var(--mute); letter-spacing: 0.02em; }
.kpi b { font-family: var(--f-head); font-weight: 600; font-size: 1.85em; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi em { font-family: var(--f-mono); font-style: normal; font-size: 0.84em; }
.bad { color: var(--bad); } .warn { color: var(--warn); } .good { color: var(--good); }
.alert { display: flex; align-items: center; gap: 0.8em; padding: 0.75em 1em; border-top: 1px solid var(--line); }
.alert__tag { color: var(--bad); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.86em; white-space: nowrap; }
.alert__txt { font-family: var(--f-head); font-weight: 600; letter-spacing: -0.01em; }

.win--p360 { position: absolute; left: 5%; right: 5%; top: 6%; width: auto; }
.chat {
  position: absolute; right: 5%; bottom: 5%; width: min(57%, 430px); z-index: 2;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1em;
  font-size: clamp(11px, 0.9vw, 13px); line-height: 1.4;
  box-shadow: 0 36px 60px -30px rgba(12, 18, 34, 0.45), 0 2px 6px rgba(12, 18, 34, 0.05);
}
.chat__head { display: flex; align-items: center; gap: 0.6em; padding-bottom: 0.7em; border-bottom: 1px solid var(--line); }
.chat__head b { font-family: var(--f-head); font-weight: 600; font-size: 1.1em; }
.chat__head .mono { color: var(--mute); font-size: 0.88em; }
.chat__ava { width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--blue-soft); overflow: hidden; flex: none; }
.chat__ava img { width: 150%; max-width: none; margin: -4% 0 0 -25%; }
.chat__q { margin: 0.8em 0 0.7em auto; width: fit-content; max-width: 92%; background: var(--blue-soft); padding: 0.6em 0.85em; border-radius: 0.9em 0.9em 0.2em 0.9em; font-weight: 500; }
.chat__steps { border: 1px solid var(--line); background: #F8F8FA; border-radius: 0.7em; padding: 0.5em 0.75em; display: grid; gap: 0.3em; color: var(--ink-2); }
.chat__steps li { display: flex; align-items: center; gap: 0.55em; }
.chat__steps svg { width: 1.15em; height: 1.15em; color: var(--blue); flex: none; }
.chat__a { margin: 0.75em 0; }
.chat__actions { display: flex; flex-wrap: wrap; gap: 0.4em; }

.ava { position: absolute; left: 4%; bottom: 0; width: 29%; max-width: 230px; z-index: 3; margin: 0; }
.ava img { width: 100%; height: auto; }
.ava__say {
  position: absolute; left: 0; bottom: 100%; margin-bottom: 4px; white-space: nowrap; z-index: 3;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 12px; padding: 7px 12px; color: var(--ink);
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0;
}
.ava__say::after { content: ""; position: absolute; left: 68px; top: 100%; width: 9px; height: 9px; background: #fff; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: translateY(-4px) rotate(45deg); }

.ms { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.7em; padding: 0.9em; background: #F6F6F8; }
.ms > div { background: #fff; border: 1px solid var(--line); border-radius: 0.8em; padding: 0.8em 0.9em; min-width: 0; }
.ms__k { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; color: var(--teal); font-size: 0.86em; margin-bottom: 0.7em; }
.tbl { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 0.9em; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { text-align: right; padding: 0.5em 0.7em; border: 1px solid var(--line); font-weight: 400; }
.tbl th { color: var(--mute); background: #F3F3F6; }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl .is-champ td { background: var(--teal-soft); color: #0B6D62; }
.shap { display: grid; gap: 0.3em; margin-top: 0.75em; }
.shap i { display: block; height: 0.5em; width: var(--w); background: var(--teal); border-radius: 9px; transform-origin: left; }
.ms__drift { grid-column: 1 / -1; }
.psi { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9em; align-items: end; height: 8.2em; margin-top: 1.9em; border-bottom: 1px solid var(--line-2); }
.psi__bar { height: var(--h); background: #C9CCD6; border-radius: 0.35em 0.35em 0 0; position: relative; transform-origin: bottom; }
.psi__bar b { position: absolute; left: 0; right: 0; bottom: 100%; text-align: center; font-family: var(--f-mono); font-weight: 400; font-size: 0.86em; color: var(--mute); padding-bottom: 0.2em; }
.psi__bar.is-warn { background: #E2A21C; } .psi__bar.is-warn b { color: var(--warn); }
.psi__bar.is-bad { background: #E0424B; } .psi__bar.is-bad b { color: var(--bad); font-weight: 600; }
.psi__limit { position: absolute; left: 0; right: 0; bottom: 89.3%; border-top: 1px dashed var(--bad); z-index: 1; transform-origin: left; }
.psi__limit em { position: absolute; left: 0; bottom: 3px; font-style: normal; font-size: 0.8em; color: var(--bad); }
.ms__alert { background: #FCEBEC; border-left: 3px solid #E0424B; padding: 0.6em 0.8em; border-radius: 0.4em; margin-top: 0.8em; }

.flow { position: relative; padding: 1.5em 1em 1.3em; background-color: #F6F6F8; background-image: radial-gradient(rgba(12, 18, 34, 0.1) 1px, transparent 1.2px); background-size: 14px 14px; }
.flow__row, .flow__branches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1em; align-items: center; }
.node { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 0.7em; padding: 0.6em 0.65em; display: grid; gap: 0.1em; box-shadow: 0 1px 2px rgba(12, 18, 34, 0.06); transition: border-color 0.3s, box-shadow 0.3s; }
.node b { font-family: var(--f-head); font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node span { font-size: 0.84em; color: var(--mute); }
.node .ok { color: var(--good); }
.node:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 50%; width: 1.1em; height: 2px; margin: -1px 0 0 1px; background: var(--accent); transform-origin: left; }
.node--out { display: flex; align-items: center; gap: 0.3em; justify-self: start; border-radius: 99px; padding: 0.5em 0.85em 0.5em 0.6em; background: #E4F5E9; border-color: #B7E0C3; color: var(--good); font-family: var(--f-head); font-weight: 600; }
.node--out svg { width: 1.2em; height: 1.2em; }
.flow--anim .node::after { transform: scaleX(0); transition: transform 0.3s ease-out; }
.flow--anim .node span { opacity: 0; transition: opacity 0.3s; }
.flow--anim .node.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.14); }
.flow--anim .node.is-on::after { transform: scaleX(1); }
.flow--anim .node.is-on span { opacity: 1; }
.flow--anim .node--out { opacity: 0.35; transition: opacity 0.4s, box-shadow 0.4s; }
.flow--anim .node--out.is-on { opacity: 1; border-color: #B7E0C3; box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.14); }
.flow__branches { margin-top: 1.5em; }
.branch { grid-column: calc(var(--at) + 1); justify-self: center; position: relative; padding: 0.3em 0.75em; border-radius: 99px; font-size: 0.82em; white-space: nowrap; }
.branch::before { content: ""; position: absolute; bottom: 100%; left: 50%; height: 1.5em; border-left: 1px dashed var(--faint); }
.branch--hold { background: #FDE6EC; color: #B4123B; }
.branch--decline { background: #FCE9E9; color: var(--bad); }
.branch--refer { background: #FBEFD9; color: var(--warn); }
.decision { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0.7em; padding: 0.9em; border-top: 1px solid var(--line); }
.decision__card { border: 1px solid var(--line); border-radius: 0.8em; padding: 0.85em 0.95em; display: grid; gap: 0.3em; align-content: start; color: var(--ink-2); }
.decision__card p { color: var(--blue); font-size: 0.84em; text-transform: uppercase; letter-spacing: 0.04em; }
.decision__card--ok { background: #E9F6EC; border-color: #C3E4CC; }
.decision__card--ok p { color: var(--good); }
.decision__card b { font-family: var(--f-head); font-weight: 700; font-size: 1.9em; letter-spacing: -0.035em; color: var(--good); line-height: 1.05; }
.decision__card b .mono { font-size: 0.42em; color: var(--ink); letter-spacing: 0; font-weight: 500; }

/* loop lines */
.loop { margin-top: clamp(64px, 11vh, 136px); }
.loop li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; position: relative; overflow: clip; padding-block: 0.12em; }
.loop li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); transform-origin: left; transform: scaleX(var(--rule, 1)); }
.loop li:last-child::after { display: none; }
.loop b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.6rem, 7.6vw, 7rem); letter-spacing: -0.035em; line-height: 1.08; }
.loop span { color: var(--accent); text-align: right; flex: none; }
.loop li:nth-child(3) span { color: var(--teal); }
.loop__last { padding-bottom: 0.4em !important; }
.loop__last span { color: var(--mute); }

@media (max-width: 899px) {
  .work__track { flex-direction: column; width: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .work__pin, .work__pin.is-pinned { overflow-x: visible; }
  .prod { width: 100%; height: auto; min-height: 0; grid-template-columns: 1fr; border-radius: 24px; }
  .prod__name { white-space: normal; }
  .prod__screen { border-left: 0; border-top: 1px solid var(--line); flex-direction: column; gap: 12px; padding: 16px; }
  .win--p360 { position: relative; inset: auto; left: auto; right: auto; top: auto; }
  .chat { position: relative; right: auto; bottom: auto; width: 100%; }
  .ava { display: none; }
  .win, .chat { font-size: 11.5px; }
  .win__bar { flex-wrap: wrap; }
  .work__hud { display: none; }
  .ms { grid-template-columns: 1fr; }
  .flow__row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1em; }
  .node:nth-child(3n)::after { display: none; }
  .flow__branches { display: flex; flex-wrap: wrap; gap: 0.6em; }
  .branch::before { display: none; }
  .decision { grid-template-columns: 1fr; }
  .loop li { flex-direction: column; gap: 0; padding-bottom: 0.5em; }
  .loop span { text-align: left; }
}

/* ---------- 08 engage ---------- */
.engage__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); }
.engage__head { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.engage__head .body { margin-top: 1.5em; }
.gates { position: relative; padding-left: 60px; }
.gates__spine { position: absolute; left: 12px; top: 16px; width: 2px; height: 100px; background: var(--line-2); border-radius: 2px; }
.gates__spine i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(var(--fill, 1)); border-radius: 2px; }
.gate { position: relative; padding-bottom: clamp(52px, 11vh, 116px); }
.gate:last-child { padding-bottom: 0; }
.gate__node { position: absolute; left: -56px; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 2px solid var(--accent); z-index: 1; transition: background 0.4s, border-color 0.4s; }
.gates--anim .gate__node { background: var(--paper); border-color: var(--line-2); }
.gates--anim .gate.is-passed .gate__node { background: var(--accent); border-color: var(--accent); }
.gate__k { color: var(--accent); margin-bottom: 0.9em; }
.gate__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -0.026em; line-height: 1; }
.gate__q { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.65rem); line-height: 1.2; color: var(--accent); margin: 0.5em 0 0.9em; text-wrap: balance; }
.gate__do li { padding: 11px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.gate__do li:last-child { border-bottom: 1px solid var(--line-2); }
.gate__out { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--paper-2); font-family: var(--f-head); font-weight: 600; letter-spacing: -0.012em; display: grid; gap: 3px; }
.gate__out .cap { color: var(--accent); font-family: var(--f-body); }
@media (max-width: 899px) {
  .engage__grid { grid-template-columns: 1fr; }
  .engage__head { position: static; }
  .gates { padding-left: 40px; }
  .gates__spine { left: 8px; }
  .gate__node { left: -40px; }
}

/* ---------- 09 deliver, where we operate ---------- */
.deliver__head { margin-bottom: clamp(36px, 6vh, 64px); }
.deliver__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(12px, 1.6vw, 20px); }
.mode { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 2.6vw, 36px); }
.mode--strong { background: var(--accent-soft); border-color: var(--accent-line); }
.mode h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.7rem, 2.5vw, 2.3rem); letter-spacing: -0.024em; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 0.5em; }
.mode li { position: relative; padding: 8px 0 8px 28px; color: var(--ink-2); }
.mode li b { color: var(--ink); font-weight: 600; }
.mode li::before { content: ""; position: absolute; left: 2px; top: 0.95em; width: 12px; height: 7px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); transform-origin: left bottom; }
.deliver__own { margin: clamp(36px, 6vh, 64px) 0 0; }
.owns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; border-top: 1px solid var(--ink); }
.owns li { padding: 22px 24px 0 0; display: grid; gap: 6px; align-content: start; }
.owns li + li { padding-left: 24px; border-left: 1px solid var(--line-2); }
.owns b { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.02em; }
.owns span { color: var(--ink-2); font-size: 0.96rem; }
.where { margin-top: clamp(84px, 14vh, 168px); }
.arc { position: relative; height: clamp(56px, 7vw, 96px); margin-bottom: 6px; color: var(--line-2); }
.arc svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc i { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.arc i.is-hq { width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(215, 20, 60, 0.14); }
.places { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); }
.place { text-align: center; display: grid; gap: 6px; align-content: start; padding: 0 4px; }
.place h4 { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.02rem, 1.4vw, 1.25rem); letter-spacing: -0.015em; }
.place .cap { color: var(--mute); font-size: 0.64rem; }
.place--hq .cap { color: var(--accent); }
.place p:not(.cap) { color: var(--ink-2); font-size: 0.92rem; line-height: 1.45; }
@media (max-width: 899px) {
  .deliver__grid { grid-template-columns: 1fr; }
  .owns { grid-template-columns: 1fr 1fr; }
  .owns li { padding: 18px 16px 18px 0; }
  .owns li + li { padding-left: 16px; }
  .owns li:nth-child(3) { padding-left: 0; border-left: 0; }
  .owns li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .arc { display: none; }
  .places { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-2); }
  .place { text-align: left; grid-template-columns: 1fr; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line-2); position: relative; }
  .place::before { content: ""; position: absolute; left: 2px; top: 22px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); }
  .place--hq::before { background: var(--accent); border-color: var(--accent); }
}

/* ---------- 10 team ---------- */
.who { padding-bottom: 0; }
.who__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(28px, 5vw, 88px); margin-top: clamp(36px, 6vh, 72px); align-items: start; }
.who__big { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; text-wrap: pretty; }
.who__cols { display: grid; gap: 1.2em; }
.marquee { margin-block: clamp(64px, 11vh, 136px) clamp(56px, 9vh, 112px); display: grid; gap: 0.04em; overflow: clip; }
.marquee__row {
  display: flex; align-items: center; gap: 0.36em; width: max-content; white-space: nowrap; will-change: transform;
  font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.7rem, 7.8vw, 7.2rem); letter-spacing: -0.035em; line-height: 1.16;
}
.marquee__row i { width: 0.12em; height: 0.12em; border-radius: 50%; background: var(--line-2); flex: none; }
.marquee__row:nth-child(2) { transform: translateX(-24%); }
.team { position: relative; }
.team__head { margin-bottom: clamp(24px, 4vh, 44px); }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.member { display: flex; align-items: center; gap: 18px; padding: 20px; border: 1.5px dashed var(--line-2); border-radius: 20px; }
.member__pic { width: 72px; height: 72px; border-radius: 50%; border: 1.5px dashed var(--line-2); background: var(--paper-2); flex: none; }
.member b { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--faint); }
.member .cap { color: var(--faint); }
@media (max-width: 899px) {
  .who__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .member { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .member__pic { width: 52px; height: 52px; }
}

/* ---------- 11 contact ---------- */
.contact { padding-top: clamp(150px, 22vh, 230px); padding-bottom: clamp(32px, 6vh, 72px); }
.contact__panel {
  position: relative; border-radius: 36px; padding: clamp(26px, 5.6vw, 92px); transform-origin: 50% 100%; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, #6A1A37 0%, var(--night-2) 34%, var(--night) 70%);
}
.contact__panel .label { color: var(--accent-glow); }
.contact__h { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.5rem, 7vw, 6.4rem); letter-spacing: -0.03em; line-height: 1.0; text-wrap: balance; }
.contact__h em { color: var(--accent-glow); }
.contact__h .dot { background: var(--accent-glow); }
.contact__lede { margin-top: 1.5em; color: #DCCDD3; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(32px, 6vh, 64px); }
.way { border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); border-radius: 20px; padding: clamp(18px, 2vw, 28px); display: grid; gap: 10px; align-content: start; }
.way--pick { border-color: var(--accent-glow); background: rgba(255, 122, 142, 0.08); }
.way__k { color: var(--accent-glow); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.way h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.5rem, 2.1vw, 1.95rem); letter-spacing: -0.02em; line-height: 1.1; }
.way > p:not(.way__k) { color: #DCCDD3; font-size: 0.96rem; }
.way ul { margin-top: 6px; }
.way li { position: relative; padding: 8px 0 8px 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.93rem; color: #EFE6EA; }
.way li::before { content: ""; position: absolute; left: 2px; top: 1em; width: 10px; height: 6px; border: solid var(--accent-glow); border-width: 0 0 1.8px 1.8px; transform: rotate(-45deg); transform-origin: left bottom; }
.contact__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(36px, 6vh, 68px); }
.contact__addr { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.9rem, 5.2vw, 4.6rem); line-height: 1.08; color: var(--accent-glow); letter-spacing: -0.02em; background: linear-gradient(currentColor, currentColor) no-repeat 0 96% / 100% 1.5px; transition: background-size 0.6s var(--ease); overflow-wrap: anywhere; }
.contact__addr:hover { background-size: 0% 1.5px; background-position: 100% 96%; }
.copy { cursor: pointer; padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: #fff; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.copy:hover, .copy.is-done { background: #fff; color: var(--ink); border-color: #fff; }
.contact__rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 6vh, 64px); border-top: 1px solid rgba(255, 255, 255, 0.2); }
.contact__rows > div { padding: 18px 20px 0 0; display: grid; gap: 8px; align-content: start; }
.contact__rows dt { color: var(--accent-glow); }
.contact__rows dd { font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; }
.contact__rows dd.ph { font-family: var(--f-body); font-weight: 400; font-size: 0.8rem; letter-spacing: 0; color: #BFAFB6; border: 1.5px dashed rgba(255, 255, 255, 0.3); border-radius: 99px; padding: 5px 13px; justify-self: start; }
.team__ava { position: absolute; right: clamp(24px, 9%, 140px); bottom: 100%; width: clamp(130px, 17vw, 230px); margin: 0; }
.team__ava img { width: 100%; height: auto; }
.team__ava .ava__say { left: auto; right: 86%; bottom: 46%; }
.team__ava .ava__say::after { left: auto; right: -5px; top: 50%; border-width: 1.5px 1.5px 0 0; transform: translateY(-50%) rotate(45deg); }
@media (max-width: 899px) {
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .contact__panel { border-radius: 26px; }
  .contact__rows { grid-template-columns: 1fr; }
  .team__ava .ava__say { right: 70%; }
}

/* ---------- footer ---------- */
.foot { padding-block: clamp(40px, 7vh, 80px) calc(22px + env(safe-area-inset-bottom, 0px)); }
.foot__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(24px, 5vw, 80px); padding-bottom: clamp(40px, 7vh, 80px); }
.foot__tag { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.6rem, 2.5vw, 2.3rem); letter-spacing: -0.024em; line-height: 1.1; max-width: 11em; }
.foot__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot__nav div { display: grid; gap: 8px; align-content: start; justify-items: start; }
.foot__nav p { color: var(--mute); margin-bottom: 6px; }
.foot__nav a { font-weight: 500; background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0% 1px; transition: background-size 0.5s var(--ease); }
.foot__nav a:hover { background-size: 100% 1px; background-position: 0 100%; }
.foot__mark svg { width: 100%; height: auto; fill: var(--ink); overflow: visible; }
/* static orb for no-JS and reduced motion; the travelling signal takes its place otherwise */
.foot__slot { fill: transparent; }
.signal-on .foot__orb { visibility: hidden; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(24px, 4vh, 44px); padding-top: 16px; border-top: 1px solid var(--line-2); color: var(--mute); }
.foot__base a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .foot__top { grid-template-columns: 1fr; }
  .foot__nav { grid-template-columns: 1fr 1fr; }
  .foot__nav div { gap: 0; }
  .foot__nav a, .foot__nav span { padding-block: 9px; }
  .foot__base a { padding-block: 13px; }
  .contact__rows a { display: inline-block; padding-block: 9px; }
  .copy { min-height: 44px; }
  .indkey .tag--plain { margin-left: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .loader { display: none; }
  /* the field is drawn once and scrolls away with the hero */
  .rays { position: absolute; bottom: auto; height: 100vh; }
  .hero__scroll i::after { display: none; }
}
