/* ==========================================================================
   Omar Sleem Pro – main stylesheet
   Dark premium · RTL/LTR via logical properties · mobile-first-ish
   ========================================================================== */

:root {
	/* Default palette: Amber on graphite (recommended brand direction) */
	--bg: #0c0b09;
	--bg-2: #12100d;
	--surface: #181511;
	--surface-2: #201c16;
	--text: #f2eee6;
	--muted: #a39c8e;
	--accent: #ffb23e;
	--accent-ink: #1a1004;
	--accent-hover: #ffc566;
	--glow: #e8553a;
	--bg-rgb: 12, 11, 9;
	--surface-rgb: 24, 21, 17;
	--accent-rgb: 255, 178, 62;
	--glow-rgb: 232, 85, 58;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .16);
	--radius: 22px;
	--radius-sm: 14px;
	--header-h: 76px;
	--gutter: clamp(1.1rem, 4vw, 2.5rem);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--f-body: 'Inter', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-head: 'Space Grotesk', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
body::before { /* film grain */
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: .045;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.osp-ico { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .osp-ico--dir { transform: scaleX(-1); }

:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4,
:lang(ar) .osp-eyebrow, :lang(ar) .osp-btn { letter-spacing: 0 !important; text-transform: none; }
:lang(ar) body, body:lang(ar) { line-height: 1.85; }

.osp-skip {
	position: fixed; inset-block-start: .5rem; inset-inline-start: .5rem; z-index: 10001;
	background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: 10px;
	transform: translateY(-200%); transition: transform .25s;
}
.osp-skip:focus { transform: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Layout ---------- */
.osp-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }
.osp-container--narrow { max-width: 820px; }
.osp-main { position: relative; display: block; }
.osp-elementor-page .osp-main { padding-top: var(--header-h); }
.osp-section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.osp-section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.osp-center { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }
.osp-grid { display: grid; gap: 1.25rem; }
.osp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.osp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Type helpers ---------- */
.osp-eyebrow {
	display: inline-flex; align-items: center; gap: .7rem; color: var(--accent);
	font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.osp-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.osp-title { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.025em; }
.osp-title em, .osp-hero__title em, .osp-page-hero__title em { font-style: normal; color: var(--accent); }
.osp-lead { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 62ch; margin-top: 1.1rem; }
.osp-head { max-width: 780px; margin-bottom: clamp(2rem, 5vw, 4rem); }
.osp-prose-p { color: var(--muted); font-size: 1.08rem; margin-top: 1.4rem; }

/* ---------- Buttons ---------- */
.osp-btn {
	--h: 56px;
	display: inline-flex; align-items: center; gap: .9rem; height: var(--h);
	padding-inline: 1.7rem .5rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
	border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate;
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
	white-space: nowrap; cursor: pointer;
}
.osp-btn__icon {
	display: grid; place-items: center; width: calc(var(--h) - 14px); height: calc(var(--h) - 14px);
	border-radius: 50%; transition: transform .45s var(--ease), background .35s;
}
.osp-btn:hover .osp-btn__icon { transform: rotate(-45deg); }
[dir="rtl"] .osp-btn:hover .osp-btn__icon { transform: rotate(45deg); }
.osp-btn--primary { background: var(--accent); color: var(--accent-ink); }
.osp-btn--primary .osp-btn__icon { background: var(--accent-ink); color: var(--accent); }
.osp-btn--primary:hover { background: var(--accent-hover); box-shadow: 0 10px 40px -10px rgba(var(--accent-rgb), .55); }
.osp-btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.osp-btn--ghost .osp-btn__icon { background: rgba(255, 255, 255, .08); }
.osp-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.osp-btn--sm { --h: 46px; padding-inline: 1.2rem .4rem; font-size: .9rem; }
.osp-btn:disabled { opacity: .6; pointer-events: none; }

/* ---------- Loader / progress ---------- */
.osp-loader {
	display: none; position: fixed; inset: 0; z-index: 10000; background: var(--bg);
	place-items: center; align-content: center; gap: 1.4rem;
	transition: opacity .45s var(--ease), visibility 0s .45s;
}
.js .osp-loader { display: grid; animation: osp-hide .01s 3s forwards; }
.osp-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; animation: none; }
.osp-loader.is-done .osp-loader__mark { transform: scale(1.08); }
.osp-loader__mark { color: var(--accent); line-height: 0; filter: drop-shadow(0 0 26px rgba(var(--accent-rgb), .35)); animation: osp-intro-in .5s var(--ease) both; transition: transform .45s var(--ease); }
.osp-loader__name { font-family: var(--f-mono, ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, Consolas, monospace); font-weight: 700; font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); animation: osp-intro-in .5s var(--ease) .12s both; }
html[lang^='ar'] .osp-loader__name { font-family: var(--f-head); letter-spacing: 0; text-transform: none; font-size: 1.6rem; }
.osp-loader__name em { font-style: normal; color: var(--accent); margin-inline-start: .25em; }
html.osp-seen .osp-loader__mark, html.osp-seen .osp-loader__name { animation: none; }
html.osp-seen .osp-loader__bar { opacity: 0; }
.osp-loader__bar { width: 120px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.osp-loader__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: osp-load .75s cubic-bezier(.55, 0, .2, 1) .1s both; }
[dir="rtl"] .osp-loader__bar i { transform-origin: right; }
@keyframes osp-intro-in { from { opacity: 0; transform: scale(.9); } }
@keyframes osp-load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Top loading bar while the next page loads */
.osp-navload { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 10001; pointer-events: none; opacity: 0; transition: opacity .3s; }
.osp-navload i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--glow)); box-shadow: 0 0 12px rgba(var(--accent-rgb), .7); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .osp-navload i { transform-origin: right; }
.osp-header { view-transition-name: osp-header; }
@keyframes osp-hide { to { opacity: 0; visibility: hidden; } }
.osp-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 9998; pointer-events: none; }
.osp-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--glow)); transform-origin: left; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .osp-progress i { transform-origin: right; }

/* ---------- Header ---------- */
.osp-header {
	position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 9000; height: var(--header-h);
	transition: transform .5s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
	border-bottom: 1px solid transparent;
}
body.admin-bar .osp-header { inset-block-start: 32px; }
@media (max-width: 782px) { body.admin-bar .osp-header { inset-block-start: 46px; } }
.osp-header.is-scrolled { background: rgba(var(--bg-rgb), .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.osp-header.is-hidden { transform: translateY(-100%); }
.osp-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.osp-logo { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; }
.osp-logo__mark { display: grid; place-items: center; width: 46px; height: 46px; }
.osp-mark { display: block; }
.osp-mark__fig { fill: var(--accent); }
.osp-logo__text { font-family: var(--f-mono, ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, Consolas, monospace); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
html[lang^='ar'] .osp-logo__text { font-family: var(--f-head); letter-spacing: 0; text-transform: none; }
.osp-logo__text em { font-style: normal; color: var(--accent); margin-inline-start: .15em; }
.osp-logo--img img { max-height: 44px; width: auto; }
.osp-nav { margin-inline: auto; }
.osp-menu { display: flex; align-items: center; gap: .15rem; }
.osp-menu li { position: relative; }
.osp-menu a { display: block; padding: .55rem 1rem; border-radius: 999px; color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .25s, background .25s; }
.osp-menu a:hover, .osp-menu .current-menu-item > a, .osp-menu .current_page_item > a { color: var(--text); background: rgba(255, 255, 255, .06); }
.osp-menu .sub-menu {
	position: absolute; inset-block-start: 100%; inset-inline-start: 0; min-width: 200px; padding: .5rem; margin-top: .5rem;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease);
}
.osp-menu li:hover > .sub-menu, .osp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.osp-header__actions { display: flex; align-items: center; gap: .75rem; }
.osp-lang { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.osp-lang a { padding: .3rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--muted); transition: .25s; }
.osp-lang a.is-current { background: var(--accent); color: var(--accent-ink); }
.osp-lang a:not(.is-current):hover { color: var(--text); }
.osp-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.osp-burger span { position: absolute; inset-inline: 14px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.osp-burger span:nth-child(1) { top: 18px; }
.osp-burger span:nth-child(2) { top: 26px; }
.nav-open .osp-burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .osp-burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 960px) {
	.osp-burger { display: block; }
	.osp-header__cta { display: none; }
	.osp-nav {
		position: fixed; inset: 0; margin: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center;
		padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem; background: rgba(var(--bg-rgb), .97); backdrop-filter: blur(20px);
		opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
	}
	.nav-open .osp-nav { opacity: 1; visibility: visible; }
	.nav-open .osp-header { background: transparent; border-color: transparent; backdrop-filter: none; }
	.osp-menu { flex-direction: column; align-items: flex-start; gap: .4rem; }
	.osp-menu a { font: 700 clamp(1.8rem, 8vw, 2.6rem)/1.25 var(--f-head); color: var(--text); padding: .35rem 0; background: none !important; }
	.osp-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding-inline-start: 1rem; margin: 0; }
	.osp-menu .sub-menu a { font-size: 1.15rem; color: var(--muted); }
	.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.osp-hero {
	position: relative; min-height: 100svh; display: flex; align-items: center; overflow: clip;
	padding-block: calc(var(--header-h) + 2rem) 5rem;
}
.osp-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.osp-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: osp-float 14s ease-in-out infinite alternate; }
.osp-orb--a { width: 46vw; max-width: 620px; aspect-ratio: 1; background: radial-gradient(circle, var(--glow), transparent 65%); inset-block-start: -12%; inset-inline-end: -8%; }
.osp-orb--b { width: 36vw; max-width: 460px; aspect-ratio: 1; background: radial-gradient(circle, rgba(var(--accent-rgb), .5), transparent 65%); inset-block-end: -14%; inset-inline-start: -6%; animation-delay: -6s; opacity: .28; }
@keyframes osp-float { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.osp-hero__grid {
	position: absolute; inset: 0;
	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(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
	opacity: .7;
}
.osp-hero::after { /* cursor glow */
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(var(--glow-rgb), .16), transparent 60%);
}
.osp-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.osp-badge {
	display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border: 1px solid var(--line-2);
	border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: .85rem; color: var(--muted); margin-bottom: 1.6rem; backdrop-filter: blur(8px);
}
.osp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); animation: osp-pulse 2s infinite; }
@keyframes osp-pulse { 70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
.osp-hero__title { font-size: clamp(2.4rem, 5.2vw, 4.7rem); line-height: 1.04; letter-spacing: -.035em; }
:lang(ar) .osp-hero__title { line-height: 1.3; }
.osp-hero__lead { margin-top: 1.6rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.osp-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.osp-hero__visual { position: relative; justify-self: center; width: min(100%, 600px); }
.osp-hero__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 40px 100px -30px rgba(var(--glow-rgb), .45); }
.osp-hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.osp-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(var(--bg-rgb), .75)); }
.osp-chip {
	position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem;
	border-radius: 999px; background: rgba(var(--surface-rgb), .72); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
	font-size: .85rem; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: osp-bob 6s ease-in-out infinite;
}
.osp-chip .osp-ico { color: var(--accent); width: 1.1em; height: 1.1em; }
.osp-chip--1 { top: -1.4rem; left: 6%; }
.osp-chip--2 { top: 52%; right: -5%; animation-delay: -2s; }
.osp-chip--3 { bottom: -1.2rem; left: 10%; animation-delay: -4s; }
.osp-chip--4 { bottom: -1.6rem; right: 14%; animation-delay: -1s; }
@keyframes osp-bob { 50% { translate: 0 -12px; } }
.osp-spin { position: absolute; z-index: 3; top: -2.6rem; right: -1.2rem; width: 124px; height: 124px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; direction: ltr; }
.osp-spin::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.osp-spin svg { width: 100%; height: 100%; animation: osp-rot 18s linear infinite; }
.osp-spin text { font: 600 12.5px var(--f-head); letter-spacing: .14em; fill: var(--text); }
@keyframes osp-rot { to { transform: rotate(360deg); } }
.osp-scroll { position: absolute; z-index: 2; inset-block-end: 1.6rem; inset-inline-start: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px; display: grid; justify-items: center; padding-top: 8px; }
[dir="rtl"] .osp-scroll { translate: 50% 0; }
.osp-scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--accent); animation: osp-scrolldot 1.8s var(--ease) infinite; }
@keyframes osp-scrolldot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 960px) {
	.osp-hero { min-height: 0; padding-block: calc(var(--header-h) + 1.5rem) 4.5rem; }
	.osp-hero__inner { grid-template-columns: 1fr; }
	.osp-hero__visual { width: min(100%, 560px); margin-top: 1.4rem; }
	.osp-scroll { display: none; }
	.osp-chip--1 { left: 2%; } .osp-chip--2 { right: -2%; } .osp-chip--3 { left: 4%; } .osp-chip--4 { right: 6%; }
	.osp-spin { width: 92px; height: 92px; top: -2rem; right: -.4rem; }
}

