/* =========================================================
   LogikMind v2: dark editorial
   ========================================================= */
:root {
	--ink: #0b0c0f;
	--ink-2: #111317;
	--ink-3: #171a1f;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .14);
	--text: #ecebe7;
	--muted: #9b9ca4;
	--dim: #82848d;
	--accent: #f36a2b;
	--accent-2: #ff9a5c;
	--brand-grad: linear-gradient(100deg, #f15a24 0%, #f47a3a 45%, #f7944d 100%);
	--paper: #f3f0ea;
	--paper-2: #e8e3da;
	--paper-text: #16171b;
	--paper-muted: #5f5e5a;

	--sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
	--mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--wrap: 1280px;
	--gutter: clamp(20px, 4vw, 48px);
	--radius: 20px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font: 400 16px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }

/* ---------- Type helpers ---------- */
.eyebrow, .kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.kicker { padding: 9px 14px 9px 12px; border: 1px solid var(--line-2); border-radius: 100px; background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.display { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.035em; margin-top: 18px; }
.display em, .hero__title em, .page-hero__title em, .sidebar__cta-title em, .partners__lead em {
	background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	padding-right: .06em; margin-right: -.06em;
}

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.pulse::after {
	content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent);
	animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
	--h: 52px;
	display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 24px;
	border-radius: 100px; font: 500 15px/1 var(--sans); letter-spacing: -.005em;
	border: 1px solid transparent; cursor: pointer; white-space: nowrap;
	transition: background .3s var(--ease), background-position .5s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease), box-shadow .3s var(--ease);
	will-change: transform;
}
.btn .arrow { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--accent { background: var(--brand-grad); background-size: 140% 100%; background-position: 0 0; color: #fff; box-shadow: 0 0 0 0 rgba(243, 106, 43, 0), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--accent:hover { background-position: 100% 0; box-shadow: 0 12px 40px -10px rgba(243, 106, 43, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; --h: 46px; }
.btn--line:hover { background: var(--paper-text); color: var(--paper); border-color: var(--paper-text); }
.arrow { width: 16px; height: 16px; flex: none; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	padding-top: env(safe-area-inset-top, 0px);
	transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
	border-bottom: 1px solid transparent;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled, .site-header.is-open, body:not(.home) .site-header {
	background: rgba(11, 12, 15, .86); backdrop-filter: saturate(140%) blur(20px); -webkit-backdrop-filter: saturate(140%) blur(20px);
	border-bottom-color: var(--line);
}
.scroll-progress {
	position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
	background: var(--brand-grad); opacity: .9; pointer-events: none;
}

/* System status bar */
.sysbar {
	height: 34px; overflow: hidden; border-bottom: 1px solid var(--line);
	font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
	background: rgba(255, 255, 255, .015);
	transition: height .45s var(--ease), opacity .3s var(--ease), border-color .3s;
}
.site-header.is-scrolled .sysbar, .site-header.is-open .sysbar { height: 0; opacity: 0; border-color: transparent; }
.sysbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 34px; }
.sysbar__status, .sysbar__clock, .sysbar__links { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.sysbar__status .pulse { width: 6px; height: 6px; margin-right: 4px; }
.sysbar b { font-weight: 500; color: #6fdc97; }
.sysbar__sep { opacity: .5; margin-inline: 2px; }
.sysbar__extra { display: inline-flex; align-items: center; gap: 8px; }
.sysbar time { color: var(--text); font-variant-numeric: tabular-nums; }
.sysbar__links a { color: var(--muted); transition: color .2s; }
.sysbar__links a:hover { color: var(--accent-2); }
.pulse--ok { background: #5fd38d; }
.pulse--ok::after { border-color: #5fd38d; }

.site-header__bar { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { width: 150px; }
.nav { display: flex; align-items: center; flex: 1; justify-content: space-between; }
.nav__list { display: flex; list-style: none; margin: 0 auto; padding: 0; gap: 2px; }

/* Links sit in a glass capsule; a lens glides to the hovered link and rests on the current page (JS) */
.site-header__bar { position: relative; }
.nav__list {
	padding: 4px; gap: 0; border: 1px solid var(--line); border-radius: 100px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.nav__item { position: static; }
.nav__lens {
	position: absolute; left: 0; top: 50%; z-index: 0; width: var(--lw, 0); height: 36px; margin-top: -18px; border-radius: 100px;
	transform: translateX(var(--lx, 0)); opacity: 0; pointer-events: none;
	background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 6px 20px -8px rgba(0, 0, 0, .6);
}
.nav__lens::after {
	content: ""; position: absolute; left: 50%; bottom: -1px; width: 22px; height: 2px; margin-left: -11px; border-radius: 2px;
	background: var(--brand-grad); box-shadow: 0 0 10px 1px rgba(243, 106, 43, .8), 0 0 22px 4px rgba(243, 106, 43, .25);
}
.nav__lens.is-on { opacity: 1; }
.nav__lens.is-ready { transition: transform .5s cubic-bezier(.3, 1.3, .4, 1), width .5s cubic-bezier(.3, 1.3, .4, 1), opacity .3s; }
.nav__link {
	position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 100px;
	font: 450 14.5px/1 var(--sans); color: rgba(236, 235, 231, .72); background: none; border: 0; cursor: pointer;
	transition: color .25s;
}
.nav__link:hover, .nav__link:focus-visible, .nav__item--mega.is-open .nav__link,
.nav__link[aria-current="page"], .nav__link.is-current { color: #fff; }
.nav__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chev { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__item--mega.is-open .chev { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Search trigger */
.cmdk-trigger {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 12px;
	border: 1px solid var(--line-2); border-radius: 100px; background: rgba(255, 255, 255, .03);
	font: 400 13.5px/1 var(--sans); color: var(--muted); cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.cmdk-trigger:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.cmdk-trigger .icon { width: 15px; height: 15px; }
kbd, .cmdk-key {
	font: 500 10.5px/1 var(--mono); padding: 4px 6px; border-radius: 6px; color: var(--muted);
	border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
}
.cmdk-trigger--icon { display: none; }

/* Services panel: practice switcher with a cursor-lit edge */
.mega {
	position: absolute; left: var(--gutter); right: var(--gutter); top: 100%; padding-top: 8px;
	opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.985); transform-origin: 50% 0;
	transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner {
	--mx: 50%; --my: -200px;
	position: relative; display: grid; grid-template-columns: 316px 1fr 290px; min-height: 380px; border-radius: 24px; overflow: hidden;
	background: radial-gradient(700px circle at var(--mx) var(--my), rgba(243, 106, 43, .07), transparent 45%), rgba(14, 15, 19, .96);
	backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
	border: 1px solid var(--line); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85);
}
.mega__inner::before {
	content: ""; position: absolute; inset: -1px; z-index: 4; border-radius: inherit; padding: 1px; pointer-events: none;
	background: radial-gradient(360px circle at var(--mx) var(--my), rgba(247, 148, 77, .95), rgba(243, 106, 43, .25) 40%, transparent 70%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}

.mega__rail { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-right: 1px solid var(--line); }
.mega__rail-glow {
	position: absolute; left: 18px; right: 18px; top: 18px; height: 68px; border-radius: 16px; pointer-events: none;
	background: linear-gradient(100deg, rgba(243, 106, 43, .14), rgba(255, 255, 255, .03) 70%);
	border: 1px solid rgba(243, 106, 43, .28);
	transform: translateY(calc(var(--i, 0) * 72px)); transition: transform .5s cubic-bezier(.3, 1.25, .4, 1);
}
.mega__tab {
	position: relative; z-index: 1; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px;
	height: 68px; padding: 0 13px; border: 0; border-radius: 16px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.mega__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.mega__icon {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--muted);
	border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
	transition: color .3s, background .3s, border-color .3s, box-shadow .3s, transform .4s var(--ease);
}
.mega__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mega__tab:hover .mega__icon { color: var(--text); }
.mega__tab.is-active .mega__icon {
	color: #fff; background: var(--brand-grad); border-color: transparent; transform: scale(1.04);
	box-shadow: 0 10px 26px -8px rgba(243, 106, 43, .75), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.mega__tab-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mega__tab-name { font-size: 14.5px; font-weight: 500; line-height: 1.2; color: var(--muted); transition: color .3s; }
.mega__tab.is-active .mega__tab-name, .mega__tab:hover .mega__tab-name { color: var(--text); }
.mega__tab-meta { font-size: 12px; color: var(--dim); }
.mega__rail-cta {
	margin-top: auto; padding: 16px 13px 2px; border-top: 1px solid var(--line);
	display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--dim);
}
.mega__rail-cta span { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); font-weight: 500; }
.mega__rail-cta .arrow { transition: transform .25s var(--ease); }
.mega__rail-cta:hover span { color: #fff; }
.mega__rail-cta:hover .arrow { transform: translateX(3px); }

.mega__panels { position: relative; }
.mega__panel { position: absolute; inset: 0; padding: 24px 24px 20px; visibility: hidden; }
.mega__panel.is-active { visibility: visible; }
.mega__label { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 2px 4px 16px; }
.mega__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mega__cards li { opacity: 0; transform: translateY(12px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.nav__item--mega.is-open .mega__panel.is-active li {
	opacity: 1; transform: none; transition: opacity .5s var(--ease) calc(var(--n) * 60ms + 60ms), transform .6s var(--ease) calc(var(--n) * 60ms + 60ms);
}
.mega__card {
	position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; column-gap: 14px;
	height: 100%; min-height: 112px; padding: 18px 16px 18px 18px; border-radius: 16px; overflow: hidden;
	border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
	transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.mega__card::before {
	content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; opacity: 0; transition: opacity .3s;
	background: linear-gradient(90deg, transparent, rgba(247, 148, 77, .9), transparent);
}
.mega__card:hover, .mega__card:focus-visible { border-color: rgba(243, 106, 43, .4); background: rgba(243, 106, 43, .055); transform: translateY(-2px); outline: none; }
.mega__card:hover::before, .mega__card:focus-visible::before { opacity: 1; }
.mega__title { font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
.mega__desc { grid-column: 1; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.mega__go {
	grid-column: 2; grid-row: 1 / span 2; align-self: start; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
	border: 1px solid var(--line-2); color: var(--muted); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.mega__card:hover .mega__go, .mega__card:focus-visible .mega__go { background: var(--brand-grad); border-color: transparent; color: #fff; transform: rotate(-45deg); }

.mega__visual { --vx: 70%; --vy: 30%; position: relative; margin: 12px; border-radius: 18px; overflow: hidden; background: #121318; }
.mega__shot {
	position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px;
	opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s;
}
.mega__shot.is-active { opacity: 1; visibility: visible; }
.mega__shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 13, 16, .96) 18%, rgba(12, 13, 16, .15) 70%, rgba(12, 13, 16, .35)); }
.mega__shot-img { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transform: scale(1.1); transition: transform 1.4s var(--ease); }
.mega__shot.is-active .mega__shot-img { transform: scale(1); }
.mega__fact, .mega__note { position: relative; z-index: 2; }
.mega__fact {
	font-size: 46px; font-weight: 500; line-height: 1; letter-spacing: -.04em;
	background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mega__note { font-size: 13px; color: var(--text); opacity: .8; }
.mega__hex {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cpath fill='%23f7944d' fill-opacity='.55' d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/svg%3E") 0 0 / 22px auto;
	-webkit-mask: radial-gradient(150px circle at var(--vx) var(--vy), #000, transparent 75%); mask: radial-gradient(150px circle at var(--vx) var(--vy), #000, transparent 75%);
	opacity: .55; mix-blend-mode: screen;
}
.mega__ring {
	position: absolute; top: 18px; right: 18px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; pointer-events: none;
	background: conic-gradient(from 0deg, transparent 0 62%, rgba(247, 148, 77, .95) 100%);
	-webkit-mask: radial-gradient(circle, transparent 60%, #000 62%); mask: radial-gradient(circle, transparent 60%, #000 62%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); animation: spin 2.8s linear infinite;
}
.mega__ring::after { content: ""; position: absolute; inset: 19px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 2px rgba(243, 106, 43, .8); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .35s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Command palette ---------- */
.cmdk {
	padding: 0; border: 0; background: transparent; color: var(--text);
	width: min(640px, calc(100vw - 32px)); max-width: none; max-height: min(560px, 76vh); margin: 12vh auto auto;
	overflow: visible;
}
.cmdk::backdrop { background: rgba(5, 6, 8, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmdk[open] .cmdk__box { animation: cmdk-in .28s var(--ease); }
@keyframes cmdk-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.cmdk__box {
	display: flex; flex-direction: column; max-height: min(560px, 76vh); overflow: hidden;
	background: rgba(20, 22, 27, .97); border: 1px solid var(--line-2); border-radius: 18px;
	box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(243, 106, 43, .06);
}
.cmdk__field { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 62px; border-bottom: 1px solid var(--line); }
.cmdk__prompt { font: 500 16px/1 var(--mono); color: var(--accent); }
.cmdk__field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 400 17px/1 var(--sans); caret-color: var(--accent); }
.cmdk__field input::placeholder { color: var(--dim); }
.cmdk__list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; overscroll-behavior: contain; }
.cmdk__list li[hidden] { display: none; }
.cmdk__list a {
	position: relative; display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 12px;
	padding: 12px 14px; border-radius: 10px; font-size: 15px; transition: background .15s;
}
.cmdk__list a.is-active, .cmdk__list a:hover { background: rgba(255, 255, 255, .06); }
.cmdk__list a.is-active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--accent); }
.cmdk__type { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.cmdk__list a.is-active .cmdk__type { color: var(--accent-2); }
.cmdk__hint { font-size: 13px; color: var(--muted); text-align: right; }
.cmdk__empty { padding: 28px 22px; color: var(--muted); font-size: 14px; }
.cmdk__foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); font: 400 11px/1 var(--mono); color: var(--dim); }
.cmdk__foot span { display: inline-flex; align-items: center; gap: 5px; }
.cmdk__foot kbd { padding: 3px 5px; }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: 172px; padding-bottom: 40px; isolation: isolate;
}
.hero__map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow {
	position: absolute; z-index: -2; inset: 0; pointer-events: none;
	background:
		radial-gradient(60% 55% at 78% 45%, rgba(243, 106, 43, .16), transparent 70%),
		radial-gradient(50% 40% at 10% 100%, rgba(80, 90, 130, .14), transparent 70%);
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 12, 15, .85) 32%, rgba(11, 12, 15, 0) 62%);
}
.hero::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; pointer-events: none;
	background: linear-gradient(to bottom, transparent, var(--ink));
}
.hero__inner { position: relative; }
.hero__title {
	font-size: clamp(52px, 9.6vw, 148px); line-height: .92; letter-spacing: -.055em; font-weight: 500;
	margin: 28px 0 0; max-width: 11ch;
}
.hero__title em { letter-spacing: -.03em; }
.hero__lead { max-width: 560px; margin-top: 32px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(236, 235, 231, .72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts {
	display: grid; grid-template-columns: repeat(4, 1fr); margin: 80px 0 0;
	border-top: 1px solid var(--line);
}
.hero__facts div { padding: 26px 24px 4px 0; }
.hero__facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero__facts dt { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; font-weight: 500; }
.hero__facts dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

.map-tip {
	position: absolute; z-index: 5; pointer-events: none; min-width: 210px;
	padding: 14px 16px; border-radius: 14px; font-size: 13px; line-height: 1.5; color: var(--muted);
	background: rgba(20, 22, 27, .86); border: 1px solid var(--line-2);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
	transform: translate(-50%, calc(-100% - 22px)); animation: tip-in .3s var(--ease);
}
.map-tip strong { display: block; color: var(--text); font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.map-tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: inherit; border: inherit; border-width: 0 1px 1px 0; transform: translateX(-50%) rotate(45deg); }
@keyframes tip-in { from { opacity: 0; transform: translate(-50%, calc(-100% - 14px)); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 50s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); color: rgba(236, 235, 231, .62); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--accent); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 12vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 2fr; align-items: end; gap: 24px; }
.section-head--split .display { margin-top: 0; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
	--mx: 50%; --my: 0%; --lift: 0px;
	transform: translateY(var(--lift));
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; flex-direction: column; min-height: 460px; padding: clamp(28px, 3vw, 40px);
	border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line);
	transition: border-color .4s var(--ease), transform .6s var(--ease);
}
.js .tile.reveal.is-in { transform: translateY(var(--lift)); }
.tile::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
	background: radial-gradient(520px circle at var(--mx) var(--my), rgba(243, 106, 43, .14), transparent 45%);
}
.tile:hover { border-color: var(--line-2); --lift: -6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.tile:hover::before { opacity: 1; }
.tile--wide { grid-column: span 4; }
.tile--narrow { grid-column: span 2; }
.tile__num { font: 400 14px/1 var(--sans); color: var(--dim); font-variant-numeric: tabular-nums; }
.tile__title { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; margin-top: auto; max-width: 14ch; }
.tile__text { color: var(--muted); margin-top: 14px; max-width: 46ch; }
.tile__list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tile__list li { font-size: 13px; padding: 7px 12px; border-radius: 100px; border: 1px solid var(--line-2); color: rgba(236, 235, 231, .8); }
.tile__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--accent-2); }
.tile__link .arrow { transition: transform .3s var(--ease); }
.tile:hover .tile__link .arrow { transform: translateX(4px); }

.tile__art { position: absolute; z-index: -1; pointer-events: none; }
.tile__art--shield {
	right: -60px; top: -60px; width: 420px; height: 420px; border-radius: 50%;
	background:
		repeating-radial-gradient(circle at center, transparent 0 38px, rgba(255, 255, 255, .06) 38px 39px),
		radial-gradient(circle at center, rgba(243, 106, 43, .25), transparent 60%);
	mask-image: radial-gradient(circle at center, #000 30%, transparent 70%);
	animation: spin 60s linear infinite;
}
.tile__art--shield::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(from 0deg, transparent 0 300deg, rgba(243, 106, 43, .5) 360deg);
	mask-image: radial-gradient(circle, transparent 0 20%, #000 21% 69%, transparent 70%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.tile__art--grid {
	right: 0; top: 0; width: 55%; height: 100%;
	background-image:
		linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 36px 36px;
	mask-image: radial-gradient(70% 70% at 80% 20%, #000, transparent 75%);
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about__media { position: sticky; top: 110px; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.about__media img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; filter: saturate(.9) contrast(1.03); transition: filter .8s var(--ease); will-change: transform; }
.about__media:hover img { filter: saturate(1.05) contrast(1.03); }
.about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 12, 15, .75), transparent 45%); }
.about__badge {
	position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px;
	display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px;
	background: rgba(17, 19, 23, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2);
	font-size: 13px; color: var(--muted);
}
.about__badge strong { display: block; color: var(--text); font-weight: 500; font-size: 14px; }
.about__copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 58ch; margin-top: 22px; }
.about__copy > .display + p { margin-top: 32px; }
.reasons { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line); }
.reasons li { display: grid; grid-template-columns: 56px 1fr; padding: 26px 0; border-bottom: 1px solid var(--line); }
.reasons span { font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 4px; }
.reasons h3 { font-size: 20px; letter-spacing: -.02em; }
.reasons p { color: var(--muted); margin-top: 6px; }

/* ---------- Results ---------- */
.results { border-top: 1px solid var(--line); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.metric { padding: 40px 32px 0 0; }
.metric + .metric { padding-left: 32px; border-left: 1px solid var(--line); }
.metric__value { font-size: clamp(72px, 10vw, 152px); line-height: .9; letter-spacing: -.06em; font-weight: 300; font-variant-numeric: tabular-nums; }
.metric__value small { font-size: .38em; letter-spacing: -.02em; color: var(--accent-2); font-weight: 400; margin-left: .06em; }
.metric__value small:first-child { margin: 0 .06em 0 0; }
.metric__label { color: var(--muted); margin-top: 24px; max-width: 30ch; }

/* ---------- Paper (light) sections ---------- */
.paper {
	background: var(--paper); color: var(--paper-text);
	margin-inline: clamp(8px, 1.2vw, 16px); border-radius: clamp(20px, 3vw, 36px);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 40px 120px -40px rgba(243, 106, 43, .25);
}
.paper + .contact { border-top: 0; }
.results + .paper, .paper:first-child { margin-top: 0; }
.paper .eyebrow { color: var(--paper-muted); }
.paper .display em { background: linear-gradient(100deg, #e2501a, #f36a2b); -webkit-background-clip: text; background-clip: text; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(0, 0, 0, .12); }
.post-row a {
	position: relative; display: grid; grid-template-columns: 140px 120px 1fr 48px; align-items: center; gap: 32px;
	padding: 28px 0; border-bottom: 1px solid rgba(0, 0, 0, .12); transition: padding .5s var(--ease);
}
.post-row__thumb { display: block; width: 140px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.post-row__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s var(--ease), transform .8s var(--ease); }
.post-row__date { font-size: 14px; color: var(--paper-muted); font-variant-numeric: tabular-nums; }
.post-row__title { font-size: clamp(20px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.2; font-weight: 500; }
.post-row__go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.post-row__go .arrow { transform: rotate(-45deg); transition: transform .4s var(--ease); }
.post-row a:hover { padding-inline: 12px; }
.post-row a:hover .post-row__thumb img { filter: none; transform: scale(1.06); }
.post-row a:hover .post-row__go { background: var(--accent); color: #fff; border-color: var(--accent); }
.post-row a:hover .post-row__go .arrow { transform: none; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); overflow: hidden; }
.contact::before {
	content: ""; position: absolute; inset: auto -20% -60% auto; width: 900px; height: 900px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(243, 106, 43, .12), transparent 60%);
}
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 120px); position: relative; }
.contact__intro > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 46ch; margin-top: 28px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.office { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.office__country { font-size: 18px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px !important; }
.office p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.office .office__country { color: var(--text); font-size: 18px; }
.office p + p { margin-top: 8px; }
.office a:hover { color: var(--text); }
.contact__mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: border-color .3s, color .3s; }
.contact__mail .arrow { width: 22px; height: 22px; transform: rotate(-45deg); transition: transform .4s var(--ease); }
.contact__mail:hover { color: var(--accent-2); border-color: var(--accent); }
.contact__mail:hover .arrow { transform: none; }

.form { padding: clamp(24px, 3.5vw, 44px); border-radius: 24px; background: var(--ink-2); border: 1px solid var(--line); align-self: start; }
.chips { border: 0; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 13px; color: var(--muted); margin-bottom: 14px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 13.5px; color: rgba(236, 235, 231, .8); cursor: pointer; transition: all .25s var(--ease); }
.chip span:hover { border-color: rgba(255, 255, 255, .3); }
.chip input:checked + span { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { position: relative; display: block; margin-bottom: 8px; }
.field input, .field textarea {
	width: 100%; font: 400 16px/1.4 var(--sans); color: var(--text);
	background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
	padding: 28px 0 12px; resize: vertical; transition: border-color .3s;
}
.field textarea { min-height: 120px; }
.field span { position: absolute; left: 0; top: 28px; color: var(--dim); font-size: 16px; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-22px) scale(.78); color: var(--muted); }
.field .invalid { border-color: #ff5d5d; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.form__status { font-size: 14px; color: var(--muted); }
.form__status.ok { color: #7bd88f; }
.form__status.err { color: #ff8b8b; }
.form button[disabled] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding-top: 80px; overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 64px; }
.site-footer__brand img { width: 150px; }
.site-footer__brand p { margin-top: 18px; color: var(--muted); font-size: 15px; }
.site-footer__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__col a { color: rgba(236, 235, 231, .78); font-size: 14.5px; transition: color .2s; overflow-wrap: anywhere; }
.site-footer__col a:hover { color: var(--accent-2); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, border-color .3s; }
.social a:hover { background: var(--accent); border-color: var(--accent); }
.social svg { width: 16px; height: 16px; fill: var(--text); }
.site-footer__wordmark {
	font-size: clamp(80px, 21vw, 340px); line-height: .78; letter-spacing: -.07em; font-weight: 600; text-align: center;
	margin-bottom: -.12em; padding-top: 24px; user-select: none; white-space: nowrap;
	background: linear-gradient(to bottom, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 85%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: 210px 0 72px; border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero .hero__glow { background: radial-gradient(50% 80% at 85% 0%, rgba(243, 106, 43, .2), transparent 70%); }
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 22px 22px;
	mask-image: radial-gradient(60% 100% at 80% 0%, #000, transparent 70%);
}
.page-hero__grid { position: relative; }
.page-hero--media { padding-bottom: 0; border-bottom: 0; }
.page-hero--media .page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero--media .page-hero__text { padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero__media { margin: 0; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; border-radius: var(--radius) var(--radius) 0 0 !important; overflow: hidden; background: var(--ink-2); position: relative; }
.page-hero__media img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; will-change: transform; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 12, 15, .55), transparent 40%); pointer-events: none; }
.page-hero--media + .section { border-top: 1px solid var(--line); }
.page-hero--404 { min-height: 80vh; display: flex; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--dim); }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--text); }
.page-hero__title { font-size: clamp(44px, 7vw, 104px); line-height: .95; letter-spacing: -.05em; margin-top: 28px; max-width: 16ch; }
.page-hero__title--article { font-size: clamp(36px, 5vw, 64px); max-width: none; letter-spacing: -.035em; line-height: 1.05; }
.page-hero .hero__lead { margin-top: 24px; }
.article-meta { margin-top: 24px; color: var(--muted); font-size: 14px; }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose { max-width: 760px; font-size: 17px; color: rgba(236, 235, 231, .78); }
.prose > * + * { margin-top: 1.2em; }
.prose > p:first-child, .prose > .prose__image + p { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.45; color: var(--text); letter-spacing: -.015em; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; color: var(--text); margin-top: 1.8em; line-height: 1.1; }
.prose h3 { font-size: 22px; color: var(--text); margin-top: 1.6em; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.prose ul li { position: relative; padding: 16px 0 16px 36px; border-bottom: 1px solid var(--line); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 14px; height: 1px; background: var(--accent); }
.prose ol { padding-left: 1.2em; }
.prose img, .prose__image { border-radius: 16px; }
.prose__image { width: 100%; margin-bottom: 40px; }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 28px; line-height: 1.3; color: var(--text); }
.prose .back { margin-top: 56px; }
.prose .btn--line { color: var(--text); text-decoration: none; }
.prose .btn--line:hover { background: var(--text); color: var(--ink); }
.wp-block-button__link { background: var(--accent); color: #fff !important; border-radius: 100px; padding: 14px 24px; text-decoration: none !important; }

.sidebar { position: sticky; top: 110px; display: grid; gap: 16px; }
.sidebar__box, .sidebar__cta { border-radius: 20px; border: 1px solid var(--line); padding: 24px; background: var(--ink-2); }
.sidebar__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.sidebar__box ul { list-style: none; margin: 0; padding: 0; }
.sidebar__box a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); transition: color .2s; }
.sidebar__box li:last-child a { border-bottom: 0; }
.sidebar__box a .arrow { opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.sidebar__box a:hover, .sidebar__box a[aria-current="page"] { color: var(--text); }
.sidebar__box a:hover .arrow, .sidebar__box a[aria-current="page"] .arrow { opacity: 1; transform: none; color: var(--accent); }
.sidebar__cta { background: radial-gradient(120% 100% at 100% 0%, rgba(243, 106, 43, .3), transparent 60%), var(--ink-2); }
.sidebar__cta-title { font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.sidebar__cta p:not(.sidebar__cta-title) { color: var(--muted); font-size: 14.5px; margin: 10px 0 20px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.pagination .current { background: var(--paper-text); color: var(--paper); }

/* ---------- Partners ---------- */
.partners { border-block: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px); }
.partners__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.partners__lead { margin-top: 16px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.02em; max-width: 18ch; }
.partners__logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.partners__logos li { position: relative; display: grid; place-items: center; height: 104px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.partners__logos li::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease); background: radial-gradient(80% 120% at 50% 100%, rgba(243, 106, 43, .16), transparent 70%); }
.partners__logos img { position: relative; height: 26px; width: auto; max-width: 70%; object-fit: contain; opacity: .5; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.partners__logos li:hover::before { opacity: 1; }
.partners__logos li:hover img { opacity: 1; transform: translateY(-2px); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Image wipe: the mask sits on the img, not the figure, so IntersectionObserver still sees the figure */
.js figure.reveal { opacity: 1; transform: none; }
.js figure.reveal > img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.3s var(--ease), transform 1.6s var(--ease), filter .8s var(--ease); }
.js figure.reveal.is-in > img { clip-path: inset(0 0 0 0); transform: scale(1) translateY(var(--py, 0px)); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.cmdk-trigger span, .nav__actions .cmdk-key { display: none; }
	.nav__actions .cmdk-trigger { padding: 0; width: 40px; justify-content: center; }
	.mega__inner { grid-template-columns: 300px 1fr; }
	.mega__visual { display: none; }
	.site-footer__top { grid-template-columns: repeat(3, 1fr); }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
	.menu-toggle { display: block; }
	.cmdk-trigger--icon { display: inline-flex; margin-left: auto; width: 44px; height: 44px; padding: 0; justify-content: center; }
	.nav__actions .cmdk-trigger { display: none; }
	.sysbar__links { display: none; }
	.nav {
		position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
		padding: calc(100px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
		background: var(--ink); overflow-y: auto;
		opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
	}
	.site-header.is-open .nav { opacity: 1; visibility: visible; }
	/* backdrop-filter would trap the fixed menu inside the header bar */
	body .site-header.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
	.nav__list { flex-direction: column; margin: 0; gap: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
	.nav__lens { display: none; }
	.nav__item { border-bottom: 1px solid var(--line); }
	.nav__link { width: 100%; justify-content: flex-start; gap: 14px; height: 64px; padding: 0; border-radius: 0; font-size: 22px; letter-spacing: -.02em; color: var(--text); }
	.nav__link:focus-visible { outline-offset: -2px; }
	.nav__link[aria-current="page"]::after, .nav__link.is-current::after { content: ""; flex: none; width: 6px; height: 6px; margin-top: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
	.nav__link .chev { margin-left: auto; }
	.mega { position: static; padding: 0; opacity: 1; visibility: visible; transform: none; display: none; }
	.nav__item--mega.is-open .mega { display: block; }
	.mega__inner { display: block; min-height: 0; margin: 0 0 12px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.mega__inner::before, .mega__rail, .mega__visual { display: none; }
	.mega__panel { position: static; visibility: visible; padding: 10px 0 8px; }
	.mega__label { margin: 4px 0 12px; }
	.mega__cards { grid-template-columns: 1fr; gap: 8px; }
	.mega__cards li, .nav__item--mega.is-open .mega__panel li { opacity: 1; transform: none; transition: none; }
	.mega__card { min-height: 0; padding: 14px 16px; }
	.mega__card:hover { transform: none; }
	.mega__go { width: 28px; height: 28px; align-self: center; }
	.nav__actions { flex-direction: column; align-items: stretch; margin-top: 32px; gap: 14px; }
	.nav__actions .btn { justify-content: center; --h: 54px; }

	.hero__facts { grid-template-columns: repeat(2, 1fr); }
	.hero__facts div:nth-child(3) { padding-left: 0; border-left: 0; }
	.hero__facts div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
	.bento { grid-template-columns: 1fr 1fr; }
	.tile--wide { grid-column: span 2; }
	.tile--narrow { grid-column: span 1; }
	.about__grid, .contact__grid, .page-grid { grid-template-columns: 1fr; }
	.about__media { position: relative; top: 0; aspect-ratio: 4 / 3; }
	.partners__grid { grid-template-columns: 1fr; }
	.page-hero--media .page-hero__grid { grid-template-columns: 1fr; }
	.page-hero--media .page-hero__text { padding-bottom: 0; }
	.page-hero__media { aspect-ratio: 16 / 10; max-height: none; }
	.section-head--split { grid-template-columns: 1fr; }
	.metrics { grid-template-columns: 1fr; }
	.metric, .metric + .metric { padding: 36px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.post-row a { grid-template-columns: 110px 1fr 44px; gap: 6px 20px; }
	.post-row__thumb { width: 110px; grid-row: span 2; }
	.post-row__date { grid-column: 2; }
	.post-row__title { grid-column: 2; }
	.post-row__go { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; }
	.sidebar { position: static; }
}

@media (max-width: 640px) {
	.site-header__bar { height: 68px; gap: 10px; }
	.brand img { width: 132px; }
	.sysbar__extra { display: none; }
	.hero { padding-top: 150px; min-height: auto; }
	.hero__map { opacity: .5; }
	.hero__facts { margin-top: 56px; }
	.hero__facts div, .hero__facts div + div { padding: 20px 12px 4px 0; }
	.hero__facts div:nth-child(even) { padding-left: 16px; }
	.hero__actions .btn { flex: 1 1 100%; justify-content: center; }
	.bento { grid-template-columns: 1fr; }
	.tile--wide, .tile--narrow { grid-column: auto; }
	.tile { min-height: 380px; }
	.offices, .form__row { grid-template-columns: 1fr; }
	.partners__logos { grid-template-columns: repeat(2, 1fr); }
	.partners__logos li { height: 88px; }
	.post-row a { grid-template-columns: 1fr 44px; }
	.post-row__thumb { display: none; }
	.post-row__date, .post-row__title { grid-column: 1; }
	.post-row__go { grid-column: 2; }
	.post-row a:hover { padding-inline: 0; }
	.site-footer__top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
	.page-hero { padding: 160px 0 56px; }
	.cmdk { margin-top: 10px; }
	.cmdk__list a { grid-template-columns: 1fr; gap: 4px; }
	.cmdk__hint { text-align: left; }
	.cmdk__foot { display: none; }
}
