/* ============================================================
   Super Coding Redesign — main.css
   Dark, RTL-first agency theme. Token-driven; one system.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
ul { list-style: none; }

/* ---------- Design tokens ---------- */
:root {
	--bg:          #08080B;
	--bg-2:        #0A0A0D;
	--bg-3:        #0B0B0F;
	--panel:       #0E0E13;
	--panel-2:     #131318;
	--panel-3:     #101015;
	--hair:        #1C1C22;
	--border:      #1F1F27;
	--border-2:    #23232B;
	--border-3:    #2A2A33;

	--text:        #EDECEF;
	--text-2:      #DAD9DF;
	--muted:       #A6A5AF;
	--muted-2:     #8E8D98;
	--muted-3:     #6E6D78;
	--muted-4:     #4E4D58;

	--accent:      #7C4DE0;
	--accent-2:    #5722AD;
	--accent-3:    #6B34C9;
	--accent-lt:   #B79BF2;
	--accent-lt-2: #C6ABF5;
	--accent-panel:#17121F;
	--accent-brd:  #2C2340;
	--accent-brd-2:#4A2E86;
	--ok:          #3ED66A;

	--grad-accent: linear-gradient(180deg, #6B34C9, #5722AD);
	--grad-mark:   linear-gradient(150deg, #7C4DE0, #5722AD);
	--grad-card:   linear-gradient(155deg, #3A1E77, #1B1130);
	--grad-text:   linear-gradient(100deg, #B79BF2, #7C4DE0);

	--r-xs: 7px;
	--r-sm: 10px;
	--r:    12px;
	--r-md: 14px;
	--r-lg: 18px;
	--r-xl: 20px;
	--r-pill: 999px;

	--shadow-card: 0 26px 60px -30px rgba(124,77,224,.55), inset 0 1px 0 rgba(255,255,255,.06);
	--shadow-glow: 0 12px 34px -12px rgba(124,77,224,.85);
	--card-inset:  inset 0 1px 0 rgba(255,255,255,.04);

	--maxw: 1400px;
	--pad-x: clamp(16px, 4vw, 56px);
	--sec-y: clamp(58px, 8vw, 120px);

	/* Fonts — default Latin; overridden for Arabic below. */
	--fd:   'Space Grotesk', sans-serif;   /* display / headings */
	--fb:   'Space Grotesk', sans-serif;   /* body */
	--fnum: 'Space Grotesk', sans-serif;   /* Latin numerals / brand — never flips */
	--fmono:'JetBrains Mono', monospace;   /* kickers / meta */
}

/* Arabic (RTL) uses IBM Plex Sans Arabic for display + body. */
[dir="rtl"], :lang(ar) {
	--fd: 'IBM Plex Sans Arabic', sans-serif;
	--fb: 'IBM Plex Sans Arabic', sans-serif;
}

/* ---------- Base ---------- */
body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--fb);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2A2A33; border-radius: 99px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; inset-inline-start: -9999px; z-index: 100; }
.skip-link:focus {
	inset-inline-start: 12px; top: 12px; background: var(--accent); color: #fff;
	padding: 10px 16px; border-radius: var(--r);
}

/* ---------- Keyframes (ported) ---------- */
@keyframes scz-marq  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scz-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.65); } }
@keyframes scz-glow  { 0%,100% { opacity: .55; transform: translate(-50%,-50%) scale(1); } 50% { opacity: .9; transform: translate(-50%,-50%) scale(1.15); } }
@keyframes scz-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes scz-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes scz-bar   { 0%,100% { transform: scaleY(.72); } 50% { transform: scaleY(1); } }
@keyframes scz-draw  { to { stroke-dashoffset: 0; } }
@keyframes scz-fade  { to { opacity: 1; } }
@keyframes scz-ping  { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Layout ---------- */
.sc-wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.sc-section { padding-block: var(--sec-y); }
.sc-section--alt { background: var(--bg-2); border-top: 1px solid var(--hair); }

/* Section eyebrow row: [ 0N ] KICKER ————— */
.sc-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(22px, 3vw, 40px); }
.sc-eyebrow__num { font-family: var(--fmono); font-size: 12.5px; color: var(--accent); }
.sc-eyebrow__label { font-family: var(--fmono); font-size: 11.5px; color: var(--muted-3); letter-spacing: 2.5px; text-transform: uppercase; }
.sc-eyebrow__rule { flex: 1; height: 1px; background: var(--hair); }

.sc-sec-title {
	font-family: var(--fd); font-weight: 700;
	font-size: clamp(28px, 4.6vw, 58px); line-height: 1.1; letter-spacing: -.5px;
}
.sc-sec-title em, .sc-grad,
.sc-hero__title em, .sc-about__title em, .sc-cta__title em {
	font-style: normal;
	background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.sc-lead { font-size: clamp(15px, 1.6vw, 17.5px); line-height: 1.85; color: var(--muted); }

/* ---------- Primitives: buttons / pills / chips ---------- */
.sc-btn {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 15px; font-weight: 600; text-decoration: none;
	padding: 15px 26px; border-radius: var(--r); border: 1px solid transparent;
	transition: transform .3s, box-shadow .3s, filter .3s, background .3s, border-color .3s, color .3s;
}
.sc-btn--primary { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-glow); }
.sc-btn--primary:hover { filter: brightness(1.12); transform: translateY(-2px); }
.sc-btn--ghost { background: var(--panel-2); color: var(--text); border-color: var(--border-3); }
.sc-btn--ghost:hover { background: #1C1C24; border-color: #3A3A45; }
.sc-btn--sm { padding: 12px 20px; font-size: 14px; border-radius: 11px; }
.sc-btn .sc-arrow::after { content: "←"; }
:lang(sv) .sc-btn .sc-arrow::after, [dir="ltr"] .sc-btn .sc-arrow::after { content: "→"; }

.sc-pill {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--panel-3); border: 1px solid var(--border-2); border-radius: var(--r-pill);
	padding: 8px 16px;
	font-family: var(--fmono); font-size: 11.5px; letter-spacing: .5px; color: var(--muted);
}
.sc-chip {
	font-family: var(--fmono); font-size: 11px; color: var(--accent-lt);
	background: var(--accent-panel); border: 1px solid var(--accent-brd); border-radius: 8px;
	padding: 6px 12px; display: inline-block;
}
.sc-icon-box {
	width: 52px; height: 52px; flex-shrink: 0;
	border-radius: var(--r); background: var(--accent-panel); border: 1px solid var(--accent-brd);
	display: flex; align-items: center; justify-content: center; color: var(--accent-lt);
}
.sc-icon-box--sm { width: 44px; height: 44px; }
.sc-icon-box i, .sc-icon-box svg { width: 24px; height: 24px; }

