/* ==========================================================================
   Lavion Digital — main stylesheet
   Sections switch theme with data-theme="dark" | "light"; everything reads the tokens below.
   ========================================================================== */

@font-face { font-family: "Clash Display"; 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: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
	--midnight: #0B1020;
	--paper: #F6F4EF;
	--lime: #C6F432;
	--on-lime: #0B1020;

	--font-display: "Clash Display", "Segoe UI", system-ui, sans-serif;
	--font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

	--space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
	--space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px;
	--radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;
	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);
	--wrap: 1200px;
	--gutter: max(16px, env(safe-area-inset-left, 0px));
	--header-h: 76px;
}

/* Midnight (default) */
:root, [data-theme="dark"] {
	--surface: #0B1020;
	--surface-raised: #141B2D;
	--surface-sunken: #070A15;
	--line: #1F2840;
	--line-strong: #56627F;
	--fg: #F4F6FB;
	--fg-muted: #A3ACBF;
	--lime-text: #C6F432;
	--lime-soft: #232C0E;
	--success: #5EE6A0;
	--danger: #FF8A7A;
	--focus: #C6F432;
	--shadow-card: 0 1px 0 rgba(255,255,255,.04), 0 16px 40px rgba(0,0,0,.35);
	--logo-ink: #FFFFFF;
	--logo-sub: #A3ACBF;
	--logo-hero: #C6F432;
	color-scheme: dark;
}
/* Paper */
[data-theme="light"] {
	--surface: #F6F4EF;
	--surface-raised: #FFFFFF;
	--surface-sunken: #ECE9E1;
	--line: #E2DDD1;
	--line-strong: #8A8474;
	--fg: #0B1020;
	--fg-muted: #545D70;
	--lime-text: #4A6600;
	--lime-soft: #EEF9C8;
	--success: #0F7B4B;
	--danger: #B42318;
	--focus: #4A6600;
	--shadow-card: 0 1px 2px rgba(11,16,32,.06), 0 16px 40px rgba(11,16,32,.08);
	--logo-ink: #0B1020;
	--logo-sub: #5B6478;
	--logo-hero: #9BC20F;
	color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--surface); color: var(--fg); font: 400 16px/1.65 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
