/* ==========================================================================
   Lavion Studio · main.css
   Midnight / Lime / Paper. Clash Display · Inter · JetBrains Mono.
   ========================================================================== */

@font-face { font-family: "Clash"; src: url(../fonts/ClashDisplay-Semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Familjen"; src: url(../fonts/familjen-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mono"; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
	--midnight: #0B1020; --raised: #141B2D; --sunken: #070A15; --deep: #080C19;
	--lime: #C6F432; --lime-d: #9BC20F; --olive: #4A6600;
	--paper: #F6F4EF; --paper-2: #ECE9E1; --white: #fff;
	--mute-d: #A3ACBF; --mute-p: #545D70;
	--line-d: rgba(255,255,255,.1); --line-p: rgba(11,16,32,.12);
	--f-display: "Clash", "Inter", system-ui, sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--wrap: 1240px; --gut: 32px;
	--r-badge: 6px; --r-btn: 10px; --r-card: 16px; --r-panel: 24px;
	--ease: cubic-bezier(.22,1,.36,1);
	--hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body { margin: 0; background: var(--midnight); color: var(--white); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--midnight); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--lime); color: var(--midnight); padding: 10px 16px; border-radius: var(--r-btn); font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: calc(820px + var(--gut) * 2); }
.center { text-align: center; }
.small { font-size: 14px; color: var(--mute-d); }
.tone-paper .small { color: var(--mute-p); }

/* ---------- Tones ---------- */
.tone-dark { background: var(--midnight); color: var(--white); }
.tone-deep { background: var(--deep); color: var(--white); }
.tone-paper { background: var(--paper); color: var(--midnight); }
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }

/* ---------- Type ---------- */
.label { font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute-d); margin: 0 0 22px; }
.tone-paper .label { color: var(--mute-p); }
.h2 { font: 600 clamp(36px, 5.2vw, 68px)/1.02 var(--f-display); letter-spacing: -.01em; margin-bottom: 24px; }
.h3 { font: 600 clamp(26px, 2.6vw, 34px)/1.12 var(--f-display); margin-bottom: 16px; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--mute-d); max-width: 620px; }
.tone-paper .lead { color: var(--mute-p); }
em { font-style: normal; }
.h2 em, .hero-title em, .phero-title em, .ft-title em, .next-title em { color: var(--lime); }
.tone-paper .h2 em, .tone-paper .phero-title em { color: var(--olive); }
.sub-h { font: 600 18px/1.3 var(--f-body); margin: 56px 0 20px; }

