/* =====================================================================
   Kavo Tech design system
   ===================================================================== */
:root {
    --bg: #141416;
    --bg-2: #1b1b1e;
    --surface: #222226;
    --surface-2: #2c2c31;
    --line: rgba(255, 255, 255, 0.09);
    --line-2: rgba(255, 255, 255, 0.18);
    --text: #f4f4f6;
    --muted: #a8a8b3;
    --accent: #0096c7;
    --accent-hi: #35c6f4;
    --accent-rgb: 0, 150, 199;
    --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --gutter: clamp(18px, 4vw, 48px);
    --max: 1280px;
    --radius: 20px;
    --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
    --bar: 72px;
    --header: 96px; /* space taken by the floating header */
    --logo: url('/public/img/kavo-blue.png');
    color-scheme: dark;
}
:root[data-theme="red"] { --logo: url('/public/img/kavo-red.png'); --accent: #c8102e; --accent-hi: #ff5068; --accent-rgb: 200, 16, 46; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; }
main, .footer { overflow-x: hidden; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { max-width: 100%; display: block; }
:where(img) { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.i { width: 18px; height: 18px; flex: none; }

/* ---------- layout & type ---------- */
.wrap, .container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 860px); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.h1, .h2, .h3, h1, h2, h3, .section-title { font-family: var(--display); font-stretch: 118%; font-weight: 750; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.h1 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); max-width: 17ch; }
.h2, .section-title { font-size: clamp(1.8rem, 3.9vw, 3.2rem); max-width: 20ch; }
.center .h2, .center .section-title { margin-inline: auto; }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.22; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.17rem); max-width: 56ch; margin-top: 20px; }
.fine { color: var(--muted); font-size: 0.8rem; }
.fine a { text-decoration: underline; }
.eyebrow, .section-tag { display: inline-flex; align-items: center; gap: 12px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow-globe { width: 20px; height: 20px; color: var(--accent-hi); animation: turn 14s linear infinite; }
.section-tag { color: var(--accent-hi); }
.section-subtitle { color: var(--muted); margin-top: 14px; }
.section-header { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 56px; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.split-head .lead { margin-top: 0; max-width: 46ch; }
@keyframes turn { to { transform: rotate(360deg); } }

/* ---------- buttons ---------- */
.btn { --bg-btn: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-btn); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color .35s, border-color .35s, transform .35s var(--ease); translate: var(--mx, 0) var(--my, 0); text-align: center; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--accent); transform: translateY(102%); transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover { border-color: var(--accent); color: #fff; }
.btn:hover > .i { transform: translateX(4px); }
.btn > .i { transition: transform .35s var(--ease); }
.btn-label { display: block; position: relative; overflow: hidden; line-height: 1.5; }
.btn-label::after { content: attr(data-text); position: absolute; left: 0; right: 0; top: 100%; }
.btn-label { transition: none; }
.btn:hover .btn-label { animation: label-roll .5s var(--ease); }
@keyframes label-roll { 0% { translate: 0 0; } 45% { translate: 0 -4px; opacity: .2; } 55% { translate: 0 4px; opacity: .2; } 100% { translate: 0 0; } }
.btn-label::after { display: none; }
.btn-solid, .btn-primary { background: var(--text); color: #111; border-color: var(--text); }
.btn-ghost, .btn-outline { background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.72rem; }
.btn-lg { min-height: 58px; padding: 0 34px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn-row.center { flex-direction: row; justify-content: center; }
.link-btn { color: var(--muted); text-decoration: underline; font-size: .85rem; }
.link-btn:hover { color: var(--text); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: rgba(20, 20, 22, .6); transition: background .3s, border-color .3s, transform .3s var(--ease), opacity .3s; }
.round-btn:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
.round-btn[disabled] { opacity: .3; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .88rem; font-weight: 500; background: rgba(255, 255, 255, .03); transition: background .3s, border-color .3s, transform .35s var(--ease); }
.pill:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- header ---------- */
.header { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; width: min(100% - 24px, 1320px); height: var(--bar); margin-inline: auto; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(24, 24, 28, .66); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); transition: background .35s, box-shadow .35s; }
.header.is-scrolled, .header.has-open { background: rgba(22, 22, 26, .9); box-shadow: 0 20px 48px -16px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--accent-rgb), .28); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 12px 0 28px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo-img { height: 52px; width: auto; }
.logo-red, :root[data-theme="red"] .logo-blue { display: none; }
:root[data-theme="red"] .logo-red { display: block; }
.nav, .nav-list { display: flex; align-items: stretch; height: calc(var(--bar) - 2px); }
.nav-list { gap: 8px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { padding: 10px 12px; font-size: .9rem; font-weight: 600; position: relative; }
.nav-item > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px; background: var(--accent-hi); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-item > a:hover::after, .nav-item > a[aria-current]::after, .nav-item.is-open > a::after { transform: scaleX(1); transform-origin: left; }
.drop-toggle { margin-left: -8px; padding: 8px 4px; display: grid; place-items: center; }
.drop-toggle .i { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.nav-item.is-open .drop-toggle .i { transform: rotate(180deg); }
.has-drop:not(:last-child) { position: static; }
.drop { position: absolute; top: calc(100% - 4px); left: 50%; translate: -50% 0; padding-top: 16px; visibility: hidden; opacity: 0; transform: translateY(-10px) scale(.985); transition: opacity .28s, transform .38s var(--ease), visibility 0s .38s; pointer-events: none; }
.nav-item.is-open .drop { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; pointer-events: auto; }
.mega { background: #1d1d21; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7); padding: 26px; }
.drop-services .mega { width: min(880px, calc(100vw - 40px)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mega-title { font-family: var(--display); font-stretch: 120%; font-weight: 750; font-size: 1.02rem; padding: 0 10px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega-title small { display: block; font: 400 .75rem/1.5 var(--body); color: var(--muted); }
.mega-col a, .mega-small a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; font-size: .9rem; font-weight: 500; transition: background .25s, translate .3s var(--ease); }
.mega-col a .i, .mega-small a .i { color: var(--accent-hi); }
.mega-col a:hover, .mega-small a:hover { background: rgba(var(--accent-rgb), .18); translate: 4px 0; }
.mega-all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mega-all:hover { color: var(--accent-hi); }
.mega-projects { width: min(820px, calc(100vw - 40px)); }
.mega-projects ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.mega-work img { border-radius: 12px; aspect-ratio: 16/10; object-fit: cover; object-position: top; width: 100%; border: 1px solid var(--line); transition: transform .45s var(--ease); }
.mega-work:hover img { transform: translateY(-5px); }
.mega-work span { display: block; font-weight: 600; font-size: .9rem; margin-top: 10px; }
.mega-work small { color: var(--muted); font-size: .74rem; }
.drop-company { width: 240px; }
.mega-small { padding: 12px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-cta { border-radius: 999px; min-height: 46px; padding: 0 24px; }
.theme-switch { display: flex; align-items: center; gap: 8px; }
.theme-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line-2); transition: transform .25s; }
.theme-dot-blue { background: #0096c7; } .theme-dot-red { background: #c8102e; }
.theme-dot:hover { transform: scale(1.2); }
.theme-dot[aria-pressed="true"] { border-color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; top: 18px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span + span { top: 26px; }
.burger[aria-expanded="true"] span { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span + span { transform: rotate(-45deg); }
.progress { position: absolute; left: 44px; right: 44px; bottom: -1px; height: 2px; border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent-hi); transform-origin: left; transform: scaleX(0); }

.mobile-menu { position: fixed; inset: 0; z-index: 99; overflow: hidden; background: rgba(6, 6, 8, .62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity .35s; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { position: absolute; top: var(--header); right: 0; bottom: 0; width: 50%; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 6px 16px calc(24px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #222226, #18181b); border-left: 1px solid var(--line-2); border-radius: 18px 0 0 0; box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .75); transform: translateX(100%); transition: transform .45s var(--ease); }
.mobile-menu.is-open nav { transform: none; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu .m-sub li { border: 0; }
.m-link, .m-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 52px; padding: 12px 0; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.02rem; text-align: left; }
.m-toggle .i { width: 18px; height: 18px; color: var(--accent-hi); transition: transform .35s var(--ease); }
.m-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.m-sub { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s .4s; }
.m-sub > ul { overflow: hidden; }
.m-toggle[aria-expanded="true"] + .m-sub { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.m-sub a { display: block; padding: 8px 0 8px 12px; border-left: 2px solid rgba(var(--accent-rgb), .55); color: var(--muted); font-size: .84rem; line-height: 1.4; overflow-wrap: anywhere; }
.m-sub li:last-child { padding-bottom: 14px; }
.mobile-foot { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: auto; padding-top: 24px; }
.mobile-foot .btn { width: 100%; min-height: 46px; padding: 0 8px; font-size: .68rem; }
.mobile-foot .btn > .i { display: none; }
.menu-open .cookie-popup, .menu-open .to-top, .menu-open .grecaptcha-badge { visibility: hidden !important; }

/* ---------- loader & transitions ---------- */
.loader { display: none; position: fixed; inset: 0; z-index: 300; background: var(--bg); flex-direction: column; align-items: center; justify-content: center; gap: 28px; transition: transform .8s var(--ease), border-radius .8s var(--ease); }
.is-loading .loader { display: flex; }
.is-loading body { overflow: hidden; }
.loader.is-done { transform: translateY(-101%); border-radius: 0 0 50% 50% / 0 0 12% 12%; }
.loader-mark { width: 150px; height: auto; animation: loader-pulse 1.1s var(--ease) infinite alternate; }
@keyframes loader-pulse { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.04); opacity: 1; } }
.loader-bar { width: min(240px, 60vw); height: 2px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: var(--accent-hi); transform-origin: left; transform: scaleX(0); }
.loader-count { font: 600 .8rem var(--body); letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.curtain { position: fixed; inset: 0; z-index: 250; background: linear-gradient(180deg, var(--accent), var(--bg) 55%); transform: translateY(101%); pointer-events: none; }
.curtain.is-leaving { transform: none; transition: transform .45s var(--ease); }
::view-transition-old(root) { animation: page-out .38s var(--ease) both; }
::view-transition-new(root) { animation: page-in .62s var(--ease) both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-28px); } }
@keyframes page-in { from { clip-path: inset(100% 0 0 0 round 40px); transform: translateY(40px); } to { clip-path: inset(0 0 0 0 round 0); transform: none; } }

/* ---------- reveal & split text ---------- */
.js [data-reveal], .js [data-animate] { opacity: 0; transform: translateY(44px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in, .js [data-animate].is-in { opacity: 1; transform: none; }
.js [data-split]:not(.is-split) { opacity: 0; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.w > span { display: inline-block; }
.js .w > span { transform: translateY(115%) rotate(5deg); transform-origin: left top; transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 55ms); }
.js .is-in .w > span { transform: none; }
.scrub-text { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.28; letter-spacing: -.015em; max-width: 24em; margin: 0 auto; text-align: center; }
.scrub-text span { transition: opacity .25s linear; }
.js .scrub-text span { opacity: .14; }
.js .scrub-text span.on { opacity: 1; }

/* ---------- spotlight / cards ---------- */
[data-spotlight] { position: relative; }
[data-spotlight]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(var(--accent-rgb), .22), transparent 60%); }
[data-spotlight]:hover::after { opacity: 1; }
.card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); padding: 30px; transition: border-color .35s, transform .45s var(--ease), background .35s; }
.card:hover { border-color: var(--line-2); }
.cards { display: grid; gap: 20px; }
.card p { color: var(--muted); }
.card h2, .card h3 { font-size: 1.22rem; margin-bottom: 12px; line-height: 1.2; }
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* ---------- grid canvas, 3D mark ---------- */
.grid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.m3 { --size: clamp(180px, 20vw, 250px); --step: 1.1px; width: var(--size); aspect-ratio: 204 / 104; perspective: 900px; }
.m3-spin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(var(--tx, 6deg)) rotateY(var(--ty, -18deg)); will-change: transform; }
.m3-layer { position: absolute; inset: 0; background: var(--logo) center / contain no-repeat; transform: translateZ(calc((var(--z) - var(--depth) / 2) * var(--step))); filter: brightness(.38); }
.m3-layer:first-child { filter: brightness(.38) drop-shadow(0 0 20px rgba(var(--accent-rgb), .75)); }
.m3-layer.is-face { filter: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: calc(var(--header) + 24px) 0 84px; overflow: hidden; isolation: isolate; }
.hero > .grid-canvas { z-index: -2; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 45% at 50% 28%, rgba(var(--accent-rgb), .2), transparent 70%), radial-gradient(80% 60% at 50% 50%, transparent 40%, var(--bg) 100%); pointer-events: none; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; }
.hero .m3 { --size: clamp(160px, min(19vw, 25vh), 250px); margin-bottom: clamp(18px, 3vh, 34px); }
.hero-eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 16px; }
.hero-title { font-size: clamp(2.05rem, min(4.5vw, 7.2vh), 4.1rem); max-width: 22ch; }
.hero-typed { margin-top: 20px; font-family: var(--display); font-stretch: 115%; font-weight: 600; font-size: clamp(1.02rem, 1.8vw, 1.45rem); min-height: 1.7em; }
.hero-typed > span { color: var(--muted); }
.hero-typed strong { color: var(--accent-hi); font-weight: 750; }
.hero-typed i { display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; vertical-align: -.18em; background: var(--accent-hi); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-lead { margin-top: 10px; }
.hero .btn-row { margin-top: 28px; }
.hero-floats { position: absolute; inset: 0; pointer-events: none; z-index: 1; display: none; }
.float { position: absolute; width: clamp(112px, 8.6vw, 168px); pointer-events: auto; translate: var(--px, 0) var(--py, 0); animation: bob 7s ease-in-out infinite alternate; }
.float .phone-mock { opacity: .9; transition: opacity .35s, transform .5s var(--ease); }
.float > span { display: block; text-align: center; font-size: .72rem; font-weight: 600; margin-top: 10px; opacity: 0; transition: opacity .3s; }
.float:hover .phone-mock, .float:focus-visible .phone-mock { opacity: 1; transform: scale(1.07) rotate(0deg); }
.float:hover > span, .float:focus-visible > span { opacity: 1; }
.float-1 { left: 3%; top: 17%; } .float-1 .phone-mock { transform: rotate(-9deg); }
.float-2 { left: 9%; bottom: 3%; animation-delay: -3s; } .float-2 .phone-mock { transform: rotate(6deg); }
.float-3 { right: 3%; top: 15%; animation-delay: -1.5s; } .float-3 .phone-mock { transform: rotate(8deg); }
.float-4 { right: 9%; bottom: 2%; animation-delay: -4.5s; } .float-4 .phone-mock { transform: rotate(-6deg); }
@keyframes bob { from { transform: translateY(-9px); } to { transform: translateY(11px); } }
@media (min-width: 1360px) { .hero-floats { display: block; } }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 75% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-height: 640px) { .scroll-cue { display: none; } }

/* ---------- logos ---------- */
.logos { background: var(--bg-2); border-block: 1px solid var(--line); padding: 30px 0 34px; overflow: hidden; }
.logos-label { text-align: center; font-weight: 600; margin-bottom: 24px; padding: 0 var(--gutter); }
.marquee { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-track { display: flex; gap: 34px; padding-right: 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee + .marquee { margin-top: 14px; }
.marquee-reverse { animation-direction: reverse; }
.logos { scroll-margin-top: var(--header); }
.m-link[aria-current="page"], .m-sub a[aria-current="page"] { color: var(--accent-hi); }
.logo-item { width: clamp(150px, 15vw, 200px); height: 96px; flex: none; display: grid; grid-template: 100% / 100%; place-items: center; padding: 4px 12px; opacity: .9; transition: transform .4s var(--ease), opacity .3s; }
.logo-item:hover { transform: translateY(-6px) scale(1.06); opacity: 1; }
.logo-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ---------- stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; width: 100%; background: var(--line); gap: 1px; margin-bottom: clamp(72px, 10vw, 130px); }
.stat-row li { background: var(--bg); padding: 34px 18px; text-align: center; }
.stat-row b { display: block; font-family: var(--display); font-stretch: 120%; font-weight: 750; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-row span { color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.stats-band { padding-top: clamp(56px, 7vw, 96px); }

/* ---------- orbit ---------- */
.orbit-section { overflow: hidden; padding-bottom: clamp(72px, 9vw, 120px); }
.orbit { position: relative; width: min(1080px, 100%); aspect-ratio: 1080 / 560; margin: 20px auto 0; }
.orbit-ring { position: absolute; left: 8%; right: 8%; top: 6%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--line-2); animation: turn 90s linear infinite; }
.globe-canvas { position: absolute; left: 50%; top: 56%; translate: -50% -50%; width: 52%; aspect-ratio: 1; }
.orbit-glow { position: absolute; left: 50%; bottom: -28%; width: 86%; aspect-ratio: 1.5; translate: -50% 0; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .55), rgba(113, 61, 255, .28) 55%, transparent); pointer-events: none; transition: translate .8s var(--ease), background .5s; }
.orbit[data-active="grow"] .orbit-glow { translate: -50% -10%; }
.orbit[data-active="operate"] .orbit-glow { translate: -32% 0; }
.orbit[data-active="build"] .orbit-glow { translate: -68% 0; }
.orbit-tab { position: absolute; translate: -50% -50%; padding: clamp(12px, 1.5vw, 20px) clamp(18px, 3vw, 44px); border-radius: 999px; border: 1px solid var(--line-2); background: rgba(34, 34, 38, .85); backdrop-filter: blur(10px); font-family: var(--display); font-stretch: 120%; font-weight: 700; font-size: clamp(.9rem, 1.6vw, 1.4rem); transition: background .35s, scale .4s var(--ease), border-color .35s, box-shadow .35s; z-index: 2; }
.orbit-tab-build { left: 18%; top: 62%; } .orbit-tab-grow { left: 50%; top: 14%; } .orbit-tab-operate { left: 82%; top: 62%; }
.orbit-tab:hover { scale: 1.07; }
.orbit-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent-hi); box-shadow: 0 0 50px -6px rgba(var(--accent-rgb), .85); }
.orbit-panel { text-align: center; margin-top: 30px; animation: panel-in .55s var(--ease); }
.orbit-panel p { font-family: var(--display); font-stretch: 115%; font-weight: 650; font-size: 1.2rem; }
.orbit-panel ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(20px); } }

/* ---------- services ---------- */
.services-panel { background: radial-gradient(110% 80% at 12% 0%, rgba(255,255,255,.09), transparent 55%), radial-gradient(90% 70% at 100% 100%, rgba(var(--accent-rgb), .14), transparent 60%), var(--bg-2); border-block: 1px solid var(--line); border-radius: clamp(24px, 3vw, 40px); }
.services-panel + .services-panel { margin-top: 20px; }
.cards-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card { min-height: 280px; }
.service-card:hover { transform: translateY(-8px); background: linear-gradient(160deg, rgba(var(--accent-rgb), .22), rgba(255,255,255,.03)); }
.card-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.07); margin-bottom: 26px; color: var(--accent-hi); transition: transform .5s var(--ease), background .35s, color .35s; }
.card-icon .i { width: 24px; height: 24px; }
.service-card:hover .card-icon { transform: rotate(-8deg) scale(1.1); background: var(--accent); color: #fff; }
.service-card p { font-size: .92rem; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-size: .82rem; font-weight: 600; }
.more .i { width: 16px; transition: transform .35s var(--ease); }
.service-card:hover .more .i { transform: translateX(6px); }

/* ---------- showreel ---------- */
.showreel { background: radial-gradient(60% 70% at 78% 50%, rgba(var(--accent-rgb), .22), transparent 70%); }
.showreel-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.reel { position: relative; width: min(100%, 360px); margin-inline: auto; border-radius: 36px; padding: 9px; background: linear-gradient(145deg, #3a3a40, #0d0d0f); box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line-2); }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: #000; }
.reel-controls { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 10px; }
.reel-controls .round-btn { width: 44px; height: 44px; }
.reel-controls [aria-pressed="true"] { background: var(--accent); }

/* ---------- sliders ---------- */
.slider { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); scrollbar-width: none; padding: 8px 0 16px; cursor: grab; }
.slider::-webkit-scrollbar { display: none; }
.slider.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.slider.is-dragging a { pointer-events: none; }
.slider-track { display: flex; gap: 22px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.slider-track > li { scroll-snap-align: start; flex: none; }
.slider-nav { display: flex; gap: 12px; }
.slider-progress { height: 2px; background: var(--line); margin-top: 24px; position: relative; overflow: hidden; }
.slider-progress i { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--accent-hi); }

.work-card { width: min(560px, 84vw); }
.work-card a { display: block; }
.work-card figure { position: relative; border-radius: var(--radius); background: linear-gradient(150deg, rgba(var(--accent-rgb), .35), var(--surface) 65%); border: 1px solid var(--line); padding: 34px 34px 0; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; }
.work-desk { border-radius: 12px 12px 0 0; overflow: hidden; border: 1px solid var(--line-2); border-bottom: 0; height: 100%; transform: translateY(14px); transition: transform .7s var(--ease); box-shadow: 0 -10px 50px -10px rgba(0,0,0,.6); }
.work-desk img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.work-phone { position: absolute; right: 24px; bottom: -64px; width: 26%; transition: transform .7s var(--ease); }
.work-card a:hover .work-desk { transform: translateY(0); }
.work-card a:hover .work-desk img { transform: scale(1.06); }
.work-card a:hover .work-phone { transform: translateY(-36px) rotate(-3deg); }
.work-meta { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
.work-card h3 { font-size: 1.55rem; margin: 8px 0 8px; }
.work-card p { color: var(--muted); max-width: 46ch; }
.cursor-tag { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 86px; height: 86px; margin: -43px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; scale: 0; transition: scale .35s var(--ease); }
.cursor-tag.is-on { scale: 1; }

/* ---------- process ---------- */
.step { position: relative; width: min(620px, 84vw); height: 500px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; isolation: isolate; }
.step::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 90% at 0% 40%, var(--tone), transparent 68%); opacity: .75; transition: opacity .5s, transform .9s var(--ease); }
.step:hover::before { opacity: 1; transform: scale(1.12); }
.step-violet { --tone: rgba(113, 61, 255, .75); } .step-accent { --tone: rgba(var(--accent-rgb), .8); } .step-ember { --tone: rgba(245, 73, 0, .6); } .step-mint { --tone: rgba(16, 185, 129, .55); }
.step-num { position: absolute; left: 34px; top: 22px; font-family: var(--display); font-stretch: 120%; font-weight: 750; font-size: 3.4rem; }
.step-copy h3 { font-size: 1.9rem; margin-bottom: 10px; }
.step-copy p { color: #d6d6de; max-width: 42ch; }
.art { position: absolute; right: 2%; top: 7%; width: 74%; color: #fff; transition: transform .7s var(--ease); }
.step:hover .art { transform: translateY(-8px) scale(1.04); }
.art .spin { transform-origin: 160px 120px; animation: turn 18s linear infinite; }
.art .float-a { animation: bob 5s ease-in-out infinite alternate; } .art .float-b { animation: bob 4s ease-in-out -2s infinite alternate; }
.art .type path { stroke-dasharray: 180; animation: typing 5s var(--ease) infinite; } .art .type path:nth-child(2) { animation-delay: .25s; } .art .type path:nth-child(3) { animation-delay: .5s; } .art .type path:nth-child(4) { animation-delay: .75s; } .art .type path:nth-child(5) { animation-delay: 1s; }
@keyframes typing { 0% { stroke-dashoffset: 180; } 35%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -180; } }
.art .rocket { animation: lift 3.5s ease-in-out infinite alternate; } @keyframes lift { to { transform: translate(14px, -14px); } }
.art .trail { animation: dash 2s linear infinite; } @keyframes dash { to { stroke-dashoffset: -48; } }
.art .stars { animation: blink 2.4s steps(2) infinite; }

/* ---------- why / teaser ---------- */
.cards-why { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; }
.why-card, .include-card { min-height: 230px; }
.why-num { font-family: var(--display); font-stretch: 125%; font-weight: 700; color: var(--accent-hi); margin-bottom: auto; padding-bottom: 34px; }
.price-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(100deg, rgba(var(--accent-rgb), .25), transparent 65%); }
.price-teaser p { color: var(--muted); margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { background: radial-gradient(70% 55% at 50% 10%, rgba(255,255,255,.07), transparent 70%); }
.accordion { margin-top: 50px; display: grid; gap: 14px; }
.acc-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); transition: background .35s, border-color .35s; }
.acc-item.is-open { background: rgba(255,255,255,.08); border-color: var(--line-2); }
.acc-item h3 { font: 600 1.04rem/1.45 var(--body); letter-spacing: 0; }
.acc-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; text-align: left; font-weight: 600; }
.acc-btn i { position: relative; width: 16px; height: 16px; flex: none; }
.acc-btn i::before, .acc-btn i::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.acc-btn i::after { transform: rotate(90deg); }
.is-open .acc-btn i::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease), visibility 0s; }
.js .acc-panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility 0s .45s; }
.js .is-open .acc-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 24px 24px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 20px 0 clamp(72px, 9vw, 120px); }
.cta-panel { position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 40px); border: 1px solid var(--line-2); padding: clamp(60px, 9vw, 120px) 24px; display: flex; flex-direction: column; align-items: center; text-align: center; background: radial-gradient(80% 120% at 50% 120%, rgba(var(--accent-rgb), .75), rgba(113,61,255,.25) 45%, transparent 75%), var(--bg-2); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-title { max-width: 15ch; }
.cta-tag { font-size: .76rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 20px; }
.cta-rings { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; }
.cta-rings i { position: absolute; left: 50%; bottom: -60%; translate: -50% 0; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); width: 60%; animation: ring-pulse 6s ease-out infinite; }
.cta-rings i:nth-child(2) { animation-delay: -2s; } .cta-rings i:nth-child(3) { animation-delay: -4s; }
@keyframes ring-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }

/* ---------- footer ---------- */
.footer { position: relative; background: #0e0e10; border-top: 1px solid var(--line); overflow: hidden; }
.footer-stage { position: relative; height: clamp(260px, 32vw, 420px); display: grid; place-items: center; background: radial-gradient(50% 65% at 50% 45%, rgba(var(--accent-rgb), .28), transparent 70%); }
.footer-stage .m3 { position: relative; --size: clamp(180px, 20vw, 250px); }
.footer-top { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; padding: 64px 0 40px; border-top: 1px solid var(--line); }
.footer-intro .btn { margin-top: 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.footer-cols h2 { font: 700 .74rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 18px; }
.footer-cols li { margin-bottom: 10px; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.footer-cols a { transition: color .25s; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; }
.footer-cols a:hover { color: var(--text); background-size: 100% 1px; transition: color .25s, background-size .35s var(--ease); }
.footer-word { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.4rem, 11.4vw, 10.4rem); line-height: 1; text-align: center; white-space: nowrap; letter-spacing: -.02em; background: linear-gradient(180deg, #fff 10%, rgba(255,255,255,.05) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 20px 0 6px; translate: var(--fx, 0) 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 22px 0 30px; color: var(--muted); font-size: .85rem; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(14px); transition: .35s var(--ease); }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- cookie ---------- */
.cookie-popup { position: fixed; left: 18px; bottom: 18px; z-index: 120; width: min(400px, calc(100vw - 36px)); max-height: calc(100svh - 36px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); transform: translateY(24px); opacity: 0; transition: .4s var(--ease); }
.cookie-popup.show { transform: none; opacity: 1; }
.cookie-popup h2 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie-popup p { color: var(--muted); font-size: .86rem; }
.cookie-close { position: absolute; right: 12px; top: 10px; width: 34px; height: 34px; }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-prefs { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.cookie-prefs label { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .9rem; }
.cookie-prefs input { width: 18px; height: 18px; accent-color: var(--accent); }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header) + clamp(64px, 9vw, 130px)) 0 clamp(60px, 8vw, 110px); background: radial-gradient(75% 85% at 50% -5%, rgba(var(--accent-rgb), .42), transparent 68%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .grid-canvas { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.page-hero-full { min-height: 88svh; display: flex; align-items: center; }

/* ---------- pricing ---------- */
.pricing { padding-top: 20px; }
.cards-price { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card { position: relative; }
.price-card.is-popular { border-color: var(--accent); background: linear-gradient(170deg, rgba(var(--accent-rgb), .3), rgba(255,255,255,.03) 65%); box-shadow: 0 30px 80px -40px rgba(var(--accent-rgb), .9); }
.badge { position: absolute; right: 22px; top: 22px; background: var(--accent); border-radius: 999px; padding: 5px 12px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price-card h2 { font: 700 .82rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-right: 90px; min-height: 3em; }
.price-card .price { font-family: var(--display); font-stretch: 118%; font-weight: 750; font-size: clamp(2.1rem, 3.6vw, 3.1rem); color: var(--text); margin: 6px 0 24px; }
.ticks { display: grid; gap: 12px; margin-bottom: 30px; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks .i { color: var(--accent-hi); }
.price-card .btn { margin-top: auto; letter-spacing: .04em; padding-inline: 14px; }
.cards-addon { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.addon dl { margin: 6px 0 24px; }
.addon dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.addon dd { font-weight: 700; white-space: nowrap; } .addon dd small { color: var(--muted); }
.addon .btn { margin-top: auto; align-self: flex-start; }
.price-strip { padding-block: 0; }
.price-box { display: grid; grid-template-columns: .8fr 1.4fr auto; gap: 36px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(110deg, rgba(var(--accent-rgb), .26), var(--bg-2) 70%); }
.price-box li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cards-include { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.more-services { padding-top: 0; }

/* ---------- rings ---------- */
.rings { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; width: 100%; margin: 56px 0 72px; }
.ring { position: relative; width: min(180px, 100%); margin: 0 auto 18px; aspect-ratio: 1; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 9; }
.ring .ring-fill { stroke: var(--accent-hi); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v)); transition: stroke-dashoffset 1.6s var(--ease) .15s; }
.js li:not(.is-in) .ring-fill { stroke-dashoffset: 100; }
.ring b { font-family: var(--display); font-stretch: 115%; font-size: 1.9rem; }
.rings p { color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rings-section .stat-row { margin-bottom: 0; }

/* ---------- forms ---------- */
.contact-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
.quote-section { padding-top: 20px; }
.contact-aside { position: sticky; top: calc(var(--header) + 20px); }
.contact-aside ul { display: grid; gap: 14px; }
.contact-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: rgba(255,255,255,.035); display: grid; grid-template-columns: 26px 1fr; column-gap: 16px; overflow: hidden; }
.contact-card .i { grid-row: span 2; width: 24px; height: 24px; color: var(--accent-hi); align-self: center; }
.contact-card h2 { font: 700 .72rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card a, .contact-card p { font-weight: 600; overflow-wrap: anywhere; position: relative; z-index: 1; }
.contact-card a:hover { color: var(--accent-hi); }
.quote-form, .form-card, .form-success { border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(170deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); padding: clamp(22px, 4vw, 44px); }
.quote-form, .form-card, .service-dynamic-fields { display: grid; gap: 18px; }
.service-dynamic-fields:not(:has(.service-fields:not([hidden]))) { display: none; }
.form-step { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-stretch: 115%; font-weight: 700; font-size: 1.15rem; margin-top: 8px; }
.form-step b { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: .9rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-fields { animation: panel-in .45s var(--ease); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field > span, .rf-stars legend { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); background-color: #18181b; transition: border-color .25s, box-shadow .25s; font-size: 16px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; text-overflow: ellipsis; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent-hi); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .25); }
.quote-form.was-validated :invalid:not(form), .review-form.was-validated :invalid:not(form):not(fieldset) { border-color: #ff6b6b; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.form-status { font-weight: 600; font-size: .92rem; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #ff8b8b; }
.form-status[data-state="success"] { color: #5ee2a5; }
.form-success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-block: 70px; animation: panel-in .6s var(--ease); }
.success-tick { width: 84px; height: 84px; fill: rgba(var(--accent-rgb), .18); stroke: var(--accent-hi); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.success-tick path { fill: none; stroke-dasharray: 50; animation: tick .8s var(--ease) .25s backwards; }
@keyframes tick { from { stroke-dashoffset: 50; } }
.grecaptcha-badge { visibility: visible !important; z-index: 98; }
body:has(.grecaptcha-badge) .to-top { bottom: 92px; }

/* ---------- reviews ---------- */
.reviews-summary { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.reviews-summary b { font-family: var(--display); font-size: 2.6rem; color: var(--text); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); padding: 30px; display: flex; flex-direction: column; gap: 18px; max-width: 760px; opacity: 0; transform: translateY(30px); transition: .8s var(--ease); transition-delay: calc(var(--i) * 80ms); }
.reviews.in .review-card { opacity: 1; transform: none; }
.stars { display: inline-flex; gap: 3px; font-size: 1.1rem; }
.stars i { font-style: normal; color: rgba(255,255,255,.18); } .stars i.on { color: #ffc247; }
.review-text { font-size: 1.08rem; overflow-wrap: anywhere; }
.review-who { margin-top: auto; display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 16px; }
.review-who span { color: var(--muted); font-size: .9rem; }
.review-who em { color: var(--accent-hi); font-size: .76rem; font-style: normal; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.review-page { padding-top: 10px; }
.review-state { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 56px 24px; }
.rf-stars { border: 0; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-top: 6px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2.4rem; line-height: 1; color: rgba(255,255,255,.2); cursor: pointer; transition: color .2s, transform .2s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #ffc247; }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--accent-hi); border-radius: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* =====================================================================
   Projects & case studies
   ===================================================================== */
.projects { padding: 30px 0 90px; }
.project-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.chip { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 11px 20px; border: 1px solid var(--line-2); border-radius: 999px; transition: .3s var(--ease); }
button.chip:hover { border-color: var(--accent-hi); transform: translateY(-2px); }
.chip.is-active { background: var(--accent); border-color: var(--accent); }
.chip em { font-style: normal; opacity: .65; margin-left: 6px; }
.chip-sep { width: 1px; background: var(--line-2); margin: 4px 6px; }
.chip-static { cursor: default; text-transform: none; letter-spacing: .02em; font-weight: 500; }
.filter-hint { text-align: center; font-size: .82rem; color: var(--muted); margin: -26px 0 48px; }
.filter-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.project-group { margin-bottom: 80px; }
.group-title { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 30px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.group-title em { font: 700 .86rem var(--body); color: var(--accent-hi); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.project-card { display: flex; flex-direction: column; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px 28px; background: linear-gradient(180deg, rgba(var(--accent-rgb), .14), rgba(255,255,255,.025) 55%); transition: transform .5s var(--ease), border-color .35s; }
.project-card:hover { transform: translateY(-8px); border-color: var(--line-2); }
.project-card.pop-in { animation: panel-in .55s var(--ease) both; }
.project-card-media { display: block; margin-bottom: 24px; }
.project-cat { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
.project-info h3 { font-size: 1.3rem; margin: 8px 0 10px; }
.project-info p { color: var(--muted); font-size: .92rem; }
.project-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 16px; }
.project-link { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; overflow-wrap: anywhere; }
.project-link:hover { color: var(--accent-hi); }

/* iPhone 18 Pro Max: every measurement scales with the phone's width */
.phone-mock { container-type: inline-size; width: 100%; max-width: 236px; margin: 0 auto; }
.phone-frame { position: relative; padding: 2.4cqw; border: 1.5cqw solid #5d6067; border-radius: 18cqw; background: #040405; box-shadow: 0 0 0 .5cqw #9a9da5, inset 0 0 0 .5cqw #2a2b30, 0 12cqw 20cqw -8cqw rgba(0,0,0,.75); transition: transform .5s var(--ease); }
.phone-frame::before, .phone-frame::after { content: ''; position: absolute; width: 1.4cqw; background: #6c6f77; }
.phone-frame::before { left: -3.2cqw; top: 36cqw; height: 8cqw; border-radius: 1cqw 0 0 1cqw; box-shadow: 0 16cqw 0 #6c6f77, 0 20cqw 0 #6c6f77, 0 22cqw 0 #6c6f77, 0 34cqw 0 #6c6f77, 0 38cqw 0 #6c6f77, 0 40cqw 0 #6c6f77; }
.phone-frame::after { right: -3.2cqw; top: 56cqw; height: 26cqw; border-radius: 0 1cqw 1cqw 0; box-shadow: 0 62cqw 0 #55575e; }
.project-card:hover .phone-frame { transform: translateY(-4px) rotate(-1.5deg); }
.phone-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 13cqw; padding: .6cqw 6cqw 0; background: var(--sb, #fff); color: var(--sbf, #000); border-radius: 13cqw 13cqw 0 0; font: 600 4.1cqw/1 -apple-system, 'Inter', sans-serif; transition: background .3s; }
.phone-status b { width: 20cqw; text-align: center; font-weight: 600; }
.phone-status svg { width: 18cqw; height: auto; margin-right: .6cqw; }
.phone-island { position: absolute; top: 2.9cqw; left: 50%; translate: -50% 0; width: 22cqw; height: 7.4cqw; border-radius: 5cqw; background: #000; z-index: 3; }
.phone-island::after { content: ''; position: absolute; right: 2.4cqw; top: 2.3cqw; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #26324a, #07080c 70%); }
.phone-screen { position: relative; width: 100%; aspect-ratio: 440 / 894; border-radius: 0 0 13cqw 13cqw; overflow: hidden; background: var(--sb, #fff); isolation: isolate; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-home { position: absolute; bottom: 4.2cqw; left: 50%; translate: -50% 0; width: 33cqw; height: 1.25cqw; border-radius: 1cqw; background: #fff; mix-blend-mode: difference; z-index: 3; pointer-events: none; }
/* app screenshots already include the safe area, so only the Dynamic Island floats above them */
/* app screens get their own status bar so the Dynamic Island never covers the interface */
.phone-frame.is-app .phone-status { background: #f9f9fc; color: #000; }
.phone-frame.is-app .phone-screen { background: #f9f9fc; }
.phone-screen.peek { container-type: size; }
.phone-screen.peek > img { height: auto; object-fit: initial; transition: transform .7s var(--ease); }
.phone-screen.peek.is-scrolling > img { transform: translateY(calc(-100% + 100cqh)); transition: transform 9s linear; }
.phone-mock-lg { max-width: 330px; }
.phone-screen.scroller, .desk-screen.scroller { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; cursor: grab; }
.phone-screen.scroller::-webkit-scrollbar, .desk-screen.scroller::-webkit-scrollbar { display: none; }
.phone-screen.scroller > img { width: 100%; height: auto; object-fit: initial; }
.browser-frame { background: #202024; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.85); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 12px; flex: 1; max-width: 360px; padding: 3px 12px; border-radius: 999px; background: #141416; font-size: .7rem; color: var(--muted); text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.desk-screen { aspect-ratio: 1280 / 800; background: #fff; }
.desk-screen img { width: 100%; height: auto; }

/* case study */
.case-top { padding: 10px 0 8px; }
.case-crumbs { margin-bottom: 24px; }
.case-crumbs a { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-crumbs a:hover { color: var(--accent-hi); }
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.case-facts > div { background: var(--bg-2); padding: 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.case-facts span { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi); }
.case-facts strong { font-size: .94rem; line-height: 1.5; font-weight: 600; }
.stage { padding: 80px 0; position: relative; overflow: hidden; background: radial-gradient(50% 55% at 50% 60%, rgba(var(--accent-rgb), .22), transparent 70%); }
.stage-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 34px; }
.stage-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 40px; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); }
.seg-btn, .tool-btn { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; transition: .3s var(--ease); }
.seg-btn { color: var(--muted); }
.seg-btn:hover { color: var(--text); }
.seg-btn.is-active { background: var(--accent); color: #fff; }
.stage-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-btn { border: 1px solid var(--line-2); }
.tool-btn:hover { border-color: var(--accent-hi); }
.tool-btn.is-on { background: var(--text); color: #111; }
.stage-canvas { display: flex; justify-content: center; min-height: 600px; }
.device { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.device.swap-in { animation: panel-in .55s var(--ease) both; }
.device-hint { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.device .phone-mock, .device .browser-frame { transition: transform .25s ease-out; }
.device-desktop .browser-frame { width: min(100%, 980px); }
.app-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 56px; width: 100%; }
.app-wrap .phone-mock { width: min(320px, 100%); margin: 0; }
.app-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform .8s var(--ease); }
.app-slide.is-on { opacity: 1; transform: none; }
.app-steps { display: grid; gap: 10px; min-width: 250px; }
.app-step { display: flex; align-items: center; gap: 14px; text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: .9rem; transition: .3s var(--ease); }
.app-step b { color: var(--muted); font-size: .74rem; }
.app-step.is-on { border-color: var(--accent); background: rgba(var(--accent-rgb), .2); transform: translateX(8px); }
.app-step.is-on b { color: var(--accent-hi); }
.case { padding: 40px 0 80px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.case-copy h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.case-copy h2:first-child { margin-top: 0; }
.case-copy p { color: var(--muted); max-width: 64ch; }
.case-list { display: grid; gap: 12px; max-width: 64ch; }
.case-list li { position: relative; padding-left: 28px; }
.case-list li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent-hi); rotate: 45deg; }
.case-stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.case-numbers { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 4px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(var(--accent-rgb), .28), var(--bg-2) 60%); }
.case-numbers h3 { font: 700 .72rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 8px; }
.case-numbers .num { padding: 14px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.case-numbers .num b { font-family: var(--display); font-stretch: 115%; font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.case-numbers .num span { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.js [data-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.case-timeline-sec { padding: 20px 0 90px; }
.tl { --progress: 0; position: relative; max-width: 880px; margin: 0 auto; padding: 8px 0; }
.tl::before, .tl::after { content: ''; position: absolute; left: 50%; top: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; }
.tl::before { bottom: 0; background: var(--line); }
.tl::after { height: calc(var(--progress) * 100%); background: var(--accent-hi); }
.tl-item { position: relative; width: 50%; padding: 0 44px 40px 0; transition: opacity .6s ease, transform .6s var(--ease); }
.tl-item.is-right { margin-left: 50%; padding: 0 0 40px 44px; }
.js .tl-item { opacity: 0; transform: translateX(-24px); }
.js .tl-item.is-right { transform: translateX(24px); }
.js .tl.in .tl-item { opacity: 1; transform: none; transition-delay: calc(var(--i) * 110ms); }
.tl-dot { position: absolute; top: 18px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 4px solid var(--accent-hi); z-index: 1; }
.tl-item.is-right .tl-dot { right: auto; left: -9px; }
.tl-card { padding: 18px 22px; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, transform .35s var(--ease); overflow-wrap: anywhere; }
.tl-item:hover .tl-card { border-color: var(--accent); transform: translateY(-3px); }
.tl-card time { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 6px; }
.tl-card p { font-size: .94rem; }
.tl-card a { text-decoration: underline; }
.tl-end .tl-dot { background: var(--accent-hi); }
.case-nav { padding: 0 0 70px; }
.case-nav-inner { display: flex; justify-content: space-between; gap: 16px; }
.case-nav a { display: flex; flex-direction: column; gap: 4px; padding: 20px 26px; border: 1px solid var(--line-2); border-radius: 14px; min-width: 0; transition: .35s var(--ease); }
.case-nav a:last-child { text-align: right; }
.case-nav a:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .16); transform: translateY(-3px); }
.case-nav span { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
    .nav, .header-actions .theme-switch, .header-cta { display: none; }
    .burger { display: block; }
    .cards-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cards-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-row { grid-template-columns: repeat(6, 1fr); }
    .stat-row li { grid-column: span 2; }
    .stat-row li:nth-child(n+4) { grid-column: span 3; }
    .footer-top { grid-template-columns: 1fr; }
    .price-box { grid-template-columns: 1fr; }
    .price-box .btn { justify-self: start; }
}
@media (min-width: 1101px) { .mobile-menu { display: none !important; } }
@media (max-width: 900px) {
    .cards-services, .cards-include { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-price { grid-template-columns: 1fr; }
    .showreel-grid, .contact-grid, .case-grid { grid-template-columns: minmax(0, 1fr); }
    .contact-aside { position: static; order: 2; }
    .rings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rings li:last-child { grid-column: 1 / -1; }
    .form-row-3 { grid-template-columns: 1fr; }
    .case-numbers { position: static; grid-template-columns: repeat(2, 1fr); order: -1; column-gap: 20px; }
    .case-numbers h3 { grid-column: 1 / -1; }
    .orbit { aspect-ratio: 1 / .92; }
    .globe-canvas { width: 74%; top: 58%; }
    .orbit-ring { left: 2%; right: 2%; }
    .orbit-tab-build { left: 19%; top: 70%; } .orbit-tab-operate { left: 80%; top: 70%; } .orbit-tab-grow { top: 16%; }
}
@media (max-width: 640px) {
    :root { --bar: 62px; --header: 82px; }
    .cards-services, .cards-include, .cards-why, .cards-addon, .form-row { grid-template-columns: minmax(0, 1fr); }
    .service-card { min-height: 0; }
    .why-card, .include-card { min-height: 0; }
    .btn-row .btn { flex: 1 1 100%; }
    .step { height: 440px; padding: 24px; }
    .step-num { left: 24px; }
    .art { width: 86%; right: -2%; top: 13%; }
    .work-card figure { padding: 20px 20px 0; }
    .work-phone { right: 14px; }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-cols > div:last-child { grid-column: 1 / -1; }
    .tl::before, .tl::after { left: 8px; }
    .tl-item, .tl-item.is-right { width: 100%; margin-left: 0; padding: 0 0 28px 36px; }
    .tl-dot, .tl-item.is-right .tl-dot { left: -1px; right: auto; }
    .js .tl-item, .js .tl-item.is-right { transform: translateY(18px); }
    .js .tl.in .tl-item { transform: none; }
    .case-nav-inner { flex-direction: column; }
    .case-nav a:last-child { text-align: left; }
    .chip-sep { display: none; }
    .stage-bar { justify-content: center; }
    .stat-row li { padding: 24px 8px; }
    .stat-row span { font-size: .66rem; }
    .header-actions { gap: 10px; }
    .logo-img { height: 44px; }
    .header-inner { padding: 0 7px 0 20px; }
    .cookie-popup { padding: 16px 18px; }
    .cookie-popup p { font-size: .8rem; line-height: 1.5; }
    .logo-item { width: 132px; height: 76px; }
    .hero { padding-bottom: 76px; }
    .hero-title { font-size: clamp(1.7rem, 7.6vw, 2.5rem); }
    .h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
    .h2, .section-title { font-size: clamp(1.6rem, 7.4vw, 2.2rem); }
}

@media (max-width: 640px) {
    /* Home shows a compact two-up service grid; full descriptions live on /services. */
    .is-home .cards-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .is-home .service-card { padding: 18px 16px; }
    .is-home .service-card p { display: none; }
    .is-home .service-card h3 { font-size: 1rem; }
    .is-home .card-icon { margin-bottom: 18px; }
}

/* keep the cookie notice clear of the reCAPTCHA badge on phones */
@media (max-width: 640px) { body:has(.grecaptcha-badge) .cookie-popup { bottom: 86px; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    .marquee { flex-wrap: wrap; width: auto; justify-content: center; }
    .marquee-track { flex-wrap: wrap; justify-content: center; }
    .marquee-track [aria-hidden="true"], .marquee-track[aria-hidden="true"] { display: none; }
}

.case-grid.case-grid-single { grid-template-columns: minmax(0, 1fr); }
.case-grid-single .case-copy { max-width: 820px; margin-inline: auto; }
.phone-screen > img.app-slide { object-fit: contain; object-position: top; }

#process { scroll-margin-top: 24px; }