/* ---------- Marquee ---------- */
.osp-marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; direction: ltr; padding-block: 1.4rem; position: relative; z-index: 2; }
.osp-marquee__track { display: flex; width: max-content; animation: osp-marq 42s linear infinite; }
.osp-marquee:hover .osp-marquee__track { animation-play-state: paused; }
.osp-marquee__group { display: flex; flex: none; }
.osp-marquee__group li { display: flex; align-items: center; font: 600 clamp(1.5rem, 3.2vw, 2.6rem)/1 var(--f-head); color: transparent; -webkit-text-stroke: 1px rgba(246, 239, 227, .42); padding-inline: 1.6rem; white-space: nowrap; transition: color .3s; }
.osp-marquee__group li:hover { color: var(--text); }
.osp-marquee__group li i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-inline-start: 3.2rem; }
@keyframes osp-marq { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.osp-stats { padding-block: clamp(3rem, 6vw, 5rem); position: relative; z-index: 2; }
.osp-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden; }
.osp-stat { padding: clamp(1.4rem, 3vw, 2.4rem); border-inline-end: 1px solid var(--line); }
.osp-stat:last-child { border-inline-end: 0; }
.osp-stat__num { display: block; font: 700 clamp(2.4rem, 5vw, 4rem)/1 var(--f-head); letter-spacing: -.03em; }
.osp-stat__num { color: var(--accent); }
.osp-stat__num b { color: var(--text); font-weight: 700; }
.osp-stat__label { display: block; margin-top: .7rem; color: var(--text); opacity: .86; font-size: 1rem; font-weight: 500; line-height: 1.5; }
.osp-stat__ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem; border-radius: 12px; color: var(--accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .28); }
.osp-stat__ico .osp-ico { width: 21px; height: 21px; }
.osp-stat { transition: background .3s var(--ease); }
.osp-stat:hover { background: rgba(var(--accent-rgb), .045); }
@media (max-width: 760px) {
	.osp-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.osp-stat:nth-child(2) { border-inline-end: 0; }
	.osp-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- About ---------- */
.osp-about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.osp-about__frame { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); position: relative; }
.osp-about__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(var(--glow-rgb), .25), transparent 50%); }
.osp-about__photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.osp-about__copy .osp-head { margin-bottom: 0; }
.osp-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem 1.5rem; margin: 1.8rem 0 2.2rem; }
.osp-checks li { display: flex; align-items: center; gap: .65rem; font-weight: 500; }
.osp-checks .osp-ico { color: var(--accent-ink); background: var(--accent); border-radius: 50%; padding: 4px; width: 1.5rem; height: 1.5rem; }
@media (max-width: 860px) { .osp-about__grid { grid-template-columns: 1fr; } .osp-about__media { max-width: 380px; } .osp-checks { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.osp-card {
	position: relative; padding: clamp(1.5rem, 2.6vw, 2.2rem); border-radius: var(--radius); border: 1px solid var(--line);
	background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden;
	transition: border-color .4s, background .4s;
}
.osp-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), .09), transparent 60%); }
.osp-card:hover { border-color: var(--line-2); }
.osp-card:hover::before { opacity: 1; }
.osp-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(var(--accent-rgb), .1); color: var(--accent); margin-bottom: 1.4rem; border: 1px solid rgba(var(--accent-rgb), .18); }
.osp-card__icon .osp-ico { width: 26px; height: 26px; }
.osp-card__title { font-size: 1.3rem; margin-bottom: .7rem; }
.osp-card p { color: var(--muted); margin-bottom: 1.2rem; }
.osp-card p:last-child { margin-bottom: 0; }
.osp-service__no { position: absolute; inset-block-start: 1.4rem; inset-inline-end: 1.6rem; font: 700 .95rem var(--f-head); color: var(--line-2); }
.osp-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.osp-tags li, .osp-tags a { padding: .3rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .78rem; color: var(--muted); }
.osp-card[data-tilt].is-in { transition: transform .35s var(--ease), border-color .4s, background .4s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
@media (max-width: 1024px) { .osp-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .osp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .osp-grid--3, .osp-grid--4 { grid-template-columns: 1fr; } }

/* ---------- Work ---------- */
.osp-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.osp-filters button { padding: .55rem 1.3rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 500; font-size: .92rem; transition: .3s var(--ease); }
.osp-filters button:hover { color: var(--text); border-color: var(--text); }
.osp-filters button.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.osp-work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem) clamp(1.2rem, 3vw, 2.4rem); align-items: start; }
@media (min-width: 900px) { .osp-work__grid > .osp-project.is-even { margin-top: 4.5rem; } }
@media (min-width: 1000px) { .osp-work__grid:has(> .osp-project:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .osp-work__grid:has(> .osp-project:nth-child(3):last-child) > .osp-project.is-even { margin-top: 0; } }
.osp-project { display: block; position: relative; transition: opacity .4s var(--ease); }
.osp-project.is-out { opacity: 0; }
.osp-project[hidden] { display: none; }
.osp-project__media { position: relative; }
.osp-project__media::after { content: ""; position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(180deg, transparent 60%, rgba(var(--bg-rgb), .55)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.osp-project:hover .osp-project__media::after { opacity: 1; }
.osp-project__ph, .osp-shot-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 700 5rem var(--f-head); color: var(--line-2); background: radial-gradient(circle at 30% 20%, rgba(var(--glow-rgb), .25), transparent 60%), var(--surface); }
.osp-project__arrow { position: absolute; z-index: 2; inset-block-end: 1rem; inset-inline-end: 1rem; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; opacity: 0; transform: translateY(14px) scale(.8); transition: .5s var(--ease); }
[dir="rtl"] .osp-project__arrow .osp-ico { transform: scaleX(-1); }
.osp-project:hover .osp-project__arrow { opacity: 1; transform: none; }
.osp-project__info { display: flex; flex-direction: column; gap: .25rem; padding: 1.1rem .3rem 0; }
.osp-project__cat { color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.osp-project__title { font-size: clamp(1.2rem, 2vw, 1.6rem); transition: color .3s; }
.osp-project:hover .osp-project__title { color: var(--accent); }
@media (max-width: 700px) { .osp-work__grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.osp-steps__wrap { position: relative; }
.osp-steps__line { position: absolute; inset-block-start: 26px; inset-inline: 0; height: 1px; background: var(--line-2); }
.osp-steps__line i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .osp-steps__line i { transform-origin: right; }
.osp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.6rem); position: relative; }
.osp-step__no { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); color: var(--accent); font: 700 1rem var(--f-head); margin-bottom: 1.5rem; position: relative; }
.osp-step h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.osp-step p { color: var(--muted); }
@media (max-width: 860px) {
	.osp-steps { grid-template-columns: 1fr; gap: 2rem; }
	.osp-steps__line { inset-block: 26px; inset-inline-start: 26px; inset-inline-end: auto; width: 1px; height: auto; }
	.osp-steps__line i { width: 100%; height: 100%; transform: scaleY(var(--p, 0)); transform-origin: top; }
	.osp-step { display: grid; grid-template-columns: 52px 1fr; column-gap: 1.2rem; }
	.osp-step__no { grid-row: span 2; margin: 0; }
}

/* ---------- Pricing ---------- */
.osp-plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.osp-plan.is-featured { border-color: rgba(var(--accent-rgb), .55); background: linear-gradient(180deg, rgba(var(--accent-rgb), .07), var(--bg-2) 60%); box-shadow: 0 30px 80px -40px rgba(var(--accent-rgb), .4); }
.osp-plan__flag { position: absolute; inset-block-start: -13px; inset-inline-start: 2rem; background: var(--accent); color: var(--accent-ink); font-size: .74rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; }
.osp-plan__name { font-size: 1.4rem; }
.osp-plan__desc { color: var(--muted); margin: .4rem 0 1.2rem; }
.osp-plan__price { font: 700 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--f-head); letter-spacing: -.02em; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.osp-plan__list { display: grid; gap: .8rem; margin-bottom: 2rem; flex: 1; }
.osp-plan__list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); }
.osp-plan__list .osp-ico { color: var(--accent); margin-top: .25em; width: 1.1em; height: 1.1em; }
.osp-plan .osp-btn { align-self: stretch; justify-content: space-between; }