/* Word mask reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }
.js .reveal-words .w > span { transform: translateY(105%); }
.js .reveal-words.is-in .w > span { transform: none; transition: transform 1s var(--ease); }
.js .fade-up { opacity: 0; transform: translateY(28px); }
.js .fade-up.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: var(--r-btn); font: 600 15px/1 var(--f-body); white-space: nowrap; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; isolation: isolate; overflow: hidden; }
.btn .ico { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico { transform: translateX(3px); }
.btn-label { display: inline-block; overflow: hidden; height: 1.25em; line-height: 1.25; }
.btn-label > span { display: block; text-shadow: 0 1.25em currentColor; transition: transform .45s var(--ease); }
.btn:hover .btn-label > span { transform: translateY(-1.25em); }
.btn-primary { background: var(--lime); color: var(--midnight); }
.btn-primary:hover { background: #d4ff4d; }
.btn-ghost { border: 1px solid rgba(255,255,255,.28); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.tone-paper .btn-ghost { border-color: var(--line-p); color: var(--midnight); }
.btn-dark { background: var(--midnight); color: var(--white); }
.btn-dark:hover { background: #1b2440; }
.tone-dark .btn-dark, .tone-deep .btn-dark { background: var(--white); color: var(--midnight); }
.btn-link { padding: 0; height: auto; gap: 8px; border-bottom: 1px solid currentColor; border-radius: 0; padding-bottom: 4px; }
.btn-link:hover { transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-top: 56px; }
/* ---------- Badges, tags, rating ---------- */
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-badge); font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.badge-lime { background: var(--lime); color: var(--midnight); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; align-content: flex-start; }
.tags li { font: 500 11px/1 var(--f-mono); letter-spacing: .04em; padding: 7px 9px; border-radius: var(--r-badge); border: 1px solid var(--line-d); color: var(--mute-d); }
.tone-paper .tags li { border-color: var(--line-p); color: var(--mute-p); }
.tags-lg li { font-size: 13px; padding: 10px 14px; }
.stars { display: inline-flex; gap: 2px; color: var(--lime); font-size: 14px; letter-spacing: 0; }
.stars i { font-style: normal; }
.stars .off { opacity: .25; }
.stars .half { opacity: .5; }
.tone-paper .stars { color: var(--olive); }
.rating { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border: 1px solid var(--line-d); border-radius: 14px; transition: border-color .3s; }
.rating:hover { border-color: rgba(255,255,255,.35); }
.rating strong { font: 600 30px/1 var(--f-display); }
.rating > span { display: flex; flex-direction: column; gap: 3px; }
.rating small { font-size: 12px; color: var(--mute-d); }
.tone-paper .rating { border-color: var(--line-p); }
.tone-paper .rating small { color: var(--mute-p); }
.rating-lg { margin-top: 32px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; padding: 14px var(--gut); transition: transform .5s var(--ease); pointer-events: none; }
.site-header.is-hidden { transform: translateY(-110%); }
.hdr-inner { pointer-events: auto; max-width: 1440px; margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 24px; padding: 0 10px 0 18px; border-radius: 16px; border: 1px solid transparent; transition: background .4s, border-color .4s, backdrop-filter .4s; }
.site-header.is-solid .hdr-inner { background: rgba(11,16,32,.9); border-color: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.brand { color: var(--white); flex-shrink: 0; }
.lv-logo { height: 42px; width: auto; }
.lv-logo rect[fill="#C6F432"] { transition: transform .5s var(--ease); transform-origin: 43px 19px; }
.brand:hover .lv-logo rect[fill="#C6F432"] { transform: translate(2px,-3px); }
.nav { margin: 0 auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.82); border-radius: 8px; overflow: hidden; }
.nav a span { display: block; text-shadow: 0 2.4em var(--lime); transition: transform .45s var(--ease); }
.nav a { height: 37px; line-height: 21px; }
.nav a:hover span { transform: translateY(-2.4em); }
.nav a:hover { color: var(--white); }
.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .hdr-actions { margin-left: 0; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-d); color: var(--white); transition: border-color .3s, background .3s; }
.icon-btn:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }
.icon-btn .ico { width: 20px; height: 20px; }
.hdr-actions .btn { height: 42px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-d); font-size: 14px; font-weight: 600; color: var(--white); }
.menu-lines { width: 18px; height: 10px; position: relative; }
.menu-lines i { position: absolute; left: 0; right: 0; height: 1.75px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-lines i:first-child { top: 0; } .menu-lines i:last-child { top: 8px; }
.menu-open .menu-lines i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .menu-lines i:last-child { top: 4px; transform: rotate(-45deg); }

/* ---------- Full menu ---------- */
.menu { position: fixed; inset: 0; z-index: 55; visibility: hidden; }
.menu-bg { position: absolute; inset: 0; background: var(--sunken); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.menu-open .menu { visibility: visible; }
.menu-open .menu-bg { clip-path: inset(0 0 0 0); }
.menu-inner { position: relative; height: 100%; max-width: 1440px; margin: 0 auto; padding: 120px calc(var(--gut) + 18px) 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; overflow-y: auto; }
.menu-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-content: start; }
.menu-nav a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-d); font: 600 clamp(26px, 3vw, 40px)/1.1 var(--f-display); opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.menu-nav a small { font: 500 11px var(--f-mono); color: var(--mute-d); }
.menu-nav a:hover { color: var(--lime); }
.menu-open .menu-nav a { opacity: 1; transform: none; }
.menu-side { opacity: 0; transition: opacity .6s .3s; }
.menu-open .menu-side { opacity: 1; }
.menu-big { display: block; font: 600 clamp(22px, 2.2vw, 30px)/1.2 var(--f-display); margin-bottom: 28px; word-break: break-all; }
.menu-big:hover { color: var(--lime); }
.menu-contacts li a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-d); }
.menu-contacts .ico { width: 20px; height: 20px; color: var(--lime); }
.menu-meta { margin-top: 24px; font-size: 14px; color: var(--mute-d); }
.menu-open body, html.menu-open { overflow: hidden; }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--lime); pointer-events: none; display: grid; place-items: center; transform: translate3d(-100px,-100px,0); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s; mix-blend-mode: normal; opacity: 0; }
.has-cursor .cursor { opacity: 1; }
.cursor-label { font: 600 13px var(--f-body); color: var(--midnight); opacity: 0; transition: opacity .2s; }
.cursor.is-view { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.is-view .cursor-label { opacity: 1; }
.cursor.is-hidden { opacity: 0 !important; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--midnight); display: none; place-items: center; }
.js .preloader.is-on { display: grid; }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pre-mark { width: 64px; height: 64px; }
.pre-mark rect { fill: var(--white); }
.pre-mark .m3 { fill: var(--lime); }
.pre-words { height: 20px; overflow: hidden; font: 500 13px/20px var(--f-mono); color: var(--mute-d); text-align: center; letter-spacing: .1em; text-transform: uppercase; }
.pre-words span { display: block; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: stretch; background: radial-gradient(120% 90% at 70% 30%, #121a33 0%, var(--midnight) 55%, var(--sunken) 100%); overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; width: 60vw; height: 60vw; right: -10vw; top: -10vw; background: radial-gradient(circle, rgba(198,244,50,.10), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--hdr) + 60px); padding-bottom: 36px; max-width: 1504px; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero-label { margin-bottom: 26px; }
.hero-title { font: 600 clamp(48px, 8.4vw, 136px)/.92 var(--f-display); letter-spacing: -.02em; max-width: 11ch; margin-bottom: 32px; }
.hero-row { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; max-width: 640px; }
.hero-lead { margin: 0; max-width: 520px; color: #c6cddc; }
.hero-cta { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--mute-d); }
.hero-contact a { display: inline-flex; align-items: center; gap: 7px; transition: color .3s; }
.hero-contact a:hover { color: var(--white); }
.hero-contact .ico { width: 16px; height: 16px; color: var(--lime); }
.hero-foot { display: flex; align-items: center; gap: 28px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.hero-facts { display: flex; gap: 28px; font-size: 14px; color: var(--mute-d); }
.hero-facts b { font: 600 22px var(--f-display); color: var(--white); margin-right: 6px; }
.scroll-cue { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-d); }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--lime), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee band ---------- */
.mq-band { background: var(--midnight); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; padding: clamp(20px, 3vw, 40px) 0; }
.mq { display: flex; white-space: nowrap; }
.mq-track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); will-change: transform; }
.mq-item { font: 600 clamp(48px, 8vw, 128px)/1 var(--f-display); letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); transition: color .4s; }
.mq-item:nth-child(4n+1) { color: var(--white); -webkit-text-stroke: 0; }
.mq-mark { width: clamp(28px, 4vw, 56px); height: auto; }
.mq-mark rect { fill: rgba(255,255,255,.85); } .mq-mark .m3 { fill: var(--lime); }

/* ---------- Statement ---------- */
.statement-text { font: 600 clamp(28px, 4.2vw, 58px)/1.12 var(--f-display); letter-spacing: -.01em; max-width: 1100px; margin-bottom: 72px; }
.statement-text .sw { color: rgba(255,255,255,.16); transition: color .2s; }
.statement-text .sw.on { color: var(--white); }
.statement-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line-d); padding-top: 40px; }
.statement-cols .ico { width: 28px; height: 28px; color: var(--lime); margin-bottom: 18px; }
.statement-cols h3 { font: 600 18px/1.3 var(--f-body); margin-bottom: 8px; }
.statement-cols p { color: var(--mute-d); font-size: 15px; }

