/* ==========================================================
   Impact Creative Marketing
   Palette: ink / navy / bone / acid lime. Type: Cabinet Grotesk,
   Shrikhand, Satoshi. Motion lives in js/main.js.
   ========================================================== */

:root {
  --ink: #040A14;
  --ink-2: #081325;
  --navy: #002A5A;
  --cobalt: #2E6BFF;
  --bone: #F3EFE6;
  --lime: #C9FF3B;
  --error: #FF7A66;
  --line: rgba(243, 239, 230, .16);
  --mute: rgba(243, 239, 230, .64);
  --pad: clamp(18px, 4vw, 64px);
  --f-grotesk: "Cabinet Grotesk", "Arial Black", "Helvetica Neue", sans-serif;
  --f-display: "Shrikhand", "Cabinet Grotesk", Georgia, serif;
  --f-body: "General Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
em { font-style: normal; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 4px; }
.flip-lime :focus-visible, .flip-light :focus-visible { outline-color: var(--ink); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 16px; background: var(--lime); color: var(--ink); font-weight: 600; border-radius: 999px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- Shared type ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.label span {
  display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px;
  border-radius: 999px; background: var(--lime); color: var(--ink); letter-spacing: .04em;
}
.flip-light .label span, .flip-lime .label span { background: var(--ink); color: var(--lime); }

.h-xl, .h-xxl {
  font-family: var(--f-grotesk); font-weight: 800; text-transform: uppercase;
  line-height: .92; letter-spacing: -.012em;
}
.h-xl { font-size: clamp(40px, 7.2vw, 124px); }
.h-xxl { font-size: clamp(50px, 11.4vw, 210px); font-weight: 900; line-height: .88; }
.h-xl em, .h-xxl em, .fresh__a em {
  font-family: var(--f-display); font-weight: 400; text-transform: none;
  letter-spacing: 0; color: var(--lime);
}
.flip-light em, .flip-lime em { color: var(--navy); }

/* Split text helpers (spans are injected by JS) */
.mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .08em .14em; margin: -.06em -.08em -.14em; }
.mask .in { display: inline-block; will-change: transform; }
.ch { display: inline-block; will-change: transform; }

/* Roll-over text swap */
.roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll > span { display: inline-block; position: relative; transition: transform .5s var(--ease-io); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
a:hover > .roll > span, button:hover > .roll > span, a.roll:hover > span,
a:focus-visible > .roll > span, a.roll:focus-visible > span { transform: translateY(-100%); }

/* ---------- Pill CTA ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 7px 7px 7px 26px; border-radius: 999px;
  background: var(--lime); color: var(--ink);
  font-weight: 600; font-size: 17px; letter-spacing: .01em; white-space: nowrap;
  will-change: transform;
}
.pill__arrow {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); overflow: hidden; flex: none;
}
.pill__arrow svg, .careers-teaser__arrow svg, .footer__up svg, .why__hint svg {
  width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.pill__arrow svg { transition: transform .5s var(--ease-io); }
.pill:hover .pill__arrow svg, .pill:focus-visible .pill__arrow svg { transform: rotate(-45deg) scale(1.1); }
.pill--sm { font-size: 14px; padding: 5px 5px 5px 18px; gap: 12px; }
.pill--sm .pill__arrow { width: 34px; height: 34px; }
.pill--sm .pill__arrow svg { width: 16px; height: 16px; }
.pill--dark { background: var(--ink); color: var(--bone); }
.pill--dark .pill__arrow { background: var(--lime); }
.pill--dark .pill__arrow svg { stroke: var(--ink); }

/* ---------- Newton's cradle ----------
   Real pendulum timing: each end ball is out for half a period
   (sine out, sine back), the middle three never move. */
.cradle {
  --b: .2em; --len: .64em; --amp: 28deg;
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--b) * 5); height: calc(var(--len) + .04em);
  transform: translate(-50%, -50%);
  color: var(--ink);
}
.cradle__bar { position: absolute; top: 0; left: -.14em; right: -.14em; height: .06em; background: currentColor; border-radius: 1em; }
.cradle__p { position: absolute; top: .03em; width: var(--b); height: var(--len); transform-origin: 50% 0; }
.cradle__p:nth-child(2) { left: 0; }
.cradle__p:nth-child(3) { left: var(--b); }
.cradle__p:nth-child(4) { left: calc(var(--b) * 2); }
.cradle__p:nth-child(5) { left: calc(var(--b) * 3); }
.cradle__p:nth-child(6) { left: calc(var(--b) * 4); }
.cradle__p::before { content: ""; position: absolute; left: 50%; top: 0; bottom: calc(var(--b) / 2); width: max(1.5px, .022em); transform: translateX(-50%); background: currentColor; }
.cradle__p i { position: absolute; left: 0; bottom: 0; width: var(--b); height: var(--b); border-radius: 50%; background: currentColor; }
.cradle__p--l { animation: swingL 1.3s linear infinite; }
.cradle__p--r { animation: swingR 1.3s linear infinite; }
@keyframes swingL {
  0% { transform: rotate(0); animation-timing-function: cubic-bezier(.39, .575, .565, 1); }
  25% { transform: rotate(var(--amp)); animation-timing-function: cubic-bezier(.47, 0, .745, .715); }
  50%, 100% { transform: rotate(0); }
}
@keyframes swingR {
  0%, 50% { transform: rotate(0); animation-timing-function: cubic-bezier(.39, .575, .565, 1); }
  75% { transform: rotate(calc(var(--amp) * -1)); animation-timing-function: cubic-bezier(.47, 0, .745, .715); }
  100% { transform: rotate(0); }
}

