/* ==========================================================================
   ONODA: premium / futuristic theme
   No external dependencies (CSP: self only). System font stacks.
   ========================================================================== */

:root {
    color-scheme: dark;
    --bg: #05070b;
    --bg-2: #090d14;
    --surface: rgba(255, 255, 255, .035);
    --surface-2: rgba(255, 255, 255, .06);
    --stroke: rgba(255, 255, 255, .08);
    --stroke-2: rgba(255, 255, 255, .14);
    --ink: #eef2f6;
    --ink-2: #c3ccd5;
    --muted: #8592a0;
    --dim: #7b8896;
    --orange: #ff6b2c;
    --amber: #ffb067;
    --orange-glow: rgba(255, 107, 44, .45);
    --cyan: #5fd4ff;
    --green: #3ddc97;
    --grad: linear-gradient(100deg, #ff5a1f 0%, #ff8a3d 45%, #ffc48a 100%);
    --radius: 20px;
    --radius-sm: 12px;
    --ease: cubic-bezier(.2, .7, .1, 1);
    --sans: "Segoe UI Variable Display", "SF Pro Display", -apple-system, "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", "Cascadia Code", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
    --header-h: 76px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--bg); }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
::selection { color: #fff; background: rgba(255, 107, 44, .55); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.section-wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-200%); padding: 10px 16px; border-radius: 10px; background: var(--orange); color: #fff; font-weight: 600; }
.skip-link:focus { transform: none; }

/* film grain + ambient cursor light */
.bg-noise { position: fixed; z-index: 90; inset: 0; pointer-events: none; opacity: .035;
    background-image: url("../images/noise.svg"); }
.cursor-glow { position: fixed; z-index: 0; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(255, 120, 60, .09), transparent 65%); transition: opacity .4s; will-change: transform; }
.has-pointer .cursor-glow { opacity: 1; }
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-index { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 8px; border: 1px solid rgba(255, 107, 44, .35); border-radius: 999px; background: rgba(255, 107, 44, .08); color: var(--amber); font-size: 11px; letter-spacing: .06em; }
h2 { margin: 0; font-size: clamp(34px, 4.4vw, 60px); font-weight: 650; letter-spacing: -.035em; line-height: 1.04; }
h2 em, .h1-accent { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 em { background: linear-gradient(100deg, #9aa6b2, #e7ecf1 60%, #9aa6b2); -webkit-background-clip: text; background-clip: text; }
.heading-aside { max-width: 360px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 7px 14px 7px 11px; border: 1px solid var(--stroke-2); border-radius: 999px; background: rgba(255, 255, 255, .04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.chip-sep { color: var(--dim); }
.status-dot { position: relative; flex: 0 0 auto; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.status-dot::after { position: absolute; inset: -4px; content: ""; border: 1px solid var(--green); border-radius: 50%; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- Buttons ---------- */
.button { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 30px; overflow: hidden; border: 0; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -.005em; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; }
.button-primary { background: var(--grad); color: #160700; box-shadow: 0 10px 40px -10px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,.45); }
.button-primary::before { position: absolute; z-index: -1; top: 0; left: -60%; width: 40%; height: 100%; content: ""; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transition: left .7s var(--ease); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,.45); }
.button-primary:hover::before { left: 120%; }
.button-ghost { padding: 0 24px; border: 1px solid var(--stroke-2); background: rgba(255,255,255,.03); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.button-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }

/* ---------- Header ---------- */
.site-header { position: fixed; z-index: 50; top: 14px; right: 0; left: 0; pointer-events: none; }
.header-inner { width: min(1280px, calc(100% - 40px)); min-height: var(--header-h); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 10px 10px 12px; border: 1px solid transparent; border-radius: 22px; pointer-events: auto; transition: background .4s, border-color .4s, box-shadow .4s, min-height .4s var(--ease); }
.is-scrolled .header-inner { min-height: 64px; border-color: var(--stroke); background: rgba(8, 11, 17, .72); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.wordmark { display: inline-flex; align-items: center; justify-content: center; padding: 0 10px 10px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 30px -10px rgba(255,107,44,.5); transition: transform .3s var(--ease); }
.wordmark:hover { transform: scale(1.03); }
.wordmark img { display: block; width: 90px; height: 60px; object-fit: contain; transition: width .4s var(--ease), height .4s var(--ease); }
.is-scrolled .site-header .wordmark img { width: 75px; height: 50px; }
.main-nav { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--stroke); border-radius: 999px; background: rgba(10, 14, 21, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14px; font-weight: 500; }
.main-nav > a:not(.nav-contact) { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; color: var(--ink-2); transition: color .25s, background .25s; }
.main-nav > a:not(.nav-contact):hover, .main-nav > a.is-active { background: rgba(255,255,255,.07); color: #fff; }
.nav-index { color: var(--dim); font-family: var(--mono); font-size: 10.5px; transition: color .25s; }
.main-nav > a:hover .nav-index, .main-nav > a.is-active .nav-index { color: var(--amber); }
.nav-contact { display: inline-flex; align-items: center; gap: 10px; margin-left: 6px; padding: 10px 18px; border-radius: 999px; background: #fff; color: #0a0d12; font-weight: 600; transition: background .25s, transform .3s var(--ease); }
.nav-contact:hover { background: var(--amber); transform: translateY(-1px); }
.nav-contact-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero-shell { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 140px 0 90px; isolation: isolate; }
.hero-canvas { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-grid { position: absolute; z-index: -2; 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: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%); }
.hero-orb { position: absolute; z-index: -3; border-radius: 50%; pointer-events: none; will-change: transform; }
.hero-orb-a { top: -12%; right: -8%; width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, rgba(255, 95, 31, .38), rgba(255, 95, 31, 0) 68%); animation: drift 18s ease-in-out infinite alternate; }
.hero-orb-b { bottom: -25%; left: -15%; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; background: radial-gradient(circle, rgba(64, 140, 255, .18), rgba(64, 140, 255, 0) 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-6%, 8%, 0) scale(1.1); } }
.hero-shell::after { position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 180px; content: ""; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
.hero h1 { margin: 0 0 28px; font-size: clamp(54px, 8.2vw, 124px); font-weight: 700; letter-spacing: -.055em; line-height: .92; }
.h1-line { display: block; }
.h1-line:nth-child(2) { color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.55); }
.h1-accent { filter: drop-shadow(0 0 40px rgba(255, 107, 44, .35)); }
.hero-lede { max-width: 520px; margin-bottom: 36px; color: var(--ink-2); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.hero-specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 48px 0 0; }
.hero-specs div { padding: 4px 28px 4px 0; margin-right: 28px; border-right: 1px solid var(--stroke-2); }
.hero-specs div:last-child { margin-right: 0; border-right: 0; }
.hero-specs dt { margin-bottom: 6px; color: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.hero-specs dd { margin: 0; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }

.hero-visual { position: relative; margin: 0; perspective: 1200px; }
.hud-frame { position: relative; aspect-ratio: 4 / 4.6; max-height: 640px; overflow: hidden; border: 1px solid var(--stroke-2); border-radius: 28px; background: #0c1118; box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 0 8px rgba(255,255,255,.02), 0 0 80px -20px rgba(255,107,44,.35); transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hud-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 45% center; filter: saturate(.85) contrast(1.08); }
.hud-frame::before { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(5,7,11,.45), transparent 30%, transparent 55%, rgba(5,7,11,.92)), linear-gradient(120deg, rgba(255,107,44,.18), transparent 40%); pointer-events: none; }
.hud-frame::after { position: absolute; z-index: 1; inset: 0; content: ""; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); pointer-events: none; mix-blend-mode: overlay; }
.hud-scan { position: absolute; z-index: 2; right: 0; left: 0; top: 0; height: 120px; background: linear-gradient(180deg, transparent, rgba(255,140,70,.16) 85%, rgba(255,170,110,.7) 100%); animation: scan 5.5s cubic-bezier(.6,0,.4,1) infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-130px); } 100% { transform: translateY(760px); } }
.hud-corner { position: absolute; z-index: 3; width: 26px; height: 26px; border: 2px solid var(--amber); pointer-events: none; }
.hud-tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.hud-tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.hud-bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.hud-br { right: 16px; bottom: 16px; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.hud-top, .hud-bottom { position: absolute; z-index: 3; right: 54px; left: 54px; display: flex; justify-content: space-between; gap: 12px; color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hud-top { top: 22px; }
.hud-top span { display: inline-flex; align-items: center; gap: 8px; }
.hud-tag { width: 8px; height: 8px; transform: rotate(45deg); background: var(--grad); box-shadow: 0 0 12px var(--orange-glow); }
.hud-accent { color: var(--amber); }
.hud-bottom { bottom: 22px; }
.hud-bottom span:last-child { color: rgba(255,255,255,.6); letter-spacing: .04em; text-transform: none; }
.hud-card { position: absolute; z-index: 4; display: grid; gap: 6px; padding: 14px 18px; border: 1px solid var(--stroke-2); border-radius: 16px; background: rgba(12, 16, 24, .7); box-shadow: 0 20px 50px -15px rgba(0,0,0,.8); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); animation: float 7s ease-in-out infinite; }
.hud-card-a { top: 18%; left: -48px; }
.hud-card-b { right: -36px; bottom: 16%; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hud-label { color: var(--dim); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.hud-value { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 15px; font-weight: 600; }
.hud-bars { display: flex; align-items: flex-end; gap: 4px; height: 18px; margin-top: 2px; }
.hud-bars i { width: 5px; border-radius: 2px; background: var(--grad); }
.hud-bars i:nth-child(1) { height: 40%; }
.hud-bars i:nth-child(2) { height: 70%; }
.hud-bars i:nth-child(3) { height: 100%; }
.hud-bars i:nth-child(4) { height: 60%; }
.hud-bars i:nth-child(5) { height: 85%; }
.hud-check { flex: 0 0 auto; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--grad); fill: none; stroke: #160700; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 0 14px var(--orange-glow); }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--stroke-2); border-radius: 999px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ribbon ---------- */
.service-ribbon { position: relative; z-index: 2; border-block: 1px solid var(--stroke); background: rgba(255,255,255,.015); }
.marquee, .logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track, .logo-track { display: flex; width: max-content; animation: marquee 38s linear infinite; will-change: transform; }
.marquee:hover .marquee-track, .logo-marquee:hover .logo-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; gap: 36px; padding: 26px 18px; color: var(--ink-2); font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.marquee-group i { width: 10px; height: 10px; flex: 0 0 10px; transform: rotate(45deg); background: var(--grad); box-shadow: 0 0 14px var(--orange-glow); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Sections ---------- */
.section { padding-top: 140px; padding-bottom: 120px; }
.section-heading, .clients-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }

/* services: glass cards with pointer spotlight */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { --mx: 50%; --my: 50%; position: relative; isolation: isolate; min-height: 280px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid var(--stroke); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); transition: border-color .4s, transform .5s var(--ease); }
.service-card::before { position: absolute; z-index: -1; inset: 0; content: ""; opacity: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 120, 55, .16), transparent 45%); transition: opacity .4s; }
.service-card::after { position: absolute; z-index: -1; inset: -1px; content: ""; padding: 1px; border-radius: inherit; opacity: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 160, 100, .9), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); transition: opacity .4s; }
.service-card:hover { transform: translateY(-4px); border-color: var(--stroke-2); }
.service-card:hover::before, .service-card:hover::after { opacity: 1; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: auto; padding-bottom: 40px; }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(255,140,80,.28); border-radius: 16px; background: radial-gradient(circle at 30% 20%, rgba(255,140,80,.25), rgba(255,107,44,.04) 70%); color: var(--amber); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 30px -10px rgba(255,107,44,.4); transition: transform .5s var(--ease); }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-number { color: var(--dim); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.service-card h3 { margin-bottom: 10px; color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.service-card p { max-width: 330px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.service-card-cta { justify-content: flex-end; border-color: rgba(255,107,44,.4); background: radial-gradient(120% 120% at 100% 0%, rgba(255,107,44,.55), rgba(255,107,44,.08) 55%, rgba(255,107,44,.02)), #0b0e14; }
.service-card-cta::before { opacity: 1; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 14px); }
.cta-overline { display: block; margin-bottom: 8px; color: var(--ink-2); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.service-card-cta h3 { margin: 0 0 22px; font-size: clamp(36px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.045em; }
.cta-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 46px; padding: 0 24px; border-radius: 999px; background: #fff; color: #120600; font-size: 15px; font-weight: 600; transition: background .25s, transform .3s var(--ease); }
.service-card-cta:hover .cta-link { background: var(--amber); }

/* approach */
.approach { position: relative; padding: 120px 0; overflow: hidden; border-block: 1px solid var(--stroke); background: radial-gradient(60% 80% at 0% 50%, rgba(255,107,44,.09), transparent 70%), var(--bg-2); }
.approach-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.approach-photo { position: relative; aspect-ratio: 4 / 4.4; margin: 0; overflow: hidden; border: 1px solid var(--stroke-2); border-radius: 28px; }
.approach-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; filter: saturate(.8) contrast(1.05); transform: scale(1.08) translateY(var(--py, 0px)); }
.approach-photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 50%, rgba(5,7,11,.85)), linear-gradient(60deg, rgba(64,140,255,.18), transparent 50%); pointer-events: none; }
.approach-photo figcaption { position: absolute; z-index: 3; bottom: 24px; left: 54px; color: rgba(255,255,255,.75); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.approach-lede { max-width: 520px; margin: 26px 0 40px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.steps { position: relative; margin: 0; padding: 0; list-style: none; }
.steps::before { position: absolute; top: 22px; bottom: 22px; left: 21px; width: 1px; content: ""; background: var(--stroke-2); }
.steps::after { position: absolute; top: 22px; left: 21px; width: 1px; height: calc((100% - 44px) * var(--progress, 0)); content: ""; background: linear-gradient(var(--amber), var(--orange)); box-shadow: 0 0 12px var(--orange); transition: height .2s linear; }
.steps li { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; padding: 16px 18px 16px 0; border-radius: 16px; transition: background .3s; }
.steps li:hover { background: rgba(255,255,255,.025); }
.step-num { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--stroke-2); border-radius: 50%; background: var(--bg-2); color: var(--amber); font-family: var(--mono); font-size: 12px; transition: border-color .4s, box-shadow .4s; }
.steps li.is-visible .step-num { border-color: rgba(255,140,80,.6); box-shadow: 0 0 0 5px rgba(255,107,44,.08), 0 0 22px -4px var(--orange-glow); }
.steps b, .steps small { display: block; }
.steps b { color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.steps small { margin-top: 3px; color: var(--muted); font-size: 14.5px; }

/* gallery: masonry (CSS columns balance the bricks automatically) */
.masonry { column-count: 4; column-gap: 14px; }
.masonry-item { margin: 0 0 14px; overflow: hidden; break-inside: avoid; border: 1px solid var(--stroke); border-radius: 16px; background: #0b0f15; }
.masonry-item img { display: block; width: 100%; height: auto; filter: saturate(.85) contrast(1.04) brightness(.92); transition: transform .9s var(--ease), filter .5s; }
.masonry-item:hover img { transform: scale(1.05); filter: none; }

/* clients */
.clients { position: relative; padding: 120px 0; border-top: 1px solid var(--stroke); }
.logo-marquee { padding-block: 12px; }
.logo-track { animation-duration: 55s; }
.logo-group { display: flex; flex-shrink: 0; gap: 16px; margin: 0; padding: 0 8px; list-style: none; }
.client-logo { display: flex; align-items: center; justify-content: center; overflow: hidden; width: 200px; height: 110px; padding: 18px 26px; border: 1px solid var(--stroke); border-radius: 18px; background: #fff; box-shadow: inset 0 1px 0 #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.client-logo:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -14px rgba(255,107,44,.45); }
.client-logo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .4s, opacity .4s; }
.client-logo:hover img { filter: none; opacity: 1; }
.client-empty { color: var(--muted); }

/* contact */
.contact-shell { position: relative; padding: 40px 0 140px; }
.contact { position: relative; isolation: isolate; display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; padding: 64px; overflow: hidden; border: 1px solid var(--stroke-2); border-radius: 32px; background: radial-gradient(70% 90% at 0% 0%, rgba(255,107,44,.16), transparent 60%), radial-gradient(50% 60% at 100% 100%, rgba(64,140,255,.1), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); box-shadow: 0 50px 120px -40px rgba(0,0,0,.9); }
.contact::before { position: absolute; z-index: -1; inset: 0; content: ""; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 0% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000, transparent 70%); }
.contact h2 { font-size: clamp(40px, 5vw, 68px); }
.contact-copy > p:not(.eyebrow) { max-width: 400px; margin: 24px 0 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.contact-points { display: grid; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; }
.contact-points li { display: flex; align-items: center; gap: 14px; }
.contact-points .status-dot { background: var(--amber); box-shadow: 0 0 10px var(--orange); }
.contact-points .status-dot::after { display: none; }
.contact-direct { display: grid; gap: 16px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--stroke-2); }
.contact-direct dt { margin-bottom: 2px; color: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.contact-direct dd { margin: 0; color: var(--ink); font-size: 17px; font-weight: 500; }
.contact-direct a { background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .25s; }
.contact-direct a:hover { background-size: 100% 1px; color: var(--amber); }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; row-gap: 9px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.contact-form label > span:not(.optional) { display: inline; color: var(--orange); }
.contact-form .optional { color: var(--dim); font-size: 12px; font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea { flex: 1 0 100%; width: 100%; border: 1px solid var(--stroke-2); border-radius: 14px; outline: none; background: rgba(5,7,11,.55); color: var(--ink); font-size: 15px; transition: border-color .25s, box-shadow .25s, background .25s; }
.contact-form input, .contact-form select { height: 54px; padding: 0 18px; }
.contact-form select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("../images/select-arrow.svg"); background-position: right 18px center; background-repeat: no-repeat; }
.contact-form select option { background: #0c1018; color: var(--ink); }
.contact-form textarea { min-height: 150px; padding: 16px 18px; resize: vertical; }
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: rgba(255,255,255,.24); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(255,140,80,.75); background: rgba(5,7,11,.8); box-shadow: 0 0 0 4px rgba(255,107,44,.14), 0 0 30px -8px var(--orange-glow); }
.contact-form select:invalid { color: var(--dim); }
.contact-form input:user-invalid, .contact-form textarea:user-invalid, .contact-form select:user-invalid { border-color: rgba(255,107,44,.7); }
.contact-form button[disabled] { cursor: progress; opacity: .7; transform: none; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 6px; }
.form-submit small { max-width: 260px; color: var(--dim); font-size: 12.5px; line-height: 1.6; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin-bottom: 22px; padding: 14px 18px; border: 1px solid; border-radius: 14px; font-size: 14.5px; }
.form-notice:focus { outline-offset: 3px; }
.notice-success { border-color: rgba(61,220,151,.4); background: rgba(61,220,151,.08); color: #9ff0c9; }
.notice-error { border-color: rgba(255,107,44,.45); background: rgba(255,107,44,.08); color: #ffc29d; }

/* footer */
.site-footer { overflow: hidden; border-top: 1px solid var(--stroke); background: linear-gradient(180deg, var(--bg), #020305); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 56px; padding-bottom: 20px; }
.footer-wordmark img { width: 120px; height: 80px; }
.footer-main > p { flex: 1 1 260px; min-width: 220px; margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; text-align: left; text-wrap: balance; }
.footer-main > p span { color: var(--muted); }
.footer-nav { display: flex; flex: 0 0 auto; flex-wrap: nowrap; justify-content: center; gap: 4px 20px; font-size: 14px; white-space: nowrap; }
.footer-nav a { color: var(--muted); transition: color .25s; }
.footer-nav a:hover { color: #fff; }
.back-top { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; white-space: nowrap; padding: 10px 18px; border: 1px solid var(--stroke-2); border-radius: 999px; color: var(--ink-2); font-size: 14px; transition: border-color .3s, color .3s; }
.back-top:hover { border-color: rgba(255,140,80,.6); color: #fff; }
.back-top span { color: var(--amber); }
.footer-giant { margin: 0 0 -.18em; color: transparent; font-size: clamp(110px, 27vw, 420px); font-weight: 800; letter-spacing: -.07em; line-height: 1; text-align: center; user-select: none; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,107,44,.08) 55%, transparent 85%); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; border-top: 1px solid var(--stroke); color: var(--dim); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; }

/* Skip layout/paint for the footer far off-screen. Sections above anchor targets must keep real heights, or #links land in the wrong place. */
.site-footer { content-visibility: auto; contain-intrinsic-size: auto 600px; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero .reveal { transform: translate3d(0, 40px, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .masonry { column-count: 3; }
    .footer-main { flex-wrap: wrap; justify-content: space-between; }
    .footer-main > p { order: 3; flex: 0 0 100%; width: 100%; }
    .footer-nav { order: 4; width: 100%; flex-wrap: wrap; justify-content: flex-start; }
    .section-wrap { width: min(100% - 56px, 920px); }
    .hero { grid-template-columns: 1fr; gap: 72px; }
    .hero-copy { max-width: 760px; }
    .hero-visual { width: min(100%, 620px); margin-inline: auto; }
    .hud-frame { aspect-ratio: 4 / 3.4; }
    .hud-card-a { left: -20px; }
    .hud-card-b { right: -16px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-inner { gap: 48px; }
    .contact { gap: 48px; padding: 48px; }
    .main-nav > a:not(.nav-contact) { padding: 10px 12px; }
    .nav-index { display: none; }
}
@media (max-width: 860px) {
    :root { --header-h: 64px; }
    html { scroll-padding-top: 96px; }
    .section-wrap { width: calc(100% - 40px); }
    .site-header { top: 10px; }
    .header-inner { width: calc(100% - 20px); min-height: 64px; border-color: var(--stroke); background: rgba(8, 11, 17, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
    .wordmark img, .is-scrolled .site-header .wordmark img { width: 66px; height: 44px; }
    .menu-toggle { position: relative; width: 46px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--stroke-2); border-radius: 14px; background: rgba(255,255,255,.04); cursor: pointer; }
    .menu-toggle span:not(.sr-only) { width: 18px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
    .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.75px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
    .main-nav { position: absolute; top: calc(100% + 10px); right: 10px; left: 10px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-color: var(--stroke-2); border-radius: 22px; background: rgba(8, 11, 17, .94); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); font-size: 17px; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top; transition: opacity .3s, transform .35s var(--ease), visibility .35s; }
    .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .main-nav > a:not(.nav-contact) { padding: 16px 14px; border-radius: 14px; }
    .nav-index { display: inline; }
    .nav-contact { justify-content: center; margin: 8px 0 0; padding: 16px; }
    .hero-shell { min-height: auto; padding: 130px 0 90px; }
    .hero { gap: 56px; }
    .hero-specs { grid-template-columns: repeat(3, auto); }
    .hero-specs div { padding-right: 18px; margin-right: 18px; }
    .hud-card { padding: 11px 14px; }
    .hud-card-a { top: 10%; left: -8px; }
    .hud-card-b { right: -8px; bottom: 12%; }
    .scroll-cue { display: none; }
    .section { padding-top: 96px; padding-bottom: 88px; }
    .section-heading, .clients-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 40px; }
    .approach { padding: 88px 0; }
    .approach-inner { grid-template-columns: 1fr; }
    .approach-photo { aspect-ratio: 16 / 11; }
    .clients { padding: 88px 0; }
    .client-logo { width: 160px; height: 92px; padding: 14px 20px; }
    .contact-shell { padding: 20px 0 96px; }
    .contact { grid-template-columns: 1fr; gap: 40px; padding: 36px 26px; border-radius: 26px; }
    .footer-main { flex-wrap: wrap; justify-content: space-between; }
    .footer-main > p { order: 3; flex: 0 0 100%; width: 100%; text-align: left; }
    .footer-nav { order: 4; width: 100%; flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 560px) {
    .masonry { column-count: 2; column-gap: 10px; }
    .masonry-item { margin-bottom: 10px; border-radius: 12px; }
    .section-wrap { width: calc(100% - 32px); }
    .chip { font-size: 10.5px; }
    .hero h1 { font-size: clamp(48px, 15vw, 72px); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-specs { grid-template-columns: 1fr 1fr 1fr; }
    .hero-specs div { padding-right: 10px; margin-right: 10px; }
    .hero-specs dd { font-size: 14px; }
    .hud-frame { aspect-ratio: 4 / 4.2; border-radius: 22px; }
    .hud-top, .hud-bottom { right: 44px; left: 44px; font-size: 9.5px; }
    .hud-bottom span:last-child { display: none; }
    .hud-card-a { top: 24%; }
    .hud-card-b { display: none; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 240px; padding: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .form-submit { flex-direction: column; align-items: stretch; }
    .footer-bottom { flex-direction: column; justify-content: center; gap: 6px; padding-block: 18px; text-align: center; }
}

/* Phones & touch: no backdrop blur, blend modes or big filters (main source of scroll jank) */
@media (hover: none), (max-width: 860px) {
    .bg-noise, .cursor-glow, .hud-frame::after { display: none; }
    .header-inner, .is-scrolled .header-inner, .main-nav, .chip, .button-ghost, .hud-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .header-inner, .is-scrolled .header-inner { background: rgba(8, 11, 17, .94); box-shadow: none; transition: none; }
    .main-nav { background: rgb(10, 13, 19); }
    .hud-card { background: rgba(12, 16, 24, .92); }
    .h1-accent { filter: none; }
    .hero-orb { animation: none; }
    .hud-frame { box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 50px -20px rgba(255,107,44,.35); transform: none; transition: none; }
    .hud-frame img, .approach-photo img, .masonry-item img { filter: none; }
    .approach-photo img { transform: none; }
    .service-card::before, .service-card::after { display: none; }
    .service-card-cta::before { display: block; }
    .js .reveal { transform: translate3d(0, 18px, 0); transition-duration: .6s; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .marquee-track, .logo-track { animation: none; }
    .marquee, .logo-marquee { overflow-x: auto; }
    .hud-scan { display: none; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal: consent checkbox, footer links, cookie notice, legal pages ---------- */
.contact-form label.consent-check { flex-wrap: nowrap; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.55; cursor: pointer; }
.contact-form .consent-check input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--orange); cursor: pointer; }
.contact-form label.consent-check > span { display: block; color: var(--muted); }
.consent-check a, .legal a, .cookie-banner a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.consent-check .req { display: inline; color: var(--orange); }

.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.footer-legal a, .footer-legal button { padding: 0; border: 0; background: none; color: var(--dim); font: inherit; letter-spacing: inherit; cursor: pointer; transition: color .25s; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }

.cookie-banner { position: fixed; z-index: 80; right: 20px; bottom: 20px; left: 20px; display: flex; justify-content: center; pointer-events: none; opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-inner { display: flex; align-items: center; gap: 28px; width: min(960px, 100%); padding: 20px 22px 20px 26px; border: 1px solid var(--stroke-2); border-radius: 22px; background: rgba(10, 14, 21, .96); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); pointer-events: auto; }
.cookie-copy p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.cookie-copy .cookie-title { margin-bottom: 4px; color: var(--ink); font-size: 15px; font-weight: 600; }
.cookie-actions { flex: 0 0 auto; }
.cookie-banner .button { min-height: 46px; white-space: nowrap; }

.legal-header { padding: 18px 0; }
.legal-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal { padding: 40px 0 110px; }
.legal-wrap { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.legal h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 58px); font-weight: 650; letter-spacing: -.035em; line-height: 1.05; }
.legal-updated { margin: 0 0 40px; color: var(--dim); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.legal h2 { margin: 44px 0 14px; padding-top: 28px; border-top: 1px solid var(--stroke); font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.legal ul { padding-left: 22px; }
.legal code { padding: 2px 7px; border-radius: 6px; background: var(--surface-2); color: var(--amber); font-family: var(--mono); font-size: 13px; }
.legal-list { display: grid; gap: 0; margin: 0; border: 1px solid var(--stroke); border-radius: var(--radius-sm); }
.legal-list > div { display: grid; grid-template-columns: 230px 1fr; gap: 16px; padding: 13px 18px; }
.legal-list > div + div { border-top: 1px solid var(--stroke); }
.legal-list dt { color: var(--muted); font-size: 14px; }
.legal-list dd { margin: 0; color: var(--ink); font-size: 15px; }
.legal-table { width: 100%; margin: 14px 0 20px; border: 1px solid var(--stroke); border-collapse: separate; border-spacing: 0; border-radius: var(--radius-sm); overflow: hidden; font-size: 14.5px; }
.legal-table th, .legal-table td { padding: 13px 16px; border-bottom: 1px solid var(--stroke); color: var(--ink-2); text-align: left; vertical-align: top; line-height: 1.6; }
.legal-table th { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-todo { padding: 1px 7px; border: 1px dashed rgba(255,176,103,.6); border-radius: 6px; background: rgba(255,107,44,.1); color: var(--amber); font-size: .92em; }
.legal-nowrap { white-space: nowrap; }
.legal-inline-button { padding: 0; border: 0; background: none; color: var(--amber); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.legal-footer .footer-bottom { border-top: 1px solid var(--stroke); }

@media (max-width: 860px) {
    .cookie-banner { right: 12px; bottom: 12px; left: 12px; }
    .cookie-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
    .cookie-banner .button { width: 100%; }
    .footer-legal { justify-content: center; }
    .legal-list > div { grid-template-columns: 1fr; gap: 2px; }
    .legal-table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .cookie-banner { transition: none; }
}