/* ---------- Horizontal services ---------- */
.hscroll { position: relative; overflow: hidden; }
.hscroll-pin { position: relative; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hscroll-track { display: flex; gap: 20px; padding: 0 var(--gut) 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)); will-change: transform; align-items: stretch; }
.hs-intro { flex: 0 0 min(520px, 80vw); padding-right: 40px; display: flex; flex-direction: column; justify-content: center; }
.hs-intro .lead { margin-bottom: 28px; }
.hs-intro .btn { align-self: flex-start; }
.scard { position: relative; flex: 0 0 min(380px, 80vw); min-height: 520px; padding: 32px; border-radius: var(--r-panel); background: var(--white); border: 1px solid var(--line-p); display: flex; flex-direction: column; transition: background .5s var(--ease), color .5s, transform .5s var(--ease); }
.scard:hover { background: var(--midnight); color: var(--white); transform: translateY(-6px); }
.scard-n { font: 500 12px var(--f-mono); color: var(--mute-p); }
.scard:hover .scard-n, .scard:hover p, .scard:hover li { color: var(--mute-d); }
.scard-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); margin: 28px 0 26px; transition: background .5s; }
.scard:hover .scard-ico { background: var(--lime); color: var(--midnight); }
.scard-ico .ico { width: 26px; height: 26px; }
.scard h3 { font: 600 28px/1.1 var(--f-display); margin-bottom: 14px; }
.scard p { color: var(--mute-p); font-size: 15px; }
.scard ul { margin: 6px 0 28px; display: grid; gap: 8px; }
.scard li { display: flex; gap: 10px; font-size: 14px; color: var(--mute-p); }
.scard li .ico { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--olive); }
.scard:hover li .ico { color: var(--lime); }
.scard-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.scard-go .ico { width: 18px; transition: transform .4s var(--ease); }
.scard:hover .scard-go .ico { transform: translateX(4px); }
.hs-progress { position: absolute; left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); bottom: 6vh; height: 2px; background: var(--line-p); }
.hs-progress i { position: absolute; inset: 0; background: var(--midnight); transform: scaleX(0); transform-origin: left; }

/* ---------- Built to perform: pinned 3D work story ---------- */
.motion-sec { position: relative; background: #C3C3C3; color: #2b2b2b; overflow: hidden; }
.motion-pin { position: relative; height: 100svh; overflow: hidden; background: #C3C3C3; }
.motion-words { position: absolute; inset: 0; pointer-events: none; }
.mw { position: absolute; left: 0; top: 0; font: 400 8.5vw/.8 "Familjen", "Inter", sans-serif; letter-spacing: -.08em; text-transform: uppercase; color: #434343; white-space: nowrap; will-change: transform; transform: translate3d(-200vw, 0, 0); }
.motion-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; text-align: center; font: 500 11px/1.3 var(--f-body); letter-spacing: .02em; text-transform: uppercase; color: #3a3a3a; pointer-events: none; }
.motion-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.motion-line { position: absolute; left: 50%; height: 1px; background: rgba(40,42,48,.4); transform: translateX(-50%) scaleX(0); transform-origin: left; pointer-events: none; top: 50%; width: 0; }
.motion-ui { position: absolute; left: 0; right: 0; bottom: 32px; padding: 0 var(--gut); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; pointer-events: none; max-width: 1504px; margin: 0 auto; }
.motion-ui a { pointer-events: auto; }
.motion-copy { max-width: 300px; font-size: 15px; line-height: 1.45; color: #34363d; margin: 0; }
.motion-name { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.motion-link { display: inline-flex; align-items: center; gap: 12px; font: 500 13px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 8px; color: #2b2d33; }
.motion-link .ico { width: 16px; }
.motion-fallback { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(1100px, calc(100% - 2 * var(--gut))); grid-template-columns: repeat(3, 1fr); gap: 20px; }
.motion-fallback a { display: block; }
.motion-fallback img { width: 100%; border-radius: 6px; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.motion-fallback span { display: block; margin-top: 8px; font: 500 12px var(--f-mono); text-transform: uppercase; }
.no-webgl .motion-canvas, .no-webgl .motion-words, .no-webgl .motion-center, .no-webgl .motion-line,
.reduce-motion .motion-canvas, .reduce-motion .motion-words, .reduce-motion .motion-center, .reduce-motion .motion-line { display: none; }
.no-webgl .motion-fallback, .reduce-motion .motion-fallback { display: grid; }

/* ---------- Project cards ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.sec-head .h2 { margin-bottom: 0; max-width: 760px; }
.sec-head .lead { margin: 0; max-width: 440px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px 40px; }
.work-grid .pcard:nth-child(2n) { margin-top: 120px; }
.pcard-link { display: block; }
.pcard-media { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--raised); border: 1px solid var(--line-d); }
.tone-paper .pcard-media { background: var(--white); border-color: var(--line-p); }
.pcard-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #1a2238; border-bottom: 1px solid var(--line-d); }
.tone-paper .pcard-bar { background: #e9e6df; border-color: var(--line-p); }
.pcard-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.tone-paper .pcard-bar i { background: rgba(11,16,32,.2); }
.pcard-bar span { margin: 0 auto; font: 500 11px var(--f-mono); color: var(--mute-d); padding-right: 36px; }
.tone-paper .pcard-bar span { color: var(--mute-p); }
.pcard-img { aspect-ratio: 16 / 10; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.07); }
.pcard-media .badge { position: absolute; top: 44px; left: 14px; }
.pcard-meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin: 20px 0 12px; }
.pcard-meta h3 { font: 600 24px/1.15 var(--f-display); }
.pcard-sm .pcard-meta h3 { font-size: 20px; }
.pcard-meta p { margin: 0; font-size: 14px; color: var(--mute-d); text-align: right; }
.tone-paper .pcard-meta p { color: var(--mute-p); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Numbers ---------- */
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-p); }
.tone-dark .num-grid { border-color: var(--line-d); }
.num { padding: 36px 24px 8px 0; border-right: 1px solid var(--line-p); }
.tone-dark .num { border-color: var(--line-d); }
.num:last-child { border-right: 0; }
.num + .num { padding-left: 24px; }
.num b { display: block; font: 600 clamp(48px, 6vw, 92px)/1 var(--f-display); letter-spacing: -.02em; margin-bottom: 14px; }
.num span { font-size: 15px; color: var(--mute-p); }
.tone-dark .num span { color: var(--mute-d); }
.num-note { margin-top: 40px; font-size: 14px; color: var(--mute-p); }
.num-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Process (home) ---------- */
.process-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; }
.process-side { position: sticky; top: 120px; align-self: start; }
.process-side .lead { margin-bottom: 28px; }
.steps { position: relative; padding-left: 0; }
.steps-line { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: var(--line-d); }
.tone-paper .steps-line { background: var(--line-p); }
.steps-line i { position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: top; }
.tone-paper .steps-line i { background: var(--olive); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 0 0 52px; }
.step-n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--line-d); font: 500 13px var(--f-mono); transition: background .4s, color .4s; }
.step.is-active .step-n { background: var(--lime); color: var(--midnight); border-color: var(--lime); }
.step h3 { font: 600 24px/1.2 var(--f-display); margin: 12px 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.step h3 small { font: 500 11px var(--f-mono); color: var(--mute-d); text-transform: uppercase; letter-spacing: .08em; }
.step p { color: var(--mute-d); }

/* ---------- Globe + reviews ---------- */
.globe-sec { overflow: hidden; }
.globe-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 620px; width: 100%; }
.globe-canvas { width: 100%; height: 100%; }
.globe-label { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); width: min(92%, 420px); text-align: center; padding: 14px 18px; border-radius: 14px; background: rgba(20,27,45,.82); border: 1px solid var(--line-d); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.globe-label b { display: block; font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.globe-label q { font-size: 15px; color: var(--white); }
.globe-label q:empty { display: none; }
.reviews-rail { margin-top: 80px; overflow: hidden; cursor: grab; }
.reviews-rail:active { cursor: grabbing; }
.rail-track { display: flex; gap: 20px; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)); width: max-content; will-change: transform; }
.rcard { margin: 0; width: min(420px, 82vw); padding: 28px; border-radius: var(--r-card); background: var(--raised); border: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 18px; }
.tone-paper .rcard { background: var(--white); border-color: var(--line-p); }
.rcard blockquote { margin: 0; flex: 1; }
.rcard blockquote p { margin: 0; font-size: 16px; line-height: 1.6; }
.rcard figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-d); }
.tone-paper .rcard figcaption { border-color: var(--line-p); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--midnight); font: 600 15px var(--f-display); flex-shrink: 0; }
.rcard figcaption b { display: block; font-size: 14px; }
.rcard figcaption small { font-size: 12px; color: var(--mute-d); }
.tone-paper .rcard figcaption small { color: var(--mute-p); }
.masonry { columns: 3; column-gap: 24px; }
.masonry > div { break-inside: avoid; margin-bottom: 24px; }
.masonry .rcard { width: 100%; }