/* ---------- Loader, wipe, cursor, grain ---------- */
.loader { display: none; }
html.js body[data-page="home"] .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 120;
  background: var(--ink); animation: failsafe-hide 0s 4s forwards;
}
html.js.no-loader body[data-page="home"] .loader, html.static .loader { display: none !important; }
.loader__inner { position: relative; width: 240px; height: 200px; font-size: 120px; }
.loader .cradle { color: var(--lime); top: 38%; }
.loader__count { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: 600 14px/1 var(--f-body); letter-spacing: .2em; color: var(--mute); }
.loader__count b { color: var(--bone); font-weight: 600; }
@keyframes failsafe-hide { to { visibility: hidden; } }

.wipe { display: none; }
html.js .wipe {
  display: block; position: fixed; inset: 0; z-index: 110; background: var(--lime);
  transform-origin: 50% 0; pointer-events: none;
  animation: failsafe-wipe .6s 3.5s var(--ease-io) forwards;
}
html.static .wipe { display: none !important; }
@keyframes failsafe-wipe { to { transform: scaleY(0); } }

.cursor { display: none; }
html.has-cursor .cursor {
  display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 130;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--lime); pointer-events: none; mix-blend-mode: difference;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
  opacity: 0;
}
html.has-cursor .cursor.is-on { opacity: 1; }
html.has-cursor .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
html.has-cursor .cursor.has-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; background: var(--bone); box-shadow: 0 8px 30px rgba(0, 0, 0, .3); }
.cursor__label { font: 600 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.has-label .cursor__label { opacity: 1; }

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  padding: 16px var(--pad);
  transition: transform .5s var(--ease-io), background-color .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(4, 10, 20, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; }
.nav.is-hidden { transform: translateY(-105%); }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__icon { width: 68px; height: auto; }
.brand__word { display: grid; line-height: 1; }
.brand__word b { font-family: var(--f-grotesk); font-weight: 900; font-size: 21px; letter-spacing: .05em; text-transform: uppercase; }
.brand__word small { font-size: 8.5px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; margin-top: 3px; opacity: .8; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); font-size: 15px; font-weight: 500; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--bone); position: relative; flex: none; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .4s var(--ease-io), top .4s var(--ease-io); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--lime); color: var(--ink);
  display: flex; align-items: flex-end; padding: 96px var(--pad) 40px;
  clip-path: circle(0% at calc(100% - 44px) 40px); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.menu nav { display: grid; width: 100%; }