[data-theme] { background: var(--surface); color: var(--fg); }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
::selection { background: var(--lime); color: var(--on-lime); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--space-8)); margin-inline: auto; padding-left: max(var(--space-8), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-8), env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: calc(780px + 2 * var(--space-8)); }
@media (max-width: 760px) { .wrap { padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--on-lime); padding: 10px 16px; border-radius: var(--radius-md); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.display-xl, .display-l, .h1, .h2 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
.display-xl { font-size: clamp(46px, 7.4vw, 92px); line-height: 1; letter-spacing: -.02em; }
.display-l  { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
.h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.015em; }
.h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -.01em; }
.h3 { font: 600 20px/1.35 var(--font-sans); letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--fg-muted); max-width: 60ch; }
.small { font-size: 14px; line-height: 1.55; }
.muted { color: var(--fg-muted); }
mark { background: none; color: var(--lime-text); }
.eyebrow { font: 500 13px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime-text); }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow-muted { color: var(--fg-muted); }
.link { color: var(--lime-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 52px; padding: 0 var(--space-6); border-radius: var(--radius-md); border: 1px solid transparent; font: 600 16px/1 var(--font-sans); cursor: pointer; transition: transform .2s var(--ease-out), background-color .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lime); color: var(--on-lime); box-shadow: 0 0 0 0 rgba(198,244,50,0); }
.btn-primary:hover { box-shadow: 0 10px 30px -10px rgba(198,244,50,.55); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost { min-height: 44px; padding: 0 var(--space-2); color: var(--lime-text); }
.btn-sm { min-height: 42px; padding: 0 var(--space-4); font-size: 15px; }
.btn-arrow { display: inline-flex; transition: transform .2s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn .lv-i { flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; transition: transform .45s var(--ease-out), border-color .3s, background-color .3s; padding-top: env(safe-area-inset-top, 0px); background: rgba(11,16,32,.82); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-scrolled { border-bottom-color: #1F2840; background: rgba(11,16,32,.92); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; border-radius: var(--radius-sm); flex: none; }
.brand .custom-logo { max-height: 40px; width: auto; }
.main-nav .nav-list { display: flex; gap: var(--space-8); list-style: none; }
.main-nav a { position: relative; color: #A3ACBF; font-weight: 500; font-size: 15px; padding: 6px 0; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-out); }
.main-nav a:hover, .main-nav a[aria-current] { color: #F4F6FB; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: var(--radius-md); border: 1px solid #1F2840; background: #141B2D; color: #F4F6FB; cursor: pointer; place-items: center; }
.burger { position: relative; width: 20px; height: 12px; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.burger i:first-child { top: 0; } .burger i:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .burger i:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:last-child { top: 5px; transform: rotate(-45deg); }
.drawer { border-top: 1px solid #1F2840; background: #0B1020; }
.drawer-inner { padding-block: var(--space-6) var(--space-8); display: grid; gap: var(--space-6); }
.drawer-list { list-style: none; display: grid; }
.drawer-list a { display: block; padding: 14px 0; font: 600 28px/1.1 var(--font-display); color: #F4F6FB; border-bottom: 1px solid #1F2840; }
.drawer-foot { display: grid; gap: var(--space-4); }
.drawer-mail { color: #A3ACBF; font-size: 15px; }
@media (max-width: 960px) {
	.main-nav { display: none; }
	.menu-toggle { display: grid; }
}
@media (max-width: 480px) { .header-cta { display: none; } }

/* ---------- Logo (inline SVG) ---------- */
.logo { height: 40px; width: auto; overflow: visible; }
.lg-stem, .lg-base, .lg-word { fill: var(--logo-ink); }
.site-header .lg-stem, .site-header .lg-base, .site-header .lg-word { fill: #FFFFFF; }
.lg-hero { fill: var(--logo-hero); transform-box: fill-box; transform-origin: 50% 100%; }
.site-header .lg-hero { fill: #C6F432; }
.lg-dg { fill: var(--logo-sub); }
.site-header .lg-dg { fill: #A3ACBF; }
.lg-word .ch { transition: transform .5s var(--ease-out); transition-delay: calc(var(--i) * 28ms); }
.brand:hover .lg-word .ch, .brand:focus-visible .lg-word .ch { transform: translateY(-80px); }
.brand:hover .lg-hero, .brand:focus-visible .lg-hero { animation: lv-hop .5s var(--ease-out); }
@keyframes lv-hop { 0% { transform: translateY(0); } 40% { transform: translateY(-6px); } 70% { transform: translateY(1px); } 100% { transform: translateY(0); } }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.lv-preload .preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #0B1020; --logo-ink: #FFFFFF; --logo-sub: #A3ACBF; --logo-hero: #C6F432; }
/* Safety net: if scripts never run, the preloader still leaves after 4s. */
.lv-preload .preloader { animation: lv-lift .7s var(--ease-io) 4s forwards; }
.lv-preload.is-ready .preloader { animation: none; }
.preloader-stack { display: grid; justify-items: center; gap: 28px; padding-inline: 16px; }
.preloader .logo { height: clamp(56px, 12vw, 88px); }
.preloader .lg-stem { transform-box: fill-box; transform-origin: 50% 100%; animation: lv-grow-y .5s var(--ease-out) both; }
.preloader .lg-base { transform-box: fill-box; transform-origin: 0 50%; animation: lv-grow-x .45s var(--ease-out) .25s both; }
.preloader .lg-hero { animation: lv-drop .6s var(--ease-out) .45s both; }
.preloader .lg-word .ch { transition: none; animation: lv-up .6s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 420ms); }
.preloader .lg-dg { animation: lv-fade .5s ease .9s both; }
@keyframes lv-grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lv-grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lv-drop { 0% { transform: translateY(-28px); opacity: 0; } 60% { transform: translateY(3px); opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes lv-up { from { transform: translateY(80px); } to { transform: translateY(0); } }
@keyframes lv-fade { from { opacity: 0; } to { opacity: 1; } }
.preloader-ticker { display: flex; align-items: center; gap: 10px; font: 500 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #A3ACBF; animation: lv-fade .4s ease .6s both; }
.ticker-win { position: relative; height: 18px; overflow: hidden; min-width: 9ch; }
.ticker-list { display: block; animation: lv-roll calc(var(--n, 3) * .55s) steps(1, end) .8s infinite; }
.ticker-list span { display: block; height: 18px; line-height: 18px; color: #C6F432; }
@supports (animation-timing-function: linear(0, 1)) { .ticker-list { animation: lv-roll-smooth calc(var(--n, 3) * .6s) var(--ease-out) .8s infinite; } }
@keyframes lv-roll { 0% { transform: translateY(0); } 33% { transform: translateY(-18px); } 66% { transform: translateY(-36px); } 100% { transform: translateY(-54px); } }
@keyframes lv-roll-smooth { 0%, 22% { transform: translateY(0); } 33%, 55% { transform: translateY(-18px); } 66%, 88% { transform: translateY(-36px); } 100% { transform: translateY(-54px); } }
.preloader-bar { width: 160px; height: 2px; background: #1F2840; border-radius: 2px; overflow: hidden; animation: lv-fade .4s ease .6s both; }
.preloader-bar i { display: block; height: 100%; background: #C6F432; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .3s var(--ease-out); }
.preloader.is-leaving { animation: lv-lift .7s var(--ease-io) forwards; }
.preloader.is-leaving .preloader-stack { animation: lv-out .25s ease forwards; }
@keyframes lv-lift { to { transform: translateY(-100%); } }
@keyframes lv-out { to { opacity: 0; transform: translateY(-12px); } }

/* ---------- Reveal on scroll (content is visible without JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--rd, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.rv { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rv > span { display: block; }
.js .hero .rv > span { transform: translateY(105%); }
.js .hero-in { opacity: 0; transform: translateY(16px); }
.js .hero .rv > span { animation: lv-rise-fb .9s var(--ease-out) 3s both; }
.js .hero-in { animation: lv-in-fb .8s var(--ease-out) 3s both; }
html.js:not(.is-ready) [data-reveal] { animation: lv-in-fb .6s var(--ease-out) 3s both; }
.is-ready .hero .rv > span { animation: lv-rise .9s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms + 100ms); }
.is-ready .hero-in { animation: lv-in .8s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms + 150ms); }
@keyframes lv-rise-fb { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes lv-in-fb { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lv-rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes lv-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-24); }
.section-tight { padding-block: var(--space-16) var(--space-24); }
@media (max-width: 760px) { .section { padding-block: var(--space-16); } .section-tight { padding-block: var(--space-12) var(--space-16); } }
.sec-head { display: grid; gap: var(--space-4); max-width: 760px; margin-bottom: var(--space-12); }
.sec-head .eyebrow { margin-bottom: calc(var(--space-2) * -1); }
.sec-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-12); }
.sec-top .sec-head { margin-bottom: 0; }
.center-link { display: flex; justify-content: center; margin-top: var(--space-12); }

.grid-2 { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: var(--space-6); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero (globe) ---------- */
.hero { position: relative; overflow: hidden; min-height: min(860px, calc(100svh - var(--header-h))); display: flex; align-items: center; padding-block: clamp(48px, 7vw, 96px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(rgba(163,172,191,.12) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 70% 50%, #000 10%, transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -10%; bottom: -30%; width: 60%; height: 70%; z-index: -2; background: radial-gradient(closest-side, rgba(198,244,50,.07), transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: 100%; display: grid; gap: var(--space-8); pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero-copy { display: grid; gap: var(--space-6); justify-items: start; max-width: 680px; }
.hero-title { margin-top: calc(var(--space-2) * -1); }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8); }
.ticks { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); list-style: none; color: var(--fg-muted); font-size: 15px; }
.ticks li { display: inline-flex; align-items: center; gap: var(--space-2); }
.ticks .lv-i { color: var(--lime-text); flex: none; }
.ticks-col { flex-direction: column; }
.hero-proof .ticks { flex-direction: column; gap: 4px; font-size: 14px; }
.globe-wrap { position: absolute; z-index: -1; top: 50%; right: -2%; width: min(54vw, 820px); aspect-ratio: 1; transform: translateY(-50%); transform-origin: center; }
.globe { width: 100%; height: 100%; display: block; cursor: grab; }
.globe:active { cursor: grabbing; }
.globe-label { position: absolute; left: 0; top: 0; pointer-events: none; display: flex; align-items: flex-start; gap: 10px; opacity: 0; transition: opacity .4s var(--ease-out); will-change: transform; }
.globe-label.is-on { opacity: 1; }
.gl-dot { width: 0; height: 0; }
.gl-text { display: grid; gap: 4px; margin: -12px 0 0 18px; max-width: 260px; padding: 10px 14px; border-radius: 12px; background: rgba(20,27,45,.88); border: 1px solid #56627F; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); transform: translateY(6px); transition: transform .5s var(--ease-out); }
.globe-label.is-on .gl-text { transform: none; }
.globe-label.is-flip .gl-text { position: absolute; right: 18px; margin: -12px 0 0; width: max-content; }
.gl-country { font: 500 12px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #C6F432; }
.gl-quote { font-size: 14px; line-height: 1.45; color: #F4F6FB; }
.globe-caption { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--lime); animation: lv-ping 1.8s var(--ease-out) infinite; }
@keyframes lv-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid var(--line-strong); border-radius: 14px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--lime); animation: lv-cue 1.8s ease-in-out infinite; }
@keyframes lv-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 1100px) { .globe-wrap { right: -22%; width: 78vw; opacity: .75; } }
@media (max-width: 760px) {
	.hero { min-height: 0; padding-block: 40px 72px; }
	.globe-wrap { position: relative; top: auto; right: auto; transform: none; width: 112%; margin: -8px -6% -40px; order: 2; opacity: 1; z-index: 0; }
	.hero { flex-direction: column; align-items: stretch; }
	.hero-inner { order: 1; }
	.globe-caption { justify-self: start; }
	.scroll-cue { display: none; }
	.gl-text { max-width: 200px; }
}

/* Ticker */
.ticker-band { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; }
.marquee { display: flex; width: max-content; }
.marquee-row { display: flex; flex: none; list-style: none; animation: lv-marquee 40s linear infinite; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 600 clamp(22px, 2.6vw, 34px)/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; color: var(--fg); }
.marquee-row li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--fg-muted); }
.sq { width: 10px; height: 10px; border-radius: 3px; background: var(--lime); flex: none; }
@keyframes lv-marquee { to { transform: translateX(-100%); } }

/* Split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi, .sw { display: inline-block; will-change: transform; }

/* Statement */
.statement-sec { padding-block: clamp(96px, 14vw, 180px); }
.statement { font: 600 clamp(30px, 4.4vw, 60px)/1.14 var(--font-display); letter-spacing: -.015em; max-width: 24ch; text-wrap: pretty; }
.statement-sm { font-size: clamp(26px, 3.2vw, 42px); max-width: 30ch; margin-top: var(--space-6); }
.statement mark { color: var(--lime-text); }

/* Rating */
.rating { display: inline-flex; align-items: center; gap: var(--space-3); padding: 8px 18px 8px 8px; border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--line); transition: border-color .2s; }
a.rating:hover { border-color: var(--line-strong); }
.rating-score { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font: 600 17px/1 var(--font-display); }
.rating-text { display: grid; font-size: 14px; line-height: 1.35; color: var(--fg-muted); }
.rating-text strong { color: var(--fg); font-weight: 600; }
.stars { color: var(--lime-text); letter-spacing: 2px; font-size: 14px; line-height: 1; }

/* ---------- Stats ---------- */
.stats-band { border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-item { display: grid; gap: var(--space-2); padding: var(--space-8) var(--space-6); border-left: 1px solid var(--line); }
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-num { font: 600 clamp(40px, 4.4vw, 56px)/1 var(--font-display); letter-spacing: -.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.stat-label { color: var(--fg-muted); font-size: 15px; }
@media (max-width: 860px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat-item:nth-child(odd) { border-left: 0; padding-left: 0; }
	.stat-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Problem / fix ---------- */
.pf-list { border-top: 1px solid var(--line); }
.pf-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); padding: var(--space-4) 0; font: 500 12px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); border-bottom: 1px solid var(--line); }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.pf-row p { display: flex; gap: var(--space-3); align-items: flex-start; }
.pf-problem { color: var(--fg-muted); font-size: 17px; }
.pf-fix { font-size: 17px; font-weight: 500; }
.pf-x, .pf-ok { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px; }
.pf-x { background: var(--surface-sunken); color: var(--fg-muted); }
.pf-ok { background: var(--lime); color: var(--on-lime); }
@media (max-width: 760px) { .pf-head { display: none; } .pf-row { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--surface-sunken); color: var(--lime-text); flex: none; }
.service-card .h3 { margin-top: var(--space-3); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: auto; padding-top: var(--space-4); }
.stat { font: 500 14px/1.4 var(--font-mono); color: var(--lime-text); }
.card-arrow { color: var(--fg-muted); transition: transform .3s var(--ease-out), color .3s; }
.service-card:hover .card-arrow { color: var(--lime-text); transform: translate(3px, -3px); }

/* Projects */
.work-grid { gap: var(--space-8) var(--space-6); }
.project-card { display: grid; gap: var(--space-4); }
.project-media { position: relative; display: block; aspect-ratio: 3 / 2; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-sunken); border: 1px solid var(--line); }
.project-media .browser-dots { position: absolute; top: 12px; left: 14px; z-index: 2; }
.project-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease-out); }
.project-card:hover .project-media img { transform: scale(1.03); }
.project-placeholder { display: grid; place-items: center; width: 100%; height: 100%; font: 600 96px/1 var(--font-display); color: var(--line-strong); }
.project-body { display: grid; gap: var(--space-2); }
.project-body .h2 a:hover { color: var(--lime-text); }
.project-meta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--radius-sm); font: 500 13px/1.6 var(--font-mono); background: var(--surface-sunken); color: var(--fg-muted); border: 1px solid var(--line); }
.badge-lime { background: var(--lime-soft); color: var(--lime-text); border-color: transparent; }
.badge-lg { padding: 10px 14px; font-size: 14px; }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: var(--space-6); }
.why-head .sec-head { margin-bottom: 0; }
.why-list { display: grid; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item div { display: grid; gap: var(--space-2); }
.why-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--lime-soft); color: var(--lime-text); }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } .why-head { position: static; } }

/* Process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { position: relative; display: grid; align-content: start; gap: var(--space-3); padding: var(--space-8) var(--space-8) var(--space-8) 0; border-bottom: 1px solid var(--line); }
.step + .step { padding-left: var(--space-8); border-left: 1px solid var(--line); }
.step:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--lime); }
.step:nth-child(3n+2)::before, .step:nth-child(3n)::before { left: var(--space-8); }
.step-num { font: 500 13px/1 var(--font-mono); letter-spacing: .12em; color: var(--lime-text); }
@media (max-width: 900px) {
	.steps { grid-template-columns: minmax(0, 1fr); }
	.step, .step + .step { padding: var(--space-6) 0; border-left: 0; }
	.step::before, .step:nth-child(3n+2)::before, .step:nth-child(3n)::before { left: 0; }
}

/* Reviews */
.masonry { columns: 3 320px; column-gap: var(--space-6); }
.review-card { break-inside: avoid; display: grid; gap: var(--space-4); margin: 0 0 var(--space-6); padding: var(--space-8); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.review-card blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--fg); }
.review-card blockquote p + p { margin-top: var(--space-3); }
.review-card figcaption { display: flex; align-items: center; gap: var(--space-3); }
.review-card figcaption > span:last-child { display: grid; }
.review-card cite { font-style: normal; font-weight: 600; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-initial { display: grid; place-items: center; background: var(--lime-soft); color: var(--lime-text); font: 600 17px/1 var(--font-display); }
.sec-top-side { padding-bottom: 4px; }
@media (max-width: 680px) { .is-home .masonry .review-card:nth-child(n+4) { display: none; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-side .sec-head { margin-bottom: var(--space-6); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } .faq-side { position: static; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-6) 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .h3 { color: var(--lime-text); }
.faq-plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s, border-color .3s, transform .3s var(--ease-out); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--fg); border-radius: 2px; transition: transform .3s var(--ease-out); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--lime); border-color: var(--lime); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: var(--on-lime); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-answer { padding: 0 var(--space-12) var(--space-6) 0; color: var(--fg-muted); max-width: 68ch; }
.faq-answer p + p { margin-top: var(--space-3); }

/* ---------- CTA band ---------- */
.section-cta { padding-block: 0 var(--space-24); background: var(--surface); }
.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-12); align-items: end; padding: clamp(32px, 6vw, 72px); border-radius: var(--radius-xl); background: #141B2D; border: 1px solid #1F2840; color: #F4F6FB; --fg: #F4F6FB; --fg-muted: #A3ACBF; --lime-text: #C6F432; --line-strong: #56627F; --focus: #C6F432; }
.cta-copy { position: relative; z-index: 1; display: grid; gap: var(--space-4); }
.cta-side { position: relative; z-index: 1; display: grid; gap: var(--space-6); }
.cta-art { position: absolute; right: -48px; top: -64px; width: 300px; height: 300px; fill: rgba(255,255,255,.035); pointer-events: none; }
.cta-art .lime { fill: rgba(198,244,50,.16); }
@media (max-width: 860px) { .cta-art { width: 200px; height: 200px; right: -40px; top: -50px; } }
@media (max-width: 860px) { .cta-panel { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 64px); background: #0B1020; color: #F4F6FB; --surface: #0B1020; --fg: #F4F6FB; --fg-muted: #A3ACBF; --lime-text: #C6F432; --line: #1F2840; --line-strong: #56627F; --surface-raised: #141B2D; --focus: #C6F432; }
.page-hero .wrap { display: grid; gap: var(--space-6); justify-items: start; }
.page-hero .display-l, .page-hero .display-xl { max-width: 18ch; }
.page-hero-sm .display-l { font-size: clamp(34px, 4.6vw, 56px); max-width: 22ch; }
.page-404 { min-height: 70vh; display: grid; align-items: center; }
.links-404 { display: flex; flex-wrap: wrap; gap: var(--space-6); }

/* ---------- Inner page bits ---------- */
.empty { display: grid; gap: var(--space-4); justify-items: start; padding: var(--space-12); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: start; }
.about-media { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: var(--space-3); }
.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--line); }
.about-photo-empty { display: grid; place-items: center; }
.about-photo-empty svg { width: 46%; fill: var(--fg); }
.about-photo-empty .lime { fill: var(--lime); }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } .about-media { position: static; max-width: 420px; } }
.principles .card { gap: var(--space-2); }
.skills { display: grid; border-top: 1px solid var(--line); }
.skill-row { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-6); padding: var(--space-6) 0; border-bottom: 1px solid var(--line); align-items: start; }
.skill-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
@media (max-width: 700px) { .skill-row { grid-template-columns: 1fr; gap: var(--space-3); } }
.service-detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-16); align-items: start; }
.service-aside { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 860px) { .service-detail { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } .service-aside { position: static; } }
.shot { position: relative; margin: 0 0 var(--space-12); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface-raised); padding-top: 36px; }
.shot .browser-dots { position: absolute; top: 14px; left: 16px; }
.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-16); align-items: start; }
.case-meta { display: grid; gap: var(--space-4); margin: 0; padding: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); }
.case-meta dd { margin: 4px 0 0; font-weight: 500; }
@media (max-width: 860px) { .case { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-12); align-items: start; }
.contact-form-wrap { display: grid; gap: var(--space-6); padding: clamp(24px, 4vw, 48px); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.contact-side { display: grid; gap: var(--space-8); }
.contact-ways { display: grid; gap: var(--space-3); }
.way { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s, transform .2s var(--ease-out); }
.way:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.way > span:last-child { display: grid; min-width: 0; overflow-wrap: anywhere; }
.next-steps { display: grid; gap: var(--space-4); }
.next-steps ol { list-style: none; counter-reset: n; display: grid; gap: var(--space-4); }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; column-gap: var(--space-3); }
.next-steps li::before { content: counter(n); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime-soft); color: var(--lime-text); font: 500 13px/1 var(--font-mono); }
.next-steps li .muted { display: block; font-size: 15px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Form */
.form { display: grid; gap: var(--space-6); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-6); }
.field { display: grid; gap: var(--space-2); min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.req { color: var(--lime-text); }
.field input, .field select, .field textarea, .search-form input { width: 100%; font: 400 16px/1.5 var(--font-sans); color: var(--fg); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus, .search-form input:focus { outline: none; border-color: var(--lime-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime-text) 25%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 14px; color: var(--fg-muted); transition: all .2s; }
.chip input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--on-lime); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form-foot .small { max-width: 34ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-md); font-weight: 500; }
.notice .lv-i { flex: none; margin-top: 3px; }
.notice-ok { background: var(--lime-soft); color: var(--lime-text); }
.notice-err { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.search-form { display: flex; gap: var(--space-2); width: 100%; max-width: 480px; }

/* Blog */
.post-card { display: grid; gap: var(--space-3); align-content: start; }
.post-media { display: block; aspect-ratio: 3 / 2; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-sunken); border: 1px solid var(--line); margin-bottom: var(--space-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .h3 a:hover { color: var(--lime-text); }
.pager { margin-top: var(--space-12); }
.pager .nav-links { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.pager .page-numbers.current { background: var(--lime); color: var(--on-lime); border-color: var(--lime); font-weight: 600; }
.post-hero-img { margin: 0 0 var(--space-12); border-radius: var(--radius-xl); overflow: hidden; }
.post-nav { display: flex; justify-content: space-between; gap: var(--space-6); margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid var(--line); font-weight: 500; }
.post-nav a:hover { color: var(--lime-text); }

/* Prose (editor content) */
.prose { font-size: 18px; line-height: 1.75; max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 600 clamp(26px, 3vw, 34px)/1.15 var(--font-display); margin-top: 1.8em; }
.prose h3 { font: 600 21px/1.35 var(--font-sans); margin-top: 1.6em; }
.prose a { color: var(--lime-text); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--lime-text); }
.prose blockquote { margin-inline: 0; padding-left: var(--space-6); border-left: 2px solid var(--lime-text); font-size: 20px; }
.prose img, .prose figure { border-radius: var(--radius-lg); }
.prose code { font: 500 .88em var(--font-mono); background: var(--surface-sunken); padding: 2px 6px; border-radius: 4px; }
.prose pre { background: #070A15; color: #F4F6FB; padding: var(--space-6); border-radius: var(--radius-lg); overflow-x: auto; font: 500 14px/1.6 var(--font-mono); }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose mark { background: var(--lime-soft); padding: 0 4px; border-radius: 3px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption.wp-element-caption { font-size: 14px; color: var(--fg-muted); margin-top: var(--space-2); }

/* Comments */
.comments { margin-top: var(--space-16); display: grid; gap: var(--space-6); }
.comment-list { list-style: none; display: grid; gap: var(--space-6); }
.comment-body { padding: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.comment-form { display: grid; gap: var(--space-4); }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; background: var(--surface); color: var(--fg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; font: inherit; }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--space-24) var(--space-8); border-top: 1px solid var(--line); background: #070A15; }
.footer-big { font: 600 clamp(40px, 6.4vw, 88px)/1 var(--font-display); letter-spacing: -.02em; max-width: 14ch; text-wrap: balance; margin-bottom: var(--space-16); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--space-12); padding-bottom: var(--space-12); }
.footer-brand { display: grid; gap: var(--space-4); align-content: start; max-width: 360px; }
.footer-h { font: 500 13px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: var(--space-4); }
.footer-list { list-style: none; display: grid; gap: var(--space-3); }
.footer-list a { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--fg); transition: color .2s; overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--lime-text); }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.social a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 14px; transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--lime-text); color: var(--lime-text); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.legal-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-6); font-size: 14px; color: var(--fg-muted); }
.legal-list a:hover, .to-top:hover { color: var(--fg); }
.to-top { color: var(--fg-muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* WhatsApp float */
.wa-float { position: fixed; z-index: 30; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--on-lime); box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); transition: transform .2s var(--ease-out); }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
	.js [data-reveal], .js .hero-in, .js .hero .rv > span { opacity: 1 !important; transform: none !important; }
	.js .dial-fill { stroke-dashoffset: calc(119.4 - 119.4 * var(--v) / 100); }
	.brand:hover .lg-word .ch { transform: none; }
}