/* ---------- Industries list ---------- */
.ind-list { border-top: 1px solid var(--line-p); display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.ind-list a { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--line-p); font: 600 clamp(22px, 2.4vw, 34px)/1.1 var(--f-display); transition: padding .5s var(--ease), color .3s; }
.ind-list a .ico { width: 22px; opacity: .35; transition: opacity .3s, transform .5s var(--ease); }
.ind-list a:hover { padding-left: 14px; color: var(--olive); }
.ind-list a:hover .ico { opacity: 1; transform: rotate(-45deg); }
.hover-preview { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-999px,0,0) scale(.85); transition: opacity .3s, transform .1s linear; box-shadow: 0 30px 60px rgba(11,16,32,.25); }
.hover-preview.is-on { opacity: 1; }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- FAQ ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.split-wide { grid-template-columns: 4fr 8fr; }
.split > div:first-child .lead { margin-bottom: 28px; }
.sticky-col { position: sticky; top: 120px; }
.faq { border-top: 1px solid var(--line-p); }
.tone-dark .faq { border-color: var(--line-d); }
.faq-item { border-bottom: 1px solid var(--line-p); }
.tone-dark .faq-item { border-color: var(--line-d); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; cursor: pointer; font: 600 19px/1.35 var(--f-body); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-p); }
.tone-dark .faq-item summary i { border-color: var(--line-d); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; background: currentColor; transform: translate(-50%,-50%); transition: transform .4s var(--ease); }
.faq-item summary i::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] summary i::after { transform: translate(-50%,-50%) rotate(0); }
.faq-item[open] summary i { background: var(--lime); border-color: var(--lime); color: var(--midnight); }
.faq-a { padding: 0 56px 24px 0; color: var(--mute-p); }
.tone-dark .faq-a { color: var(--mute-d); }
.faq-a p { margin: 0; }
.faq-page { display: grid; grid-template-columns: 260px 1fr; gap: 80px; }
.faq-nav { display: flex; flex-direction: column; gap: 4px; align-self: start; }
.faq-nav a { padding: 10px 14px; border-radius: 10px; font-weight: 500; color: var(--mute-p); transition: background .3s, color .3s; }
.faq-nav a:hover, .faq-nav a.is-on { background: var(--white); color: var(--midnight); }
.faq-group { margin-bottom: 64px; scroll-margin-top: 120px; }