.menu a { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; border-top: 1.5px solid rgba(4, 10, 20, .2); font: 900 clamp(40px, 13vw, 84px)/1 var(--f-grotesk); text-transform: uppercase; letter-spacing: -.01em; }
.menu a small { font: 600 13px/1 var(--f-body); letter-spacing: .1em; }
.menu a.menu__cta { font-family: var(--f-display); font-weight: 400; text-transform: none; color: var(--navy); }
body.menu-open .nav { color: var(--ink); background: none; transform: none; }
body.menu-open .brand__icon { filter: invert(1) brightness(.2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 92px var(--pad) 26px;
}
.hero__glow {
  position: absolute; left: 0; top: 0; width: 90vmax; height: 90vmax; margin: -45vmax 0 0 -45vmax;
  transform: translate(50vw, 30vh); pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 62, 140, .75), rgba(0, 42, 90, .38) 45%, transparent 72%);
}
.hero__title {
  position: relative; margin: auto 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  font-weight: 400;
}
.hero__kicker { font: 500 clamp(15px, 1.55vw, 24px)/1.2 var(--f-body); letter-spacing: .01em; margin-bottom: .2em; }
.hero__line { display: block; white-space: nowrap; }
.hero__line--mom { font-family: var(--f-display); font-size: min(8.4vw, 14vh); line-height: 1.05; }
.hero__line--mid {
  display: flex; align-items: center; justify-content: center; gap: .4em;
  font: 800 min(4.6vw, 8vh)/1 var(--f-grotesk); text-transform: uppercase; letter-spacing: .01em;
  margin: .12em 0 .18em; position: relative; z-index: 2;
}
.hero__line--imp { font: 900 min(24vw, 46vh)/.8 var(--f-grotesk); text-transform: uppercase; letter-spacing: -.02em; color: var(--lime); }
.hero__line--imp .dot { display: inline-block; font-style: normal; color: var(--bone); }
.display { display: inline-block; }

.glyph { position: relative; display: inline-block; flex: none; width: 1.9em; height: 1.9em; margin: -.5em 0; transform: rotate(-7deg); }
.glyph__spin { position: absolute; inset: 0; display: block; will-change: transform; }
.glyph__layer { position: absolute; inset: 0; border-radius: .44em; }
.glyph__layer--1 { background: var(--lime); overflow: hidden; }
.glyph__layer--2 { background: var(--cobalt); animation: fan2 5s ease-in-out infinite alternate; }
.glyph__layer--3 { background: var(--bone); animation: fan3 5s ease-in-out infinite alternate; }
@keyframes fan2 { from { transform: rotate(5deg) translate(.04em, .02em); } to { transform: rotate(10deg) translate(.1em, .04em); } }
@keyframes fan3 { from { transform: rotate(10deg) translate(.08em, .04em); } to { transform: rotate(21deg) translate(.2em, .08em); } }

.hero__foot { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; }
.hero__sub { max-width: 36ch; font-size: clamp(15px, 1.25vw, 19px); color: var(--mute); }
.hero__scroll { justify-self: end; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.hero__scroll i { position: relative; width: 1.5px; height: 44px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--lime); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; animation: marq 26s linear infinite; }
.marquee__track span { flex: none; }
@keyframes marq { to { transform: translateX(var(--shift, -25%)); } }
.marquee--lime { background: var(--lime); color: var(--ink); padding: 13px 0 11px; font: 800 clamp(20px, 2.9vw, 44px)/1 var(--f-grotesk); text-transform: uppercase; }
.marquee--lime i { font-style: normal; display: inline-block; margin: 0 .5em; font-size: .7em; transform: translateY(-.12em); }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(90px, 17vh, 200px) var(--pad); }
.manifesto__text { margin-top: 36px; max-width: 22em; font: 700 clamp(28px, 4.5vw, 76px)/1.06 var(--f-grotesk); letter-spacing: -.012em; }
.manifesto__text .fw { display: inline-block; }

