/* ==========================================================================
   Sparx Studio — main stylesheet (light + dark)
   ========================================================================== */

:root {
	--bg: #faf9f6;
	--bg-alt: #f3f1ec;
	--surface: #ffffff;
	--surface-2: #f7f5f0;
	--text: #16161a;
	--muted: #5f5b54;
	--faint: #98938a;
	--line: #e8e4db;
	--line-strong: #d5cfc2;
	--accent: #c9a24a;
	--accent-2: #e0c27a;
	--accent-ink: #8a6a1f;
	--accent-soft: #f6eedb;
	--btn: #121214;
	--btn-fg: #ffffff;
	--btn-hover: #2b2b30;
	--header-bg: rgba(250, 249, 246, .82);
	--dark-bg: #0d0d0f;
	--dark-surface: #151518;
	--dark-text: #f2efe8;
	--dark-muted: #a6a197;
	--dark-line: #26262b;
	--shadow: 0 1px 2px rgba(16, 16, 20, .04), 0 18px 48px -20px rgba(16, 16, 20, .18);
	--shadow-lg: 0 40px 80px -30px rgba(16, 16, 20, .35);
	--radius: 18px;
	--radius-sm: 12px;
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(80px, 10vw, 140px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: light;
}

[data-theme="dark"] {
	--bg: #0c0c0e;
	--bg-alt: #111114;
	--surface: #151518;
	--surface-2: #1b1b20;
	--text: #eeebe4;
	--muted: #a39e94;
	--faint: #6f6b64;
	--line: #24242a;
	--line-strong: #34343b;
	--accent-ink: #e0c27a;
	--accent-soft: rgba(201, 162, 74, .14);
	--btn: #f2efe8;
	--btn-fg: #0c0c0e;
	--btn-hover: #ffffff;
	--header-bg: rgba(12, 12, 14, .78);
	--dark-bg: #08080a;
	--dark-surface: #121215;
	--dark-line: #222227;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 48px -20px rgba(0, 0, 0, .7);
	--shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .8);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
	margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
	color: var(--text); background: var(--bg);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	transition: background-color .3s, color .3s;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #111; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--btn); color: var(--btn-fg); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark-bg); color: var(--dark-text); }

/* Typography -------------------------------------------------------------- */
h1, h2, h3, h4, .h1, .h2, .h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 .5em; color: inherit; }
.h1 { font-size: clamp(40px, 5.6vw, 78px); letter-spacing: -.04em; line-height: 1.03; }
.h2 { font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -.035em; line-height: 1.08; }
.h1 em, .h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent-ink); }
.section--dark .h2 em, .cta-band .h2 em { color: var(--accent-2); }
.lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); max-width: 640px; }
.lead--lg { font-size: clamp(18px, 1.5vw, 21px); max-width: 720px; }
.section--dark .lead { color: var(--dark-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 20px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .cta-band .eyebrow { color: var(--accent); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.meta { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.meta span { margin: 0 4px; }
.meta-muted { font-size: 14px; color: var(--faint); }

.sec-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 780px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: end; max-width: none; }
.sec-head--split .lead { margin: 0 0 16px; }

/* Buttons ----------------------------------------------------------------- */
.btn {
	--b-bg: var(--btn); --b-fg: var(--btn-fg); --b-bd: var(--btn);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: 999px; border: 1px solid var(--b-bd);
	background: var(--b-bg); color: var(--b-fg); font-weight: 500; font-size: 15px; line-height: 1;
	cursor: pointer; white-space: nowrap;
	transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { color: var(--b-fg); transform: translateY(-1px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--primary:hover { --b-bg: var(--btn-hover); --b-bd: var(--btn-hover); }
.btn--gold { --b-bg: var(--accent); --b-fg: #121214; --b-bd: var(--accent); }
.btn--gold:hover { --b-bg: var(--accent-2); --b-bd: var(--accent-2); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--text); --b-bd: var(--line-strong); }
.btn--ghost:hover { --b-bd: var(--text); }
.btn--ghost-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .25); }
.btn--ghost-light:hover { --b-bd: #fff; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon-arrow { transform: translateX(3px); }
.link-arrow:hover .icon-external { transform: translate(2px, -2px); }

/* Header ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -.03em; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand__mark { color: var(--accent); display: inline-flex; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__word span { font-weight: 400; color: var(--muted); }
.brand__logo { max-height: 46px; width: auto; border-radius: 6px; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__word span { color: var(--dark-muted); }

.site-nav { margin-left: auto; }
.site-nav .nav, .site-nav > div > ul, .site-nav > ul { display: flex; gap: 2px; list-style: none; align-items: center; }
.site-nav li { position: relative; }
.site-nav li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--text); border-radius: 999px; transition: background .2s; }
.site-nav li > a:hover { background: var(--surface-2); color: var(--text); }
.site-nav li.current-menu-item > a, .site-nav li.current_page_item > a { background: var(--surface-2); }
.site-nav .icon-chev { opacity: .6; transition: transform .25s; }
.has-sub:hover .icon-chev, .has-sub:focus-within .icon-chev { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 10px); left: -20px; width: 760px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sub__head { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 12px; }
.sub ul { list-style: none; }
.sub li a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--text); }
.sub li a:hover { color: var(--accent-ink); }
.sub__all { display: inline-flex; gap: 6px; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; font-size: 14px; font-weight: 500; }

.site-nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--muted); }
.header-link:hover { color: var(--text); }
.mode-toggle { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--text); transition: border-color .2s, transform .3s var(--ease); }
.mode-toggle:hover { border-color: var(--text); transform: rotate(-12deg); }
.mode-toggle__sun { display: none; }
[data-theme="dark"] .mode-toggle__sun { display: inline-flex; }
[data-theme="dark"] .mode-toggle__moon { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--text); }
.nav-toggle__close { display: none; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 0; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%; pointer-events: none; background: radial-gradient(closest-side, rgba(201, 162, 74, .16), transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero .h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 32px; font-size: 14px; color: var(--muted); }
.hero__note li { display: inline-flex; align-items: center; gap: 8px; }
.hero__note .icon { color: var(--accent); }
.hero__from { font-size: 14px; color: var(--muted); margin-left: 6px; }
.hero__from b { color: var(--text); font-weight: 600; }
.hero__visual { position: relative; margin: 26px 20px 26px 0; }
.hero__visual .cover { box-shadow: var(--shadow-lg); }
.chip { position: absolute; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; }
.chip small { display: block; font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.chip b { font-weight: 600; }
.chip .icon { color: var(--accent); }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34, 197, 94, .15); }
.chip--a { left: -32px; bottom: -26px; animation: float 6s ease-in-out infinite; }
.chip--b { right: -20px; top: -26px; animation: float 7s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-8px); } }

.clients { position: relative; z-index: 1; margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.clients__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-size: 19px; font-weight: 500; letter-spacing: -.02em; color: var(--muted); white-space: nowrap; }
.marquee__track span::before { content: "✦"; color: var(--accent); font-size: 11px; margin-right: 56px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Project covers ---------------------------------------------------------- */
.cover { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.cover-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.cover-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.cover-bar em { font-style: normal; font-size: 11.5px; color: var(--faint); margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.card-project:hover .cover-img { transform: scale(1.025); }
.cover-gen { --c1: #17181b; --c2: #2a2b30; --gold: #d9b968; position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(18px, 3vw, 32px); color: #fff; overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, var(--c2), var(--c1)); }
.cover-gen::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1; right: -8%; top: -14%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 28px rgba(255, 255, 255, .03), 0 0 0 56px rgba(255, 255, 255, .02); }
.cover-mono { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(54px, 7vw, 92px); line-height: .9; color: var(--gold); }
.cover-name { position: relative; z-index: 1; font-size: clamp(14px, 1.3vw, 17px); font-weight: 500; margin-top: 10px; opacity: .92; }
.tone-ink .cover-gen    { --c1: #121214; --c2: #2b2b31; }
.tone-slate .cover-gen  { --c1: #162131; --c2: #2c4260; --gold: #e3c98a; }
.tone-teal .cover-gen   { --c1: #063d3d; --c2: #0b7a78; --gold: #e8b765; }
.tone-forest .cover-gen { --c1: #13281d; --c2: #2c5a3f; --gold: #e7cf8d; }
.tone-olive .cover-gen  { --c1: #24241a; --c2: #545432; --gold: #f0d891; }
.tone-clay .cover-gen   { --c1: #3a2118; --c2: #8a4c31; --gold: #f6d9a8; }
.tone-wine .cover-gen   { --c1: #2a1018; --c2: #6b2238; --gold: #f1c98f; }

/* Stats ------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats > div { padding: 24px 20px 0 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(32px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.stats span { font-size: 13.5px; color: var(--muted); }
.stats--dark { border-top-color: var(--dark-line); margin: 0 0 clamp(48px, 6vw, 80px); }
.stats--dark > div + div { border-left-color: var(--dark-line); }
.stats--dark b { color: #fff; }
.stats--dark span { color: var(--dark-muted); }

/* Services ---------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-service { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card-service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 36px; }
.card-service__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--btn); color: var(--accent); }
[data-theme="dark"] .card-service__icon { background: var(--surface-2); }
.card-service__num { font-family: var(--serif); font-size: 26px; color: var(--faint); }
.card-service h3 { font-size: 22px; margin-bottom: 10px; }
.card-service > p { color: var(--muted); font-size: 15px; }
.card-service ul { list-style: none; margin: 6px 0 24px; border-top: 1px solid var(--line); }
.card-service li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.card-service li .icon { color: var(--faint); transition: transform .25s, color .25s; }
.card-service li a:hover .icon { color: var(--accent-ink); transform: translateX(3px); }
.card-service__price { margin: auto 0 0; font-size: 13.5px; color: var(--muted); }
.card-service__price b { color: var(--text); font-weight: 600; }

/* Work / projects --------------------------------------------------------- */
.work-featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3vw, 48px) clamp(20px, 3vw, 32px); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.card-project { display: flex; flex-direction: column; }
.card-project__media { display: block; border-radius: 14px; transition: transform .45s var(--ease); }
.card-project:hover .card-project__media { transform: translateY(-4px); }
.card-project:hover .cover { box-shadow: var(--shadow); }
.card-project__body { padding-top: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.card-project__title { font-size: 23px; letter-spacing: -.025em; margin-bottom: 8px; }
.work-grid .card-project__title { font-size: 19px; }
.card-project__text { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tags li { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; }
.filters button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--btn); color: var(--btn-fg); border-color: var(--btn); }
.filters button sup { font-size: 11px; margin-left: 4px; opacity: .6; }
.card-project.is-hidden { display: none; }

/* Reasons / benefits ------------------------------------------------------ */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark-line); }
.reasons > div { padding: 32px 28px 8px 0; }
.reasons > div + div { padding-left: 28px; border-left: 1px solid var(--dark-line); }
.reasons h3 { font-size: 19px; color: #fff; margin-bottom: 10px; }
.reasons p { color: var(--dark-muted); font-size: 15px; }
.reasons__num { display: block; font-family: var(--serif); font-size: 30px; color: var(--accent); margin-bottom: 24px; line-height: 1; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefits > div { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.benefits h3 { font-size: 19px; margin-bottom: 8px; }
.benefits p { color: var(--muted); font-size: 15px; margin: 0; }

/* Process ----------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.process > div { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.process__time { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 22px; }
.process h3 { font-size: 20px; margin-bottom: 10px; }
.process h3::before { counter-increment: step; content: "0" counter(step) " "; font-family: var(--serif); font-weight: 400; color: var(--faint); }
.process p { color: var(--muted); font-size: 15px; margin: 0; }

/* Sectors / pills --------------------------------------------------------- */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors a { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 500; font-size: 15px; transition: all .2s; }
.sectors a:hover { background: var(--btn); color: var(--btn-fg); border-color: var(--btn); }
.sectors a .icon { opacity: .5; }

/* Testimonials ------------------------------------------------------------ */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.quote { padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin: 0; }
.quote p { font-size: 19px; line-height: 1.5; }
.quote p::before { content: "“"; display: block; font-family: var(--serif); font-size: 64px; line-height: .6; color: var(--accent); margin-bottom: 12px; }
.quote cite { font-style: normal; font-size: 14px; color: var(--muted); }
.quote cite b { display: block; color: var(--text); }

/* Posts ------------------------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-post { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.card-post:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card-post__img { margin: -28px -28px 24px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16/9; background: var(--surface-2); }
.card-post__img img { width: 100%; height: 100%; object-fit: cover; }
.card-post h3 { font-size: 19px; line-height: 1.35; margin-bottom: 12px; }
.card-post p { color: var(--muted); font-size: 15px; }
.card-post .link-arrow { margin-top: auto; align-self: flex-start; }

/* CTA band ---------------------------------------------------------------- */
.cta-band { background: var(--dark-bg); color: var(--dark-text); padding: clamp(80px, 9vw, 128px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 90% 120%, rgba(201, 162, 74, .22), transparent 60%); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.cta-band .h2 { color: #fff; }
.cta-band .lead { color: var(--dark-muted); margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band__actions p { margin: 6px 0 0; text-align: center; color: var(--dark-muted); }

/* Page hero / crumbs ------------------------------------------------------ */
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 5vw, 80px); position: relative; }
.page-hero .h1 { max-width: 1020px; }
.page-hero .lead { margin: 0; }
.page-hero--service .lead { margin-bottom: 36px; }
.crumbs { font-size: 13.5px; color: var(--faint); margin-bottom: 28px; }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin: 0 6px; }
.crumbs [aria-current] { color: var(--muted); margin: 0; }

/* Services page ----------------------------------------------------------- */
.svc-nav { position: sticky; top: 80px; z-index: 20; background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-bar .svc-nav { top: 112px; }
.svc-nav ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.svc-nav a { display: block; padding: 16px 18px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.svc-nav a:hover, .svc-nav a.is-active { color: var(--text); border-bottom-color: var(--accent); }
.svc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(64px, 8vw, 112px) 0; border-bottom: 1px solid var(--line); }
.wrap > .svc:last-child { border-bottom: 0; }
.section > .wrap.svc { padding: 0; border: 0; }
.svc__num { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--accent); margin-bottom: 18px; display: block; }
.svc__aside { position: sticky; top: 170px; align-self: start; }
.svc__from { margin-top: 24px; font-size: 15px; color: var(--muted); }
.svc__from b { color: var(--text); font-size: 20px; }
.svc__from span { color: var(--faint); margin-left: 6px; }
.svc__links { display: grid; gap: 14px; align-content: start; }
.svc-link { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.svc-link:hover { color: inherit; border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-link b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.svc-link small { display: block; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.svc-link em { font-style: normal; font-size: 13px; color: var(--faint); }
.svc-link__go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: all .25s; }
.svc-link:hover .svc-link__go { background: var(--btn); color: var(--btn-fg); border-color: var(--btn); }
.svc__list { list-style: none; margin: 0 0 32px; border-top: 1px solid var(--line); }
.svc__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.svc__list li .icon { color: var(--accent-ink); flex: none; }
.svc__price { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 24px 28px; border-radius: var(--radius); background: var(--dark-bg); color: #fff; border: 1px solid var(--dark-line); }
.svc__price small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-muted); }
.svc__price b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.svc__price .btn { margin-left: auto; }

/* Pricing ----------------------------------------------------------------- */
.pricing-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 36px; }
.tabs, .seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); gap: 4px; }
.tabs button, .seg button { border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s; white-space: nowrap; }
.tabs button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--btn); color: var(--btn-fg); }
.seg button { padding: 9px 16px; font-size: 13.5px; }
.price-panel[hidden] { display: none; }
.price-panel__note { font-size: 14px; color: var(--muted); margin: -12px 0 28px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.plan--featured { background: var(--dark-bg); color: var(--dark-text); border-color: var(--dark-line); box-shadow: var(--shadow-lg); }
[data-theme="dark"] .plan--featured { border-color: rgba(201, 162, 74, .45); }
.plan__flag { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: #121214; padding: 6px 10px; border-radius: 999px; }
.plan h3 { font-size: 21px; margin-bottom: 8px; }
.plan__for { font-size: 15px; color: var(--muted); min-height: 48px; }
.plan--featured .plan__for, .plan--featured .plan__time, .plan--featured .plan__price small, .plan--featured .plan__price i { color: var(--dark-muted); }
.plan__price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price small { font-size: 12.5px; color: var(--faint); width: 100%; text-transform: uppercase; letter-spacing: .1em; }
.plan__price b { font-size: 38px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.plan__price i { font-style: normal; color: var(--muted); }
.plan__time { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.plan ul { list-style: none; margin: 0 0 30px; border-top: 1px solid var(--line); }
.plan--featured ul { border-top-color: var(--dark-line); }
.plan li { display: flex; gap: 10px; padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.plan--featured li { border-bottom-color: var(--dark-line); }
.plan li .icon { flex: none; margin-top: 3px; color: var(--accent-ink); }
.plan--featured li .icon { color: var(--accent); }
.plan .btn { margin-top: auto; }
.plan--featured .btn--ghost { --b-fg: #fff; --b-bd: rgba(255, 255, 255, .3); }
[data-cur="usd"] .kes, [data-cur="kes"] .usd { display: none; }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.addon { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.addon h3 { font-size: 18px; margin: 0; }
.addon p { color: var(--muted); font-size: 14.5px; margin: 0; }
.addon b { font-weight: 600; color: var(--accent-ink); }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.terms div { display: flex; gap: 12px; font-size: 14.5px; color: var(--muted); }
.terms .icon { flex: none; color: var(--accent-ink); margin-top: 2px; }

/* FAQ --------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 760px; padding-bottom: 24px; margin: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }

/* About ------------------------------------------------------------------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-intro p { font-size: 17.5px; color: var(--muted); }
.about-intro > div:first-child p { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; letter-spacing: -.02em; color: var(--text); }
.founder { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.founder__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #232326, #0d0d0f); display: grid; place-items: center; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__photo span { font-family: var(--serif); font-size: 120px; color: var(--accent); }
.founder blockquote { margin: 0 0 28px; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; letter-spacing: -.02em; color: #fff; font-weight: 400; }
.founder blockquote em { font-family: var(--serif); color: var(--accent-2); }
.founder p { color: var(--dark-muted); }
.founder cite { font-style: normal; display: block; margin-top: 24px; }
.founder cite b { display: block; color: #fff; font-size: 17px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.values > div { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.values h3 { font-size: 20px; margin-bottom: 8px; }
.values p { color: var(--muted); margin: 0; }

/* Contact ----------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__form { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact__form h2 { font-size: 26px; margin-bottom: 6px; }
.contact__form > p { color: var(--muted); }
.channels { display: grid; gap: 10px; }
.channel { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.channel:hover { border-color: var(--text); transform: translateX(3px); color: inherit; }
.channel__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--btn); color: var(--accent); }
[data-theme="dark"] .channel__icon { background: var(--surface-2); }
.channel small { display: block; font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.channel b { font-weight: 500; font-size: 15.5px; word-break: break-word; }
.next-steps { margin-top: 24px; padding: 28px; border-radius: var(--radius); background: var(--dark-bg); color: var(--dark-text); border: 1px solid var(--dark-line); }
.next-steps h3 { font-size: 18px; color: #fff; margin-bottom: 14px; }
.next-steps ol { margin: 0; padding-left: 20px; color: var(--dark-muted); font-size: 15px; }
.next-steps li { padding: 5px 0; }
.form-fallback { display: grid; gap: 12px; }
.notice-card { padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 720px; }
.notice-card h2 { font-size: 26px; margin-top: 0 !important; }

/* Fluent Forms — match the theme in both modes */
.contact__form .ff-el-input--label label, .contact__form .ff-el-form-check-label { font-weight: 500 !important; font-size: 14px !important; color: var(--text) !important; }
.contact__form .ff-el-form-control { border-radius: 10px !important; border: 1px solid var(--line-strong) !important; padding: 13px 14px !important; font-family: var(--font) !important; font-size: 15px !important; background: var(--surface-2) !important; color: var(--text) !important; }
.contact__form .ff-el-form-control:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(201, 162, 74, .2) !important; }
.contact__form select.ff-el-form-control option { background: var(--surface); color: var(--text); }
.contact__form .ff-btn-submit { background: var(--btn) !important; color: var(--btn-fg) !important; border-radius: 999px !important; padding: 15px 30px !important; font-weight: 500 !important; font-family: var(--font) !important; border: 0 !important; }
.contact__form .ff-btn-submit:hover { background: var(--btn-hover) !important; }
.contact__form .ff-message-success { background: var(--accent-soft) !important; border: 1px solid var(--accent) !important; border-radius: 12px !important; color: var(--text) !important; }

/* Sparx Project Tracker plugin — match the theme in both modes */
.spx-tracker { max-width: 760px !important; margin: 0 !important; }
.spx-tracker .spx-card { background: var(--surface) !important; border-color: var(--line) !important; color: var(--text) !important; box-shadow: var(--shadow) !important; }
.spx-tracker .spx-muted { color: var(--muted) !important; }
.spx-tracker .spx-input { background: var(--surface-2) !important; color: var(--text) !important; border-color: var(--line-strong) !important; }
.spx-tracker .spx-btn { background: var(--btn) !important; color: var(--btn-fg) !important; border: 0 !important; }
.spx-tracker .spx-btn-outline { background: transparent !important; color: var(--text) !important; border: 1px solid var(--line-strong) !important; }
.spx-tracker .spx-meta div, .spx-tracker .spx-updates li, .spx-tracker .spx-steps li { border-color: var(--line) !important; }
.spx-tracker .spx-bar { background: var(--surface-2) !important; }
.spx-tracker .spx-next { background: var(--accent-soft) !important; color: var(--text); }
.spx-tracker .spx-steps li { color: var(--muted) !important; }
.spx-tracker .spx-steps li.done, .spx-tracker .spx-steps li.current { color: var(--text) !important; }
.spx-tracker .spx-dot { border-color: var(--line-strong) !important; }
.spx-tracker .spx-meta a { color: var(--text) !important; }
.prose .spx-form .spx-h { display: none; }

/* Generic content --------------------------------------------------------- */
.prose { font-size: 18px; line-height: 1.75; }
.prose > * { max-width: 760px; }
.prose h2 { font-size: 32px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 24px; margin: 1.4em 0 .5em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin: 1.5em 0; padding-left: 24px; border-left: 2px solid var(--accent); font-size: 21px; }
.prose .alignwide, .prose .alignfull, .prose .wp-block-image, .prose .spx-tracker { max-width: none; }
.entry-meta { font-size: 14px; color: var(--muted); }
.case-hero__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-hero__meta small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 6px; }
.case-hero__meta b { font-weight: 500; }
.pagination { display: flex; gap: 8px; margin-top: 56px; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.pagination .current { background: var(--btn); color: var(--btn-fg); border-color: var(--btn); }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--dark-bg); color: var(--dark-muted); padding: clamp(64px, 8vw, 96px) 0 32px; border-top: 1px solid var(--dark-line); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.site-footer__brand p { margin: 20px 0 24px; max-width: 360px; font-size: 15px; }
.site-footer h3 { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; font-size: 14.5px; }
.site-footer a:hover { color: var(--accent-2); }
.contact-list a, .contact-list span { display: inline-flex; gap: 10px; align-items: center; }
.contact-list .icon { color: var(--accent); flex: none; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; border-top: 1px solid var(--dark-line); font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.social { display: flex; gap: 24px; }
.social li { padding: 0; font-size: 14px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* Reveal on scroll -------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1200px) {
	.services-grid, .benefits { grid-template-columns: repeat(2, 1fr); }
	.header-link { display: none; }
	.sub { width: 640px; }
}
@media (max-width: 1100px) {
	.site-nav li > a { padding: 10px 10px; }
	.process { grid-template-columns: repeat(2, 1fr); }
	.reasons { grid-template-columns: repeat(2, 1fr); }
	.reasons > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.reasons > div:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.addons { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
	.nav-toggle { display: inline-flex; }
	.site-header__actions .btn { display: none; }
	.site-nav { position: fixed; inset: 80px 0 0 0; background: var(--bg); padding: 16px var(--gutter) 40px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
	.admin-bar .site-nav { top: 126px; }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline-flex; }
	.site-nav .nav, .site-nav > div > ul, .site-nav > ul { flex-direction: column; gap: 0; align-items: stretch; }
	.site-nav li > a { display: flex; justify-content: space-between; font-size: 24px; letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none !important; }
	.sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; padding: 8px 0 16px; border: 0; box-shadow: none; background: transparent; }
	.sub__grid { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
	.sub__all { display: none; }
	.site-nav .icon-chev { display: none; }
	.site-nav__mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
	body.nav-open { overflow: hidden; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 640px; margin-top: 12px; }
	.sec-head--split { grid-template-columns: 1fr; gap: 20px; }
	.plans, .posts { grid-template-columns: 1fr; }
	.plans { max-width: 540px; }
	.work-featured { grid-template-columns: 1fr; }
	.work-grid { grid-template-columns: repeat(2, 1fr); }
	.svc { grid-template-columns: 1fr; }
	.svc__aside { position: static; }
	.cta-band__inner, .about-intro, .contact, .faq-layout { grid-template-columns: 1fr; }
	.founder { grid-template-columns: 1fr; }
	.founder__photo { max-width: 320px; }
	.terms { grid-template-columns: 1fr; }
	.case-hero__meta { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.stats > div:nth-child(n+3) { margin-top: 20px; border-top: 1px solid var(--line); }
	.stats--dark > div:nth-child(n+3) { border-top-color: var(--dark-line); }
	.svc-nav { top: 80px; }
}
@media (max-width: 640px) {
	.services-grid, .benefits, .work-grid, .process, .reasons, .values { grid-template-columns: 1fr; }
	.reasons > div, .reasons > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--dark-line); }
	.reasons { border-top: 0; }
	.chip--a { left: 8px; bottom: -18px; }
	.chip--b { display: none; }
	.btn { padding: 14px 22px; }
	.hero__actions .btn { flex: 1 1 auto; }
	.svc__price .btn { margin-left: 0; width: 100%; }
	.site-footer__top { grid-template-columns: 1fr; }
	.pricing-bar { flex-direction: column; align-items: stretch; }
	.tabs { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
	.seg { align-self: flex-start; }
	.svc-link { padding: 22px; }
	.wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
	.mode-toggle { width: 38px; height: 38px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
