/* ==========================================================================
   RabiscoEcom v2 — gallery edition
   ========================================================================== */

@font-face { font-family: 'Archivo'; src: url(../fonts/archivo.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(../fonts/space-grotesk.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(../fonts/jetbrains-mono.woff2) format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Yellowtail'; src: url(../fonts/yellowtail.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
	--ink: #0b0b0d;
	--ink-2: #121216;
	--paper: #efede8;
	--blue: #1e43f0;
	--blue-2: #4d6bff;
	--cyan: #00d0ff;
	--wa: #25d366;

	--bg: var(--ink);
	--fg: #f2f1ed;
	--muted: rgba(242, 241, 237, .62);
	--faint: rgba(242, 241, 237, .38);
	--line: rgba(242, 241, 237, .12);
	--line-2: rgba(242, 241, 237, .22);
	--card: rgba(255, 255, 255, .04);
	--script: var(--blue-2);

	--f-display: 'Archivo', 'Arial Black', system-ui, sans-serif;
	--f-body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;
	--f-script: 'Yellowtail', 'Brush Script MT', cursive;

	--gutter: clamp(18px, 3.6vw, 60px);
	--max: 1520px;
	--header-h: 78px;
	--ease: cubic-bezier(.19, 1, .22, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);
}
html[data-theme='light'] {
	--bg: var(--paper);
	--fg: #0d0d10;
	--muted: rgba(13, 13, 16, .62);
	--faint: rgba(13, 13, 16, .42);
	--line: rgba(13, 13, 16, .13);
	--line-2: rgba(13, 13, 16, .24);
	--card: rgba(13, 13, 16, .04);
	--script: var(--blue);
}
html[data-theme='blue'] {
	--bg: var(--blue);
	--fg: #fff;
	--muted: rgba(255, 255, 255, .78);
	--faint: rgba(255, 255, 255, .55);
	--line: rgba(255, 255, 255, .25);
	--line-2: rgba(255, 255, 255, .4);
	--card: rgba(255, 255, 255, .08);
	--script: #fff;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	background: var(--bg);
	color-scheme: dark;
	transition: background-color .8s ease;
}
html[data-theme='light'] { color-scheme: light; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color .8s ease, color .8s ease;
}
html.menu-open body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 300;
	padding: 10px 16px; border-radius: 99px;
	background: var(--fg); color: var(--bg); font-weight: 600;
	transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { position: relative; overflow-x: clip; }

.mono-label {
	margin: 0;
	font-family: var(--f-mono);
	font-size: .72rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}

.script {
	display: inline-block;
	font-family: var(--f-script);
	font-style: normal;
	font-weight: 400;
	font-stretch: 100%;
	letter-spacing: 0;
	text-transform: none;
	line-height: .8;
	font-size: 1.08em;
	padding: 0 .12em .14em .02em;
	margin: 0 -.08em -.14em -.02em;
	color: var(--script);
	transform: rotate(-5deg) translateY(.02em);
	transition: color .8s ease;
}

.h2 {
	font-family: var(--f-display);
	font-size: clamp(2.6rem, 6vw, 6.4rem);
	font-weight: 800;
	font-stretch: 116%;
	line-height: .93;
	letter-spacing: -.045em;
	max-width: 13ch;
	text-wrap: balance;
}

.section-head { margin-bottom: clamp(40px, 8vh, 90px); }
.section-lead { max-width: 42ch; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.55; }

.eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 26px;
	font-family: var(--f-mono);
	font-size: .74rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}
.eyebrow-index { display: inline-flex; align-items: center; gap: 14px; color: var(--fg); }
.eyebrow-index::after { content: ''; width: 36px; height: 1px; background: var(--line-2); }

.icon { width: 1em; height: 1em; flex: none; }
.flag { width: 1.35em; height: .9em; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }

.grain {
	position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
	0%, 100% { transform: translate(0, 0); }
	20% { transform: translate(-6%, 4%); }
	40% { transform: translate(4%, -6%); }
	60% { transform: translate(-3%, -3%); }
	80% { transform: translate(6%, 5%); }
}

/* Cursor */
.cursor { display: none; }
html.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .3s; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary { cursor: none; }
html.has-cursor input[type='text'] { cursor: text; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; mix-blend-mode: difference; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor-ring {
	display: grid; place-items: center;
	width: 38px; height: 38px; margin: -19px 0 0 -19px;
	border: 1px solid rgba(255, 255, 255, .7);
	transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .4s, border-color .4s;
}
.cursor-label { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease); }
.cursor.is-hover .cursor-ring { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
.cursor.has-label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--blue); border-color: transparent; mix-blend-mode: normal; }
.cursor.has-label .cursor-label { opacity: 1; transform: none; }
.cursor.has-label .cursor-dot { opacity: 0; }