/* ==========================================================================
   v2 sections
   ========================================================================== */
.grid-4 { display: grid; gap: var(--space-6); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip-list li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-size: 14px; }
.narrow-l { max-width: calc(980px + 2 * var(--space-8)); }

/* Horizontal services */
.hs-sec { position: relative; overflow: hidden; padding-block: var(--space-24) var(--space-16); }
.hs-sec.is-pinned { padding-block: 0; }
.hs-sec.is-pinned .hs-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 8px) 32px; }
.hs-sec.is-pinned .hs-head { margin-bottom: var(--space-8); }
.hs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-12); }
.hs-head .sec-head { margin-bottom: 0; max-width: 680px; }
.hs-side { display: grid; justify-items: end; gap: var(--space-4); }
.hs-progress { width: 200px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hs-progress i { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.hs-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-left: max(var(--space-8), calc((100vw - var(--wrap)) / 2)); padding-right: var(--space-8); }
.hs-viewport::-webkit-scrollbar { display: none; }
.hs-sec.is-pinned .hs-viewport { overflow: visible; }
.hs-track { display: flex; gap: var(--space-6); width: max-content; padding-bottom: 8px; }
.hs-card { position: relative; flex: none; width: clamp(290px, 30vw, 420px); min-height: clamp(320px, 46vh, 420px); scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8); border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease-out); }
.hs-card:hover { border-color: var(--lime-text); }
.hs-card:hover .card-arrow { color: var(--lime-text); transform: translate(3px, -3px); }
.hs-card-top { display: flex; align-items: center; justify-content: space-between; }
.hs-idx { font: 600 64px/1 var(--font-display); color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.hs-card .h2 { margin-top: var(--space-6); }
.hs-list { list-style: none; display: grid; gap: 6px; margin-top: var(--space-2); }
.hs-list li { position: relative; padding-left: 18px; font-size: 15px; color: var(--fg-muted); }
.hs-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); }
.hs-card-cta { justify-content: space-between; background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.hs-card-cta .h2 { margin-top: 0; max-width: 8ch; }
.hs-cta-arrow { align-self: flex-end; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--on-lime); transition: transform .4s var(--ease-out); }
.hs-card-cta:hover .hs-cta-arrow { transform: rotate(-45deg); }
@media (max-width: 760px) { .hs-viewport { padding-left: 16px; padding-right: 16px; } .hs-card { min-height: 380px; } .hs-side { justify-items: start; } .hs-progress { display: none; } }