/* ---------- Testimonials ---------- */
.osp-quote { margin: 0; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); display: flex; flex-direction: column; gap: 1.4rem; }
.osp-quote blockquote { margin: 0; font-size: 1.05rem; position: relative; }
.osp-quote blockquote::before { content: "“"; display: block; font: 700 4rem/0.7 var(--f-head); color: var(--accent); margin-bottom: .6rem; }
.osp-quote figcaption { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.osp-quote__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.osp-quote figcaption b { display: block; }
.osp-quote figcaption small { color: var(--muted); }

/* ---------- FAQ ---------- */
.osp-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.osp-faq__head { position: sticky; inset-block-start: calc(var(--header-h) + 1.5rem); margin-bottom: 0; }
.osp-faq__item { border-bottom: 1px solid var(--line); }
.osp-faq__item:first-child { border-top: 1px solid var(--line); }
.osp-faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; cursor: pointer; font: 600 1.12rem var(--f-head); }
.osp-faq__item summary::-webkit-details-marker { display: none; }
.osp-faq__item summary i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); transition: .4s var(--ease); }
.osp-faq__item[open] summary i { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.osp-faq__item summary:hover { color: var(--accent); }
.osp-faq__body { padding-bottom: 1.5rem; color: var(--muted); max-width: 60ch; animation: osp-open .5s var(--ease); }
@keyframes osp-open { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 860px) { .osp-faq__grid { grid-template-columns: 1fr; } .osp-faq__head { position: static; } }

/* ---------- CTA ---------- */
.osp-cta { padding-block: clamp(3rem, 7vw, 6rem); }
.osp-cta__box { position: relative; overflow: hidden; text-align: center; padding: clamp(2.5rem, 7vw, 6rem) clamp(1.4rem, 5vw, 4rem); border-radius: 36px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(var(--glow-rgb), .22), var(--bg-2) 55%); }
.osp-cta__box .osp-orb { width: 420px; inset-block-start: auto; inset-block-end: -50%; inset-inline-end: auto; inset-inline-start: 50%; translate: -50% 0; opacity: .45; }
.osp-cta__title { position: relative; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.03em; max-width: 18ch; margin-inline: auto; }
:lang(ar) .osp-cta__title { line-height: 1.3; }
.osp-cta__box .osp-lead { position: relative; margin-inline: auto; }
.osp-cta__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.2rem; }

/* ---------- Contact ---------- */
.osp-contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.osp-contact__side .osp-head { margin-bottom: 2rem; }
.osp-info { display: grid; gap: .8rem; margin-bottom: 2rem; }
.osp-info li > a, .osp-info li > div { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
.osp-info li > a:hover { border-color: var(--accent); transform: translateX(6px); }
[dir="rtl"] .osp-info li > a:hover { transform: translateX(-6px); }
.osp-info__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(var(--accent-rgb), .1); color: var(--accent); flex: none; }
.osp-info__text small { display: block; color: var(--muted); font-size: .78rem; }
.osp-info__text b { font-weight: 600; word-break: break-word; }
.osp-socials { display: flex; flex-wrap: wrap; gap: .7rem; }
.osp-socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.osp-socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.osp-contact__form { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.osp-form { display: grid; gap: 1.1rem; }
.osp-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.osp-field { display: grid; gap: .45rem; }
.osp-field > span { font-size: .85rem; color: var(--muted); font-weight: 500; }
.osp-field input, .osp-field select, .osp-field textarea {
	width: 100%; padding: .95rem 1.1rem; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
	transition: border-color .25s, box-shadow .25s, background .25s;
}
.osp-field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa0b4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-inline-end: 2.6rem; }
[dir="rtl"] .osp-field select { background-position: left 1rem center; }
.osp-field select option { background: var(--surface); color: var(--text); }
.osp-field textarea { resize: vertical; min-height: 140px; }
.osp-field input:focus, .osp-field select:focus, .osp-field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); background: rgba(255, 255, 255, .05); }
.osp-field input.is-invalid, .osp-field textarea.is-invalid { border-color: #ff6b6b; }
.osp-form__submit { justify-self: start; }
.osp-form__status { margin: 0; min-height: 1.5em; font-size: .95rem; }
.osp-form__status.is-ok { color: var(--accent); }
.osp-form__status.is-err { color: #ff8a8a; }
.osp-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; clip-path: inset(50%); pointer-events: none; }
@media (max-width: 900px) { .osp-contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .osp-form__row { grid-template-columns: 1fr; } .osp-form__submit { justify-self: stretch; justify-content: space-between; } }

/* ---------- Footer ---------- */
.osp-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(3rem, 6vw, 5rem) 1.6rem; position: relative; z-index: 2; }
.osp-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.osp-footer__brand p { color: var(--muted); max-width: 36ch; margin: 1.1rem 0 1.4rem; }
.osp-footer__col h3 { font-size: 1rem; margin-bottom: 1.1rem; }
.osp-footer__menu { display: grid; gap: .6rem; }
.osp-footer__menu a { color: var(--muted); transition: color .25s; }
.osp-footer__menu a:hover { color: var(--accent); }
.osp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; color: var(--muted); font-size: .9rem; }
.osp-totop { display: inline-flex; align-items: center; gap: .4rem; }
.osp-totop:hover { color: var(--accent); }
@media (max-width: 820px) { .osp-footer__top { grid-template-columns: 1fr; gap: 2rem; } }

.osp-wa { position: fixed; inset-block-end: 1.2rem; inset-inline-end: 1.2rem; z-index: 8000; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #052e16; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .4); transition: transform .4s var(--ease); }
.osp-wa .osp-ico { width: 28px; height: 28px; }
.osp-wa:hover { transform: scale(1.1) rotate(-6deg); }
.osp-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: osp-ping 2.4s ease-out infinite; }
@keyframes osp-ping { to { transform: scale(1.7); opacity: 0; } }

/* ---------- Cursor ---------- */
.osp-cursor { position: fixed; top: 0; left: 0; z-index: 9999; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1.5px solid var(--accent); border-radius: 50%; pointer-events: none; opacity: 0; display: none; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, opacity .3s, border-color .3s; }
.osp-cursor-on .osp-cursor { display: grid; place-items: center; }
.osp-cursor.is-on { opacity: 1; }
.osp-cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(var(--accent-rgb), .12); }
.osp-cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); }
.osp-cursor__label { font: 700 .8rem var(--f-head); color: var(--accent-ink); opacity: 0; transition: opacity .25s; }
.osp-cursor.is-view .osp-cursor__label { opacity: 1; }

/* ---------- Inner pages ---------- */
.osp-page-hero { position: relative; overflow: clip; padding-block: calc(var(--header-h) + 3.5rem) clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.osp-page-hero .osp-hero__bg { opacity: .8; }
.osp-page-hero__title { font-size: clamp(2.2rem, 5.6vw, 4.6rem); letter-spacing: -.03em; line-height: 1.06; margin-top: 1rem; }
:lang(ar) .osp-page-hero__title { line-height: 1.3; }
.osp-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.osp-breadcrumbs a { color: var(--muted); transition: color .25s; }
.osp-breadcrumbs a:hover { color: var(--accent); }
.osp-breadcrumbs .last { color: var(--text); }
.osp-breadcrumbs__sep { opacity: .4; }
.osp-pill { display: inline-block; margin-top: 1.4rem; padding: .3rem .9rem; border-radius: 999px; background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .25); color: var(--accent); font-size: .8rem; font-weight: 600; }
.osp-meta { display: flex; gap: .7rem; color: var(--muted); font-size: .9rem; margin-top: 1.2rem; }

/* Prose (editor content) */
.osp-prose { font-size: 1.08rem; color: #cfd3e0; }
.osp-prose > * + * { margin-top: 1.3em; }
.osp-prose h2, .osp-prose h3, .osp-prose h4 { color: var(--text); margin-top: 2em; letter-spacing: -.01em; }
.osp-prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.osp-prose h3 { font-size: 1.4rem; }
.osp-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.osp-prose a.osp-btn { text-decoration: none; }
.osp-prose a.osp-btn--primary { color: var(--accent-ink); }
.osp-prose a.osp-btn--ghost { color: var(--text); }
.osp-prose .osp-btn + .osp-btn { margin-inline-start: .6rem; }
.osp-prose ul, .osp-prose ol { padding-inline-start: 1.3em; }
.osp-prose ul { list-style: disc; }
.osp-prose ol { list-style: decimal; }
.osp-prose li + li { margin-top: .4em; }
.osp-prose blockquote { margin-inline: 0; padding: 1rem 1.5rem; border-inline-start: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
[dir="rtl"] .osp-prose blockquote { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.osp-prose img { border-radius: var(--radius-sm); }
.osp-prose pre { overflow: auto; padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .92rem; direction: ltr; text-align: left; }
.osp-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; }
.osp-prose pre code { background: none; padding: 0; }
.osp-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.osp-prose th, .osp-prose td { padding: .7rem 1rem; border: 1px solid var(--line); text-align: start; }
.osp-prose figcaption { color: var(--muted); font-size: .85rem; margin-top: .6rem; text-align: center; }
.osp-prose hr { border: 0; border-top: 1px solid var(--line); }
.alignwide { max-width: 1100px; }
.alignleft { float: left; margin-inline-end: 1.5rem; } .alignright { float: right; margin-inline-start: 1.5rem; } .aligncenter { margin-inline: auto; }

/* Blog */
.osp-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.osp-post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--surface), var(--bg-2)); transition: border-color .4s, transform .5s var(--ease); }
.osp-post-card:hover { border-color: var(--line-2); }
.osp-post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.osp-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.osp-post-card:hover .osp-post-card__media img { transform: scale(1.06); }
.osp-post-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.osp-post-card__title { font-size: 1.25rem; line-height: 1.3; }
.osp-post-card__title a:hover { color: var(--accent); }
.osp-post-card__body p { color: var(--muted); margin: 0; font-size: .96rem; }
.osp-post-card__body time { margin-top: auto; padding-top: .8rem; font-size: .82rem; color: var(--muted); }
@media (max-width: 1000px) { .osp-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .osp-posts { grid-template-columns: 1fr; } }
.navigation.pagination { margin-top: 3rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 1rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); transition: .3s; }
.page-numbers:hover { color: var(--text); border-color: var(--text); }
.page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Single post / case */
.osp-article__cover, .osp-case__cover { margin: 0 0 2.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.osp-article__cover img, .osp-case__cover img { width: 100%; }
.osp-case__facts { display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 3rem; }
.osp-case__facts > div { flex: 1 1 180px; min-width: 0; padding: 1.3rem 1.5rem; box-shadow: 0 0 0 .5px var(--line); }
.osp-case__facts small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .4rem; }
.osp-case__facts b { font-weight: 600; }
.osp-case__tech { flex-basis: 100% !important; }
.osp-case__body { margin-inline: auto; }
.osp-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3.5rem; }
.osp-postnav a { display: block; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s; }
.osp-postnav a:hover { border-color: var(--accent); }
.osp-postnav small { display: block; color: var(--muted); font-size: .78rem; }
.osp-postnav span { font-weight: 600; }
.osp-postnav__next { grid-column: 2; text-align: end; }
.osp-tags--post { margin-top: 2.5rem; }
@media (max-width: 560px) { .osp-postnav { grid-template-columns: 1fr; } .osp-postnav__next { grid-column: 1; text-align: start; } }