/* ---------- Card ---------- */
.sc-card {
	background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg);
	box-shadow: var(--card-inset);
	transition: border-color .35s, transform .35s, box-shadow .35s;
}
.sc-card--hover:hover { border-color: var(--accent-brd-2); transform: translateY(-6px); box-shadow: var(--shadow-card); }
.sc-card--accent {
	background: var(--grad-card); border-color: var(--accent-brd-2);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.sc-card--accent.sc-card--hover:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -30px rgba(124,77,224,.7); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.sc-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(8,8,11,.72);
	backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid var(--hair);
	transition: transform .38s cubic-bezier(.16,.84,.44,1), box-shadow .3s;
	will-change: transform;
}
.sc-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.55); }
.sc-header.is-hidden { transform: translateY(-100%); }
.sc-header__inner {
	max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x);
	height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 22px;
}

.sc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex-shrink: 0; }
.sc-logo__mark {
	width: 32px; height: 32px; border-radius: 9px; background: var(--grad-mark);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 22px -4px rgba(124,77,224,.75);
	font-family: var(--fmono); color: #fff; font-size: 17px; font-weight: 700;
}
.sc-logo__mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.sc-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.sc-logo__name { font-family: var(--fnum); font-size: 17px; font-weight: 700; letter-spacing: .3px; }
.sc-logo__sub  { font-family: var(--fmono); font-size: 8.5px; letter-spacing: 2.5px; color: var(--muted-3); text-transform: uppercase; }