/* Industries list (home) */
.ind-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-16); align-items: start; }
.ind-side { position: sticky; top: calc(var(--header-h) + 32px); }
.ind-side .sec-head { margin-bottom: var(--space-6); }
.ind-list { list-style: none; border-top: 1px solid var(--line); }
.ind-list li { border-bottom: 1px solid var(--line); }
.ind-list a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-6); align-items: center; padding: var(--space-6) 0; overflow: hidden; }
.ind-list a::before { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); z-index: 0; }
.ind-name { position: relative; z-index: 1; font: 600 clamp(26px, 3vw, 40px)/1.05 var(--font-display); letter-spacing: -.015em; transition: transform .5s var(--ease-out), color .3s; }
.ind-desc { position: relative; z-index: 1; grid-column: 1; font-size: 15px; color: var(--fg-muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease-out), opacity .3s, margin .5s; }
.ind-arrow { position: relative; z-index: 1; grid-row: 1 / 3; grid-column: 2; color: var(--fg-muted); transition: transform .5s var(--ease-out), color .3s; }
@media (hover: hover) {
	.ind-list a:hover::before { transform: scaleY(1); }
	.ind-list a:hover .ind-name { transform: translateX(20px); color: var(--on-lime); }
	.ind-list a:hover .ind-desc { max-height: 60px; opacity: 1; margin-top: 6px; color: var(--on-lime); transform: translateX(20px); }
	.ind-list a:hover .ind-arrow { color: var(--on-lime); transform: rotate(45deg) translateX(-12px); }
}
@media (max-width: 900px) { .ind-wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } .ind-side { position: static; } }

