/* ==========================================================================
   Black Eagle — base layer (loaded on every page)
   Logical properties everywhere so RTL (ar) and LTR (en) share one stylesheet.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--lime: #b7d60a;
	--lime-soft: rgba(183, 214, 10, 0.14);
	--lime-glow: rgba(183, 214, 10, 0.35);
	--navy: #04133a;
	--black: #050505;
	--gray: #1b1d1e;
	--bg: #05070d;
	--bg-2: #080b15;
	--surface: #0d1222;
	--surface-2: #121a30;
	--line: rgba(255, 255, 255, 0.08);
	--line-2: rgba(255, 255, 255, 0.16);
	--text: #ffffff;
	--muted: rgba(226, 232, 248, 0.68);
	--faint: rgba(226, 232, 248, 0.45);

	--font-display: Alexandria, "IBM Plex Sans Arabic", system-ui, sans-serif;
	--font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

	--fs-hero: clamp(2.5rem, 1.25rem + 4.6vw, 5.6rem);
	--fs-h1: clamp(2.2rem, 1.35rem + 3.2vw, 4.4rem);
	--fs-h2: clamp(1.85rem, 1.2rem + 2.4vw, 3.4rem);
	--fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
	--fs-lead: clamp(1.03rem, 0.96rem + 0.35vw, 1.25rem);
	--fs-body: 1.0625rem;
	--fs-sm: 0.9375rem;
	--fs-xs: 0.8125rem;

	--container: 1320px;
	--narrow: 820px;
	--gutter: clamp(16px, 4vw, 48px);
	--section: clamp(80px, 11vw, 160px);
	--radius: 22px;
	--radius-sm: 14px;
	--radius-lg: 32px;
	--header-h: 76px;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--dir: 1; /* 1 in LTR, -1 in RTL: multiply horizontal motion by it */

	color-scheme: dark;
}
[dir="rtl"] { --dir: -1; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
:lang(en) body, body.lang-en { line-height: 1.7; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.3; text-wrap: balance; }
:lang(en) :is(h1, h2, h3, h4) { line-height: 1.12; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--black); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 1000;
	padding: 10px 18px; border-radius: 999px; background: var(--lime); color: var(--black); font-weight: 600;
	transform: translateY(-160%); transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }
