/* ==========================================================================
   KORANGA — redesign concept
   ink / paper / signal · Heebo + Frank Ruhl Libre + JetBrains Mono · RTL
   ========================================================================== */

:root {
  --ink: #0A0908;
  --ink-2: #13110F;
  --ink-3: #1C1916;
  --paper: #EEEAE2;
  --paper-2: #E2DDD3;
  --signal: #FF5A1F;
  --signal-hot: #FF9A62;
  --ok: #3DDC84;

  --bg: var(--ink);
  --fg: var(--paper);

  --f-sans: "Heebo", "Arial Hebrew", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Frank Ruhl Libre", "David", Georgia, serif;
  --f-mono: "JetBrains Mono", "Heebo", ui-monospace, monospace;

  --pad: clamp(16px, 4vw, 64px);
  --hdr-h: 84px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

html:not(.js-theme) [data-bg="ink"]    { --bg: var(--ink);    --fg: var(--paper); }
html:not(.js-theme) [data-bg="paper"]  { --bg: var(--paper);  --fg: var(--ink); }
html:not(.js-theme) [data-bg="signal"] { --bg: var(--signal); --fg: var(--ink); }

[data-bg], body {
  --line: color-mix(in srgb, var(--fg) 16%, transparent);
  --mute: color-mix(in srgb, var(--fg) 58%, transparent);
}
[data-bg] { background: var(--bg); color: var(--fg); }
.js-theme [data-bg] { background: transparent; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
html.menu-open { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: -120px;
  z-index: 150;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .07;
  animation: grain 1s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-40px, 24px); }
  40% { transform: translate(28px, -36px); }
  60% { transform: translate(-18px, 40px); }
  80% { transform: translate(36px, 12px); }
  100% { transform: translate(0, 0); }
}

::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; right: 12px; z-index: 300;
  background: var(--signal); color: var(--ink); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 700; transform: translateY(-160%); transition: transform .3s;
}
.skip:focus { transform: none; }

.mono { font-family: var(--f-mono); font-weight: 400; letter-spacing: .01em; }
.wrap { padding-inline: var(--pad); max-width: 1840px; margin-inline: auto; }
.eyebrow { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 0; }

h1, h2, h3 { font-weight: 900; margin: 0; }
em { font-style: normal; }

/* the accent voice: serif, light, signal */
.sec-title em, .manifesto__head em, .engine__title em, .contact__title em, .st__line--accent em {
  font-family: var(--f-serif);
  font-weight: 300;
  color: var(--signal);
  letter-spacing: -.02em;
}
[data-bg="signal"] em { color: #fff !important; }
[data-bg="paper"] .sec-title em { color: #B33B0A; }
[data-bg="signal"] :focus-visible { outline-color: var(--ink); }
.js-theme[data-theme="ink"] { --heading-accent: var(--signal); }
.js-theme[data-theme="paper"] { --heading-accent: #B33B0A; }
.js-theme[data-theme="signal"] { --heading-accent: #fff; }
.js-theme :is(.sec-title, .manifesto__head, .engine__title, .contact__title, .st__line--accent) em { color: var(--heading-accent, var(--signal)) !important; }

.sec-title {
  font-size: clamp(48px, 7.6vw, 150px);
  line-height: .9;
  letter-spacing: -.035em;
  margin-top: 20px;
}

/* split-line reveal scaffolding (JS wraps) */
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > .line-in { display: block; will-change: transform; }

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  animation: loaderFailsafe .01s 5s forwards;
}
.js-motion .loader { animation: none; }
@keyframes loaderFailsafe { to { visibility: hidden; opacity: 0; } }

.loader__grid {
  position: absolute; top: 28px; inset-inline: var(--pad);
  display: flex; justify-content: space-between; font-size: 11px; color: rgba(238, 234, 226, .45);
}
.loader__word {
  display: flex; align-items: flex-end; overflow: hidden;
  font: 900 clamp(64px, 14vw, 240px)/1 var(--f-sans); letter-spacing: -.06em;
  padding: 0 .04em .06em;
}
.loader__word span { display: inline-block; transform: translateY(110%); }
.loader__word em {
  width: .2em; height: .2em; border-radius: 50%; background: var(--signal);
  margin: 0 0 .2em .04em; transform: scale(0); flex: none;
}
.loader__count {
  position: absolute; bottom: 30px; inset-inline-start: var(--pad);
  font-size: clamp(36px, 5vw, 80px); line-height: 1; color: rgba(238, 234, 226, .9);
}
.loader__bar { position: absolute; inset: auto 0 0 0; height: 2px; background: rgba(238, 234, 226, .08); }
.loader__bar i { display: block; height: 100%; background: var(--signal); transform-origin: right; transform: scaleX(0); }
.loader__curtain { position: absolute; inset: 0; background: var(--signal); transform: translateY(101%); }

/* ==========================================================================
   CURSOR
   ========================================================================== */
.cursor { position: fixed; top: 0; left: 0; z-index: 190; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__ring {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%; border: 1px solid rgba(238, 234, 226, .6);
  display: grid; place-items: center;
  mix-blend-mode: difference;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease),
              background-color .3s, border-color .3s, opacity .3s;
}
.cursor__dot {
  position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%;
  background: var(--paper); mix-blend-mode: difference;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--paper); border-color: transparent; }
.cursor.has-label .cursor__ring {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  background: var(--signal); border-color: transparent; mix-blend-mode: normal;
}
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor__label {
  font: 700 13px/1 var(--f-sans); color: var(--ink); opacity: 0; transform: scale(.6);
  transition: opacity .25s, transform .45s var(--ease); white-space: nowrap;
}
.cursor.has-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* ==========================================================================
   HEADER + MENU
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--hdr-h); padding: 0 var(--pad);
  display: flex; align-items: center; gap: 28px;
  color: var(--fg);
  transition: transform .7s var(--ease), background-color .4s, backdrop-filter .4s;
}
.hdr.is-solid {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.hdr.is-hidden { transform: translateY(-105%); }
.hdr:focus-within { transform: none; }
.menu-open .hdr { color: var(--paper); background: transparent; backdrop-filter: none; transform: none; }

.logo {
  display: inline-flex; align-items: flex-end;
  font: 800 28px/1 var(--f-sans); letter-spacing: -.05em;
  text-decoration: none; color: inherit;
}
.logo__dot {
  width: .24em; height: .24em; border-radius: 50%; background: var(--signal);
  margin: 0 0 .12em .05em; transition: transform .5s var(--ease);
}
.logo:hover .logo__dot { transform: scale(1.6); }

.hdr__nav { display: flex; gap: 30px; margin-inline-start: auto; }
.hdr__nav a { text-decoration: none; font-size: 15px; font-weight: 500; }

[data-hover-roll] span {
  position: relative; display: inline-block; overflow: hidden; vertical-align: top;
  color: transparent; text-shadow: 0 0 0 transparent;
}
[data-hover-roll] span::before, [data-hover-roll] span::after {
  content: attr(data-text); position: absolute; inset: 0; color: var(--fg);
  transition: transform .55s var(--ease);
}
.menu-open [data-hover-roll] span::before, .menu-open [data-hover-roll] span::after { color: var(--paper); }
[data-hover-roll] span::after { transform: translateY(105%); color: var(--signal); }
[data-hover-roll]:hover span::before { transform: translateY(-105%); }
[data-hover-roll]:hover span::after { transform: none; }

.hdr__cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: inherit;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .35s, color .35s, border-color .35s;
}
.hdr__cta:hover { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.hdr__cta-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); animation: ping 2s infinite; }
.hdr__cta:hover .hdr__cta-dot { background: var(--ink); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); } }

.hdr__burger {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  place-content: center; gap: 6px;
}
.hdr__burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.menu-open .hdr__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .hdr__burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr-h) + 32px) var(--pad) 36px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io);
  max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; gap: 32px;
}
.menu__nav, .menu__foot { flex-shrink: 0; }
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; text-decoration: none;
  font: 900 clamp(48px, 13vw, 120px)/1.02 var(--f-sans); letter-spacing: -.04em;
  border-bottom: 1px solid rgba(238, 234, 226, .1); padding: 6px 0;
}
.menu__nav a small { font-size: 12px; color: var(--signal); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: rgba(238, 234, 226, .7); }
.menu__foot a { text-decoration: none; }

/* ==========================================================================
   BUTTONS / ORB
   ========================================================================== */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: 60px; padding: 0 28px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font: 600 16px/1 var(--f-sans);
  transition: color .45s var(--ease), border-color .45s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--fill); transform: translateY(102%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn__label { position: relative; }
.btn--signal { background: var(--signal); color: var(--ink); --fill: var(--paper); }
.btn--ghost { color: var(--fg); border-color: var(--line); --fill: var(--fg); }
.btn--ghost:hover { color: var(--bg); }
.btn--ink { background: var(--ink); color: var(--paper); --fill: var(--signal); }
.btn--ink:hover { color: var(--ink); }
.btn__icon {
  width: 36px; height: 36px; margin-inline-end: -16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--signal);
  transition: transform .6s var(--ease);
}
.btn__icon svg { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: translateX(-4px) rotate(-45deg); }