/* Industries page */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 1020px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ind-grid { grid-template-columns: minmax(0, 1fr); } }
.ind-card { gap: var(--space-4); padding-bottom: var(--space-16); }
.ind-card:hover { border-color: var(--lime-text); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.ind-card .card-arrow { position: absolute; right: var(--space-8); bottom: var(--space-8); }
.ind-card:hover .card-arrow { color: var(--lime-text); transform: translate(3px, -3px); }
.ind-ch { list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--fg-muted); border-top: 1px solid var(--line); padding-top: var(--space-4); }
.ind-ch li::before { content: "— "; color: var(--lime-text); }
.ind-note { margin-top: var(--space-12); }
.challenge-grid { gap: var(--space-4); }
.challenge { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); font-size: 17px; }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3) var(--space-6); }
.feature-grid li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.feature-grid .lv-i { color: var(--lime-text); flex: none; margin-top: 3px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }
.why-quote { margin: var(--space-12) 0 0; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--lime-soft); color: var(--fg); font: 600 clamp(20px, 2.2vw, 26px)/1.4 var(--font-sans); }

/* Why (editorial rows) */
.why-item { display: block; }
.why-title { font: 600 clamp(22px, 2.4vw, 30px)/1.2 var(--font-display); letter-spacing: -.01em; margin-bottom: var(--space-2); }