.sc-nav {
	display: flex; align-items: center; gap: 6px;
	background: var(--panel-3); border: 1px solid #1F1F27; border-radius: var(--r-pill); padding: 5px;
}
.sc-nav li { display: flex; }
.sc-nav a {
	text-decoration: none; color: var(--muted-2); font-size: 13.5px; font-weight: 500;
	padding: 8px 15px; border-radius: var(--r-pill); transition: background .2s, color .2s;
}
.sc-nav a:hover { background: #1C1C24; color: var(--accent-lt); }
.sc-nav .current-menu-item > a, .sc-nav a[aria-current="page"], .sc-nav .active > a, .sc-nav a.active {
	color: var(--text); background: #1C1C24;
}

.sc-nav-end { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Polylang language pills */
.sc-lang { display: flex; align-items: center; border: 1px solid #26262F; border-radius: var(--r-pill); overflow: hidden; font-family: var(--fmono); font-size: 11px; }
.sc-lang a, .sc-lang span { padding: 6px 10px; color: var(--muted-3); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; transition: background .2s, color .2s; }
.sc-lang .is-current, .sc-lang a:hover { background: var(--accent); color: #fff; }

.sc-header__cta {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--grad-accent); color: #fff; text-decoration: none;
	font-size: 13.5px; font-weight: 600; padding: 10px 18px; border-radius: var(--r-pill);
	box-shadow: 0 8px 26px -10px rgba(124,77,224,.85); transition: filter .3s, transform .3s;
}
.sc-header__cta:hover { filter: brightness(1.12); transform: translateY(-1px); }

.sc-burger {
	display: none; width: 40px; height: 40px; border: 1px solid #26262F; border-radius: 11px;
	background: var(--panel-3); flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.sc-burger span { width: 17px; height: 1.6px; background: var(--text); display: block; transition: transform .3s, opacity .3s; }
.sc-burger.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.sc-burger.is-open span:nth-child(2) { opacity: 0; }
.sc-burger.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile drawer */
.sc-drawer {
	display: none; position: fixed; inset: 70px 0 0 0; z-index: 55;
	background: var(--bg); padding: 30px clamp(18px, 6vw, 40px); flex-direction: column; gap: 4px;
	overflow-y: auto;
}
.sc-drawer.is-open { display: flex; }
.sc-drawer a {
	text-decoration: none; color: var(--text); font-family: var(--fd); font-weight: 600;
	font-size: 27px; padding: 14px 0; border-bottom: 1px solid var(--hair);
}
.sc-drawer .sc-drawer__cta {
	margin-top: 20px; text-align: center; background: var(--grad-accent); color: #fff;
	font-weight: 600; padding: 16px; border-radius: var(--r-md); border: none;
}

/* ============================================================
   HERO
   ============================================================ */
.sc-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--hair); }
.sc-hero__dots {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px); background-size: 34px 34px;
	-webkit-mask-image: radial-gradient(ellipse 72% 82% at 68% 42%, #000, transparent 78%);
	        mask-image: radial-gradient(ellipse 72% 82% at 68% 42%, #000, transparent 78%);
}
.sc-hero__glow {
	position: absolute; top: 16%; inset-inline-start: 54%;
	width: min(720px, 84vw); height: min(720px, 84vw);
	background: radial-gradient(circle, rgba(124,77,224,.26), rgba(124,77,224,0) 62%);
	filter: blur(34px); animation: scz-glow 8s ease-in-out infinite; pointer-events: none;
}
.sc-hero__inner {
	position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto;
	padding: clamp(40px,5.5vw,88px) var(--pad-x) clamp(54px,7vw,104px);
	display: flex; flex-wrap: wrap; gap: clamp(40px,5vw,72px); align-items: center;
}
.sc-hero__col { flex: 1 1 430px; min-width: 290px; }
.sc-hero__badge { margin-bottom: clamp(22px,3vw,34px); padding: 8px 16px; }
.sc-hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 1px rgba(124,77,224,.9); animation: scz-pulse 2.2s ease-in-out infinite; }
.sc-hero__badge .sep { width: 1px; height: 13px; background: #2C2C35; }
.sc-hero__badge .est { color: var(--muted-3); }

.sc-hero__title { font-family: var(--fd); font-weight: 700; font-size: clamp(40px,6vw,86px); line-height: 1.03; letter-spacing: -1px; margin-bottom: clamp(20px,2.6vw,30px); }
.sc-hero__title .line { display: block; }
.sc-hero__desc { max-width: 520px; font-size: clamp(15px,1.7vw,18px); line-height: 1.72; color: var(--muted); margin-bottom: clamp(26px,3vw,36px); }
.sc-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(30px,3.5vw,44px); }

.sc-hero__stats { display: flex; flex-wrap: wrap; gap: clamp(18px,3vw,42px); border-top: 1px solid var(--hair); padding-top: clamp(20px,2.4vw,28px); }
.sc-hstat { display: flex; align-items: center; gap: 12px; }
.sc-hstat__icon { color: var(--accent-lt); display: flex; }
.sc-hstat__num { font-family: var(--fnum); font-weight: 700; font-size: clamp(22px,2.4vw,28px); line-height: 1; }
.sc-hstat__num .u { font-size: .55em; color: #7C7B85; }
.sc-hstat__label { font-family: var(--fmono); font-size: 10.5px; color: var(--muted-3); letter-spacing: .5px; margin-top: 5px; }

/* Hero app-window mock */
.sc-hero__mock { flex: 1 1 430px; min-width: 300px; position: relative; }
.sc-float {
	position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
	background: var(--panel-2); border: 1px solid var(--border-3); border-radius: var(--r-md);
	padding: 10px 13px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); animation: scz-float 4.6s ease-in-out infinite;
}
.sc-float--deploy { top: -18px; inset-inline-start: -14px; }
.sc-float--users  { top: -16px; inset-inline-end: -12px; animation-duration: 5s; animation-delay: .5s; }
.sc-float--rating { bottom: -16px; inset-inline-end: 14px; animation-duration: 4.6s; animation-delay: .8s; }
.sc-float__ok { width: 30px; height: 30px; border-radius: 8px; background: rgba(40,200,64,.12); border: 1px solid rgba(40,200,64,.32); display: flex; align-items: center; justify-content: center; color: var(--ok); }
.sc-float__mono { font-family: var(--fmono); font-size: 11px; color: var(--text); }
.sc-float__mono small { display: block; font-size: 10px; color: var(--muted-3); }
.sc-float__avatars { display: flex; }
.sc-float__avatars span { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--panel-2); }
.sc-float__avatars span + span { margin-inline-start: -8px; }
.sc-window { position: relative; z-index: 2; background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--r-lg); box-shadow: 0 50px 100px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(124,77,224,.05); overflow: hidden; }
.sc-window__bar { display: flex; align-items: center; gap: 8px; padding: 13px 15px; border-bottom: 1px solid var(--hair); background: var(--bg-3); }
.sc-window__bar .d { width: 11px; height: 11px; border-radius: 50%; }
.sc-window__url { flex: 1; text-align: center; }
.sc-window__url span { font-family: var(--fmono); font-size: 10.5px; color: #5C5B66; background: var(--panel-2); border: 1px solid #24242C; border-radius: var(--r-xs); padding: 4px 16px; }
.sc-window__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.sc-window__card { background: var(--bg-3); border: 1px solid var(--hair); border-radius: var(--r); padding: 14px; }
.sc-window__stats { display: flex; gap: 10px; }
.sc-window__stat { flex: 1; background: var(--bg-3); border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 11px 12px; display: flex; flex-direction: column; gap: 5px; }
.sc-window__stat b { font-family: var(--fnum); font-weight: 700; font-size: 16px; color: var(--text); }
.sc-window__stat span { font-family: var(--fmono); font-size: 9.5px; color: var(--muted-3); }
.sc-window__stat .up { color: var(--ok); }

/* ============================================================
   MARQUEE
   ============================================================ */
.sc-marquee { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); overflow: hidden; padding: 16px 0; background: var(--bg-3); }
.sc-marquee__track { display: flex; width: max-content; animation: scz-marq 28s linear infinite; will-change: transform; }
.sc-marquee__group { display: flex; align-items: center; }
.sc-marquee__item { font-family: var(--fnum); font-weight: 500; font-size: clamp(18px,2.2vw,28px); color: #E8E7EC; padding: 0 26px; white-space: nowrap; }
.sc-marquee__star { color: var(--accent); }

/* ============================================================
   ABOUT
   ============================================================ */
.sc-about__head { max-width: 900px; margin-bottom: clamp(34px,4.5vw,56px); }
.sc-about__title { font-family: var(--fd); font-weight: 700; font-size: clamp(29px,4.6vw,58px); line-height: 1.14; letter-spacing: -.6px; margin-bottom: 24px; }
.sc-about__title .muted { color: var(--muted-3); }
.sc-about__body { font-size: clamp(15px,1.6vw,17.5px); line-height: 1.85; color: var(--muted); max-width: 64ch; }
.sc-about__body p { margin-bottom: 1em; }
.sc-grid-auto { display: grid; gap: clamp(14px,1.6vw,20px); }
.sc-about__principles { grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); margin-bottom: clamp(14px,1.6vw,20px); }
.sc-about__kpis { grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.sc-princ { padding: clamp(24px,2.6vw,32px); display: flex; flex-direction: column; gap: 14px; }
.sc-princ h3 { font-family: var(--fd); font-size: 20px; font-weight: 600; }
.sc-princ p { font-size: 14px; line-height: 1.7; color: var(--muted-2); }
.sc-kpi { padding: clamp(24px,2.8vw,34px); }
.sc-kpi__icon { display: flex; color: var(--accent); margin-bottom: 18px; }
.sc-kpi__icon i, .sc-kpi__icon svg { width: 28px; height: 28px; }
.sc-kpi__num { font-family: var(--fnum); font-weight: 700; font-size: clamp(36px,4.6vw,58px); line-height: 1; }
.sc-kpi__label { font-family: var(--fmono); font-size: 11.5px; color: var(--muted-3); margin-top: 12px; }
.sc-kpi--accent .sc-kpi__icon { color: var(--accent-lt-2); }
.sc-kpi--accent .sc-kpi__num { color: var(--accent-lt-2); }
.sc-kpi--accent .sc-kpi__label { color: #9E86D0; }

/* ============================================================
   SERVICES
   ============================================================ */
.sc-services__title { max-width: 17ch; margin-bottom: clamp(30px,4vw,52px); }
.sc-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: clamp(14px,1.6vw,22px); }
.sc-svc { padding: clamp(26px,2.6vw,34px); display: flex; flex-direction: column; gap: 16px; }
.sc-svc__top { display: flex; align-items: center; justify-content: space-between; }
.sc-svc__num { font-family: var(--fmono); font-size: 13px; color: var(--accent); }
.sc-svc__title { font-family: var(--fd); font-size: clamp(21px,2.2vw,27px); font-weight: 600; }
.sc-svc__desc { font-size: 14px; line-height: 1.7; color: var(--muted-2); flex: 1; }
.sc-svc__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-svc--cta { text-decoration: none; justify-content: space-between; min-height: 230px; }
.sc-svc--cta .sc-icon-box { background: rgba(255,255,255,.08); border-color: #6B4CB0; color: #fff; border-radius: var(--r-md); }
.sc-svc--cta h3 { font-family: var(--fd); font-size: clamp(21px,2.2vw,27px); font-weight: 700; color: #fff; margin-bottom: 10px; }
.sc-svc--cta p { font-size: 14px; line-height: 1.65; color: #D3C7F0; }
.sc-svc--cta .sc-svc__go { font-family: var(--fb); font-size: 14.5px; font-weight: 600; color: #fff; }

/* ============================================================
   PROCESS
   ============================================================ */
.sc-process__title { max-width: 17ch; margin-bottom: clamp(38px,5vw,64px); }
.sc-process__list { position: relative; }
.sc-process__spine { position: absolute; inset-inline-start: 23px; top: 14px; bottom: 40px; width: 2px; background: linear-gradient(180deg, #7C4DE0, #4A2E86 55%, #1F1F27); z-index: 0; }
.sc-step { position: relative; z-index: 1; display: flex; gap: clamp(16px,2.4vw,26px); align-items: flex-start; padding-bottom: clamp(14px,1.8vw,20px); }
.sc-step__num { width: 48px; height: 48px; flex-shrink: 0; margin-top: 4px; border-radius: 50%; background: var(--panel); border: 1px solid var(--accent-brd); color: var(--accent-lt); font-family: var(--fmono); font-size: 14px; display: flex; align-items: center; justify-content: center; }
.sc-step__card { flex: 1; min-width: 0; padding: clamp(20px,2.2vw,28px); display: flex; flex-direction: column; gap: 12px; }
.sc-step__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sc-step__title { font-family: var(--fd); font-size: clamp(20px,2.4vw,27px); font-weight: 600; color: var(--text); }
.sc-step__spacer { flex: 1; }
.sc-step__dur { font-family: var(--fmono); font-size: 11px; color: var(--muted-3); background: var(--panel-2); border: 1px solid #262630; border-radius: 8px; padding: 5px 11px; }
.sc-step__desc { font-size: 14.5px; line-height: 1.7; color: var(--muted-2); max-width: 70ch; }

/* ============================================================
   WORK
   ============================================================ */
.sc-head-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(30px,4vw,52px); }
.sc-head-row .sc-eyebrow { margin-bottom: 20px; }
.sc-link-btn { text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; background: var(--panel-2); border: 1px solid var(--border-3); padding: 12px 20px; border-radius: 11px; transition: border-color .3s, color .3s; white-space: nowrap; }
.sc-link-btn:hover { border-color: var(--accent-brd-2); color: var(--accent-lt); }
.sc-work__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: clamp(14px,1.6vw,22px); }
.sc-proj { text-decoration: none; color: inherit; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 14px; transition: border-color .35s, transform .35s; }
.sc-proj:hover { border-color: var(--accent-brd-2); transform: translateY(-6px); }
.sc-proj--featured { grid-column: span 2; grid-row: span 2; padding: 16px; }
.sc-proj__thumb { aspect-ratio: 16/11; border: 1px solid var(--border-2); border-radius: var(--r); position: relative; overflow: hidden; background: repeating-linear-gradient(135deg, #121218 0 2px, #0C0C10 2px 13px); display: flex; align-items: center; justify-content: center; }
.sc-proj--featured .sc-proj__thumb { flex: 1; min-height: 240px; border-radius: var(--r-md); }
.sc-proj__thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(124,77,224,.18), transparent 55%); }
.sc-proj__thumb img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.sc-proj__thumb svg { position: relative; z-index: 1; width: 100%; height: 100%; }
.sc-proj__ph { font-family: var(--fmono); font-size: 11px; color: var(--muted-4); letter-spacing: 1px; }
.sc-proj__badge { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; font-family: var(--fmono); font-size: 10px; color: #C0AAEE; background: #1B1130; border: 1px solid var(--accent-brd-2); border-radius: var(--r-xs); padding: 5px 11px; }
.sc-proj__row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-inline: 4px; }
.sc-proj--featured .sc-proj__row { margin-top: 18px; padding-inline: 6px; }
.sc-proj__title { font-family: var(--fnum); font-size: clamp(18px,2vw,23px); font-weight: 600; }
.sc-proj--featured .sc-proj__title { font-size: clamp(24px,2.8vw,34px); }
.sc-proj__year { font-family: var(--fmono); font-size: 11px; color: var(--muted-3); }
.sc-proj__cat { font-size: 13px; color: var(--muted-2); margin-top: 4px; padding-inline: 4px; padding-bottom: 4px; }
.sc-proj--featured .sc-proj__cat { font-size: 14px; margin-top: 6px; padding-inline: 6px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.sc-testi__title { max-width: 16ch; margin-bottom: clamp(34px,4.5vw,54px); }
.sc-testi__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: clamp(14px,1.6vw,20px); }
.sc-testi__card { padding: clamp(26px,2.6vw,30px); display: flex; flex-direction: column; gap: 18px; }
.sc-testi__card--wide { grid-column: span 2; padding: clamp(26px,2.6vw,38px); gap: 22px; }
.sc-testi__stars { display: flex; gap: 4px; color: var(--accent-lt); font-size: 15px; letter-spacing: 1px; }
.sc-testi__card--wide .sc-testi__stars { font-size: 18px; }
.sc-testi__quote { font-family: var(--fd); font-weight: 500; font-size: clamp(16px,1.8vw,19px); line-height: 1.5; letter-spacing: -.2px; color: var(--text-2); flex: 1; }
.sc-testi__card--wide .sc-testi__quote { font-size: clamp(20px,2.4vw,30px); }
.sc-testi__foot { display: flex; align-items: center; gap: 12px; }
.sc-testi__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-panel); border: 1px solid var(--accent-brd); display: flex; align-items: center; justify-content: center; font-family: var(--fnum); color: var(--accent-lt); font-size: 17px; font-weight: 600; flex-shrink: 0; }
.sc-testi__name { display: block; font-weight: 600; font-size: 14px; }
.sc-testi__role { display: block; font-size: 12px; color: var(--muted-3); }

/* ============================================================
   BLOG
   ============================================================ */
.sc-blog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: clamp(14px,1.6vw,22px); }
.sc-post { overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.sc-post__thumb { aspect-ratio: 16/10; border-bottom: 1px solid var(--hair); position: relative; overflow: hidden; background: repeating-linear-gradient(135deg, #121218 0 2px, #0C0C10 2px 13px); display: flex; align-items: center; justify-content: center; }
.sc-post__thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 72% 22%, rgba(124,77,224,.18), transparent 55%); }
.sc-post__thumb img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.sc-post__thumb svg { position: relative; z-index: 1; width: 100%; height: 100%; }
.sc-post__ph { font-family: var(--fmono); font-size: 10.5px; color: var(--muted-4); letter-spacing: 1px; }
.sc-post__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sc-post__meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-family: var(--fmono); font-size: 10.5px; color: var(--muted-3); }
.sc-post__cat { color: var(--accent-lt); background: var(--accent-panel); border: 1px solid var(--accent-brd); border-radius: var(--r-xs); padding: 3px 9px; }
.sc-post__dot { color: #3A3A45; }
.sc-post__title { font-family: var(--fd); font-size: clamp(19px,2vw,23px); font-weight: 600; line-height: 1.3; }
.sc-post__excerpt { font-size: 13.5px; line-height: 1.65; color: var(--muted-2); flex: 1; }
.sc-post__more { font-family: var(--fmono); font-size: 13px; color: var(--accent-lt); font-weight: 500; margin-top: 2px; }

/* ============================================================
   CTA
   ============================================================ */
.sc-cta { position: relative; overflow: hidden; border-top: 1px solid var(--hair); }
.sc-cta__glow { position: absolute; top: 50%; inset-inline-start: 50%; width: min(900px,90vw); height: min(600px,60vw); background: radial-gradient(circle, rgba(124,77,224,.32), rgba(124,77,224,0) 60%); filter: blur(30px); animation: scz-glow 8s ease-in-out infinite; pointer-events: none; }
.sc-cta__inner { position: relative; max-width: 1000px; margin-inline: auto; padding: clamp(70px,10vw,150px) var(--pad-x); text-align: center; }
.sc-cta__badge { margin-bottom: clamp(26px,3.5vw,40px); background: var(--panel-3); border: 1px solid var(--accent-brd); padding: 7px 15px; }
.sc-cta__badge span { font-family: var(--fmono); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-lt); }
.sc-cta__title { font-family: var(--fd); font-weight: 700; font-size: clamp(38px,7.5vw,96px); line-height: 1.05; letter-spacing: -1px; max-width: 15ch; margin: 0 auto clamp(30px,4vw,46px); }
.sc-cta__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.sc-cta__actions .sc-btn { padding: 17px 34px; font-size: 15.5px; border-radius: 13px; }
.sc-cta__actions .sc-btn--primary { box-shadow: 0 16px 44px -14px rgba(124,77,224,.9); }

/* ============================================================
   FOOTER
   ============================================================ */
.sc-footer { position: relative; border-top: 1px solid var(--hair); background: var(--bg-2); overflow: hidden; }
.sc-footer__glow { position: absolute; top: -45%; inset-inline-start: 50%; width: min(900px,92vw); height: min(520px,52vw); transform: translateX(-50%); background: radial-gradient(circle, rgba(124,77,224,.10), transparent 65%); pointer-events: none; }
.sc-footer__inner { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto; padding: clamp(56px,7vw,96px) var(--pad-x) 26px; }

/* top: brand + newsletter */
.sc-footer__top { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px,5vw,72px); padding-bottom: clamp(38px,4.5vw,58px); border-bottom: 1px solid var(--hair); align-items: start; }
.sc-footer__brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.sc-footer__brand-row .sc-logo__mark { box-shadow: 0 0 24px -6px rgba(124,77,224,.6); }
.sc-footer__brand-name { font-family: var(--fnum); font-size: 21px; font-weight: 700; }
.sc-footer__desc { font-size: 14.5px; line-height: 1.75; color: var(--muted-2); max-width: 400px; }
.sc-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sc-footer__social a { width: 42px; height: 42px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border-3); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: transform .25s, background .25s, border-color .25s, color .25s; }
.sc-footer__social a:hover { transform: translateY(-3px); background: var(--accent-panel); border-color: var(--accent-brd-2); color: var(--accent-lt); }
.sc-footer__social svg { width: 19px; height: 19px; }

.sc-footer__news { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px,2.6vw,32px); box-shadow: var(--card-inset); }
.sc-footer__news h4 { font-family: var(--fd); font-size: clamp(18px,2vw,22px); font-weight: 700; margin-bottom: 8px; }
.sc-footer__news p { font-size: 13px; color: var(--muted-2); line-height: 1.6; margin-bottom: 18px; }
.sc-footer__news form { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-footer__news input { flex: 1 1 170px; background: var(--bg-3); border: 1px solid #26262F; border-radius: var(--r); padding: 13px 15px; color: var(--text); font-family: var(--fb); font-size: 14px; outline: none; }
.sc-footer__news input:focus { border-color: var(--accent); }
.sc-footer__news button { border: 0; white-space: nowrap; }
.sc-footer__news .ss-form-feedback { flex-basis: 100%; }

/* link columns */
.sc-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: clamp(24px,4vw,48px); padding-block: clamp(36px,4.5vw,54px); }
.sc-footer__col h4 { font-family: var(--fmono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: #5C5B66; margin-bottom: 18px; }
.sc-footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.sc-footer__col a { text-decoration: none; color: var(--muted); font-size: 14px; transition: color .2s; }
.sc-footer__col a:hover { color: var(--accent-lt); }
.sc-footer__contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); }
.sc-footer__contact li { display: flex; align-items: center; gap: 10px; }
.sc-footer__contact li > a { text-decoration: none; color: inherit; }
.sc-footer__contact li > a:hover { color: var(--accent-lt); }
.sc-footer__contact .ic { color: var(--accent-lt); display: flex; flex-shrink: 0; }
.sc-footer__contact .ic svg, .sc-footer__contact .ic i { width: 16px; height: 16px; }

/* giant watermark wordmark */
.sc-footer__giant { font-family: var(--fnum); font-weight: 700; font-size: clamp(44px,14.5vw,208px); line-height: .9; letter-spacing: -3px; text-align: center; white-space: nowrap; color: #0F0F15; -webkit-text-stroke: 1px #1B1B23; user-select: none; padding-top: clamp(20px,3vw,40px); margin-bottom: -.14em; overflow: hidden; }

/* bottom bar */
.sc-footer__bottom { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--hair); }
.sc-footer__rights { font-family: var(--fmono); font-size: 11.5px; color: #5C5B66; }
.sc-footer__made { font-family: var(--fmono); font-size: 11.5px; color: var(--muted-3); }
.sc-footer__legal { display: flex; gap: 18px; }
.sc-footer__legal a { text-decoration: none; color: var(--muted-3); font-size: 12.5px; transition: color .2s; }
.sc-footer__legal a:hover { color: var(--accent-lt); }

/* ============================================================
   Non-front templates (parent markup + new tokens) — minimal legibility pass.
   Fully re-skinned in phase 2.
   ============================================================ */
.site-main > .wrap, .site-main .page-hero, .site-main article { color: var(--text); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.sc-phero { position: relative; overflow: hidden; border-bottom: 1px solid var(--hair); }
.sc-phero__dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 80%); mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000, transparent 80%); }
.sc-phero__glow { position: absolute; top: -10%; inset-inline-start: 60%; width: min(640px,80vw); height: min(640px,80vw); background: radial-gradient(circle, rgba(124,77,224,.22), rgba(124,77,224,0) 62%); filter: blur(30px); animation: scz-glow 8s ease-in-out infinite; pointer-events: none; }
.sc-phero__inner { position: relative; z-index: 1; padding-block: clamp(44px,7vw,92px) clamp(40px,6vw,72px); }
.sc-phero__crumb { display: flex; align-items: center; gap: 9px; margin-bottom: clamp(22px,3vw,32px); font-family: var(--fmono); font-size: 11.5px; color: var(--muted-3); }
.sc-phero__crumb a { color: var(--muted-2); text-decoration: none; }
.sc-phero__crumb a:hover { color: var(--accent-lt); }
.sc-phero__crumb .sep { color: #3A3A45; }
.sc-phero__crumb .cur { color: var(--accent-lt); }
.sc-phero__title { font-family: var(--fd); font-weight: 700; font-size: clamp(40px,7vw,92px); line-height: 1.03; letter-spacing: -1.2px; margin-bottom: clamp(18px,2.4vw,28px); max-width: 16ch; }
.sc-phero__title .line { display: inline; }
.sc-phero__sub { max-width: 560px; font-size: clamp(15px,1.8vw,19px); line-height: 1.7; color: var(--muted); }

/* ============================================================
   ABOUT PAGE — team + values
   ============================================================ */
.sc-team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(14px,1.6vw,20px); }
.sc-team__card { padding: clamp(22px,2.4vw,28px); display: flex; align-items: center; gap: 16px; }
.sc-team__avatar { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(150deg,#3A2A5C,#17121F); border: 1px solid var(--accent-brd); display: flex; align-items: center; justify-content: center; font-family: var(--fnum); font-weight: 700; font-size: 22px; color: var(--accent-lt); flex-shrink: 0; overflow: hidden; }
.sc-team__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sc-team__name { font-family: var(--fd); font-size: 17px; font-weight: 600; }
.sc-team__role { font-family: var(--fmono); font-size: 11.5px; color: var(--muted-2); margin-top: 4px; }
.sc-values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(14px,1.6vw,20px); }

/* ============================================================
   SERVICES PAGE — process compact cards
   ============================================================ */
.sc-proc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: clamp(14px,1.6vw,20px); }
.sc-proc-card { padding: clamp(22px,2.2vw,28px); display: flex; flex-direction: column; gap: 14px; }
.sc-proc-card__top { display: flex; align-items: center; justify-content: space-between; }
.sc-proc-card__num { font-family: var(--fmono); font-size: 12px; color: var(--accent); }
.sc-proc-card__title { font-family: var(--fd); font-size: clamp(18px,2vw,22px); font-weight: 600; }
.sc-proc-card__dur { font-family: var(--fmono); font-size: 11px; color: var(--muted-3); background: var(--panel-2); border: 1px solid #262630; border-radius: var(--r-xs); padding: 4px 10px; align-self: flex-start; }
.sc-proc-card--accent { background: linear-gradient(150deg,#1B1130,#0E0A18); border-color: var(--accent-brd-2); }
.sc-proc-card--accent .sc-proc-card__title { color: #fff; }
.sc-proc-card--accent .sc-proc-card__num { color: var(--accent-lt-2); }
.sc-proc-card--accent .sc-proc-card__dur { color: var(--accent-lt-2); background: #251746; border-color: var(--accent-brd-2); }

/* ============================================================
   CONTACT PAGE — form + info
   ============================================================ */
.sc-contact__grid { display: flex; flex-wrap: wrap; gap: clamp(20px,2.5vw,32px); align-items: flex-start; }
.sc-cform-card { flex: 2 1 420px; min-width: 300px; padding: clamp(28px,3vw,42px); }
.sc-cform { display: flex; flex-direction: column; gap: 20px; }
.sc-cform__title { font-family: var(--fd); font-size: clamp(22px,2.6vw,30px); font-weight: 700; margin-bottom: 4px; }
.sc-cform__row { display: flex; gap: 16px; flex-wrap: wrap; }
.sc-field { display: flex; flex-direction: column; gap: 8px; }
.sc-field--half { flex: 1 1 180px; }
.sc-field label { font-family: var(--fmono); font-size: 11px; color: var(--muted-2); }
.sc-field input, .sc-field textarea, .sc-field select {
	width: 100%; background: var(--bg-3); border: 1px solid #26262F; border-radius: var(--r);
	padding: 14px 16px; color: var(--text); font-family: var(--fb); font-size: 14.5px;
	outline: none; transition: border-color .25s;
}
.sc-field textarea { resize: vertical; line-height: 1.6; min-height: 120px; }
.sc-field select { cursor: pointer; }
.sc-field input:focus, .sc-field textarea:focus, .sc-field select:focus { border-color: var(--accent); }
.sc-cform button[type="submit"] { align-self: flex-start; border: 0; }
.ss-form-feedback { font-size: 14px; font-family: var(--fmono); }
.ss-form-feedback[data-kind="error"] { color: #ff8a8a; }
.ss-form-feedback[data-kind="success"] { color: var(--ok); }
.sc-cform__done { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; min-height: 340px; }
.sc-cform-card.is-submitted .sc-cform { display: none; }
.sc-cform-card.is-submitted .sc-cform__done { display: flex; }
.sc-cform__done-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(62,214,106,.13); border: 1px solid rgba(62,214,106,.4); display: flex; align-items: center; justify-content: center; color: var(--ok); }
.sc-cform__done h3 { font-family: var(--fd); font-size: clamp(22px,2.6vw,28px); font-weight: 700; }
.sc-cform__done p { font-size: 15px; line-height: 1.7; color: var(--muted-2); max-width: 36ch; }

.sc-cinfo-col { flex: 1 1 300px; min-width: 280px; display: flex; flex-direction: column; gap: 14px; }
.sc-cinfo { padding: clamp(24px,2.6vw,30px); }
.sc-cinfo h3 { font-family: var(--fmono); font-size: 11px; color: var(--muted-3); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.sc-cinfo__row { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--hair); }
.sc-cinfo__row:hover { opacity: .82; }
.sc-cinfo__ico { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-panel); border: 1px solid var(--accent-brd); display: flex; align-items: center; justify-content: center; color: var(--accent-lt); flex-shrink: 0; }
.sc-cinfo__ico i, .sc-cinfo__ico svg { width: 20px; height: 20px; }
.sc-cinfo__k { font-family: var(--fmono); font-size: 10.5px; color: var(--muted-3); display: block; margin-bottom: 3px; }
.sc-cinfo__v { font-size: 14.5px; color: var(--text); }
.sc-social-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-social-chips a { font-family: var(--fmono); font-size: 12px; color: var(--muted); text-decoration: none; background: var(--panel-2); border: 1px solid #26262F; border-radius: var(--r-sm); padding: 9px 14px; transition: border-color .2s, color .2s; }
.sc-social-chips a:hover { border-color: var(--accent-brd-2); color: var(--accent-lt); }
.sc-resp { background: linear-gradient(150deg,#1B1130,#0E0A18); border: 1px solid var(--accent-brd-2); border-radius: var(--r-lg); padding: clamp(20px,2.4vw,26px); display: flex; align-items: center; gap: 13px; }
.sc-resp .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px 1px rgba(62,214,106,.8); animation: scz-pulse 2s ease-in-out infinite; flex-shrink: 0; }
.sc-resp span:last-child { font-size: 13.5px; line-height: 1.5; color: #D3C7F0; }

/* ---- Consultation: custom selectable chips ---- */
.sc-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-choice { position: relative; display: inline-flex; }
.sc-choice > input { position: absolute; opacity: 0; width: 0; height: 0; }
.sc-choice__box {
	display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
	font-family: var(--fb); font-size: 13.5px; font-weight: 500; color: var(--muted);
	background: var(--bg-3); border: 1px solid #26262F; border-radius: var(--r);
	padding: 11px 16px; transition: border-color .2s, background .2s, color .2s; white-space: nowrap;
}
.sc-choice__box:hover { border-color: #3A3A45; color: var(--text); }
.sc-choice__tick {
	width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid #3A3A45;
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	color: #fff; transition: background .2s, border-color .2s;
}
.sc-choice input[type="radio"] + .sc-choice__box .sc-choice__tick { border-radius: 50%; }
.sc-choice__tick svg { width: 11px; height: 11px; opacity: 0; transition: opacity .15s; }
.sc-choice > input:checked + .sc-choice__box { border-color: var(--accent); background: var(--accent-panel); color: var(--accent-lt); }
.sc-choice > input:checked + .sc-choice__box .sc-choice__tick { background: var(--accent); border-color: var(--accent); }
.sc-choice > input:checked + .sc-choice__box .sc-choice__tick svg { opacity: 1; }
.sc-choice > input:focus-visible + .sc-choice__box { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Consultation: trust bar ---- */
.sc-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: clamp(12px,1.5vw,18px); }
.sc-trust__item { display: flex; align-items: center; gap: 14px; padding: clamp(18px,2vw,24px); }
.sc-trust__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-panel); border: 1px solid var(--accent-brd); display: flex; align-items: center; justify-content: center; color: var(--accent-lt); flex-shrink: 0; }
.sc-trust__ico svg, .sc-trust__ico i { width: 22px; height: 22px; }
.sc-trust__t { font-family: var(--fd); font-size: 15px; font-weight: 600; }
.sc-trust__s { font-size: 12.5px; color: var(--muted-2); margin-top: 3px; line-height: 1.5; }

/* ---- Consultation: FAQ ---- */
.sc-faq { display: flex; flex-direction: column; gap: 12px; }
.sc-faq details { padding: clamp(18px,2vw,24px); }
.sc-faq summary { cursor: pointer; font-family: var(--fd); font-weight: 600; font-size: clamp(16px,1.8vw,19px); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sc-faq summary::-webkit-details-marker { display: none; }
.sc-faq summary::after { content: "+"; font-family: var(--fmono); font-size: 22px; color: var(--accent-lt); transition: transform .25s; flex-shrink: 0; }
.sc-faq details[open] summary::after { transform: rotate(45deg); }
.sc-faq p { margin-top: 14px; color: var(--muted-2); line-height: 1.75; font-size: 14.5px; }

/* ============================================================
   WORK ARCHIVE — stats + filters
   ============================================================ */
.sc-wstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: clamp(14px,1.6vw,20px); }
.sc-wstat { padding: clamp(24px,2.6vw,32px); }
.sc-wstat__num { font-family: var(--fnum); font-weight: 700; font-size: clamp(34px,4.4vw,54px); line-height: 1; }
.sc-wstat__label { font-family: var(--fmono); font-size: 11.5px; color: var(--muted-3); margin-top: 10px; }
.sc-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px,3.5vw,44px); }
.sc-filter { font-family: var(--fmono); font-size: 12.5px; color: var(--muted-2); background: transparent; border: 1px solid #26262F; border-radius: var(--r-pill); padding: 9px 20px; transition: all .25s; }
.sc-filter:hover { border-color: var(--accent-brd-2); color: var(--accent-lt); }
.sc-filter.is-active { color: #fff; background: var(--accent); border-color: var(--accent); }

/* ============================================================
   BLOG — featured + newsletter
   ============================================================ */
.sc-bfeat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; text-decoration: none; color: inherit; margin-bottom: clamp(30px,4vw,48px); }
.sc-bfeat__thumb { position: relative; min-height: 300px; background: repeating-linear-gradient(135deg,#121218 0 2px,#0C0C10 2px 13px); overflow: hidden; }
.sc-bfeat__thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 25%, rgba(124,77,224,.2), transparent 55%); }
.sc-bfeat__thumb img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.sc-bfeat__thumb svg { width: 100%; height: 100%; position: relative; z-index: 1; }
.sc-bfeat__body { padding: clamp(28px,3.2vw,48px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.sc-bfeat__badge { align-self: flex-start; }
.sc-bfeat__title { font-family: var(--fd); font-size: clamp(24px,3vw,40px); font-weight: 700; line-height: 1.15; }
.sc-news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px,3.5vw,48px); margin-top: clamp(20px,3vw,36px); }
.sc-news__title { font-family: var(--fd); font-size: clamp(22px,2.6vw,32px); font-weight: 700; }
.sc-news__sub { font-size: 14px; color: var(--muted-2); margin-top: 8px; }
.sc-news__form { display: flex; gap: 10px; flex-wrap: wrap; flex: 1 1 320px; max-width: 460px; }
.sc-news__form input { flex: 1 1 200px; background: var(--bg-3); border: 1px solid #26262F; border-radius: var(--r); padding: 14px 16px; color: var(--text); font-family: var(--fb); font-size: 14.5px; outline: none; }
.sc-news__form input:focus { border-color: var(--accent); }
.sc-news__form button { border: 0; white-space: nowrap; }

/* ============================================================
   ARTICLE (single post) + generic prose
   ============================================================ */
.sc-article__hero { position: relative; border-bottom: 1px solid var(--hair); }
.sc-article__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--fmono); font-size: 11.5px; color: var(--muted-3); margin: clamp(20px,3vw,32px) 0 18px; }
.sc-article__meta .cat { color: var(--accent-lt); background: var(--accent-panel); border: 1px solid var(--accent-brd); border-radius: var(--r-xs); padding: 3px 9px; }
.sc-article__title { font-family: var(--fd); font-weight: 700; font-size: clamp(30px,5vw,64px); line-height: 1.08; letter-spacing: -1px; max-width: 20ch; }
.sc-article__lead { max-width: 60ch; font-size: clamp(16px,1.9vw,20px); line-height: 1.7; color: var(--muted); margin-top: 20px; }
.sc-article__author { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.sc-article__cover { margin-top: clamp(28px,4vw,44px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.sc-article__cover img { width: 100%; height: auto; }
.sc-article__layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px,4vw,64px); align-items: start; }
.sc-toc { position: sticky; top: 90px; }
.sc-toc h4 { font-family: var(--fmono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-3); margin-bottom: 14px; }
.sc-toc a { display: block; color: var(--muted-2); text-decoration: none; font-size: 13.5px; line-height: 1.5; padding: 6px 0; border-inline-start: 2px solid var(--border); padding-inline-start: 12px; transition: color .2s, border-color .2s; }
.sc-toc a:hover { color: var(--accent-lt); border-color: var(--accent); }

.sc-prose { font-size: clamp(16px,1.15vw,17.5px); line-height: 1.85; color: #C9C8D0; max-width: 72ch; }
.sc-prose > * + * { margin-top: 1.25em; }
.sc-prose h2 { font-family: var(--fd); font-weight: 700; font-size: clamp(24px,3vw,34px); line-height: 1.2; color: var(--text); margin-top: 1.8em; letter-spacing: -.4px; }
.sc-prose h3 { font-family: var(--fd); font-weight: 600; font-size: clamp(20px,2.2vw,26px); color: var(--text); margin-top: 1.6em; }
.sc-prose a { color: var(--accent-lt); text-decoration: underline; text-underline-offset: 3px; }
.sc-prose strong { color: var(--text); }
.sc-prose ul, .sc-prose ol { padding-inline-start: 1.4em; }
.sc-prose li { margin-top: .5em; }
.sc-prose ul li { list-style: disc; }
.sc-prose ol li { list-style: decimal; }
.sc-prose blockquote { border-inline-start: 3px solid var(--accent); padding-inline-start: 20px; color: var(--text-2); font-family: var(--fd); font-size: 1.15em; }
.sc-prose img { border-radius: var(--r); border: 1px solid var(--border); }
.sc-prose code { font-family: var(--fmono); font-size: .9em; background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--r-xs); padding: 2px 7px; }
.sc-prose pre { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; overflow-x: auto; }
.sc-prose pre code { background: none; border: 0; padding: 0; }

.sc-author-bio { display: flex; gap: 16px; align-items: flex-start; padding: clamp(24px,2.6vw,32px); }
.sc-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sc-postnav a { padding: clamp(20px,2.4vw,28px); text-decoration: none; color: inherit; }
.sc-postnav a:last-child { text-align: end; }
.sc-postnav__label { font-family: var(--fmono); font-size: 11px; color: var(--muted-3); }
.sc-postnav__title { font-family: var(--fd); font-size: 17px; font-weight: 600; margin-top: 8px; }

/* ============================================================
   CASE STUDY (single portfolio)
   ============================================================ */
.sc-cs__hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px,4vw,56px); align-items: start; margin-top: clamp(20px,3vw,32px); }
.sc-cs__client { display: flex; align-items: center; gap: 10px; font-family: var(--fmono); font-size: 12px; color: var(--accent-lt); margin-bottom: 18px; }
.sc-cs__client .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sc-cs__title { font-family: var(--fd); font-weight: 700; font-size: clamp(30px,5vw,60px); line-height: 1.06; letter-spacing: -1px; }
.sc-cs__summary { font-size: clamp(16px,1.8vw,19px); line-height: 1.7; color: var(--muted); margin-top: 18px; max-width: 46ch; }
.sc-cs__meta { display: flex; flex-direction: column; gap: 2px; padding: clamp(20px,2.4vw,28px); }
.sc-cs__meta-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--hair); }
.sc-cs__meta-row:first-child { border-top: 0; }
.sc-cs__meta-row .sc-icon-box { width: 40px; height: 40px; }
.sc-cs__meta-k { font-family: var(--fmono); font-size: 10.5px; color: var(--muted-3); display: block; }
.sc-cs__meta-v { font-size: 15px; color: var(--text); font-weight: 500; }
.sc-cs__cover { margin-top: clamp(28px,4vw,44px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.sc-cs__cover img, .sc-cs__cover svg { width: 100%; height: auto; display: block; }
.sc-cs__results { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: clamp(14px,1.6vw,20px); }
.sc-cs__result { padding: clamp(22px,2.4vw,30px); }
.sc-cs__result b { font-family: var(--fnum); font-weight: 700; font-size: clamp(30px,3.6vw,46px); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sc-cs__result span { display: block; font-family: var(--fmono); font-size: 11.5px; color: var(--muted-3); margin-top: 8px; }
.sc-cs__section { max-width: 74ch; margin-bottom: clamp(34px,4vw,52px); }
.sc-cs__section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sc-cs__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(14px,1.6vw,20px); }
.sc-cs__gallery img { width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--border); }
.sc-cs__next { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(24px,3vw,40px); text-decoration: none; color: inherit; }
.sc-cs__next-title { font-family: var(--fd); font-size: clamp(20px,2.6vw,30px); font-weight: 700; }

/* ============================================================
   PAGINATION / SEARCH / 404 / breadcrumbs
   ============================================================ */
.sc-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: clamp(30px,4vw,56px); }
.sc-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--border); background: var(--panel); color: var(--muted); font-family: var(--fmono); font-size: 14px; text-decoration: none; transition: all .2s; }
.sc-pagination .page-numbers:hover { border-color: var(--accent-brd-2); color: var(--accent-lt); }
.sc-pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.sc-searchform { display: flex; gap: 10px; max-width: 520px; margin-bottom: clamp(30px,4vw,48px); }
.sc-searchform input[type="search"], .sc-searchform .search-field { flex: 1; background: var(--bg-3); border: 1px solid #26262F; border-radius: var(--r); padding: 14px 16px; color: var(--text); font-family: var(--fb); font-size: 14.5px; outline: none; }
.sc-searchform input:focus { border-color: var(--accent); }
.sc-searchform button, .sc-searchform .search-submit { border: 0; }
.sc-noresults { color: var(--muted-2); font-size: 16px; padding: clamp(30px,5vw,60px) 0; text-align: center; }
.sc-404__code { font-family: var(--fd); font-weight: 700; font-size: clamp(80px,18vw,220px); line-height: .9; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   PRELOADER (fast)
   ============================================================ */
@keyframes scz-pre-spin { to { transform: rotate(360deg); } }
@keyframes scz-pre-bar  { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes scz-pre-auto { to { opacity: 0; visibility: hidden; } }
.sc-preloader {
	position: fixed; inset: 0; z-index: 200;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
	background: var(--bg);
	opacity: 1; visibility: visible;
	transition: opacity .45s ease, visibility .45s ease;
	/* Safety auto-hide even if JS never runs. */
	animation: scz-pre-auto 0s linear 1.6s forwards;
}
.sc-preloader.is-done { opacity: 0; visibility: hidden; }
.sc-preloader__mark {
	width: 58px; height: 58px; border-radius: 16px; background: var(--grad-mark);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--fmono); color: #fff; font-size: 30px; font-weight: 700;
	box-shadow: 0 0 40px -6px rgba(124,77,224,.85);
	animation: scz-pulse 1.3s ease-in-out infinite;
}
.sc-preloader__bar { width: 120px; height: 3px; border-radius: 99px; background: #1C1C22; overflow: hidden; position: relative; }
.sc-preloader__bar span { position: absolute; inset: 0; width: 60%; border-radius: 99px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scz-pre-bar 1s ease-in-out infinite; }
body.is-loaded { }

/* ============================================================
   FLOATING BUTTONS (WhatsApp + back-to-top)
   ============================================================ */
.sc-floats { position: fixed; inset-inline-start: 22px; bottom: 22px; z-index: 50; display: flex; flex-direction: column; gap: 12px; }
.sc-fab {
	width: 54px; height: 54px; border-radius: 16px;
	background: var(--panel-2); border: 1px solid var(--border-3); color: var(--text);
	display: flex; align-items: center; justify-content: center; text-decoration: none;
	box-shadow: 0 14px 34px -12px rgba(0,0,0,.7);
	transition: transform .3s, background .3s, border-color .3s, opacity .3s, visibility .3s;
	position: relative;
}
.sc-fab:hover { transform: translateY(-3px); }
.sc-fab--wa { color: #EDECEF; animation: scz-float 3.5s ease-in-out infinite; }
.sc-fab--wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
.sc-fab__pulse { position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(37,211,102,.5); animation: scz-ping 2.4s ease-out infinite; }
.sc-fab--top { cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); }
.sc-fab--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sc-fab--top:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
	.sc-nav { display: none; }
	.sc-burger { display: flex; }
	.sc-header__cta { display: none; }
	.sc-proj--featured { grid-column: span 1; grid-row: auto; }
	.sc-testi__card--wide { grid-column: span 1; }
	.sc-article__layout { grid-template-columns: 1fr; }
	.sc-toc { position: static; display: none; }
	.sc-cs__hero-grid { grid-template-columns: 1fr; }
	.sc-bfeat { grid-template-columns: 1fr; }
	.sc-bfeat__thumb { min-height: 200px; }
	.sc-footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.sc-hero__mock { order: 2; }
	.sc-float { display: none; }
	.sc-window__stats { flex-wrap: wrap; }
	.sc-postnav { grid-template-columns: 1fr; }
	.sc-postnav a:last-child { text-align: start; }
}