.orb {
  --s: 40px;
  position: relative; display: inline-block; flex: none; overflow: hidden; isolation: isolate;
  width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #FFD9C0 0%, #FF7A3D 32%, #FF5A1F 52%, #7A1C00 100%);
  box-shadow: 0 0 calc(var(--s) * .6) calc(var(--s) * -.1) rgba(255, 90, 31, .55), inset 0 0 calc(var(--s) * .2) rgba(255, 255, 255, .25);
}
.orb i { position: absolute; inset: -35%; border-radius: 42%; mix-blend-mode: screen; filter: blur(calc(var(--s) * .08)); animation: orbspin 7s linear infinite; }
.orb i:nth-child(1) { background: radial-gradient(circle at 30% 50%, rgba(255, 226, 200, .95), transparent 38%); }
.orb i:nth-child(2) { background: radial-gradient(circle at 72% 40%, rgba(255, 110, 50, .95), transparent 42%); animation-duration: 9s; animation-direction: reverse; }
.orb i:nth-child(3) { background: radial-gradient(circle at 50% 82%, rgba(255, 255, 255, .7), transparent 32%); animation-duration: 5s; }
@keyframes orbspin { to { transform: rotate(360deg); } }
.orb--xs { --s: 18px; } .orb--sm { --s: 34px; } .orb--md { --s: 40px; } .orb--lg { --s: 76px; }
.is-thinking .orb, .orb.is-thinking { animation: orbpulse 1.1s ease-in-out infinite; }
@keyframes orbpulse { 50% { transform: scale(.86); filter: saturate(1.4) brightness(1.15); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  background: none; border: 0; padding: 0 0 4px; cursor: pointer;
  border-bottom: 1.5px solid currentColor;
}
.link-arrow::after { content: "←"; transition: transform .5s var(--ease); }
.link-arrow:hover::after { transform: translateX(-6px); }
.inline-link { background: none; border: 0; padding: 0; color: var(--signal); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
[data-bg="paper"] .inline-link { color: #B33B0A; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
  background: var(--ink); color: var(--paper);
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(10, 9, 8, .95), transparent 60%),
    linear-gradient(180deg, rgba(10, 9, 8, .55), transparent 30%);
}
.hero__inner {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--hdr-h) + 20px) var(--pad) 34px;
  position: relative;
}
.hero__meta { display: flex; justify-content: space-between; gap: 20px; font-size: 11.5px; color: rgba(238, 234, 226, .55); letter-spacing: .04em; }
.hero__meta-mid { opacity: .8; }

.hero__title { margin: auto 0 0; font-weight: 900; line-height: .83; letter-spacing: -.045em; }
.hero__line { display: block; }
.hero__mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .04em .02em .1em; margin: -.04em -.02em -.1em; white-space: nowrap; }
.hero__mask > span { display: inline-block; will-change: transform; }
.hero__line--serif {
  font-family: var(--f-serif); font-weight: 300; letter-spacing: -.01em; line-height: 1.1;
  font-size: clamp(30px, 4.4vw, 84px); color: rgba(238, 234, 226, .82); margin-bottom: .12em;
}
.hero__line--xl { font-size: clamp(84px, 17vw, 330px); }
.hero__line--offset { display: flex; align-items: center; gap: .14em; padding-inline-start: 14vw; }
[data-proximity] .ch { display: inline-block; font-weight: 900; }

.engine-pill {
  position: relative; display: inline-flex; overflow: hidden; flex: none;
  font-size: .2em; font-weight: 800; letter-spacing: -.01em; line-height: 1.6;
  height: 1.6em; padding: 0 .7em; border-radius: 999px;
  background: var(--signal); color: var(--ink);
  transform: translateY(.18em);
  transition: width .7s var(--ease);
}
.engine-pill__track { display: flex; flex-direction: column; }
.engine-pill__track span { display: block; height: 1.6em; white-space: nowrap; }

.hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: end; }
.hero__bottom > *, .engine__pin > *, .contact__grid > *, .method__grid > *, .faq__grid > * { min-width: 0; }

.askbar {
  position: relative; display: flex; align-items: center; gap: 12px;
  width: 100%; max-width: 640px; height: 72px; padding: 0 10px; padding-inline-start: 14px;
  border-radius: 999px;
  background: rgba(22, 19, 17, .55);
  border: 1px solid rgba(238, 234, 226, .16);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 40px 90px -40px rgba(255, 90, 31, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .35s, box-shadow .35s, transform .5s var(--ease);
}
.askbar:hover { border-color: rgba(238, 234, 226, .3); }
.askbar:focus-within { border-color: rgba(255, 90, 31, .8); box-shadow: 0 40px 100px -30px rgba(255, 90, 31, .7), 0 0 0 5px rgba(255, 90, 31, .12); }
.askbar__orb { --s: 44px; }
.askbar input {
  flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0;
  color: var(--paper); font: 400 18px var(--f-sans);
}
.askbar__ph {
  position: absolute; inset-inline-start: 72px; inset-inline-end: 78px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; pointer-events: none; white-space: nowrap; overflow: hidden;
  color: rgba(238, 234, 226, .5); font-size: 18px;
  transition: opacity .2s;
}
.askbar.is-filled .askbar__ph { opacity: 0; }
.askbar__caret { width: 1.5px; height: 1.1em; background: var(--signal); margin-inline-start: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.askbar__send {
  width: 52px; height: 52px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--signal); color: var(--ink); display: grid; place-items: center;
  transition: transform .5s var(--ease), background-color .3s;
}
.askbar__send svg { width: 22px; height: 22px; }
.askbar__send:hover { transform: rotate(-12deg) scale(1.06); background: var(--paper); }
.askbar__hint {
  position: absolute; top: -26px; inset-inline-start: 22px;
  font-size: 10.5px; letter-spacing: .08em; color: rgba(238, 234, 226, .5);
}
.askbar__hint::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-inline-end: 8px; vertical-align: middle; box-shadow: 0 0 8px var(--ok); }

.hero__copy p { margin: 0 0 24px; max-width: 34em; font-size: clamp(16px, 1.25vw, 19px); color: rgba(238, 234, 226, .72); }
.hero__copy strong { color: var(--paper); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost { color: var(--paper); border-color: rgba(238, 234, 226, .22); --fill: var(--paper); }
.hero .btn--ghost:hover { color: var(--ink); }

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .12em; color: rgba(238, 234, 226, .5);
}
.hero__scroll i { width: 1px; height: 44px; background: rgba(238, 234, 226, .15); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--signal); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ==========================================================================
   TAPES / MARQUEES
   ========================================================================== */
.tapes { position: relative; height: clamp(200px, 22vw, 340px); overflow: hidden; }
.tape {
  position: absolute; left: -10%; width: 120%; top: 50%;
  display: flex; direction: ltr; overflow: hidden; white-space: nowrap; padding: 16px 0;
}
.tape--signal { background: var(--signal); color: var(--ink); transform: translateY(-60%) rotate(-3.5deg); z-index: 2; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.tape--paper { background: var(--paper); color: var(--ink); transform: translateY(-40%) rotate(2.5deg); }
.tape__row, .clients__row { display: flex; flex: none; align-items: center; will-change: transform; }
.tape__row { gap: .5em; padding-right: .5em; font: 800 clamp(30px, 4.4vw, 76px)/1.05 var(--f-sans); letter-spacing: -.025em; }
.tape__row b { font-weight: 300; font-size: .6em; opacity: .75; }
.tape--paper .tape__row { font-family: var(--f-serif); font-weight: 300; letter-spacing: -.01em; }
.tape--paper .tape__row b { color: var(--signal); opacity: 1; font-size: .4em; }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { padding: clamp(120px, 16vw, 260px) 0 clamp(100px, 12vw, 200px); }
.manifesto__head { font-size: clamp(58px, 10.4vw, 200px); line-height: .88; letter-spacing: -.045em; margin: 22px 0 clamp(48px, 7vw, 110px); }
.manifesto__text {
  margin: 0; margin-inline-start: auto; max-width: 21em;
  font: 500 clamp(24px, 3.1vw, 54px)/1.26 var(--f-sans); letter-spacing: -.018em;
}
.manifesto__text .w { opacity: .14; }
.no-motion .manifesto__text .w { opacity: 1; }

/* ==========================================================================
   ANSWER ENGINE
   ========================================================================== */
.engine__pin {
  min-height: 100vh; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 110px); align-items: center;
  padding: 110px var(--pad) 70px; max-width: 1840px; margin-inline: auto;
}
.engine__title { font-size: clamp(46px, 6vw, 118px); line-height: .9; letter-spacing: -.04em; margin: 20px 0 28px; }
.engine__lead { font-size: clamp(17px, 1.35vw, 21px); color: var(--mute); max-width: 30em; margin: 0; }
.engine__steps { list-style: none; margin: 44px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 30em; }
.engine__steps li {
  display: flex; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; letter-spacing: .02em; opacity: .32; transition: opacity .4s, color .4s;
}
.engine__steps li span { opacity: .6; }
.engine__steps li.is-on { opacity: 1; color: var(--signal); }