.site-main:focus { outline: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--flush-top { padding-block-start: 0; }

/* ---------- Type helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500;
	color: var(--lime); margin-block-end: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
:lang(en) .eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: var(--fs-xs); }
.eyebrow--pill {
	padding: 7px 16px 7px 14px; border: 1px solid var(--line-2); border-radius: 999px;
	background: rgba(255, 255, 255, 0.03); color: var(--text);
}
.eyebrow--pill::before { display: none; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--lime-soft); }
.section-title { font-size: var(--fs-h2); font-weight: 700; }
.section-title--sm { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin-block-end: 32px; }
.section-text { color: var(--muted); font-size: var(--fs-lead); max-width: 56ch; }
.hl { font-style: normal; color: var(--lime); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-block-end: clamp(40px, 5vw, 72px); }
.section-head__main { max-width: 780px; }
.section-head__aside { display: grid; gap: 14px; justify-items: start; max-width: 460px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__main { margin-inline: auto; }

.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px;
	border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
	font-size: var(--fs-xs); font-weight: 500; color: var(--muted); white-space: nowrap; line-height: 1.6;
}
.chip--lime { border-color: transparent; background: var(--lime-soft); color: var(--lime); }
.chip--link { transition: border-color 0.25s, color 0.25s, background 0.25s; }
.chip--link:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] :is(.icon--arrow, .icon--arrow-out) { transform: scaleX(-1); }
.icon--flip { transform: scaleX(-1); }
[dir="rtl"] .icon--flip { transform: none; }

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: var(--lime); --btn-fg: var(--black);
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	min-height: 52px; padding: 6px 8px 6px 24px; padding-inline: 24px 8px;
	border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; line-height: 1.2;
	overflow: hidden; isolation: isolate; white-space: nowrap;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s;
	will-change: transform;
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: #fff; transform: scaleX(0); transform-origin: var(--origin, left);
	transition: transform 0.45s var(--ease);
}
[dir="rtl"] .btn::before { --origin: right; }
.btn:hover::before { transform: scaleX(1); }
.btn:hover { box-shadow: 0 10px 40px -10px var(--lime-glow); }
.btn__icon {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	background: var(--black); color: var(--lime); transition: transform 0.35s var(--ease);
}
.btn__icon .icon { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: translateX(calc(4px * var(--dir))); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::before { background: var(--lime); }
.btn--ghost:hover { color: var(--black); box-shadow: inset 0 0 0 1px var(--lime); }
.btn--ghost .btn__icon { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.btn--ghost:hover .btn__icon { background: var(--black); color: var(--lime); }
.btn--text { --btn-bg: transparent; --btn-fg: var(--text); padding-inline: 0; min-height: 44px; gap: 10px; }
.btn--text::before { display: none; }
.btn--text .btn__icon { width: 34px; height: 34px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--lime); }
.btn--text:hover { box-shadow: none; color: var(--lime); }
.btn--text:hover .btn__icon { background: var(--lime); color: var(--black); }
.btn--sm { min-height: 44px; padding-inline: 18px 6px; font-size: 0.9rem; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn--lg { min-height: 60px; padding-inline: 28px 9px; font-size: 1.05rem; }
.btn--lg .btn__icon { width: 44px; height: 44px; }
button.btn:disabled { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
	height: var(--header-h); display: flex; align-items: center;
	transition: transform 0.45s var(--ease), background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
	border-block-end: 1px solid transparent;
}
.admin-bar .site-header { inset-block-start: 32px; }
.admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 32px)); }
@media (max-width: 782px) { .admin-bar .site-header { inset-block-start: 46px; } .admin-bar .site-header.is-hidden { transform: translateY(calc(-100% - 46px)); } }
.site-header.is-scrolled {
	background: rgba(5, 7, 13, 0.72);
	-webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
	border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: auto; height: 42px; }
.brand__word { width: auto; height: 30px; }
.brand__custom { height: 44px; width: auto; }

.site-nav { margin-inline: auto; }
.site-nav .menu { display: flex; align-items: center; gap: 4px; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav .menu > li > a {
	position: relative; display: block; padding: 10px 14px; border-radius: 999px;
	font-family: var(--font-display); font-size: 0.95rem; font-weight: 500; color: var(--muted);
	transition: color 0.25s, background 0.25s;
}
.site-nav .menu > li > a:hover,
.site-nav .menu > li.current-menu-item > a,
.site-nav .menu > li.current-menu-ancestor > a,
.site-nav .menu > li.current_page_parent > a { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav .menu > li.current-menu-item > a::after { content: ""; position: absolute; inset-inline: 50%; inset-block-end: 3px; width: 4px; height: 4px; margin-inline-start: -2px; border-radius: 50%; background: var(--lime); }
.submenu-toggle { display: grid; place-items: center; width: 26px; height: 26px; margin-inline-start: -8px; color: var(--muted); border-radius: 50%; }
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.site-nav .sub-menu {
	position: absolute; inset-block-start: calc(100% + 10px); inset-inline-start: -8px; min-width: 260px;
	padding: 10px; border-radius: var(--radius-sm); background: rgba(13, 18, 34, 0.96); border: 1px solid var(--line);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
}
.site-nav .sub-menu::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: -12px; height: 12px; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu, .site-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.site-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--muted); font-size: 0.95rem; transition: background 0.2s, color 0.2s; }
.site-nav .sub-menu a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.site-nav .sub-menu li:first-child a { color: var(--lime); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch__link {
	display: inline-flex; align-items: center; gap: 6px; height: 44px; padding-inline: 14px; border-radius: 999px;
	border: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
	transition: border-color 0.25s, color 0.25s;
}
.lang-switch__link:hover { border-color: var(--lime); color: var(--lime); }
.lang-switch__link .icon { width: 17px; height: 17px; opacity: 0.8; }
.lang-switch__name { display: none; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; }
.nav-toggle__lines { position: relative; width: 18px; height: 10px; }
.nav-toggle__lines i { position: absolute; inset-inline-start: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.4s var(--ease), width 0.3s, inset-block-start 0.3s; }
.nav-toggle__lines i:first-child { inset-block-start: 0; width: 18px; }
.nav-toggle__lines i:last-child { inset-block-start: 8px; width: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines i:first-child { inset-block-start: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines i:last-child { inset-block-start: 4px; width: 18px; transform: rotate(-45deg); }

.mobile-nav {
	position: fixed; inset: 0; z-index: 90; padding-block: calc(var(--header-h) + 24px) 32px;
	background: radial-gradient(120% 60% at 100% 0%, rgba(4, 19, 58, 0.95), transparent), var(--bg);
	overflow-y: auto; overscroll-behavior: contain;
	opacity: 0; transition: opacity 0.35s var(--ease);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav__inner { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; gap: 40px; }
.mobile-nav__menu > li { border-block-end: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--i, 0) * 50ms + 80ms); }
.mobile-nav.is-open .mobile-nav__menu > li { opacity: 1; transform: none; }
.mobile-nav__menu > li > a { display: block; padding-block: 16px; font-family: var(--font-display); font-size: clamp(1.5rem, 6vw, 2.2rem); font-weight: 600; }
.mobile-nav__menu > li.current-menu-item > a { color: var(--lime); }
.mobile-nav__menu .submenu-toggle { width: 44px; height: 44px; margin: 0; border: 1px solid var(--line-2); }
.mobile-nav__menu .sub-menu { flex-basis: 100%; display: none; padding-block-end: 14px; }
.mobile-nav__menu li.is-open > .sub-menu { display: block; }
.mobile-nav__menu li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.mobile-nav__menu .sub-menu a { display: block; padding: 9px 0; color: var(--muted); font-size: 1.05rem; }
.mobile-nav__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.mobile-nav__foot .lang-switch__name { display: inline; }
.mobile-nav__foot .lang-switch__short { display: none; }
body.nav-open { overflow: hidden; }

@media (max-width: 1100px) {
	.site-nav .menu > li > a { padding-inline: 10px; font-size: 0.9rem; }
}
@media (max-width: 1023px) {
	:root { --header-h: 68px; }
	.site-nav, .site-header__cta, .site-header__lang { display: none; }
	.nav-toggle { display: grid; }
	.site-header__actions { margin-inline-start: auto; }
}
@media (max-width: 420px) {
	.brand__word { height: 24px; }
	.brand__mark { height: 34px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: calc(var(--header-h) + clamp(48px, 8vw, 110px)) clamp(48px, 6vw, 90px); overflow: hidden; }
.page-hero__glow, .page-hero::before { position: absolute; pointer-events: none; }
.page-hero__glow {
	inset-block-start: -30%; inset-inline-end: -10%; width: min(900px, 90vw); aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(4, 19, 58, 0.95), transparent 70%);
}
.page-hero::before {
	content: ""; inset: 0; opacity: 0.5;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 75%);
}
.page-hero > .container { position: relative; }
.page-hero__title { font-size: var(--fs-h1); max-width: 18ch; }
.page-hero__text { margin-block-start: 22px; color: var(--muted); font-size: var(--fs-lead); max-width: 60ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 34px; }
.page-hero__filters { margin-block-start: 36px; }
.page-hero--compact .page-hero__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); }
.page-hero__icon {
	position: absolute; inset-inline-end: var(--gutter); inset-block-end: 0; width: clamp(80px, 14vw, 180px); aspect-ratio: 1;
	display: grid; place-items: center; border-radius: 32%; border: 1px solid var(--line-2); color: var(--lime);
	background: linear-gradient(145deg, rgba(183, 214, 10, 0.12), transparent 60%);
}
.page-hero__icon .icon { width: 42%; height: 42%; stroke-width: 1.2; }
@media (max-width: 760px) { .page-hero__icon { display: none; } }

.breadcrumbs { margin-block-end: 28px; font-size: var(--fs-sm); color: var(--faint); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; opacity: 0.5; }
.breadcrumbs a { transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--lime); }
.breadcrumbs [aria-current] { color: var(--muted); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Mockup frames ---------- */
.frame { position: relative; margin: 0; }
.frame--browser {
	border-radius: 14px; overflow: hidden; background: #0a0d18;
	box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.frame__bar { display: flex; align-items: center; gap: 12px; height: 34px; padding-inline: 14px; background: #121726; border-block-end: 1px solid var(--line); }
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.frame__dots i:first-child { background: #ff5f57; }
.frame__dots i:nth-child(2) { background: #febc2e; }
.frame__dots i:nth-child(3) { background: #28c840; }
.frame__url {
	flex: 1; max-width: 340px; margin-inline: auto; height: 20px; padding-inline: 12px; border-radius: 6px;
	background: rgba(255, 255, 255, 0.06); color: var(--faint); font: 500 11px/20px system-ui, sans-serif;
	text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frame__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: size; background: #0f1322; }
.frame__img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.frame.is-scroll .frame__img, .frame.is-auto .frame__img { height: auto; object-fit: fill; }
.frame.is-scroll .frame__img { transition: transform 1.2s var(--ease); }
@media (hover: hover) {
	.frame.is-scroll:hover .frame__img,
	a:hover .frame.is-scroll .frame__img,
	a:focus-visible .frame.is-scroll .frame__img { transform: translateY(calc(-100% + 100cqh)); transition: transform var(--scroll-dur, 7s) cubic-bezier(0.45, 0, 0.4, 1); }
}
.frame.is-auto .frame__img { animation: frame-scroll var(--scroll-dur, 22s) var(--ease-in-out) 1.2s infinite alternate; }
.is-paused .frame.is-auto .frame__img, .frame.is-auto.is-paused .frame__img { animation-play-state: paused; }
@keyframes frame-scroll {
	0%, 6% { transform: translateY(0); }
	94%, 100% { transform: translateY(calc(-100% + 100cqh)); }
}
.frame__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--surface), var(--navy)); }

.frame--phone {
	width: 100%; padding: 7px; border-radius: 34px; background: #111522;
	box-shadow: 0 0 0 1px var(--line-2), inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 40px 80px -24px rgba(0, 0, 0, 0.85);
}
.frame--phone .frame__screen { aspect-ratio: 390 / 844; border-radius: 27px; }
.frame--phone::before {
	content: ""; position: absolute; z-index: 2; inset-block-start: 14px; inset-inline-start: 50%; width: 30%; height: 16px;
	transform: translateX(-50%); border-radius: 999px; background: #05070d;
}
[dir="rtl"] .frame--phone::before { transform: translateX(50%); }

/* ---------- Cards shared across pages ---------- */
/* Project card */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.project-card__link { display: block; }
.project-card__visual { position: relative; padding-inline-end: 9%; padding-block-end: 4%; }
.project-card__visual .frame--browser { transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.project-card__phone { position: absolute !important; inset-inline-end: 0; inset-block-end: -6%; width: 20%; min-width: 72px; padding: 4px; border-radius: 18px; transition: transform 0.6s var(--ease); }
.project-card__phone .frame__screen { border-radius: 14px; }
.project-card__phone::before { height: 7px; inset-block-start: 8px; }
.project-card__link:hover .frame--browser { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(183, 214, 10, 0.4), 0 50px 90px -30px rgba(0, 0, 0, 0.9); }
.project-card__link:hover .project-card__phone { transform: translateY(-14px) rotate(calc(3deg * var(--dir))); }
.project-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-block-start: 26px; }
.project-card__title { font-size: var(--fs-h3); transition: color 0.25s; }
.project-card__link:hover .project-card__title { color: var(--lime); }
.project-card__summary { flex-basis: 100%; color: var(--muted); font-size: var(--fs-sm); line-height: 1.75; }

/* Service rows */
.service-rows { border-block-start: 1px solid var(--line); }
.service-row__link {
	position: relative; display: grid; grid-template-columns: 56px 48px minmax(0, 1.1fr) minmax(0, 1.4fr) 52px; align-items: center; gap: 20px;
	padding-block: 26px; border-block-end: 1px solid var(--line); isolation: isolate;
}
.service-row__link::before {
	content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1; border-radius: var(--radius-sm);
	background: linear-gradient(90deg, var(--lime-soft), transparent 70%); opacity: 0; transition: opacity 0.35s;
}
[dir="rtl"] .service-row__link::before { background: linear-gradient(-90deg, var(--lime-soft), transparent 70%); }
.service-row__link:hover::before { opacity: 1; }
.service-row__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; border: 1px solid var(--line-2); color: var(--lime); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.service-row__icon .icon { width: 24px; height: 24px; }
.service-row__link:hover .service-row__icon { background: var(--lime); color: var(--black); transform: rotate(calc(-8deg * var(--dir))); }
.service-row__num { font-family: var(--font-display); color: var(--faint); font-size: var(--fs-sm); }
.service-row__title { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 0.9vw, 1.8rem); font-weight: 600; }
.service-row__text { color: var(--muted); font-size: var(--fs-sm); }
.service-row__arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.service-row__link:hover .service-row__arrow { background: var(--lime); color: var(--black); transform: translateX(calc(6px * var(--dir))); }
@media (max-width: 860px) {
	.service-row__link { grid-template-columns: 48px minmax(0, 1fr) 40px; gap: 6px 16px; padding-block: 20px; }
	.service-row__icon { grid-row: span 2; width: 48px; height: 48px; }
	.service-row__num { display: none; }
	.service-row__text { grid-column: 2; grid-row: 2; }
	.service-row__arrow { grid-column: 3; grid-row: 1 / span 2; width: 40px; height: 40px; }
}

/* Tutorial card */
.tutorial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 24px; }
.tutorial-card__link { display: block; height: 100%; }
.tutorial-card__thumb { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--surface)); box-shadow: 0 0 0 1px var(--line); }
.tutorial-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.tutorial-card__link:hover .tutorial-card__thumb img { transform: scale(1.05); }
.tutorial-card__play { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px; border-radius: 50%; background: var(--lime); color: var(--black); box-shadow: 0 0 0 10px rgba(183, 214, 10, 0.18); transition: transform 0.4s var(--ease); }
.tutorial-card__play .icon { width: 22px; height: 22px; margin-inline-start: 3px; }
[dir="rtl"] .tutorial-card__play .icon { margin-inline: 0 3px; transform: none; }
.tutorial-card__link:hover .tutorial-card__play { transform: scale(1.12); }
.tutorial-card__duration { position: absolute; inset-block-end: 10px; inset-inline-end: 10px; padding: 2px 9px; border-radius: 8px; background: rgba(5, 7, 13, 0.8); font: 600 12px/1.8 system-ui, sans-serif; }
.tutorial-card__body { display: grid; gap: 6px; padding-block-start: 16px; }
.tutorial-card__topic { color: var(--lime); font-size: var(--fs-xs); font-weight: 600; }
.tutorial-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.5; transition: color 0.25s; }
.tutorial-card__link:hover .tutorial-card__title { color: var(--lime); }