/* 404 */
.osp-404 { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: clip; padding-block: calc(var(--header-h) + 2rem) 4rem; }
.osp-404__code { font: 700 clamp(6rem, 22vw, 15rem)/1 var(--f-head); color: transparent; -webkit-text-stroke: 2px var(--accent); margin: 0; letter-spacing: -.04em; }
.osp-404 .osp-lead { margin-inline: auto; margin-bottom: 2rem; }

/* Comments + widgets */
.osp-comments { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.osp-comments__title, .comment-reply-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
.osp-comments__list, .osp-comments__list .children { display: grid; gap: 1.2rem; }
.osp-comments__list .children { margin-inline-start: 1.5rem; margin-top: 1.2rem; }
.osp-comments .comment-body { padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.osp-comments .avatar { border-radius: 50%; }
.osp-comments .comment-form { display: grid; gap: 1rem; }
.osp-comments input[type="text"], .osp-comments input[type="email"], .osp-comments input[type="url"], .osp-comments textarea, .search-field { width: 100%; padding: .9rem 1.1rem; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.osp-comments .osp-btn { justify-self: start; padding-inline: 1.7rem; }
.search-form { display: flex; gap: .6rem; margin-top: 1.5rem; max-width: 520px; }
.search-submit { padding: 0 1.4rem; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.osp-widget { margin-bottom: 2rem; }
.osp-widget__title { font-size: 1.1rem; margin-bottom: 1rem; }

/* ---------- Reveal system (JS adds .osp-anim, then .is-in per element) ---------- */
.osp-anim [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.osp-anim [data-reveal].is-in { opacity: 1; transform: none; }
.osp-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em 0 .2em; margin: -.08em 0 -.2em; }
.osp-wi { display: inline-block; }
.osp-anim [data-split] .osp-wi { transform: translateY(115%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * .055s + var(--d, 0s)); }
.osp-anim [data-split].is-in .osp-wi { transform: none; }
.osp-anim [data-split] { opacity: 1; transform: none; }

/* ---------- Admin bar / Elementor editor / motion preferences ---------- */
.osp-editor [data-reveal], .osp-editor .osp-wi { opacity: 1 !important; transform: none !important; }
.osp-editor .osp-loader, .osp-editor .osp-progress { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	[data-reveal], .osp-wi { opacity: 1 !important; transform: none !important; }
	.osp-marquee__track { animation: none; }
}


/* ==========================================================================
   Project showcase: browser / laptop / phone mockups
   ========================================================================== */
.osp-browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .7); transition: transform .6s var(--ease), border-color .4s; }
.osp-project:hover .osp-browser { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .55); }
.osp-browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding-inline: 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); direction: ltr; }
.osp-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.osp-browser__bar i:nth-child(1) { background: rgba(255, 95, 87, .85); }
.osp-browser__bar i:nth-child(2) { background: rgba(254, 188, 46, .85); }
.osp-browser__bar i:nth-child(3) { background: rgba(40, 200, 64, .85); }
.osp-browser__url { flex: 1; max-width: 72%; margin-inline-start: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); font-size: .72rem; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.osp-browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }

.osp-scrollshot { display: block; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top center; transform: translateY(0); transition: transform .9s var(--ease); will-change: transform; }
.osp-project:hover .osp-scrollshot, .osp-panel:hover .osp-scrollshot, .osp-case__scene:hover .osp-scrollshot {
	transform: translateY(calc(var(--travel, 0px) * -1));
	transition-duration: var(--dur, 4s);
	transition-timing-function: cubic-bezier(.45, .05, .25, 1);
}

.osp-laptop { position: relative; width: 100%; }
.osp-laptop__lid { padding: 2.2% 2.2% 2.6%; border-radius: 18px 18px 6px 6px; background: linear-gradient(180deg, #262932, #14161b); border: 1px solid var(--line-2); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85); }
.osp-laptop__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--bg-2); }
.osp-laptop__base { position: relative; height: clamp(8px, 1.4vw, 15px); margin-inline: -5%; border-radius: 0 0 24px 24px; background: linear-gradient(180deg, #353841, #16181d); }
.osp-laptop__base::after { content: ""; position: absolute; inset-block-start: 0; inset-inline: 40%; height: 45%; border-radius: 0 0 10px 10px; background: rgba(0, 0, 0, .4); }

.osp-phone { position: absolute; inset-inline-end: -3%; inset-block-end: -7%; width: 23%; aspect-ratio: 9 / 19; border-radius: clamp(14px, 2.4vw, 28px); border: clamp(3px, .5vw, 6px) solid #16181d; background: #16181d; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px var(--line-2); }
.osp-phone__screen { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: var(--bg-2); }

.osp-stack { display: grid; gap: clamp(1.2rem, 3vw, 2.4rem); padding-bottom: 1.5rem; }
.osp-panel { --brand: var(--accent); position: sticky; top: calc(var(--header-h) + 14px + var(--i, 0) * 18px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.4rem, 4vw, 3.2rem); border-radius: 32px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 -24px 60px -34px rgba(0, 0, 0, .8); }
@supports (background: color-mix(in srgb, red 10%, blue)) {
	.osp-panel { background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 18%, var(--surface)), var(--bg-2) 72%); }
}
.osp-panel > * { position: relative; z-index: 1; }
.osp-panel__copy { display: grid; gap: 1rem; justify-items: start; align-content: center; }
.osp-panel__copy > * { margin: 0; }
.osp-panel__count { font: 600 .8rem var(--f-head); letter-spacing: .16em; color: var(--muted); }
.osp-panel__title { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.02em; }
.osp-panel__copy p { color: var(--muted); max-width: 44ch; }
.osp-panel .osp-panel__result { color: var(--text); font-weight: 600; padding-inline-start: 1rem; border-inline-start: 2px solid var(--brand); }
.osp-panel__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
.osp-panel__visual { position: relative; padding-bottom: 6%; padding-inline-end: 3%; }
@media (max-width: 900px) {
	.osp-panel { position: static; grid-template-columns: 1fr; }
	.osp-panel__visual { order: -1; }
}

.osp-case__scene { position: relative; max-width: 1040px; margin: 0 auto 4rem; padding: clamp(1.4rem, 5vw, 4rem) clamp(1rem, 6vw, 4.5rem) clamp(2.2rem, 7vw, 5.5rem); border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(70% 70% at 50% 0%, rgba(var(--accent-rgb), .18), transparent 70%), var(--surface); }
.osp-case__scene .osp-phone { inset-inline-end: 3%; inset-block-end: 3%; width: 20%; }

/* Services */
.osp-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.osp-service__more { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.3rem; color: var(--accent); font-weight: 600; font-size: .92rem; transition: gap .4s var(--ease); }
.osp-service:hover .osp-service__more { gap: .85rem; }
.osp-service .osp-tags { margin-bottom: 0; }
.menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: .5rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); opacity: .7; }

.osp-service-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.osp-service-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.osp-service-card { display: grid; gap: 1.3rem; }
.osp-service-card .osp-card__title { margin: 0; }
.osp-service-card .osp-plan__list { margin: 0; }
.osp-service-card .osp-btn { justify-content: space-between; }
.osp-service-faq { margin-top: 3.5rem; }
.osp-service-faq .osp-faq__item:first-of-type { border-top: 1px solid var(--line); }
.osp-title--sm { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1.2rem; }
.osp-page-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.osp-chiplinks { display: flex; flex-wrap: wrap; gap: .7rem; }
.osp-chiplinks a { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.2rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.osp-chiplinks a .osp-ico { color: var(--accent); }
.osp-chiplinks a:hover { color: var(--text); border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
@media (max-width: 900px) { .osp-service-layout { grid-template-columns: 1fr; } .osp-service-side { position: static; } }

/* ---------- Finished mockup images (laptop + phone already composed) ---------- */
.osp-mockup { border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .7); transition: transform .6s var(--ease), border-color .4s; }
.osp-mockup img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.osp-project:hover .osp-mockup, .osp-panel:hover .osp-mockup { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .55); }
.osp-panel__visual .osp-mockup { max-width: 560px; margin-inline: auto; }

/* ---------- Tilt + glare ---------- */
.osp-tilt { transform-style: preserve-3d; will-change: transform; transition: transform .25s var(--ease), border-color .4s; position: relative; }
.osp-tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .22), transparent 55%); }
.osp-tilt:hover::after { opacity: 1; }