.answer {
  position: relative; overflow: hidden; min-height: 540px;
  border-radius: 24px; padding-bottom: 30px;
  background: linear-gradient(180deg, #171412 0%, #0F0D0C 100%);
  border: 1px solid rgba(238, 234, 226, .1);
  box-shadow: 0 80px 140px -60px rgba(0, 0, 0, .9), 0 0 140px -60px rgba(255, 90, 31, .45);
  color: var(--paper);
}
.answer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 20% 0%, rgba(255, 90, 31, .12), transparent 70%);
}
.answer__bar { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-bottom: 1px solid rgba(238, 234, 226, .08); direction: ltr; }
.answer__dots { display: flex; gap: 7px; }
.answer__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(238, 234, 226, .14); }
.answer__tabs { display: flex; gap: 4px; margin-left: auto; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); }
.answer__tabs button {
  all: unset; box-sizing: border-box; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  font: 500 12px/1 var(--f-mono); padding: 9px 12px; border-radius: 999px; color: rgba(238, 234, 226, .45);
  transition: background-color .4s, color .4s;
}
.answer__tabs button:hover { color: rgba(238, 234, 226, .8); }
.answer__tabs button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.answer__tabs button.is-on { background: var(--paper); color: var(--ink); }
.answer__tabs button.is-on:hover { color: var(--ink); }

.answer__q { display: flex; gap: 14px; align-items: flex-start; padding: 26px 28px 8px; }
.answer__avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #2A2623; font-weight: 700; font-size: 15px; }
.answer__q p { margin: 4px 0 0; font-size: clamp(18px, 1.5vw, 23px); font-weight: 600; line-height: 1.35; }
.answer__caret { display: inline-block; width: 2px; height: 1em; background: var(--signal); vertical-align: -3px; margin-inline-start: 2px; animation: blink 1s steps(1) infinite; }

.answer__search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 28px 0 76px; padding-inline: 76px 28px; font-size: 11.5px; color: rgba(238, 234, 226, .5); }
.answer__spin { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255, 90, 31, .3); border-top-color: var(--signal); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.answer__chips { display: flex; flex-wrap: wrap; gap: 6px; direction: ltr; }
.answer__chips i { font-style: normal; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .05); }

.answer__a { padding: 22px 28px 0; padding-inline: 76px 28px; }
.answer__label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 11.5px; color: rgba(238, 234, 226, .55); letter-spacing: .08em; }
.answer__label .orb { margin-inline-start: -32px; }
.answer__p { margin: 0 0 14px; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; color: rgba(238, 234, 226, .92); }
.answer__p .w { opacity: 0; transition: opacity .25s; }
.answer__p .w.on { opacity: 1; }
.no-motion .answer__p .w { opacity: 1; }
.answer__p mark {
  background: linear-gradient(90deg, var(--signal), var(--signal)) no-repeat right / var(--mark, 0%) 100%;
  color: inherit; padding: 0 .14em; border-radius: 4px; font-weight: 700;
  transition: color .3s;
}
.answer__p mark.is-lit { color: var(--ink); }
.answer__p sup { font: 600 11px var(--f-mono); color: var(--signal); margin-inline-start: 3px; }
.answer__src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; direction: ltr; justify-content: flex-end; }
.src { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(238, 234, 226, .08); font: 500 12px var(--f-mono); color: rgba(238, 234, 226, .6); }
.src b { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 10px; }
.src--hit { color: var(--paper); border-color: rgba(255, 90, 31, .6); background: rgba(255, 90, 31, .12); box-shadow: 0 0 30px -6px rgba(255, 90, 31, .6); }
.src--hit b { background: var(--signal); color: var(--ink); }
.answer__note { position: absolute; bottom: 12px; left: 20px; font-size: 10px; color: rgba(238, 234, 226, .3); letter-spacing: .06em; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { position: relative; padding: clamp(120px, 14vw, 220px) 0; }
.svc { list-style: none; margin: clamp(56px, 7vw, 110px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.svc__item { position: relative; border-bottom: 1px solid var(--line); }
.svc__row {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: grid; grid-template-columns: 90px minmax(0, 1fr) auto 58px; align-items: center; gap: 24px;
  padding: clamp(22px, 2.6vw, 40px) 0;
}
.svc__row:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.svc__idx { font-size: 13px; color: var(--mute); transition: color .3s; }
.svc__name {
  font: 800 clamp(32px, 5.4vw, 96px)/1 var(--f-sans); letter-spacing: -.035em;
  transition: transform .7s var(--ease), color .3s;
}
.svc__tags { font-size: 12px; color: var(--mute); white-space: nowrap; }
.svc__plus { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); transition: transform .6s var(--ease), background-color .3s, border-color .3s; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; top: 50%; left: 19px; right: 19px; height: 1.5px; margin-top: -.75px; background: currentColor; }
.svc__plus::after { transform: rotate(90deg); }
.svc__row:hover .svc__name { transform: translateX(-22px); }
.svc__row:hover .svc__idx { color: var(--signal); }
.svc__row:hover .svc__plus { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.svc__item.is-open .svc__plus { transform: rotate(135deg); background: var(--signal); border-color: var(--signal); color: var(--ink); }
.svc__item.is-open .svc__name { color: #B33B0A; }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc__item.is-open .svc__body { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; padding-inline-start: 114px; }
.svc__inner p { margin: 0 0 22px; max-width: 34em; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.5; }
.svc__inner .link-arrow { margin-bottom: clamp(26px, 3vw, 44px); }

.svc-float {
  position: fixed; top: 0; left: 0; z-index: 30; pointer-events: none;
  width: 300px; height: 214px; margin: -107px 0 0 -150px;
  border-radius: 20px; overflow: hidden; background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(10, 9, 8, .5);
  opacity: 0; transform: scale(.5); display: none;
}
.has-cursor .svc-float { display: block; }
.svc-float__inner { position: absolute; inset: 0; }
.sv { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .35s; }
.sv.is-on { opacity: 1; }
.sv * { transform-box: fill-box; transform-origin: center; }
.sv-ring { fill: none; stroke: rgba(238, 234, 226, .22); stroke-width: 1; }
.sv-core { fill: var(--signal); }
.sv-orbit { transform-box: view-box; transform-origin: 140px 100px; animation: orbspin 4s linear infinite; }
.sv-orbit circle { fill: var(--paper); }
.sv-orbit--2 { animation-duration: 2.6s; animation-direction: reverse; }
.sv-orbit--2 circle { fill: var(--signal-hot); }
.sv-t { fill: rgba(238, 234, 226, .55); font: 500 11px var(--f-mono); text-anchor: middle; }
.sv-bars rect { fill: rgba(238, 234, 226, .2); transform-origin: bottom; animation: grow 1.8s var(--ease) infinite alternate; }
.sv-bars rect.hot { fill: var(--signal); }
.sv-bars rect:nth-child(2) { animation-delay: .1s; } .sv-bars rect:nth-child(3) { animation-delay: .2s; }
.sv-bars rect:nth-child(4) { animation-delay: .3s; } .sv-bars rect:nth-child(5) { animation-delay: .4s; }
@keyframes grow { from { transform: scaleY(.35); } }
.sv-frame { fill: none; stroke: rgba(238, 234, 226, .3); }
.sv-line { stroke: rgba(238, 234, 226, .2); }
.sv-blk { fill: rgba(238, 234, 226, .12); animation: blk 2.4s ease-in-out infinite; }
.sv-blk.hot { fill: var(--signal); }
.sv-blk:nth-child(4) { animation-delay: .3s; } .sv-blk:nth-child(5) { animation-delay: .6s; } .sv-blk:nth-child(6) { animation-delay: .9s; } .sv-blk:nth-child(7) { animation-delay: 1.2s; }
@keyframes blk { 50% { opacity: .35; } }
.sv--ppc .sv-ring { animation: target 2.4s ease-in-out infinite; }
.sv--ppc .sv-ring:nth-child(2) { animation-delay: .2s; } .sv--ppc .sv-ring:nth-child(3) { animation-delay: .4s; }
@keyframes target { 50% { transform: scale(.9); stroke: rgba(255, 90, 31, .6); } }
.sv-lines rect { fill: rgba(238, 234, 226, .22); transform-origin: right; animation: type 2.6s var(--ease) infinite; }
.sv-lines rect.hot { fill: var(--signal); }
.sv-lines rect:nth-child(2) { animation-delay: .15s; } .sv-lines rect:nth-child(3) { animation-delay: .3s; } .sv-lines rect:nth-child(4) { animation-delay: .45s; } .sv-lines rect:nth-child(5) { animation-delay: .6s; } .sv-lines rect:nth-child(6) { animation-delay: .75s; }
@keyframes type { 0% { transform: scaleX(0); } 45%, 100% { transform: scaleX(1); } }
.sv-edges line { stroke: rgba(238, 234, 226, .3); stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.sv-node { fill: var(--paper); animation: blk 2s ease-in-out infinite; }
.sv-node:nth-of-type(3) { animation-delay: .5s; } .sv-node:nth-of-type(4) { animation-delay: 1s; }

/* ==========================================================================
   METHOD (sticky stack)
   ========================================================================== */
.method { padding: clamp(120px, 14vw, 220px) 0 clamp(80px, 10vw, 160px); }
.method__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 130px); align-items: start; }
.method__head { position: sticky; top: 130px; }
.method__lead { margin: 30px 0 0; max-width: 26em; color: var(--mute); font-size: clamp(17px, 1.35vw, 21px); }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.stack__card { position: sticky; top: calc(130px + var(--i) * 20px); }
.stack__card:nth-child(1) { --i: 0; } .stack__card:nth-child(2) { --i: 1; } .stack__card:nth-child(3) { --i: 2; }
.stack__card:nth-child(4) { --i: 3; } .stack__card:nth-child(5) { --i: 4; } .stack__card:nth-child(6) { --i: 5; }
.stack__in {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 18px 30px;
  min-height: clamp(260px, 26vw, 340px); padding: clamp(26px, 3vw, 46px);
  border-radius: 26px; border: 1px solid rgba(238, 234, 226, .1);
  background: linear-gradient(160deg, #1B1815 0%, #110F0D 70%);
  box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .7);
  transform-origin: 50% 0; will-change: transform;
  color: var(--paper);
  position: relative;
}
/* receding veil: fades the content, keeps the card's shape and edge readable */
.stack__in::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 9, 8, .55), var(--ink));
  opacity: var(--dim, 0);
}
.stack__num { font: 300 clamp(80px, 8.6vw, 160px)/.78 var(--f-serif); color: var(--signal); letter-spacing: -.04em; }
.stack h3 { font-size: clamp(26px, 2.5vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin: 6px 0 14px; }
.stack p { margin: 0; color: rgba(238, 234, 226, .62); font-size: clamp(16px, 1.2vw, 18px); max-width: 30em; }
.stack__tag { grid-column: 1 / -1; justify-self: end; align-self: end; font-size: 11.5px; color: rgba(238, 234, 226, .4); letter-spacing: .06em; }

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement {
  --bg: var(--ink); --fg: var(--paper); --heading-accent: var(--signal);
  position: relative; padding: clamp(48px, 5vw, 80px) 0 clamp(76px, 7vw, 112px);
}
.js-theme .statement { background: var(--ink); }
.st__inner { max-width: 1200px; text-align: center; }
.st__setup, .st__payoff { display: grid; justify-items: center; gap: 16px; }
.st__line { margin: 0; }
.st__line--lead { font: 500 clamp(17px, 1.55vw, 23px)/1.5 var(--f-sans); color: color-mix(in srgb, var(--fg) 72%, transparent); }
.st__text { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: .1em .5em; }
.st__line--strike { font: 600 clamp(27px, 3.5vw, 50px)/1.3 var(--f-sans); letter-spacing: -.025em; color: color-mix(in srgb, var(--fg) 62%, transparent); }
.st__line--strike s { white-space: nowrap; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.st__rule { display: block; width: 1px; height: clamp(32px, 3.5vw, 48px); margin: clamp(24px, 2.7vw, 40px) auto; background: var(--line); position: relative; }
.st__rule::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); left: -2px; bottom: 0; }
.st__line--accent { font: 900 clamp(64px, 10.5vw, 148px)/1.12 var(--f-sans); letter-spacing: -.05em; }
.st__line--accent .st__text { column-gap: .25em; }
.st__line--accent em { display: inline-block; }
@media (max-width: 700px) {
  .st__setup, .st__payoff { gap: 12px; }
  .st__line--accent { font-size: clamp(72px, 20vw, 110px); }
  .st__line--accent .st__text { flex-direction: column; align-items: center; gap: 0; }
}

