/* Wutarin — paper, ink, electric blue & lime. Change a token here to restyle the whole page.
   Animation "before" states are scoped to html.anim, set only when JavaScript runs
   and the visitor has not asked for reduced motion. */
:root {
  --paper: #F2EFE8;
  --paper-2: #E8E4DA;
  --card: #FBFAF6;
  --ink: #0F1217;
  --ink-2: #1A1F27;
  --muted: #5B626D;
  --blue: #2D4BFF;
  --blue-2: #1F38D6;
  --lime: #D4F53C;
  --line: rgba(15, 18, 23, .12);
  --error: #D63B1F;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --wrap: 1280px;
  --r: 26px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 10px; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: currentColor; transform: rotate(45deg); }
.eyebrow.on-dark { color: var(--lime); }
.muted { color: var(--muted); }

/* ---------- Buttons: fill grows from where the pointer enters ---------- */
.btn {
  --x: 50%; --y: 50%;
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 28px; border: 0; border-radius: 999px; font: 600 16px var(--body); text-decoration: none; cursor: pointer;
  transition: transform .4s var(--spring), color .3s;
}
.btn::before {
  content: ""; position: absolute; left: var(--x); top: var(--y); z-index: -1; width: 10px; height: 10px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(60); }
.btn:active { transform: scale(.96); }
.btn .arr { display: grid; place-items: center; width: 30px; height: 30px; margin-right: -12px; border-radius: 50%; font-size: 15px; transition: transform .45s var(--spring), background .3s, color .3s; }
.btn:hover .arr { transform: rotate(45deg); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue::before { background: var(--ink); }
.btn-blue .arr { background: #fff; color: var(--blue); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink::before { background: var(--blue); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--paper); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime::before { background: #fff; }
.btn-lime .arr { background: var(--ink); color: var(--lime); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn[disabled] { cursor: progress; opacity: .8; }
.btn.loading .arr { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header: floating pill ---------- */
.top { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; pointer-events: none; transition: transform .5s var(--out); }
.top.away { transform: translateY(-130%); }
.nav-pill {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 980px; margin: 0 auto; padding: 8px 8px 8px 18px;
  background: rgba(251, 250, 246, .78); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(15, 18, 23, .35); pointer-events: auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -.03em; }
.brand img { transition: transform .6s var(--spring); }
.brand:hover img { transform: rotate(-12deg) scale(1.1); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { position: relative; padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background .25s; }
.nav a:not(.btn):hover { background: var(--paper-2); }
.nav a.active:not(.btn) { background: var(--ink); color: var(--paper); }
.menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu i { width: 18px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .35s var(--out); }
.menu[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; }
.hero::before { /* dotted paper texture */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(15, 18, 23, .13) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }
.blink { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(45, 75, 255, .5); animation: beacon 2s infinite; }
@keyframes beacon { 70% { box-shadow: 0 0 0 10px rgba(45, 75, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 75, 255, 0); } }
.hero h1 { font-size: clamp(42px, 5.3vw, 80px); line-height: .96; }
.h1-end { display: block; }
.rotator { display: block; margin: .06em 0; }
.rot-box { position: relative; display: inline-block; padding: 0 .18em .06em; background: var(--lime); border-radius: .2em; transform: rotate(-1.5deg); transition: width .6s var(--out); white-space: nowrap; overflow: hidden; vertical-align: bottom; }
.rot-word { display: inline-block; }
.rot-word.out { animation: wordOut .35s var(--out) forwards; }
.rot-word.in { animation: wordIn .55s var(--spring); }
@keyframes wordOut { to { transform: translateY(-110%); opacity: 0; } }
@keyframes wordIn { from { transform: translateY(110%); opacity: 0; } }
.lead { max-width: 560px; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bento tiles */
.bento { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.tile { position: relative; overflow: hidden; padding: 22px; border-radius: var(--r); min-height: 200px; translate: var(--px, 0) var(--py, 0); transition: translate .5s var(--out); }
.t-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: beacon 2s infinite; }
.t-chart { grid-row: span 2; display: flex; flex-direction: column; background: var(--ink); color: var(--paper); min-height: 420px; }
.big { margin-top: 18px; font: 800 clamp(56px, 6vw, 84px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.big small { font-size: .45em; color: var(--lime); margin-left: 4px; }
.spark { width: calc(100% + 44px); height: 55%; margin: auto -22px -22px; overflow: visible; }
.spark-line { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark-fill { fill: url(#fillG); }
.spark-dot { fill: var(--lime); stroke: var(--ink); stroke-width: 3; }
.t-lime { display: grid; place-items: center; background: var(--lime); }
.orbit { position: absolute; inset: 0; margin: auto; width: 88%; height: 88%; animation: spin 22s linear infinite; }
.orbit text { font: 600 12.5px var(--body); letter-spacing: .18em; fill: var(--ink); }
.lever { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.lever b { font: 800 64px/1 var(--display); letter-spacing: -.05em; }
.lever span { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.t-bars { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); }
.eq { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: auto; }
.eq i { flex: 1; height: 100%; border-radius: 6px 6px 2px 2px; background: var(--blue); transform-origin: 50% 100%; animation: eq 1.6s ease-in-out infinite alternate; }
.eq i:nth-child(odd) { background: var(--ink); }
.eq i:nth-child(1) { animation-delay: -.2s; } .eq i:nth-child(2) { animation-delay: -.9s; } .eq i:nth-child(3) { animation-delay: -.5s; }
.eq i:nth-child(4) { animation-delay: -1.3s; } .eq i:nth-child(5) { animation-delay: -.1s; } .eq i:nth-child(6) { animation-delay: -.7s; } .eq i:nth-child(7) { animation-delay: -1.1s; }
@keyframes eq { 0% { transform: scaleY(.25); } 50% { transform: scaleY(.8); } 100% { transform: scaleY(.45); } }
.t-blue { display: flex; flex-direction: column; justify-content: space-between; background: var(--blue); color: #fff; grid-column: 2; }
.t-blue p { font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
.w-mark { width: 64px; height: 64px; overflow: visible; }
.w-mark path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.t-blue:hover .w-mark path { animation: drawW 1.2s var(--out); }
@keyframes drawW { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Entrance: copy slides up, tiles spring in */
.anim [data-in] { opacity: 0; transform: translateY(26px); }
.anim .ready [data-in], .anim.ready [data-in] { opacity: 1; transform: none; transition: opacity .8s var(--out) calc(var(--d) * .1s), transform 1s var(--out) calc(var(--d) * .1s); }
.anim [data-pop] { opacity: 0; transform: scale(.85) rotate(-2deg); }
.anim.ready [data-pop] { opacity: 1; transform: none; transition: opacity .6s var(--out) calc(var(--d) * .12s + .3s), transform .9s var(--spring) calc(var(--d) * .12s + .3s); }

/* ---------- Numbers ---------- */
.numbers { padding: 10px 0 100px; }
.num-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
.num-row > div { display: flex; flex-direction: column; gap: 6px; padding: 26px 20px 0 0; }
.num-row > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.num-row b { font: 800 clamp(48px, 5vw, 72px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.num-row span { color: var(--muted); font-size: 15px; }

/* Wipe reveal (clip from the bottom) */
.anim [data-wipe] { clip-path: inset(0 0 100% 0); transform: translateY(30px); }
.anim [data-wipe].seen { clip-path: inset(0 0 0 0); transform: none; transition: clip-path 1.1s var(--out), transform 1.1s var(--out); }
.num-row > [data-wipe]:nth-child(2) { transition-delay: .08s; }
.num-row > [data-wipe]:nth-child(3) { transition-delay: .16s; }
.num-row > [data-wipe]:nth-child(4) { transition-delay: .24s; }

/* Word-by-word blur reveal for headings (words wrapped by main.js) */
[data-words] .w { display: inline-block; }
.anim [data-words] .w { opacity: 0; filter: blur(10px); transform: translateY(.3em); }
.anim [data-words].seen .w { opacity: 1; filter: none; transform: none; transition: opacity .7s var(--out), filter .7s var(--out), transform .9s var(--out); transition-delay: calc(var(--i) * 45ms); }

/* ---------- Services: horizontal pinned track ---------- */
.services { position: relative; height: 300vh; background: var(--ink); color: var(--paper); border-radius: 44px 44px 0 0; }
.svc-pin { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; gap: 48px; height: 100vh; overflow: hidden; padding-top: 70px; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; width: 100%; }
.services .eyebrow { color: var(--lime); }
.services h2 { max-width: 760px; font-size: clamp(36px, 4.6vw, 66px); }
.svc-meter { display: flex; align-items: center; gap: 12px; font: 700 15px var(--display); font-variant-numeric: tabular-nums; }
.svc-meter i { position: relative; width: 120px; height: 3px; border-radius: 3px; background: rgba(242, 239, 232, .2); overflow: hidden; }
.svc-meter b { position: absolute; inset: 0; background: var(--lime); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.svc-track { display: flex; gap: 22px; padding: 0 max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); will-change: transform; }
.svc {
  flex: none; position: relative; display: flex; flex-direction: column; width: min(440px, 78vw); min-height: 440px; padding: 34px; border-radius: 32px;
  transition: transform .6s var(--spring);
}
.svc:hover { transform: translateY(-10px) rotate(-1deg); }
.svc-n { font: 800 15px var(--display); letter-spacing: .05em; opacity: .7; }
.svc-ico { width: 64px; height: 64px; margin: 28px 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--spring); }
.svc:hover .svc-ico { transform: scale(1.15) rotate(8deg); }
.svc h3 { margin-top: 40px; font-size: clamp(30px, 3vw, 40px); }
.svc p { margin-top: 14px; font-size: 17px; opacity: .78; }
.s-ink { background: var(--ink-2); border: 1px solid rgba(242, 239, 232, .14); }
.s-blue { background: var(--blue); color: #fff; }
.s-lime { background: var(--lime); color: var(--ink); }
.s-paper { background: var(--paper); color: var(--ink); }

/* ---------- Process: stacking sticky cards ---------- */
.process { padding: 140px 0 120px; }
.proc-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 70px; align-items: start; }
.proc-intro { position: sticky; top: 130px; }
.proc-intro h2 { font-size: clamp(38px, 4.6vw, 66px); }
.proc-intro .muted { margin-top: 20px; font-size: 18px; }
.stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.st {
  position: sticky; top: calc(120px + var(--n) * 22px); display: grid; grid-template-columns: auto 1fr; gap: 22px 26px; align-items: start;
  padding: 34px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 -12px 30px -22px rgba(15, 18, 23, .35);
  transform: scale(var(--s, 1)); transform-origin: 50% 0; filter: brightness(var(--b, 1));
}
.st:nth-child(2) { background: #F7F4EC; }
.st:nth-child(3) { background: #FFFFFF; }
.st:nth-child(4) { background: var(--ink); color: var(--paper); }
.st:nth-child(4) p { color: rgba(242, 239, 232, .7); }
.st-n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--blue); color: #fff; font: 800 22px var(--display); }
.st:nth-child(4) .st-n { background: var(--lime); color: var(--ink); }
.st h3 { font-size: 32px; margin: 4px 0 10px; }
.st p { color: var(--muted); font-size: 17px; }
.st-dots { grid-column: 2; display: flex; gap: 6px; }
.st-dots i { width: 28px; height: 5px; border-radius: 3px; background: var(--line); }
.st-dots i.on { background: var(--blue); }
.st:nth-child(4) .st-dots i { background: rgba(242, 239, 232, .2); }
.st:nth-child(4) .st-dots i.on { background: var(--lime); }

/* ---------- Statement ---------- */
.statement { padding: 60px 0 150px; }
.say { max-width: 1100px; font: 700 clamp(32px, 4.6vw, 64px)/1.1 var(--display); letter-spacing: -.03em; }
.say .w { transition: color .3s; }
.anim .say .w { color: rgba(15, 18, 23, .16); }
.anim .say .w.lit { color: var(--ink); }
.say mark { color: inherit; padding: 0 .06em; background: linear-gradient(var(--lime), var(--lime)) 0 88% / 100% .42em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.anim .say mark { background-size: 0% .42em; transition: background-size 1.2s var(--out); }
.anim .say.marked mark { background-size: 100% .42em; }

/* ---------- Contact ---------- */
.contact { padding-bottom: 120px; }
.panel { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; padding: 60px; background: var(--ink); color: var(--paper); border-radius: 40px; }
.panel h2 { font-size: clamp(36px, 4.4vw, 62px); }
.soft { margin-top: 20px; color: rgba(242, 239, 232, .7); font-size: 18px; }
.mail { display: inline-block; margin-top: 26px; font: 700 22px var(--display); color: var(--lime); text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--out); }
.mail:hover { background-size: 100% 2px; }
.next { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; color: rgba(242, 239, 232, .8); }
.next li { display: flex; align-items: center; gap: 14px; }
.next b { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: rgba(242, 239, 232, .1); color: var(--lime); font: 700 14px var(--display); }

.form { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--card); color: var(--ink); border-radius: 28px; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.meter-val { color: var(--ink); font-variant-numeric: tabular-nums; }
.meter i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.meter em { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--lime)); transform: scaleX(var(--done, 0)); transform-origin: 0 50%; transition: transform .6s var(--spring); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 44px 14px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px;
  color: var(--ink); font: 400 16px var(--body); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: rgba(15, 18, 23, .3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(45, 75, 255, .15); }
.field::after { /* tick for valid fields */
  content: "✓"; position: absolute; right: 14px; top: 45px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; transform: scale(0); transition: transform .4s var(--spring); pointer-events: none;
}
.field.ok::after { transform: scale(1); }
.field.ok input, .field.ok textarea { border-color: #8FB800; }
.field.bad input, .field.bad textarea { border-color: var(--error); background: #FFF6F3; }
.field.bad label { color: var(--error); }
.anim .field.bad { animation: wobble .4s var(--out); }
@keyframes wobble { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-2px); } }
.err { display: grid; grid-template-rows: 0fr; font-size: 14px; font-weight: 500; color: var(--error); transition: grid-template-rows .3s var(--out); }
.field.bad .err { grid-template-rows: 1fr; }
.chars { align-self: flex-end; margin-top: -2px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; pointer-events: none; }
.form .btn { align-self: flex-start; }
.status { display: flex; align-items: center; gap: 10px; min-height: 1.6em; font-size: 15px; font-weight: 500; }
.status.error { color: var(--error); }
.status .tick { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); font-weight: 700; animation: popIn .5s var(--spring); }
@keyframes popIn { from { transform: scale(0); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.confetti { position: fixed; inset: 0; z-index: 80; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Footer ---------- */
.foot { padding: 30px 0 34px; border-top: 1.5px solid var(--ink); }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 0 40px; text-decoration: none; font: 800 clamp(40px, 8vw, 120px)/.95 var(--display); letter-spacing: -.05em; }
.foot-cta span { background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 6px no-repeat; transition: background-size .7s var(--out); }
.foot-cta:hover span { background-size: 100% 6px; }
.foot-cta b { display: grid; place-items: center; flex: none; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--lime); font-size: .6em; transition: transform .6s var(--spring), background .3s, color .3s; }
.foot-cta:hover b { transform: rotate(45deg) scale(1.08); background: var(--blue); color: #fff; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--blue); }
.foot-brand { display: flex; align-items: center; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .menu { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px); flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 40px -20px rgba(15, 18, 23, .4);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: 50% 0; transition: opacity .3s, transform .4s var(--out), visibility 0s .4s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--spring); }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 17px; }
  .nav .btn { margin-top: 6px; min-height: 52px; }
  .hero { padding-top: 130px; }
  .hero-grid, .proc-grid, .panel { grid-template-columns: 1fr; gap: 50px; }
  .proc-intro { position: static; }
  .num-row { grid-template-columns: repeat(2, 1fr); }
  .num-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .num-row > div:nth-child(n+3) { margin-top: 26px; }
  .panel { padding: 40px; }
}
/* Below 760px the services track stacks normally instead of scrolling sideways */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 116px 0 70px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-chart { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .t-blue { grid-column: auto; }
  .tile { min-height: 170px; padding: 18px; }
  .lever b { font-size: 48px; }
  .services { height: auto; border-radius: 30px 30px 0 0; padding: 90px 0; }
  .svc-pin { position: static; height: auto; padding-top: 0; overflow: visible; }
  .svc-meter { display: none; }
  .svc-track { flex-direction: column; padding: 0 16px; transform: none !important; }
  .svc { width: 100%; min-height: 0; padding: 28px; }
  .svc-ico { margin-bottom: 0; }
  .svc h3 { margin-top: 30px; }
  .process { padding: 100px 0 80px; }
  .st { grid-template-columns: 1fr; padding: 26px; top: calc(90px + var(--n) * 16px); }
  .st-dots { grid-column: 1; }
  .st h3 { font-size: 28px; }
  .statement { padding: 30px 0 100px; }
  .panel { padding: 30px 18px; border-radius: 30px; }
  .form { padding: 22px 18px; }
  .row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .form .btn { align-self: stretch; }
  .num-row b { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
