/* ==========================================================
   Abdul Aziz — Portfolio
   Cyberpunk Edgerunners: black, signal yellow, cyan and red glitch.
   ========================================================== */

:root {
	--bg: #070707;
	--bg-2: #0e0e0c;
	--surface: rgba(255, 255, 255, 0.035);
	--surface-2: rgba(255, 255, 255, 0.06);
	--border: rgba(255, 255, 255, 0.08);
	--border-2: rgba(255, 255, 255, 0.14);
	--text: #f2f0e6;
	--muted: #a3a197;
	--faint: #66645c;
	--yellow: #fcee0a;
	--cyan: #00f0ff;
	--red: #ff003c;
	--lime: #4ade80;
	--grad: linear-gradient(90deg, #fcee0a 0%, #fcee0a 70%, #00f0ff 100%);
	--radius: 4px;
	--radius-sm: 3px;
	--notch: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
	--corners:
		linear-gradient(var(--yellow), var(--yellow)) 0 0 / 22px 2px no-repeat,
		linear-gradient(var(--yellow), var(--yellow)) 0 0 / 2px 22px no-repeat,
		linear-gradient(var(--yellow), var(--yellow)) 100% 100% / 22px 2px no-repeat,
		linear-gradient(var(--yellow), var(--yellow)) 100% 100% / 2px 22px no-repeat;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--font-display: "Rajdhani", "Space Grotesk", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, monospace;
	--nav-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 12px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(252, 238, 10, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.skip-link {
	position: fixed; left: 16px; top: -60px; z-index: 200;
	background: var(--yellow); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600;
	transition: top .2s;
}
.skip-link:focus { top: 16px; }

.grad-text {
	color: var(--yellow);
	text-shadow: -.03em 0 rgba(0, 240, 255, .55), .03em 0 rgba(255, 0, 60, .55);
}
@keyframes glitch {
	0%, 92%, 100% { transform: none; text-shadow: -.03em 0 rgba(0, 240, 255, .55), .03em 0 rgba(255, 0, 60, .55); }
	93% { transform: translate(-3px, 1px) skewX(-6deg); text-shadow: -.08em 0 var(--cyan), .08em 0 var(--red); }
	95% { transform: translate(3px, -1px); clip-path: inset(20% 0 40% 0); }
	97% { transform: translate(-1px, 0); clip-path: none; text-shadow: .06em 0 var(--cyan), -.06em 0 var(--red); }
}

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient-grid {
	position: absolute; inset: -2px;
	background-image:
		linear-gradient(rgba(252, 238, 10, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(252, 238, 10, .04) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.ambient-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .16; }
.ambient-glow--a { width: 620px; height: 620px; background: #00f0ff; top: -220px; left: -160px; animation: drift 22s ease-in-out infinite alternate; }
.ambient-glow--b { width: 560px; height: 560px; background: #ff003c; bottom: -260px; right: -180px; opacity: .14; animation: drift 26s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(120px, 80px) scale(1.15); } }
.ambient::after {
	content: ""; position: absolute; inset: 0; opacity: .5;
	background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px);
}
.ambient-noise {
	position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
	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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.has-cursor .cursor { display: block; }
	.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
}
.cursor-dot, .cursor-ring {
	position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%;
	transform: translate3d(-100px, -100px, 0);
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.cursor-ring {
	width: 36px; height: 36px; margin: -18px 0 0 -18px;
	border: 1px solid rgba(252, 238, 10, .5);
	transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s;
}
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(252, 238, 10, .08); border-color: rgba(252, 238, 10, .8); }
.cursor.is-down .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
	--pad: 14px 22px;
	position: relative; display: inline-flex; align-items: center; gap: 10px;
	padding: var(--pad); border-radius: 0; clip-path: var(--notch); font-weight: 600; font-size: .95rem; line-height: 1;
	text-transform: uppercase; letter-spacing: .06em;
	white-space: nowrap; isolation: isolate;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn--sm { --pad: 10px 18px; font-size: .88rem; }
.btn--lg { --pad: 18px 28px; font-size: 1.02rem; }
.btn--primary { color: #000; background: var(--yellow); }
.btn--primary::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: var(--cyan); opacity: 0; transition: opacity .35s var(--ease);
}
.btn--primary:hover { color: #000; }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { color: var(--yellow); background: linear-gradient(135deg, transparent 10px, rgba(252, 238, 10, .08) 0); box-shadow: inset 0 0 0 1px rgba(252, 238, 10, .55); }
.btn--ghost:hover { background: rgba(252, 238, 10, .16); }
.btn--link { color: var(--muted); padding-inline: 8px; }
.btn--link:hover { color: var(--text); }
.btn i { font-size: .9em; transition: transform .35s var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Navigation ---------- */
.nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	transition: background .4s, border-color .4s, transform .5s var(--ease);
	border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
	background: rgba(5, 6, 10, .72);
	backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
	border-bottom-color: var(--border);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; width: min(1200px, 100% - 32px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; }
.brand-mark {
	display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
	font-size: .85rem; letter-spacing: .04em; color: #000; background: var(--yellow);
	clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
	position: relative; padding: 8px 14px; border-radius: 2px; font-size: .9rem; color: var(--muted);
	transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: var(--surface-2); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border-2); position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.nav-inner > .btn { margin-left: auto; }
	.nav-links {
		position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
		padding: 12px 16px 24px; background: rgba(5, 6, 10, .96); backdrop-filter: blur(18px);
		border-bottom: 1px solid var(--border);
		clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
		transition: clip-path .5s var(--ease-out), opacity .3s;
	}
	.nav-links.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
	.nav-links a { font-size: 1.4rem; font-family: var(--font-display); padding: 14px 8px; border-radius: 12px; color: var(--text); }
	.nav.menu-open { background: rgba(5, 6, 10, .96); }
}
@media (max-width: 420px) { .brand-name { display: none; } }

/* ---------- Shared section bits ---------- */
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.section-head { max-width: 980px; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
	font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.kicker span { color: var(--yellow); }
.kicker::after { content: ""; width: 40px; height: 1px; background: linear-gradient(90deg, var(--yellow), transparent); }
.section-title { font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: .95; font-weight: 700; text-transform: uppercase; }
.section-lead { margin-top: 22px; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.18rem); max-width: 620px; }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); font-size: .95rem; }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px;
	border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(-45deg) translateY(-3px);
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span {
	font-family: var(--font-mono); font-size: .72rem; padding: 6px 10px; border-radius: 8px;
	border: 1px solid var(--border); color: var(--muted); background: rgba(255, 255, 255, .02);
}

/* Spotlight cards (cursor-following glow) */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(252, 238, 10, .1), transparent 45%);
	opacity: 0; transition: opacity .4s;
}
.spotlight::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
	background: radial-gradient(300px circle at var(--mx, 50%) var(--my, -20%), rgba(252, 238, 10, .7), rgba(0, 240, 255, .35) 40%, transparent 70%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	opacity: 0; transition: opacity .4s;
}
.spotlight:hover::before, .spotlight:hover::after { opacity: 1; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 2px;
	font-size: .82rem; color: var(--muted); border: 1px solid var(--border); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.hero-title { margin-top: 28px; font-size: clamp(3.4rem, 9.2vw, 8.2rem); line-height: .86; letter-spacing: -0.01em; font-weight: 700; text-transform: uppercase; }
.hero-title .grad-text { animation: glitch 6s steps(1) infinite; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }

.hero-rotator { margin-top: 22px; display: flex; flex-wrap: wrap; gap: .35em; font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.75rem); color: var(--muted); }
.rotator { position: relative; display: inline-grid; color: var(--text); flex: 1 1 0; min-width: 0; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%); filter: blur(6px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), filter .6s; }
.rotator > span.is-active { opacity: 1; transform: none; filter: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-60%); filter: blur(6px); }

.hero-sub { margin-top: 24px; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 580px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.js .hero-in { opacity: 0; transform: translateY(24px); }
.js .hero-title .hero-in { transform: translateY(105%); opacity: 1; }
.is-loaded .hero-in { opacity: 1 !important; transform: none !important; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * .1s + .1s); }

.hero-visual { position: relative; perspective: 1200px; }
.console {
	position: relative; border-radius: var(--radius); overflow: hidden;
	background: linear-gradient(180deg, rgba(20, 24, 38, .82), rgba(10, 12, 20, .9));
	border: 1px solid var(--border-2);
	box-shadow: 0 40px 120px -30px rgba(252, 238, 10, .25), 0 0 0 1px rgba(255, 255, 255, .02) inset;
	backdrop-filter: blur(14px);
	transform-style: preserve-3d; transition: transform .6s var(--ease-out);
}
.console::before {
	content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
	background: linear-gradient(140deg, rgba(252, 238, 10, .6), transparent 35%, transparent 65%, rgba(255, 0, 60, .5));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.console-title { margin-left: 10px; font-family: var(--font-mono); font-size: .75rem; color: var(--faint); }
.console-body { padding: 20px 22px; min-height: 280px; font-family: var(--font-mono); font-size: .82rem; line-height: 1.9; color: var(--muted); }
.console-body .ln { white-space: pre-wrap; }
.console-body .c-prompt { color: var(--red); }
.console-body .c-cmd { color: var(--text); }
.console-body .c-ok { color: var(--lime); }
.console-body .c-agent { color: var(--yellow); display: inline-block; min-width: 9.5ch; }
.console-body .c-dim { color: var(--faint); }
.console-body .caret { display: inline-block; width: .55em; height: 1.1em; vertical-align: -0.2em; background: var(--yellow); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console-foot { display: flex; gap: 18px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--border); font-size: .78rem; color: var(--muted); }
.console-foot i { color: var(--yellow); margin-right: 6px; }

.hero-avatar {
	position: absolute; left: -36px; bottom: -58px; margin: 0; display: flex; align-items: center; gap: 12px;
	padding: 10px 18px 10px 10px; border-radius: 2px;
	background: rgba(12, 14, 22, .85); border: 1px solid var(--border-2); backdrop-filter: blur(12px);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
	animation: floaty 6s ease-in-out infinite;
}
.hero-avatar img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--yellow); }
.hero-avatar figcaption { display: grid; line-height: 1.25; }
.hero-avatar strong { font-family: var(--font-display); font-size: .95rem; }
.hero-avatar span { font-size: .75rem; color: var(--muted); }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--border-2); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--yellow); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 980px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { max-width: 560px; margin-top: 24px; }
	.hero-avatar { left: auto; right: 12px; bottom: -28px; }
	.scroll-cue { display: none; }
}