/* ---------- Contact ---------- */
.contact-sec .h2 { max-width: 560px; }
.copts { display: grid; gap: 10px; margin-top: 8px; }
.copts a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line-d); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.tone-paper .copts a { border-color: var(--line-p); background: var(--white); }
.copts a:hover { border-color: var(--lime); transform: translateX(4px); }
.tone-paper .copts a:hover { border-color: var(--midnight); }
.copts .ico { width: 22px; height: 22px; color: var(--lime); flex-shrink: 0; }
.tone-paper .copts .ico { color: var(--olive); }
.copts span { flex: 1; display: flex; flex-direction: column; }
.copts b { font-weight: 600; word-break: break-word; }
.copts small { font-size: 13px; color: var(--mute-d); }
.tone-paper .copts small { color: var(--mute-p); }
.copts .go { width: 18px; color: inherit !important; opacity: .5; }
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-panel); background: var(--raised); border: 1px solid var(--line-d); }
.form-card.light { background: var(--white); border-color: var(--line-p); }
.form-card > p { color: var(--mute-p); }
.cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cform-grid .fld { margin: 0; }
.fld span, .chips legend { font-size: 13px; font-weight: 500; color: var(--mute-d); }
.light .fld span, .light .chips legend { color: var(--mute-p); }
.fld input, .fld select, .fld textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-d); background: rgba(255,255,255,.03); color: var(--white); transition: border-color .3s, background .3s; }
.light .fld input, .light .fld select, .light .fld textarea { border-color: var(--line-p); background: var(--paper); color: var(--midnight); }
.fld select option { color: var(--midnight); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--lime); }
.light .fld input:focus, .light .fld select:focus, .light .fld textarea:focus { border-color: var(--midnight); }
.fld textarea { resize: vertical; min-height: 130px; }
.fld.has-error input, .fld.has-error textarea { border-color: #ff7a6b; }
.chips { border: 0; padding: 0; margin: 20px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 10px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 14px; cursor: pointer; transition: all .25s; }
.light .chip span { border-color: var(--line-p); }
.chip input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--midnight); }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.cform-foot .small { margin: 0; max-width: 340px; font-size: 13px; }
.cform-foot .small a { text-decoration: underline; }
.cform-msg { margin: 16px 0 0; font-weight: 500; }
.cform-msg.ok { color: var(--lime); }
.light .cform-msg.ok { color: var(--olive); }
.cform-msg.err { color: #ff8f80; }
.light .cform-msg.err { color: #b3261e; }
.cform.is-sending button { opacity: .6; pointer-events: none; }
.contact-meta { margin-top: 32px; display: grid; gap: 10px; color: var(--mute-p); }
.contact-meta p { display: flex; gap: 10px; align-items: center; margin: 0; }
.contact-meta .ico { width: 18px; color: var(--olive); }

/* ---------- Page hero ---------- */
.phero { position: relative; padding: calc(var(--hdr) + clamp(80px, 12vw, 150px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; background: radial-gradient(90% 120% at 85% 0%, #121a33 0%, var(--midnight) 60%); }
.phero.tone-paper { background: var(--paper); }
.phero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.phero-inner { position: relative; z-index: 1; }
.phero-title { font: 600 clamp(42px, 7vw, 104px)/.96 var(--f-display); letter-spacing: -.02em; max-width: 15ch; margin-bottom: 36px; }
.post-title, .phero-title.is-long { font-size: clamp(36px, 4.8vw, 68px); max-width: 22ch; }
.phero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.phero-row .lead { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 500 12px var(--f-mono); color: var(--mute-d); margin-bottom: 40px; letter-spacing: .04em; }
.crumbs a:hover { color: var(--white); }
.tone-paper .crumbs { color: var(--mute-p); }

/* ---------- Services index ---------- */
.svc-list { border-top: 1px solid var(--line-p); }
.svc-row-link { display: grid; grid-template-columns: 70px 1.3fr 1fr 48px; gap: 32px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line-p); transition: padding .5s var(--ease); }
.svc-row-link:hover { padding-left: 16px; padding-right: 8px; }
.svc-n { font: 500 13px var(--f-mono); color: var(--mute-p); }
.svc-main h2 { font: 600 clamp(28px, 3.4vw, 46px)/1.05 var(--f-display); margin-bottom: 10px; }
.svc-main p { margin: 0; color: var(--mute-p); max-width: 520px; }
.svc-go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-p); display: grid; place-items: center; transition: background .4s, transform .5s var(--ease); }
.svc-go .ico { width: 20px; }
.svc-row-link:hover .svc-go { background: var(--lime); border-color: var(--lime); transform: rotate(-45deg); }
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.inc-grid li { display: flex; gap: 12px; padding: 22px; border-radius: var(--r-card); background: var(--raised); border: 1px solid var(--line-d); font-weight: 500; }
.inc-grid.light li, .tone-paper .inc-grid li { background: var(--white); border-color: var(--line-p); }
.inc-grid .ico { width: 20px; height: 20px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }
.tone-paper .inc-grid .ico { color: var(--olive); }
.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.mini-steps li { padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line-p); background: var(--white); }
.tone-dark .mini-steps li { background: var(--raised); border-color: var(--line-d); }
.mini-steps span { font: 500 12px var(--f-mono); color: var(--olive); }
.tone-dark .mini-steps span { color: var(--lime); }
.mini-steps h3 { font: 600 22px/1.2 var(--f-display); margin: 18px 0 10px; }
.mini-steps p { margin: 0; color: var(--mute-p); font-size: 15px; }
.tone-dark .mini-steps p { color: var(--mute-d); }
.mini-steps.vertical { grid-template-columns: 1fr; }
.item-list { border-top: 1px solid var(--line-p); }
.item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line-p); }
.item-n { font: 500 13px var(--f-mono); color: var(--olive); padding-top: 8px; }
.item h3 { font: 600 26px/1.15 var(--f-display); margin-bottom: 10px; }
.item p { color: var(--mute-p); margin-bottom: 10px; }
.item-get { font-size: 15px; color: var(--midnight) !important; }
.chips-links { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-links a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-p); background: var(--white); font-weight: 500; transition: background .3s, color .3s; }
.chips-links a .ico { width: 18px; }
.chips-links a:hover { background: var(--midnight); color: var(--white); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind-card { position: relative; padding: 28px 28px 72px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line-p); transition: background .45s var(--ease), color .45s, transform .45s var(--ease); }
.ind-card:hover { background: var(--midnight); color: var(--white); transform: translateY(-4px); }
.ind-n { font: 500 12px var(--f-mono); color: var(--mute-p); }
.ind-card h2 { font: 600 28px/1.1 var(--f-display); margin: 18px 0 10px; }
.ind-card p { color: var(--mute-p); font-size: 15px; margin: 0; }
.ind-card:hover p, .ind-card:hover .ind-n { color: var(--mute-d); }
.ind-go { position: absolute; left: 28px; bottom: 24px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-p); display: grid; place-items: center; transition: background .4s, transform .5s var(--ease); }
.ind-go .ico { width: 16px; }
.ind-card:hover .ind-go { background: var(--lime); border-color: var(--lime); color: var(--midnight); transform: rotate(-45deg); }
.prob-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line-p); }
.prob-list li:first-child { border-top: 1px solid var(--line-p); }
.prob-list span { font: 500 13px var(--f-mono); color: var(--olive); padding-top: 6px; }
.prob-list p { margin: 0; font: 600 clamp(20px, 2vw, 26px)/1.3 var(--f-display); }