/* Buttons */
.btn {
	--h: 56px;
	position: relative; display: inline-flex; align-items: center; gap: 16px;
	height: var(--h); padding: 0 8px 0 26px; border-radius: 999px;
	font-size: .78rem; font-weight: 600; letter-spacing: .12em; line-height: 1; text-transform: uppercase;
	text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
	transition: color .5s var(--ease), box-shadow .5s;
}
.btn::before {
	content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: var(--blue); transform: translateY(102%); transition: transform .7s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn-label { display: inline-block; height: 1.15em; overflow: hidden; line-height: 1.15; }
.btn-label > span { position: relative; display: block; transition: transform .7s var(--ease); }
.btn-label > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn:hover .btn-label > span, .header-cta:hover .btn-label > span { transform: translateY(-100%); }
.btn-icon {
	display: grid; place-items: center;
	width: calc(var(--h) - 16px); height: calc(var(--h) - 16px); border-radius: 50%;
	transition: transform .7s var(--ease), background .5s, color .5s;
}
.btn-icon .icon { width: 18px; height: 18px; }
.btn:hover .btn-icon { transform: rotate(-45deg); }
.btn:hover .btn-icon:has(.icon-whatsapp), .btn:hover .btn-icon:has(.icon-arrow-down) { transform: none; }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary .btn-icon { background: var(--bg); color: var(--fg); }
.btn-primary:hover { color: #fff; }
.btn-primary:hover .btn-icon { background: #fff; color: var(--blue); }
html[data-theme='blue'] .btn-primary::before { background: var(--ink); }
.btn-ghost { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { color: #fff; box-shadow: none; }
.btn-ghost .btn-icon { background: var(--card); }
.btn-xl { --h: 74px; padding-left: 34px; font-size: .86rem; gap: 22px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header { position: fixed; inset: 0 0 auto; z-index: 80; transition: transform .7s var(--ease); }
.site-header::before {
	content: ''; position: absolute; inset: 0;
	background: color-mix(in srgb, var(--bg) 72%, transparent);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	border-bottom: 1px solid var(--line);
	opacity: 0; transition: opacity .5s, background-color .8s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-105%); }
html.menu-open .site-header { transform: none; }
html.menu-open .site-header::before { opacity: 0; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { position: relative; display: inline-flex; padding-right: 1.5em; color: var(--fg); text-decoration: none; line-height: 1; }
.brand-word { font-family: var(--f-display); font-size: 1.3rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; text-transform: uppercase; }
.brand-script { position: absolute; right: -.1em; bottom: -.62em; font-family: var(--f-script); font-size: 1.26rem; color: var(--script); transform: rotate(-5deg); transition: transform .6s var(--ease), color .8s; }
.brand:hover .brand-script { transform: rotate(-10deg) translate(2px, -2px); }
.brand-custom img { max-height: 40px; width: auto; }

.nav-list { display: flex; gap: clamp(16px, 2.4vw, 38px); }
.nav-list a {
	position: relative; display: block; padding: 8px 0;
	font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase;
	text-decoration: none; color: var(--muted); transition: color .3s;
}
.nav-list a::before { content: '['; opacity: 0; margin-right: 4px; transition: opacity .3s; }
.nav-list a::after { content: ']'; opacity: 0; margin-left: 4px; transition: opacity .3s; }
.nav-list a:hover, .nav-list a.is-current { color: var(--fg); }
.nav-list a:hover::before, .nav-list a:hover::after, .nav-list a.is-current::before, .nav-list a.is-current::after { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; padding: 3px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); }
.lang a {
	display: grid; place-items: center; min-width: 38px; height: 32px; padding: 0 8px; border-radius: 99px;
	font-family: var(--f-mono); font-size: .72rem; font-weight: 500; text-decoration: none; color: var(--muted);
	transition: background .3s, color .3s;
}
.lang a[aria-current='true'] { background: var(--fg); color: var(--bg); }
.lang a:not([aria-current]):hover { color: var(--fg); }
.header-cta {
	display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 18px 0 14px; border-radius: 99px;
	background: var(--fg); color: var(--bg);
	font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
	transition: background .4s, color .4s;
}
.header-cta:hover { background: var(--blue); color: #fff; }
.header-cta-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0, 208, 255, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(0, 208, 255, 0); } }

.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-toggle-bars, .nav-toggle-bars::before { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.nav-toggle-bars { position: relative; transform: translateY(-3px); }
.nav-toggle-bars::before { content: ''; position: absolute; top: 6px; left: 0; }
html.menu-open .nav-toggle-bars { transform: rotate(45deg); }
html.menu-open .nav-toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }

.menu-overlay {
	position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end;
	padding: calc(var(--header-h) + 20px) 0 40px; background: var(--blue); color: #fff;
	clip-path: inset(0 0 100% 0); visibility: hidden;
	transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
html.menu-open .menu-overlay { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io); }
html.menu-open { --fg: #fff; --bg: var(--blue); --line-2: rgba(255, 255, 255, .4); }
.menu-list li { overflow: hidden; }
.menu-list a {
	display: block; font-family: var(--f-display); font-size: clamp(2.8rem, 12vw, 5.4rem); font-weight: 800; font-stretch: 115%;
	line-height: 1.02; letter-spacing: -.045em; text-decoration: none; transform: translateY(110%); transition: transform .9s var(--ease);
}
html.menu-open .menu-list a { transform: none; }
html.menu-open .menu-list li:nth-child(2) a { transition-delay: .05s; }
html.menu-open .menu-list li:nth-child(3) a { transition-delay: .1s; }
html.menu-open .menu-list li:nth-child(4) a { transition-delay: .15s; }
html.menu-open .menu-list li:nth-child(5) a { transition-delay: .2s; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; }
.menu-foot > a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lang-big a { min-width: 54px; height: 42px; font-size: .85rem; }

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */

.loader { display: none; }
html.js .loader {
	position: fixed; inset: 0; z-index: 150; display: block; background: var(--ink); color: #f2f1ed;
	clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-io);
}
html.js .loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
html.js .loader.is-gone { display: none; }
.loader-stack { position: absolute; left: 50%; top: 44%; width: min(44vw, 560px); aspect-ratio: 16 / 10; transform: translate(-50%, -50%); }
.loader-stack img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
	border-radius: 10px; opacity: 0; transform: scale(.94);
}
.loader-stack img.is-on { opacity: 1; transform: none; transition: transform .5s var(--ease); }
.loader.is-done .loader-stack { transform: translate(-50%, -80%) scale(.9); opacity: 0; transition: transform 1.2s var(--ease-io), opacity .8s; }
.loader-bottom { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 auto; }
.loader-brand { position: relative; padding-right: 1.5em; line-height: 1; }
.loader-brand .brand-word { font-size: 1.3rem; }
.loader-brand .brand-script { color: var(--blue-2); }
.loader .mono-label { color: rgba(242, 241, 237, .5); }
.loader-count { margin: 0; font-family: var(--f-display); font-size: clamp(4rem, 12vw, 11rem); font-weight: 800; font-stretch: 120%; line-height: .8; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Gallery (hero + 3D corridor)
   Default = static layout (no JS / no WebGL). html.gl-on = the 3D stage.
   -------------------------------------------------------------------------- */

.gallery { position: relative; }
.anchor-top { position: absolute; top: 0; }
.gallery-stage { position: relative; }
.gallery-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gallery-shade { display: none; }

.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100svh; padding-top: var(--header-h); }
.hero-inner { position: relative; }
.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 12px; margin: 0 0 3vh; padding: 8px 14px 8px 12px; border-radius: 99px;
	background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	font-family: var(--f-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: ping 2.2s infinite; }
.hero-title {
	font-family: var(--f-display); font-size: clamp(3.8rem, 11.4vw, 13.6rem); font-weight: 800; font-stretch: 118%;
	line-height: .84; letter-spacing: -.055em; white-space: nowrap;
}
.hero-title .script { font-size: 1.04em; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 4vh; }
.hero-text { max-width: 36ch; margin: 0; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.5; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 5vh; padding-block: 20px; border-top: 1px solid var(--line); }
.hero-live { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0; }
.hero-country { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; }
.hero-scroll { display: flex; align-items: center; gap: 12px; }
.hero-scroll i { position: relative; width: 1px; height: 34px; background: var(--line-2); overflow: hidden; }
.hero-scroll i::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--cyan); animation: scrollcue 2s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* Static works (fallback) */
.work-hud { position: relative; padding: 10vh 0 6vh; }
.work-slides {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px);
	width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.work-shot { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; margin-bottom: 22px; background: var(--ink-2); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.work-shot:hover img { transform: scale(1.04); }
.work-rail { display: none; }

.work-meta { display: flex; gap: 18px; margin-bottom: 14px; }
.work-count b { color: var(--fg); font-weight: 600; }
.work-type { color: var(--accent, var(--cyan)); }
.work-name { font-family: var(--f-display); font-size: clamp(2.2rem, min(4.8vw, calc(min(430px, 34vw) * 1.32 / var(--chars, 6))), 5.4rem); font-weight: 800; font-stretch: 116%; line-height: .9; letter-spacing: -.045em; text-wrap: balance; }
.work-place { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: .95rem; color: var(--fg); }
.work-place .flag { width: 1.6em; height: 1.07em; }
.work-summary { max-width: 38ch; margin: 18px 0 0; color: var(--muted); line-height: 1.55; }
.work-specs { display: flex; gap: 34px; margin: 22px 0 0; }
.work-specs div { display: grid; gap: 4px; }
.work-specs dt { font-size: .66rem; color: var(--faint); }
.work-specs dd { margin: 0; font-size: .95rem; }
.work-link {
	display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 14px 12px 18px; border-radius: 99px;
	background: var(--fg); color: var(--bg); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	transition: background .4s, color .4s;
}
.work-link:hover { background: var(--accent, var(--blue)); color: #0b0b0d; }
.work-domain { font-family: var(--f-mono); font-size: .68rem; font-weight: 400; letter-spacing: .02em; text-transform: none; opacity: .6; }
.work-link .icon { width: 16px; height: 16px; }

/* 3D stage */
html.gl-on .gallery { height: calc(100vh * (var(--n) * .9 + 2.2)); }
html.gl-on .gallery-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
html.gl-on .gallery-shade {
	display: block; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(11, 11, 13, .55) 0%, transparent 22%, transparent 55%, rgba(11, 11, 13, .9) 100%),
		radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(11, 11, 13, .7));
}
html.gl-on .hero { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
html.gl-on .hero a, html.gl-on .hero button { pointer-events: auto; }
html.gl-on .work-hud { position: absolute; inset: 0; z-index: 3; padding: 0; pointer-events: none; visibility: hidden; }
html.gl-on .work-hud.is-on { visibility: visible; }
html.gl-on .work-hud::before {
	content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .8s;
	background: linear-gradient(270deg, rgba(11, 11, 13, .94) 0%, rgba(11, 11, 13, .72) 28%, rgba(11, 11, 13, 0) 52%);
}
html.gl-on .work-hud.is-left::before { background: linear-gradient(90deg, rgba(11, 11, 13, .94) 0%, rgba(11, 11, 13, .72) 28%, rgba(11, 11, 13, 0) 52%); }
html.gl-on .work-hud.is-on::before { opacity: 1; }
html.gl-on .work-slides { display: block; position: absolute; inset: 0; max-width: none; padding: 0; }
html.gl-on .work-shot { display: none; }
html.gl-on .work-slide {
	position: absolute; top: 50%; right: var(--gutter); width: min(430px, 34vw);
	transform: translateY(-46%); pointer-events: none;
}
html.gl-on .work-hud.is-left .work-slide { right: auto; left: var(--gutter); }
html.gl-on .work-card > * { opacity: 0; transform: translateY(26px); transition: opacity .35s, transform .6s var(--ease); }
html.gl-on .work-slide.is-active { pointer-events: auto; }
html.gl-on .work-slide.is-active .work-card > * { opacity: 1; transform: none; transition: opacity .7s .1s, transform 1.1s var(--ease); }
html.gl-on .work-slide.is-active .work-card > :nth-child(2) { transition-delay: .14s; }
html.gl-on .work-slide.is-active .work-card > :nth-child(3) { transition-delay: .2s; }
html.gl-on .work-slide.is-active .work-card > :nth-child(4) { transition-delay: .26s; }
html.gl-on .work-slide.is-active .work-card > :nth-child(5) { transition-delay: .32s; }
html.gl-on .work-slide.is-active .work-card > :nth-child(6) { transition-delay: .38s; }
html.gl-on .work-rail {
	position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; gap: 6px; pointer-events: auto;
}
.work-rail li { flex: 1; min-width: 0; }
.work-rail button { display: grid; gap: 10px; width: 100%; text-align: left; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); transition: color .3s; }
.work-rail button span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.work-rail i { position: relative; display: block; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.work-rail i::after { content: ''; position: absolute; inset: 0; background: var(--fg); transform: scaleX(var(--p, 0)); transform-origin: left; }
.work-rail li.is-active button, .work-rail button:hover { color: var(--fg); }

/* --------------------------------------------------------------------------
   Index (light)
   -------------------------------------------------------------------------- */

.index { position: relative; padding: 18vh 0 14vh; }
.index-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
	position: relative; padding: 11px 18px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2);
	font-size: .88rem; transition: background .3s, color .3s, box-shadow .3s;
}
.filter sup { margin-left: 4px; font-family: var(--f-mono); font-size: .62rem; vertical-align: super; opacity: .6; }
.filter.is-on { background: var(--fg); color: var(--bg); box-shadow: none; }
.filter:not(.is-on):hover { box-shadow: inset 0 0 0 1px var(--fg); }
.index-row {
	position: relative; display: grid; grid-template-columns: 64px minmax(0, 2fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) 40px;
	align-items: center; gap: 16px; padding: 24px 0; color: inherit; text-decoration: none; isolation: isolate;
}
.index-row-head { padding: 0 0 16px; border-bottom: 1px solid var(--fg); }
.index-item { border-bottom: 1px solid var(--line); }
.index-item .index-row::before {
	content: ''; position: absolute; inset: 0 calc(-1 * var(--gutter) / 2); z-index: -1; border-radius: 6px;
	background: var(--fg); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.index-item:hover .index-row::before { transform: scaleY(1); transform-origin: top; }
.index-item:hover .index-row { color: var(--bg); }
.index-item:hover .ix-num { color: var(--bg); }
.ix-name { display: flex; align-items: center; gap: 16px; font-family: var(--f-display); font-size: clamp(1.7rem, 3.2vw, 3.2rem); font-weight: 700; font-stretch: 112%; line-height: 1; letter-spacing: -.035em; transition: transform .6s var(--ease); }
.index-item:hover .ix-name { transform: translateX(14px); }
.ix-thumb { display: none; }
.ix-country { display: flex; align-items: center; gap: 10px; }
.ix-type, .ix-platform, .ix-country { font-size: .95rem; }
.ix-arrow { justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; transition: transform .6s var(--ease); }
.ix-arrow .icon { width: 18px; height: 18px; }
.index-item:hover .ix-arrow { transform: rotate(45deg); }
.index-item.is-out { display: none; }
.index-preview {
	position: fixed; left: 0; top: 0; z-index: 60; width: clamp(280px, 26vw, 420px); aspect-ratio: 16 / 10;
	pointer-events: none; opacity: 0; will-change: transform;
}
.index-preview-inner {
	width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: #ddd;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); transform: scale(.6) rotate(-6deg); transition: transform .6s var(--ease);
}
.index-preview.is-on { opacity: 1; transition: opacity .25s; }
.index-preview.is-on .index-preview-inner { transform: scale(1) rotate(-3deg); }
.index-preview-inner { position: relative; }
.index-preview img, .index-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.index-preview video { opacity: 0; transition: opacity .3s; }
.index-preview.has-video video { opacity: 1; }
.index-note { margin-top: 22px; }
.index-more {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	margin-top: 0; padding: 34px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; isolation: isolate;
}
.index-more::before {
	content: ''; position: absolute; inset: 0 calc(-1 * var(--gutter) / 2); z-index: -1; border-radius: 6px; background: var(--blue);
	transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.index-more:hover::before { transform: scaleY(1); transform-origin: top; }
.index-more:hover { color: #fff; }
.index-more-count { font-family: var(--f-display); font-size: clamp(1.6rem, 3.2vw, 3.2rem); font-weight: 700; font-stretch: 112%; letter-spacing: -.035em; line-height: 1.05; color: var(--muted); transition: color .4s; }
.index-more:hover .index-more-count { color: #fff; }
.index-more-cta { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 99px; box-shadow: inset 0 0 0 1px currentColor; font-family: var(--f-mono); font-size: .76rem; text-transform: uppercase; }
.index-more-cta .icon { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Services (light)
   -------------------------------------------------------------------------- */

.services { padding: 8vh 0 16vh; }
.srv {
	position: relative; display: grid; grid-template-columns: 80px minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px;
	align-items: start; padding: 46px 0; border-top: 1px solid var(--line); isolation: isolate; transition: color .5s;
}
.srv:last-child { border-bottom: 1px solid var(--line); }
.srv::before {
	content: ''; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: var(--blue);
	clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease);
}
.srv:hover { color: #fff; }
.srv:hover::before { clip-path: inset(0 0 0 0); }
.srv:hover .srv-num, .srv:hover .srv-body p, .srv:hover .tags li { color: rgba(255, 255, 255, .85); }
.srv:hover .tags li { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.srv-num { padding-top: 1em; }
.srv-title { font-family: var(--f-display); font-size: clamp(2.2rem, 4.6vw, 5rem); font-weight: 800; font-stretch: 116%; line-height: .94; letter-spacing: -.045em; transition: transform .8s var(--ease); }
.srv:hover .srv-title { transform: translateX(16px); }
.srv-body p { max-width: 44ch; margin: .6em 0 18px; color: var(--muted); line-height: 1.55; transition: color .5s; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; color: var(--muted); transition: color .5s, box-shadow .5s; }

/* --------------------------------------------------------------------------
   Features (dark)
   -------------------------------------------------------------------------- */

.features { padding: 16vh 0 14vh; }
.features-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.demo-card:nth-child(2) { margin-top: 70px; }
.demo-title { margin: 28px 0 8px; font-family: var(--f-display); font-size: 1.45rem; font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; }
.demo-text { max-width: 36ch; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.phone {
	position: relative; aspect-ratio: 9 / 18.6; max-height: 660px; max-width: 330px; margin-inline: auto; padding: 9px; border-radius: 44px;
	background: linear-gradient(155deg, #34343f, #0f0f14 38%, #22222b 70%, #0b0b0f);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(30, 67, 240, .55);
	transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .9s var(--ease);
}
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; z-index: 3; width: 30%; height: 22px; border-radius: 20px; background: #050507; transform: translateX(-50%); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: #f5f4f0; color: #101015; }
.demo { display: flex; flex-direction: column; height: 100%; padding: 56px 16px 16px; font-family: var(--f-body); font-size: 12.5px; line-height: 1.35; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.demo-logo { font-family: var(--f-display); font-size: 15px; font-weight: 800; font-stretch: 110%; letter-spacing: -.03em; }
.demo-logo b { color: var(--blue); }
.demo-chip { padding: 5px 9px; border-radius: 99px; background: #101015; color: #fff; font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase; }
.demo-btn { margin-top: auto; height: 44px; border-radius: 14px; background: #101015; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .3s, transform .3s; }
.demo-btn:hover { background: var(--blue); }
.demo-btn:active { transform: scale(.97); }
.demo-btn.is-done { background: #0f9d58; }
.demo-btn:disabled { opacity: .4; }

.quiz-progress { height: 3px; border-radius: 3px; background: #e2e0da; overflow: hidden; margin-bottom: 20px; }
.quiz-progress i { display: block; height: 100%; width: 25%; background: var(--blue); transition: width .6s var(--ease); }
.quiz-stage { display: flex; flex-direction: column; flex: 1; }
.quiz-stage.is-swap { animation: swapin .55s var(--ease); }
@keyframes swapin { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.quiz-step { margin: 0 0 6px; font-family: var(--f-mono); font-size: 9px; text-transform: uppercase; color: #8a8880; }
.quiz-q { margin: 0 0 18px; font-family: var(--f-display); font-size: 20px; font-weight: 700; font-stretch: 105%; line-height: 1.08; letter-spacing: -.02em; }
.quiz-options { display: grid; gap: 8px; }
.quiz-options button { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #e4e2dc; text-align: left; font-size: 12.5px; font-weight: 500; transition: box-shadow .25s, background .25s, color .25s; }
.quiz-options button::after { content: '→'; opacity: 0; transform: translateX(-6px); transition: .3s; }
.quiz-options button:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.quiz-options button:hover::after { opacity: 1; transform: none; color: var(--blue); }
.quiz-options button.is-picked { background: var(--blue); color: #fff; box-shadow: none; }
.quiz-result { display: flex; flex-direction: column; flex: 1; }
.quiz-items { display: grid; gap: 8px; margin-bottom: 14px; }
.quiz-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #e9e7e1; }
.quiz-item i { position: relative; width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(150deg, var(--c1, #dfe5ff), var(--c2, #b8c6ff)); }
.quiz-item i::after { content: ''; position: absolute; left: 50%; top: 22%; width: 12px; height: 22px; border-radius: 4px 4px 3px 3px; background: rgba(255, 255, 255, .85); transform: translateX(-50%); }
.quiz-item b { display: block; font-size: 12px; }
.quiz-item small { color: #8a8880; font-size: 10.5px; }
.quiz-item span { font-weight: 600; font-size: 12px; }
.quiz-match { align-self: flex-start; margin-bottom: 10px; padding: 4px 8px; border-radius: 99px; background: #e6ecff; color: var(--blue); font-size: 10px; font-weight: 600; }
.quiz-again { margin-top: 8px; font-size: 10.5px; color: #8a8880; text-decoration: underline; }

.kit-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.kit-tile { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: #e6e4de; transition: opacity .4s, transform .5s var(--ease); }
.kit-tile svg { width: 64%; height: 64%; fill: var(--c); transition: fill .45s; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .15)); }
.kit-tile.is-off { opacity: .28; transform: scale(.9); }
.kit-rows { display: grid; gap: 7px; }
.kit-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: center; padding: 9px 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #e9e7e1; transition: opacity .3s; }
.kit-row.is-off { opacity: .5; }
.kit-check { display: flex; align-items: center; gap: 8px; grid-column: 1 / -1; font-weight: 600; cursor: pointer; }
.kit-check input { position: absolute; opacity: 0; pointer-events: none; }
.kit-box { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px #c9c6be; color: #fff; transition: background .25s, box-shadow .25s; }
.kit-box .icon { width: 12px; height: 12px; opacity: 0; stroke-width: 3; }
.kit-check input:checked + .kit-box { background: var(--blue); box-shadow: none; }
.kit-check input:checked + .kit-box .icon { opacity: 1; }
.kit-check input:focus-visible + .kit-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.swatches, .sizes { display: flex; gap: 5px; }
.swatches button { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); transition: transform .25s, box-shadow .25s; }
.swatches button[aria-checked='true'] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--blue); }
.swatches button:hover { transform: scale(1.12); }
.sizes button { min-width: 24px; height: 22px; padding: 0 4px; border-radius: 6px; box-shadow: inset 0 0 0 1px #dedbd4; font-size: 10px; font-weight: 600; }
.sizes button[aria-checked='true'] { background: #101015; color: #fff; box-shadow: none; }
.kit-total { display: flex; align-items: flex-end; justify-content: space-between; margin: 12px 0; font-size: 11px; }
.kit-count b { color: var(--blue); }
.kit-price { text-align: right; line-height: 1.2; }
.kit-price s { display: block; color: #9b988f; font-size: 10.5px; }
.kit-price b { font-family: var(--f-display); font-size: 18px; font-stretch: 105%; letter-spacing: -.02em; }

.stock-product { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 10px; margin-bottom: 12px; border-radius: 14px; background: #101015; color: #fff; }
.stock-thumb { width: 44px; height: 44px; border-radius: 10px; background: radial-gradient(circle at 30% 70%, #fff 0 3px, transparent 4px), linear-gradient(160deg, #4d6bff, #00d0ff); }
.stock-meta p { margin: 0; font-weight: 600; }
.stock-meta span { font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.stock-total { text-align: right; line-height: 1; }
.stock-total b { display: block; font-family: var(--f-display); font-size: 24px; font-stretch: 110%; font-variant-numeric: tabular-nums; }
.stock-total span { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.stock-channels { display: grid; gap: 6px; margin: 0 0 12px; }
.stock-channels li { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 8px; align-items: center; padding: 8px 8px 8px 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #e9e7e1; }
.ch-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.ch-qty { font-variant-numeric: tabular-nums; }
.ch-qty.is-flash { animation: flash .7s; }
@keyframes flash { 0% { color: var(--blue); transform: scale(1.3); } 100% { color: inherit; transform: none; } }
.stock-channels button { padding: 6px 9px; border-radius: 8px; background: #101015; color: #fff; font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background .25s; }
.stock-channels button:hover { background: var(--blue); }
.stock-channels button:disabled { background: #c9c6be; cursor: not-allowed; }
.stock-log { display: grid; gap: 4px; margin: auto 0 0; padding: 10px 0 0; border-top: 1px dashed #d8d5ce; font-size: 10.5px; color: #6f6c64; }
.stock-log li { animation: swapin .5s var(--ease); }
.stock-log li:first-child { color: #101015; font-weight: 500; }

.built {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 6vw; align-items: start;
	margin-top: 14vh; padding-top: 40px; border-top: 1px solid var(--line);
}
.built > .mono-label { grid-column: 1 / -1; }
.built-list { display: flex; flex-wrap: wrap; gap: 10px; }
.built-list li {
	display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 99px; background: var(--card);
	box-shadow: inset 0 0 0 1px var(--line); font-size: clamp(.95rem, 1.2vw, 1.15rem); transition: background .3s, box-shadow .3s;
}
.built-list li:hover { background: var(--blue); box-shadow: none; color: #fff; }
.built-list .icon { width: 12px; height: 12px; color: var(--cyan); }
.built-list li:hover .icon { color: #fff; }
.built-idea { padding: 30px; border-radius: 26px; background: radial-gradient(120% 120% at 100% 0%, rgba(0, 208, 255, .25), transparent 60%), radial-gradient(120% 120% at 0% 100%, rgba(30, 67, 240, .7), transparent 60%), var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.built-idea-title { margin: 0 0 8px; font-family: var(--f-display); font-size: clamp(1.6rem, 2.2vw, 2.2rem); font-weight: 800; font-stretch: 110%; line-height: 1; letter-spacing: -.03em; }
.built-idea p:not(.built-idea-title) { color: var(--muted); }
.built-idea .btn { margin-top: 10px; }

/* --------------------------------------------------------------------------
   Numbers (blue)
   -------------------------------------------------------------------------- */

.numbers { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 12vh 0; }
.numbers > .wrap { width: 100%; }
.numbers-title { margin-bottom: 9vh; font-family: var(--f-display); font-size: clamp(3rem, 8.6vw, 10rem); font-weight: 800; font-stretch: 118%; line-height: .9; letter-spacing: -.05em; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.num { padding: 34px 26px 0 0; }
.num + .num { padding-left: 26px; border-left: 1px solid var(--line); }
.num-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: .12em; margin: 0 0 14px; font-family: var(--f-display); font-size: clamp(3.4rem, 7vw, 7.6rem); font-weight: 800; font-stretch: 120%; line-height: .86; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.num-plus { opacity: .6; }
.num-flags { display: inline-flex; gap: 6px; align-self: center; margin-left: .15em; }
.num-flags .flag { width: .42em; height: .28em; }

/* --------------------------------------------------------------------------
   Award (dark)
   -------------------------------------------------------------------------- */

.award { padding: 16vh 0 14vh; }
.award-title { font-family: var(--f-display); font-size: clamp(3.4rem, 12.6vw, 15rem); font-weight: 800; font-stretch: 125%; line-height: .86; letter-spacing: -.055em; }
.award-word { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 241, 237, .5); }
.award-year { display: block; width: fit-content; margin: .08em 0 0 auto; color: var(--blue-2); }
.award-frame { position: relative; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); margin: 7vh auto 8vh; }
.award-media { aspect-ratio: 16 / 8.4; border-radius: 30px; overflow: hidden; background: var(--ink-2); }
.award-media img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; }
.badge { position: absolute; right: 4%; top: -84px; z-index: 2; width: 168px; height: 168px; border-radius: 50%; background: rgba(11, 11, 13, .75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-2); color: #f2f1ed; }
.badge-ring { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge text { fill: currentColor; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.badge-spark { position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; color: var(--cyan); animation: spin 9s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.award-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 6vw; }
.award-kicker { display: flex; align-items: center; gap: 10px; }
.award-kicker .icon { color: var(--cyan); width: 16px; height: 16px; }
.award-h { margin-bottom: 20px; font-family: var(--f-display); font-size: clamp(2.2rem, 3.8vw, 3.8rem); font-weight: 800; font-stretch: 114%; line-height: .96; letter-spacing: -.04em; }
.award-text { max-width: 58ch; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Process (light)
   -------------------------------------------------------------------------- */

.process { padding: 16vh 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fg); }
.step { padding: 28px 24px 44px 0; border-bottom: 1px solid var(--line); }
.step:not(:nth-child(4n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.step-num { display: block; margin-bottom: 40px; font-family: var(--f-display); font-size: clamp(3rem, 5vw, 5.4rem); font-weight: 800; font-stretch: 125%; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.2px var(--fg); transition: color .5s; }
.step:hover .step-num { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.step-title { margin-bottom: 10px; font-family: var(--f-display); font-size: 1.45rem; font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.1; }
.step-text { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Contact (dark)
   -------------------------------------------------------------------------- */

.contact { padding: 18vh 0 14vh; text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .eyebrow { justify-content: center; }
.contact-title { max-width: 12ch; margin: 2vh 0 7vh; font-family: var(--f-display); font-size: clamp(3.2rem, 9vw, 10rem); font-weight: 800; font-stretch: 116%; line-height: .9; letter-spacing: -.05em; text-wrap: balance; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.contact-mail { color: var(--muted); text-decoration: none; }
.contact-mail u { color: var(--fg); text-decoration-color: var(--blue-2); text-underline-offset: 4px; }
.brief {
	width: 100%; max-width: 940px; margin-top: 14vh; padding: clamp(24px, 4.4vw, 56px); border-radius: 30px; text-align: left;
	background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.brief-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.brief-title { margin: 0; font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.035em; }
.brief-sub { margin: 0; color: var(--muted); font-size: .92rem; }
.brief-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.field { display: block; padding-top: 14px; }
.field-wide { grid-column: 1 / -1; }
.field em, .chips legend em { font-style: normal; text-transform: none; opacity: .7; }
.field input { width: 100%; padding: 12px 0 14px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--fg); font-size: 1.12rem; outline: none; transition: border-color .3s; }
.field input::placeholder { color: var(--faint); }
.field input:focus { border-bottom-color: var(--cyan); }
.field.is-invalid input { border-bottom-color: #ff5d73; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 30px 0 0; padding: 0; border: 0; }
.chips legend { width: 100%; margin-bottom: 14px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 11px 18px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .9rem; transition: background .3s, color .3s, box-shadow .3s; }
.chip:hover span { box-shadow: inset 0 0 0 1px var(--fg); }
.chip input:checked + span { background: var(--fg); color: var(--bg); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.brief-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; }
.brief-error { margin: 0; color: #ff8394; font-size: .9rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { position: relative; padding-top: 12vh; border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 6vw; }
.footer-mail {
	display: inline-flex; align-items: center; gap: .3em; margin-top: 18px; padding-bottom: 8px;
	font-family: var(--f-display); font-size: clamp(1.15rem, 2.2vw, 2.3rem); font-weight: 700; font-stretch: 104%; letter-spacing: -.03em;
	text-decoration: none; white-space: nowrap; background: linear-gradient(var(--blue-2), var(--blue-2)) 0 100% / 0 2px no-repeat; transition: background-size .8s var(--ease);
}
.footer-mail:hover { background-size: 100% 2px; }
.footer-mail .icon { width: .8em; height: .8em; color: var(--blue-2); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-col .mono-label { margin-bottom: 18px; color: var(--faint); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--muted); transition: color .3s; }
.footer-links a:hover { color: var(--fg); }
.footer-badge { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--muted); }
.footer-badge .icon { width: 13px; height: 13px; color: var(--cyan); }
.lang-footer { margin-top: 14px; }
.footer-mark {
	position: relative; display: flex; justify-content: center; margin: 12vh 0 -2.2vw;
	font-family: var(--f-display); font-size: 17.4vw; font-weight: 800; font-stretch: 125%; line-height: .8; letter-spacing: -.06em; text-transform: uppercase; white-space: nowrap; user-select: none;
}
.footer-mark-word { background: linear-gradient(180deg, rgba(242, 241, 237, .92) 10%, rgba(242, 241, 237, .04) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-mark-script { position: absolute; right: 5vw; bottom: 6%; font-family: var(--f-script); font-size: .4em; font-weight: 400; font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--blue-2); transform: rotate(-6deg); }
.footer-legal { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--faint); }
.footer-legal p { margin: 0; }
.footer-legal a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); }
.footer-legal .icon { width: 14px; height: 14px; transform: rotate(-45deg); }

.wa-float {
	position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
	box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .65); transition: transform .6s var(--ease), opacity .4s;
}
.wa-float .icon { width: 27px; height: 27px; }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.wa-float-tip { position: absolute; right: calc(100% + 12px); padding: 8px 13px; border-radius: 99px; background: #f2f1ed; color: #0b0b0d; font-size: .78rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float-tip { opacity: 1; transform: none; }
html.in-gallery .wa-float { opacity: 0; pointer-events: none; }

/* Inner pages */
.page-hero { padding: calc(var(--header-h) + 14vh) 0 8vh; }
.page-title { max-width: 16ch; font-family: var(--f-display); font-size: clamp(2.8rem, 7.4vw, 8rem); font-weight: 800; font-stretch: 116%; line-height: .92; letter-spacing: -.05em; text-wrap: balance; }
.page-hero .btn { margin-top: 36px; }
.page-hero .section-lead { margin-top: 24px; }
.page-404 { min-height: 90vh; display: flex; align-items: center; }
.prose { max-width: 820px; padding-bottom: 12vh; font-size: 1.08rem; line-height: 1.75; color: var(--muted); }
.prose h2, .prose h3 { color: var(--fg); font-family: var(--f-display); letter-spacing: -.02em; line-height: 1.1; margin: 1.8em 0 .6em; }
.prose a { color: var(--blue-2); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.split-w > span { display: inline-block; will-change: transform; }
.split-s { display: inline-block; }
.js .hero [data-intro] { opacity: 0; }
html.no-motion .hero [data-intro] { opacity: 1; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.demos-scroller { overflow-x: auto; }
	.demos { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter) 20px; scrollbar-width: none; }
	.demos::-webkit-scrollbar { display: none; }
	.demo-card { flex: 0 0 min(300px, 76vw); scroll-snap-align: center; }
	.demo-card:nth-child(2) { margin-top: 0; }
	.phone { transform: none; }
	.built { grid-template-columns: 1fr; }
	.numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.num:nth-child(3) { padding-left: 0; border-left: 0; }
	.num:nth-child(n + 3) { margin-top: 30px; border-top: 1px solid var(--line); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.step:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
	.step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.main-nav, .header-cta { display: none; }
	.nav-toggle { display: grid; }
	.lang a { min-width: 34px; height: 30px; }
	.hero-title { white-space: normal; font-size: clamp(3.6rem, 19vw, 9rem); }
	.hero-foot { flex-direction: column; align-items: flex-start; gap: 24px; }
	.hero-scroll { display: none; }

	html.gl-on .gallery { height: calc(100vh * (var(--n) * 1 + 2.2)); }
	html.gl-on .work-slide, html.gl-on .work-hud.is-left .work-slide {
		left: var(--gutter); right: var(--gutter); top: auto; bottom: 74px; width: auto; transform: none;
	}
	html.gl-on .work-summary, html.gl-on .work-specs { display: none; }
	html.gl-on .work-hud::before, html.gl-on .work-hud.is-left::before { background: linear-gradient(0deg, rgba(11, 11, 13, .95) 0%, rgba(11, 11, 13, .7) 30%, rgba(11, 11, 13, 0) 50%); }
	html.gl-on .work-name { font-size: clamp(2.2rem, 10vw, 3.4rem); }
	html.gl-on .work-link { margin-top: 18px; }
	.work-domain { display: none; }
	html.gl-on .work-rail { bottom: 22px; gap: 4px; }
	.work-rail button span { display: none; }
	.work-slides { grid-template-columns: 1fr; }

	.index-row { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 6px 12px; }
	.index-row-head { display: none; }
	.ix-name { grid-column: 2; font-size: clamp(1.5rem, 7vw, 2.2rem); }
	.ix-thumb { display: block; width: 64px; height: 40px; object-fit: cover; object-position: top; border-radius: 6px; }
	.ix-arrow { grid-column: 3; grid-row: 1; }
	.ix-country, .ix-type, .ix-platform { grid-column: 2; font-size: .82rem; color: var(--muted); }
	.ix-country { grid-row: 2; }
	.ix-type { display: none; }
	.ix-platform { grid-row: 3; font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; }
	.index-item:hover .ix-name { transform: none; }
	.index-preview { display: none; }

	.srv { grid-template-columns: 1fr; gap: 10px; padding: 34px 0; }
	.srv-num { padding-top: 0; }
	.srv:hover .srv-title { transform: none; }
	.award-body, .footer-top { grid-template-columns: 1fr; }
	.badge { width: 116px; height: 116px; top: -58px; }
	.badge text { font-size: 12.5px; }
	.award-media { aspect-ratio: 4 / 3.4; border-radius: 22px; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.footer-cols .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.btn { --h: 52px; padding-left: 20px; font-size: .72rem; letter-spacing: .1em; }
	.btn-xl { --h: 62px; padding-left: 24px; }
	.hero-actions { width: 100%; }
	.hero-actions .btn { flex: 1 1 auto; justify-content: space-between; }
	.hero-eyebrow { font-size: .6rem; }
	.hero-live { gap: 8px 14px; }
	.hero-country { font-size: .8rem; }
	.loader-stack { width: 78vw; }
	.numbers-grid { grid-template-columns: 1fr; }
	.num, .num + .num { padding: 28px 0 0; border-left: 0; }
	.num + .num { margin-top: 28px; border-top: 1px solid var(--line); }
	.steps { grid-template-columns: 1fr; }
	.step:nth-child(even) { padding-left: 0; border-left: 0; }
	.brief-grid { grid-template-columns: 1fr; }
	.brief-foot { flex-direction: column-reverse; align-items: stretch; }
	.brief-foot .btn { justify-content: space-between; }
	.footer-legal { flex-direction: column; }
	.footer-mail { font-size: 1.05rem; }
	.wa-float { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.grain { display: none; }
}

/* --------------------------------------------------------------------------
   Rabisco App (CRM) — light section with a live app mock
   -------------------------------------------------------------------------- */

.crm { padding: 16vh 0 14vh; }
.crm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

.crm-app {
	--app-line: #e7e5df;
	--app-ink: #14141a;
	--app-mute: #7c7a73;
	overflow: hidden;
	border-radius: 22px;
	background: #fff;
	color: var(--app-ink);
	font-family: var(--f-body);
	font-size: 13px;
	line-height: 1.4;
	box-shadow: 0 0 0 1px rgba(13, 13, 16, .08), 0 50px 100px -40px rgba(13, 13, 16, .35), 0 30px 60px -30px rgba(30, 67, 240, .25);
}
.crm-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--app-line); }
.crm-logo { font-family: var(--f-display); font-size: 16px; font-weight: 800; font-stretch: 110%; letter-spacing: -.03em; }
.crm-logo b { color: var(--blue); }
.crm-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: #e9f8ef; color: #127a3e; font-size: 11.5px; font-weight: 600; }
.crm-live i { width: 7px; height: 7px; border-radius: 50%; background: #1fbf5f; animation: crmping 2s infinite; }
@keyframes crmping { 0% { box-shadow: 0 0 0 0 rgba(31, 191, 95, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(31, 191, 95, 0); } }
.crm-body { display: grid; grid-template-columns: 170px 250px minmax(0, 1fr) 270px; min-height: 460px; }

.crm-side { display: grid; align-content: start; gap: 4px; padding: 14px 10px; border-right: 1px solid var(--app-line); background: #faf9f6; }
.crm-side span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--app-mute); }
.crm-side span.is-on { background: #fff; color: var(--app-ink); box-shadow: 0 0 0 1px var(--app-line); }
.crm-side .icon { width: 17px; height: 17px; }
.crm-side em { flex: 1; font-style: normal; font-weight: 500; }
.crm-side b { min-width: 20px; padding: 1px 6px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 11px; text-align: center; }

.crm-inbox { border-right: 1px solid var(--app-line); }
.crm-thread { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--app-line); }
.crm-thread.is-on { background: #f1f4ff; box-shadow: inset 3px 0 0 var(--blue); }
.crm-thread-body { display: grid; min-width: 0; }
.crm-thread-body b { font-weight: 600; }
.crm-thread-body em { overflow: hidden; color: var(--app-mute); font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.crm-time { align-self: start; color: var(--app-mute); font-size: 11px; }
.crm-paid-tag { position: absolute; right: 14px; bottom: 12px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #1fbf5f; color: #fff; }
.crm-paid-tag .icon { width: 11px; height: 11px; stroke-width: 3; }
.crm-avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(140deg, #dfe6ff, #b9c8ff); color: var(--blue); font-size: 11.5px; font-weight: 700; }
.crm-avatar-lg { width: 52px; height: 52px; font-size: 15px; }

.crm-chat { display: flex; flex-direction: column; min-width: 0; background: #efeae2; }
.crm-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--app-line); }
.crm-chat-head em { margin-left: auto; color: #1fbf5f; font-size: 11px; font-style: normal; font-weight: 600; }
.crm-msgs { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px; }
.crm-msg { max-width: 78%; padding: 9px 12px; border-radius: 12px; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.crm-out { align-self: flex-end; border-top-right-radius: 4px; background: #d9fdd3; }
.crm-in { align-self: flex-start; border-top-left-radius: 4px; background: #fff; }
.crm-bot { display: inline-flex; align-items: center; gap: 6px; align-self: flex-end; margin: 0; padding: 4px 10px; border-radius: 99px; background: rgba(30, 67, 240, .1); color: var(--blue); font-size: 11px; font-weight: 600; }
.crm-bot .icon { width: 12px; height: 12px; }
.crm-product { display: flex; align-items: center; gap: 10px; }
.crm-product i { width: 44px; height: 44px; flex: none; border-radius: 9px; background: radial-gradient(circle at 50% 30%, #fff 0 18%, transparent 19%), linear-gradient(150deg, #ffd36b, #ff9d5c); }
.crm-product span { display: grid; }
.crm-product em { font-style: normal; color: #3c7a3a; font-weight: 600; }
.crm-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.crm-typing span { width: 6px; height: 6px; border-radius: 50%; background: #9a978f; animation: crmdot 1s infinite; }
.crm-typing span:nth-child(2) { animation-delay: .15s; }
.crm-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes crmdot { 50% { transform: translateY(-3px); opacity: .5; } }
.crm-toast { display: inline-flex; align-items: center; gap: 8px; align-self: center; margin: 6px 0 0; padding: 8px 14px; border-radius: 99px; background: #14141a; color: #fff; font-size: 12px; font-weight: 600; }
.crm-toast .icon { width: 14px; height: 14px; color: #1fbf5f; stroke-width: 3; }

.crm-profile { padding: 18px; border-left: 1px solid var(--app-line); }
.crm-profile-head { display: grid; justify-items: start; gap: 8px; }
.crm-profile-head b { font-size: 15px; }
.crm-stage { padding: 3px 10px; border-radius: 99px; background: #fff3d6; color: #8a5a00; font-size: 11px; font-weight: 600; }
.crm-profile-line { margin: 12px 0 18px; padding: 10px 12px; border-radius: 10px; background: #f6f5f1; color: #4a4943; font-size: 12px; }
.crm-profile-title { margin: 0 0 8px; color: var(--app-mute); font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; }
.crm-autos { display: grid; gap: 7px; }
.crm-autos li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.crm-autos em { color: var(--app-mute); font-style: normal; }
.crm-switch { position: relative; flex: none; width: 28px; height: 16px; border-radius: 99px; background: #1fbf5f; }
.crm-switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }

.crm-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 4vw; margin-top: 9vh; }
.crm-features li { padding-top: 22px; border-top: 1px solid var(--line); }
.crm-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: var(--blue); color: #fff; }
.crm-ico .icon { width: 22px; height: 22px; }
.crm-features h3 { margin-bottom: 8px; font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.1; }
.crm-features p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }
.crm-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 8vh; padding: 26px 30px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.crm-safe { display: flex; align-items: center; gap: 12px; max-width: 60ch; margin: 0; color: var(--muted); }
.crm-safe .icon { width: 24px; height: 24px; flex: none; color: var(--blue); }

@media (max-width: 1200px) {
	.crm-body { grid-template-columns: 64px 230px minmax(0, 1fr) 250px; }
	.crm-side em, .crm-side b { display: none; }
	.crm-side span { justify-content: center; }
}
@media (max-width: 960px) {
	.crm-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.crm-side, .crm-inbox { display: none; }
	.crm-profile { border-left: 0; border-top: 1px solid var(--app-line); }
	.crm-msgs { min-height: 360px; }
	.crm-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.crm-features { grid-template-columns: 1fr; }
	.crm-foot { padding: 22px; }
	.crm-foot .btn { width: 100%; justify-content: space-between; }
}