/* ---------- MANIFESTO ---------- */
.manifesto { position: relative; height: 240vh; }
.manifesto-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.manifesto-text {
	font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em;
	font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.15; max-width: 1100px;
}
.manifesto-text em { font-style: normal; }
.js .manifesto-text .w { opacity: .12; transition: opacity .25s linear, color .25s; }
.js .manifesto-text .w.is-lit { opacity: 1; }
.js .manifesto-text em .w.is-lit { color: var(--yellow); text-shadow: -.03em 0 rgba(0, 240, 255, .55), .03em 0 rgba(255, 0, 60, .55); }

/* ---------- OWNERSHIP STACK ---------- */
.ownership { position: relative; height: 520vh; }
.ownership-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.ownership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ownership .section-title { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.ownership .section-lead { margin-top: 16px; }

.layer-list { position: relative; margin-top: 32px; min-height: 150px; }
.layer-list li { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); pointer-events: none; }
.layer-list li.is-active { opacity: 1; transform: none; pointer-events: auto; }
.layer-list h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); display: flex; align-items: baseline; gap: 14px; }
.layer-list h3 span { font-family: var(--font-mono); font-size: .8rem; color: var(--yellow); }
.layer-list p { margin-top: 10px; color: var(--muted); max-width: 480px; }

.stack-stage { position: relative; height: min(70vh, 640px); display: grid; place-items: center; perspective: 1600px; }
.stack {
	--gap: 18px;
	position: relative; width: min(300px, 62vw); aspect-ratio: 1;
	transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-42deg) translateZ(calc(var(--gap) * -3));
}
.plate {
	position: absolute; inset: 0; border-radius: 26px;
	transform: translateZ(calc(var(--n) * var(--gap)));
	background: linear-gradient(135deg, rgba(30, 36, 58, .55), rgba(12, 14, 24, .55));
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
	display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 22px;
	font-family: var(--font-mono); font-size: .78rem; color: var(--faint);
	transition: background .5s, border-color .5s, box-shadow .5s, color .5s;
}
.plate i { font-size: 1.25rem; }
.plate.is-active {
	background: linear-gradient(135deg, rgba(252, 238, 10, .22), rgba(0, 240, 255, .22));
	border-color: rgba(252, 238, 10, .7); color: var(--text);
	box-shadow: 0 0 60px -6px rgba(252, 238, 10, .45), inset 0 0 40px rgba(252, 238, 10, .12);
}
.plate.is-active i { color: var(--yellow); }
.plate.is-done { border-color: rgba(0, 240, 255, .35); color: var(--muted); }
.stack-meter { position: absolute; right: 0; top: 10%; bottom: 10%; width: 2px; background: var(--border); border-radius: 2px; }
.stack-meter span { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--grad); border-radius: inherit; box-shadow: 0 0 12px var(--yellow); }