/* Post card */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 40px 28px; }
.post-card article { display: flex; flex-direction: column; height: 100%; }
.post-card__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--surface)); box-shadow: 0 0 0 1px var(--line); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { display: block; width: 100%; height: 100%; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding-block-start: 18px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--faint); font-size: var(--fs-xs); }
.post-card__cat { color: var(--lime); font-weight: 600; }
.post-card__title { font-size: 1.22rem; line-height: 1.5; }
.post-card__title a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size 0.4s var(--ease), color 0.25s; }
[dir="rtl"] .post-card__title a { background-position: 100% 100%; }
.post-card__title a:hover { background-size: 100% 1px; color: var(--lime); }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card article { position: relative; }
.post-card__excerpt { color: var(--muted); font-size: var(--fs-sm); }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-block-start: auto; color: var(--muted); font-size: var(--fs-xs); }

/* Filters (portfolio, academy, blog) */
.filters { display: flex; gap: 8px; margin-block-end: clamp(32px, 4vw, 56px); overflow-x: auto; scrollbar-width: none; padding-block: 4px; }
.filters::-webkit-scrollbar { display: none; }
.filters--wrap { flex-wrap: wrap; overflow: visible; }
.filters__btn {
	display: inline-flex; align-items: center; gap: 6px; flex: none; height: 46px; padding-inline: 20px; border-radius: 999px;
	border: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--muted);
	transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filters__btn sup { font-size: 0.7em; color: var(--faint); top: -0.6em; }