/* ---------- Header command button ---------- */
.osp-kbd { display: none; align-items: center; gap: .25rem; padding: .4rem .55rem; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.osp-kbd:hover { color: var(--text); border-color: var(--text); }
.osp-kbd kbd { font: 600 .72rem/1 ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, Consolas, monospace; }
@media (min-width: 1000px) and (hover: hover) { .osp-kbd { display: inline-flex; direction: ltr; } }

/* ---------- Command menu ---------- */
.osp-cmd { position: fixed; inset: 0; z-index: 9500; display: grid; align-items: start; justify-items: center; padding: min(14vh, 8rem) 1rem 1rem; background: rgba(var(--bg-rgb), .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .2s; }
.osp-cmd[hidden] { display: none; }
.osp-cmd.is-open { opacity: 1; }
.osp-cmd__panel { width: min(560px, 100%); border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); overflow: hidden; transform: translateY(10px) scale(.98); transition: transform .25s var(--ease); }
.osp-cmd.is-open .osp-cmd__panel { transform: none; }
.osp-cmd__input { width: 100%; box-sizing: border-box; padding: 1.1rem 1.3rem; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text); font: 500 1.05rem var(--f-head); outline: none; }
.osp-cmd__input::placeholder { color: var(--muted); }
.osp-cmd__list { list-style: none; margin: 0; padding: .5rem; max-height: min(52vh, 380px); overflow-y: auto; }
.osp-cmd__group { padding: .7rem .8rem .3rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.osp-cmd__item { padding: .7rem .8rem; border-radius: 10px; color: var(--text); cursor: pointer; }
.osp-cmd__item.is-sel { background: var(--accent); color: var(--accent-ink); }
.osp-cmd__empty { padding: 1.2rem; text-align: center; color: var(--muted); }
.osp-cmd__hint { display: flex; gap: 1rem; padding: .7rem 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font: 500 .72rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; direction: ltr; }

/* ---------- Mobile polish: projects ---------- */
@media (max-width: 700px) {
	/* home showcase on phones: a swipeable "reel" - image-led cards, centred card scales up, neighbours dim and slide */
	.osp-stack { display: flex; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem; margin-inline: calc(var(--gutter, 1rem) * -1); padding-inline: 11%; padding-block: .4rem 1.2rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: 11%; }
	.osp-stack::-webkit-scrollbar { display: none; }
	.osp-panel { flex: 0 0 78%; scroll-snap-align: center; display: flex; flex-direction: column; padding: 0; gap: 0; border-radius: 26px; overflow: hidden; position: relative; top: auto; scale: var(--s, 1); opacity: var(--o, 1); box-shadow: 0 30px 60px -30px rgba(var(--accent-rgb), .35); }
	.osp-panel__visual { order: -1; padding: 0; overflow: hidden; }
	.osp-panel__visual .osp-mockup { max-width: none; width: 100%; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
	.osp-panel__visual .osp-mockup__img { width: 100%; height: auto; aspect-ratio: 1080 / 970; object-fit: cover; object-position: 50% 100%; }
	.osp-panel:hover .osp-mockup { transform: none; }
	.osp-panel__copy { position: static; gap: .5rem; padding: .9rem 1.1rem 1.2rem; }
	.osp-panel__count { font: 600 .72rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; color: var(--muted); letter-spacing: .08em; direction: ltr; }
	.osp-panel__title { font-size: 1.45rem; }
	.osp-panel__copy > p, .osp-panel__copy .osp-tags { display: none; }
	.osp-panel__actions { margin-top: .3rem; }
	.osp-reel { display: flex; align-items: center; gap: .9rem; margin-top: .2rem; direction: ltr; font: 600 .75rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; color: var(--muted); }
	.osp-reel b { color: var(--text); min-width: 4.2ch; }
	.osp-reel__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
	.osp-reel__bar i { display: block; height: 100%; width: var(--f, 25%); background: var(--accent); border-radius: 3px; transition: width .35s var(--ease); }
	.osp-reel__hint { display: inline-flex; gap: .25rem; color: var(--accent); animation: osp-nudge 1.4s var(--ease) infinite; }
	.osp-reel.is-moved .osp-reel__hint { opacity: 0; animation: none; }
	@keyframes osp-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
	/* project grid: two compact columns */
	.osp-work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .8rem; }
	.osp-project__info { padding: .6rem .1rem 0; }
	.osp-project__title { font-size: .95rem; line-height: 1.25; }
	.osp-project__cat { font-size: .66rem; letter-spacing: .08em; }
	.osp-project__arrow { display: none; }
	/* filters: one scrolling row */
	.osp-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter, 1rem) * -1); padding-inline: var(--gutter, 1rem); }
	.osp-filters::-webkit-scrollbar { display: none; }
	.osp-filters button { flex: 0 0 auto; padding: .5rem 1rem; }
	/* WhatsApp button smaller so it does not cover content */
	.osp-wa { width: 46px; height: 46px; inset-block-end: .9rem; inset-inline-end: .9rem; }
	.osp-wa .osp-ico { width: 23px; height: 23px; }
}

/* ---------- Mobile menu ---------- */
.osp-nav__foot { display: none; }
.osp-subtoggle { display: none; }
.osp-loader__mark .osp-mark { width: 92px; height: 92px; }
@keyframes osp-pulse-mark { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.osp-menu a { position: relative; }
@media (min-width: 961px) {
	.osp-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: .5rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); opacity: .6; }
	.osp-menu .sub-menu a { border-radius: 10px; font-size: .9rem; }
}
@media (max-width: 960px) {
	.osp-nav { z-index: 0; overflow-y: auto; justify-content: flex-start; padding-top: calc(var(--header-h) + 1.4rem); gap: 1.6rem; }
	.osp-nav::before { content: ""; position: fixed; inset: auto -20% -25% auto; width: 80vw; height: 80vw; background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 65%); filter: blur(40px); pointer-events: none; }
	.osp-menu { width: 100%; counter-reset: osp-n; gap: 0; position: relative; }
	.osp-menu > li { counter-increment: osp-n; width: 100%; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); }
	.nav-open .osp-menu > li { animation: osp-nav-in .55s var(--ease) forwards; }
	.nav-open .osp-menu > li:nth-child(1) { animation-delay: .08s; }
	.nav-open .osp-menu > li:nth-child(2) { animation-delay: .14s; }
	.nav-open .osp-menu > li:nth-child(3) { animation-delay: .2s; }
	.nav-open .osp-menu > li:nth-child(4) { animation-delay: .26s; }
	.nav-open .osp-menu > li:nth-child(5) { animation-delay: .32s; }
	.nav-open .osp-menu > li:nth-child(6) { animation-delay: .38s; }
	@keyframes osp-nav-in { to { opacity: 1; transform: none; } }
	.osp-menu > li > a { flex: 1; display: flex; align-items: baseline; gap: .8rem; padding: .85rem 0; font-size: clamp(1.7rem, 7.5vw, 2.3rem); }
	.osp-menu > li > a::before { content: "0" counter(osp-n); font: 500 .78rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; color: var(--accent); letter-spacing: .06em; }
	.osp-subtoggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; transition: background .3s, transform .4s var(--ease); }
	.osp-subtoggle::before { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
	.is-open > .osp-subtoggle { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
	.is-open > .osp-subtoggle::before { transform: translateY(2px) rotate(225deg); }
	.osp-menu .sub-menu { flex: 0 0 100%; display: grid; max-height: 0; overflow: hidden; opacity: 0; padding-inline-start: 1.9rem; transition: max-height .5s var(--ease), opacity .4s, padding .4s; }
	.is-open > .sub-menu { max-height: 520px; opacity: 1; padding-block: .2rem .9rem; }
	.osp-menu .sub-menu a { font-size: 1.05rem; padding: .5rem 0; }
	.osp-menu .sub-menu a::before { content: none; }
	.osp-menu > li > a::after { content: none !important; }
	.osp-nav__foot { display: grid; gap: 1.1rem; margin-top: auto; padding-top: 1rem; }
	.osp-nav__foot .osp-btn { justify-content: space-between; width: 100%; }
	.osp-nav__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .92rem; }
	.osp-nav__contact a { color: var(--muted); }
	.osp-nav__contact a:hover { color: var(--accent); }
}

/* ---------- Project quick view ---------- */
.osp-qv { position: fixed; inset: 0; z-index: 9400; display: grid; place-items: center; padding: 1rem; background: rgba(var(--bg-rgb), .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity .25s; }
.osp-qv[hidden] { display: none; }
.osp-qv.is-open { opacity: 1; }
.osp-qv__panel { position: relative; width: min(1040px, 100%); max-height: calc(100svh - 2rem); overflow: auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1rem, 3vw, 2.2rem); align-items: center; padding: clamp(1rem, 2.5vw, 1.8rem); border-radius: 24px; background: var(--surface); border: 1px solid var(--line-2); transform: translateY(14px) scale(.98); transition: transform .35s var(--ease); }
.osp-qv.is-open .osp-qv__panel { transform: none; }
.osp-qv__img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; background: #fff; display: block; }
.osp-qv__info { display: grid; gap: .9rem; justify-items: start; }
.osp-qv__cat { color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.osp-qv__title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 0; }
.osp-qv__count { font: 500 .78rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; color: var(--muted); }
.osp-qv__nav { display: flex; gap: .6rem; margin-top: .4rem; }
.osp-qv__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.osp-qv__btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.osp-qv__btn svg { width: 20px; height: 20px; }
.osp-qv__close { position: absolute; inset-block-start: .8rem; inset-inline-end: .8rem; z-index: 2; background: rgba(var(--bg-rgb), .7); }
@media (max-width: 760px) { .osp-qv__panel { grid-template-columns: 1fr; padding-top: 3.4rem; } .osp-qv__img { max-height: 52svh; width: auto; margin-inline: auto; max-width: 100%; } }