/* ---------- Process page ---------- */
.phase-list { position: relative; }
.phase-list .steps-line { left: 27px; }
.phase { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding-bottom: 72px; }
.phase-head { display: flex; gap: 24px; align-items: flex-start; }
.phase-head .step-n { background: var(--white); border-color: var(--line-p); }
.phase.is-active .step-n { background: var(--midnight); color: var(--lime); border-color: var(--midnight); }
.phase-head .label { margin: 4px 0 8px; }
.phase-body > p { font-size: 18px; color: var(--mute-p); }
.phase-body dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 0; }
.phase-body dl div { padding: 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line-p); }
.phase-body dt { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--olive); margin-bottom: 6px; }
.phase-body dd { margin: 0; }
.tile { padding: 28px; border-radius: var(--r-card); background: var(--raised); border: 1px solid var(--line-d); }
.tile .ico { width: 26px; height: 26px; color: var(--lime); margin-bottom: 20px; }
.tile h3 { font: 600 22px/1.2 var(--f-display); margin-bottom: 10px; }
.tile p { margin: 0; color: var(--mute-d); font-size: 15px; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ico { width: 20px; height: 20px; flex-shrink: 0; color: var(--olive); margin-top: 3px; }
.tone-dark .check-list .ico { color: var(--lime); }
.check-list.big li { font: 600 20px/1.35 var(--f-display); padding: 18px 0; border-bottom: 1px solid var(--line-p); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.price { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-panel); background: var(--white); border: 1px solid var(--line-p); }
.price.is-pop { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.price .badge { position: absolute; top: 20px; right: 20px; }
.price h2 { font: 600 22px/1.2 var(--f-display); margin-bottom: 18px; padding-right: 70px; }
.price-amt { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; }
.price-amt b { font: 600 44px/1 var(--f-display); letter-spacing: -.02em; }
.price-amt small { font-size: 14px; color: var(--mute-p); }
.price.is-pop .price-amt small, .price.is-pop > p, .price.is-pop li { color: var(--mute-d); }
.price > p { color: var(--mute-p); font-size: 15px; }
.price ul { display: grid; gap: 8px; margin: 6px 0 20px; }
.price li { display: flex; gap: 10px; font-size: 14px; color: var(--mute-p); }
.price li .ico { width: 16px; flex-shrink: 0; margin-top: 3px; color: var(--olive); }
.price.is-pop li .ico { color: var(--lime); }
.price-best { font-size: 13px !important; margin-top: auto; }
.price .btn { margin-top: 12px; justify-content: center; }
.price.is-pop .price-best b { color: var(--white); }
.factor-list { display: grid; gap: 0; border-top: 1px solid var(--line-d); margin: 0; }
.factor-list div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-d); }
.factor-list dt { font: 600 20px/1.3 var(--f-display); }
.factor-list dd { margin: 0; color: var(--mute-d); }

/* ---------- About ---------- */
.founder-card { padding: 32px; border-radius: var(--r-panel); background: var(--white); border: 1px solid var(--line-p); }
.founder-mark { width: 100%; aspect-ratio: 1; border-radius: 18px; background: var(--midnight); display: grid; place-items: center; margin-bottom: 24px; overflow: hidden; }
.big-mark { width: 46%; height: auto; }
.big-mark rect { fill: var(--white); } .big-mark .m3 { fill: var(--lime); }
.founder-card .rating { margin-top: 12px; }
.prose p { font-size: 18px; line-height: 1.75; color: #2a3142; }
.tone-dark .prose p { color: #c6cddc; }
.prose .lead { font-size: 22px; color: var(--midnight); }
.prose em { font-style: italic; }
.prose .sign { font: 500 13px var(--f-mono); color: var(--mute-p); text-transform: uppercase; letter-spacing: .08em; margin-top: 32px; }
.principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.principle { padding: 28px 24px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line-p); }
.principle span { font: 500 12px var(--f-mono); color: var(--olive); }
.principle h3 { font: 600 21px/1.2 var(--f-display); margin: 20px 0 12px; }
.principle p { margin: 0; color: var(--mute-p); font-size: 15px; }
.tech-groups { display: grid; gap: 0; border-top: 1px solid var(--line-p); }
.tech-group { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line-p); }
.tech-group p { color: var(--mute-p); }