/* Timeline */
.tl-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: start; }
.tl-side { position: sticky; top: calc(var(--header-h) + 32px); }
.tl-side .sec-head { margin-bottom: var(--space-6); }
@media (max-width: 900px) { .tl-wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } .tl-side { position: static; } }
.timeline { position: relative; list-style: none; display: grid; gap: 0; padding-left: 64px; }
.tl-line { position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-line i { position: absolute; inset: 0; background: var(--lime); transform-origin: top; }
.js .tl-line i { transform: scaleY(0); }
.tl-step { position: relative; padding: 0 0 var(--space-12); }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -54px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); transition: background-color .4s, border-color .4s, transform .4s var(--ease-out); }
.tl-step.is-active .tl-dot, html:not(.js) .tl-dot { background: var(--lime); border-color: var(--lime); transform: scale(1.15); }
.tl-num { display: block; font: 500 13px/1 var(--font-mono); letter-spacing: .12em; color: var(--lime-text); margin-bottom: var(--space-2); }
.tl-title { font: 600 clamp(24px, 2.6vw, 34px)/1.15 var(--font-display); letter-spacing: -.01em; margin-bottom: var(--space-3); }
.tl-body > .muted { max-width: 58ch; font-size: 17px; }
.tl-meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin: var(--space-6) 0 0; }
.tl-meta div { padding: var(--space-4) var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised); }
.tl-meta dd { margin: 6px 0 0; font-size: 15px; }
@media (max-width: 680px) { .timeline { padding-left: 44px; } .tl-line { left: 9px; } .tl-dot { left: -44px; } .tl-meta { grid-template-columns: minmax(0, 1fr); } }