/* ---------- Hero: live build scene + particle network ---------- */
.osp-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.osp-live__win { position: relative; border-radius: 22px; overflow: hidden; background: rgba(var(--surface-rgb), .86); border: 1px solid var(--line-2); box-shadow: 0 50px 110px -34px rgba(var(--glow-rgb), .5), 0 0 0 1px rgba(var(--accent-rgb), .08); backdrop-filter: blur(14px); direction: ltr; }
.osp-live__bar { display: flex; align-items: center; gap: 6px; height: 40px; padding-inline: 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.osp-live__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.osp-live__bar i:nth-child(1) { background: rgba(255, 95, 87, .85); }
.osp-live__bar i:nth-child(2) { background: rgba(254, 188, 46, .85); }
.osp-live__bar i:nth-child(3) { background: rgba(40, 200, 64, .85); }
.osp-live__tab { margin-inline-start: 12px; padding: .2rem .8rem; border-radius: 8px 8px 0 0; background: var(--bg-2); color: var(--muted); font: 500 .74rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; }
.osp-live__status { margin-inline-start: auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font: 500 .72rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; opacity: 0; transition: opacity .4s; }
.osp-live__status b { width: 7px; height: 7px; border-radius: 50%; background: #28c840; box-shadow: 0 0 10px #28c840; }
.osp-live.is-done .osp-live__status { opacity: 1; }
.osp-live__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 330px; }
.osp-live__code { margin: 0; padding: 1.1rem 1rem; background: var(--bg-2); border-inline-end: 1px solid var(--line); font: 500 .72rem/1.8 ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); white-space: pre-wrap; word-break: break-word; overflow: hidden; }
.osp-live__code code { font: inherit; }
.osp-live__code .t { color: var(--accent); }
.osp-live__code .a { color: #8aa0ff; }
.osp-live__code .s { color: #7fd9a8; }
.osp-live__caret { display: inline-block; width: 7px; height: 1.05em; margin-inline-start: 2px; vertical-align: text-bottom; background: var(--accent); animation: osp-blink 1s steps(2) infinite; }
@keyframes osp-blink { 50% { opacity: 0; } }
.osp-live__page { padding: 1rem; display: grid; align-content: start; gap: 1rem; background: linear-gradient(160deg, rgba(var(--accent-rgb), .06), transparent 60%), var(--bg); }
.osp-live__page [data-step] { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.osp-live__page [data-step].is-on { opacity: 1; transform: none; }
.osp-lp__nav { display: flex; align-items: center; gap: .5rem; }
.osp-lp__nav b { width: 18px; height: 18px; border-radius: 6px; background: var(--accent); margin-inline-end: auto; }
.osp-lp__nav span { width: 26px; height: 6px; border-radius: 4px; background: var(--line-2); }
.osp-lp__hero { display: grid; gap: .7rem; justify-items: start; padding-block: .6rem; }
.osp-lp__title { margin: 0; font: 700 1.5rem/1.15 var(--f-head); letter-spacing: -.02em; color: var(--text); }
.osp-lp__lead { margin: 0; display: grid; gap: .35rem; width: 100%; }
.osp-lp__lead i { display: block; height: 6px; border-radius: 4px; background: var(--line-2); width: 90%; }
.osp-lp__lead i + i { width: 62%; }
.osp-lp__btn { padding: .5rem 1rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 .74rem var(--f-head); }
.osp-lp__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.osp-lp__cards span { aspect-ratio: 4 / 5; border-radius: 10px; background: linear-gradient(160deg, rgba(var(--accent-rgb), .35), rgba(var(--glow-rgb), .2)); border: 1px solid var(--line-2); }
.osp-lp__cards span:nth-child(2) { background: linear-gradient(160deg, rgba(var(--glow-rgb), .35), rgba(var(--accent-rgb), .12)); }
@media (max-width: 560px) {
	.osp-live__body { grid-template-columns: 1fr; min-height: 0; }
	.osp-live__code { border-inline-end: 0; border-bottom: 1px solid var(--line); min-height: 8.5rem; }
	.osp-lp__title { font-size: 1.25rem; }
}

/* ---------- Footer v2 ---------- */
.osp-ft { position: relative; overflow: hidden; padding-block: 0 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.osp-ft__marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--accent); color: var(--accent-ink); transform: rotate(0deg); }
.osp-ft__track { display: flex; width: max-content; animation: osp-marq 40s linear infinite; direction: ltr; }
.osp-ft__track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.osp-ft__track li { display: inline-flex; align-items: center; gap: 1.6rem; padding: .9rem 1.6rem; font: 700 .95rem var(--f-head); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.osp-ft__track li i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; }
.osp-ft__marquee:hover .osp-ft__track { animation-play-state: paused; }
.osp-ft__cta { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.osp-ft__pitch { display: grid; justify-items: start; gap: 1.2rem; }
.osp-ft__megatext { font: 700 clamp(2rem, 4.4vw, 3.8rem)/1.06 var(--f-head); letter-spacing: -.035em; margin: 0; max-width: 16ch; }
:lang(ar) .osp-ft__megatext { line-height: 1.3; letter-spacing: 0; max-width: 14ch; }
.osp-ft__megatext em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--accent); transition: color .5s var(--ease); }
.osp-ft__pitch:hover .osp-ft__megatext em { color: var(--accent); }
.osp-ft__lead { color: var(--muted); max-width: 44ch; margin: 0; }
.osp-ft__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.osp-term { border: 1px solid var(--line-2); border-radius: 14px; background: #0b0a08; box-shadow: 0 40px 90px -40px rgba(var(--accent-rgb), .45), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; font-family: ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; }
.osp-term__bar { display: flex; align-items: center; gap: .45rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.osp-term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a362e; }
.osp-term__bar i:nth-child(1) { background: #ff5f57; } .osp-term__bar i:nth-child(2) { background: #febc2e; } .osp-term__bar i:nth-child(3) { background: #28c840; }
.osp-term__bar span { margin-inline-start: .6rem; font-size: .72rem; color: var(--muted); }
.osp-term__body { padding: 1.2rem 1.2rem 1.4rem; display: grid; gap: .8rem; font-size: clamp(.78rem, 1.5vw, .92rem); min-height: 15.5rem; align-content: start; }
.osp-term__ln { margin: 0; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.osp-term__ps { color: var(--accent); }
.osp-term__q .osp-term__tx { color: #8fd18f; }
.osp-term__out { color: var(--muted); }
.osp-term__out [data-term-out] { color: var(--text); }
.osp-term__opts { display: flex; flex-wrap: wrap; gap: .5rem; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
.osp-term.is-q .osp-term__opts, .osp-term.is-done .osp-term__opts { opacity: 1; transform: none; }
.osp-term__opts button { font-family: var(--f-body, inherit); font-size: inherit; cursor: pointer; padding: .42rem .8rem; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); transition: all .25s var(--ease); }
.osp-term__opts button:hover { color: var(--text); border-color: var(--accent); }
.osp-term__opts button.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.osp-term__out { opacity: 0; transition: opacity .4s; }
.osp-term.is-done .osp-term__out { opacity: 1; }
.osp-term__cur { display: inline-block; width: .55em; height: 1.05em; margin-inline-start: .2em; background: var(--accent); vertical-align: -.15em; animation: osp-blink 1s steps(2) infinite; }
@keyframes osp-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .osp-term__cur { animation: none; } }
.osp-ft__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 2.5rem; padding-block: 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.osp-ft__brand p { color: var(--muted); max-width: 34ch; margin: 1.1rem 0 1.4rem; }
.osp-ft .osp-footer__col h3 { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 1.2rem; }
.osp-ft .osp-footer__menu a { color: var(--text); opacity: .85; transition: color .25s, opacity .25s, padding .3s var(--ease); display: inline-block; }
.osp-ft .osp-footer__menu a:hover { color: var(--accent); opacity: 1; padding-inline-start: .4rem; }
.osp-ft__time { display: flex; align-items: center; gap: .55rem; color: var(--muted); margin-top: .4rem; }
.osp-ft__time .osp-ico { width: 1.05em; height: 1.05em; color: var(--accent); }
.osp-ft__time b { font: 600 .95rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; color: var(--text); direction: ltr; unicode-bidi: isolate; }
.osp-ft .osp-footer__bottom { padding-block: 1.4rem; }
.osp-ft__word { position: relative; overflow: hidden; padding-inline: 2vw; line-height: .78; text-align: center; user-select: none; }
.osp-ft__word span { display: block; font: 800 15.2vw/1 var(--f-head); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); white-space: nowrap; background: linear-gradient(to top, var(--accent) var(--p, 0%), transparent var(--p, 0%)); -webkit-background-clip: text; background-clip: text; padding-block: .06em .02em; transform: translateY(5%); }
:lang(ar) .osp-ft__word { line-height: 1; } :lang(ar) .osp-ft__word span { font-size: 15vw; letter-spacing: 0; line-height: 1.5; transform: none; padding-block: .05em .12em; }
@media (max-width: 860px) { .osp-ft__cta { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .osp-ft__grid { grid-template-columns: 1fr 1fr; } .osp-ft__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
	.osp-ft__grid { grid-template-columns: 1fr; gap: 2rem; }
	.osp-ft__word span { -webkit-text-stroke-width: 1px; }
}

/* ==========================================================================
   Motion extras
   ========================================================================== */
.osp-panel { transform-origin: 50% 0; will-change: transform; transition: filter .2s linear; }
.osp-panel .osp-mockup { translate: 0 var(--py, 0px); }
.osp-marquee__track, .osp-ft__track { will-change: transform; }
.osp-wipe { clip-path: inset(0 0 100% 0 round 24px); opacity: .001; transition: clip-path 1s var(--ease), opacity .6s; }
.osp-rise { opacity: .001; translate: 0 28px; transition: opacity .7s, translate .8s var(--ease); }
.osp-rise.is-in { opacity: 1; translate: 0 0; }
.osp-wipe.is-in { clip-path: inset(0 0 0 0 round 24px); opacity: 1; }
.osp-hero .osp-live__win { translate: calc(var(--hx, 0) * -18px) calc(var(--hy, 0) * -14px); transition: translate .5s var(--ease); }
.osp-hero .osp-chip { translate: calc(var(--hx, 0) * 34px) calc(var(--hy, 0) * 26px); transition: translate .6s var(--ease); }
.osp-project, .osp-service { position: relative; }
.osp-project::after, .osp-service::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgba(var(--accent-rgb), .14), transparent 60%); }
.osp-project:hover::after, .osp-service:hover::after { opacity: 1; }
@media (max-width: 860px) { .osp-panel { transform: none !important; filter: none !important; } }
@media (prefers-reduced-motion: reduce) { .osp-rise { opacity: 1; translate: none; transition: none; } .osp-wipe { clip-path: none; opacity: 1; transition: none; } }


/* ---------- 404 snake ---------- */
.osp-snake { width: min(380px, 100%); margin: 0 auto 2rem; border: 1px solid var(--line-2); border-radius: 14px; background: #0b0a08; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(var(--accent-rgb), .5); font-family: ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; }
.osp-snake__bar { display: flex; align-items: center; gap: .45rem; padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); font-size: .72rem; color: var(--muted); }
.osp-snake__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a362e; }
.osp-snake__bar i:nth-child(1) { background: #ff5f57; } .osp-snake__bar i:nth-child(2) { background: #febc2e; } .osp-snake__bar i:nth-child(3) { background: #28c840; }
.osp-snake__bar span { margin-inline-start: .5rem; }
.osp-snake__bar b { margin-inline-start: auto; color: var(--accent); font-weight: 600; }
.osp-snake canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; touch-action: none; cursor: pointer; }
.osp-snake__hint { margin: 0; padding: .6rem; font-size: .72rem; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }


/* ---------- about text scrub ---------- */
.osp-prose-p[data-scrub] .osp-w { color: var(--muted-2, #5d574d); transition: color .35s var(--ease); }
.osp-prose-p[data-scrub] .osp-w.is-lit { color: var(--text); }

/* ---------- section rail (desktop) ---------- */
.osp-rail { position: fixed; inset-inline-end: 1.4rem; top: 50%; z-index: 90; display: grid; gap: .15rem; transform: translateY(-50%) translateX(14px); opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease); direction: ltr; }
[dir="rtl"] .osp-rail { transform: translateY(-50%) translateX(-14px); }
.osp-rail.is-show { opacity: 1; pointer-events: auto; transform: translateY(-50%); }
.osp-rail button { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; padding: .32rem 0; color: var(--muted); font: 600 .68rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; letter-spacing: .08em; }
.osp-rail__l { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font-family: var(--f-body, inherit); letter-spacing: 0; font-size: .78rem; color: var(--text); transition: max-width .4s var(--ease), opacity .3s; }
.osp-rail button:hover .osp-rail__l, .osp-rail button.is-on .osp-rail__l { max-width: 9rem; opacity: 1; }
.osp-rail__n::after { content: ""; display: inline-block; width: 14px; height: 1px; margin-inline-start: .5rem; vertical-align: middle; background: currentColor; transition: width .35s var(--ease), background .3s; }
.osp-rail button.is-on { color: var(--accent); }
.osp-rail button.is-on .osp-rail__n::after { width: 30px; background: var(--accent); }
.osp-rail button:hover { color: var(--text); }
@media (max-width: 1199px) { .osp-rail { display: none; } }


/* ---------- hero: scroll-linked exit + meta strip ---------- */
.osp-hero__meta { position: absolute; z-index: 2; inset-inline: 0; inset-block-end: 1.5rem; display: flex; justify-content: space-between; align-items: center; padding-inline: max(var(--gutter, 1.2rem), calc((100vw - var(--container, 1200px)) / 2)); font: 600 .72rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; pointer-events: none; }
.osp-hero__clock { display: inline-flex; align-items: center; gap: .55rem; }
.osp-hero__clock i { width: 7px; height: 7px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, .18); animation: osp-blink 2s ease-in-out infinite; }
.osp-hero__clock b { color: var(--text); font-weight: 600; }
.osp-hero__idx b { color: var(--accent); font-weight: 700; }
.osp-hero__idx em { font-style: normal; margin-inline-start: .5rem; }
@media (max-width: 700px) { .osp-hero__meta { inset-block-end: .9rem; font-size: .66rem; } .osp-hero__idx em { display: none; } }
@media (prefers-reduced-motion: reduce) { .osp-hero__inner, .osp-hero__visual { translate: none !important; scale: none !important; } }


/* ---------- phone performance: no big blurs, no backdrop filters, lighter animation ---------- */
@media (max-width: 900px) {
	.osp-orb { filter: blur(48px); animation: none; opacity: .4; }
	.osp-badge, .osp-chip, .osp-btn--ghost, .osp-live__win, .osp-term, .osp-snake { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
	.osp-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(var(--bg-rgb), .94); }
	.osp-panel, .osp-project, .osp-service { box-shadow: none; }
	.osp-hero::after { display: none; }
}


/* ---------- developer touch (remove with: add_filter( 'osp_dev_touch', '__return_false' ); ) ---------- */
.osp-dev { counter-reset: osp-sec; }
.osp-dev .osp-eyebrow::before { counter-increment: osp-sec; content: "// " counter(osp-sec, decimal-leading-zero); direction: ltr; unicode-bidi: bidi-override; width: auto; height: auto; background: none; font: 600 .95em ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; letter-spacing: 0; opacity: .75; }
.osp-gutter { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 5; width: 64px; overflow: hidden; pointer-events: none; direction: ltr; display: none; border-inline-end: 1px solid rgba(255,255,255,.035); }
.osp-gutter pre { margin: 0; padding-inline-end: 14px; text-align: right; font: 500 .72rem/24px ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; color: rgba(167, 159, 146, .42); will-change: transform; }
.osp-status { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 85; height: 24px; display: none; align-items: center; gap: 1.1rem; padding-inline: 14px; direction: ltr; background: #17140f; border-top: 1px solid var(--line); font: 500 .68rem ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace; color: var(--muted); letter-spacing: .02em; }
.osp-status b { color: var(--accent); font-weight: 600; }
.osp-status span:last-child { margin-inline-start: auto; }
.osp-status em { font-style: normal; color: #28c840; }
@media (min-width: 1360px) and (pointer: fine) {
	.osp-dev .osp-gutter { display: block; }
	.osp-dev .osp-status { display: flex; }
	.osp-dev .osp-wa { inset-block-end: 2.4rem; }
	.osp-dev.nav-open .osp-gutter, .osp-dev.nav-open .osp-status { display: none; }
}
@media print, (prefers-reduced-motion: reduce) { .osp-gutter pre { will-change: auto; } }


/* ---------- Live logo mark (footer): draw-in, sheen sweep, screen glow, rising code ---------- */
.osp-logo__mark--live { position: relative; width: 64px; height: 64px; overflow: visible; }
.osp-mark--live { overflow: visible; }
.osp-mark--live .osp-mark__fig { fill: var(--accent); }
.osp-mark--live .osp-mark__screen { fill: var(--accent); opacity: 0; }
.osp-mark--live .osp-mark__draw { fill: none; stroke: #fff; stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.osp-mark--live .osp-mark__sheen { opacity: 0; }
.osp-mark--live.is-live .osp-mark__draw { animation: osp-mark-draw 1.9s cubic-bezier(.6, 0, .2, 1) both; }
.osp-mark--live.is-live .osp-mark__screen { animation: osp-mark-screen 3.4s ease-in-out 1.2s infinite; }
.osp-mark--live.is-live .osp-mark__sheen { animation: osp-mark-sheen 4.6s ease-in-out 2s infinite; }
@keyframes osp-mark-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes osp-mark-screen { 0%, 100% { opacity: 0; } 45% { opacity: .34; } }
@keyframes osp-mark-sheen { 0% { opacity: 1; translate: 0 0; } 45%, 100% { opacity: 1; translate: 240px 0; } }
.osp-logo__mark--live::before, .osp-logo__mark--live::after {
	position: absolute; left: 50%; bottom: 62%; font: 700 .72rem/1 var(--f-mono, ui-monospace, monospace); color: var(--accent);
	opacity: 0; pointer-events: none; direction: ltr; unicode-bidi: bidi-override;
}
.osp-logo__mark--live::before { content: "</>"; margin-left: -1.4rem; }
.osp-logo__mark--live::after { content: "{ }"; margin-left: .2rem; }
.osp-logo__mark--live.is-live::before { animation: osp-code-up 3.6s ease-out 1.6s infinite; }
.osp-logo__mark--live.is-live::after { animation: osp-code-up 3.6s ease-out 3.2s infinite; }
@keyframes osp-code-up { 0% { opacity: 0; translate: 0 8px; } 18% { opacity: .9; } 100% { opacity: 0; translate: 0 -34px; } }
.osp-logo:hover .osp-mark--live .osp-mark__screen { opacity: .5; animation: none; }
.osp-logo:hover .osp-mark--live { animation: osp-mark-hop .5s var(--ease); }
@keyframes osp-mark-hop { 40% { translate: 0 -5px; scale: 1.06; } }
@media (prefers-reduced-motion: reduce) {
	.osp-mark--live .osp-mark__draw, .osp-mark--live .osp-mark__sheen, .osp-logo__mark--live::before, .osp-logo__mark--live::after { animation: none !important; }
}

/* ---------- About photo: orbiting glow, scan line, tilt, brackets, typed caption ---------- */
.osp-about__media { position: relative; isolation: isolate; }
.osp-about__orb {
	position: absolute; inset: -9% -7%; z-index: -1; border-radius: 40px; filter: blur(34px); opacity: .85;
	background: conic-gradient(from 0deg, rgba(var(--accent-rgb), .55), rgba(var(--glow-rgb), .05) 30%, rgba(var(--accent-rgb), .45) 55%, rgba(var(--glow-rgb), .05) 80%, rgba(var(--accent-rgb), .55));
	animation: osp-orb 14s linear infinite;
}
@keyframes osp-orb { to { rotate: 360deg; } }
.osp-about__tilt { transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.osp-about__frame { box-shadow: 0 30px 80px -30px rgba(var(--glow-rgb), .55), 0 0 0 1px rgba(var(--accent-rgb), .18); }
.osp-about__frame::before {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
	background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .16), transparent 60%);
}
.osp-about__tilt:hover .osp-about__frame::before { opacity: 1; }
.osp-about__photo { filter: contrast(1.05) saturate(1.06); image-rendering: -webkit-optimize-contrast; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.osp-about__tilt:hover .osp-about__photo { transform: scale(1.06); }
.osp-about__scan {
	position: absolute; inset-inline: 0; top: 0; height: 22%; z-index: 2; pointer-events: none;
	background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .22), transparent);
	border-bottom: 1px solid rgba(var(--accent-rgb), .55); translate: 0 -110%; animation: osp-scan 5.5s ease-in-out infinite;
}
@keyframes osp-scan { 0% { translate: 0 -110%; } 55%, 100% { translate: 0 480%; } }
.osp-about__corner { position: absolute; width: 26px; height: 26px; z-index: 3; border: 2px solid var(--accent); opacity: .9; pointer-events: none; }
.osp-about__corner--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.osp-about__corner--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.osp-about__corner--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.osp-about__corner--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.osp-about__term {
	position: absolute; z-index: 3; inset-inline: 14px; bottom: 14px; display: flex; align-items: center; gap: .35rem; padding: .55rem .8rem;
	border-radius: 12px; background: rgba(var(--bg-rgb), .72); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
	font: 500 .78rem/1 var(--f-mono, ui-monospace, monospace); color: var(--text);
}
.osp-about__term i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; flex: none; }
.osp-about__term b { width: 7px; height: 1.05em; background: var(--accent); animation: osp-blink 1s steps(2) infinite; }
@keyframes osp-blink { 50% { opacity: 0; } }
.osp-about__chip--1 { top: 8%; left: -9%; } .osp-about__chip--2 { top: 46%; right: -9%; animation-delay: -2s; } .osp-about__chip--3 { bottom: 16%; left: -7%; animation-delay: -4s; }
@media (max-width: 860px) {
	.osp-about__media { margin-inline: auto; width: min(100%, 380px); max-width: none; }
	.osp-about__tilt, .osp-about__frame { width: 100%; }
	.osp-about__chip--1 { left: -4%; } .osp-about__chip--2 { right: -4%; } .osp-about__chip--3 { left: -3%; }
	.osp-about__orb { filter: blur(24px); animation-duration: 22s; }
}
@media (prefers-reduced-motion: reduce) { .osp-about__orb, .osp-about__scan, .osp-about__term b { animation: none !important; } }

/* ---------- The <> mark: watermark that parts on scroll, cursor glyph, click burst ---------- */
.osp-about { position: relative; overflow: hidden; }
.osp-about__code {
	position: absolute; inset-inline: 0; top: 50%; translate: 0 -50%; z-index: 0; pointer-events: none; display: flex; justify-content: center; align-items: center;
	gap: clamp(.5rem, 3vw, 3rem); font: 800 clamp(14rem, 34vw, 32rem)/1 var(--f-mono, ui-monospace, monospace); color: transparent;
	-webkit-text-stroke: 1.5px rgba(var(--accent-rgb), .13); user-select: none; letter-spacing: -.04em;
}
.osp-about__code b { font-weight: 800; display: block; transition: translate .2s linear; translate: calc(var(--p, 0) * -1 * 14vw) 0; }
.osp-about__code b:last-child { translate: calc(var(--p, 0) * 14vw) 0; }
.osp-about__code i { font-style: normal; scale: calc(.7 + var(--p, 0) * .5); opacity: calc(.4 + var(--p, 0) * .6); rotate: calc(var(--p, 0) * 14deg); }
.osp-about__grid { position: relative; z-index: 1; }
.osp-cursor.is-link::after { content: "</>"; font: 700 .72rem var(--f-mono, ui-monospace, monospace); color: var(--accent); direction: ltr; unicode-bidi: bidi-override; }
.osp-cursor.is-view::after { content: none; }
.osp-burst { position: fixed; z-index: 9998; pointer-events: none; font: 700 1rem var(--f-mono, ui-monospace, monospace); color: var(--accent); direction: ltr; unicode-bidi: bidi-override; translate: -50% -50%; animation: osp-burst .8s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes osp-burst { to { opacity: 0; translate: calc(-50% + var(--bx)) calc(-50% + var(--by)); rotate: var(--br); } }

/* ---------- Phones: calm the About photo (no orbit, scan, chip bobbing or typed caption motion) ---------- */
@media (max-width: 900px) {
	.osp-about__orb { animation: none; opacity: .5; }
	.osp-about__scan { display: none; }
	.osp-about__chip { animation: none; }
	.osp-about__term b { animation: none; }
	.osp-about__tilt, .osp-about__photo { transition: none; }
	.osp-about__code { display: none; }
}

/* ---------- About: transparent cut-out portrait (warm halo, rim light, grounded shadow) ---------- */
.osp-about__frame--cut { background: radial-gradient(120% 70% at 50% 38%, rgba(var(--accent-rgb), .30), rgba(var(--glow-rgb), .10) 48%, var(--surface) 80%); }
.osp-about__frame--cut::before { background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 30%), rgba(var(--accent-rgb), .22), transparent 62%); }
.osp-about__frame--cut::after { background: linear-gradient(180deg, transparent 62%, rgba(var(--bg-rgb), .85)); }
.osp-about__frame--cut .osp-about__photo {
	object-fit: contain; object-position: 50% 100%; width: 92%; height: calc(100% - 62px); position: absolute; inset: auto 4% 56px 4%; transform: none;
	filter: drop-shadow(0 0 1.5px rgba(var(--accent-rgb), .75)) drop-shadow(0 18px 28px rgba(0, 0, 0, .55)); z-index: 1;
}
.osp-about__tilt:hover .osp-about__frame--cut .osp-about__photo { transform: translateY(-6px); transition: transform .8s var(--ease); }
.osp-about__frame--cut .osp-about__scan, .osp-about__frame--cut .osp-about__corner, .osp-about__frame--cut .osp-about__term { z-index: 3; }