@media (max-width: 900px) {
	.ownership { height: auto; }
	.ownership-sticky { position: relative; height: auto; padding: 96px 0; }
	.ownership-grid { grid-template-columns: 1fr; }
	.stack-stage { display: none; }
	.layer-list { min-height: 0; display: grid; gap: 14px; }
	.layer-list li { position: relative; opacity: 1; transform: none; padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
	.layer-list p { font-size: .95rem; }
}

/* ---------- NUMBERS ---------- */
.numbers { padding: 40px 0 20px; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.number { padding: 40px 24px; border-left: 1px solid var(--border); }
.number:first-child { border-left: 0; }
.number strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 5.6vw, 4.8rem); line-height: 1; color: var(--yellow); }
.number > span { display: block; margin-top: 10px; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
	.numbers-grid { grid-template-columns: 1fr 1fr; }
	.number:nth-child(3) { border-left: 0; }
	.number:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---------- AI TEAM ---------- */
.orbit-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.orbit {
	position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; container-type: inline-size;
}
.orbit-rot { position: absolute; inset: 0; animation: spin 70s linear infinite; }
.orbit:hover .orbit-rot, .orbit:hover .agent-card { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: rgba(255, 255, 255, .08); stroke-dasharray: 2 8; }
.orbit-ring--inner { stroke: rgba(252, 238, 10, .12); stroke-dasharray: none; }
.orbit-links line { stroke: url(#lineGrad); stroke-width: 1.2; stroke-dasharray: 4 10; opacity: .55; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.orbit-links circle { fill: var(--yellow); filter: drop-shadow(0 0 6px var(--yellow)); }

.orbit-core {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 34cqw; aspect-ratio: 1; border-radius: 50%;
	display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px;
	background: radial-gradient(circle at 50% 30%, rgba(252, 238, 10, .18), rgba(10, 12, 20, .95) 70%);
	border: 1px solid rgba(252, 238, 10, .45);
	box-shadow: 0 0 80px -10px rgba(252, 238, 10, .45), inset 0 0 40px rgba(0, 240, 255, .25);
}
.orbit-core img { width: 11cqw; height: 11cqw; border-radius: 50%; object-fit: cover; margin-bottom: 6px; box-shadow: 0 0 0 2px var(--yellow); }
.orbit-core strong { font-family: var(--font-display); font-size: clamp(.9rem, 3.4cqw, 1.2rem); }
.orbit-core span { font-size: clamp(.62rem, 2.2cqw, .78rem); color: var(--muted); max-width: 26cqw; line-height: 1.3; }

.agent {
	position: absolute; left: 50%; top: 50%; width: 22cqw;
	transform: translate(-50%, -50%) rotate(var(--a)) translateX(37cqw) rotate(calc(var(--a) * -1));
}
.agent-card {
	display: grid; justify-items: center; text-align: center; gap: 2px;
	padding: 10px 6px; border-radius: 16px;
	background: rgba(12, 14, 22, .9); border: 1px solid var(--border-2); backdrop-filter: blur(8px);
	animation: spin 70s linear infinite reverse;
	transition: border-color .3s, box-shadow .3s;
}
.agent-card:hover { border-color: rgba(252, 238, 10, .7); box-shadow: 0 0 30px -6px rgba(252, 238, 10, .6); }
.agent i { color: var(--yellow); font-size: clamp(.9rem, 3.4cqw, 1.2rem); margin-bottom: 4px; }
.agent b { font-family: var(--font-display); font-weight: 600; font-size: clamp(.7rem, 2.7cqw, .92rem); line-height: 1.2; }
.agent small { color: var(--faint); font-size: clamp(.58rem, 2cqw, .72rem); line-height: 1.25; }

.ai-offers { display: grid; gap: 16px; }
.offer-card {
	padding: 26px 26px 26px 76px; border-radius: var(--radius);
	border: 1px solid var(--border); background: var(--corners), var(--surface);
	transition: transform .5s var(--ease-out), border-color .4s;
}
.offer-card:hover { transform: translateX(6px); }
.offer-num {
	position: absolute; left: 22px; top: 26px; width: 36px; height: 36px; border-radius: 10px;
	display: grid; place-items: center; font-family: var(--font-mono); font-size: .85rem; font-weight: 500;
	color: var(--yellow); border: 1px solid rgba(252, 238, 10, .35); background: rgba(252, 238, 10, .06);
}
.offer-card h3 { font-size: 1.35rem; }
.offer-card h3 em { font-style: normal; color: var(--yellow); }
.offer-card p { margin: 10px 0 16px; color: var(--muted); font-size: .96rem; }
.offer-card .ticks li { font-size: .9rem; }

.agentops { margin-top: clamp(56px, 8vw, 96px); padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.agentops-label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.agentops-loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.agentops-loop li { position: relative; display: grid; gap: 4px; padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.agentops-loop li:not(:last-child)::after {
	content: ""; position: absolute; right: -10px; top: 50%; width: 8px; height: 8px; z-index: 1;
	border-top: 1.5px solid var(--yellow); border-right: 1.5px solid var(--yellow); transform: translateY(-50%) rotate(45deg);
}
.agentops-loop i { color: var(--yellow); font-size: 1.1rem; margin-bottom: 6px; }
.agentops-loop b { font-family: var(--font-display); font-weight: 600; }
.agentops-loop span { color: var(--muted); font-size: .84rem; }

@media (max-width: 980px) {
	.orbit-wrap { grid-template-columns: 1fr; }
	.agentops-loop { grid-template-columns: 1fr 1fr; }
	.agentops-loop li::after { display: none; }
}
@media (max-width: 520px) {
	.offer-card { padding: 22px; }
	.offer-num { position: static; margin-bottom: 14px; }
	.agentops-loop { grid-template-columns: 1fr; }
}

/* ---------- SERVICES / BENTO ---------- */
.filter {
	position: relative; display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 28px; border-radius: 2px;
	border: 1px solid var(--border); background: var(--surface); max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.filter::-webkit-scrollbar { display: none; }
.filter button { position: relative; z-index: 1; padding: 10px 18px; border-radius: 2px; font-size: .88rem; color: var(--muted); white-space: nowrap; transition: color .3s; }
.filter button[aria-selected="true"] { color: #000; }
.filter-thumb { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 2px; background: var(--yellow); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; }
.tile {
	padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--corners), var(--surface);
	display: flex; flex-direction: column; min-height: 240px;
	transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), filter .5s, border-color .4s;
}
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile--accent { background: var(--corners), linear-gradient(160deg, rgba(252, 238, 10, .14), rgba(252, 238, 10, .03) 60%, rgba(255, 0, 60, .06)); border-color: rgba(252, 238, 10, .35); }
.tile.is-dim, .js .tile.reveal.is-in.is-dim { opacity: .18; transform: scale(.97); filter: grayscale(1); }
.tile-icon {
	width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px;
	color: var(--yellow); background: rgba(252, 238, 10, .07); border: 1px solid rgba(252, 238, 10, .22); font-size: 1.1rem;
}
.tile h3 { font-size: 1.28rem; line-height: 1.2; }
.tile p { margin-top: 10px; color: var(--muted); font-size: .94rem; }
.tile .ticks { margin-top: 18px; }
.tile .tags { margin-top: auto; padding-top: 20px; }
.badge {
	position: absolute; top: 22px; right: 22px; padding: 5px 10px; border-radius: 2px;
	font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
	color: #000; background: var(--yellow);
}
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.bento { grid-template-columns: 1fr; }
	.tile--wide { grid-column: auto; }
	.tile--tall { grid-row: auto; }
	.tile { min-height: 0; }
}

/* ---------- WHO ---------- */
.who-shell { display: grid; grid-template-columns: 320px 1fr; gap: 20px; padding: 12px; border-radius: 28px; border: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.who-tabs { display: grid; gap: 6px; align-content: start; }
.who-tabs button {
	display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; text-align: left;
	color: var(--muted); font-weight: 500; transition: background .3s, color .3s;
}
.who-tabs button i { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); transition: background .3s, color .3s; }
.who-tabs button:hover { color: var(--text); background: var(--surface); }
.who-tabs button[aria-selected="true"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-2); }
.who-tabs button[aria-selected="true"] i { color: #000; background: var(--yellow); }
.who-panels { position: relative; padding: clamp(24px, 4vw, 48px); border-radius: 20px; background: radial-gradient(circle at 100% 0%, rgba(0, 240, 255, .14), transparent 55%), var(--surface); min-height: 380px; }
.who-panel h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; max-width: 520px; }
.who-panel > p { margin: 16px 0 24px; color: var(--muted); max-width: 580px; }
.who-panel .ticks { margin-bottom: 30px; }
.who-panel.is-active { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
@media (max-width: 900px) {
	.who-shell { grid-template-columns: 1fr; }
	.who-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
	.who-tabs::-webkit-scrollbar { display: none; }
	.who-tabs button { flex: none; padding: 10px 14px; font-size: .88rem; }
	.who-tabs button i { width: 28px; height: 28px; }
	.who-panels { min-height: 0; }
}

/* ---------- EXPERIENCE ---------- */
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 180px; top: 8px; bottom: 8px; width: 1px; }
.timeline::before { background: var(--border); }
.timeline::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--tl, 0)); box-shadow: 0 0 10px var(--yellow); }
.tl-item { display: grid; grid-template-columns: 180px 1fr; gap: 0; }
.tl-date { position: relative; padding: 26px 32px 0 0; text-align: right; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.tl-date::after {
	content: ""; position: absolute; right: -6px; top: 30px; width: 11px; height: 11px; border-radius: 50%; z-index: 1;
	background: var(--bg); border: 2px solid var(--yellow); box-shadow: 0 0 12px var(--yellow);
}
.tl-card { margin-left: 32px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--corners), var(--surface); }
.tl-card h3 { font-size: 1.4rem; }
.tl-org { margin-top: 4px; color: var(--yellow); font-size: .92rem; }
.tl-card > p:not(.tl-org) { margin-top: 14px; color: var(--muted); }
.tl-card .ticks { margin-top: 16px; }
.tl-card .fa-trophy { color: #febc2e; margin-right: 6px; }
@media (max-width: 720px) {
	.timeline::before, .timeline::after { left: 5px; }
	.tl-item { grid-template-columns: 1fr; }
	.tl-date { text-align: left; padding: 0 0 10px 30px; }
	.tl-date::after { left: 0; right: auto; top: 4px; }
	.tl-card { margin-left: 30px; padding: 22px; }
}

/* ---------- STACK MARQUEE ---------- */
.stack-sec .section-head { margin-bottom: 48px; }
.marquee {
	--speed: 40s;
	overflow: hidden; padding: 8px 0;
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { margin-top: 10px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee var(--speed) linear infinite; }
.marquee--reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.chip {
	display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 14px;
	border: 1px solid var(--border); background: var(--surface); font-weight: 500; white-space: nowrap;
	transition: border-color .3s, background .3s;
}
.chip:hover { border-color: rgba(252, 238, 10, .5); background: var(--surface-2); }
.chip img { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; background: #fff; padding: 3px; }
.chip > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); color: var(--yellow); }
.chip--ai { border-color: rgba(0, 240, 255, .3); background: rgba(0, 240, 255, .06); }
.chip--ai > i { color: var(--cyan); background: rgba(0, 240, 255, .16); }

/* ---------- ENGAGE ---------- */
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.model {
	display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
	border: 1px solid var(--border); background: var(--corners), var(--surface); transition: transform .5s var(--ease-out);
}
.model:hover { transform: translateY(-6px); }
.model--featured { background: var(--corners), linear-gradient(170deg, rgba(252, 238, 10, .14), rgba(252, 238, 10, .03)); border-color: rgba(252, 238, 10, .4); }
.model-meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.model h3 { margin-top: 14px; font-size: 1.3rem; }
.model p { margin-top: 10px; color: var(--muted); font-size: .93rem; }
.model-link { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.model-link i { transition: transform .3s var(--ease); }
.model-link:hover i { transform: translateX(4px); }
.model-link:hover { color: var(--yellow); }
@media (max-width: 1020px) { .models { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .models { grid-template-columns: 1fr; } }

.process { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.process li { padding: 28px 24px 0 0; position: relative; }
.process li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.process span { font-family: var(--font-mono); font-size: .78rem; color: var(--faint); }
.process b { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.process p { margin-top: 6px; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .process { grid-template-columns: 1fr 1fr; row-gap: 28px; } }

.assurances { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px; }
.assurances li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 2px; border: 1px solid var(--border); font-size: .86rem; color: var(--muted); }
.assurances i { color: var(--yellow); }

/* ---------- CONTACT ---------- */
.contact { position: relative; padding: clamp(120px, 16vw, 220px) 0; overflow: hidden; text-align: center; }
.contact::before {
	content: ""; position: absolute; left: 50%; top: 55%; width: 900px; height: 900px; transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(0, 240, 255, .28), rgba(252, 238, 10, .08) 40%, transparent 65%);
	pointer-events: none; z-index: -1;
}
.contact-inner { display: grid; justify-items: center; }
.contact-title { font-size: clamp(3.2rem, 9vw, 7.4rem); line-height: .9; text-transform: uppercase; }
.contact .section-lead { margin-inline: auto; }
.contact-actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-socials { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.contact-socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px; color: var(--muted); transition: color .3s; }
.contact-socials a:hover { color: var(--text); }
@media (max-width: 480px) { .contact-actions .btn { width: 100%; justify-content: center; } .contact-actions .btn span { overflow: hidden; text-overflow: ellipsis; } }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--faint); font-size: .85rem; flex: 1; }
.to-top { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-2); transition: border-color .3s, transform .3s var(--ease); }
.to-top:hover { border-color: var(--yellow); transform: translateY(-3px); }

/* ---------- Toast ---------- */
.toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 150; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
	padding: 12px 20px; border-radius: 2px; font-size: .9rem; background: rgba(12, 14, 22, .95); border: 1px solid rgba(252, 238, 10, .4);
	box-shadow: 0 10px 40px -10px rgba(252, 238, 10, .5); transition: opacity .4s, transform .4s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.js .reveal, .js .hero-in { opacity: 1 !important; transform: none !important; }
	.manifesto { height: auto; }
	.manifesto-sticky { position: relative; height: auto; padding: 120px 0; }
	.js .manifesto-text .w { opacity: 1; }
	.ownership { height: auto; }
	.ownership-sticky { position: relative; height: auto; padding: 96px 0; }
	.layer-list { min-height: 0; display: grid; gap: 18px; }
	.layer-list li { position: relative; opacity: 1; transform: none; }
	.stack-stage { display: none; }
	.ownership-grid { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
	.ambient, .cursor, .nav, .hero-canvas, .scroll-progress, .scroll-cue, .toast { display: none !important; }
	body { background: #fff; color: #000; }
}