/* Reviews: big quote + carousel */
.big-quote { margin: 0 0 var(--space-16); display: grid; gap: var(--space-8); }
.big-quote blockquote { margin: 0; font: 600 clamp(24px, 2.8vw, 40px)/1.2 var(--font-display); letter-spacing: -.01em; max-width: 28ch; text-wrap: pretty; }
.big-quote blockquote::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--lime-text); margin-bottom: .1em; }
.big-quote figcaption { display: flex; align-items: center; gap: var(--space-3); }
.big-quote figcaption > span:last-child { display: grid; }
.big-quote cite { font-style: normal; font-weight: 600; }
.carousel-track { display: flex; gap: var(--space-6); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .review-card { flex: none; width: min(400px, 86vw); scroll-snap-align: start; margin: 0; }
.carousel-ctrl { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-8); }
.c-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--fg); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.c-btn[data-dir="-1"] .lv-i { transform: rotate(180deg); }
.c-btn:hover { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.carousel-ctrl .btn { margin-left: auto; }

/* FAQ question type */
.faq-q { font: 600 19px/1.4 var(--font-sans); }
.faq-item summary:hover .faq-q { color: var(--lime-text); }
.faq-groups { display: grid; gap: var(--space-16); }
.faq-group { display: grid; gap: var(--space-6); scroll-margin-top: calc(var(--header-h) + 24px); }

/* Services page */
.svc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-16); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: var(--space-4); }
.svc-nav ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.svc-nav a { display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--fg-muted); font-size: 15px; transition: color .2s, border-color .2s; }
.svc-nav a:hover { color: var(--fg); border-left-color: var(--lime-text); }
.svc-blocks { display: grid; }
.svc-block { display: grid; gap: var(--space-4); padding: var(--space-12) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-block:first-child { padding-top: 0; border-top: 0; }
.svc-block-head { display: flex; align-items: center; gap: var(--space-4); }
.svc-idx { font: 500 13px/1 var(--font-mono); letter-spacing: .12em; color: var(--lime-text); }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-top: var(--space-4); }
.svc-cols > div { display: grid; gap: var(--space-3); align-content: start; }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-4); }
@media (max-width: 960px) { .svc-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } .svc-nav { position: static; } .svc-nav ol { display: flex; flex-wrap: wrap; gap: var(--space-2); border: 0; } .svc-nav a { border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 6px 12px; margin: 0; font-size: 14px; } .svc-cols { grid-template-columns: minmax(0, 1fr); } }
.prose-lg { font-size: 18px; }
.prose .lead-p, .svc-prose > p:first-child { font-size: 21px; line-height: 1.6; color: var(--fg); }
.svc-prose h2 { padding-top: var(--space-6); border-top: 1px solid var(--line); }
.svc-prose ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-prose ul li { margin: 0; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--lime-soft); color: var(--lime-text); font-size: 15px; }
.svc-prose ul li + li { margin-top: 0; }

/* Process page extras */
.need-card { gap: var(--space-2); }
.need-num { font: 600 44px/1 var(--font-display); color: var(--lime-text); margin-bottom: var(--space-2); }

/* About */
.about-story { display: grid; gap: var(--space-6); }

/* Phone: the globe's quote sits as a caption under the globe instead of floating beside the pin. */
@media (max-width: 760px) {
	.globe-label { left: 50% !important; top: auto !important; bottom: 10%; transform: translateX(-50%) !important; justify-content: center; }
	.globe-label .gl-text, .globe-label.is-flip .gl-text { position: static; margin: 0; width: max-content; max-width: min(300px, 86vw); text-align: center; }
	.big-quote blockquote { font-size: 22px; line-height: 1.3; }
}