/* ---------- Availability badge + About CTA row ---------- */
.osp-avail { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem; padding: .55rem .95rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(var(--accent-rgb), .07); font-size: .92rem; font-weight: 500; }
.osp-avail__dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: osp-ping 2s infinite; flex: none; }
@keyframes osp-ping { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.osp-about__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (prefers-reduced-motion: reduce) { .osp-avail__dot { animation: none; } }

/* ---------- Two paths: companies / business owners ---------- */
.osp-paths { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem); position: relative; z-index: 2; }
.osp-paths__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); }
.osp-path { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.5rem, 3.2vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden; transition: border-color .35s var(--ease), transform .35s var(--ease); }
.osp-path::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .16), transparent); pointer-events: none; }
.osp-path--client::before { inset: -40% auto auto -20%; }
.osp-path:hover { border-color: rgba(var(--accent-rgb), .45); transform: translateY(-3px); }
.osp-path__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(var(--accent-rgb), .3); background: rgba(var(--accent-rgb), .1); color: var(--accent); font-size: .82rem; font-weight: 600; }
.osp-path__tag .osp-ico { width: 16px; height: 16px; }
.osp-path__title { font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.25; letter-spacing: -.02em; }
.osp-path__text { color: var(--text); opacity: .82; line-height: 1.7; }
.osp-path__list { display: grid; gap: .6rem; margin: .2rem 0 .4rem; }
.osp-path__list li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.osp-path__list .osp-ico { flex: none; width: 18px; height: 18px; margin-top: .15em; color: var(--accent); }
.osp-path__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; padding-top: .6rem; }
.osp-path__mail { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; direction: ltr; align-self: flex-start; transition: color .25s; }
.osp-path__mail:hover { color: var(--accent); }
.osp-path__mail .osp-ico { width: 16px; height: 16px; }
@media (max-width: 860px) { .osp-paths__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page copy block (editor content under template sections)
   ========================================================================== */
.osp-container--wide-prose { max-width: 980px; }
.osp-extra { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--accent-rgb), .035), transparent 40%); }
.osp-extra__body { font-size: 1.04rem; color: var(--muted); }
.osp-extra__body > * + * { margin-top: 1.1em; }
.osp-extra__body p { max-width: 68ch; }
.osp-extra__body strong { color: var(--text); font-weight: 600; }