/* ==========================================================================
   NUMBERS
   ========================================================================== */
.numbers { padding: clamp(110px, 12vw, 200px) 0; }
.statement + .numbers {
  --bg: var(--signal); --fg: var(--ink);
  position: relative; padding: 0; background: var(--ink);
}
.statement + .numbers > .wrap { max-width: none; padding-block: clamp(110px, 12vw, 200px); background: var(--signal); border-radius: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) 0 0; }
.numbers__head, .numbers__grid { max-width: 1712px; margin-inline: auto; }
.numbers__head { display: flex; flex-direction: column; gap: 16px; }
.numbers .eyebrow { color: color-mix(in srgb, var(--fg) 65%, transparent); }
.numbers__title { font-size: clamp(28px, 3.3vw, 58px); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; max-width: 22em; }
.numbers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 110px); border-top: 1.5px solid var(--fg); }
.num { display: flex; flex-direction: column; gap: 14px; padding: 26px 0 44px; border-bottom: 1.5px solid var(--fg); }
.num:nth-child(odd) { border-inline-end: 1.5px solid var(--fg); padding-inline-end: 32px; }
.num:nth-child(even) { padding-inline-start: 32px; }
.num__v { display: flex; direction: ltr; justify-content: flex-end; align-items: flex-start; font: 900 clamp(96px, 15.5vw, 300px)/.8 var(--f-sans); letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.num__v sup { font: 300 .34em/1 var(--f-serif); margin-left: .06em; letter-spacing: 0; top: 0; }
.num__l { font-size: clamp(16px, 1.35vw, 21px); font-weight: 600; }

/* ==========================================================================
   WORK (horizontal)
   ========================================================================== */
.work { position: relative; }
.work__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 96px 0 30px; }
.work__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 24px; width: 100%; margin-bottom: clamp(24px, 3vw, 44px); }
.work__head .eyebrow { grid-column: 1 / -1; }
.work__head .sec-title { font-size: clamp(38px, 4.4vw, 90px); margin-top: 0; }
.work__count { font-size: 14px; color: var(--mute); }
.work__count span { color: var(--signal); }
.work__viewport { position: relative; scroll-padding-inline: var(--pad); }
.work__track { list-style: none; margin: 0; padding: 0 var(--pad); display: flex; gap: clamp(16px, 1.8vw, 32px); width: max-content; will-change: transform; }
.work__controls, .work__browse { display: none; }
.work__arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.work__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.work__arrow:enabled:hover { background: var(--fg); color: var(--bg); }
.work__arrow:disabled { opacity: .3; cursor: default; }
.work__hint { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 14px; margin: 0; font-size: 13px; line-height: 1.5; color: var(--mute); }
.work__position { white-space: nowrap; font-size: 12px; }
.work__position b { color: var(--fg); font-weight: 500; }
.work__browse a { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; font-size: 15px; }
.work__browse a span { font-size: 22px; }
.work__viewport:focus-visible { outline: 2px solid var(--signal); outline-offset: -3px; }