/* ---------- Services ---------- */
.services { position: relative; padding: clamp(40px, 8vh, 100px) 0 clamp(90px, 15vh, 180px); }
.section-head { padding: 0 var(--pad); display: grid; gap: 28px; margin-bottom: clamp(40px, 7vh, 90px); }
.section-head .h-xl { max-width: 12em; }
.section-head__note { max-width: 40ch; color: var(--mute); font-size: clamp(16px, 1.3vw, 20px); }
.svc { position: relative; border-top: 1px solid var(--line); }
.svc__h { margin: 0; font: inherit; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__head {
  position: relative; width: 100%; text-align: left;
  display: grid; grid-template-columns: 3.2em 1fr auto 44px; align-items: center; column-gap: clamp(10px, 2vw, 36px);
  padding: clamp(20px, 2.6vw, 40px) var(--pad);
  transition: color .35s;
}
.svc__head::before { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease-io); }
.svc__head > * { position: relative; }
.svc__num { font: 600 14px/1 var(--f-body); letter-spacing: .1em; color: var(--lime); transition: color .35s; }
.svc__name { font: 900 clamp(34px, 8.2vw, 150px)/.92 var(--f-grotesk); text-transform: uppercase; letter-spacing: -.012em; transition: transform .5s var(--ease-io); }
.svc__tag { font: 400 clamp(16px, 1.7vw, 28px)/1 var(--f-display); color: var(--lime); transition: color .35s, transform .5s var(--ease-io); }
.svc__plus { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .5s var(--ease-io); }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: currentColor; transition: transform .5s var(--ease-io); }
.svc__plus::after { transform: rotate(90deg); }
.svc.is-open .svc__plus { transform: rotate(180deg); }
.svc.is-open .svc__plus::after { transform: rotate(0); }
@media (hover: hover) {
  .svc__head:hover { color: var(--ink); }
  .svc__head:hover::before { transform: scaleY(1); }
  .svc__head:hover .svc__num, .svc__head:hover .svc__tag { color: var(--ink); }
  .svc__head:hover .svc__name { transform: translateX(1.6vw); }
}
.svc.is-open .svc__head { color: var(--ink); }
.svc.is-open .svc__head::before { transform: scaleY(1); }
.svc.is-open .svc__num, .svc.is-open .svc__tag { color: var(--ink); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-io); background: var(--lime); color: var(--ink); }
.svc__body > div { overflow: hidden; }
.svc__body p { padding: 4px var(--pad) 34px calc(var(--pad) + 3.2em + clamp(10px, 2vw, 36px)); max-width: 62ch; box-sizing: content-box; font-size: clamp(17px, 1.5vw, 22px); font-weight: 500; }
.svc.is-open .svc__body { grid-template-rows: 1fr; }