.filters__btn:hover { color: var(--text); border-color: var(--text); }
.filters__btn.is-active { background: var(--lime); border-color: var(--lime); color: var(--black); }
.filters__btn.is-active sup { color: rgba(0, 0, 0, 0.6); }

/* Socials */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: color 0.25s, border-color 0.25s, background 0.25s; }
.socials a:hover { color: var(--black); background: var(--lime); border-color: var(--lime); }
.socials .icon { width: 18px; height: 18px; }

/* Process (home + about) */
.process__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); }
.process__sticky { position: sticky; inset-block-start: calc(var(--header-h) + 40px); }
.process__panel { margin-block-start: 40px; padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.process__counter { font-family: var(--font-display); font-weight: 700; line-height: 1; direction: ltr; text-align: start; }
[dir="rtl"] .process__counter { text-align: end; }
.process__current { font-size: clamp(4.5rem, 3rem + 5vw, 8rem); color: var(--lime); letter-spacing: -0.04em; display: inline-block; }
.process__current.is-changing, .process__now.is-changing { animation: count-flip 0.55s var(--ease); }
@keyframes count-flip { from { opacity: 0; transform: translateY(35%); } }
.process__total { font-size: 1.6rem; color: var(--faint); margin-inline-start: 6px; }
.process__now { margin-block-start: 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); min-height: 1.6em; }
.process__dots { display: grid; grid-template-columns: repeat(var(--steps, 7), 1fr); gap: 6px; margin-block-start: 22px; }
.process__dots li { height: 4px; border-radius: 4px; background: var(--line-2); transition: background 0.4s var(--ease); }
.process__dots li.is-done { background: var(--lime); }
.process__track { position: relative; padding-inline-start: 48px; }
.process__line { position: absolute; inset-block: 30px; inset-inline-start: 11px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.process__line i { position: absolute; inset: 0; background: linear-gradient(var(--lime), #e6ff63); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.step { position: relative; padding-block: 14px; }
.step__card { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius); border: 1px solid transparent; opacity: 0.38; transform: scale(0.97); transform-origin: var(--o, left) center; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), background 0.5s, border-color 0.5s; }
[dir="rtl"] .step__card { --o: right; }
.step.is-done .step__card { opacity: 0.7; transform: none; }
.step.is-active .step__card { opacity: 1; transform: none; background: linear-gradient(160deg, rgba(183, 214, 10, 0.09), var(--surface) 65%); border-color: rgba(183, 214, 10, 0.35); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.step__dot { position: absolute; inset-inline-start: -48px; inset-block-start: 40px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: border-color 0.4s, box-shadow 0.4s; }
.step__dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--lime); transform: scale(0); transition: transform 0.4s var(--ease); }
.step.is-active .step__dot, .step.is-done .step__dot { border-color: var(--lime); }
.step.is-active .step__dot { box-shadow: 0 0 0 8px var(--lime-soft); }
.step.is-active .step__dot::after, .step.is-done .step__dot::after { transform: scale(1); }
.step__num { font-family: var(--font-display); color: var(--lime); font-size: var(--fs-sm); font-weight: 600; }
.step__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); margin-block: 4px 10px; }
.step__text { color: var(--muted); max-width: 52ch; }
.no-js .step__card { opacity: 1; transform: none; }
@media (max-width: 900px) {
	.process__grid { display: block; }
	.process__aside, .process__sticky { display: contents; }
	.process__panel {
		position: sticky; inset-block-start: calc(var(--header-h) + 8px); z-index: 3; margin-block: 24px 12px;
		display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; padding: 14px 18px;
		background: rgba(13, 18, 34, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	}
	.process__current { font-size: 2.4rem; }
	.process__total { font-size: 1rem; }
	.process__now { margin: 0; font-size: 1.05rem; }
	.process__dots { grid-column: 1 / -1; margin-block-start: 8px; }
}
/* Testimonials */
.testimonials__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.testimonials__head .section-head { margin-block-end: 0; }
.slider-nav { display: flex; gap: 10px; margin-block-end: clamp(40px, 5vw, 72px); }
.slider-nav__btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.slider-nav__btn:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }
.slider-nav__btn--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .slider-nav__btn--prev .icon { transform: none; }
.testimonials__track {
	display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
	padding-block-end: 8px;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.quote-card {
	position: relative; flex: 0 0 min(86vw, 460px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px;
	padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.quote-card__mark { position: absolute; inset-block-start: 26px; inset-inline-end: 26px; color: var(--lime); opacity: 0.35; }
.quote-card__mark .icon { width: 44px; height: 44px; }
.quote-card__stars { display: flex; gap: 3px; color: var(--lime); }
.quote-card__stars .icon { width: 17px; height: 17px; }
.quote-card__text { font-size: 1.08rem; line-height: 1.9; flex: 1; }
.quote-card__author { display: flex; align-items: center; gap: 14px; padding-block-start: 18px; border-block-start: 1px solid var(--line); }
.quote-card__author strong { display: block; font-family: var(--font-display); font-weight: 600; }
.quote-card__author small { color: var(--muted); font-size: var(--fs-xs); }
.quote-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-card__avatar--initial { display: grid; place-items: center; background: var(--lime); color: var(--black); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.quote-card__video { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--lime); }

/* CTA band */
.cta-band { padding-block: clamp(40px, 6vw, 80px) var(--section); }
.cta-band__panel {
	position: relative; overflow: hidden; isolation: isolate; text-align: center;
	padding: clamp(56px, 9vw, 130px) clamp(22px, 6vw, 80px); border-radius: var(--radius-lg);
	background: radial-gradient(90% 120% at 50% 0%, rgba(4, 19, 58, 1), rgba(5, 7, 13, 1) 70%);
	border: 1px solid var(--line);
}
.cta-band__panel::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.6;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent);
}
.cta-band__chevron { position: absolute; z-index: -1; inset-inline: 10%; inset-block-end: -6%; width: 80%; height: 70%; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; opacity: 0.55; filter: drop-shadow(0 0 18px var(--lime-glow)); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) 0.2s; }
.cta-band__panel.is-in .cta-band__chevron, .no-js .cta-band__chevron { stroke-dashoffset: 0; }
.cta-band__title { font-size: var(--fs-h2); max-width: 20ch; margin-inline: auto; }
.cta-band--big .cta-band__title { font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem); }
.cta-band__text { margin: 22px auto 0; max-width: 54ch; color: var(--muted); font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 28px; margin-block-start: 44px; }
.cta-orb {
	position: relative; display: grid; place-items: center; align-content: center; gap: 6px; width: clamp(150px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%;
	background: var(--lime); color: var(--black); font-family: var(--font-display); font-weight: 700; text-align: center; padding: 22px; line-height: 1.35;
	box-shadow: 0 0 0 0 var(--lime-glow); transition: box-shadow 0.5s var(--ease), transform 0.4s var(--ease);
}
.cta-orb::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(183, 214, 10, 0.45); animation: orb-pulse 2.8s var(--ease) infinite; }
.cta-orb:hover { box-shadow: 0 0 0 14px var(--lime-soft), 0 30px 80px -10px var(--lime-glow); }
.cta-orb__icon { width: 28px; height: 28px; transition: transform 0.4s var(--ease); }
.cta-orb:hover .cta-orb__icon { transform: translate(calc(3px * var(--dir)), -3px); }
[dir="rtl"] .cta-orb:hover .cta-orb__icon { transform: scaleX(-1) translate(3px, -3px); }
@keyframes orb-pulse { 0% { transform: scale(0.94); opacity: 1; } 100% { transform: scale(1.18); opacity: 0; } }

