/* =========================================================
   Bloon Developments
   White, bold, Swiss-editorial. Blue / red / green shapes.
   ========================================================= */

:root {
  --blue: #245bff;
  --blue-deep: #1640c9;
  --blue-soft: #e8eeff;
  --red: #f04438;
  --red-text: #d92d20;
  --red-soft: #fdeceA;
  --green: #36b879;
  --green-text: #1d8350;
  --green-soft: #e4f5ec;
  --ink: #141414;
  --ink-2: #2b2b2b;
  --muted: #5f5f5b;
  --line: #e3e3de;
  --line-2: #cfcfc8;
  --paper: #f5f5f0;
  --white: #ffffff;

  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Black", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;

  --gutter: clamp(20px, 5vw, 80px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body {
  margin: 0;
  position: relative;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: var(--blue); }
em.red { color: var(--red-text); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 16px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 28px;
  font: 600 11px/1.4 var(--mono);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink);
}
.eyebrow .num { color: var(--blue); }
.eyebrow .num::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; }

.section { position: relative; padding: clamp(80px, 11vw, 160px) var(--gutter); }
.display {
  font-size: clamp(44px, 7.2vw, 124px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.055em;
}
.section-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 8%; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-intro { max-width: 420px; color: var(--muted); font-size: 17px; margin: 0 0 .4em; }
.lead-sm { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); letter-spacing: -.01em; }

.text-link {
  display: inline-flex; gap: 8px; align-items: center;
  margin-top: 6px; padding-bottom: 4px;
  font-size: 14px; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .4s var(--ease), color .2s;
}
.text-link:hover { color: var(--blue); background-size: 30% 1.5px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 36px;
  padding: 18px 22px 18px 24px;
  border: 0; border-radius: 0;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn-arrow { font-size: 20px; line-height: 1; transition: transform .35s var(--spring); }
.btn:hover .btn-arrow { transform: rotate(-45deg); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue::before { background: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink::before { background: var(--red); }
.btn:active { transform: scale(.97); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.hidden { transform: translateY(-100%); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }

.brand { position: relative; display: inline-block; line-height: .9; }
.brand-word { font: 900 32px/1 var(--display); letter-spacing: -.07em; }
.brand-dot { display: inline-block; width: 9px; height: 9px; margin-left: 3px; border-radius: 50%; background: var(--blue); transition: transform .5s var(--spring), background .3s; }
.brand:hover .brand-dot { transform: translateY(-14px); background: var(--red); }
.brand small { display: block; margin-top: 5px; font: 700 7.5px/1 var(--mono); letter-spacing: .32em; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 8px 0; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:not(.nav-cta):hover::after, .nav a.current::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 16px !important; background: var(--ink); color: #fff; font-weight: 700; transition: background .25s; }
.nav-cta:hover { background: var(--blue); }

.menu-btn { display: none; align-items: center; gap: 10px; padding: 10px 0 10px 12px; background: none; border: 0; font-size: 14px; font-weight: 700; cursor: pointer; }
.menu-icon { display: grid; gap: 5px; width: 22px; }
.menu-icon i { display: block; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- travelling dot ---------- */
.dot {
  --dot-c: var(--blue);
  position: relative;
  display: inline-block;
  width: .26em; height: .26em;
  margin-left: .06em;
  vertical-align: baseline;
  background: var(--dot-c);
  border-radius: 50%;
}
.dot[data-shape="square"] { border-radius: 6%; }
.dot[data-color="red"] { --dot-c: var(--red); }
.dot[data-color="green"] { --dot-c: var(--green); }
html.motion .dot { background: transparent; box-shadow: inset 0 0 0 max(2px, .022em) color-mix(in srgb, var(--dot-c) 45%, transparent); transition: box-shadow .3s; }
html.motion .dot.docked { box-shadow: none; }

.traveler { display: none; }
html.motion .traveler {
  display: block;
  position: absolute; top: 0; left: 0; z-index: 40;
  width: 100px; height: 100px;
  pointer-events: none;
  will-change: transform;
  transform-origin: 50% 50%;
}
.traveler-intro, .traveler-body { width: 100%; height: 100%; }
.traveler-body { background: var(--blue); border-radius: 50%; will-change: transform, border-radius; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) var(--gutter) clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 28vw);
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "eyebrow eyebrow" "title poster" "bottom bottom";
  column-gap: 4vw;
  overflow: clip;
}
.hero-grid { position: absolute; inset: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; z-index: -1; }
.hero-grid i { border-left: 1px solid var(--line); transform-origin: top; }
.hero-grid i:last-child { border-right: 1px solid var(--line); }
.hero-eyebrow { grid-area: eyebrow; margin: 0; color: var(--muted); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

.hero-title {
  grid-area: title; align-self: center;
  margin: clamp(28px, 4vw, 48px) 0;
  font-size: clamp(56px, 10.4vw, 190px);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.065em;
  position: relative; z-index: 2;
}
.hero-title .line { display: block; position: relative; white-space: nowrap; }
.hero-title .word { display: inline-block; }
.word-useful { color: var(--blue); }
.hero-title .ch { display: inline-block; will-change: transform; }
.hero-title .ch-i { display: inline-block; }
.hero-title .dot { width: .24em; height: .24em; }
.sweeper { display: none; }

/* Swiss poster */
.poster { grid-area: poster; align-self: center; position: relative; width: 100%; aspect-ratio: 4 / 5; z-index: 1; }
.poster-cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr); border: 1px solid var(--ink); }
.poster-cells i { border-right: 1px solid rgba(20,20,20,.18); border-bottom: 1px solid rgba(20,20,20,.18); }
.poster-cells i:nth-child(4n) { border-right: 0; }
.poster-cells i:nth-last-child(-n+4) { border-bottom: 0; }
.blk {
  --x: 0; --y: 0; --w: 1; --h: 1;
  position: absolute;
  left: calc(var(--x) * 25%); top: calc(var(--y) * 20%);
  width: calc(var(--w) * 25%); height: calc(var(--h) * 20%);
  mix-blend-mode: multiply;
}
.blk-a { background: var(--red); --x: 1; --y: 0; --w: 2; --h: 2; }
.blk-b { background: var(--blue); --x: 0; --y: 1; --w: 1; --h: 3; }
.blk-c { background: var(--ink); --x: 2; --y: 2; --w: 2; --h: 1; mix-blend-mode: normal; }
.blk-d { background: var(--green); --x: 3; --y: 0; --w: 1; --h: 1; border-radius: 50%; }
.blk-e { background: var(--red); --x: 1; --y: 3; --w: 1; --h: 2; }
.blk-f { background: var(--blue); --x: 2; --y: 3; --w: 2; --h: 2; border-radius: 100% 0 0 0; }
.poster[data-layout="1"] .blk-a { --x: 0; --y: 0; --w: 2; --h: 1; }
.poster[data-layout="1"] .blk-b { --x: 2; --y: 0; --w: 1; --h: 3; }
.poster[data-layout="1"] .blk-c { --x: 0; --y: 3; --w: 3; --h: 1; }
.poster[data-layout="1"] .blk-d { --x: 0; --y: 1; --w: 2; --h: 2; }
.poster[data-layout="1"] .blk-e { --x: 3; --y: 2; --w: 1; --h: 3; }
.poster[data-layout="1"] .blk-f { --x: 1; --y: 4; --w: 2; --h: 1; border-radius: 0 0 0 0; }
.poster[data-layout="2"] .blk-a { --x: 2; --y: 1; --w: 2; --h: 3; }
.poster[data-layout="2"] .blk-b { --x: 0; --y: 0; --w: 3; --h: 1; }
.poster[data-layout="2"] .blk-c { --x: 0; --y: 4; --w: 4; --h: 1; }
.poster[data-layout="2"] .blk-d { --x: 0; --y: 2; --w: 1; --h: 1; }
.poster[data-layout="2"] .blk-e { --x: 1; --y: 1; --w: 1; --h: 3; }
.poster[data-layout="2"] .blk-f { --x: 3; --y: 0; --w: 1; --h: 1; border-radius: 0 0 0 100%; }
.poster[data-layout="3"] .blk-a { --x: 0; --y: 2; --w: 4; --h: 1; }
.poster[data-layout="3"] .blk-b { --x: 1; --y: 0; --w: 1; --h: 5; }
.poster[data-layout="3"] .blk-c { --x: 3; --y: 0; --w: 1; --h: 2; }
.poster[data-layout="3"] .blk-d { --x: 2; --y: 3; --w: 2; --h: 2; }
.poster[data-layout="3"] .blk-e { --x: 0; --y: 4; --w: 1; --h: 1; }
.poster[data-layout="3"] .blk-f { --x: 2; --y: 0; --w: 1; --h: 1; border-radius: 0 100% 0 0; }

.shuffle {
  grid-area: poster; align-self: end; justify-self: end;
  margin-bottom: -34px;
  padding: 6px 0; background: none; border: 0; cursor: pointer;
  font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.shuffle span { display: inline-block; font-size: 14px; transition: transform .5s var(--spring); }
.shuffle:hover { color: var(--blue); }
.shuffle:hover span { transform: rotate(180deg); }
html:not(.js) .shuffle { display: none; }

.hero-bottom { grid-area: bottom; display: grid; grid-template-columns: minmax(0, 1.3fr) auto auto; gap: 32px 5vw; align-items: end; padding-top: 28px; border-top: 1px solid var(--ink); position: relative; z-index: 2; }
.hero-copy { max-width: 620px; }
.lead { margin: 0 0 12px; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.38; font-weight: 500; letter-spacing: -.02em; }
.lead mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--blue) 24%, transparent) 62%); color: inherit; padding: 0 .08em; }
.lead mark.m-red { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--red) 26%, transparent) 62%); }
.hero-sub { margin: 0; color: var(--muted); font-size: 15px; }
.hero-ctas { display: grid; gap: 10px; min-width: 260px; }
.badge { position: relative; width: 112px; height: 112px; }
.badge svg { width: 100%; height: 100%; overflow: visible; animation: spin 18s linear infinite; }
.badge text { font: 700 10.4px var(--mono); letter-spacing: .14em; fill: var(--ink); }
.badge span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; color: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }

/* hero intro (motion only) */
html.motion .hero-title .line { clip-path: inset(-60% -20% -4% -20%); }
html.motion.intro-done .hero-title .line { clip-path: none; }
html.motion .hero-title .word { transform: translateY(110%); }
html.motion.intro .hero-title .word { animation: word-up 1s var(--ease) forwards; animation-delay: calc(var(--w) * 90ms + 150ms); }
@keyframes word-up { to { transform: none; } }
html.motion.intro-done .hero-title .word { transform: none; animation: none; }
html.motion .sweeper {
  display: block; position: absolute; left: 0; bottom: .06em;
  width: .2em; height: .2em; background: var(--red);
  opacity: 0; pointer-events: none;
}
html.motion .hero-grid i { transform: scaleY(0); }
html.motion.intro .hero-grid i { animation: grow-y 1.4s var(--ease) forwards; }
html.motion.intro .hero-grid i:nth-child(2) { animation-delay: .1s; }
html.motion.intro .hero-grid i:nth-child(3) { animation-delay: .2s; }
html.motion.intro .hero-grid i:nth-child(4) { animation-delay: .3s; }
@keyframes grow-y { to { transform: none; } }
html.motion .poster-cells { clip-path: inset(0 100% 0 0); }
html.motion.intro .poster-cells { animation: wipe 1s var(--ease) .3s forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
html.motion .blk { scale: 0; }
html.motion.intro .blk { animation: blk-in .9s var(--spring) forwards; }
html.motion.intro .blk-a { animation-delay: .7s; transform-origin: 50% 0; }
html.motion.intro .blk-b { animation-delay: .85s; transform-origin: 0 50%; }
html.motion.intro .blk-c { animation-delay: 1s; transform-origin: 100% 50%; }
html.motion.intro .blk-d { animation-delay: 1.15s; }
html.motion.intro .blk-e { animation-delay: 1.25s; transform-origin: 50% 100%; }
html.motion.intro .blk-f { animation-delay: 1.35s; transform-origin: 100% 100%; }
@keyframes blk-in { to { scale: 1; } }
html.motion.intro-done .blk { scale: 1; animation: none; }
html.motion .hero-eyebrow, html.motion .hero-bottom > *, html.motion .shuffle { opacity: 0; translate: 0 16px; }
html.motion.intro .hero-eyebrow, html.motion.intro .hero-bottom > *, html.motion.intro .shuffle { animation: fade-up .9s var(--ease) forwards; }
html.motion.intro .hero-eyebrow { animation-delay: .05s; }
html.motion.intro .hero-copy { animation-delay: .9s; }
html.motion.intro .hero-ctas { animation-delay: 1.05s; }
html.motion.intro .badge { animation-delay: 1.2s; }
html.motion.intro .shuffle { animation-delay: 1.8s; }
@keyframes fade-up { to { opacity: 1; translate: 0 0; } }
html.motion .hero-bottom { border-top-color: transparent; }
html.motion .hero-bottom::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
html.motion.intro .hero-bottom::before { animation: grow-x 1.2s var(--ease) .6s forwards; }
@keyframes grow-x { to { transform: none; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 22px 0; }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; will-change: transform; }
.marquee-track span { font: 900 clamp(26px, 3.6vw, 56px)/1 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.marquee-track i { flex: none; width: .5em; height: .5em; font-size: clamp(26px, 3.6vw, 56px); }
.s-circle { border-radius: 50%; background: var(--blue); }
.s-square { background: var(--red); transform: rotate(12deg); }
.s-tri { width: 0 !important; height: 0 !important; border-left: .3em solid transparent; border-right: .3em solid transparent; border-bottom: .52em solid var(--green); }
html:not(.motion) .marquee-track { flex-wrap: wrap; width: auto; padding: 0 var(--gutter); gap: 16px 28px; }
html:not(.motion) .marquee-track > :nth-child(n+11) { display: none; }

/* =========================================================
   SERVICES (short version)
   ========================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.svc { position: relative; padding: 36px clamp(20px, 2.6vw, 40px) 40px; border-right: 1px solid var(--line); transition: background .4s var(--ease); }
.svc:first-child { padding-left: 0; }
.svc:last-child { border-right: 0; padding-right: 0; }
.svc-num { position: absolute; top: 36px; right: clamp(20px, 2.6vw, 40px); font: 600 11px var(--mono); color: var(--muted); }
.svc:last-child .svc-num { right: 0; }
.svc h3 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.02; letter-spacing: -.045em; font-weight: 900; margin: 28px 0 18px; max-width: 12ch; }
.svc p { color: var(--muted); font-size: 16px; }
.svc .eg { padding: 14px 16px; background: var(--paper); color: var(--ink-2); font-size: 14.5px; border-left: 3px solid var(--blue); }
.svc:nth-child(2) .eg { border-left-color: var(--red); }
.svc:nth-child(3) .eg { border-left-color: var(--green); }
.svc-shape { width: 64px; height: 64px; position: relative; }
.svc-shape i { position: absolute; inset: 0; transition: transform .7s var(--spring), border-radius .5s var(--ease); }
.s-blue-circle i { background: var(--blue); border-radius: 50%; }
.s-red-square i { background: var(--red); }
.s-green-tri i { background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.svc:hover .s-blue-circle i { transform: translateY(-14px) scale(.9, 1.08); }
.svc:hover .s-red-square i { transform: rotate(90deg) scale(.86); border-radius: 18%; }
.svc:hover .s-green-tri i { transform: rotate(180deg) translateY(-6px); }

/* =========================================================
   SOUND FAMILIAR
   ========================================================= */
.familiar { background: var(--paper); }
.familiar-head { margin-bottom: clamp(40px, 5vw, 72px); }
.picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.picker-list { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.pick {
  position: relative; display: flex; align-items: center; gap: 18px;
  width: 100%; padding: 20px 52px 20px 0; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line-2);
  font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; letter-spacing: -.015em; line-height: 1.3;
  cursor: pointer; color: var(--muted);
  transition: color .3s, padding .45s var(--ease);
}
.pick::after { content: "→"; position: absolute; right: 8px; top: 50%; translate: -12px -50%; opacity: 0; color: var(--blue); font-size: 22px; transition: translate .4s var(--ease), opacity .3s; }
.pick-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid currentColor; border-radius: 50%; font: 700 12px var(--mono); transition: background .3s, color .3s, border-color .3s, border-radius .4s var(--ease); }
.pick:hover { color: var(--ink); }
.pick[aria-pressed="true"] { color: var(--ink); padding-left: 10px; }
.pick[aria-pressed="true"]::after { opacity: 1; translate: 0 -50%; }
.pick[aria-pressed="true"] .pick-n { background: var(--blue); border-color: var(--blue); color: #fff; border-radius: 6px; }

.picker-panels { position: relative; }
.panel { position: relative; overflow: hidden; padding: clamp(28px, 3.4vw, 48px); background: #fff; border: 1px solid var(--line); }
html.js .panel { display: none; }
html.js .panel.active { display: block; animation: panel-in .6s var(--ease); }
html:not(.js) .panel + .panel { margin-top: 16px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.panel-shape { position: absolute; right: -48px; top: -48px; width: 120px; height: 120px; background: var(--blue); border-radius: 50%; opacity: .95; }
.panel[data-tone="red"] .panel-shape { background: var(--red); border-radius: 0; transform: rotate(18deg); }
.panel[data-tone="green"] .panel-shape { background: var(--green); border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); right: -20px; top: -30px; }
html.motion .panel.active .panel-shape { animation: shape-pop .9s var(--spring); }
@keyframes shape-pop { from { transform: scale(0) rotate(-90deg); } }
.panel-kicker { padding-right: 70px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.panel h3 { max-width: 16ch; margin-bottom: 18px; font-size: clamp(28px, 2.8vw, 42px); font-weight: 900; line-height: 1.02; letter-spacing: -.045em; position: relative; }
.panel > p { max-width: 54ch; color: var(--ink-2); font-size: 17px; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 26px 0 22px; background: var(--line); border: 1px solid var(--line); }
.before-after > div { background: #fff; padding: 16px 18px; }
.before-after small { font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.before-after > div:last-child small { color: var(--green-text); }
.before-after p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; }
.before-after > div:first-child p { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--red) 55%, transparent); text-decoration-thickness: 1.5px; }
.nerd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; font: 500 13px/1.4 var(--mono); color: var(--ink-2); }
.nerd span { padding: 5px 9px; background: var(--ink); color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

/* =========================================================
   BUSYWORK MACHINE
   ========================================================= */
.machine { position: relative; background: #fff; }
.machine-sticky {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(80px, 9vw, 140px) var(--gutter);
}
.machine-title { font-size: clamp(32px, 3.6vw, 56px); font-weight: 900; line-height: 1; letter-spacing: -.05em; margin-bottom: clamp(24px, 3vw, 40px); max-width: 14ch; }
.steps { display: grid; gap: 4px; counter-reset: s; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); transition: opacity .4s var(--ease); }
.step-n { font: 700 12px/1.9 var(--mono); color: var(--blue); }
.step strong { display: block; font-size: 18px; letter-spacing: -.015em; line-height: 1.3; }
.step span:not(.step-n) { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 2px; }
.machine-note { margin-top: 18px; font: 500 11px var(--mono); color: var(--muted); }

html.motion .machine { height: 520vh; }
html.motion .machine-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: calc(var(--header-h) + 16px); padding-bottom: 24px; }
html.motion .step { opacity: .28; }
html.motion .step.done { opacity: .55; }
html.motion .step.active { opacity: 1; }
html.motion .step.active .step-n { color: var(--red); }
html.motion .step span:not(.step-n) { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
html.motion .step.active span:not(.step-n) { max-height: 4.5em; opacity: 1; }

.stage-wrap { display: grid; place-items: center; }
.stage {
  position: relative; width: min(100%, 76vh, 620px); aspect-ratio: 1 / 1.04;
  container-type: inline-size;
  font-size: 2.7cqw;
}
.m-email { position: absolute; left: 0; top: 1%; width: 55%; padding: 4cqw; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 1.6cqw 4cqw rgba(0,0,0,.06); }
.m-email-top { display: flex; align-items: center; gap: 2cqw; margin-bottom: 2.4cqw; font-size: 2.4cqw; }
.m-email-top small { margin-left: auto; color: var(--muted); font-family: var(--mono); }
.seal { width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: var(--blue); }
.m-email p { margin: 0; font-size: 2.85cqw; line-height: 1.45; color: var(--ink-2); }
.hl { --hl: 0; background: linear-gradient(color-mix(in srgb, var(--blue) 22%, transparent), color-mix(in srgb, var(--blue) 22%, transparent)) 0 85% / calc(var(--hl) * 100%) 40% no-repeat; }
.hl .hl { background-position: 0 85%; }

.m-brain { position: absolute; right: 6%; top: 3%; width: 25%; text-align: center; }
.m-brain-box { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--red); display: grid; place-items: center; color: #fff; font: 900 7cqw/1 var(--display); letter-spacing: -.05em; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 18%; background: linear-gradient(transparent, rgba(255,255,255,.55), transparent); opacity: 0; }
.m-brain small { display: block; margin-top: 1.4cqw; font: 600 2.2cqw var(--mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.m-out { position: absolute; left: 56%; top: 34%; width: 44%; height: 12%; display: grid; grid-template-columns: .75fr 1.25fr; }
.m-out .m-slot { display: block; }

.m-table { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid var(--ink); font-size: 2.55cqw; }
.m-row { display: grid; grid-template-columns: .75fr 1.3fr 1fr .8fr; border-bottom: 1px solid var(--line); }
.m-row > span { padding: 1.7cqw 1.4cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-head { font: 700 2cqw var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.m-row:not(.m-head):not(.m-new) { color: var(--muted); }
.m-new { position: relative; font-weight: 700; }
.m-new::before { content: ""; position: absolute; inset: 0; background: var(--green-soft); z-index: -1; transform-origin: left; }

.m-chip {
  position: absolute; left: 0; top: 0; display: none;
  padding: .9cqw 1.8cqw; white-space: nowrap;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 2.45cqw;
  border-radius: 99px; will-change: transform;
}

.m-reply { position: absolute; left: 0; top: 77%; width: 72%; padding: 3.4cqw 4cqw; background: var(--paper); border-left: 1cqw solid var(--green); }
.m-reply small { font: 700 2cqw var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.m-reply-text { margin: 1.2cqw 0 2.4cqw; font-size: 2.75cqw; line-height: 1.45; min-height: 8.2cqw; }
.m-approve { position: relative; display: flex; gap: 2cqw; align-items: center; }
.m-btn { padding: 1.4cqw 2.6cqw; background: var(--ink); color: #fff; font-weight: 700; font-size: 2.4cqw; transition: transform .2s; }
.m-sent { font-weight: 800; color: var(--green-text); font-size: 2.6cqw; }
.m-you { position: absolute; right: 4%; top: 79%; width: 16%; text-align: center; }
.m-you i { display: block; width: 100%; aspect-ratio: 1; background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform-origin: 50% 80%; }
.m-you small { display: block; margin-top: 1cqw; font: 600 2.2cqw var(--mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

/* motion: JS drives the stage; hide pieces that would otherwise be static */
html.motion .m-chip { display: block; }
html.motion .m-new .m-slot { visibility: hidden; }

/* =========================================================
   BANDS
   ========================================================= */
.bands { overflow: hidden; }
.band { overflow: hidden; padding: .06em 0 .1em; font: 900 clamp(64px, 13vw, 240px)/.92 var(--display); letter-spacing: -.065em; }
.band-1 { background: #fff; color: var(--ink); }
.band-2 { background: var(--blue); color: #fff; }
.band-3 { background: var(--green); color: var(--ink); }
.band-row { display: flex; gap: .45em; width: max-content; white-space: nowrap; will-change: transform; }
.band { display: flex; }
.band-1 .band-row { margin-left: 5vw; }
.band-2 .band-row { margin-left: 26vw; }
.band-3 { justify-content: flex-end; }
.band-3 .band-row { margin-right: 5vw; }
.ball { position: relative; display: inline-block; width: .7em; height: .7em; margin: 0 .03em; vertical-align: -.02em; border-radius: 50%; background: #fff; will-change: transform; }
.ball i { position: absolute; left: 58%; top: 22%; width: 22%; height: 22%; border-radius: 50%; background: var(--ink); }

/* =========================================================
   APPS
   ========================================================= */
.apps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.apps-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.apps-sticky .lead-sm { max-width: 420px; margin-top: 28px; }
.reasons { display: grid; gap: 0; }
.reasons li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line); }
.reason-n { font: 900 64px/0.8 var(--display); letter-spacing: -.06em; color: var(--blue); }
.reasons li:nth-child(2) .reason-n { color: var(--red); }
.reasons li:nth-child(3) .reason-n { color: var(--green); }
.reasons h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 12px; }
.reasons p { color: var(--muted); font-size: 16.5px; margin: 0; }
.reason-honest { display: block !important; padding: 24px 26px !important; background: var(--paper); border-top: 0 !important; }
.reason-honest p { color: var(--ink-2); font-size: 15.5px; }

.app-types { margin-top: clamp(64px, 8vw, 120px); }
.app-types ul { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.app-types li { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15.5px; transition: background .3s, color .3s; }
.app-types li:hover { background: var(--ink); color: #fff; }
.ico { position: relative; flex: none; width: 22px; height: 22px; transition: transform .5s var(--spring); }
.app-types li:hover .ico { transform: rotate(-12deg) scale(1.15); }
.ico::before, .ico::after { content: ""; position: absolute; }
.ico-portal::before { inset: 0; border: 3px solid var(--blue); }
.ico-portal::after { left: 6px; top: 6px; width: 10px; height: 10px; background: var(--red); }
.ico-book::before { inset: 0; border-radius: 50%; background: var(--red); }
.ico-book::after { left: 10px; top: 4px; width: 2px; height: 9px; background: #fff; box-shadow: 3px 7px 0 -0px #fff; }
.ico-tool::before { left: 0; top: 8px; width: 22px; height: 6px; background: var(--ink); }
.ico-tool::after { left: 8px; top: 0; width: 6px; height: 22px; background: var(--blue); }
.app-types li:hover .ico-tool::before { background: #fff; }
.ico-dash::before { left: 0; bottom: 0; width: 5px; height: 10px; background: var(--blue); box-shadow: 8px -6px 0 var(--red), 16px -12px 0 var(--green); }
.ico-dash::after { display: none; }
.ico-rocket::before { inset: 0; background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ico-config::before { left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.ico-config::after { right: 0; bottom: 0; width: 12px; height: 12px; background: var(--red); }
.ico-member::before { left: 5px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.ico-member::after { left: 1px; bottom: 0; width: 20px; height: 8px; border-radius: 10px 10px 0 0; background: var(--blue); }
.app-types li:hover .ico-member::before { background: #fff; }
.ico-bot::before { inset: 2px 0 0; border-radius: 5px; background: var(--blue); }
.ico-bot::after { left: 5px; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 8px 0 0 #fff; }

/* =========================================================
   WAYS TO START
   ========================================================= */
.start { background: var(--paper); }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pkg {
  position: relative; overflow: hidden;
  padding: 28px 28px 30px; background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.pkg:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(20, 20, 20, .25); border-color: var(--line-2); }
.pkg::after { content: ""; position: absolute; right: -36px; bottom: -36px; width: 90px; height: 90px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .55s var(--spring); }
.pkg:nth-child(4)::after, .pkg:nth-child(5)::after { background: var(--red); border-radius: 0; rotate: 20deg; }
.pkg:nth-child(6)::after { background: var(--green); border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.pkg:hover::after { transform: scale(1); }
.pkg-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.tag { padding: 5px 9px; font: 700 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.tag-blue { background: var(--blue); }
.tag-red { background: var(--red-text); }
.tag-green { background: var(--green-text); }
.size { display: flex; gap: 4px; }
.size i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); }
.size i.on { background: var(--ink); }
.pkg h3 { font-size: 26px; font-weight: 900; letter-spacing: -.04em; margin-bottom: 10px; }
.pkg p { color: var(--muted); font-size: 15.5px; }
.pkg ul { display: grid; gap: 6px; margin-top: 16px; font-size: 14.5px; }
.pkg li { display: flex; gap: 10px; }
.pkg li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; background: var(--ink); }

/* =========================================================
   WORK
   ========================================================= */
.work-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 8%; align-items: end; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { padding: 10px 16px; background: #fff; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, transform .3s var(--spring); }
.filter:hover { transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
html:not(.js) .filters { display: none; }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; }
.card.is-hidden, .bench-list li.is-hidden { display: none; }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.card-body { padding-top: 24px; }
.card-wide .card-body { padding-top: 0; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 12px; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.status { color: var(--green-text); }
.status::before { content: "● "; }
.status-wip { color: #b06a00; }
.card h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; margin-bottom: 14px; }
.card-body > p { color: var(--ink-2); font-size: 16.5px; }
.card-body > p b { font-weight: 700; }
.could { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2) !important; font-size: 15px !important; }
.could span { font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.hood { margin-top: 4px; }
.hood summary { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; list-style: none; font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hood summary::-webkit-details-marker { display: none; }
.hood summary::before { content: "</>"; display: grid; place-items: center; width: 34px; height: 24px; background: var(--ink); color: #fff; font-size: 10px; transition: background .25s; }
.hood[open] summary::before { background: var(--blue); }
.hood summary:hover { color: var(--blue); }
.hood p { color: var(--muted); font-size: 15px; margin: 8px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 9px; border: 1px solid var(--line-2); font: 500 11.5px var(--mono); }

/* previews */
.pv { --tx: 0; --ty: 0; position: relative; height: clamp(280px, 30vw, 400px); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.card-wide .pv { height: clamp(320px, 34vw, 460px); }
.layer { position: absolute; transition: translate .5s var(--ease); }
.card:hover .l1 { translate: calc(var(--tx) * -6px) calc(var(--ty) * -6px); }
.card:hover .l2 { translate: calc(var(--tx) * 10px) calc(var(--ty) * 10px); }
.card:hover .l3 { translate: calc(var(--tx) * 18px) calc(var(--ty) * 18px); }
.pv * { animation-play-state: paused; }
.pv.in-view * { animation-play-state: running; }

/* chat preview */
.pv-chat { background: var(--blue-soft); }
.bubble { padding: 12px 16px; font-size: clamp(13px, 1.1vw, 15px); font-weight: 600; line-height: 1.3; max-width: 72%; }
.bubble-q { top: 11%; right: 9%; background: var(--blue); color: #fff; border-radius: 16px 16px 4px 16px; animation: chat-q 7s var(--ease) infinite; }
.bubble-a { bottom: 9%; left: 9%; background: #fff; border-radius: 16px 16px 16px 4px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.3); animation: chat-a 7s var(--ease) infinite; }
.widget { top: 27%; left: 9%; right: 9%; padding: 18px 20px; background: #fff; box-shadow: 0 24px 50px -28px rgba(20,40,120,.45); animation: chat-w 7s var(--ease) infinite; }
.w-head { display: flex; justify-content: space-between; font: 700 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.w-head b { color: var(--blue); }
.w-bars { display: flex; align-items: flex-end; gap: 8%; height: clamp(70px, 8vw, 120px); margin: 14px 0 12px; padding-bottom: 1px; border-bottom: 1px solid var(--line); }
.w-bars i { flex: 1; height: calc(var(--h) * 100%); background: var(--blue); transform-origin: bottom; animation: bar 7s var(--ease) infinite; }
.w-bars i.hi { background: var(--red); }
.w-bars i:nth-child(2) { animation-delay: .08s; } .w-bars i:nth-child(3) { animation-delay: .16s; } .w-bars i:nth-child(4) { animation-delay: .24s; } .w-bars i:nth-child(5) { animation-delay: .32s; } .w-bars i:nth-child(6) { animation-delay: .4s; }
.w-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-kpis small { display: block; font-size: 11px; color: var(--muted); }
.w-kpis strong { font-size: clamp(14px, 1.3vw, 18px); letter-spacing: -.02em; }
.w-kpis .up { color: var(--green-text); }
@keyframes chat-q { 0% { opacity: 0; transform: translateY(14px) scale(.95); } 6%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat-w { 0%, 12% { opacity: 0; transform: translateY(24px) scale(.96); } 20%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bar { 0%, 18% { transform: scaleY(0); } 32%, 92% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes chat-a { 0%, 36% { opacity: 0; transform: translateY(12px); } 42%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* research preview */
.pv-research { background: var(--red-soft); }
.paper { left: 8%; top: 14%; width: 36%; padding: 16px 14px; background: #fff; rotate: -6deg; box-shadow: 0 16px 30px -18px rgba(0,0,0,.35); animation: paper 6s var(--ease) infinite; }
.paper small { font: 700 9px var(--mono); color: var(--muted); }
.paper strong { display: block; margin: 12px 0 14px; font: 900 clamp(15px, 1.4vw, 20px)/1.05 var(--display); letter-spacing: -.03em; }
.paper hr { border: 0; height: 5px; margin: 7px 0; background: var(--line); }
.paper hr:last-child { width: 60%; }
.pipe { left: 8%; right: 8%; bottom: 9%; display: flex; justify-content: space-between; gap: 6px; }
.pipe i { flex: 1; padding: 6px 0; text-align: center; font: 700 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; background: #fff; color: var(--muted); animation: pipe 6s steps(1) infinite; }
.pipe i:nth-child(2) { animation-delay: .9s; } .pipe i:nth-child(3) { animation-delay: 1.8s; } .pipe i:nth-child(4) { animation-delay: 2.7s; }
.phone { right: 10%; top: 8%; width: 30%; aspect-ratio: 9 / 17; padding: 5px; background: var(--ink); border-radius: 18px; rotate: 6deg; box-shadow: 0 20px 34px -18px rgba(0,0,0,.5); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 13px; background: linear-gradient(160deg, var(--red), #ff8a5c); display: grid; place-items: center; }
.phone-screen b { color: #fff; font-size: 22px; animation: play 6s var(--ease) infinite; }
.cap { position: absolute; left: 8%; right: 8%; bottom: 26%; padding: 4px 6px; background: #fff; font-size: clamp(8px, .75vw, 11px); font-weight: 800; text-align: center; animation: cap1 6s steps(1) infinite; }
.cap.c2 { bottom: 26%; animation-name: cap2; }
.phone-bar { position: absolute; left: 8%; right: 8%; bottom: 8%; height: 3px; background: rgba(255,255,255,.35); }
.phone-bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: progress 6s linear infinite; }
@keyframes paper { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes pipe { 0% { background: #fff; color: var(--muted); } 15%, 100% { background: var(--ink); color: #fff; } }
@keyframes play { 0%, 55% { transform: scale(1); opacity: 1; } 60%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes cap1 { 0%, 55% { opacity: 0; } 56%, 77% { opacity: 1; } 78%, 100% { opacity: 0; } }
@keyframes cap2 { 0%, 77% { opacity: 0; } 78%, 98% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes progress { 0%, 55% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

/* metro preview */
.pv-metro { background: var(--green-soft); }
.poster-frame { top: 8%; bottom: 8%; left: 50%; aspect-ratio: 5 / 6.4; margin-left: calc(-1 * clamp(110px, 11vw, 150px)); padding: 12px 12px 30px; background: #fff; box-shadow: 0 22px 40px -22px rgba(0,0,0,.4); }
.metro-svg { width: 100%; height: 100%; }
.ml { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 7s var(--ease) infinite; }
.ml-1 { stroke: var(--blue); }
.ml-2 { stroke: var(--red); animation-delay: .4s; }
.ml-3 { stroke: var(--green); animation-delay: .8s; }
.st circle { fill: #fff; stroke: var(--ink); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: station 7s var(--spring) infinite; }
.st circle:nth-child(2) { animation-delay: .15s; } .st circle:nth-child(3) { animation-delay: .3s; } .st circle:nth-child(4) { animation-delay: .45s; } .st circle:nth-child(5) { animation-delay: .6s; }
.poster-title { position: absolute; left: 12px; bottom: 8px; font: 900 13px/1 var(--display); letter-spacing: -.02em; }
.swatches { right: 9%; top: 50%; translate: 0 -50%; display: grid; gap: 8px; padding: 8px; background: #fff; box-shadow: 0 10px 24px -14px rgba(0,0,0,.35); }
.card:hover .swatches { translate: calc(var(--tx) * 10px) calc(-50% + var(--ty) * 10px); }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); }
.swatches i:nth-child(2) { background: var(--red); outline: 2px solid var(--ink); outline-offset: 2px; animation: pick 7s steps(1) infinite; }
.swatches i:nth-child(3) { background: var(--green); }
.swatches i:nth-child(4) { background: var(--ink); }
@keyframes draw { 0% { stroke-dashoffset: 360; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -360; } }
@keyframes station { 0%, 30% { transform: scale(0); } 40%, 88% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes pick { 0%, 49% { outline-color: var(--ink); } 50%, 100% { outline-color: transparent; } }

/* d&d preview */
.pv-dnd { background: #f1ede4; }
.sheet { left: 10%; top: 12%; width: 56%; padding: 18px 20px; background: #fff; box-shadow: 0 20px 40px -24px rgba(0,0,0,.4); rotate: -3deg; }
.sheet small { font: 700 9px var(--mono); letter-spacing: .12em; color: var(--muted); }
.sheet strong { display: block; margin-top: 6px; font: 900 clamp(18px, 1.7vw, 24px)/1 var(--display); letter-spacing: -.04em; }
.sheet em { display: block; margin: 4px 0 14px; color: var(--red-text); font-size: 12.5px; font-weight: 600; }
.stats { display: grid; gap: 7px; }
.stats span { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 8px; font: 700 10px var(--mono); }
.stats i { height: 7px; background: var(--line); position: relative; }
.stats i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); background: var(--ink); transform-origin: left; animation: stat 5s var(--ease) infinite; }
.stats span:nth-child(3) i::after { background: var(--blue); }
.d20 { right: 12%; bottom: 14%; width: clamp(80px, 9vw, 120px); aspect-ratio: 1; display: grid; place-items: center; background: var(--red); color: #fff; font: 900 clamp(22px, 2.4vw, 32px)/1 var(--display); clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); animation: roll 5s var(--spring) infinite; }
@keyframes stat { 0%, 10% { transform: scaleX(0); } 30%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes roll { 0% { rotate: -360deg; scale: .6; } 25%, 92% { rotate: 0deg; scale: 1; } 100% { rotate: 0deg; scale: .6; } }

/* polis preview */
.pv-polis { background: #ecebe6; }
.tiles { left: 7%; top: 9%; width: 60%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; rotate: -4deg; }
.tiles i { aspect-ratio: 1; background: #d9d8d0; animation: tile 8s steps(1) infinite; }
.tiles i:nth-child(3n) { background: var(--green); }
.tiles i:nth-child(7n) { background: var(--blue); }
.tiles i:nth-child(11n) { background: var(--red); }
.tiles i:nth-child(5n+2) { animation-delay: 2s; }
.tiles i:nth-child(4n+1) { animation-delay: 4s; }
.tiles i:nth-child(9) , .tiles i:nth-child(16), .tiles i:nth-child(22) { animation-name: tile-grow; }
.council { right: 7%; bottom: 10%; width: 54%; padding: 16px 18px; background: var(--ink); color: #fff; box-shadow: 0 18px 34px -18px rgba(0,0,0,.6); }
.council small { font: 700 9px var(--mono); letter-spacing: .12em; color: var(--green); }
.council p { margin: 8px 0 12px; font-size: clamp(12px, 1vw, 14px); line-height: 1.4; }
.council div { display: flex; gap: 6px; }
.council span { padding: 5px 10px; border: 1px solid rgba(255,255,255,.4); font-size: 11px; font-weight: 700; animation: choose 8s steps(1) infinite; }
.council span:last-child { animation-name: choose2; }
@keyframes tile { 0%, 100% { filter: none; } 50% { filter: brightness(1.15) saturate(1.2); } }
@keyframes tile-grow { 0%, 49% { background: #d9d8d0; } 50%, 100% { background: var(--green); } }
@keyframes choose { 0%, 100% { background: transparent; } }
@keyframes choose2 { 0%, 40% { background: transparent; color: #fff; } 41%, 100% { background: var(--green); color: var(--ink); border-color: var(--green); } }

/* workbench */
.bench { margin-top: clamp(64px, 8vw, 110px); }
.bench-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.bench-head h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 900; letter-spacing: -.045em; }
.bench-head p { margin: 0; max-width: 440px; color: var(--muted); }
.bench-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .3s; }
.bench-list li:hover { padding-left: 14px; padding-right: 14px; background: var(--paper); }
.bench-list strong { display: block; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.02em; }
.bench-list span { color: var(--muted); font-size: 15px; }
.bench-list em { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #b06a00; white-space: nowrap; }
.b-shape { width: 26px; height: 26px; background: var(--blue); transition: transform .6s var(--spring); }
.b-ci { border-radius: 50%; }
.b-tr { background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.b-red { background: var(--red); }
.b-green { background: var(--green); }
.bench-list li:hover .b-shape { transform: rotate(135deg) scale(1.15); }
.fine-print { margin-top: 18px; font: 500 11.5px var(--mono); color: var(--muted); }

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--paper); }
.timeline { position: relative; }
.tl-track { position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line-2); }
.tl-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 1)); }
.tl-runner { position: absolute; top: 50%; left: calc(var(--p, 1) * 100%); width: 22px; height: 22px; margin: -11px 0 0 -11px; background: var(--red); transform: rotate(calc(var(--p, 1) * 360deg)); }
html:not(.motion) .tl-runner { display: none; }
.timeline ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.timeline li { position: relative; padding-top: 48px; }
.tl-dot { position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); transition: background .3s, transform .5s var(--spring); }
.timeline li.reached .tl-dot { background: var(--blue); border-color: var(--blue); transform: scale(1.25); }
.timeline small { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.timeline h3 { margin: 10px 0 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 900; letter-spacing: -.04em; line-height: 1.08; }
.timeline p { color: var(--muted); font-size: 15.5px; }

/* =========================================================
   TECH (dark)
   ========================================================= */
.tech { background: #0f0f10; color: #f2f2ee; }
.tech .eyebrow { color: #f2f2ee; }
.tech .eyebrow .num { color: #7d9bff; }
.tech em { color: #7d9bff; }
.tech .section-intro { color: #a6a6a0; }
.tech-head { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px 8%; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.tech-head .eyebrow { grid-column: 1 / -1; }
.tech-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.arch, .console { margin: 0; border: 1px solid #2a2a2c; background: #161618; }
.arch { padding: 22px; }
.mono-label { display: flex; justify-content: space-between; margin-bottom: 16px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.mono-label span { color: #7a7a75; }
.arch svg { width: 100%; height: auto; overflow: visible; }
.arch text { font: 600 13px var(--mono); fill: #e9e9e4; text-anchor: middle; }
.arch-apps rect { fill: #1e1e21; stroke: #7d9bff; stroke-width: 1.5; }
.arch-core > rect { fill: rgba(36, 91, 255, .12); stroke: var(--blue); stroke-width: 2; }
.core-title { text-anchor: start !important; fill: #7d9bff !important; font-size: 12px !important; letter-spacing: .1em; text-transform: uppercase; }
.core-mods rect { fill: #0f0f10; stroke: #3a3a3e; }
.core-mods text { font-size: 12px !important; }
.arch-lines path { stroke: #4a4a50; stroke-width: 1.5; stroke-dasharray: 4 5; fill: none; }
.pulse-dot { fill: #7d9bff; }
.pulse-dot.p-red { fill: var(--red); }
.pulse-dot.p-green { fill: var(--green); }
.boundary { stroke: var(--red); stroke-width: 2; stroke-dasharray: 8 6; }
.boundary-label { font-size: 10px !important; fill: var(--red) !important; text-anchor: end !important; letter-spacing: .08em; text-transform: uppercase; }
.e-red { fill: rgba(240, 68, 56, .12); stroke: var(--red); stroke-width: 1.5; }
.e-green { fill: rgba(54, 184, 121, .12); stroke: var(--green); stroke-width: 1.5; }
.arch-note { margin: 14px 0 0; color: #a6a6a0; font-size: 14px; }

.console { display: flex; flex-direction: column; }
.console-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #2a2a2c; font: 600 11px var(--mono); color: #7a7a75; }
.console-top i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3e; }
.console-top i:first-child { background: var(--red); }
.console-top i:nth-child(2) { background: #f2b01e; }
.console-top i:nth-child(3) { background: var(--green); }
.console-top span { margin-left: 10px; }
.console-body { flex: 1; margin: 0; padding: 18px 18px 8px; min-height: 330px; overflow: hidden; font: 500 12.5px/1.75 var(--mono); color: #d8d8d2; white-space: pre-wrap; }
.console-body .c-dim { color: #6f6f6a; }
.console-body .c-blue { color: #7d9bff; }
.console-body .c-red { color: #ff7a6e; }
.console-body .c-green { color: #5fd69a; }
.console-body .c-amber { color: #f2b01e; }
.console-body .caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -.2em; background: #d8d8d2; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console-note { margin: 0; padding: 10px 18px 14px; font: 500 11px var(--mono); color: #7a7a75; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(40px, 5vw, 64px); background: #2a2a2c; border: 1px solid #2a2a2c; }
.principles article { padding: 28px 24px; background: #0f0f10; transition: background .35s; }
.principles article:hover { background: #18181a; }
.principles h3 { margin: 22px 0 12px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.principles p { color: #a6a6a0; font-size: 14.5px; }
.principles .chips li { border-color: #3a3a3e; color: #cfcfca; font-size: 11px; }
.pr-shape { display: block; width: 30px; height: 30px; transition: transform .6s var(--spring); }
.principles article:hover .pr-shape { transform: rotate(90deg) scale(1.1); }
.pr-1 { background: var(--blue); }
.pr-2 { background: var(--red); border-radius: 50%; }
.pr-3 { background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.pr-4 { border: 3px solid #f2f2ee; border-radius: 50%; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 140px); align-items: center; }
.about-grid > div:last-child > p:not(.eyebrow):not(.lead-sm) { color: var(--muted); max-width: 60ch; }
.about-grid .lead-sm { margin-top: 28px; max-width: 54ch; }
.about-art { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; }
.about-art i { position: absolute; transition: transform .8s var(--spring); }
.a-circle { left: 0; top: 6%; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); animation: float 7s ease-in-out infinite; }
.a-square { right: 4%; bottom: 4%; width: 44%; aspect-ratio: 1; background: var(--red); rotate: -14deg; animation: float 8s ease-in-out -2s infinite; }
.a-tri { right: 6%; top: 0; width: 30%; aspect-ratio: 1; background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); rotate: 18deg; animation: float 6s ease-in-out -4s infinite; }
.a-bar { left: 8%; bottom: 10%; width: 40%; height: 7%; background: var(--ink); animation: float 9s ease-in-out -1s infinite; }
.about-art:hover .a-circle { transform: translate(18%, 10%); }
.about-art:hover .a-square { transform: translate(-10%, -14%) rotate(40deg); }
.about-art:hover .a-tri { transform: translate(-60%, 30%) rotate(-60deg); }
.about-art:hover .a-bar { transform: translate(30%, -120%) rotate(-12deg); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.exp { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.exp li { padding: 8px 12px; border: 1.5px solid var(--ink); font-size: 13.5px; font-weight: 600; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { position: relative; display: block; padding: 24px 52px 24px 0; cursor: pointer; list-style: none; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; transition: color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.faq-list summary i { position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; margin-top: -9px; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list details[open] summary i::before { transform: rotate(180deg); }
.faq-list details p { max-width: 62ch; padding: 0 40px 24px 0; margin: 0; color: var(--muted); font-size: 16.5px; }
html.motion .faq-list details[open] p { animation: panel-in .5s var(--ease); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-title { font-size: clamp(88px, 15vw, 260px); font-weight: 900; line-height: .84; letter-spacing: -.07em; margin-bottom: 32px; }
.contact-left .lead-sm { max-width: 400px; }
.email { display: inline-flex; gap: 10px; margin-top: 10px; padding-bottom: 6px; font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -.03em; border-bottom: 2px solid var(--ink); transition: color .2s, border-color .2s; }
.email:hover { color: var(--blue); border-color: var(--blue); }

.form { padding-top: 12px; }
.chips-field { margin: 0 0 30px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-field legend { margin-bottom: 14px; font-size: 13px; font-weight: 700; }
.chips-field label { position: relative; cursor: pointer; }
.chips-field input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips-field span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 600; transition: background .25s, color .25s, transform .3s var(--spring); }
.chips-field label:hover span { transform: translateY(-2px); }
.chips-field input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips-field input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: block; margin-bottom: 26px; font-size: 13px; font-weight: 700; }
.field small { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 4px; padding: 14px 0;
  border: 0; border-bottom: 1.5px solid var(--line-2); border-radius: 0;
  background: transparent; font-size: 17px; font-weight: 400;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: #8a8a85; }
.field textarea { resize: vertical; min-height: 110px; }
.field.invalid input, .field.invalid textarea { border-bottom-color: var(--red); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.form-status { margin: 0; max-width: 300px; font-size: 13px; color: var(--muted); }
#fallback { margin-top: 16px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding: 40px var(--gutter) 28px; background: var(--ink); color: #f2f2ee; overflow: hidden; }
.footer-top, .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; font-size: 14px; }
.footer-top nav { display: flex; gap: 24px; }
.footer-top a:hover, .to-top:hover { color: #7d9bff; }
.to-top { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.wordmark { display: flex; align-items: baseline; margin: clamp(28px, 4vw, 56px) 0 clamp(10px, 2vw, 24px); font: 900 clamp(110px, 30vw, 520px)/.78 var(--display); letter-spacing: -.075em; }
.wordmark span { display: inline-block; transition: transform .5s var(--spring), color .3s; }
.wordmark span:hover { transform: translateY(-12%) rotate(-6deg); color: #7d9bff; }
.wordmark span:nth-child(2):hover { color: var(--red); }
.wordmark span:nth-child(4):hover { color: var(--green); }
.wordmark i { display: inline-block; width: .2em; height: .2em; margin-left: .05em; border-radius: 50%; background: var(--blue); transition: transform .6s var(--spring); }
.wordmark:hover i { transform: translateY(-.5em); background: var(--red); }
.footer-bottom { padding-top: 18px; border-top: 1px solid #2a2a2c; color: #8a8a85; font-size: 13px; }

/* =========================================================
   REVEALS (motion only)
   ========================================================= */
html.motion [data-reveal] { opacity: 0; translate: 0 36px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.motion [data-reveal].in { opacity: 1; translate: 0 0; }
.sl { display: block; }
html.motion .sl { overflow: clip; overflow-clip-margin: .3em; padding-bottom: .08em; margin-bottom: -.08em; }
html.motion .sl-i { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--l, 0) * 110ms); }
html.motion .in .sl-i, html.motion .sl.in .sl-i { transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc:first-child, .svc:last-child { padding: 32px 0 36px; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 24px; }
  .svc > *:not(.svc-shape):not(.svc-num) { grid-column: 2; }
  .svc-shape { grid-row: 1 / span 4; }
  .svc h3 { margin-top: 0; max-width: none; }
  .svc-num, .svc:last-child .svc-num { right: 0; }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .app-types ul { grid-template-columns: repeat(2, 1fr); }
  .hero-bottom { grid-template-columns: minmax(0, 1fr) auto; }
  .badge { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-flex; }
  html.js .nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px;
    background: #fff; border-bottom: 1px solid var(--line);
    font: 900 34px/1.1 var(--display); letter-spacing: -.04em;
    transform: translateY(-110%); visibility: hidden;
    transition: transform .5s var(--ease), visibility 0s .5s;
  }
  html.js .nav.open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  html.js .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  html.js .nav a::after { display: none; }
  html.js .nav .nav-cta { margin-top: 16px; padding: 16px 18px !important; font-size: 20px; border: 0; }
  html:not(.js) .nav { gap: 14px; font-size: 13px; }
  html:not(.js) .nav a:not(.nav-cta) { display: none; }

  .hero { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "poster" "bottom"; min-height: auto; }
  .hero-title { font-size: clamp(54px, 15.5vw, 130px); margin: 36px 0 28px; }
  .poster { width: min(42%, 260px); justify-self: end; margin: -8px 0 28px; }
  .shuffle { justify-self: start; align-self: end; margin-bottom: 28px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-ctas { min-width: 0; grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { gap: 12px; padding: 16px 18px; }

  .section-head, .work-head, .tech-head { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 1fr; }
  .picker-list { grid-template-columns: 1fr; }

  html.motion .machine { height: 560vh; }
  .machine-sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 18px; }
  html.motion .machine-sticky { padding-top: calc(var(--header-h) + 14px); }
  .machine-title { font-size: clamp(26px, 7vw, 40px); margin-bottom: 14px; max-width: none; }
  html.motion .machine .eyebrow { margin-bottom: 12px; }
  html.motion .steps { position: relative; display: block; min-height: 92px; }
  html.motion .step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease); }
  html.motion .step.done { opacity: 0; }
  html.motion .step.active { opacity: 1; transform: none; }
  html.motion .machine-note { display: none; }
  .stage { width: min(100%, 56svh); }

  .apps-grid { grid-template-columns: 1fr; }
  .apps-sticky { position: static; }
  .work-grid { grid-template-columns: 1fr; }
  .card-wide { grid-template-columns: 1fr; gap: 0; }
  .card-wide .card-body { padding-top: 24px; }
  .timeline ol { grid-template-columns: 1fr; gap: 8px; }
  .tl-track { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl-fill { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .tl-runner { left: 50%; top: calc(var(--p, 1) * 100%); }
  .timeline li { padding: 0 0 28px 44px; }
  .tl-dot { top: 4px; left: 0; }
  .tech-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-art { max-width: 280px; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .eyebrow { font-size: 10px; letter-spacing: .08em; }
  .hero-eyebrow { font-size: 9.5px; }
  .hero-ctas { grid-template-columns: 1fr; }
  .marquee { padding: 16px 0; }
  .pkg-grid, .principles { grid-template-columns: 1fr; }
  .app-types li { padding: 16px 12px; font-size: 14px; gap: 10px; }
  .before-after { grid-template-columns: 1fr; }
  .pick { padding-right: 36px; font-size: 16.5px; gap: 14px; }
  .svc, .svc:first-child, .svc:last-child { grid-template-columns: 1fr; }
  .svc > *:not(.svc-shape):not(.svc-num) { grid-column: 1; }
  .svc-shape { grid-row: auto; width: 48px; height: 48px; margin-bottom: 20px; }
  .bench-list li { grid-template-columns: 28px minmax(0, 1fr); }
  .bench-list em { grid-column: 2; }
  .reasons li { grid-template-columns: 48px 1fr; gap: 14px; }
  .reason-n { font-size: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .console-body { font-size: 11px; min-height: 300px; padding: 14px; }
  .arch { padding: 14px; }
  .footer-top nav { flex-wrap: wrap; gap: 14px 20px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .pv * { animation: none !important; }
  .w-bars i, .stats i::after, .phone-bar::after { transform: none !important; }
  .ml { stroke-dashoffset: 0 !important; }
  .st circle { transform: none !important; }
  .badge svg { animation: none; }
  .arch-pulses { display: none; }
}

/* ---------- late additions ---------- */
.pdot { display: inline-block; width: .26em; height: .26em; margin-left: .06em; border-radius: 50%; background: var(--red); }
.ghost { color: transparent; }
.m-caret { display: inline-block; width: .5cqw; height: 1.1em; margin-left: .2cqw; vertical-align: -.2em; background: var(--ink); animation: blink 1s steps(1) infinite; }
.m-burst { position: absolute; left: 22%; top: 50%; width: 0; height: 0; pointer-events: none; }
.m-burst i { position: absolute; left: 0; top: 0; width: 1.8cqw; height: 1.8cqw; margin: -.9cqw 0 0 -.9cqw; opacity: 0; background: var(--blue); }
.m-burst i:nth-child(3n) { background: var(--red); }
.m-burst i:nth-child(3n+1) { background: var(--green); border-radius: 50%; }
.m-chip.landed { background: transparent; color: var(--ink); transition: background .35s, color .35s; }
.m-chip { transition: background .35s, color .35s; }
.m-new { --row: 0; }
.m-new::before { transform: scaleX(var(--row)); }
html:not(.motion) .m-new { --row: 1; }
.m-btn.pressed { background: var(--green-text); transform: scale(.94); }
.console-body .ln { display: block; animation: line-in .35s var(--ease); }
@keyframes line-in { from { opacity: 0; transform: translateX(-6px); } }
.c-amber.wait { animation: blink 1s steps(1) infinite; }

/* ---------- AI systems feature (links to systems/) ---------- */
.sys-feature { display: grid; grid-template-columns: minmax(200px, .55fr) minmax(0, 1.45fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(64px, 8vw, 110px); padding: clamp(28px, 4vw, 56px); background: var(--ink); color: #f2f2ee; }
.sf-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14%; aspect-ratio: 1; max-width: 300px; width: 100%; padding: 12%; border: 1px solid #3a3a3e; background: repeating-linear-gradient(0deg, transparent 0 calc(33.333% - 1px), #2a2a2c calc(33.333% - 1px) 33.333%), repeating-linear-gradient(90deg, transparent 0 calc(33.333% - 1px), #2a2a2c calc(33.333% - 1px) 33.333%); }
.sf-art i { display: block; background: var(--blue); transition: transform .6s var(--spring); }
.sf-art .sf-c { border-radius: 50%; }
.sf-art .sf-s { background: var(--red); }
.sf-art .sf-t { background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.sf-art .sf-ink { background: #f2f2ee; }
.sf-art .sf-hub { position: relative; background: #f2f2ee; }
.sf-art .sf-hub::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: var(--green); animation: sf-beat 2.4s var(--ease) infinite; }
@keyframes sf-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.4); } }
.sys-feature:hover .sf-art i:nth-child(odd) { transform: rotate(90deg) scale(.86); }
.sys-feature:hover .sf-art i:nth-child(even):not(.sf-hub) { transform: translateY(-12%); }
.sf-kicker { margin: 0 0 14px; font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #7d9bff; }
.sf-copy h3 { max-width: 20ch; margin-bottom: 16px; font-size: clamp(30px, 3.4vw, 52px); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.sf-copy > p:not(.sf-kicker) { max-width: 60ch; color: #a6a6a0; font-size: 16.5px; }
.sf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn-ghost { background: transparent; color: #f2f2ee; box-shadow: inset 0 0 0 1.5px #f2f2ee; }
.btn-ghost::before { background: #f2f2ee; }
.btn-ghost:hover > span { color: var(--ink); }
.sys-feature + .bench { margin-top: clamp(40px, 5vw, 64px); }
.tech-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid #2a2a2c; }
.tech-more p { max-width: 60ch; margin: 0; color: #a6a6a0; }
.tech-more b { color: #f2f2ee; }
@media (max-width: 860px) {
  .sys-feature { grid-template-columns: 1fr; }
  .sf-art { max-width: 180px; }
}
@media (max-width: 600px) {
  .sf-links .btn { flex: 1 1 100%; }
}
.card-cta { margin: 8px 0 6px; }