.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(170px, 17vw, 270px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  opacity: 0; visibility: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.shape { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; display: grid; place-items: center; }
.shape.is-on { opacity: 1; }
.shape i, .shape b { position: absolute; display: block; }
/* 01 strategy: target with an orbiting dot */
.shape--1 { background: var(--navy); }
.shape--1 i { border: 2px solid var(--lime); border-radius: 50%; }
.shape--1 i:nth-child(1) { width: 72%; aspect-ratio: 1; }
.shape--1 i:nth-child(2) { width: 46%; aspect-ratio: 1; }
.shape--1 i:nth-child(3) { width: 18%; aspect-ratio: 1; background: var(--lime); }
.shape--1 b { width: 72%; aspect-ratio: 1; animation: spin 4s linear infinite; }
.shape--1 b::after { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--bone); }
/* 02 brand: three primitives */
.shape--2 { background: var(--bone); }
.shape--2 i:nth-child(1) { width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--cobalt); left: 12%; top: 16%; animation: bob 3s ease-in-out infinite alternate; }
.shape--2 i:nth-child(2) { width: 44%; aspect-ratio: 1; background: var(--ink); right: 10%; top: 36%; border-radius: 14%; animation: spin 9s linear infinite; }
.shape--2 i:nth-child(3) { width: 46%; aspect-ratio: 1; background: var(--lime); left: 20%; bottom: 8%; clip-path: polygon(50% 0, 100% 100%, 0 100%); animation: bob 3.6s ease-in-out infinite alternate-reverse; }
/* 03 web: wireframe page */
.shape--3 { background: var(--cobalt); }
.shape--3 i { left: 14%; height: 9%; border-radius: 8px; background: var(--bone); transform-origin: 0 50%; animation: grow 2.4s var(--ease-io) infinite alternate; }
.shape--3 i:nth-child(1) { top: 16%; width: 72%; height: 26%; background: var(--ink); animation: none; }
.shape--3 i:nth-child(2) { top: 50%; width: 72%; }
.shape--3 i:nth-child(3) { top: 64%; width: 52%; animation-delay: .2s; }
.shape--3 i:nth-child(4) { top: 78%; width: 30%; background: var(--lime); border-radius: 999px; animation-delay: .4s; }
/* 04 visibility: signal rings */
.shape--4 { background: var(--ink-2); }
.shape--4 i { width: 30%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--lime); animation: ping 2.4s ease-out infinite; }
.shape--4 i:nth-child(2) { animation-delay: .8s; }
.shape--4 i:nth-child(3) { animation-delay: 1.6s; }
.shape--4 b { width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--lime); }
/* 05 content: fanned cards */
.shape--5 { background: var(--lime); }
.shape--5 i { width: 46%; aspect-ratio: 3 / 4; border-radius: 12px; background: var(--ink); transform-origin: 50% 120%; }
.shape--5 i:nth-child(1) { background: var(--navy); animation: fanA 2.6s var(--ease-io) infinite alternate; }
.shape--5 i:nth-child(2) { background: var(--bone); animation: fanB 2.6s var(--ease-io) infinite alternate; }
/* 06 analytics: rising bars */
.shape--6 { background: var(--ink); align-items: end; }
.shape--6 i { bottom: 16%; width: 11%; background: var(--lime); border-radius: 6px 6px 0 0; transform-origin: 50% 100%; animation: bar 1.8s var(--ease-io) infinite alternate; }
.shape--6 i:nth-child(1) { left: 14%; height: 14%; }
.shape--6 i:nth-child(2) { left: 29.5%; height: 22%; animation-delay: .12s; }
.shape--6 i:nth-child(3) { left: 45%; height: 34%; animation-delay: .24s; }
.shape--6 i:nth-child(4) { left: 60.5%; height: 48%; animation-delay: .36s; }
.shape--6 i:nth-child(5) { left: 76%; height: 66%; animation-delay: .48s; background: var(--bone); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { to { transform: translateY(12%); } }
@keyframes grow { from { transform: scaleX(.35); } to { transform: scaleX(1); } }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
@keyframes fanA { from { transform: rotate(0); } to { transform: rotate(-16deg); } }
@keyframes fanB { from { transform: rotate(0); } to { transform: rotate(16deg); } }
@keyframes bar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }

/* ---------- Approach ---------- */
.flip-light { background: var(--bone); color: var(--ink); }
.approach__pin { position: relative; overflow: hidden; padding: clamp(80px, 12vh, 120px) var(--pad) 0; }
.approach__pin::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(4, 10, 20, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(4, 10, 20, .07) 1px, transparent 1px);
  background-size: clamp(56px, 7vw, 110px) clamp(56px, 7vw, 110px); background-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 35%, transparent 92%); mask-image: linear-gradient(to top, #000 35%, transparent 92%);
}
.approach__head { position: relative; z-index: 2; display: grid; gap: 22px; }
.approach__ghost { display: none; }
.steps { margin-top: 36px; display: grid; gap: 26px; grid-template-columns: repeat(5, 1fr); position: relative; z-index: 2; }
.step__num { display: block; font: 400 clamp(30px, 3vw, 46px)/1 var(--f-display); color: var(--navy); }
.step h3 { margin: 6px 0 8px; font: 900 clamp(22px, 2vw, 30px)/1 var(--f-grotesk); text-transform: uppercase; }
.step p { font-size: 15.5px; max-width: 34ch; }
.curve { position: relative; height: 44vh; min-height: 260px; margin: 30px calc(var(--pad) * -1) 0; }
.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.curve__ghost { fill: none; stroke: rgba(4, 10, 20, .22); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.curve__line { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.curve__reveal { clip-path: inset(-20% calc(100% - var(--p, 100%)) 0 0); }
.curve__dot { position: absolute; z-index: 1; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--lime); border: 3px solid var(--ink); transition: transform .5s var(--ease), background-color .3s; }
.curve__dot b { position: absolute; right: 50%; bottom: 190%; transform: translateX(20%); font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s; }
.curve__dot:first-of-type b { right: auto; left: -4px; transform: none; }
.curve__head { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--ink); display: none; place-items: center; z-index: 2; box-shadow: 0 0 0 10px rgba(201, 255, 59, .45); }
.curve__head svg { position: static; width: 24px; height: 24px; fill: none; stroke: var(--lime); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Pinned, scroll-scrubbed mode (class added by JS) */
.approach.is-pinned .approach__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; }
.approach.is-pinned .steps { display: block; flex: none; height: clamp(190px, 30vh, 320px); margin-top: clamp(16px, 3vh, 36px); }
.approach.is-pinned .step { position: absolute; left: 0; top: 0; max-width: 560px; opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .6s var(--ease); pointer-events: none; }
.approach.is-pinned .step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.approach.is-pinned .step__num { font-size: clamp(44px, 6.6vw, 104px); }
.approach.is-pinned .step h3 { font-size: clamp(34px, 5vw, 80px); margin: 0 0 12px; display: inline-block; margin-left: .25em; }
.approach.is-pinned .step__num { display: inline-block; }
.approach.is-pinned .step p { font-size: clamp(16px, 1.4vw, 21px); max-width: 38ch; font-weight: 500; }
.approach.is-pinned .curve { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; margin: 0; }
.approach.is-pinned .curve__dot { background: var(--bone); transform: scale(.7); }
.approach.is-pinned .curve__dot b { opacity: .3; }
.approach.is-pinned .curve__dot.is-on { background: var(--lime); transform: scale(1.25); }
.approach.is-pinned .curve__dot.is-on b { opacity: 1; }
.approach.is-pinned .curve__head { display: grid; }
.approach.is-pinned .approach__ghost {
  display: block; position: absolute; z-index: 1; right: var(--pad); top: clamp(70px, 10vh, 110px);
  font: 400 min(40vh, 26vw)/.8 var(--f-display); color: rgba(0, 42, 90, .07); -webkit-text-stroke: 2px rgba(0, 42, 90, .3);
  pointer-events: none; will-change: transform;
}