/* Feature list (case study) */
.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.feature-list .icon { color: var(--lime); margin-block-start: 4px; }

/* ---------- Prose (block editor content) ---------- */
.prose { font-size: 1.08rem; color: rgba(236, 240, 252, 0.86); }
.prose > * + * { margin-block-start: 1.2em; }
.prose > :is(h2, h3, h4) { color: var(--text); margin-block-start: 2em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); }
.prose h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); }
.prose a { color: var(--lime); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ""; position: absolute; inset-inline-start: -1.1em; inset-block-start: 0.8em; width: 7px; height: 7px; border-radius: 2px; background: var(--lime); }
.prose ol { list-style: decimal; }
.prose li + li { margin-block-start: 0.5em; }
.prose blockquote { padding: 6px 22px; border-inline-start: 3px solid var(--lime); color: var(--text); font-family: var(--font-display); font-size: 1.2rem; }
.prose img, .prose figure img { border-radius: var(--radius-sm); }
.prose figcaption { color: var(--faint); font-size: var(--fs-sm); margin-block-start: 8px; text-align: center; }
.prose code { padding: 2px 7px; border-radius: 6px; background: var(--surface-2); font-size: 0.9em; }
.prose pre { padding: 20px; border-radius: var(--radius-sm); background: var(--surface); overflow-x: auto; direction: ltr; text-align: left; }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin-block: 2.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: 12px; border-block-end: 1px solid var(--line); text-align: start; }
.prose .wp-block-button__link { padding: 14px 26px; }
.prose .wp-block-columns { gap: 28px; }
.prose--wide { max-width: 1100px; }
.prose .is-style-card, .prose .wp-block-group.has-background { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); }
.prose .alignwide { margin-inline: calc(var(--gutter) * -0.5); }

