:root {
  --white: #fbfbf9;
  --paper: #f2f2ef;
  --ink: #0d0d10;
  --ink-2: #16171c;
  --muted: #676a72;
  --faint: #a7a9b0;
  --rule: rgba(13, 13, 16, .1);
  --blue: #2d4bff;
  --blue-2: #1f39e0;
  --blue-soft: #e8ecff;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 68px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius: clamp(16px, 1.5vw, 22px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--white); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1280px, 100% - var(--gutter) * 2); margin-inline: auto; }
.sl-mask { padding: 0 .1em .12em 0; margin: 0 -.1em -.12em 0; }

/* ---------- Shared type ---------- */
.kicker { display: flex; align-items: center; gap: 10px; font: 500 .76rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.blink { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
h1, h2 { font-weight: 600; letter-spacing: -.052em; }
h3 { font-weight: 600; letter-spacing: -.03em; line-height: 1.12; }
.section-title { margin-top: 18px; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; }
.section-lede { max-width: 44ch; margin-top: 18px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); }

/* "Selected text" highlight — the studio's signature accent */
.sel { padding: 0 .06em; margin: 0 -.02em; border-radius: .08em; color: #fff; background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 60% / 100% 88%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.motion .sel { color: inherit; background-size: 0% 88%; transition: background-size 1s var(--ease), color .3s .3s; }
.motion .sel.is-on { color: #fff; background-size: 100% 88%; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font: 600 .95rem/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.btn span { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 26px -12px rgba(45, 75, 255, .8); }
.btn-blue:hover { background: var(--blue-2); }
.btn-line { background: #fff; border-color: var(--rule); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost-dark { background: transparent; border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-ghost-dark small { font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #9aa0ad; }
.btn-sm { height: 40px; padding: 0 16px; font-size: .88rem; border-radius: 10px; }
.btn-lg { height: 56px; padding: 0 24px; font-size: 1rem; border-radius: 14px; }
.link { display: inline-flex; gap: 8px; width: fit-content; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-weight: 600; transition: color .25s; }
.link:hover { color: var(--blue); }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; height: var(--nav-h); padding-inline: var(--gutter); background: rgba(251, 251, 249, .82); border-bottom: 1px solid transparent; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); transition: border-color .3s; }
.nav.is-scrolled { border-color: var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 6px; font-weight: 720; font-size: 1.15rem; letter-spacing: -.045em; white-space: nowrap; }
.wm-sub { align-self: flex-end; margin-bottom: .32em; font: 500 .6rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: .93rem; color: #3d3f45; }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--blue); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px)); }
.hero-title { max-width: 23ch; margin-top: 24px; font-size: clamp(2.4rem, 5.2vw, 4.9rem); line-height: 1.02; }
.typer { color: var(--blue); white-space: nowrap; }
.typer-word { border-radius: .08em; background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 60% / 0% 92%; transition: background-size .4s var(--ease-io), color .2s .15s; }
.typer.is-selected .typer-word { background-size: 100% 92%; color: #fff; }
.caret { display: inline-block; width: .055em; height: .86em; margin-left: .04em; vertical-align: -.06em; background: var(--blue); animation: blink 1s steps(1) infinite; }
.typer.is-busy .caret { animation: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Service cards with live mini-demos */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(50px, 7vw, 90px); }
.card { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: .94; border-radius: var(--radius); background: var(--ink); color: #fff; transition: box-shadow .6s var(--ease); }
.card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(90% 70% at var(--gx, 50%) var(--gy, 0%), rgba(45, 75, 255, .42), transparent 65%); }
.card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 22px; mask-image: linear-gradient(transparent, #000 30%, transparent 85%); }
.card:hover { box-shadow: 0 30px 60px -30px rgba(20, 30, 120, .55); }
.card-visual { position: absolute; inset: 8% 7% 21%; display: grid; place-items: center; }
.card-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: baseline; justify-content: space-between; padding: clamp(18px, 2vw, 26px); }
.card-foot span { color: #8fa0ff; font: 500 .78rem var(--mono); }
.card-foot h2 { font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; }

/* Mini window chrome used inside the cards */
.win { width: 100%; overflow: hidden; container-type: inline-size; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .8s var(--ease); }
.card:hover .win { transform: translateY(-4px) scale(1.015); }
.win-bar { display: flex; align-items: center; gap: 8px; height: 24px; padding: 0 9px; background: #eceef2; border-bottom: 1px solid #dcdfe5; font: 500 .62rem var(--mono); color: #5d6068; }
.win-bar-dark { background: #181b22; border-color: #23262e; color: #8b90a0; }
.dots { display: flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #ff6159; }
.dots i:nth-child(2) { background: #ffbd2e; }
.dots i:nth-child(3) { background: #28c941; }
.win-reload { display: inline-block; font-size: .8rem; line-height: 1; }
.win-refresh.is-loading .win-reload { animation: spin .7s var(--ease); }
@keyframes spin { to { rotate: 360deg; } }
.win-url { flex: 1; min-width: 0; padding: 2px 8px; border-radius: 99px; background: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win-load { position: relative; height: 2px; background: #fff; }
.win-load span { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; opacity: 0; }
.win-refresh.is-loading .win-load span { opacity: 1; transform: scaleX(.7); transition: transform .6s var(--ease); }
.win-refresh.is-new .win-load span { opacity: 0; transform: scaleX(1); transition: transform .3s, opacity .4s .3s; }
.win-view { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; font-size: 1.6cqi; }
.win-scan { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 2px; background: var(--blue); box-shadow: 0 0 14px 3px rgba(45, 75, 255, .6); opacity: 0; }
.win-refresh.is-new .win-scan { animation: scan 1s var(--ease-io) forwards; }
@keyframes scan { 0% { top: 0; opacity: 1; } 95% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.win-refresh .page-new { clip-path: inset(0 0 100% 0); }
.win-refresh.is-new .page-new { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-io); }
.no-anim, .no-anim * { transition: none !important; animation: none !important; }
html:not(.motion) .win-refresh .page-new { clip-path: none; }

/* Dated "before" page */
.page { position: absolute; inset: 0; overflow: hidden; }
.page-old { background: #d6d6d6; color: #000; font-family: "Times New Roman", Times, serif; line-height: 1.25; }
.old-top { display: flex; align-items: baseline; gap: 1em; padding: .7em 1.2em; background: linear-gradient(#3e74e0, #1b3c96); color: #fff; }
.old-top b { font: bold 1.9em Arial, sans-serif; text-shadow: .08em .08em 0 #0b1f5c; }
.old-top sup { font-size: .45em; }
.old-top span { font-style: italic; color: #ffe066; }
.old-nav { padding: .35em 1.2em; border-top: .12em solid #fff; border-bottom: .12em solid #808080; background: #c0c0c0; font: .95em Arial, sans-serif; color: #0000ee; }
.old-marquee { overflow: hidden; padding: .25em 0; background: #ffff66; color: #c00; font: bold .9em "Comic Sans MS", cursive; white-space: nowrap; }
.old-marquee span { display: inline-block; padding-left: 100%; animation: old-marquee 12s linear infinite; }
@keyframes old-marquee { to { transform: translateX(-100%); } }
.old-body { display: grid; grid-template-columns: 13em 1fr; gap: 1em; padding: 1em 1.2em; }
.old-side { align-self: start; padding: .6em; border: .15em outset #eee; background: #fff; font: .85em Arial, sans-serif; }
.old-side p { margin: .35em 0; color: #0000ee; text-decoration: underline; }
.old-side .old-box { margin: -.6em -.6em .5em; padding: .25em .5em; background: #1b3c96; color: #fff; font-weight: bold; text-decoration: none; }
.old-construction { margin-top: 1em; padding: .5em .3em; background: #ffd400; box-shadow: inset 0 0 0 .3em #111; font: bold .85em Arial, sans-serif; text-align: center; }
.old-main { padding: 1em 1.4em; border: .15em inset #eee; background: #fff; text-align: center; }
.old-main .old-h { margin-bottom: .35em; color: #800000; font: bold 2em "Times New Roman", serif; }
.old-img { display: grid; place-items: center; width: 70%; height: 6.5em; margin: .8em auto; border: .12em dashed #999; background: #eee; color: #999; font: .85em Arial, sans-serif; }
.old-btn { display: inline-block; padding: .35em .9em; border: .15em outset #f4f4f4; background: #e0e0e0; font: .9em Arial, sans-serif; }

/* Refreshed "after" page */
.page-new { background: radial-gradient(70% 60% at 50% 0%, #e3e8ff, #fff 70%); color: #0c0c0e; font-family: var(--sans); }
.new-nav { display: flex; align-items: center; gap: 1.5em; padding: 1em 1.6em; font-size: .85em; }
.new-nav b { font-size: 1.2em; font-weight: 750; letter-spacing: -.04em; }
.new-links { display: flex; gap: 1.5em; margin-left: auto; color: #55585f; }
.new-links i { font-style: normal; }
.new-cta { padding: .5em .95em; border-radius: .55em; background: #0c0c0e; color: #fff; font-weight: 600; }
.new-hero { padding: 1.2em 2em 0; text-align: center; }
.new-pill { display: inline-block; padding: .3em .85em; border: 1px solid #d3daff; border-radius: 99px; background: #eef1ff; color: var(--blue); font-size: .74em; font-weight: 600; }
.new-title { margin-top: .45em; font-size: 2.9em; font-weight: 680; line-height: 1.02; letter-spacing: -.045em; }
.new-btns { display: flex; justify-content: center; gap: .6em; margin-top: 1em; }
.nb { padding: .6em 1.15em; border: 1px solid #dcdde2; border-radius: .6em; background: #fff; font-size: .8em; font-weight: 600; }
.nb-blue { border-color: var(--blue); background: var(--blue); color: #fff; }
.new-app { position: absolute; left: 9%; right: 9%; top: 19.5em; bottom: -1em; display: grid; grid-template-columns: 8em minmax(0, 1fr); overflow: hidden; border: 1px solid #e3e4ea; border-radius: .8em .8em 0 0; background: #fff; box-shadow: 0 1.5em 4em -1.2em rgba(30, 45, 140, .3); }
.app-side { display: grid; align-content: start; gap: .65em; padding: 1.1em .9em; border-right: 1px solid #eef0f3; background: #fafbfc; }
.app-side i { height: .55em; border-radius: 99px; background: #e4e6ec; }
.app-side i:first-child { width: 60%; background: var(--blue); }
.app-main { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 1em; padding: 1em 1.2em; }
.app-head { display: flex; justify-content: space-between; }
.app-head i { width: 30%; height: .7em; border-radius: 99px; background: #e4e6ec; }
.app-head span { width: 4.5em; height: 1.3em; border-radius: .4em; background: #eef1ff; }
.app-chart { display: flex; align-items: flex-end; gap: .5em; }
.app-chart i { flex: 1; height: calc(var(--h) * 100%); border-radius: .3em .3em 0 0; background: linear-gradient(var(--blue), #9aabff); transform-origin: bottom; }
.motion .win-refresh .app-chart i { transform: scaleY(0); }
.motion .win-refresh.is-new .app-chart i { transform: scaleY(1); transition: transform .8s var(--ease) calc(.55s + var(--i, 0) * 50ms); }

/* Build card: code + preview */
.win-build { background: #0f1115; }
.win-file { margin-left: 6px; }
.build { display: grid; grid-template-columns: 1.15fr .85fr; aspect-ratio: 16 / 10.5; }
.code { margin: 0; padding: 8% 6%; overflow: hidden; color: #e6e8ee; font: clamp(6.5px, 2.15cqi, 11px)/1.7 var(--mono); white-space: pre; }
.code .tg { color: #7ea2ff; }
.code .at { color: #c8a8ff; }
.code .st { color: #9fe0a0; }
.code .caret { width: .55em; height: 1.1em; margin: 0; vertical-align: -.2em; background: #7ea2ff; }
.preview { position: relative; background: #fff; }
.pv { position: absolute; border-radius: 4px; background: #e8ebf3; opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.pv.on { opacity: 1; transform: none; }
.pv-nav { top: 7%; left: 8%; right: 8%; height: 7%; }
.pv-title { top: 22%; left: 8%; width: 80%; height: 9%; background: #121318; }
.pv-title2 { top: 34%; left: 8%; width: 58%; height: 9%; background: #121318; }
.pv-text { top: 48%; left: 8%; width: 66%; height: 4%; background: #d6d9e2; }
.pv-btn { top: 57%; left: 8%; width: 34%; height: 9%; background: var(--blue); border-radius: 6px; }
.pv-card { bottom: 7%; width: 39%; height: 18%; background: var(--blue-soft); }
.pv-card.a { left: 8%; }
.pv-card.b { left: 53%; }

/* Feed card */
.win-feed { display: flex; flex-direction: column; padding: 4.5cqi; }
.feed-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 3cqi; border-bottom: 1px solid var(--rule); font-size: clamp(10px, 3.2cqi, 14px); }
.live { display: flex; align-items: center; gap: 5px; color: #15803d; font: 500 clamp(8px, 2.3cqi, 11px) var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 100% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } }
.feed { display: grid; align-content: start; gap: 2.2cqi; aspect-ratio: 16 / 9; overflow: hidden; margin: 0; padding: 3cqi 0 0; list-style: none; }
.feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2.4cqi; padding: 2.6cqi 3cqi; border: 1px solid var(--rule); border-radius: 2.4cqi; background: #fafbfc; font-size: clamp(9px, 2.9cqi, 13px); }
.feed li b { overflow: hidden; font-weight: 560; white-space: nowrap; text-overflow: ellipsis; }
.feed li.is-new { border-color: #c9d2ff; background: #f5f7ff; animation: feed-in .7s var(--ease); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
.chip { padding: .2em .6em; border-radius: 99px; background: #eef0f3; color: #555962; font: 500 .78em var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.chip-blue { background: var(--blue-soft); color: var(--blue); }
.feed time { color: var(--muted); font: .82em var(--mono); }

.explore { display: flex; flex-direction: column; align-items: center; gap: 6px; width: fit-content; margin: clamp(40px, 5vw, 64px) auto 0; color: var(--muted); font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.explore i { font-style: normal; color: var(--blue); animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(100px, 13vw, 190px) clamp(60px, 8vw, 110px); }
.statement-text { max-width: 22ch; margin-top: 22px; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 1.04; }

/* ---------- Services ---------- */
.services { padding-bottom: clamp(100px, 12vw, 170px); }
.svc { display: grid; grid-template-columns: minmax(200px, .36fr) minmax(0, 1fr); gap: 18px clamp(24px, 5vw, 80px); padding-block: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--rule); }
.svc:last-child { border-bottom: 1px solid var(--rule); }
.svc { position: relative; isolation: isolate; }
.svc::before { content: ""; position: absolute; z-index: -1; inset: 0 -20px; border-radius: 14px; background: linear-gradient(90deg, var(--blue-soft), rgba(232, 236, 255, 0) 85%); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.svc:hover::before { transform: scaleX(1); }
.svc-label { display: flex; align-items: center; gap: 16px; align-self: start; }
.svc-label p { display: flex; gap: 12px; align-items: baseline; font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.svc-label p span { color: var(--blue); font: 500 .76rem var(--mono); }
.svc-icon { flex: none; width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--rule); fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: background .4s, box-shadow .4s; }
.svc:hover .svc-icon { box-shadow: 0 0 0 1px rgba(45, 75, 255, .4), 0 8px 20px -8px rgba(45, 75, 255, .5); }
.svc-icon * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .svc-icon * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease); }
.motion .svc.is-drawn .svc-icon * { stroke-dashoffset: 0; }
.motion .svc.is-drawn .svc-icon *:nth-child(2) { transition-delay: .15s; }
.motion .svc.is-drawn .svc-icon *:nth-child(3) { transition-delay: .3s; }
.svc-lede { transition: translate .6s var(--ease); }
.svc:hover .svc-lede { translate: 6px 0; }
.svc-lede { max-width: 44ch; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.35; letter-spacing: -.02em; }
.svc-body ul { display: grid; gap: 10px; margin-top: 20px; padding: 0; list-style: none; color: var(--muted); }
.svc-body li { display: flex; gap: 12px; }
.svc-body li::before { content: "→"; color: var(--blue); }

/* ---------- Work ---------- */
.work { padding-bottom: clamp(100px, 12vw, 170px); }
.work .section-title { margin-bottom: clamp(36px, 5vw, 64px); }
.case + .case { margin-top: clamp(56px, 7vw, 100px); }
.case-stage { position: relative; isolation: isolate; display: block; overflow: hidden; aspect-ratio: 16 / 8.6; border-radius: calc(var(--radius) + 6px); }
.stage-violet { background: linear-gradient(135deg, #c9c2ff, #e6e4ff 45%, #cfe0ff); }
.stage-ink { background: linear-gradient(135deg, #0d0d14, #151a3a 55%, #2236b8); }
.glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; animation: glow 16s ease-in-out infinite alternate; }
.stage-violet .glow-a { top: -45%; left: -10%; background: radial-gradient(closest-side, rgba(110, 80, 255, .5), transparent); }
.stage-violet .glow-b { bottom: -55%; right: -10%; background: radial-gradient(closest-side, rgba(45, 75, 255, .4), transparent); animation-duration: 21s; animation-direction: alternate-reverse; }
.stage-ink .glow-a { top: -45%; left: -10%; background: radial-gradient(closest-side, rgba(45, 75, 255, .55), transparent); }
.stage-ink .glow-b { bottom: -55%; right: -15%; background: radial-gradient(closest-side, rgba(140, 90, 255, .45), transparent); animation-duration: 21s; animation-direction: alternate-reverse; }
@keyframes glow { to { transform: translate(18%, 12%) scale(1.15); } }
.shot { position: absolute; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 34px 70px -24px rgba(10, 12, 40, .55), 0 0 0 1px rgba(255, 255, 255, .3); }
.shot-bar { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; background: #eceef2; border-bottom: 1px solid #dcdfe5; }
.shot-bar i { width: 6px; height: 6px; border-radius: 50%; background: #d0d3d9; }
.shot-bar em { margin: 0 auto; padding: 1px 16px; border-radius: 99px; background: #fff; color: #5d6068; font: normal .6rem var(--mono); transform: translateX(-14px); }
.shot img { width: 100%; height: auto; }
.shot-main { z-index: 2; left: 22%; top: 12%; width: 56%; }
.shot-side { z-index: 1; top: 26%; width: 33%; }
.shot-left { left: 4%; }
.shot-right { right: 4%; }
.case-meta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 10px 24px; padding: 22px 4px 0; }
.case-num { color: var(--blue); font: 500 .78rem var(--mono); }
.case-meta h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); letter-spacing: -.045em; }
.case-meta p { max-width: 56ch; margin-top: 4px; color: var(--muted); }
.case-meta p span { margin-right: 10px; color: var(--ink); font: 500 .7rem var(--mono); letter-spacing: .07em; text-transform: uppercase; }

/* ---------- Process: one site evolves through four steps ---------- */
.process { padding-bottom: clamp(100px, 12vw, 170px); }
.process-panel { position: relative; isolation: isolate; overflow: clip; margin-inline: clamp(8px, 1.1vw, 16px); padding-top: clamp(80px, 10vw, 140px); border-radius: clamp(24px, 3vw, 40px); background: var(--ink); color: #fff; }
.process-fx { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.process-fx::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%); }
.process-fx i { position: absolute; width: 60vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; filter: blur(20px); animation: drift 18s ease-in-out infinite alternate; }
.fx-a { top: -20vw; left: -10vw; background: radial-gradient(closest-side, rgba(45, 75, 255, .45), transparent); }
.fx-b { top: 30%; right: -20vw; background: radial-gradient(closest-side, rgba(124, 92, 255, .28), transparent); animation-duration: 24s !important; animation-direction: alternate-reverse !important; }
.process-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 60px; flex-wrap: wrap; }
.process-head .kicker { color: #9aa0ad; }
.process-head .section-lede { max-width: 34ch; margin: 0 0 6px; color: #a4a9b6; }

.pflow { height: 100vh; height: 100svh; }
.pflow-inner { display: flex; flex-direction: column; height: 100%; padding-top: calc(var(--nav-h) + clamp(14px, 3vh, 36px)); padding-bottom: clamp(20px, 4vh, 44px); }
.ptabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 20px); margin: 0; padding: 0; list-style: none; }
.ptab { display: grid; gap: 12px; width: 100%; padding: 0 0 6px; border: 0; background: none; color: rgba(255, 255, 255, .42); font: 500 .74rem var(--mono); letter-spacing: .07em; text-align: left; text-transform: uppercase; cursor: pointer; transition: color .4s; }
.ptab:hover, .ptab.is-active { color: #fff; }
.ptab b { margin-right: 8px; font-weight: 500; transition: color .4s; }
.ptab.is-active b { color: #8fa0ff; }
.ptab i { display: block; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.ptab em { display: block; height: 100%; background: linear-gradient(90deg, #5b74ff, #9db0ff); transform: scaleX(var(--f, 0)); transform-origin: left; }
html:not(.motion) .ptabs { display: none; }

.pgrid { display: grid; flex: 1; min-height: 0; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(30px, 5vw, 80px); margin-top: clamp(18px, 4vh, 44px); }
.pcount { display: flex; margin-bottom: clamp(10px, 2vh, 22px); color: transparent; font: 700 clamp(4.5rem, 9vw, 8.5rem)/.9 var(--sans); letter-spacing: -.06em; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); }
.pcount-win { display: block; height: .9em; overflow: hidden; }
.pcount-roll { display: block; }
.pcount-roll i { display: block; height: .9em; font-style: normal; }
.pcount span:first-child, .pcount-roll i { background: linear-gradient(180deg, rgba(91, 116, 255, .9), rgba(91, 116, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; }
.ptexts { display: grid; }
.ptext { grid-area: 1 / 1; }
.motion .ptext { opacity: 0; visibility: hidden; transform: translateY(28px); filter: blur(8px); transition: opacity .45s, transform .8s var(--ease), filter .6s, visibility 0s .8s; }
.motion .ptext.is-past { transform: translateY(-28px); }
.motion .ptext.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .6s .12s, transform .9s var(--ease) .12s, filter .7s .12s, visibility 0s; }
.ptext-num { color: #8fa0ff; font: 500 .74rem var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.ptext-num i { color: rgba(255, 255, 255, .35); font-style: normal; }
.ptext h3 { margin-top: 14px; font-size: clamp(1.9rem, 3.1vw, 3rem); letter-spacing: -.045em; line-height: 1.02; }
.ptext p { max-width: 38ch; margin-top: 16px; color: #a4a9b6; font-size: clamp(1rem, 1.2vw, 1.12rem); }
.ptext-out { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.ptext-out li { display: flex; align-items: center; gap: 8px; padding: 7px 13px 7px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; background: rgba(255, 255, 255, .04); font: 500 .72rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.ptext-out li::before { content: "✓"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 .6rem var(--sans); }

/* The device: one browser that evolves */
.pdevice { position: relative; height: 100%; max-height: 620px; container-type: size; display: grid; place-items: center; }
.ev { position: relative; display: flex; flex-direction: column; width: 100%; height: 84%; overflow: hidden; border-radius: 14px; background: #fff; color: var(--ink); font-size: clamp(6px, 1.5cqi, 13px); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1), 0 0 80px -10px rgba(45, 75, 255, .35); }
.ev-bar { display: flex; flex: none; align-items: center; gap: 1em; height: 2.8em; padding: 0 1em; border-bottom: 1px solid #dcdfe5; background: #eceef2; color: #5d6068; font: 500 .9em var(--mono); }
.ev-bar .dots i { width: .7em; height: .7em; }
.ev-url { display: flex; flex: 1; align-items: center; justify-content: center; gap: .5em; min-width: 0; height: 1.9em; padding: 0 1em; overflow: hidden; border-radius: 99px; background: #fff; white-space: nowrap; }
.ev-lock { flex: none; width: 1.05em; height: 1.05em; fill: none; stroke: #15803d; stroke-width: 1.4; }
.ev-badges { display: grid; }
.ev-badges em { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: .45em; padding: .3em .8em; border-radius: 99px; font-style: normal; white-space: nowrap; }
.ev-review { background: var(--blue-soft); color: var(--blue); }
.ev-live { background: #dcfce7; color: #15803d; }
.ev-live i { width: .55em; height: .55em; border-radius: 50%; background: #16a34a; animation: pulse 1.6s infinite; }
html:not(.motion) .ev-review { visibility: hidden; }
.ev-view { position: relative; flex: 1; overflow: hidden; }
.ev-page { position: absolute; inset: 0; overflow: hidden; }

/* Shared page layout (reflows with the window) */
.e-nav { display: flex; align-items: center; gap: 1.6em; padding: 1.4em 2.2em; }
.e-links { display: flex; gap: 1.6em; margin-left: auto; }
.e-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 2.4em; padding: 2.4em 2.2em 0; }
.e-copy { display: grid; justify-items: start; gap: .9em; }
.e-btns { display: flex; gap: .6em; margin-top: .4em; }
.e-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; padding: 2.6em 2.2em 0; }
.ev[data-bp="tablet"] .e-hero { grid-template-columns: 1fr; text-align: center; }
.ev[data-bp="tablet"] .e-copy { justify-items: center; }
.ev[data-bp="tablet"] .e-visual { width: 80%; margin-inline: auto; }
.ev[data-bp="tablet"] .e-cards { grid-template-columns: 1fr 1fr; }
.ev[data-bp="phone"] .e-nav { padding: 1.2em 1.4em; }
.ev[data-bp="phone"] .e-links { display: none; }
.ev[data-bp="phone"] .e-cta { margin-left: auto; }
.ev[data-bp="phone"] .e-hero { grid-template-columns: 1fr; padding: 1.6em 1.4em 0; }
.ev[data-bp="phone"] .d-title { font-size: 2.1em; }
.ev[data-bp="phone"] .e-btns { flex-direction: column; align-self: stretch; width: 100%; }
.ev[data-bp="phone"] .d-btn { text-align: center; }
.ev[data-bp="phone"] .e-cards { grid-template-columns: 1fr; padding: 2em 1.4em 0; }

/* Before: wireframe of the current site */
.ev-wire { background: #f3f4f6; }
.ev-wire i { display: block; border-radius: .4em; background: #dfe2e8; }
.ev-wire .e-logo { width: 7em; height: 1.4em; }
.ev-wire .e-links i { width: 4em; height: .8em; }
.ev-wire .e-cta { width: 6em; height: 1.9em; background: #cfd3db; }
.ev-wire .w-h { width: 100%; height: 2.3em; background: #cdd1d9; }
.ev-wire .w-h2 { width: 70%; }
.ev-wire .w-t { width: 90%; height: .8em; }
.ev-wire .w-t2 { width: 60%; }
.ev-wire .w-b { width: 8em; height: 2.4em; background: #cfd3db; }
.ev-wire .w-img { height: 13em; border-radius: .8em; }
.ev-wire .e-cards i { height: 9em; border-radius: .8em; }

/* After: the designed and built site */
.ev-design { background: radial-gradient(80% 55% at 50% 0%, #e3e8ff, #fff 70%); }
.ev-design .e-logo { font-size: 1.25em; font-weight: 750; letter-spacing: -.04em; }
.ev-design .e-links { color: #55585f; font-size: .95em; }
.ev-design .e-links i { font-style: normal; }
.ev-design .e-cta { padding: .55em 1em; border-radius: .55em; background: var(--ink); color: #fff; font-size: .9em; font-weight: 600; white-space: nowrap; }
.d-pill { padding: .3em .9em; border: 1px solid #d3daff; border-radius: 99px; background: #eef1ff; color: var(--blue); font-size: .85em; font-weight: 600; }
.d-title { font-size: 2.85em; font-weight: 650; line-height: 1.02; letter-spacing: -.05em; }
.d-sub { color: #5d6068; font-size: 1.1em; }
.d-btn { padding: .7em 1.2em; border: 1px solid #dcdde2; border-radius: .6em; background: #fff; font-size: .95em; font-weight: 600; white-space: nowrap; }
.d-blue { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 .6em 1.4em -.6em rgba(45, 75, 255, .8); }
.d-app { display: grid; gap: 1em; height: 13em; padding: 1.1em; border: 1px solid #e3e4ea; border-radius: .9em; background: #fff; box-shadow: 0 1.6em 3em -1.4em rgba(30, 45, 140, .35); }
.d-app-head { display: flex; justify-content: space-between; }
.d-app-head i { width: 40%; height: .8em; border-radius: 99px; background: #e4e6ec; }
.d-app-head i + i { width: 18%; background: #eef1ff; }
.d-chart { display: flex; align-items: flex-end; gap: .5em; }
.d-chart i { flex: 1; height: calc(var(--h) * 8.5em); border-radius: .3em .3em 0 0; background: linear-gradient(var(--blue), #9aabff); }
.ev-design .e-cards span { display: grid; gap: .6em; padding: 1.2em; border: 1px solid #e6e8f0; border-radius: .9em; background: #fff; }
.ev-design .e-cards span i { width: 2.2em; height: 2.2em; border-radius: .6em; background: var(--blue-soft); box-shadow: inset 0 0 0 .55em var(--blue-soft), inset 0 0 0 2em var(--blue); }
.ev-design .e-cards b { font-size: 1.05em; }
.ev-design .e-cards em { height: .7em; width: 80%; border-radius: 99px; background: #eceef2; }
.ev-wipe { position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 2px; background: var(--blue); box-shadow: 0 0 18px 4px rgba(45, 75, 255, .55); opacity: 0; }

/* Overlays (hidden unless the scroll timeline shows them) */
.ev-scan, .ev-pin, .ev-dim, .ev-tiles, .ev-code, .ev-size, .ev-toast, .ev-ring { visibility: hidden; opacity: 0; }
.motion .ev-tiles { visibility: visible; opacity: 1; }
.ev-scan { position: absolute; z-index: 4; border: 2px solid var(--blue); border-radius: .7em; background: rgba(45, 75, 255, .07); box-shadow: 0 0 0 9999px rgba(13, 13, 16, .06); }
.ev-pin { position: absolute; z-index: 5; display: flex; align-items: flex-start; gap: .5em; font-size: 1.05em; }
.ev-pin b { flex: none; width: 2em; height: 2em; border-radius: 50% 50% 50% .3em; background: var(--blue); color: #fff; font: 600 .9em/2.2em var(--sans); text-align: center; box-shadow: 0 .5em 1.2em -.3em rgba(45, 75, 255, .8); }
.ev-pin span { padding: .55em .85em; border-radius: .7em; background: var(--ink); color: #fff; font-weight: 500; white-space: nowrap; box-shadow: 0 1em 2em -.8em rgba(0, 0, 0, .55); }
.q1 { top: 21%; left: 44%; }
.q2 { top: 12%; left: 52%; }
.q3 { top: 53%; left: 17%; }
.ev-dim { position: absolute; z-index: 6; inset: 0; background: rgba(13, 13, 16, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.ev-tiles { position: absolute; z-index: 7; inset: 0; pointer-events: none; }
.tile { position: absolute; top: 50%; left: 50%; display: grid; gap: .9em; width: 27%; padding: 1.3em; border-radius: 1em; background: #fff; color: #141414; box-shadow: 0 2em 4em -1.5em rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; }
.tile > span:first-child { color: #8a8d95; font: 500 .9em var(--mono); text-transform: uppercase; }
.tile > span:first-child::before { content: "Direction "; }
.tile b { font-size: 4.2em; font-weight: 720; line-height: .9; letter-spacing: -.05em; }
.tile-sw { display: flex; gap: 8%; }
.tile-sw i { flex: 1; aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.tile em { position: absolute; left: 50%; bottom: -1.2em; padding: .45em .9em; border-radius: 99px; background: var(--blue); color: #fff; font: 600 .95em var(--sans); font-style: normal; white-space: nowrap; box-shadow: 0 .8em 2em -.6em rgba(45, 75, 255, .9); opacity: 0; transform: translateX(-50%); }
.ev-code { position: absolute; z-index: 8; left: -3%; bottom: 10%; width: 50%; overflow: hidden; border-radius: 12px; background: #0f1115; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1); }
.ev-code-bar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-bottom: 1px solid #23262e; background: #181b22; color: #8b90a0; font: 500 clamp(9px, 1.4cqi, 11px) var(--mono); }
.ev-code pre { margin: 0; padding: 14px 16px; color: #e6e8ee; font: 500 clamp(8px, 1.45cqi, 12.5px)/1.75 var(--mono); white-space: pre; }
.ev-code .cl { display: block; }
.ev-code b { font-weight: 500; }
.ev-code .tg { color: #7ea2ff; }
.ev-code .at { color: #c8a8ff; }
.ev-code .st { color: #9fe0a0; }
.ev-size { position: absolute; z-index: 8; left: 50%; bottom: 0; display: flex; gap: 10px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; background: rgba(255, 255, 255, .08); color: #fff; font: 500 .72rem var(--mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ev-size i { color: #8fa0ff; font-style: normal; }
.ev-toast { position: absolute; z-index: 8; right: -3%; bottom: 12%; width: 40%; padding: clamp(12px, 2.2cqi, 18px); border-radius: 14px; background: #fff; color: var(--ink); font-size: clamp(9px, 1.65cqi, 14px); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .85); }
.ev-toast p { display: flex; justify-content: space-between; gap: 10px; padding-bottom: .8em; border-bottom: 1px solid var(--rule); }
.ev-toast p span { color: #15803d; font: 500 .85em var(--mono); }
.ev-toast ul { display: grid; gap: .65em; margin: 0; padding: .9em 0 0; list-style: none; }
.ev-toast li { display: flex; align-items: center; gap: .7em; }
.ev-toast li i { display: grid; place-items: center; flex: none; width: 1.45em; height: 1.45em; border-radius: .4em; background: var(--blue); color: #fff; font: 700 .75em var(--sans); font-style: normal; }
.ev-toast li i::after { content: "✓"; }
.ev-ring { position: absolute; z-index: -1; left: 0; right: 0; top: 8%; bottom: 8%; border-radius: 14px; box-shadow: 0 0 0 2px rgba(74, 222, 128, .7), 0 0 60px 10px rgba(74, 222, 128, .25); }

/* Without the scroll timeline: list every step, show the finished site */
html:not(.motion) .pflow, html:not(.motion) .pflow-inner { height: auto; }
html:not(.motion) .pflow-inner { padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(50px, 7vw, 90px); }
html:not(.motion) .pgrid { align-items: start; }
html:not(.motion) .pcount { display: none; }
html:not(.motion) .ptexts { gap: 44px; }
html:not(.motion) .ptext { grid-area: auto; }
html:not(.motion) .pdevice { position: sticky; top: calc(var(--nav-h) + 24px); height: 480px; }
html:not(.motion) .ev-wire { display: none; }

/* ---------- FAQ ---------- */
.faq { padding-bottom: clamp(100px, 12vw, 170px); }
.faq-list { margin-top: clamp(30px, 4vw, 54px); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; list-style: none; cursor: pointer; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary i { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--rule); border-radius: 8px; transition: background .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.6px; background: var(--ink); translate: -50% -50%; transition: rotate .4s var(--ease), background .3s; }
.faq summary i::after { rotate: 90deg; }
.faq details[open] summary i { border-color: var(--blue); background: var(--blue); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq details p { max-width: 60ch; padding-bottom: 26px; color: var(--muted); font-size: 1.05rem; }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(70px, 9vw, 120px); }
.contact-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; padding: clamp(60px, 8vw, 110px) clamp(20px, 5vw, 60px); border-radius: calc(var(--radius) + 8px); background: radial-gradient(60% 70% at 50% 0%, rgba(45, 75, 255, .35), transparent 70%), var(--ink); color: #fff; text-align: center; }
.contact-panel .kicker { color: #9aa0ad; }
.contact-panel h2 { max-width: 14ch; margin-top: 18px; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1; }
.contact-sub { max-width: 44ch; margin-top: 20px; color: #a4a9b6; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.bigkeys { display: flex; gap: clamp(10px, 1.4vw, 18px); margin-bottom: clamp(30px, 4vw, 48px); }
.bigkey { display: grid; place-items: center; width: clamp(64px, 8vw, 110px); aspect-ratio: 1; border: 0; border-radius: 22%; background: linear-gradient(180deg, #2b2e37, #17191f); box-shadow: 0 clamp(5px, .6vw, 9px) 0 #050608, 0 20px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .14); color: #fff; font: 500 clamp(1.7rem, 3.2vw, 2.9rem)/1 var(--sans); cursor: pointer; transition: transform .1s, box-shadow .1s, background .25s; }
.bigkey:hover { background: linear-gradient(180deg, #333744, #1b1d24); }
.bigkey.is-down { transform: translateY(clamp(4px, .5vw, 7px)); background: linear-gradient(180deg, #4864ff, #2a44e6); box-shadow: 0 2px 0 #050608, 0 10px 36px rgba(45, 75, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }

/* ---------- Footer ---------- */
.footer { padding-bottom: 32px; }
.footer-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .7fr)); gap: 30px; align-items: start; margin-top: 22px; padding-block: 34px; border-block: 1px solid var(--rule); }
.footer-line { font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 560; line-height: 1.05; letter-spacing: -.045em; }
.footer-col a { display: inline-block; margin-top: 10px; font-size: 1.05rem; transition: color .25s; }
.footer-col a:hover { color: var(--blue); }
.footer-word { margin-top: clamp(30px, 5vw, 60px); font-size: clamp(3.4rem, 15.4vw, 14.8rem); font-weight: 700; line-height: .82; letter-spacing: -.075em; white-space: nowrap; text-align: center }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(24px, 3vw, 40px); color: var(--muted); font: .76rem var(--mono); letter-spacing: .04em; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; aspect-ratio: 1.9; }
  .cards .card:last-child .card-visual { left: 22%; right: 22%; }
  .footer-row { grid-template-columns: 1fr 1fr; }
  .footer-line { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .cards { grid-template-columns: 1fr; }
  .card, .cards .card:last-child { aspect-ratio: 1.02; }
  .cards .card:last-child .card-visual { left: 7%; right: 7%; }
  .svc { grid-template-columns: 1fr; }
  .case-stage { aspect-ratio: 4 / 3.4; }
  .shot-main { width: 80%; left: 10%; top: 9%; }
  .shot-side { top: 52%; width: 52%; }
  .shot-left { left: -4%; }
  .shot-right { right: -4%; }
  .case-meta { grid-template-columns: auto minmax(0, 1fr); }
  .case-meta .link { grid-column: 1 / -1; }
  .contact-actions, .contact-actions .btn { width: 100%; }
  .footer-row { grid-template-columns: 1fr; }
}


/* ================= Extra motion layers ================= */
/* Hero blueprint grid + glow that follow the pointer */
.hero-bg { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; pointer-events: none; overflow: hidden; --mx: 72%; --my: 32%; }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; inset: 0; }
.hero-bg::before { background-image: linear-gradient(rgba(45, 75, 255, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 75, 255, .11) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; -webkit-mask-image: radial-gradient(circle 380px at var(--mx) var(--my), #000, transparent 75%); mask-image: radial-gradient(circle 380px at var(--mx) var(--my), #000, transparent 75%); }
.hero-bg::after { background: radial-gradient(circle 460px at var(--mx) var(--my), rgba(45, 75, 255, .12), transparent 70%); }

/* Collaborator cursor that selects the headline word */
.ghost { display: none; }
.motion .ghost { position: absolute; z-index: 3; top: 0; left: 0; display: block; pointer-events: none; opacity: 0; }
.ghost svg { display: block; filter: drop-shadow(0 4px 8px rgba(20, 30, 120, .3)); }
.ghost span { position: absolute; top: 18px; left: 16px; padding: 4px 9px; border-radius: 6px 99px 99px 99px; background: var(--blue); color: #fff; font: 500 .68rem var(--mono); white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(45, 75, 255, .8); }

/* Capabilities strip */
.strip { overflow: hidden; margin-top: clamp(70px, 9vw, 120px); padding-block: clamp(18px, 2vw, 26px); border-block: 1px solid var(--rule); background: #fff; }
.strip-track { display: flex; width: max-content; will-change: transform; }
.strip-group { display: flex; flex: none; align-items: center; gap: clamp(20px, 2.4vw, 34px); padding-right: clamp(20px, 2.4vw, 34px); font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 560; letter-spacing: -.035em; white-space: nowrap; }
.strip-group span:nth-of-type(even) { color: var(--faint); }
.strip-group i { color: var(--blue); font-style: normal; font-size: .7em; }
html:not(.motion) .strip-track { animation: strip 45s linear infinite; }
@keyframes strip { to { transform: translateX(-50%); } }
.statement { padding-top: clamp(80px, 10vw, 150px); }

/* Work: cursor-follow pill */
.view-pill { display: none; }
.has-pointer .view-pill { position: fixed; z-index: 60; top: 0; left: 0; display: flex; gap: 8px; padding: 11px 16px; border-radius: 99px; background: var(--blue); color: #fff; font: 600 .86rem/1 var(--sans); pointer-events: none; opacity: 0; scale: .5; box-shadow: 0 14px 30px -10px rgba(45, 75, 255, .8); transition: opacity .25s, scale .4s var(--ease); }
.has-pointer .view-pill.is-on { opacity: 1; scale: 1; }

/* Contact: drifting glow, fine grid, key ripples */
.contact-panel::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent); }
.contact-panel::after { content: ""; position: absolute; z-index: -1; top: -45%; left: 15%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 75, 255, .4), transparent); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(18%, 14%) scale(1.2); } }
.contact-ripples { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.contact-ripples i { position: absolute; width: 140px; height: 140px; margin: -70px 0 0 -70px; border: 1.5px solid rgba(141, 160, 255, .7); border-radius: 50%; animation: key-ripple 1.8s var(--ease) forwards; }
@keyframes key-ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(9); opacity: 0; } }

/* Footer wordmark letters */
.footer-word { cursor: default; }
.footer-word div { transition: color .3s; }

@media (max-width: 720px) {
  .motion .ghost { display: none; }
  .svc::before { inset: 0 -10px; }
}

@media (max-width: 900px) {
  .pgrid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: 18px; margin-top: 16px; }
  .pdevice { order: -1; max-height: none; }
  .ev { height: 88%; }
  .ev-pin { font-size: max(1.05em, 9px); }
  .pcount { display: none; }
  .ptext h3 { margin-top: 8px; font-size: 1.55rem; }
  .ptext p { margin-top: 8px; font-size: .95rem; }
  .ptext-out { margin-top: 14px; }
  .ptab { gap: 8px; font-size: .6rem; }
  .ptab b { display: block; margin: 0 0 2px; }
  .ev-code { left: 0; bottom: 8%; width: 74%; }
  .ev-toast { right: 0; bottom: 10%; width: 66%; }
  html:not(.motion) .pdevice { position: relative; top: 0; height: 380px; }
}

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

/* ================= Background accents ================= */
/* Film grain over the whole page */
body::after { content: ""; position: fixed; z-index: 100; inset: 0; pointer-events: none; opacity: .045; 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Layout guides: hairlines at the content edges, crosshairs where sections meet */
main { position: relative; overflow-x: clip; }
main::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: min(1280px, 100% - var(--gutter) * 2); border-inline: 1px solid rgba(13, 13, 16, .065); transform: translateX(-50%); pointer-events: none; }
.xm { position: relative; }
.xm::before, .xm::after { content: ""; position: absolute; top: -7px; width: 15px; height: 15px; background: linear-gradient(var(--blue), var(--blue)) 50% 0 / 1px 100% no-repeat, linear-gradient(var(--blue), var(--blue)) 0 50% / 100% 1px no-repeat; opacity: .6; pointer-events: none; }
.xm::before { left: -7.5px; }
.xm::after { right: -7.5px; }
.statement.xm { border-top: 1px dashed rgba(13, 13, 16, .09); }

/* Hero: soft colour fields drifting behind the grid */
.aur { position: absolute; border-radius: 50%; pointer-events: none; animation: aur 22s ease-in-out infinite alternate; }
.aur-1 { top: -14vw; right: -8vw; width: 56vw; height: 40vw; background: radial-gradient(closest-side, rgba(45, 75, 255, .2), transparent); }
.aur-2 { top: 4vw; left: -16vw; width: 44vw; height: 32vw; background: radial-gradient(closest-side, rgba(140, 110, 255, .14), transparent); animation-duration: 28s; animation-direction: alternate-reverse; }
@keyframes aur { 50% { transform: translate(-5vw, 3vw) scale(1.12); } 100% { transform: translate(4vw, 7vw) scale(.94); } }

/* Statement: a large refresh mark that turns as you scroll */
.statement { position: relative; }
.statement-mark { position: absolute; z-index: -1; top: 50%; right: 0; width: clamp(180px, 24vw, 360px); height: auto; margin-top: calc(clamp(180px, 24vw, 360px) / -2); overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sm-ring { stroke: rgba(45, 75, 255, .16); stroke-width: .8; stroke-dasharray: .006 .014; }
.sm-arrow, .sm-head { stroke: var(--blue); stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 0; }
.statement-mark { filter: drop-shadow(0 18px 30px rgba(45, 75, 255, .25)); }

/* Footer: a low glow under the wordmark */
.footer { position: relative; isolation: isolate; overflow-x: clip; }
.footer::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -30%; width: 100%; height: 90%; background: radial-gradient(closest-side, rgba(45, 75, 255, .13), transparent); transform: translateX(-50%); pointer-events: none; }

/* Top scroll progress, like a browser loading bar */
.progress { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #8fa0ff); box-shadow: 0 0 10px rgba(45, 75, 255, .7); transform: scaleX(0); transform-origin: left; }

/* Nav slides away while reading, returns when scrolling up */
.nav { transition: border-color .3s, transform .5s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }

/* Services: row rules draw in */
.motion .svc { border-top-color: transparent; }
.motion .svc > .svc-label::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--rule); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.motion .svc.is-drawn > .svc-label::before { transform: scaleX(1); }

@media (max-width: 720px) {
  .statement-mark { top: auto; bottom: -40px; right: -30px; width: 150px; margin: 0; opacity: .5; }
}

@media (max-width: 440px) {
  .nav { gap: 12px; }
  .wm-sub { display: none; }
}
@media (max-width: 900px) {
  .q1 { left: 30%; }
  .q2 { left: 36%; }
}

/* ================= Brand mark (generated HR logo, split into two layers) ================= */
.mark { position: relative; display: inline-block; flex: none; width: 1em; height: 1em; }
.mark i { position: absolute; inset: 0; }
.mark-letters { background: currentColor; -webkit-mask: url("assets/brand/mark-letters.png") center / contain no-repeat; mask: url("assets/brand/mark-letters.png") center / contain no-repeat; }
.mark-loop { background: var(--loop, var(--blue)); -webkit-mask: url("assets/brand/mark-loop.png") center / contain no-repeat; mask: url("assets/brand/mark-loop.png") center / contain no-repeat; transform-origin: 70.4% 37.4%; }
.nav-mark { margin-right: 6px; font-size: 1.75rem; }
.wordmark:hover .nav-mark .mark-loop { animation: mark-spin .9s var(--ease-io); }
@keyframes mark-spin { to { transform: rotate(360deg); } }

/* ================= Boot loader ================= */
.loader { display: none; }
.js .loader { position: fixed; z-index: 200; inset: 0; display: block; pointer-events: none; animation: loader-kill .01s 7s forwards; }
@keyframes loader-kill { to { visibility: hidden; opacity: 0; } }
.loader-blue, .loader-ink { position: absolute; inset: 0; will-change: transform; }
.loader-blue { background: var(--blue); }
/* Light paper background with slow drifting colour fields, blueprint grid and grain */
.loader-ink { display: grid; place-items: center; overflow: hidden; background: var(--white); color: var(--ink); }
.loader-ink::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(45, 75, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 75, 255, .09) 1px, transparent 1px); background-size: 48px 48px; background-position: center; -webkit-mask-image: radial-gradient(42% 46% at 50% 50%, #000, transparent); mask-image: radial-gradient(42% 46% at 50% 50%, #000, transparent); }
.loader-ink::after { content: ""; position: absolute; inset: 0; opacity: .05; 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.loader-aur { position: absolute; border-radius: 50%; animation: aur 9s ease-in-out infinite alternate; }
.loader-aur-a { top: -18vh; right: -12vw; width: 62vw; height: 62vh; background: radial-gradient(closest-side, rgba(45, 75, 255, .2), transparent); }
.loader-aur-b { bottom: -22vh; left: -14vw; width: 58vw; height: 58vh; background: radial-gradient(closest-side, rgba(140, 110, 255, .16), transparent); animation-direction: alternate-reverse; }
.loader-center { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; }
.loader-mark { font-size: clamp(96px, 11vw, 150px); filter: drop-shadow(0 24px 40px rgba(45, 75, 255, .22)); }
.loader-word { overflow: hidden; font-size: 1.05rem; font-weight: 650; letter-spacing: -.03em; white-space: nowrap; }
.loader-word span { margin-left: 4px; color: var(--muted); font: 500 .62rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.loader-bar { position: absolute; z-index: 1; left: 50%; bottom: clamp(36px, 8vh, 72px); width: min(220px, 50vw); height: 2px; overflow: hidden; border-radius: 2px; background: rgba(13, 13, 16, .08); transform: translateX(-50%); }
.loader-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #8fa0ff); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: reduce) { .js .loader { display: none; } }