/* ---------- Work index ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 48px; }
.filters button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-p); font-size: 14px; font-weight: 500; transition: all .3s; }
.filters button sup { font: 500 10px var(--f-mono); color: var(--mute-p); }
.filters button:hover { border-color: var(--midnight); }
.filters button.is-on { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.filters button.is-on sup { color: var(--lime); }
.filters-cs { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.filters-cs .ico { width: 18px; }
.pcard.is-out { display: none; }

/* ---------- Case studies ---------- */
.cs-list { display: grid; gap: clamp(80px, 10vw, 140px); }
.cs-row { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.cs-row.is-rev { grid-template-columns: 5fr 7fr; }
.cs-row.is-rev .cs-media { order: 2; }
.cs-media { display: block; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-p); background: var(--white); }
.cs-img { aspect-ratio: 16/10; overflow: hidden; }
.cs-img img { width: 100%; height: 115%; object-fit: cover; object-position: top; }
.cs-copy h2 a:hover { color: var(--olive); }
.cs-copy p:not(.label) { color: var(--mute-p); }
.cs-copy .tags { margin: 20px 0 28px; }

/* ---------- Project single ---------- */
.proj-hero .phero-title { max-width: 18ch; }
.proj-meta { display: grid; grid-template-columns: repeat(5, auto); gap: 16px 40px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line-d); justify-content: start; }
.proj-meta dt { font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mute-d); margin-bottom: 6px; }
.proj-meta dd { margin: 0; font-weight: 500; }
.proj-showcase { padding: 64px 0 40px; }
.browser { border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line-p); background: var(--white); box-shadow: 0 40px 80px -30px rgba(11,16,32,.3); margin-bottom: 20px; }
.browser .pcard-bar { height: 40px; }
.browser-view { height: min(78vh, 820px); overflow: hidden; position: relative; }
.browser-view img { width: 100%; height: auto; will-change: transform; }
.case-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 80px; }
.case-toc ol { display: grid; gap: 4px; margin-bottom: 28px; counter-reset: t; }
.case-toc ol a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-p); font-weight: 500; }
.case-toc ol a:hover { color: var(--olive); }
.case-text section { padding-bottom: 56px; scroll-margin-top: 120px; }
.case-text p { font-size: 18px; line-height: 1.75; color: #2a3142; }
.big-quote { font: 600 clamp(24px, 2.6vw, 34px)/1.3 var(--f-display) !important; color: var(--midnight) !important; }
.next-proj { position: relative; display: block; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.next-title { display: flex; align-items: center; gap: 24px; font: 600 clamp(44px, 8vw, 120px)/1 var(--f-display); letter-spacing: -.02em; margin: 0 0 16px; }
.next-title .ico { width: clamp(36px, 5vw, 72px); height: auto; color: var(--lime); transition: transform .6s var(--ease); }
.next-proj:hover .next-title .ico { transform: translateX(16px); }
.next-proj p:not(.label) { color: var(--mute-d); }
.next-proj img { position: absolute; right: 6vw; top: 50%; width: min(420px, 34vw); border-radius: 14px; transform: translateY(-50%) rotate(4deg); opacity: .0; transition: opacity .5s, transform .8s var(--ease); }
.next-proj:hover img { opacity: 1; transform: translateY(-50%) rotate(0); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.post-thumb { aspect-ratio: 16/10; border-radius: var(--r-card); overflow: hidden; background: var(--midnight); margin-bottom: 20px; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-ph { display: grid; place-items: center; height: 100%; background: radial-gradient(circle at 70% 30%, #1d2846, var(--midnight)); }
.ph-mark { width: 64px; } .ph-mark rect { fill: var(--white); } .ph-mark .m3 { fill: var(--lime); }
.post-card h2 { font: 600 24px/1.2 var(--f-display); margin-bottom: 10px; }
.post-card p:not(.label) { color: var(--mute-p); font-size: 15px; }
.post-card .read { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.post-card .read .ico { width: 18px; transition: transform .4s var(--ease); }
.post-card:hover .read .ico { transform: translateX(4px); }
.entry h2 { font: 600 clamp(26px, 3vw, 36px)/1.15 var(--f-display); margin: 48px 0 16px; }
.entry h3 { font: 600 22px/1.25 var(--f-display); margin: 36px 0 12px; }
.entry ul, .entry ol { margin: 0 0 1.4em; padding-left: 1.2em; list-style: disc; }
.entry ol { list-style: decimal; }
.entry li { margin-bottom: .5em; font-size: 18px; line-height: 1.7; color: #2a3142; }
.entry a { text-decoration: underline; text-underline-offset: 3px; color: var(--olive); }
.entry blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--lime-d); }
.post-cta { margin-top: 64px; padding: 36px; border-radius: var(--r-panel); background: var(--white); border: 1px solid var(--line-p); }
.post-cta p { color: var(--mute-p); }
.pager { margin-top: 56px; }
.pager .nav-links { display: flex; gap: 8px; }
.pager .page-numbers { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-p); }
.pager .current { background: var(--midnight); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--sunken); color: var(--white); padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.ft-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-bottom: 72px; border-bottom: 1px solid var(--line-d); }
.ft-title { font: 600 clamp(44px, 7.4vw, 112px)/.95 var(--f-display); letter-spacing: -.02em; margin-bottom: 36px; }
.ft-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.ft-mail { display: inline-flex; align-items: center; gap: 8px; font: 600 clamp(18px, 1.6vw, 22px) var(--f-display); border-bottom: 1px solid var(--line-d); padding-bottom: 4px; transition: border-color .3s, color .3s; }
.ft-mail .ico { width: 20px; transition: transform .4s var(--ease); }
.ft-mail:hover { color: var(--lime); border-color: var(--lime); }
.ft-mail:hover .ico { transform: translate(3px,-3px); }
.ft-proof { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.ft-time { margin: 0; display: flex; align-items: center; gap: 8px; font: 500 12px var(--f-mono); color: var(--mute-d); text-transform: uppercase; letter-spacing: .06em; }
.ft-time b { color: var(--white); font-weight: 500; }
.ft-time .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198,244,50,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(198,244,50,0); } }
.ft-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 64px 0; }
.ft-cols h3 { font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mute-d); margin-bottom: 20px; }
.ft-cols ul { display: grid; gap: 10px; }
.ft-cols a { color: #d5dae6; transition: color .25s; }
.ft-cols a:hover { color: var(--lime); }
.ft-contact a, .ft-contact span { display: inline-flex; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.ft-contact .ico { width: 18px; height: 18px; flex-shrink: 0; color: var(--lime); }
.ft-contact span { color: var(--mute-d); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.socials a { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line-d); font-size: 13px; }
.ft-word { position: relative; line-height: .74; text-align: center; overflow: hidden; user-select: none; }
.ft-word span { display: inline-block; font: 800 27vw/.74 "Plus Jakarta Sans", var(--f-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(198,244,50,.22), rgba(198,244,50,0) 75%); -webkit-background-clip: text; background-clip: text; transform: translateY(18%); }
.ft-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--mute-d); }
.ft-bottom p { margin: 0; }
.ft-legal { display: flex; gap: 20px; }
.ft-legal a:hover { color: var(--white); }

/* ---------- Line canvas fallback ---------- */
.no-js .phero-canvas, .no-js .hero-canvas { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.nav { display: none; }
	.hdr-actions { margin-left: auto !important; }
	.price-grid { grid-template-columns: repeat(2, 1fr); }
	.principles { grid-template-columns: repeat(3, 1fr); }
	.inc-grid { grid-template-columns: repeat(2, 1fr); }
	.grid-4, .mini-steps { grid-template-columns: repeat(2, 1fr); }
	.proj-meta { grid-template-columns: repeat(3, auto); }
}
@media (max-width: 960px) {
	:root { --gut: 20px; }
	.hero-row { grid-template-columns: 1fr; }
	.hero-cta { align-items: flex-start; }
	.hero-foot { flex-wrap: wrap; gap: 16px 24px; }
	.scroll-cue { display: none; }
	.statement-cols, .grid-3, .post-grid, .ind-grid { grid-template-columns: 1fr 1fr; }
	.process-grid, .split, .split-wide, .globe-grid, .faq-page, .case-grid, .cs-row, .cs-row.is-rev, .phase, .tech-group { grid-template-columns: 1fr; gap: 40px; }
	.cs-row.is-rev .cs-media { order: 0; }
	.process-side, .sticky-col { position: static; }
	.faq-nav { flex-direction: row; flex-wrap: wrap; }
	.work-grid { grid-template-columns: 1fr; gap: 56px; }
	.work-grid .pcard:nth-child(2n) { margin-top: 0; }
	.num-grid { grid-template-columns: 1fr 1fr; }
	.num:nth-child(2) { border-right: 0; }
	.num:nth-child(3) { padding-left: 0; }
	.num:nth-child(n+3) { border-top: 1px solid var(--line-p); }
	.tone-dark .num:nth-child(n+3) { border-color: var(--line-d); }
	.ft-top { flex-direction: column; align-items: flex-start; }
	.ft-proof { align-items: flex-start; }
	.ft-cols { grid-template-columns: 1fr 1fr; }
	.masonry { columns: 2; }
	.svc-row-link { grid-template-columns: 48px 1fr 40px; }
	.svc-row-link .tags { grid-column: 2; }
	.svc-go { grid-row: 1; grid-column: 3; width: 40px; height: 40px; }
	.menu-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 104px; }
	.globe-wrap { max-width: 460px; margin: 0 auto; }
	.ind-list { grid-template-columns: 1fr; }
	.hover-preview { display: none; }
	/* services: vertical on tablet/mobile */
	.hscroll-pin { height: auto; padding: 96px 0; }
	.hscroll-track { flex-direction: column; padding: 0 var(--gut); }
	.hs-intro { flex: none; padding: 0 0 24px; }
	.scard { flex: none; min-height: 0; }
	.hs-progress { display: none; }
}
@media (max-width: 640px) {
	.hero-canvas { opacity: .5; }
	body { font-size: 16px; padding-bottom: 72px; }
	.site-header { padding: 10px 12px; }
	.hdr-inner { height: 56px; padding: 0 6px 0 12px; gap: 10px; }
	.lv-logo { height: 36px; }
	.hide-sm { display: none !important; }
	.menu-btn .menu-label { display: none; }
	.menu-btn { width: 42px; padding: 0; justify-content: center; }
	.hero-inner { padding-top: 112px; padding-bottom: 24px; }
	.hero-title { font-size: clamp(44px, 13vw, 64px); margin-bottom: 24px; }
	.hero-lead { font-size: 17px; }
	.hero-contact { gap: 8px 14px; }
	.hero-foot { margin-top: 28px; }
	.hero-facts { gap: 16px; }
	.hero-facts b { font-size: 18px; }
	.statement-cols, .grid-3, .grid-4, .mini-steps, .post-grid, .ind-grid, .inc-grid, .principles, .price-grid, .cform-grid, .ft-cols { grid-template-columns: 1fr; }
	.masonry { columns: 1; }
	.sec-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
	.mw { font-size: 15vw; }
	.motion-ui { flex-direction: column; align-items: flex-start; bottom: 92px; }
	.motion-name { display: none; }
	.motion-fallback { grid-template-columns: 1fr 1fr; }
	.phase-body dl, .factor-list div { grid-template-columns: 1fr; }
	.proj-meta { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
	.browser-view { height: 64vh; }
	.next-proj img { display: none; }
	.ft-bottom { flex-direction: column; }
	.ft-word span { font-size: 30vw; }
	.pcard-meta { flex-direction: column; gap: 4px; }
	.pcard-meta p { text-align: left; }
	.btn { height: 46px; }
	.dock { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 6px; padding: 6px; border-radius: 16px; background: rgba(11,16,32,.9); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transform: translateY(140%); transition: transform .5s var(--ease); }
	.dock.is-on { transform: none; }
	.dock a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 11px; font-size: 13px; font-weight: 600; color: var(--white); background: rgba(255,255,255,.06); }
	.dock .ico { width: 18px; height: 18px; }
	.dock .dock-main { background: var(--lime); color: var(--midnight); }
	.cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
	.js .reveal-words .w > span, .js .fade-up { transform: none !important; opacity: 1 !important; }
	.statement-text .sw { color: var(--white); }
}