/* ---------- Forms (shared bits) ---------- */
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; }
.field label span { color: var(--lime); }
.field input, .field textarea, .field select, .search-form input[type="search"] {
	width: 100%; min-height: 54px; padding: 14px 18px; border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2);
	transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .search-form input:focus { outline: 0; border-color: var(--lime); background: rgba(183, 214, 10, 0.04); box-shadow: 0 0 0 4px var(--lime-soft); }
.field [aria-invalid="true"] { border-color: #ff6b6b; }
.field-error { color: #ff8a8a; font-size: var(--fs-xs); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field--wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
.form-status { min-height: 1.5em; margin-block-start: 14px; color: var(--muted); }
.form-status.is-error, .form-alert { color: #ff8a8a; }
.form-alert { padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255, 107, 107, 0.08); border: 1px solid rgba(255, 107, 107, 0.3); margin-block-end: 20px; }
.form-done { text-align: center; padding: clamp(40px, 6vw, 80px) 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.form-done:focus { outline: 0; }
.form-done__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--lime); color: var(--black); margin-block-end: 22px; animation: pop 0.6s var(--ease); }
.form-done__icon .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.form-done h2 { font-size: var(--fs-h3); margin-block-end: 10px; }
.form-done p { color: var(--muted); margin-block-end: 22px; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form input[type="submit"] { padding-inline: 22px; border-radius: 999px; background: var(--lime); color: var(--black); border: 0; font-weight: 600; cursor: pointer; }
.empty-state { padding: 60px 0; color: var(--muted); display: grid; gap: 20px; justify-items: start; }

/* ---------- Pagination ---------- */
.pagination { margin-block-start: 60px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 48px; height: 48px; padding-inline: 12px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--font-display); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-block: clamp(64px, 8vw, 110px) 28px; border-block-start: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #03050a); overflow: hidden; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px 32px; }
.site-footer__logo { width: 120px; height: auto; margin-block-end: 22px; }
.site-footer__brand p { color: var(--muted); font-size: var(--fs-sm); max-width: 34ch; margin-block-end: 22px; }
.site-footer__title { font-size: 0.95rem; color: var(--text); margin-block-end: 18px; font-weight: 600; }
:lang(en) .site-footer__title { text-transform: uppercase; letter-spacing: 0.14em; font-size: var(--fs-xs); }
.site-footer__col li + li { margin-block-start: 10px; }
.site-footer__col a { color: var(--muted); font-size: var(--fs-sm); transition: color 0.2s; }
.site-footer__col a:hover { color: var(--lime); }
.site-footer__contact a, .site-footer__address { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: var(--fs-sm); }
.site-footer__contact .icon { color: var(--lime); width: 18px; height: 18px; }
.site-footer__contact .btn { margin-block-start: 22px; }
.site-footer__giant {
	margin-block: clamp(50px, 7vw, 90px) clamp(20px, 3vw, 40px); text-align: center; font-family: var(--font-display); font-weight: 800;
	font-size: clamp(3.4rem, 15vw, 15rem); line-height: 0.85; letter-spacing: -0.02em; white-space: nowrap; user-select: none;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
}
.site-footer__giant span:last-child { -webkit-text-stroke-color: rgba(183, 214, 10, 0.35); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block-start: 24px; border-block-start: 1px solid var(--line); color: var(--faint); font-size: var(--fs-xs); }
.site-footer__motto { display: flex; align-items: center; gap: 12px; letter-spacing: 0.3em; font-weight: 500; }
.site-footer__motto i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.site-footer__lang .lang-switch__name { display: inline; }
.site-footer__lang .lang-switch__short { display: none; }
@media (max-width: 1100px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__contact { grid-column: 1 / -1; }
	.site-footer__bottom { flex-direction: column; text-align: center; }
}

.wa-float {
	position: fixed; z-index: 80; inset-block-end: 22px; inset-inline-end: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.5); transition: transform 0.35s var(--ease);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Cursor (desktop, fine pointers only; enabled by JS) ---------- */
.cursor { position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: 200; pointer-events: none; display: none; }
[dir="rtl"] .cursor { inset-inline-start: auto; left: 0; }
.has-cursor .cursor { display: block; }
.cursor::before {
	content: ""; position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
	border: 1px solid rgba(183, 214, 10, 0.7); transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s, opacity 0.3s;
}
.cursor__label { position: absolute; transform: translate(-50%, -50%) scale(0); font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--black); transition: transform 0.35s var(--ease); white-space: nowrap; }
.cursor.is-hover::before { transform: scale(0.5); background: var(--lime); }
.cursor.is-label::before { transform: scale(2.6); background: var(--lime); border-color: var(--lime); }
.cursor.is-label .cursor__label { transform: translate(-50%, -50%) scale(1); }
.cursor.is-hidden::before { opacity: 0; }

/* ---------- Reveal animations (JS adds .is-in) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.08em; margin-block: -0.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--w, 0) * 45ms + var(--d, 0s)); }
.is-in .split-word > span { transform: none; }
.js [data-split]:not(.is-split) { opacity: 0; }

/* Page transitions (cross-document View Transitions; ignored by browsers without support) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.js [data-reveal], .split-word > span { opacity: 1 !important; transform: none !important; }
	.js [data-split]:not(.is-split) { opacity: 1; }
	.frame.is-auto .frame__img { animation: none; }
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