/* ---------- Why us ---------- */
.why__pin { padding: clamp(80px, 13vh, 150px) 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.why__pin::-webkit-scrollbar { display: none; }
.why.is-h .why__pin { overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.why__track { display: flex; align-items: stretch; gap: clamp(14px, 2vw, 32px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.why__intro { flex: none; width: min(84vw, 760px); display: flex; flex-direction: column; justify-content: center; gap: 24px; scroll-snap-align: start; scroll-margin-left: var(--pad); }
.why__hint { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.card {
  flex: none; width: clamp(270px, 30vw, 470px); aspect-ratio: 4 / 5; border-radius: 30px;
  padding: clamp(22px, 2.4vw, 38px); display: flex; flex-direction: column;
  background: var(--ink-2); border: 1px solid var(--line); scroll-snap-align: start; scroll-margin-left: var(--pad);
}
.card__num { font: 400 clamp(46px, 5vw, 84px)/1 var(--f-display); color: var(--lime); }
.card h3 { margin-top: auto; font: 900 clamp(28px, 3.1vw, 52px)/.94 var(--f-grotesk); text-transform: uppercase; letter-spacing: -.01em; }
.card p { margin-top: 16px; font-size: clamp(15px, 1.2vw, 18px); color: var(--mute); max-width: 32ch; }
.card--lime { background: var(--lime); color: var(--ink); border-color: transparent; }
.card--navy { background: var(--navy); border-color: transparent; }
.card--bone { background: var(--bone); color: var(--ink); border-color: transparent; }
.card--lime .card__num, .card--bone .card__num { color: var(--navy); }
.card--lime p, .card--bone p { color: rgba(4, 10, 20, .74); }
.card--navy p { color: rgba(243, 239, 230, .8); }

/* ---------- Fresh starts ---------- */
.flip-lime { background: var(--lime); color: var(--ink); }
.fresh { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 22vh, 240px) var(--pad); display: grid; justify-items: center; gap: clamp(18px, 3vh, 34px); }
.fresh > * { position: relative; }
.marquee--ghost { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font: 900 clamp(120px, 30vw, 520px)/.8 var(--f-grotesk); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(4, 10, 20, .22); }
.marquee--ghost .marquee__track { --shift: -33.3333%; }
.fresh__q { font: 700 clamp(17px, 2.1vw, 32px)/1.1 var(--f-grotesk); text-transform: uppercase; letter-spacing: .06em; }
.fresh__a { font: 900 clamp(46px, 10.4vw, 190px)/.88 var(--f-grotesk); text-transform: uppercase; letter-spacing: -.015em; max-width: 9em; }
.fresh .pill { margin-top: 14px; }

/* ---------- Careers teaser ---------- */
.careers-teaser { background: var(--navy); }
.careers-teaser__link { position: relative; display: grid; gap: 26px; padding: clamp(90px, 16vh, 180px) var(--pad); }
.careers-teaser__link .h-xxl { max-width: 8.5em; }
.careers-teaser__note { max-width: 44ch; font-size: clamp(16px, 1.4vw, 21px); color: rgba(243, 239, 230, .8); }
.careers-teaser__arrow { position: absolute; right: var(--pad); bottom: clamp(60px, 12vh, 140px); display: grid; place-items: center; width: clamp(64px, 9vw, 136px); aspect-ratio: 1; border-radius: 50%; background: var(--lime); transition: transform .6s var(--ease-io); }
.careers-teaser__arrow svg { width: 38%; height: 38%; stroke: var(--ink); }
.careers-teaser__link:hover .careers-teaser__arrow { transform: rotate(-45deg) scale(1.08); }

/* ---------- Contact ---------- */
.contact { padding: clamp(90px, 16vh, 190px) var(--pad) clamp(70px, 12vh, 140px); }
.contact__head { display: grid; gap: 26px; }
.contact__note { max-width: 44ch; color: var(--mute); font-size: clamp(16px, 1.4vw, 21px); }
.contact__panel { margin: clamp(46px, 8vh, 100px) 0 0 auto; max-width: 980px; min-height: 360px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px clamp(20px, 3vw, 48px); }
.field { display: grid; gap: 6px; }
.field--wide, .field:nth-child(3) { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.field label small { font-size: 1em; opacity: .7; letter-spacing: .08em; }
.field input, .field textarea {
  width: 100%; padding: 10px 0 12px; border: 0; border-radius: 0; outline: 0; resize: vertical;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat, linear-gradient(var(--line), var(--line)) 0 100% / 100% 1px no-repeat;
  color: var(--bone); font: 500 clamp(19px, 1.8vw, 26px)/1.3 var(--f-body);
  transition: background-size .6s var(--ease-io);
}
.field input:focus, .field textarea:focus { background-size: 100% 2px, 100% 1px; }
.field.is-error input, .field.is-error textarea { background-image: linear-gradient(var(--error), var(--error)), linear-gradient(var(--error), var(--error)); background-size: 100% 2px, 100% 1px; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--bone); transition: background-color 9999s; caret-color: var(--bone); }
.form[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__status { font-size: 15px; font-weight: 500; }
.form__status.is-error { color: var(--error); }
.form.is-sending .pill { opacity: .6; pointer-events: none; }
.form.is-sending .pill__arrow svg { animation: spin .8s linear infinite; }
.form__legal { grid-column: 1 / -1; font-size: 12px; color: rgba(243, 239, 230, .5); }
.form__legal a { text-decoration: underline; text-underline-offset: 3px; }
.grecaptcha-badge { visibility: hidden !important; }

.sent { display: grid; justify-items: start; gap: 14px; padding: 20px 0; }
.sent[hidden] { display: none; }
.sent__check { width: 120px; height: 120px; fill: none; stroke: var(--lime); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.sent__check circle { stroke-dasharray: 327; stroke-dashoffset: 327; transform: rotate(-90deg); transform-origin: 50% 50%; }
.sent__check path { stroke-dasharray: 70; stroke-dashoffset: 70; }
.sent h3 { font: 900 clamp(40px, 6vw, 96px)/.9 var(--f-grotesk); text-transform: uppercase; }
.sent p { font-size: clamp(17px, 1.5vw, 22px); color: var(--mute); }
.sent h3, .sent p { opacity: 0; transform: translateY(20px); }
.sent.is-in .sent__check circle { animation: draw .9s var(--ease-io) forwards; }
.sent.is-in .sent__check path { animation: draw .5s .7s var(--ease) forwards; }
.sent.is-in h3 { animation: rise .7s .5s var(--ease) forwards; }
.sent.is-in p { animation: rise .7s .65s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px var(--pad) 22px; overflow: hidden; }
.footer__top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px clamp(18px, 2.4vw, 40px); font-size: 15px; font-weight: 500; }
.footer__up { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s, border-color .3s; }
.footer__up svg { stroke: var(--bone); }
.footer__up:hover { background: var(--lime); border-color: var(--lime); }
.footer__up:hover svg { stroke: var(--ink); }
.footer__mega { margin: clamp(30px, 6vh, 70px) 0 0; text-align: center; white-space: nowrap; font: 900 24.4vw/.78 var(--f-grotesk); text-transform: uppercase; letter-spacing: -.02em; }
.footer__mega span { display: inline-block; }
.footer__mega i { font-style: normal; color: var(--lime); }
.footer__copy { margin-top: 26px; font-size: 13px; color: rgba(243, 239, 230, .55); }

/* ---------- Careers page ---------- */
.page-hero { position: relative; overflow: hidden; min-height: 92vh; min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; gap: 30px; padding: 130px var(--pad) clamp(40px, 8vh, 90px); }
.page-hero .h-xxl { font-size: min(clamp(54px, 11.5vw, 220px), 21vh); max-width: 7.6em; position: relative; }
.page-hero__sub { position: relative; max-width: 46ch; font-size: clamp(17px, 1.5vw, 22px); color: var(--mute); }
.status { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; width: max-content; max-width: 100%; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.traits { padding: clamp(80px, 14vh, 160px) var(--pad); }
.traits__grid { margin-top: clamp(36px, 6vh, 70px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid rgba(4, 10, 20, .2); }
.trait { padding: 26px 22px 30px 0; border-bottom: 1.5px solid rgba(4, 10, 20, .2); }
.trait + .trait { padding-left: 22px; border-left: 1.5px solid rgba(4, 10, 20, .2); }
.trait span { font: 400 30px/1 var(--f-display); color: var(--navy); }
.trait h3 { margin: 40px 0 10px; font: 900 clamp(28px, 3.2vw, 52px)/.95 var(--f-grotesk); text-transform: uppercase; }
.trait p { font-size: 16px; max-width: 30ch; }
.open-door { background: var(--navy); padding: clamp(100px, 18vh, 200px) var(--pad); display: grid; gap: 30px; justify-items: start; }
.open-door p { max-width: 48ch; font-size: clamp(17px, 1.5vw, 22px); color: rgba(243, 239, 230, .82); }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .steps { grid-template-columns: 1fr 1fr; }
  .traits__grid { grid-template-columns: 1fr 1fr; }
  .trait:nth-child(3) { padding-left: 0; border-left: 0; }
  .curve__dot b { display: none; }
  .approach.is-pinned .curve__dot.is-on b { display: block; }
  .approach.is-pinned .curve { height: 50%; }
  .approach.is-pinned .approach__ghost { display: none; }
  .curve__head { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .approach.is-pinned .steps { height: clamp(210px, 34vh, 300px); }
}
@media (max-width: 599px) {
  body { font-size: 16px; }
  .nav .pill--sm { display: none; }
  .brand__icon { width: 52px; }
  .hero { padding-top: 84px; }
  .hero__line--mom { font-size: 11vw; }
  .hero__line--mid { font-size: 6.4vw; margin: .2em 0 .3em; }
  .hero__line--imp { font-size: 23.4vw; }
  .hero__foot { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .hero__scroll { display: none; }
  .svc__head { grid-template-columns: 2.2em 1fr 36px; }
  .svc__tag { display: none; }
  .svc__plus { width: 36px; height: 36px; }
  .svc__body p { padding-left: var(--pad); }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
  .card { width: 78vw; }
  .careers-teaser__arrow { position: relative; right: auto; bottom: auto; }
  .traits__grid { grid-template-columns: 1fr; }
  .trait + .trait { padding-left: 0; border-left: 0; }
  .trait h3 { margin-top: 18px; }
  .footer__up { margin-left: auto; }
}

/* ---------- Reduced motion: no heavy motion, simple fade only ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .loader, .wipe { display: none !important; }
  .cradle__p--l { transform: rotate(var(--amp)); }
  .sent h3, .sent p { opacity: 1; transform: none; }
  .sent__check circle, .sent__check path { stroke-dashoffset: 0; }
  main, .footer { animation: fade-in .7s ease both !important; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
