/* =========================================================================
   Lead Pilots theme
   Dark, light-weight type (no bold), violet + amber accents.
   ========================================================================= */

@font-face {
	font-family: "Sora";
	src: url("../fonts/sora.woff2") format("woff2");
	font-weight: 300 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DM Sans";
	src: url("../fonts/dmsans.woff2") format("woff2");
	font-weight: 300 600;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #090A1C;
	--bg-2: #0E1029;
	--bg-3: #14173A;
	--panel: #0C0E24;
	--card: rgba(255, 255, 255, 0.035);
	--card-hover: rgba(255, 255, 255, 0.06);
	--line: rgba(255, 255, 255, 0.09);
	--line-2: rgba(255, 255, 255, 0.16);
	--text: #F4F3FF;
	--text-2: #C9C8E3;
	--muted: #9C9BBF;
	--violet: #7B5CFF;
	--violet-2: #6A48F5;
	--lilac: #B7A6FF;
	--amber: #FFB547;
	--success: #4ADE80;
	--danger: #FF8A8A;

	--font-head: "Sora", ui-sans-serif, system-ui, sans-serif;
	--font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 28px;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 10vw, 128px);
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--lilac); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: #fff; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-head); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 500; color: #fff; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--violet-2); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.wrap--narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .55) 0; }
.section--panel { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--post { padding-top: 56px; }

/* ---------- Type ---------- */
.h-display { font-size: clamp(36px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.045em; font-weight: 400; }
.h-hero { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 400; max-width: 16ch; }
.h-post { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.035em; max-width: 22ch; }
.h-xl { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.03em; }
.h-md { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
.h-sm { font-size: 19px; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--text-2); }
.grad-text { background: linear-gradient(100deg, var(--lilac) 0%, #fff 45%, var(--amber) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 8s ease-in-out 2 alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lilac); font-weight: 500; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--amber { color: var(--amber); }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--logo .i-accent { stroke: var(--amber); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
	--b: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 28px; border-radius: 999px;
	font-family: var(--font-body); font-size: 17px; font-weight: 500; line-height: 1;
	border: 1px solid var(--b); white-space: nowrap; cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--primary { background: var(--violet-2); color: #fff; box-shadow: 0 14px 40px rgba(123, 92, 255, 0.38), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary:hover { background: #5A39E0; color: #fff; transform: translateY(-2px); box-shadow: 0 20px 50px rgba(123, 92, 255, 0.55), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--ghost { --b: var(--line-2); color: #fff; background: rgba(255,255,255,.02); }
.btn--ghost:hover { --b: rgba(255,255,255,.4); background: rgba(255,255,255,.06); color: #fff; transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.text-link .icon { width: 18px; height: 18px; color: var(--amber); transition: transform .25s var(--ease); }
a:hover .text-link .icon, .text-link:hover .icon { transform: translateX(4px); }

.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; font-weight: 500; }
.pill--amber { background: rgba(255, 181, 71, 0.14); color: var(--amber); border: 1px solid rgba(255, 181, 71, 0.35); }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(255, 181, 71, 0.3); }

/* ---------- Decorative backgrounds ---------- */
.grid-bg {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(20px); }
.glow--hero { width: 900px; height: 620px; right: -220px; top: -160px; background: radial-gradient(closest-side, rgba(123, 92, 255, 0.42), rgba(123, 92, 255, 0) 70%); animation: drift 14s ease-in-out 2 alternate; }
.glow--right { width: 760px; height: 520px; right: -260px; top: -200px; background: radial-gradient(closest-side, rgba(123, 92, 255, 0.34), rgba(123, 92, 255, 0) 70%); }
.glow--left { width: 760px; height: 560px; left: -260px; top: -80px; background: radial-gradient(closest-side, rgba(123, 92, 255, 0.32), rgba(123, 92, 255, 0) 70%); }
@keyframes drift { to { transform: translate3d(-80px, 60px, 0) scale(1.08); } }

.glass {
	background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
	border: 1px solid rgba(255,255,255,.12);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(9, 10, 28, 0.6); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(9, 10, 28, 0.85); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand__img { height: 50px; width: auto; filter: brightness(0) invert(1); }
.brand--footer .brand__img { height: 64px; }
.brand .icon--logo { width: 34px; height: 34px; color: var(--violet); }
.brand__word { font-family: var(--font-head); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--text-2); font-size: 15.5px; font-weight: 400; transition: color .2s, background .2s; }
.nav__link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__link:hover, .nav__item.is-current > .nav__link, .nav__link[aria-current] { color: #fff; background: rgba(255,255,255,.05); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 260px; padding: 10px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; background: rgba(16, 18, 44, 0.96); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__sub ul { list-style: none; }
.nav__sub a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 14px; border-radius: 12px; color: var(--text-2); font-size: 15px; }
.nav__sub a .icon { width: 16px; height: 16px; opacity: 0; transform: translateX(-4px); transition: all .2s var(--ease); color: var(--amber); }
.nav__sub a:hover, .nav__sub a[aria-current] { background: rgba(255,255,255,.06); color: #fff; }
.nav__sub a:hover .icon { opacity: 1; transform: none; }
.nav__item.has-sub:hover .nav__sub, .nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15.5px; white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--amber); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .when-open { display: none; }
.menu-open .menu-toggle .when-open { display: block; }
.menu-open .menu-toggle .when-closed { display: none; }

/* Mobile drawer */
.drawer { position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: rgba(9, 10, 28, 0.98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: 24px var(--gutter) 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 32px; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease); }
.drawer[hidden] { display: none; }
.drawer.is-open { opacity: 1; transform: none; }
.drawer__group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.drawer__link { font-family: var(--font-head); font-size: 26px; color: #fff; letter-spacing: -0.02em; }
.drawer__subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.drawer__subs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 15px; }
.drawer__foot { display: grid; gap: 16px; }
.drawer__foot .btn { width: 100%; }
.drawer__mail { color: var(--text-2); text-align: center; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px) 0 clamp(72px, 9vw, 120px); }
.hero__path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__path path { fill: none; stroke: rgba(183, 166, 255, 0.22); stroke-width: 1.5; stroke-dasharray: 6 10; }
@keyframes dash { to { stroke-dashoffset: -800; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { position: relative; z-index: 1; }
.hero__copy .h-display, .hero__copy .h-hero { margin-bottom: 26px; }
.hero__lead { max-width: 580px; margin-bottom: 34px; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: var(--muted); font-size: 15.5px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .icon { width: 18px; height: 18px; color: var(--amber); }

.hero__card { padding: clamp(24px, 3vw, 34px); position: relative; z-index: 1; }
.hero__card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.hero__card-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 18px; color: #fff; }
.hero__card-title .icon { color: var(--amber); }
.flight { list-style: none; }
.flight__step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; }
.flight__step.is-last { border-bottom: 0; padding-bottom: 4px; }
.flight__num { flex: 0 0 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-head); font-size: 15px; color: var(--lilac); background: rgba(123, 92, 255, 0.16); border: 1px solid rgba(123, 92, 255, 0.35); }
.flight__step.is-last .flight__num { background: rgba(255, 181, 71, 0.14); border-color: rgba(255, 181, 71, 0.4); color: var(--amber); }
.flight__text { display: grid; gap: 4px; }
.flight__title { color: #fff; font-size: 17px; font-weight: 500; }
.flight__desc { color: var(--muted); font-size: 15px; line-height: 1.5; }

.checklist { list-style: none; display: grid; gap: 4px; margin-top: 8px; }
.checklist li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 16px; line-height: 1.5; }
.checklist li:last-child { border-bottom: 0; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 181, 71, 0.14); color: var(--amber); margin-top: 1px; }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: rgba(255,255,255,.012); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__group span { font-family: var(--font-head); font-size: clamp(18px, 2vw, 22px); color: var(--muted); white-space: nowrap; }
.marquee .marquee__dot { color: var(--violet); font-size: 14px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(32px, 4.5vw, 60px) 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero .h-hero, .page-hero .h-post { margin-bottom: 22px; }
.page-hero__intro { max-width: 680px; margin-bottom: 32px; }
.page-hero--post { border-bottom: 0; padding-bottom: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--text-2); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; color: var(--muted); font-size: 15px; }
.post-meta span, .post-meta time { display: inline-flex; align-items: center; gap: 8px; }
.post-meta .icon { width: 18px; height: 18px; }
.post-meta .icon--logo { width: 22px; height: 22px; color: var(--violet); }
.post-cover { margin-bottom: 0; }
.post-cover img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); }

/* ---------- Sections ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.section-head .h-xl, .section-head .h-lg { max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split__head .h-xl { margin-bottom: 22px; }
.split__head .lead { margin-bottom: 30px; }
.split__body > .lead { margin-bottom: 40px; }

.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.mini h3 { font-size: 18px; margin: 18px 0 8px; }
.mini p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.mini__icon, .feature-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(123, 92, 255, 0.14); border: 1px solid rgba(123, 92, 255, 0.3); color: var(--lilac); }
.mini__icon .icon, .feature-card__icon .icon { width: 24px; height: 24px; }

/* Card grids */
.card-grid { display: grid; gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); color: var(--text); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s; isolation: isolate; }
.feature-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(123, 92, 255, 0.18), transparent 60%); }
a.feature-card:hover { transform: translateY(-4px); border-color: rgba(123, 92, 255, 0.45); color: var(--text); }
a.feature-card:hover::after { opacity: 1; }
.feature-card__title { font-size: 23px; margin-top: 8px; }
.feature-card p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.feature-card .text-link { margin-top: auto; padding-top: 10px; }