/* Native browsing stays independent of the desktop scroll choreography. */
.work.is-native .work__pin { min-height: 0; padding-top: 90px; }
.work.is-native .work__head { display: block; margin-bottom: 20px; }
.work.is-native .work__head .sec-title { margin-top: 16px; }
.work.is-native .work__count, .work.is-native .work__progress, .work.is-native .proj--end { display: none; }
.work.is-native .work__controls { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 12px; width: 100%; margin-bottom: 20px; }
.work.is-native .work__viewport { --work-card-width: min(78cqw, 360px); container-type: inline-size; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; overscroll-behavior-y: auto; scrollbar-width: none; }
.work.is-native .work__viewport::-webkit-scrollbar { display: none; }
.work.is-native .work__track { padding-block: 3px; padding-inline-end: max(var(--pad), calc(100cqw - var(--pad) - var(--work-card-width))); will-change: auto; }
.work.is-native .proj { width: var(--work-card-width); scroll-snap-align: start; }
.work.is-native .proj__meta { grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 5px; padding-top: 16px; }
.work.is-native .proj__i { grid-row: 1; }
.work.is-native .proj__meta h3 { grid-column: 2; }
.work.is-native .proj__meta p { grid-row: 2; margin-top: 0; }
.work.is-native .proj__tag { grid-row: 3; grid-column: 2; justify-self: start; margin-top: 3px; }
.work.is-native .proj > a:hover .proj__art { border-radius: 18px; transform: none; }
.work.is-native .proj > a:hover .proj__art svg { transform: none; }
.work.is-native .work__browse { display: block; width: 100%; margin-top: 20px; }
.work.is-dragging .work__viewport { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.work.is-dragging .proj > a { cursor: grabbing; }
@media (hover: hover) and (pointer: fine) {
  .work.is-native:not(.is-dragging) .work__viewport { cursor: grab; }
}
@media (max-height: 500px) {
  .work.is-native .work__viewport { --work-card-width: min(78cqw, 260px); }
}
/* card width also bounded by viewport height so the whole card + caption fits the pinned frame */
.proj { flex: none; width: clamp(240px, min(25vw, calc((100vh - 440px) * .8)), 440px); }
.proj > a { display: block; text-decoration: none; color: inherit; }
.proj__art { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; transition: border-radius .8s var(--ease), transform .8s var(--ease); }
.proj__art svg { width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.proj > a:hover .proj__art { border-radius: 44px; transform: scale(.97); }
.proj > a:hover .proj__art svg { transform: scale(1.08); }
.proj__meta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 14px; padding-top: 18px; }
.proj__i { grid-row: span 2; font-size: 12px; color: var(--mute); padding-top: 7px; }
.proj__meta h3 { font-size: clamp(20px, 1.6vw, 28px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.proj__meta p { grid-column: 2; margin: 4px 0 0; font-size: 15px; color: var(--mute); }
.proj__tag { grid-row: 1; grid-column: 3; align-self: start; font-size: 11px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.proj--end > a {
  aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: 30px; border-radius: 18px; border: 1px solid var(--line);
  transition: background-color .5s, color .5s;
}
.proj--end > a:hover { background: var(--signal); color: var(--ink); }
.proj__end-big { font: 900 clamp(64px, 7vw, 120px)/.8 var(--f-sans); letter-spacing: -.06em; direction: ltr; text-align: right; }
.proj__end-txt { font-size: 18px; font-weight: 600; }
.work__progress { position: relative; height: 2px; margin: clamp(24px, 3vw, 40px) var(--pad) 0; background: var(--line); }
.work__progress i { position: absolute; inset: 0; background: var(--signal); transform-origin: right; transform: scaleX(0); }

/* project art */
.art svg * { transform-box: fill-box; transform-origin: center; }
.art--steel { background: radial-gradient(120% 90% at 30% 20%, #2B2B2E, #111113); }
.art--steel .sheen { animation: sheen 3.6s var(--ease-io) infinite; transform-box: view-box; }
@keyframes sheen { 0% { transform: skewX(-18deg) translateX(0); } 70%, 100% { transform: skewX(-18deg) translateX(720px); } }
.art .dim line { stroke: var(--signal); stroke-width: 1.5; }
.art .dim text { fill: var(--signal); font: 500 13px var(--f-mono); text-anchor: middle; letter-spacing: .08em; }

.art--energy { background: radial-gradient(90% 70% at 50% 45%, #3A1606, #0C0706 70%); }
.art--energy .pulse circle { fill: none; stroke: var(--signal); stroke-width: 1.5; animation: pulse 3.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.art--energy .pulse circle:nth-child(2) { animation-delay: 1.2s; } .art--energy .pulse circle:nth-child(3) { animation-delay: 2.4s; }
@keyframes pulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
.art--energy .sun { fill: var(--signal); filter: drop-shadow(0 0 30px rgba(255, 90, 31, .9)); }
.art--energy .wave { fill: none; stroke: rgba(238, 234, 226, .35); stroke-width: 1.5; animation: wave 4s linear infinite; transform-box: view-box; }
.art--energy .wave--2 { stroke: rgba(255, 90, 31, .5); animation-duration: 6s; }
@keyframes wave { to { transform: translateX(-200px); } }

.art--pmo { background: var(--paper); }
.art--pmo .grid line { stroke: rgba(10, 9, 8, .1); }
.art--pmo .gantt rect { fill: var(--ink); transform-origin: right; animation: gantt 5s var(--ease) infinite; }
.art--pmo .gantt rect.hot { fill: var(--signal); }
.art--pmo .gantt rect:nth-child(2) { animation-delay: .15s; } .art--pmo .gantt rect:nth-child(3) { animation-delay: .3s; }
.art--pmo .gantt rect:nth-child(4) { animation-delay: .45s; } .art--pmo .gantt rect:nth-child(5) { animation-delay: .6s; } .art--pmo .gantt rect:nth-child(6) { animation-delay: .75s; }
@keyframes gantt { 0% { transform: scaleX(0); } 30%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.art--pmo .today { stroke: var(--signal); stroke-width: 2; stroke-dasharray: 6 6; }

.art--arch { background: linear-gradient(180deg, #E4DCCD, #CFC4B1); }
.art--arch .arches path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 900; stroke-dashoffset: 0; }
.proj > a:hover .art--arch .arches path { animation: draw 1.6s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 900; } }
.art--arch .ground { stroke: var(--ink); stroke-width: 2; }
.art--arch .sunset { fill: var(--signal); animation: sunset 6s ease-in-out infinite alternate; }
@keyframes sunset { to { transform: translateY(46px); } }

.art--eng { background: #0E141B; color: rgba(238, 234, 226, .07); }
.art--eng .truss path { fill: none; stroke: var(--paper); stroke-width: 2.5; stroke-linejoin: round; }
.art--eng .nodes circle { fill: var(--signal); animation: blk 2.4s ease-in-out infinite; }
.art--eng .nodes circle:nth-child(2n) { animation-delay: 1.2s; }

.art--furn { background: #3A2A20; }
.art--furn .f1 { fill: #C4895A; animation: float 7s ease-in-out infinite alternate; }
.art--furn .f2 { fill: #E9D5BC; }
.art--furn .f3 { fill: #E9D5BC; }
.art--furn .f4 { fill: var(--signal); animation: float 4s ease-in-out infinite alternate-reverse; }
@keyframes float { to { transform: translate(-14px, 18px); } }

.art--build { background: var(--signal); }
.art--build .crane line { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.art--build .crane .cable { stroke-width: 2; transform-origin: top; animation: cable 3.2s ease-in-out infinite alternate; }
.art--build .blocks rect { fill: var(--ink); stroke: var(--signal); stroke-width: 3; }
.art--build .blocks rect.hot { fill: var(--paper); stroke: none; animation: lower 3.2s ease-in-out infinite alternate; }
@keyframes cable { to { transform: scaleY(1.9); } }
@keyframes lower { to { transform: translateY(62px); } }
.art--build .ground { stroke: var(--ink); stroke-width: 4; }

.art--med { background: radial-gradient(80% 60% at 50% 50%, #1B0C08, #0A0908); }
.art--med .mgrid line { stroke: rgba(238, 234, 226, .07); }
.art--med .ecg { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 100; animation: ecg 2.4s linear infinite; filter: drop-shadow(0 0 8px rgba(255, 90, 31, .8)); }
@keyframes ecg { from { stroke-dashoffset: 100; } to { stroke-dashoffset: -100; } }
.art--med .cross rect { fill: var(--paper); }

.art--light { background: #0A0908; }
.art--light .lamp line { stroke: rgba(238, 234, 226, .35); stroke-width: 1.5; }
.art--light .lamp path { fill: var(--paper); }
.art--light .glow { animation: glow 3s ease-in-out infinite alternate; mix-blend-mode: screen; }
.art--light .lamp--2 .glow { animation-delay: 1.3s; }
@keyframes glow { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1.04); } }
.art--light .loom { fill: rgba(238, 234, 226, .75); font: 500 16px var(--f-mono); letter-spacing: .6em; text-anchor: middle; }

/* ==========================================================================
   CLIENTS
   ========================================================================== */
.clients { padding: clamp(40px, 6vw, 100px) 0 clamp(90px, 10vw, 160px); }
.clients__marquee { display: flex; direction: ltr; overflow: hidden; margin-top: 26px; padding: 30px 0; border-block: 1px solid var(--line); }
.clients__row { gap: 48px; padding-right: 48px; font: 300 clamp(30px, 3.4vw, 60px)/1.1 var(--f-serif); white-space: nowrap; }
.clients__row span { transition: color .3s; }
.clients__row span:hover { color: var(--signal); }
.clients__row i { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); flex: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(120px, 14vw, 220px) 0 clamp(60px, 8vw, 120px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 130px); align-items: start; }
.faq__head { position: sticky; top: 130px; }
.faq__ask { margin-top: 44px; }
.faq__ask p { margin: 0 0 16px; font-size: 18px; color: var(--mute); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2vw, 30px) 0;
  font: 700 clamp(19px, 1.75vw, 29px)/1.25 var(--f-sans); letter-spacing: -.015em;
  transition: color .3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: #B33B0A; }
.faq__list summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: transform .6s var(--ease), background-color .3s, border-color .3s; }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; top: 50%; left: 12px; right: 12px; height: 1.5px; margin-top: -.75px; background: currentColor; }
.faq__list summary i::after { transform: rotate(90deg); }
.faq__list details[open] summary i { transform: rotate(135deg); background: var(--signal); border-color: var(--signal); color: var(--ink); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0; padding-bottom: 30px; max-width: 38em; font-size: clamp(16px, 1.3vw, 19px); color: color-mix(in srgb, var(--fg) 78%, transparent); }

/* ==========================================================================
   INSIGHTS
   ========================================================================== */
.insights { padding: clamp(40px, 6vw, 80px) 0 clamp(120px, 14vw, 220px); }
.insights__title { font-size: clamp(32px, 3.8vw, 66px); font-weight: 800; letter-spacing: -.03em; margin-top: 16px; }
.posts { list-style: none; margin: clamp(36px, 4vw, 60px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.posts a {
  position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 60px; align-items: center; gap: 24px;
  padding: clamp(24px, 2.4vw, 36px) 0; border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden;
}
.posts a::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.posts li { position: relative; isolation: isolate; }
.posts a:hover { color: var(--paper); }
.posts a:hover::before { transform: none; }
.posts time { font-size: 13px; color: var(--mute); padding-inline-start: 0; transition: padding .6s var(--ease), color .3s; }
.posts a:hover time { padding-inline-start: 20px; color: var(--signal); }
.posts h3 { font-size: clamp(20px, 2.1vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; transition: transform .6s var(--ease); }
.posts a:hover h3 { transform: translateX(-14px); }
.posts__arrow { justify-self: end; font-size: 28px; padding-inline-end: 0; transition: transform .6s var(--ease), padding .6s var(--ease); }
.posts a:hover .posts__arrow { transform: translateX(-10px); padding-inline-end: 20px; color: var(--signal); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: clamp(120px, 14vw, 220px) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 120px); align-items: end; }
.contact .eyebrow { color: color-mix(in srgb, var(--fg) 65%, transparent); }
.contact__title { font-size: clamp(54px, 8.2vw, 170px); line-height: .88; letter-spacing: -.045em; margin: 22px 0 clamp(40px, 5vw, 72px); }
.contact__info { display: flex; flex-wrap: wrap; gap: 26px 56px; margin: 0; }
.contact__info dt { font-size: 11.5px; letter-spacing: .08em; opacity: .65; margin-bottom: 6px; }
.contact__info dd { margin: 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; }
.contact__info a { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0% 1.5px; transition: background-size .5s var(--ease); }
.contact__info a:hover { background-size: 100% 1.5px; }

.form { display: grid; gap: 10px; }
.form__lead { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.field { position: relative; display: block; }
.field input {
  width: 100%; height: 66px; padding: 22px 0 6px; background: transparent; outline: 0;
  border: 0; border-bottom: 1.5px solid color-mix(in srgb, var(--fg) 30%, transparent); border-radius: 0;
  color: var(--fg); font: 500 20px var(--f-sans); transition: border-color .3s;
}
.field input:focus { border-color: var(--fg); }
.field span { position: absolute; inset-inline-start: 0; top: 26px; font-size: 18px; opacity: .6; pointer-events: none; transition: top .4s var(--ease), font-size .4s var(--ease), opacity .3s; }
.field input:focus + span, .field input:not(:placeholder-shown) + span { top: 2px; font-size: 12px; opacity: .8; }
.field.is-invalid input { border-color: #7A1C00; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.form__submit {
  justify-self: start; margin-top: 26px;
  width: 156px; height: 156px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--paper); font: 700 19px var(--f-sans);
  transition: background-color .4s, color .4s;
}
.form__submit svg { width: 26px; height: 26px; transition: transform .6s var(--ease); }
.form__submit:hover { background: var(--paper); color: var(--ink); }
.form__submit:hover svg { transform: translateX(-6px) rotate(-45deg); }
.form__status { margin: 8px 0 0; min-height: 1.4em; font-weight: 700; }
.form.is-sent .field, .form.is-sent .check, .form.is-sent .form__submit, .form.is-sent .form__lead { opacity: .35; pointer-events: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ftr { position: relative; overflow: hidden; padding-top: clamp(80px, 9vw, 140px); }
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ftr__h { font-size: 11.5px; letter-spacing: .08em; color: var(--mute); margin: 0 0 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { text-decoration: none; transition: color .3s; }
.ftr a:hover { color: var(--signal); }
.ftr__time { font-size: clamp(26px, 2.4vw, 40px); margin: 0 0 18px; letter-spacing: -.02em; text-align: right; }
.ftr__top { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; font-size: 12px; transition: background-color .3s, color .3s; }
.ftr__top:hover { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.ftr__giant { margin-top: clamp(60px, 8vw, 120px); text-align: center; white-space: nowrap; line-height: .74; user-select: none; }
.ftr__giant span { display: inline-block; font: 900 24vw/.74 var(--f-sans); letter-spacing: -.07em; }
.ftr__giant .gl { display: inline-block; will-change: transform; }
.ftr__giant .gl:last-child { color: var(--signal); }
.ftr__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 26px; font-size: 11.5px; color: var(--mute); border-top: 1px solid var(--line); margin-top: 10px; }

/* ==========================================================================
   AI ASSISTANT
   ========================================================================== */
.ai-launch {
  position: fixed; left: 24px; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  height: 62px; padding: 0 10px; padding-inline-end: 18px;
  border-radius: 999px; cursor: pointer;
  background: rgba(20, 18, 16, .78); color: var(--paper);
  border: 1px solid rgba(238, 234, 226, .14);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), 0 0 0 0 rgba(255, 90, 31, 0);
  transition: transform .6s var(--ease), opacity .4s, box-shadow .4s, border-color .4s;
}
.ai-launch:hover { border-color: rgba(255, 90, 31, .6); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), 0 0 50px -10px rgba(255, 90, 31, .55); transform: translateY(-2px); }
.ai-launch[aria-expanded="true"] { visibility: hidden; opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none; }
.ai-launch.is-away { visibility: hidden; opacity: 0; transform: translateY(30px) scale(.92); pointer-events: none; }
.ai-launch__txt { display: flex; flex-direction: column; text-align: start; line-height: 1.15; }
.ai-launch__txt b { font-size: 15px; font-weight: 700; }
.ai-launch__txt small { font-size: 12px; color: rgba(238, 234, 226, .55); }
.ai-launch__kbd { font-size: 10.5px; padding: 5px 7px; border-radius: 6px; border: 1px solid rgba(238, 234, 226, .15); color: rgba(238, 234, 226, .5); }

.ai-nudge {
  position: fixed; left: 24px; bottom: 100px; z-index: 60;
  display: flex; align-items: flex-start; max-width: 300px;
  border-radius: 20px 20px 20px 6px; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
  animation: nudgeIn .7s var(--ease) both;
}
.ai-nudge[hidden] { display: none; }
@keyframes nudgeIn { from { opacity: 0; transform: translateY(16px) scale(.94); } }
.ai-nudge__body { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.ai-nudge__body b { font-size: 15px; line-height: 1.3; }
.ai-nudge__body span { font-size: 13px; color: #B33B0A; font-weight: 600; }
.ai-nudge__x { background: none; border: 0; cursor: pointer; font-size: 20px; line-height: 1; padding: 10px 12px 0 0; opacity: .5; }

.ai {
  position: fixed; left: 24px; bottom: 24px; z-index: 70;
  width: min(430px, calc(100vw - 48px)); height: min(700px, calc(100svh - 48px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; color: var(--paper);
  background: rgba(15, 13, 12, .9);
  border: 1px solid rgba(238, 234, 226, .12);
  backdrop-filter: blur(28px) saturate(170%); -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .85), 0 0 120px -50px rgba(255, 90, 31, .6);
  transform-origin: 0% 100%;
  font-size: 15px;
}
.ai[hidden] { display: none; }
.ai.is-open { animation: aiIn .6s var(--ease) both; }
.ai.is-closing { animation: aiOut .28s ease-in both; }
@keyframes aiIn { from { opacity: 0; transform: translateY(20px) scale(.9); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes aiOut { to { opacity: 0; transform: translateY(14px) scale(.95); } }
.ai::before { content: ""; position: absolute; inset: 0 0 auto; height: 180px; pointer-events: none; background: radial-gradient(70% 100% at 80% 0%, rgba(255, 90, 31, .16), transparent 70%); }

.ai__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 14px 14px 18px; padding-inline: 18px 12px; border-bottom: 1px solid rgba(238, 234, 226, .07); }
.ai__who { flex: 1; min-width: 0; }
.ai__who h2 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.ai__status { display: flex; align-items: center; gap: 7px; margin: 2px 0 0; font-size: 12px; color: rgba(238, 234, 226, .55); }
.ai__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.ai.is-busy .ai__status i { background: var(--signal); box-shadow: 0 0 8px var(--signal); animation: blink .8s steps(1) infinite; }
.ai__icon { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: rgba(238, 234, 226, .6); cursor: pointer; display: grid; place-items: center; transition: background-color .25s, color .25s; }
.ai__icon:hover { background: rgba(255, 255, 255, .07); color: var(--paper); }
.ai__icon svg { width: 18px; height: 18px; }

.ai__body { position: relative; flex: 1; overflow-y: auto; padding: 22px 18px 18px; scrollbar-width: thin; scrollbar-color: rgba(238, 234, 226, .15) transparent; }
.ai__body { min-height: 0; overscroll-behavior: contain; }
.ai__head, .ai__composer, .ai__foot { flex-shrink: 0; }
.ai__intro { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 6px 8px; }
.ai__intro h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 18px 0 8px; }
.ai__intro p { margin: 0 0 22px; color: rgba(238, 234, 226, .6); font-size: 14.5px; max-width: 30em; }
.ai__intro.is-compact { display: none; }
.ai__starters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.ai__starters button {
  display: flex; flex-direction: column; gap: 3px; text-align: start; cursor: pointer;
  padding: 13px 14px; border-radius: 16px; border: 1px solid rgba(238, 234, 226, .1);
  background: rgba(255, 255, 255, .03); transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
.ai__starters button:hover { border-color: rgba(255, 90, 31, .55); background: rgba(255, 90, 31, .07); transform: translateY(-2px); }
.ai__starters b { font-size: 14px; }
.ai__starters span { font-size: 12.5px; color: rgba(238, 234, 226, .5); }

.ai__log { display: flex; flex-direction: column; gap: 20px; }
.msg { display: flex; gap: 11px; animation: msgIn .45s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg--user { align-self: flex-end; max-width: 86%; }
.msg--user .bubble { padding: 10px 15px; border-radius: 20px 20px 20px 6px; background: #2B2724; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg--ai .orb { margin-top: 1px; }
.msg__content { flex: 1; min-width: 0; line-height: 1.68; overflow-wrap: anywhere; }
.msg__content p { margin: 0 0 10px; }
.msg__content > :last-child { margin-bottom: 0; }
.msg__content ul { margin: 4px 0 10px; padding-inline-start: 18px; }
.msg__content li { margin: 3px 0; }
.msg__content li::marker { color: var(--signal); }
.msg__content strong { color: #fff; font-weight: 700; }
.msg__content a { color: var(--signal-hot); }
.msg__content.is-streaming .tk { display: none; }
.msg__content.is-streaming .tk.on { display: inline; animation: tkIn .5s ease both; }
.msg__content.is-streaming p:not(:has(.tk.on)),
.msg__content.is-streaming li:not(:has(.tk.on)),
.msg__content.is-streaming ul:not(:has(.tk.on)) { display: none; }
.caret-dot {
  display: inline-block; width: 8px; height: 8px; margin-inline-start: 6px; border-radius: 50%;
  background: var(--signal); vertical-align: middle; animation: blink .7s steps(1) infinite;
}
@keyframes tkIn { from { opacity: 0; } }
.msg__error { color: #FF9A62; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip {
  padding: 7px 13px; border-radius: 999px; cursor: pointer; font-size: 13px; line-height: 1.3;
  color: #FFC3A2; background: rgba(255, 90, 31, .08); border: 1px solid rgba(255, 90, 31, .35);
  animation: msgIn .45s var(--ease) both; transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.srcs a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 8px; font-size: 11.5px; text-decoration: none; color: rgba(238, 234, 226, .7); background: rgba(255, 255, 255, .05); border: 1px solid rgba(238, 234, 226, .08); transition: border-color .25s, color .25s; }
.srcs a::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--signal); mask: radial-gradient(circle, #000 38%, transparent 40%); -webkit-mask: radial-gradient(circle, #000 38%, transparent 40%); }
.srcs a:hover { border-color: rgba(255, 90, 31, .5); color: var(--paper); }

.think { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.think__label {
  font-size: 14px; font-weight: 600; width: max-content;
  background: linear-gradient(90deg, rgba(238, 234, 226, .3) 0%, #fff 50%, rgba(238, 234, 226, .3) 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.think__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.think__steps li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(238, 234, 226, .6); animation: msgIn .4s var(--ease) both; }
.think__steps li::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 90, 31, .25); border-top-color: var(--signal); animation: spin .8s linear infinite; }
.think__steps li.is-done { color: rgba(238, 234, 226, .85); }
.think__steps li.is-done::before { animation: none; border: 0; background: var(--signal); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat; }

.card { margin-top: 14px; padding: 16px; border-radius: 20px; border: 1px solid rgba(238, 234, 226, .1); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); animation: msgIn .5s var(--ease) both; }
.ca__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .1em; color: rgba(238, 234, 226, .5); }
.ca__domain { font: 500 12px var(--f-mono); color: var(--paper); letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca__main { display: flex; align-items: center; gap: 18px; margin: 14px 0 16px; }
.ca__ringwrap { position: relative; width: 100px; height: 100px; flex: none; }
.ca__ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ca__ring circle { fill: none; stroke-width: 8; }
.ca__ring .bg { stroke: rgba(255, 255, 255, .07); }
.ca__ring .fg { stroke: var(--signal); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease); filter: drop-shadow(0 0 6px rgba(255, 90, 31, .6)); }
.ca__score { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; direction: ltr; }
.ca__score b { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.ca__score span { font-size: 11px; color: rgba(238, 234, 226, .45); margin-top: 3px; }
.ca__grade { display: flex; flex-direction: column; gap: 6px; }
.ca__grade b { font-size: 17px; }
.ca__grade span { font-size: 12.5px; color: rgba(238, 234, 226, .55); line-height: 1.45; }
.ca__pill { align-self: flex-start; font: 600 11px var(--f-mono); padding: 4px 9px; border-radius: 999px; background: rgba(255, 90, 31, .14); color: #FFB590; }
.ca__sec { margin: 14px 0 8px; font-size: 10.5px; letter-spacing: .1em; color: rgba(238, 234, 226, .45); }
.ca__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ca__bars li { display: grid; grid-template-columns: 132px minmax(0, 1fr) 26px; align-items: center; gap: 10px; font-size: 12.5px; }
.ca__bars li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(238, 234, 226, .75); }
.ca__bars i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.ca__bars em { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: inherit; background: linear-gradient(270deg, #FF9A62, #FF5A1F); transform-origin: right; transform: scaleX(0); transition: transform 1.3s var(--ease); }
.card.is-in .ca__bars em { transform: none; }
.ca__bars b { font: 500 12px var(--f-mono); text-align: left; }
.ca__note { margin: 14px 0 0; font-size: 10.5px; color: rgba(238, 234, 226, .38); }

.card-lead { display: grid; gap: 8px; }
.card-lead p { margin: 0 0 4px; font-weight: 700; }
.card-lead input {
  height: 46px; padding: 0 14px; border-radius: 12px; outline: 0;
  border: 1px solid rgba(238, 234, 226, .12); background: rgba(0, 0, 0, .25); color: var(--paper); font: 400 15px var(--f-sans);
  transition: border-color .25s;
}
.card-lead input:focus { border-color: var(--signal); }
.card-lead button { height: 46px; border-radius: 12px; border: 0; cursor: pointer; background: var(--signal); color: var(--ink); font-weight: 700; font-size: 15px; transition: background-color .25s; }
.card-lead button:hover { background: var(--paper); }
.card-lead small { font-size: 11px; color: rgba(238, 234, 226, .4); }
.card-lead.is-done { display: flex; align-items: center; gap: 12px; }
.card-lead__ok { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--signal); color: var(--ink); display: grid; place-items: center; font-weight: 800; }

.ai__composer {
  position: relative; display: flex; align-items: flex-end; gap: 10px;
  margin: 0 14px; padding: 7px; padding-inline-start: 16px;
  border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(238, 234, 226, .12);
  transition: border-color .3s, box-shadow .3s;
}
.ai__composer:focus-within { border-color: rgba(255, 90, 31, .7); box-shadow: 0 0 0 4px rgba(255, 90, 31, .1); }
.ai__composer textarea {
  flex: 1; min-width: 0; resize: none; max-height: 140px; padding: 9px 0; border: 0; outline: 0; background: none;
  color: var(--paper); font: 400 15px/1.5 var(--f-sans);
}
.ai__composer textarea::placeholder { color: rgba(238, 234, 226, .4); }
.ai__send { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; cursor: pointer; background: var(--signal); color: var(--ink); display: grid; place-items: center; transition: opacity .25s, transform .4s var(--ease), background-color .25s; }
.ai__send:hover { transform: scale(1.06); }
.ai__send:disabled { opacity: .3; cursor: default; transform: none; }
.ai__send svg { width: 19px; height: 19px; }
.ai__send .i-stop { display: none; }
.ai.is-busy .ai__send { background: var(--paper); opacity: 1; cursor: pointer; }
.ai.is-busy .ai__send .i-send { display: none; }
.ai.is-busy .ai__send .i-stop { display: block; }
.ai__foot { margin: 0; padding: 10px 16px 13px; text-align: center; font-size: 10.5px; color: rgba(238, 234, 226, .32); letter-spacing: .03em; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .engine__pin { grid-template-columns: 1fr; min-height: 0; padding-top: 120px; }
  .method__grid, .faq__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .method__head, .faq__head { position: static; }
  .hero__bottom { grid-template-columns: minmax(0, 1fr); }
  .svc__tags { display: none; }
  .svc__row { grid-template-columns: 60px minmax(0, 1fr) 52px; }
  .svc__inner { padding-inline-start: 84px; }
  .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --hdr-h: 72px; }
  .hdr__nav { display: none; }
  .hdr__cta { margin-inline-start: auto; }
  .hdr__burger { display: grid; }
  .work__pin { min-height: 0; padding-top: 90px; }
  .work__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .work__viewport::-webkit-scrollbar { display: none; }
  .work__track { width: max-content; }
  .proj { scroll-snap-align: start; width: min(78vw, 360px); }
  .work__progress { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .hdr__cta { display: none; }
  .hdr__burger { margin-inline-start: auto; }
  .hero__meta-mid { display: none; }
  .hero__line--offset { padding-inline-start: 0; flex-direction: column; align-items: flex-start; gap: .1em; }
  .engine-pill { font-size: .28em; transform: none; }
  .askbar { height: 64px; }
  .askbar__orb { --s: 38px; }
  .askbar__ph, .askbar input { font-size: 16px; }
  .askbar__ph { inset-inline-start: 62px; inset-inline-end: 66px; }
  .askbar__send { width: 46px; height: 46px; }
  .hero__scroll { display: none; }
  .hero .btn { height: 54px; padding: 0 22px; font-size: 15px; }
  .answer { min-height: 0; }
  .answer__search, .answer__a { padding-inline: 20px; }
  .answer__label .orb { margin-inline-start: 0; }
  .answer__tabs button { padding: 8px 8px; font-size: 10.5px; }
  .answer__dots { display: none; }
  .svc__row { grid-template-columns: 36px minmax(0, 1fr) 44px; gap: 14px; }
  .svc__plus { width: 44px; height: 44px; }
  .svc__plus::before, .svc__plus::after { left: 14px; right: 14px; }
  .svc__inner { padding-inline-start: 50px; }
  .stack__in { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: 1fr; }
  .num:nth-child(odd) { border-inline-end: 0; padding-inline-end: 0; }
  .num:nth-child(even) { padding-inline-start: 0; }
  .posts a { grid-template-columns: 1fr 32px; gap: 8px 16px; }
  .posts time { grid-column: 1 / -1; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .ftr__clock { grid-column: 1 / -1; }
  .ftr__time { text-align: right; }
  .ai-launch { left: 16px; bottom: 16px; height: 56px; }
  .ai-launch__txt small, .ai-launch__kbd { display: none; }
  .ai-nudge { left: 16px; bottom: 84px; max-width: calc(100vw - 32px); }
  .ai { inset: 0; left: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .ai__composer { margin-bottom: 0; }
  .ai__foot { padding-bottom: max(13px, env(safe-area-inset-bottom)); }
}

/* Keep controls legible and usable in every theme. */
.engine__steps li { opacity: .68; }
.engine__steps li span { opacity: .85; }
.answer__tabs button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #AFA9A2; }
.answer__note, .ai__foot, .ca__note, .ca__sec, .ca__head,
.ca__score span, .stack__tag, .card-lead small { color: #AFA9A2; }
.ai__icon { width: 44px; height: 44px; flex: none; }
.ai__send { width: 44px; height: 44px; }
.ai-nudge__x { min-width: 44px; min-height: 44px; padding: 0; opacity: .8; }
.ai-launch { bottom: max(24px, env(safe-area-inset-bottom)); }
.contact__info dt, .field span { opacity: .8; }
.contact .eyebrow, .numbers .eyebrow { color: color-mix(in srgb, var(--fg) 80%, transparent); }
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ai__composer textarea, .card-lead input { font-size: 16px; }
.ca__bars li { grid-template-columns: minmax(70px, 1.25fr) minmax(24px, 1fr) 26px; gap: 8px; }
.ca__main, .ca__head { flex-wrap: wrap; }
.ca__grade { flex: 1; min-width: 110px; }
.card-lead input { width: 100%; min-width: 0; }
.card-lead__status, .msg__stopped { color: var(--signal-hot); font-size: 13px; line-height: 1.5; }
.card-lead__status:empty { display: none; }
.ftr { padding-bottom: 100px; }
.ftr a { display: inline-block; padding-block: 5px; }

/* Native horizontal browsing is the fallback when a pinned gallery cannot fit. */
.no-motion .work__pin { min-height: 0; }
.no-motion .work__viewport { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.no-motion .proj { scroll-snap-align: start; }
.no-motion .work__progress { display: none; }
.no-motion .stack__card { position: static; }

@media (max-height: 749px) {
  .engine__pin { min-height: 0; }
}
@media (max-height: 699px) {
  .work__pin { min-height: 0; }
  .work__viewport { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
  .proj { scroll-snap-align: start; }
  .work__progress { display: none; }
}
@media (max-width: 700px), (max-height: 700px) {
  .stack__card, .method__head, .faq__head { position: static; }
  .menu { padding-top: calc(var(--hdr-h) + 12px); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .menu__nav a { font-size: clamp(36px, min(11vw, 12svh), 88px); line-height: 1.15; padding-block: 10px; }
}
@media (max-width: 700px) {
  .hero__line--xl { font-size: clamp(60px, 21vw, 118px); }
  .hero__title { line-height: .92; }
  .hero__bottom { row-gap: 28px; }
  .hero__copy p { overflow-wrap: break-word; }
  .answer__bar { padding: 12px; }
  .answer__tabs { width: 100%; padding: 3px; gap: 2px; }
  .answer__tabs button { flex: 1; padding-inline: 4px; }
  .answer__q { padding-inline: 20px; }
  .stack__in { min-height: 0; gap: 24px; }
  .svc__row:hover .svc__name { transform: none; }
  .ai-launch { bottom: max(16px, env(safe-area-inset-bottom)); }
  .ai-launch { width: 56px; justify-content: center; padding: 0; }
  .ai-launch__txt { display: none; }
  .ai__head { padding-top: max(12px, env(safe-area-inset-top)); }
  .ai__composer { margin-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right)); }
  .contact__info a { overflow-wrap: anywhere; }
}
@media (max-width: 900px), (pointer: coarse) {
  .has-cursor .cursor, .has-cursor .svc-float { display: none; }
}
@media (max-width: 359px) {
  .hero__meta { font-size: 10px; gap: 12px; }
  .hero .btn { max-width: 100%; padding-inline: 16px; gap: 10px; font-size: 14px; }
  .hero .btn__icon { margin-inline-end: -8px; }
  .svc__row { grid-template-columns: 24px minmax(0, 1fr) 40px; gap: 10px; }
  .svc__name { font-size: 28px; }
  .svc__plus { width: 40px; height: 40px; }
  .svc__plus::before, .svc__plus::after { left: 12px; right: 12px; }
  .svc__inner { padding-inline-start: 34px; }
  .sec-title { font-size: 42px; }
  .manifesto__head { font-size: 50px; }
  .contact__title { font-size: 46px; }
  .ai__head { gap: 8px; padding-inline: 12px; }
  .ai__body { padding-inline: 12px; }
  .ai__starters { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  body::after { display: none; }
}

/* Independent concept disclosure: normal flow preserves navigation layers. */
.concept-note { max-width: 600px; margin-block-end: 22px; padding: 12px 16px; border-inline-start: 2px solid var(--signal); color: var(--paper); font: 400 14px/1.55 var(--f-sans); text-align: left; }
.concept-note strong, .concept-note span { display: block; }
.concept-note strong { color: var(--signal); font-weight: 600; }
.concept-note span { opacity: .72; }
@media (max-width: 700px) { .concept-note { font-size: 12px; padding: 8px 10px; margin-block-end: 18px; } }