/* Section headings: accent tick + hairline */
.osp-extra__body h2 {
	position: relative; display: flex; align-items: center; gap: .8rem;
	margin: 0; margin-top: clamp(2.6rem, 5vw, 3.6rem); color: var(--text);
	font-size: clamp(1.35rem, 2.6vw, 1.85rem); letter-spacing: -.015em;
}
.osp-extra__body h2::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .14); }
.osp-extra__body > h2:first-child { margin-top: 0; }
.osp-extra__body h2 + * { margin-top: 1.1rem; }
:lang(ar) .osp-extra__body h2 { letter-spacing: 0; }

/* Question rows (h3 + answer) */
.osp-extra__body h3 {
	margin: 0; margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line);
	font-size: 1.12rem; color: var(--text); letter-spacing: -.005em;
}
.osp-extra__body h3 + p { margin-top: .5rem; }
:lang(ar) .osp-extra__body h3 { letter-spacing: 0; }

/* Card lists */
.osp-extra__body ul {
	list-style: none; padding: 0; margin-top: 1.3rem;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem;
}
.osp-extra__body ul li {
	position: relative; margin: 0; padding: 1.15rem 1.25rem 1.2rem; min-width: 0;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
	transition: border-color .35s var(--ease), transform .35s var(--ease), background .35s;
	line-height: 1.6; font-size: .98rem;
}
.osp-extra__body ul li:hover { border-color: rgba(var(--accent-rgb), .45); transform: translateY(-2px); background: var(--surface-2); }
.osp-extra__body ul li > a:first-child {
	display: block; margin-bottom: .35rem; text-decoration: none;
	font: 600 1.08rem var(--f-head); color: var(--text); transition: color .25s;
}
.osp-extra__body ul li > a:first-child::after { content: " \2197"; color: var(--accent); font-size: .9em; }
[dir="rtl"] .osp-extra__body ul li > a:first-child::after { content: " \2196"; }
.osp-extra__body ul li > a:first-child:hover { color: var(--accent); }
.osp-extra__body li::marker { content: none; }

/* Numbered steps */
.osp-extra__body ol { list-style: none; padding: 0; margin-top: 1.3rem; display: grid; gap: .8rem; counter-reset: osp-step; }
.osp-extra__body ol li {
	counter-increment: osp-step; position: relative; margin: 0; min-width: 0;
	padding: 1rem 1.25rem; padding-inline-start: 4.2rem;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.6;
}
.osp-extra__body ol li::before {
	content: counter(osp-step); position: absolute; inset-inline-start: 1.1rem; inset-block-start: 50%; transform: translateY(-50%);
	display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
	background: rgba(var(--accent-rgb), .14); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .4);
	font: 700 .95rem var(--f-head);
}

/* Inline links + images */
.osp-extra__body p a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(var(--accent-rgb), .4); text-underline-offset: 4px; transition: text-decoration-color .25s; }
.osp-extra__body p a:hover { text-decoration-color: var(--accent); }
.osp-extra__body figure { margin: 1.8rem 0 0; }
.osp-extra__body figure img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }

@media (max-width: 720px) {
	.osp-extra__body ul { grid-template-columns: 1fr; }
	.osp-extra__body ol li { padding-inline-start: 3.7rem; }
}