.work-card { display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.work-card:hover { color: var(--text); }
.work-card__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__meta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-top: 8px; }
.work-card__title { font-size: 25px; }
.work-card p { color: var(--muted); font-size: 16px; }

.numbered { list-style: none; }
.numbered li { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.numbered li:first-child { padding-top: 6px; }
.numbered li:last-child { border-bottom: 0; }
.numbered__n { font-family: var(--font-head); font-size: 15px; color: var(--violet); flex: 0 0 40px; padding-top: 4px; }
.numbered h3 { font-size: 22px; margin-bottom: 8px; }
.numbered p { color: var(--muted); }

.trade-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 28px; }
.trade-links--left { max-width: 760px; }
.trade-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: #fff; font-family: var(--font-head); font-size: 18px; transition: all .3s var(--ease); }
.trade-link .icon { color: var(--amber); transition: transform .3s var(--ease); }
.trade-link:hover { border-color: rgba(123, 92, 255, 0.5); background: rgba(123, 92, 255, 0.1); color: #fff; }
.trade-link:hover .icon { transform: translateX(4px); }

/* Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: p; }
.process__step { padding: 30px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); position: relative; }
.process__step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 1px; background: var(--line-2); }
.process__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(123, 92, 255, 0.16); border: 1px solid rgba(123, 92, 255, 0.35); color: var(--lilac); font-family: var(--font-head); font-size: 15px; margin-bottom: 22px; }
.process__step h3 { font-size: 22px; margin-bottom: 10px; }
.process__step p { color: var(--muted); font-size: 16px; }

/* Case studies (work page) */
.case-list { display: grid; gap: clamp(56px, 8vw, 96px); }
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.case--flip .case__media { order: 2; }
.case__media { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-3); }
.case__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.case__media:hover img { transform: scale(1.03); }
.case__body .h-lg { margin: 10px 0 16px; }
.case__body .h-lg a { color: #fff; }
.case__body .lead { margin-bottom: 28px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 4px; }
.faq-nav a { padding: 10px 16px; border-radius: 12px; color: var(--text-2); border-left: 1px solid var(--line); border-radius: 0 12px 12px 0; }
.faq-nav a:hover { background: rgba(255,255,255,.04); color: #fff; border-left-color: var(--violet); }
.faq-groups { display: grid; gap: 56px; max-width: 860px; }
.faq-group .h-md { margin-bottom: 18px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; font-family: var(--font-head); font-size: 19px; color: #fff; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--lilac); }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .3s var(--ease), background .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq__icon { background: var(--violet); border-color: var(--violet); }
.faq[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 60px 24px 0; color: var(--text-2); }

/* Contact */
.contact-grid, .cta-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: start; position: relative; z-index: 1; }
.contact-copy .h-hero { margin-bottom: 22px; }
.contact-copy .lead, .cta-copy .lead { margin-bottom: 34px; }
.cta-copy .h-xl { margin-bottom: 22px; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list a, .contact-list__row { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: #fff; transition: border-color .25s, background .25s; }
.contact-list a:hover { border-color: rgba(123, 92, 255, .5); background: rgba(123, 92, 255, .08); color: #fff; }
.contact-list__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 181, 71, 0.12); color: var(--amber); }
.contact-list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 2px; }
.what-next { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.what-next .h-sm { margin-bottom: 16px; }
.what-next ol { padding-left: 20px; color: var(--text-2); display: grid; gap: 8px; }
.what-next li::marker { color: var(--amber); }
.cta-section { overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(1200px 600px at 100% 100%, rgba(255, 181, 71, 0.06), transparent 60%), var(--bg); }

/* Form */
.form-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.13); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08); }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; color: var(--text-2); }
.field label span { color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(9, 10, 28, 0.6); color: #fff; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.22); background: rgba(9, 10, 28, 0.85); }
.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid { border-color: var(--danger); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B7A6FF' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; cursor: pointer; }
.field select option { background: #14173A; color: #fff; }
.field__error { margin: 0; color: #FFD3D3; font-size: 14px; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.form-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.form-alert { grid-column: 1 / -1; padding: 14px 16px; border-radius: 14px; background: rgba(255, 138, 138, 0.1); border: 1px solid rgba(255, 138, 138, 0.35); color: #FFD3D3; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card--done { display: block; text-align: center; padding: 56px 40px; }
.form-card--done h3 { font-size: 28px; margin: 22px 0 12px; }
.form-card--done p { color: var(--text-2); }
.done-badge { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(74, 222, 128, 0.14); border: 1px solid rgba(74, 222, 128, 0.4); color: var(--success); }
.done-badge .icon { width: 30px; height: 30px; }

/* ---------- Blog ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 15px; }
.filter a:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.filter a[aria-current] { background: var(--violet-2); border-color: var(--violet-2); color: #fff; }

.post-card { height: 100%; }
.post-card__link { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); color: var(--text); transition: transform .35s var(--ease), border-color .35s; }
.post-card__link:hover { transform: translateY(-4px); border-color: rgba(123, 92, 255, 0.45); color: var(--text); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--violet); background: radial-gradient(circle at 70% 20%, rgba(123,92,255,.3), transparent 60%), var(--bg-3); }
.post-card__ph .icon { width: 48px; height: 48px; }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); }
.post-card__title { font-size: 21px; line-height: 1.25; }
.post-card__excerpt { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.post-card .text-link { margin-top: auto; padding-top: 6px; font-size: 15.5px; }
.post-card--feature { grid-column: 1 / -1; }
.post-card--feature .post-card__link { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.post-card--feature .post-card__media { aspect-ratio: auto; min-height: 340px; }
.post-card--feature .post-card__body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.post-card--feature .post-card__title { font-size: clamp(26px, 2.6vw, 34px); }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.pagination .page-numbers.current { background: var(--violet-2); border-color: var(--violet-2); color: #fff; }

/* Article layout */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.article-layout--post .prose { max-width: 760px; }
.toc-wrap, .side-card { position: sticky; top: calc(var(--header-h) + 28px); }
.toc-wrap { display: grid; gap: 20px; }
.toc-wrap .side-card { position: static; }
.toc { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); max-height: calc(100vh - var(--header-h) - 360px); overflow: auto; }
.toc__title { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: #fff; border-left-color: var(--violet); }
.side-card { padding: 28px; display: grid; gap: 14px; border-radius: var(--radius-lg); }
.side-card__title { font-family: var(--font-head); font-size: 21px; color: #fff; letter-spacing: -0.01em; line-height: 1.25; }
.side-card p { color: var(--muted); font-size: 15.5px; }
.side-card .btn { min-height: 52px; font-size: 16px; }

.post-cta { margin-top: 56px; padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 24px; border-radius: var(--radius-lg); }
.post-cta__title { display: block; font-family: var(--font-head); font-size: 26px; color: #fff; letter-spacing: -0.02em; margin-bottom: 8px; }
.post-cta p { color: var(--text-2); }

/* Prose (post and page content) */
.prose { color: var(--text-2); font-size: 18px; line-height: 1.75; }
.prose--lead > p:first-child { font-size: clamp(19px, 1.7vw, 22px); color: #fff; line-height: 1.6; }
.prose > * + * { margin-top: 1.2em; }
.prose p { margin: 0; }
.prose > * + p { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 2.1em; margin-bottom: .2em; letter-spacing: -0.03em; }
.prose h3 { font-size: clamp(20px, 1.8vw, 23px); margin-top: 1.8em; margin-bottom: .1em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--lilac); text-decoration: underline; text-decoration-color: rgba(183, 166, 255, .4); text-underline-offset: 3px; }
.prose a:hover { color: #fff; text-decoration-color: #fff; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 3px; background: var(--violet); transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 42px; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .15em; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-family: var(--font-head); font-size: 13.5px; color: var(--lilac); background: rgba(123, 92, 255, .16); border: 1px solid rgba(123, 92, 255, .35); line-height: 1; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--amber); color: #fff; font-family: var(--font-head); font-size: 21px; line-height: 1.5; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.08); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { color: #fff; font-weight: 500; background: rgba(255,255,255,.03); }

/* ---------- Footer ---------- */
.site-footer { background: #06071A; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .8fr)) minmax(0, 1.3fr); gap: 40px; }
.site-footer__about p { color: var(--muted); margin: 22px 0 26px; max-width: 340px; font-size: 16px; }
.site-footer__h { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; font-weight: 500; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer__col a { color: var(--text-2); font-size: 15.5px; }
.site-footer__col a:hover { color: #fff; }
.site-footer__contact a, .site-footer__contact li > span { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.site-footer__contact .icon { width: 18px; height: 18px; color: var(--amber); margin-top: 3px; }
.site-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__legal a { color: var(--muted); }
.site-footer__legal a:hover { color: #fff; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal--delay { transition-delay: 150ms; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.header-phone span { display: none; }
	.header-phone { width: 46px; height: 46px; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); }
	.nav__link { padding: 10px 11px; font-size: 15px; }
	.site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
	.nav { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-header__actions { margin-left: auto; }
	.hero__grid, .split, .split--wide, .contact-grid, .cta-grid, .case, .article-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
	.case--flip .case__media { order: 0; }
	.card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.process__step::after { display: none; }
	.mini-grid { grid-template-columns: minmax(0, 1fr); }
	.faq-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
	.faq-nav a { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; }
	.toc-wrap { position: static; }
	.toc-wrap .toc { display: none; }
	.side-card { position: static; }
	.post-card--feature .post-card__link { grid-template-columns: minmax(0, 1fr); }
	.post-card--feature .post-card__media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
	:root { --header-h: 68px; }
	body { font-size: 16.5px; padding-bottom: 72px; }
	.brand__img { height: 42px; }
	.site-header__actions .btn { display: none; }
	.card-grid--3, .card-grid--4, .process { grid-template-columns: minmax(0, 1fr); }
	.form-card { grid-template-columns: minmax(0, 1fr); }
	.btn-row .btn { width: 100%; }
	.hero { padding-top: 24px; }
	.ticks { flex-direction: column; gap: 10px; }
	.feature-card, .process__step { padding: 26px; }
	.faq__a { padding-right: 0; }
	.faq summary { font-size: 17.5px; }
	.prose { font-size: 17px; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
	.site-footer__contact { grid-column: 1 / -1; }
	.post-cover img { aspect-ratio: 16 / 10; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(9, 10, 28, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transition: transform .3s var(--ease); }
	.mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 500; font-size: 16px; }
	.mobile-bar .icon { width: 18px; height: 18px; }
	.mobile-bar__call { border: 1px solid var(--line-2); color: #fff; }
	.mobile-bar__quote { background: var(--violet-2); color: #fff; }
	.mobile-bar.is-hidden { transform: translateY(110%); visibility: hidden; }
	html { scroll-padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.marquee__track { animation: none; }
}

/* Buttons inside content keep button styling */
.prose .btn, .prose .btn:hover { color: #fff; text-decoration: none; }
.prose .post-cta .btn-row { margin-top: 0; }

.site-footer__h--gap { margin-top: 28px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); }
.cta-band__title { font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 28px); color: #fff; letter-spacing: -0.02em; display: block; margin-bottom: 6px; }
.cta-band p { color: var(--text-2); max-width: 640px; }


/* =========================================================================
   Refinements (v1.1)
   ========================================================================= */

/* Logo */
.brand__img { width: auto; height: 44px; filter: none; }
.brand--footer .brand__img { height: 40px; }
.site-footer__tag { color: var(--amber); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 14px 0 0; }
@media (max-width: 760px) { .brand__img { height: 34px; } }

/* Hero */
.h-display .grad-text { white-space: nowrap; }
@media (max-width: 720px) { .h-display { font-size: clamp(34px, 10vw, 42px); } .glow--hero { animation: none; } }
@media (max-width: 1024px) { .hero:not(.hero--landing) .hero__card { display: none; } }

/* Proof strip (replaces the trades marquee) */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); padding: 22px 0; }
.proof__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.proof__label { color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.proof__list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; padding: 0; }
.proof__item { display: grid; gap: 2px; color: #fff; font-family: var(--font-head); font-size: 18px; }
.proof__item small { color: var(--amber); font-family: var(--font-body, inherit); font-size: 13px; }
.proof__item:hover { color: var(--lilac); }
.proof__more { margin-left: auto; }
@media (max-width: 720px) { .proof__more { margin-left: 0; } .proof__list { gap: 12px 24px; } }

/* Split sections with a photo */
.split--media { align-items: center; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.split--media .split__media { margin: 0; aspect-ratio: 4 / 3; }
.split--media .btn-row { margin-top: 8px; }
.split__media { margin: 32px 0 0; }
.mini-grid--row { margin-top: clamp(40px, 6vw, 72px); }
.split--dash { align-items: center; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.dash-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.dash-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.ticks--stack { flex-direction: column; gap: 12px; margin: 24px 0 28px; color: var(--text-2); }
@media (max-width: 1024px) { .split--media, .split--dash { grid-template-columns: minmax(0, 1fr); } }

/* Landing pages */
.hero--landing { padding-bottom: clamp(40px, 5vw, 64px); }
.hero--landing + .section { padding-top: clamp(32px, 4vw, 56px); }
.landing-media { margin: 0 0 36px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.landing-media img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; }
.landing-media:not(.landing-media--square) img { aspect-ratio: 16 / 10; object-fit: cover; }
.landing-media--square { float: right; width: min(42%, 320px); margin: 6px 0 24px 32px; }
.cta-band--inline { margin: 40px 0; clear: both; }
.prose .cta-band--inline p { margin: 0; }
@media (max-width: 720px) { .landing-media--square { float: none; width: 100%; margin: 0 0 28px; } }

/* Work page alternating rows keep the same proportions */
.case--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 1024px) { .case--flip { grid-template-columns: minmax(0, 1fr); } }
.work-card .text-link { margin-top: 6px; font-size: 15.5px; }

/* Trade / service links as chips */
.trade-links { display: flex; flex-wrap: wrap; gap: 10px; }
.trade-link { padding: 13px 20px; font-size: 16px; border-radius: 999px; gap: 10px; justify-content: flex-start; }
.trade-link .icon { width: 16px; height: 16px; }

/* Inner page hero with a side card */
.page-hero--aside .page-hero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero__aside { padding: 28px; border-radius: var(--radius-lg); }
.page-hero__aside .ticks--stack { margin: 0 0 22px; }
.page-hero__call { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); color: #fff; font-family: var(--font-head); font-size: 20px; }
.page-hero__call small { display: block; font-family: inherit; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.page-hero__call .icon { width: 22px; height: 22px; color: var(--amber); }
@media (max-width: 1024px) { .page-hero--aside .page-hero__inner { grid-template-columns: minmax(0, 1fr); } .page-hero__aside { display: none; } }

/* Quote sections: form comes straight after the heading on small screens */
.cta-grid { grid-template-areas: "copy form" "aside form"; align-items: start; }
.cta-copy { grid-area: copy; }
.cta-form { grid-area: form; }
.cta-aside { grid-area: aside; }
.contact-grid { grid-template-areas: "copy form" "aside form"; align-items: start; }
.contact-copy { grid-area: copy; }
.contact-form { grid-area: form; }
.contact-aside { grid-area: aside; }
@media (max-width: 1024px) {
	.cta-grid, .contact-grid { grid-template-areas: "copy" "form" "aside"; }
}

/* Mobile menu accordion */
.drawer details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.drawer details > summary::-webkit-details-marker { display: none; }
.drawer details > summary .icon { width: 22px; height: 22px; color: var(--amber); transition: transform .25s var(--ease); }
.drawer details[open] > summary .icon { transform: rotate(180deg); }
.drawer__link { display: flex; padding: 6px 0; min-height: 44px; align-items: center; }
.drawer__subs a { min-height: 40px; display: inline-flex; align-items: center; }
.drawer__foot { position: sticky; bottom: -40px; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(9,10,28,0), rgba(9,10,28,.98) 30%); }

/* Navigation */
.nav__sub { min-width: 300px; }

/* Bigger tap targets */
.site-footer__col a { display: inline-block; padding: 5px 0; }
.text-link { min-height: 44px; }

/* Small screens */
@media (max-width: 720px) {
	.eyebrow { font-size: 12px; letter-spacing: .12em; gap: 8px; }
	.eyebrow::before { width: 16px; }
}

/* Spacing rhythm */
.section--tight + .section, .section--panel + .section--tight { padding-top: calc(var(--section) * .6); }

/* Mobile: swipeable card rows and more compact cards */
@media (max-width: 720px) {
	.card-grid--scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
	.card-grid--scroll::-webkit-scrollbar { display: none; }
	.card-grid--scroll > * { scroll-snap-align: start; }
	.feature-card { padding: 22px; gap: 10px; }
	.feature-card .text-link { display: none; }
	.split--media .btn-row { display: none; }
	.mini { padding: 18px; }
}

/* Inline SVG logo */
.brand svg.brand__img { display: block; height: 44px; width: auto; filter: none; }
.brand--footer svg.brand__img { height: 48px; }
@media (max-width: 760px) { .brand svg.brand__img { height: 36px; } }

/* ---------- Balanced palette: deep indigo base, violet + amber accents ---------- */
:root {
	--bg: #0C0C1C;
	--bg-2: #12122A;
	--bg-3: #1A1A3A;
	--panel: #10102A;
	--card: rgba(140, 115, 255, 0.06);
	--card-hover: rgba(140, 115, 255, 0.1);
	--line: rgba(170, 150, 255, 0.14);
	--line-2: rgba(170, 150, 255, 0.24);
}
body { background: radial-gradient(1400px 700px at 85% -10%, rgba(123, 92, 255, 0.16), transparent 60%), var(--bg); }
.site-header { background: rgba(12, 12, 28, 0.7); border-bottom: 1px solid rgba(170, 150, 255, 0.12); }
.site-header.is-scrolled { background: rgba(12, 12, 28, 0.9); }
.btn--primary { box-shadow: 0 10px 28px rgba(123, 92, 255, 0.32), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary:hover { box-shadow: 0 14px 36px rgba(123, 92, 255, 0.42), inset 0 1px 0 rgba(255,255,255,.18); }
.glow--hero { background: radial-gradient(closest-side, rgba(123, 92, 255, 0.3), rgba(123, 92, 255, 0) 70%); }
.glow--right, .glow--left { background: radial-gradient(closest-side, rgba(123, 92, 255, 0.22), rgba(123, 92, 255, 0) 70%); }
.mini__icon, .feature-card__icon { background: linear-gradient(135deg, rgba(123, 92, 255, 0.28), rgba(255, 181, 71, 0.12)); border-color: rgba(170, 150, 255, 0.4); color: #D9CFFF; }
.feature-card, .post-card__link { background: linear-gradient(180deg, rgba(140, 115, 255, 0.09), rgba(140, 115, 255, 0.03)); }
a.feature-card:hover, .post-card__link:hover { border-color: rgba(170, 150, 255, 0.5); }

/* ---------- Day sections: light "sky" tones between the dark night bookends ---------- */
/* Light by default: plain content sections. Dark: hero, panels, .tone-dark, the quote form and footer. */
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) {
	--text: #2F2D57;
	--text-2: #45436C;
	--muted: #66638C;
	--card: #FFFFFF;
	--card-hover: #FFFFFF;
	--line: rgba(40, 32, 120, 0.11);
	--line-2: rgba(40, 32, 120, 0.2);
	--lilac: #5532E6;
	--ink: #16153A;
	background: #F3F1FF;
	color: var(--text);
}
.tone-white, .proof { background: #FFFFFF; }
.section--panel.tone-sky { background: #F3F1FF; border-color: rgba(40, 32, 120, 0.08); }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) :is(h1, h2, h3, h4, h5, h6, b, strong, .text-link, .proof__item, .trade-link, .side-card__title, .post-cta__title, .cta-band__title, .case__body .h-lg a, .prose th, .prose blockquote, .prose--lead > p:first-child, .hero__card-title) { color: var(--ink); }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) a:not(.btn):hover { color: #3B1FC4; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) :is(.glass, .mini, .feature-card, .post-card__link, .trade-link, .process__step) {
	background: #FFFFFF;
	border-color: var(--line);
	box-shadow: 0 1px 2px rgba(22, 21, 58, 0.05), 0 12px 30px rgba(22, 21, 58, 0.07);
}
:where(.tone-sky, .tone-white) .glass { background: #FFFFFF; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) :is(a.feature-card:hover, .post-card__link:hover, .trade-link:hover) { border-color: rgba(85, 50, 230, 0.4); background: #FFFFFF; color: var(--ink); }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) :is(.mini__icon, .feature-card__icon, .process__num) { background: #EDE8FF; border-color: rgba(85, 50, 230, 0.18); color: #5532E6; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) .numbered__n { color: #5532E6; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) :is(.eyebrow--amber, .proof__item small) { color: #B05F00; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) :is(.ticks .icon, .checklist .icon) { color: #C26A00; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) .btn--ghost { --b: var(--line-2); color: var(--ink); background: #FFFFFF; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) .btn--ghost:hover { --b: rgba(85, 50, 230, 0.45); color: var(--ink); background: #FFFFFF; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) .prose code { background: #EDE8FF; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white, .proof) :is(.split__media, .dash-media, .landing-media, .work-card__media, .case__media) { border-color: transparent; box-shadow: 0 20px 50px rgba(22, 21, 58, 0.16); }

/* Call-to-action cards inside light sections: a solid violet block */
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white) .cta-band {
	background: linear-gradient(120deg, #3A1FC2 0%, #5B3BF0 60%, #7D5CFF 100%);
	border: 0;
	box-shadow: 0 18px 44px rgba(58, 31, 194, 0.28);
	color: #E9E4FF;
}
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white) .cta-band :is(.cta-band__title, b, strong) { color: #FFFFFF; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white) .cta-band p { color: #E4DEFF; }
.cta-band .btn--primary { background: #FFFFFF; color: #3A1FC2; box-shadow: 0 8px 20px rgba(20, 10, 80, 0.25); }
.cta-band .btn--primary:hover { background: #F1EDFF; color: #2A1499; }

/* Full-width violet band with a dashed flight path */
.tone-violet {
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 300' preserveAspectRatio='none'%3E%3Cpath d='M-20 260 C 300 240 520 120 820 140 S 1220 60 1460 20' fill='none' stroke='%23ffffff' stroke-opacity='.28' stroke-width='2' stroke-dasharray='8 10'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
		radial-gradient(700px 300px at 85% 0%, rgba(255, 181, 71, 0.22), transparent 60%),
		linear-gradient(120deg, #2C1898 0%, #5232E8 55%, #7B5AFF 100%);
	color: #E9E4FF;
}
.tone-violet .cta-band { background: none; border: 0; box-shadow: none; padding-left: 0; padding-right: 0; }
.tone-violet .cta-band__title { color: #FFFFFF; font-size: clamp(26px, 2.8vw, 36px); }
.tone-violet .cta-band p { color: #E4DEFF; max-width: 62ch; }

/* Dark sections keep a little colour */
.section.tone-dark { background: radial-gradient(900px 420px at 0% 0%, rgba(123, 92, 255, 0.16), transparent 60%), radial-gradient(700px 360px at 100% 100%, rgba(255, 181, 71, 0.06), transparent 60%), #0E0D26; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--panel:not(.tone-sky) { background: radial-gradient(900px 420px at 100% 0%, rgba(123, 92, 255, 0.18), transparent 60%), linear-gradient(180deg, #15143A, #0F0E2A); }
.proof { border-color: rgba(40, 32, 120, 0.08); }
.proof__label { color: #66638C; }

/* Day sections: fixes */
.site-main .cta-band .cta-band__title { color: #FFFFFF; }
.site-main .cta-band p { color: #E4DEFF; }
:where(.site-main > .section:not(.section--panel):not(.cta-section):not(.tone-dark):not(.tone-violet), .tone-sky, .tone-white) .tag { color: #9A5200; background: #FFF1DC; border-color: rgba(176, 95, 0, 0.25); }

/* ---------- Cookie choice ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 97; max-width: 380px; width: calc(100% - 32px); padding: 18px 20px; border-radius: 16px; background: #15132B; border: 1px solid rgba(255,255,255,.12); color: #CFCBE6; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; font-size: 14.5px; line-height: 1.5; }
.cookie.is-in { opacity: 1; transform: none; }
.cookie p { margin: 0 0 12px; }
.cookie a { color: var(--amber); text-decoration: underline; }
.cookie__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn--primary { box-shadow: none; }
@media (max-width: 1023px) { .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); } }
.site-footer__also { font-size: 13.5px; margin-top: 18px; opacity: .8; max-width: 40ch; }
.site-footer__also a { text-decoration: underline; }
