/* ==========================================================================
   THCRTIVES — main stylesheet
   1. Fonts · 2. Tokens (light / dark) · 3. Base · 4. Type & UI atoms
   5. Layout · 6. Header & menus · 7. Hero, orbit, ticker · 8. Capabilities
   9. Cards & grids · 10. Steps, principles, markets · 11. CTA · 12. Footer
   13. Inner pages · 14. Forms & contact · 15. Utility pages
   16. Dial & locator · 17. Motion & reduced motion
   ========================================================================== */

/* 1. Fonts (self-hosted, latin subset) ------------------------------------- */
@font-face {
	font-family: "Space Grotesk";
	src: url("../fonts/space-grotesk-variable.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-variable-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

/* 2. Tokens ----------------------------------------------------------------- */
:root {
	color-scheme: light;
	--bg: #f7f7f2;
	--surface: #efefe8;
	--surface-2: #e6e6de;
	--text: #111111;
	--muted: #5c5c56;
	--faint: #8d8d86;
	--line: #dcdcd4;
	--line-strong: #b9b9b0;
	--accent: #d02e17;          /* logo red — 4.8:1 on --bg */
	--accent-strong: #b42612;
	--on-accent: #ffffff;
	--invert-bg: #111111;
	--invert-text: #f5f5f0;
	--invert-muted: #a6a69e;
	--invert-line: #333331;
	--shadow: 0 1px 2px rgb(17 17 17 / 6%), 0 12px 32px rgb(17 17 17 / 8%);
	--veil: rgb(247 247 242 / 0.92);

	--font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;

	--fs-hero: clamp(2.6rem, 1.2rem + 6.2vw, 7.75rem);
	--fs-xl: clamp(2.2rem, 1.2rem + 4.2vw, 5.25rem);
	--fs-l: clamp(1.75rem, 1.1rem + 2.6vw, 3.4rem);
	--fs-m: clamp(1.3rem, 1rem + 1.1vw, 1.9rem);
	--fs-lead: clamp(1.1rem, 1rem + 0.45vw, 1.375rem);
	--fs-body: 1.0625rem;
	--fs-small: 0.9375rem;
	--fs-xs: 0.8125rem;
	--fs-label: 0.75rem;

	--gutter: clamp(16px, 4vw, 56px);
	--max: 1440px;
	--header-h: 64px;
	--rail: 0px;
	--radius: 4px;
	--radius-l: 14px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #111111;
	--surface: #1a1a19;
	--surface-2: #232321;
	--text: #f5f5f0;
	--muted: #a6a69e;
	--faint: #6f6f69;
	--line: #2c2c2a;
	--line-strong: #4a4a46;
	--accent: #f0533b;          /* lifted logo red — 5.4:1 on --bg */
	--accent-strong: #ff6b55;
	--on-accent: #111111;
	--invert-bg: #f5f5f0;
	--invert-text: #111111;
	--invert-muted: #5c5c56;
	--invert-line: #d6d6ce;
	--shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 40%);
	--veil: rgb(17 17 17 / 0.9);
}

/* No JavaScript: follow the system preference. */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) {
		color-scheme: dark;
		--bg: #111111;
		--surface: #1a1a19;
		--surface-2: #232321;
		--text: #f5f5f0;
		--muted: #a6a69e;
		--faint: #6f6f69;
		--line: #2c2c2a;
		--line-strong: #4a4a46;
		--accent: #f0533b;
		--accent-strong: #ff6b55;
		--on-accent: #111111;
		--invert-bg: #f5f5f0;
		--invert-text: #111111;
		--invert-muted: #5c5c56;
		--invert-line: #d6d6ce;
		--veil: rgb(17 17 17 / 0.9);
	}
}

@media (min-width: 1024px) {
	:root { --rail: 56px; --header-h: 68px; }
}

/* 3. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	background: var(--bg);
}
body {
	margin: 0;
	padding-right: var(--rail);
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.6;
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
html.theme-anim body, html.theme-anim body * {
	transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), fill 0.35s var(--ease) !important;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.site-main:focus { outline: none; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; left: 16px; top: 12px; z-index: 1000;
	padding: 10px 16px; background: var(--text); color: var(--bg);
	font-weight: 600; text-decoration: none; border-radius: var(--radius);
	transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }

/* 4. Type & UI atoms -------------------------------------------------------- */
.label {
	margin: 0;
	font-family: var(--font-mono);
	font-size: var(--fs-label);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	line-height: 1.5;
}
.label__num { color: var(--accent); }
h2.label, h3.label { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.12em; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 0.45em;
	font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
	letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
	color: var(--text);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { color: var(--accent); }
.link-arrow--muted { color: var(--muted); }

.btn {
	--btn-bg: var(--text);
	--btn-fg: var(--bg);
	--btn-line: var(--text);
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	min-height: 48px; padding: 0 22px;
	border: 1px solid var(--btn-line); border-radius: 0;
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
	white-space: nowrap; overflow: hidden; isolation: isolate;
	transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--accent);
	transform: scaleY(0); transform-origin: bottom;
	transition: transform 0.35s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--on-accent); border-color: var(--accent); }
.btn__icon { width: 16px; height: 16px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(3px); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--text); --btn-line: var(--line-strong); }
.btn--invert { --btn-bg: var(--invert-text); --btn-fg: var(--invert-bg); --btn-line: var(--invert-text); }
.btn--ghost-invert { --btn-bg: transparent; --btn-fg: var(--invert-text); --btn-line: var(--invert-line); }
.btn--sm { min-height: 40px; padding: 0 16px; }

.chip {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 999px;
	font-size: var(--fs-xs); text-decoration: none; color: var(--muted);
	transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }

.ticks { list-style: none; display: grid; gap: 0; }
.ticks li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--accent); }
.ticks--large li { font-size: var(--fs-body); padding-block: 14px; }

.inline-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.inline-links a { font-weight: 500; }
.inline-links--large a { font-family: var(--font-display); font-size: var(--fs-m); text-decoration: none; }
.inline-links--large a:hover { color: var(--accent); }

.theme-toggle {
	display: inline-grid; place-items: center; grid-auto-flow: column; gap: 8px;
	min-width: 40px; height: 40px; padding: 0 8px;
	border: 1px solid var(--line); border-radius: 0;
	background: transparent; color: var(--text);
	transition: border-color 0.2s, color 0.2s;
}
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle__icon { display: grid; place-items: center; grid-area: 1 / 1; transition: transform 0.45s var(--ease), opacity 0.3s; }
.theme-toggle__icon .icon { width: 18px; height: 18px; }
.theme-toggle__icon--sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="dark"] .theme-toggle__icon--moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="dark"] .theme-toggle__icon--sun { opacity: 1; transform: none; }
.theme-toggle__text { display: none; grid-area: 1 / 2; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; }
.theme-toggle--labelled { padding: 0 12px; }
.theme-toggle--labelled .theme-toggle__text { display: block; }
html:not(.js) .theme-toggle { display: none; }

.icon { width: 20px; height: 20px; }

/* 5. Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 150px); }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.section--compact { padding-block: clamp(56px, 7vw, 110px); }
.section--flush-top { padding-top: 0; }
.section + .section:not(.section--flush-top) { border-top: 1px solid var(--line); }

.section__head {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	padding-top: 14px; border-top: 1px solid var(--line);
	margin-bottom: clamp(28px, 4vw, 56px);
}
.section + .section .section__head { border-top: 0; padding-top: 0; }
.section__aside { margin: 0; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.section__intro {
	display: grid; gap: 20px 48px; align-items: end;
	margin-bottom: clamp(40px, 6vw, 88px);
}
.section__title { font-size: var(--fs-xl); max-width: 16ch; }
.section__lede { margin: 0; max-width: 46ch; color: var(--muted); font-size: var(--fs-lead); line-height: 1.5; }
@media (min-width: 1024px) {
	.section__intro { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

/* 6. Header & menus --------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: transform 0.45s var(--ease), border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: none; background: var(--bg); }
.site-header__inner {
	display: flex; align-items: center; gap: 16px;
	height: var(--header-h);
	padding-inline: var(--gutter);
	max-width: calc(var(--max) + 2 * var(--gutter));
	margin-inline: auto;
}
.site-header__brand { display: inline-flex; align-items: center; color: var(--text); margin-right: auto; padding: 6px 0; }
.logo { height: 38px; width: auto; color: currentColor; }
.logo--uploaded { max-height: 40px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__cta { display: none; }

.site-nav { display: none; }
.site-nav__list { list-style: none; display: flex; gap: 2px; }
.site-nav__list a {
	display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
	font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500;
	letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
	color: var(--muted); position: relative;
	transition: color 0.2s, background-color 0.2s;
}
.site-nav__list a:hover { color: var(--text); }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-ancestor > a,
.site-nav__list .current_page_parent > a { color: var(--bg); background: var(--text); }

.menu-toggle {
	display: inline-grid; place-items: center; width: 44px; height: 40px;
	border: 1px solid var(--line); background: transparent; padding: 0;
}
.menu-toggle__bars { display: grid; gap: 6px; width: 18px; }
.menu-toggle__bars span { display: block; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 1024px) {
	.site-nav { display: block; }
	.site-header__cta { display: inline-flex; }
	.menu-toggle { display: none; }
	.site-header__inner { gap: 24px; }
}
@media (max-width: 1023.98px) {
	.site-header__toggle { display: none; }
	.logo { height: 34px; }
}
@media (max-width: 359.98px) {
	.logo { height: 30px; }
}

/* Logged-in owners: keep the header and menu below the WordPress admin bar. */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .mobile-menu { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.scroll-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-line span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (min-width: 1024px) { .scroll-line { display: none; } }

.mobile-menu {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
	background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
	opacity: 0; transform: translateY(-8px);
	transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 24px var(--gutter) 32px; }
.mobile-menu__list { list-style: none; counter-reset: m; }
.mobile-menu__list li { counter-increment: m; border-bottom: 1px solid var(--line); }
.mobile-menu__list a {
	display: flex; align-items: baseline; gap: 14px; padding: 14px 0;
	font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.25rem); font-weight: 600;
	letter-spacing: -0.03em; line-height: 1.05; text-decoration: none;
}
.mobile-menu__list a::before { content: counter(m, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; color: var(--accent); transform: translateY(-1.1em); }
.mobile-menu__list .current-menu-item > a, .mobile-menu__list .current_page_item > a { color: var(--accent); }
.mobile-menu.is-open .mobile-menu__list li { animation: menu-in 0.5s var(--ease) both; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) { animation-delay: 0.04s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) { animation-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) { animation-delay: 0.12s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) { animation-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) { animation-delay: 0.2s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.mobile-menu__foot { display: grid; gap: 20px; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* Contact links & socials */
.contact-links { list-style: none; display: grid; gap: 4px; }
.contact-links a { display: flex; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none; font-size: var(--fs-small); }
.contact-links a:hover { color: var(--accent); }
.contact-links a > span { min-width: 0; overflow-wrap: anywhere; }
.contact-links .icon { width: 18px; height: 18px; flex: none; color: var(--muted); }
.contact-links__k { display: block; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-links--large a { padding: 14px 0; border-top: 1px solid var(--line); font-size: var(--fs-lead); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.contact-links--large li:last-child a { border-bottom: 1px solid var(--line); }
.contact-links--large .contact-links__k { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.1em; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.socials--labelled a { width: auto; padding: 0 14px; gap: 8px; grid-auto-flow: column; font-size: var(--fs-xs); }
.socials--labelled span { position: static; width: auto; height: auto; clip-path: none; }
.socials .icon { width: 18px; height: 18px; }

/* 7. Hero, orbit, ticker ---------------------------------------------------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: calc(100svh - var(--header-h));
	display: grid; place-items: center;
	padding-block: 72px 112px;
}
.hero__orbit { position: absolute; inset: 0; z-index: -2; }
.hero__canvas { width: 100%; height: 100%; }
/* Still fallback (no JS / before the canvas paints): faint concentric rings. */
.hero__orbit::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 170vmax; aspect-ratio: 1;
	transform: translate(-50%, -50%);
	background: repeating-radial-gradient(circle at center, transparent 0 calc(9vmax - 1px), var(--line) calc(9vmax - 1px) 9vmax);
	opacity: 0.8;
	transition: opacity 0.8s var(--ease);
}
.js .hero__orbit::before { display: none; }
.hero__veil {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 46% 42% at 50% 50%, var(--veil) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 55%, transparent 100%);
}
.hero__content { display: grid; justify-items: center; text-align: center; gap: 22px; max-width: 1120px; }
.hero__mark { width: 52px; height: auto; color: var(--text); }
.hero__mark path { fill: currentColor; }
.hero__label { color: var(--text); }
.hero__title { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; max-width: 13ch; }
.hero__text { margin: 0; max-width: 40ch; font-size: var(--fs-lead); color: var(--muted); line-height: 1.5; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.hero__meta { margin: 4px 0 0; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero__cue {
	position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
	display: grid; justify-items: center; gap: 10px;
	font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--muted); text-decoration: none;
}
.hero__cue-line { width: 1px; height: 36px; background: linear-gradient(var(--text), transparent); transform-origin: top; animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 639.98px) {
	.hero { padding-block: 56px 96px; }
	.hero__ctas { flex-direction: column; align-items: stretch; width: min(100%, 320px); }
	.hero__mark { width: 44px; }
}

.ticker {
	position: relative; overflow: hidden;
	border-block: 1px solid var(--line);
	background: var(--bg);
	height: 52px;
}
.ticker__track { display: flex; width: max-content; height: 100%; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__half { display: flex; align-items: center; flex: none; }
.ticker__word { padding-inline: 26px; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.ticker__sep { width: 6px; height: 6px; flex: none; background: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 8. Capabilities ----------------------------------------------------------- */
.caps { display: grid; gap: 48px; }
.caps__list { list-style: none; border-top: 1px solid var(--line); }
.caps__item { border-bottom: 1px solid var(--line); }
.caps__title { font-size: var(--fs-m); font-weight: 500; letter-spacing: -0.02em; }
.caps { --caps-num: 3.25rem; }
.caps__link { display: grid; grid-template-columns: var(--caps-num) 1fr auto; align-items: baseline; gap: 10px; padding: 20px 0 12px; text-decoration: none; }
.caps__num { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.08em; color: var(--accent); }
.caps__arrow { width: 22px; height: 22px; align-self: center; color: var(--muted); transition: transform 0.35s var(--ease), color 0.2s; }
.caps__link:hover .caps__arrow { transform: translate(3px, -3px); color: var(--accent); }
.caps__body-inner { padding: 0; margin-left: calc(var(--caps-num) + 10px); max-width: 52ch; color: var(--muted); }
.caps__body p { margin: 0 0 14px; }
.caps__body p.caps__actions { margin-bottom: 22px; }
.caps__actions { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.caps__stage { display: none; }

@media (min-width: 1024px) {
	.caps { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
	.caps__title { font-size: clamp(1.4rem, 0.8rem + 1.2vw, 2.15rem); }
	.caps__link { padding: 18px 0; }
	.js .caps__item .caps__link { color: var(--muted); transition: color 0.3s var(--ease); }
	.js .caps__item.is-active .caps__link, .js .caps__item .caps__link:hover { color: var(--text); }
	.js .caps__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease), visibility 0.5s; visibility: hidden; }
	.js .caps__item.is-active .caps__body { grid-template-rows: 1fr; visibility: visible; }
	.js .caps__body > .caps__body-inner { overflow: hidden; min-height: 0; }
	.caps__stage { display: block; position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 64px); width: 100%; overflow: hidden; background: var(--surface); }
	html:not(.js) .caps__stage { display: none; }
	html:not(.js) .caps { grid-template-columns: 1fr; }
	.caps__frame { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity 0.6s var(--ease), transform 1.1s var(--ease); }
	.caps__frame.is-active { opacity: 1; transform: none; }
	.caps__frame img { width: 100%; height: 100%; object-fit: cover; }
	.caps__frame figcaption {
		position: absolute; left: 0; bottom: 0; padding: 10px 14px; background: var(--bg);
		font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase;
	}
	.caps__frame figcaption span { color: var(--accent); }
}

/* 9. Cards & grids ---------------------------------------------------------- */
.card { position: relative; }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__media { position: relative; aspect-ratio: var(--ratio, 4 / 3); overflow: hidden; background: var(--surface); }
.card__media img { display: block; max-width: 100%; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.1s var(--ease), filter 0.6s var(--ease); }
.card__link:hover .card__media img, .card__link:focus-visible .card__media img { transform: scale(1.05); }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-strong); }
.card__placeholder-mark { width: 22%; height: auto; }
.card__view {
	position: absolute; right: 12px; bottom: 12px;
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
	background: var(--bg); color: var(--text);
	font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase;
	opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.card__view .icon { width: 14px; height: 14px; }
.card__link:hover .card__view, .card__link:focus-visible .card__view { opacity: 1; transform: none; }
@media (hover: none) { .card__view { display: none; } }
.card__body { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-top: 16px; }
.card__index { grid-column: 2; grid-row: 1; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); padding-top: 0.4em; }
.card__title { grid-column: 1; grid-row: 1; font-size: var(--fs-m); font-weight: 600; letter-spacing: -0.025em; transition: color 0.2s; }
.card__link:hover .card__title { color: var(--accent); }
.card__meta, .card__excerpt, .card__tags, .card__more { grid-column: 1 / -1; margin: 0; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card__excerpt { color: var(--muted); font-size: var(--fs-small); max-width: 52ch; margin-top: 4px; }
.card__tags { font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.card__cat { color: var(--accent); }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; }
.card__more .icon { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.card__link:hover .card__more .icon { transform: translateX(4px); }
.card--post .card__title { font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); line-height: 1.15; grid-row: auto; }
.card--post .card__meta { grid-row: auto; padding-bottom: 4px; }

.work-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 72px) var(--gutter); }
@media (min-width: 768px) {
	.work-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
	.work-grid .w-a { grid-column: 1 / span 7; }
	.work-grid .w-b { grid-column: 9 / span 4; margin-top: 22%; }
	.work-grid .w-c { grid-column: 1 / span 5; }
	.work-grid .w-d { grid-column: 7 / span 6; margin-top: 12%; }
	.work-grid .w-e { grid-column: 4 / span 6; }
}
.work-section__more { margin: clamp(48px, 6vw, 88px) 0 0; text-align: center; }

.archive-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px var(--gutter); }
@media (min-width: 768px) {
	.archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.archive-grid > .card:nth-child(4n + 2) { margin-top: 12%; }
	.archive-grid > .card:nth-child(4n + 3) { margin-top: -6%; }
	.archive-grid--compact > .card:nth-child(n) { margin-top: 0; }
	.archive-grid--three > .card:nth-child(n) { margin-top: 0; }
}
@media (min-width: 1024px) {
	.archive-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px var(--gutter); }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card.is-filtered-out { display: none; }

/* 10. Steps, principles, markets -------------------------------------------- */
.steps { list-style: none; display: grid; gap: 0; counter-reset: s; }
.step { position: relative; padding: 26px 0 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 4.5rem 1fr; gap: 6px 18px; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--i, 0) * 120ms); }
.step.is-in::before, html:not(.js) .step::before { transform: scaleX(1); }
.step__num { grid-row: span 2; font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.6rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.04em; color: var(--faint); }
.step__title { font-size: var(--fs-m); }
.step__text { margin: 0; color: var(--muted); font-size: var(--fs-small); max-width: 34ch; }
@media (min-width: 768px) and (max-width: 1199.98px) {
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
}
@media (min-width: 1200px) {
	.steps { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 28px; }
	.step { grid-template-columns: 1fr; padding-top: 22px; min-height: 280px; align-content: start; }
	.step__num { grid-row: auto; font-size: clamp(3rem, 2rem + 2.4vw, 4.75rem); margin-bottom: 36px; }
}

.principles { list-style: none; border-top: 1px solid var(--line); }
.principle { display: grid; gap: 10px 32px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.principle__key { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent); letter-spacing: 0.1em; }
.principle__title { font-size: var(--fs-l); font-weight: 500; letter-spacing: -0.035em; max-width: 18ch; }
.principle__text { margin: 0; color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) {
	.principle { grid-template-columns: 4rem minmax(0, 1.3fr) minmax(0, 1fr); align-items: baseline; padding: 40px 0; }
}

.markets { list-style: none; border-top: 1px solid var(--line); }
.market { border-bottom: 1px solid var(--line); }
.market__link {
	position: relative; display: grid; grid-template-columns: 3rem 1fr auto; gap: 8px 20px; align-items: center;
	padding: 26px 0; text-decoration: none; overflow: hidden; isolation: isolate;
}
.market__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--surface); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); }
.market__link:hover::before, .market__link:focus-visible::before { transform: scaleY(1); }
.market__code { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; color: var(--accent); }
.market__name { font-size: var(--fs-l); font-weight: 500; letter-spacing: -0.035em; }
.market__text { grid-column: 2 / -1; margin: 0; color: var(--muted); max-width: 52ch; font-size: var(--fs-small); }
.market__go { grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.market__link:hover .market__go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(45deg); }
@media (min-width: 900px) {
	.market__link { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.1fr) auto; padding: 34px 12px 34px 0; }
	.market__text { grid-column: 3; grid-row: 1; }
	.market__go { grid-column: 4; }
}

/* 11. CTA ------------------------------------------------------------------- */
.cta { background: var(--invert-bg); color: var(--invert-text); padding-block: clamp(88px, 12vw, 200px); }
.cta__label { color: var(--invert-muted); display: inline-flex; align-items: center; gap: 10px; }
.cta__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.cta__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.cta__title { margin: 22px 0 40px; font-size: clamp(2.6rem, 1rem + 7vw, 8.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.92; max-width: 14ch; }
.cta__row { display: grid; gap: 28px; align-items: end; padding-top: 28px; border-top: 1px solid var(--invert-line); }
.cta__text { margin: 0; color: var(--invert-muted); font-size: var(--fs-lead); max-width: 40ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn:hover, .cta .btn:focus-visible { color: var(--on-accent); }
@media (min-width: 900px) { .cta__row { grid-template-columns: 1fr auto; } }

/* 12. Footer ---------------------------------------------------------------- */
.site-footer { padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.site-footer__top { display: grid; gap: 56px; padding-bottom: 56px; }
.site-footer__brand { display: grid; gap: 22px; align-content: start; justify-items: start; }
.site-footer__brand > a:first-child { color: var(--text); }
.logo--footer { height: auto; width: min(280px, 70vw); }
.site-footer__statement { margin: 0; color: var(--muted); max-width: 38ch; font-size: var(--fs-small); }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.site-footer__h { margin-bottom: 14px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.site-footer__list { list-style: none; display: grid; gap: 2px; }
.site-footer__list a { display: inline-block; padding: 5px 0; font-size: var(--fs-small); text-decoration: none; }
.site-footer__list a:hover { color: var(--accent); }
.site-footer .socials { margin-top: 12px; }
.site-footer__bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 22px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.site-footer__copy { margin: 0; }
.site-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { color: var(--text); text-decoration: underline; }
.site-footer__tools { display: flex; align-items: center; gap: 16px; }
.site-footer__top-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer__top-link .icon { width: 14px; height: 14px; }
.site-footer__wordmark {
	margin: 0 0 -0.18em; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8;
	font-size: clamp(3.5rem, 18.5vw, 19rem); color: transparent; -webkit-text-stroke: 1px var(--line-strong);
	white-space: nowrap; user-select: none; text-align: center; pointer-events: none; position: relative; z-index: -1;
}
@media (max-width: 899.98px) {
	.site-footer__col:last-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
	.site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
	.site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 13. Inner pages ----------------------------------------------------------- */
.page-head { padding-block: clamp(36px, 6vw, 88px) clamp(40px, 6vw, 88px); }
.page-head .label { margin-bottom: 22px; }
.page-head__grid { display: grid; gap: 28px 64px; align-items: end; }
.page-head__title { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; max-width: 18ch; }
.page-head__side { display: grid; gap: 24px; }
.page-head__intro { margin: 0; color: var(--muted); font-size: var(--fs-lead); line-height: 1.5; max-width: 44ch; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1024px) { .page-head__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.page-head--article .page-head__title { max-width: 22ch; font-size: var(--fs-l); }
.page-head--article .article__lede { margin-top: 22px; }

.crumbs { margin-bottom: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--faint); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.feature-media { margin-block: 0 clamp(24px, 4vw, 56px); }
.feature-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--surface); }
@media (max-width: 639.98px) { .feature-media img { aspect-ratio: 4 / 3; } }

.prose { max-width: 70ch; font-size: var(--fs-body); }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 { margin-top: 2em; }
.prose > h2 + * { margin-top: 0.7em; }
.prose h2 { font-size: var(--fs-m); letter-spacing: -0.02em; }
.prose > h3 { margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 0.5em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--text); text-decoration-color: var(--accent); }
.prose a:hover { color: var(--accent); }
.prose blockquote { margin: 1.8em 0; padding-left: 22px; border-left: 2px solid var(--accent); font-family: var(--font-display); font-size: var(--fs-m); line-height: 1.3; }
.prose img { border-radius: 0; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 10px; font-size: var(--fs-xs); color: var(--muted); }
.prose--lead > p:first-of-type { font-size: var(--fs-lead); }
.prose--small { font-size: var(--fs-small); color: var(--muted); }
.prose--article { font-size: 1.125rem; line-height: 1.7; }
.prose > :first-child { margin-top: 0 !important; }

.detail__row { display: grid; gap: 14px 48px; padding-block: clamp(26px, 3.5vw, 44px); border-top: 1px solid var(--line); }
.detail__row:last-child { border-bottom: 1px solid var(--line); }
.detail__body { max-width: 62ch; }
.detail__body p { margin: 0 0 1em; }
.detail__body--lead { font-family: var(--font-display); font-size: var(--fs-m); line-height: 1.3; letter-spacing: -0.015em; }
@media (min-width: 900px) { .detail__row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.deliverables { list-style: none; display: grid; gap: 0; }
.deliverables li { display: grid; grid-template-columns: 2.5rem 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
.deliverables li:first-child { border-top: 0; padding-top: 0; }
.deliverables span { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent); padding-top: 0.35em; }
@media (min-width: 640px) { .deliverables { grid-template-columns: 1fr 1fr; column-gap: 32px; } .deliverables li:nth-child(2) { border-top: 0; padding-top: 0; } }

.meta-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.meta-strip > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.meta-strip dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.meta-strip dd { margin: 0; font-size: var(--fs-small); overflow-wrap: break-word; }
.meta-strip__wide { grid-column: 1 / -1; }
@media (min-width: 900px) { .meta-strip { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr); } .meta-strip__wide { grid-column: auto; } }

.gallery { list-style: none; columns: 1; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin-bottom: 16px; }
.gallery__item a { display: block; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.gallery__item img { width: 100%; transition: transform 1s var(--ease); }
.gallery__item a:hover img { transform: scale(1.03); }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1024px) { .gallery { columns: 3; } }

.video-embed { width: 100%; aspect-ratio: 16 / 9; margin-bottom: 48px; background: #000; }
.video-embed iframe { width: 100%; height: 100%; }

.credits { padding-bottom: clamp(40px, 5vw, 72px); }
.credits ul { list-style: none; margin-top: 12px; display: grid; gap: 6px; font-size: var(--fs-small); }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 10 10 / 0.96); color: #f5f5f0; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.6); }
.lightbox__stage { position: absolute; inset: 64px 72px 72px; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__caption { position: absolute; left: 24px; right: 24px; bottom: 20px; margin: 0; text-align: center; font-size: var(--fs-xs); color: #b9b9b0; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #444; background: rgb(17 17 17 / 0.7); color: #f5f5f0; }
.lightbox__btn:hover { border-color: #f5f5f0; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 639.98px) { .lightbox__stage { inset: 64px 8px 64px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; } }

.next-link { padding-block: 0 clamp(56px, 7vw, 100px); }
.next-link a { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); text-decoration: none; }
.next-link__title { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: var(--fs-l); font-weight: 500; letter-spacing: -0.035em; }
.next-link__title .icon { width: 0.8em; height: 0.8em; transition: transform 0.35s var(--ease); }
.next-link a:hover .next-link__title { color: var(--accent); }
.next-link a:hover .icon { transform: translateX(6px); }

.next-project { border-top: 1px solid var(--line); }
.next-project__link { position: relative; display: block; padding-block: clamp(48px, 7vw, 110px); text-decoration: none; overflow: hidden; isolation: isolate; }
.next-project__title { display: flex; align-items: center; gap: 0.3em; margin-top: 14px; font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.next-project__title .icon { width: 0.6em; height: 0.6em; transition: transform 0.4s var(--ease); }
.next-project__media { position: absolute; right: var(--gutter); top: 50%; z-index: -1; width: min(34vw, 420px); aspect-ratio: 4 / 3; transform: translateY(-50%) scale(0.92); opacity: 0; transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); }
.next-project__media img { width: 100%; height: 100%; object-fit: cover; }
.next-project__link:hover .next-project__media { opacity: 1; transform: translateY(-50%); }
.next-project__link:hover .next-project__title .icon { transform: translateX(10px); }
@media (hover: none), (max-width: 767.98px) { .next-project__media { display: none; } }

/* Services overview */
.service-row { display: grid; gap: 18px 40px; padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row__num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent); letter-spacing: 0.1em; }
.service-row__title { font-size: var(--fs-l); font-weight: 500; letter-spacing: -0.035em; }
.service-row__title a { text-decoration: none; }
.service-row__title a:hover { color: var(--accent); }
.service-row__text { margin: 16px 0 18px; color: var(--muted); max-width: 46ch; }
.service-row__actions { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.service-row__list .label { margin-bottom: 10px; }
.service-row__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.6s var(--ease), transform 1s var(--ease); }
.service-row:hover .service-row__media img { filter: none; transform: scale(1.04); }
@media (min-width: 1024px) {
	.service-row { grid-template-columns: 4rem minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr); align-items: start; }
}
@media (max-width: 1023.98px) { .service-row__media { display: none; } }

.service-tiles { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-tile a { position: relative; display: grid; gap: 10px; align-content: start; height: 100%; padding: 26px 24px 30px; background: var(--bg); text-decoration: none; transition: background-color 0.3s; }
.service-tile a:hover { background: var(--surface); }
.service-tile__num { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent); letter-spacing: 0.1em; }
.service-tile__title { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; padding-right: 32px; }
.service-tile__text { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.service-tile__icon { position: absolute; top: 24px; right: 22px; width: 20px; height: 20px; color: var(--muted); transition: transform 0.35s var(--ease), color 0.2s; }
.service-tile a:hover .service-tile__icon { color: var(--accent); transform: translate(3px, -3px); }
@media (min-width: 640px) { .service-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .service-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Country pages */
.market-body__grid { display: grid; gap: 48px; }
.market-body__code { display: none; }
.market-body__aside { display: grid; gap: 28px; align-content: start; }
@media (min-width: 1024px) {
	.market-body__grid { grid-template-columns: 7rem minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; }
	.market-body__code { display: block; margin: 0; font-family: var(--font-display); font-size: 4rem; font-weight: 600; line-height: 0.9; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
	.market-body__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.page-head--market .page-head__title { max-width: 20ch; }

/* About */
.about-story__grid { display: grid; gap: 48px; }
.about-story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-story__mark { display: grid; place-items: center; aspect-ratio: 1; max-width: 320px; border: 1px solid var(--line); color: var(--text); }
.about-story__mark-svg { width: 40%; height: auto; }
@media (min-width: 1024px) {
	.about-story__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 96px; align-items: start; }
	.about-story__media, .about-story__mark { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Articles */
.article__meta a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
.article__grid { display: grid; gap: 32px; }
.article__aside { order: 2; }
.share { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: var(--fs-small); }
@media (min-width: 1024px) {
	.article__grid { grid-template-columns: 12rem minmax(0, 1fr); gap: 72px; }
	.article__aside { order: 0; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
	.share { display: grid; gap: 6px; }
}

/* 14. Forms & contact ------------------------------------------------------- */
.contact__grid { display: grid; gap: 56px; }
.contact__h { font-size: var(--fs-m); margin-bottom: 24px; }
.contact__aside { display: grid; gap: 36px; align-content: start; }
.contact__block { display: grid; gap: 12px; }
.mini-steps { list-style: none; counter-reset: ms; display: grid; gap: 12px; font-size: var(--fs-small); color: var(--muted); }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 2rem 1fr; }
.mini-steps li::before { content: counter(ms, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent); padding-top: 0.25em; }
.mini-steps strong { color: var(--text); font-weight: 600; }
@media (min-width: 1024px) {
	.contact__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 88px; }
	.contact__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

.thc-form__grid { display: grid; gap: 22px 20px; }
@media (min-width: 640px) { .thc-form__grid { grid-template-columns: 1fr 1fr; } .thc-form__field--full { grid-column: 1 / -1; } }
.thc-form__field { display: grid; gap: 8px; align-content: start; }
.thc-form label { font-size: var(--fs-small); font-weight: 500; }
.thc-form__req { color: var(--accent); }
.thc-form__opt { color: var(--muted); font-weight: 400; font-size: var(--fs-xs); }
.thc-form input[type="text"], .thc-form input[type="email"], .thc-form input[type="tel"], .thc-form select, .thc-form textarea,
.search-field input {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1px solid var(--line-strong); border-radius: 0;
	background: var(--bg); color: var(--text);
	font-size: 1rem; line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.thc-form textarea { min-height: 160px; resize: vertical; }
.thc-form select {
	appearance: none; padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
	background-size: 5px 5px; background-repeat: no-repeat;
}
.thc-form input:hover, .thc-form select:hover, .thc-form textarea:hover { border-color: var(--text); }
.thc-form input:focus, .thc-form select:focus, .thc-form textarea:focus, .search-field input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.thc-form ::placeholder, .search-field ::placeholder { color: var(--faint); opacity: 1; }
.thc-form [aria-invalid="true"] { border-color: var(--accent); }
.thc-form__error { margin: 0; color: var(--accent); font-size: var(--fs-xs); font-weight: 500; }
.thc-form__field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.thc-form__field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.thc-form__field--check label { font-weight: 400; color: var(--muted); }
.thc-form__field--check .thc-form__error { grid-column: 2; }
.thc-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thc-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.thc-form__note { margin: 0; color: var(--muted); font-size: var(--fs-xs); }
.thc-form__submit { min-height: 54px; padding-inline: 28px; }
.thc-form.is-busy .thc-form__submit { opacity: 0.7; cursor: progress; }
.thc-form__status:focus { outline: none; }
.thc-form__notice { margin-bottom: 24px; padding: 18px 20px; border-left: 3px solid; background: var(--surface); }
.thc-form__notice p:last-child { margin-bottom: 0; }
.thc-form__notice ul { margin: 8px 0 0 18px; font-size: var(--fs-small); }
.thc-form__notice--success { border-color: #2f8f4e; }
.thc-form__notice--error { border-color: var(--accent); }
.thc-form.is-sent .thc-form__grid, .thc-form.is-sent .thc-form__actions { display: none; }

.search-field { position: relative; display: flex; max-width: 560px; }
.search-field input { padding-right: 52px; }
.search-field__btn { position: absolute; right: 0; top: 0; bottom: 0; width: 50px; display: grid; place-items: center; border: 0; background: transparent; color: var(--text); }
.search-field__btn .icon { width: 18px; height: 18px; }

/* Filters */
.filters { display: grid; gap: 22px; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.filters__group { display: grid; gap: 10px; }
.filters__search { display: grid; gap: 10px; }
.filters--inline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.filters--inline .filters__search { flex: 1 1 260px; max-width: 360px; }
@media (min-width: 1024px) {
	.filters:not(.filters--inline) { grid-template-columns: repeat(3, auto) minmax(260px, 1fr); align-items: start; gap: 28px 40px; }
}
.work-archive__count { margin: 0 0 32px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.empty { padding: 48px 0; border-top: 1px solid var(--line); display: grid; gap: 14px; justify-items: start; color: var(--muted); }

/* 15. Utility pages --------------------------------------------------------- */
.results { list-style: none; border-top: 1px solid var(--line); margin-top: 32px; }
.result { border-bottom: 1px solid var(--line); }
.result a { display: grid; gap: 6px; padding: 24px 0; text-decoration: none; }
.result__title { font-size: var(--fs-m); }
.result a:hover .result__title { color: var(--accent); }
.result__text { margin: 0; color: var(--muted); font-size: var(--fs-small); max-width: 70ch; }
.search-page__form { margin-bottom: 8px; }

.not-found { padding-block: clamp(48px, 8vw, 120px) clamp(72px, 10vw, 160px); }
.not-found__code { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 3rem + 18vw, 18rem); line-height: 0.85; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.not-found__title { margin-top: 24px; font-size: var(--fs-l); }
.not-found__text { margin: 18px 0 26px; max-width: 52ch; color: var(--muted); }
.not-found__search { margin-bottom: 36px; }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); text-decoration: none; font-size: var(--fs-small); }
.nav-links .page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }
.nav-links a.page-numbers:hover { border-color: var(--text); }

/* 16. Scroll dial & section locator ---------------------------------------- */
.dial, .locator, .locator-pop { display: none; }
@media (min-width: 1024px) {
	.js .dial {
		display: block; position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
		width: var(--rail); border-left: 1px solid var(--line); background: var(--bg);
		cursor: crosshair; touch-action: none; user-select: none;
	}
	.dial__scale { position: absolute; inset: calc(var(--header-h) + 16px) 0 24px 0; }
	.dial__tick { position: absolute; right: 0; height: 1px; width: 8px; background: var(--line-strong); }
	.dial__tick--mid { width: 14px; }
	.dial__tick--major { width: 18px; background: var(--muted); }
	.dial__num { position: absolute; right: 24px; transform: translateY(-50%); font-family: var(--font-mono); font-size: 0.625rem; color: var(--muted); letter-spacing: 0.04em; }
	.dial__marker, .dial__hover {
		position: absolute; left: -1px; right: 0; height: 0;
		font-family: var(--font-mono); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.04em;
		pointer-events: none;
	}
	.dial__marker { color: var(--accent); border-top: 1.5px solid var(--accent); top: 0; transform: translateY(var(--y, 0px)); }
	.dial__marker::before { content: ""; position: absolute; left: -12px; top: -1.5px; width: 12px; height: 1.5px; background: var(--accent); }
	.dial__marker span, .dial__hover span { display: inline-block; }
	.dial__marker, .dial__hover { padding: 0 0 0 4px; }
	.dial__marker b, .dial__hover b { font-weight: inherit; }
	.dial__marker span, .dial__hover span { position: relative; top: -1.45em; padding: 1px 2px; background: var(--bg); }
	.dial__hover { color: var(--text); border-top: 1px dashed var(--text); top: 0; opacity: 0; transform: translateY(var(--y, 0px)); transition: opacity 0.2s; }
	.dial.is-hovering .dial__hover { opacity: 1; }
	.dial__section {
		position: absolute; left: 50%; bottom: 120px; margin: 0;
		writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
		font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
		color: var(--text); white-space: nowrap;
	}
	.dial__section .ch { display: inline-block; animation: char-in 0.55s var(--ease) both; animation-delay: calc(var(--c) * 22ms); }
}
@media (min-width: 1200px) {
	.js .locator:not([hidden]) {
		display: block; position: fixed; right: calc(var(--rail) + 20px); bottom: 20px; z-index: 40;
		padding: 10px 12px; background: color-mix(in srgb, var(--bg) 82%, transparent);
		-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	}
	.js .locator { transition: opacity 0.3s, visibility 0.3s; }
	.js .locator.is-away { opacity: 0; visibility: hidden; }
	.locator ol { list-style: none; display: grid; justify-items: end; gap: 0; }
	/* Collapsed to the current section; the full index opens on hover or keyboard focus. */
	.js .locator li:not(.is-current) { display: none; }
	.js .locator:hover li, .js .locator:focus-within li { display: block; }
	.js .locator:hover, .js .locator:focus-within { background: var(--bg); box-shadow: var(--shadow); }
	.locator a {
		display: flex; align-items: center; justify-content: flex-end; min-height: 24px; padding: 0;
		font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.25;
		text-decoration: none; color: var(--muted); transition: color 0.3s;
	}
	.locator a:hover { color: var(--text); }
	.locator a[aria-current="true"] { color: var(--text); }
	.locator a[aria-current="true"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--accent); vertical-align: 0.15em; }

	.js .locator-pop {
		display: grid; justify-items: end; position: fixed; z-index: 41; pointer-events: none;
		top: calc(var(--header-h) + 18px); right: calc(var(--rail) + 24px);
		padding: 8px 12px; background: color-mix(in srgb, var(--bg) 90%, transparent); opacity: 0; transition: opacity 0.3s;
		font-family: var(--font-display); text-transform: uppercase; text-align: right;
	}
	.locator-pop__brand { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); opacity: 0; transition: opacity 0.3s; }
	.locator-pop__name { font-size: clamp(1.6rem, 1rem + 1.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--text); }
	.locator-pop.is-showing, .locator-pop.is-showing .locator-pop__brand { opacity: 1; }
	.locator-pop__name .ch { display: inline-block; white-space: pre; animation: char-in 0.6s var(--ease) both; animation-delay: calc(var(--c) * 28ms); }
	.locator-pop.is-leaving .locator-pop__name .ch { animation: char-out 0.45s var(--ease) both; animation-delay: calc(var(--c) * 18ms); }
	.locator-pop.is-leaving .locator-pop__brand { opacity: 0; }
}
@keyframes char-in { from { opacity: 0; transform: translateY(0.7em) rotate(4deg); } to { opacity: 1; transform: none; } }
@keyframes char-out { to { opacity: 0; transform: translateY(-0.6em); } }

/* 17. Motion ---------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__content > * { animation: rise 1s var(--ease) both; }
.js .hero__content > :nth-child(2) { animation-delay: 0.06s; }
.js .hero__content > :nth-child(3) { animation-delay: 0.12s; }
.js .hero__content > :nth-child(4) { animation-delay: 0.2s; }
.js .hero__content > :nth-child(5) { animation-delay: 0.28s; }
.js .hero__content > :nth-child(6) { animation-delay: 0.34s; }
@keyframes rise { from { opacity: 0.35; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.ticker__track { animation: none; }
	.ticker { height: auto; }
	.ticker__track { width: auto; flex-wrap: wrap; justify-content: center; padding: 14px var(--gutter); row-gap: 8px; }
	.ticker__half + .ticker__half { display: none; }
	.ticker__half { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
	.ticker__half > :nth-child(n + 17) { display: none; }
	.hero__cue-line { animation: none; transform: none; }
	.card__link:hover .card__media img { transform: none; }
}

@media print {
	.site-header, .site-footer, .dial, .locator, .locator-pop, .cta, .hero__orbit, .ticker { display: none !important; }
	body { padding: 0; }
}

/* 18. Service illustrations (assets/visuals/*.svg) ---------------------------
   Line-art scenes with small characters, drawn in currentColor + the accent.
   Static and fully visible by default; motion only for visitors who allow it,
   and only while the illustration is on screen (.is-playing, set by main.js). */
.visual {
	--v-bg: var(--surface);
	position: relative; display: grid; place-items: center; overflow: hidden;
	background-color: var(--surface); color: var(--text);
	background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 14%, transparent) 1px, transparent 0);
	background-size: 22px 22px;
}
.visual svg { position: relative; width: auto; height: 82%; max-width: 88%; overflow: visible; }
.visual .v-faint { opacity: 0.35; }
.visual .v-a { stroke: var(--accent); }
.visual .v-af { fill: var(--accent); }
.visual .v-swap-b { opacity: 0; }
.visual [class*="v-"] { transform-box: fill-box; transform-origin: center; }
.visual .v-orbit, .visual .v-aperture { transform-box: view-box; transform-origin: 200px 200px; }
.visual .v-sweep { transform-box: view-box; transform-origin: 64px 40px; }
.visual .v-sweep-b { transform-origin: 336px 40px; }
.visual .v-grow { transform-origin: bottom; }

@media (prefers-reduced-motion: no-preference) {
	.visual .v-spin-slow { animation: v-spin 48s linear infinite; }
	.visual .v-orbit { animation: v-spin 14s linear infinite; }
	.visual .v-aperture { animation: v-spin 22s linear infinite; }
	.visual .v-draw { stroke-dasharray: 1; animation: v-draw 7s var(--ease) infinite; }
	.visual .v-pop { animation: v-pop 3.2s var(--ease) infinite; }
	.visual .v-feed { animation: v-feed 12s linear infinite; }
	.visual .v-float { animation: v-float 4s ease-in-out infinite; }
	.visual .v-blink { animation: v-blink 1.4s steps(2, jump-none) infinite; }
	.visual .v-wave { animation: v-wave 3.2s ease-out infinite; }
	.visual .v-rise { animation: v-rise 7s ease-in-out infinite; }
	.visual .v-swap { animation: v-swap 7s infinite; }
	.visual .v-swap-b { animation-delay: -3.5s; }
	.visual .v-build { animation: v-build 8s var(--ease) infinite; }
	.visual .v-cursor { animation: v-cursor 8s var(--ease-in-out) infinite; }
	.visual .v-ripple { animation: v-ripple 8s ease-out infinite; }
	.visual .v-pulse { stroke-dashoffset: 160; animation: v-pulse 2.6s linear infinite; }
	.visual .v-bob { animation: v-bob 2.6s ease-in-out infinite; }
	.visual .v-sweep { animation: v-sweep 5s ease-in-out infinite alternate; }
	.visual .v-sweep-b { animation-delay: -2.5s; }
	.visual .v-fall { animation: v-fall 4.5s linear infinite; }
	.visual .v-chat { animation: v-chat 9s var(--ease) infinite; }
	.visual .v-grow { animation: v-grow 9s var(--ease) infinite; }
	.visual .v-d2 { animation-delay: 0.45s; }
	.visual .v-d3 { animation-delay: 0.9s; }
	.visual .v-d4 { animation-delay: 1.35s; }
	.visual .v-float.v-d2 { animation-delay: 1.3s; }
	.visual .v-float.v-d3 { animation-delay: 2.6s; }
	.visual .v-fall.v-d2 { animation-delay: 1.1s; }
	.visual .v-fall.v-d3 { animation-delay: 2.2s; }
	.visual .v-fall.v-d4 { animation-delay: 3.3s; }
	/* Only animate what is on screen (and the active capability). */
	.js .visual:not(.is-playing) *, .caps__frame:not(.is-active) .visual * { animation-play-state: paused; }
}
@keyframes v-spin { to { transform: rotate(360deg); } }
@keyframes v-draw { 0% { stroke-dashoffset: 1; } 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@keyframes v-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.82); } }
@keyframes v-feed { to { transform: translateY(-244px); } }
@keyframes v-float { 0% { transform: translateY(18px); opacity: 0; } 20%, 75% { opacity: 1; } 100% { transform: translateY(-34px); opacity: 0; } }
@keyframes v-blink { 50% { opacity: 0.15; } }
@keyframes v-wave { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
@keyframes v-rise { 0%, 100% { transform: translateY(16px); } 50% { transform: translateY(-6px); } }
@keyframes v-swap { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes v-build { 0% { opacity: 0; transform: translateY(10px); } 14%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes v-cursor { 0%, 8% { transform: translate(170px, 110px); } 40%, 62% { transform: none; } 100% { transform: translate(170px, 110px); } }
@keyframes v-ripple { 0%, 40% { transform: scale(0); opacity: 0; } 46% { transform: scale(0.4); opacity: 1; } 60%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes v-pulse { to { stroke-dashoffset: 0; } }
@keyframes v-bob { 50% { transform: translateY(-6px); } }
@keyframes v-sweep { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
@keyframes v-fall { 0% { transform: translateY(-30px) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(130px) rotate(180deg); opacity: 0; } }
@keyframes v-chat { 0% { opacity: 0; transform: translateY(12px); } 10%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes v-grow { 0% { transform: scaleY(0); } 20%, 86% { transform: scaleY(1); } 100% { transform: scaleY(0); } }

/* Where the illustrations sit */
.caps__frame .visual { position: absolute; inset: 0; }
.feature-media .visual { aspect-ratio: 16 / 8; }
.feature-media .visual svg { height: 78%; }
@media (max-width: 639.98px) { .feature-media .visual { aspect-ratio: 4 / 3; } }
.service-row__media { position: relative; }
.service-row__media .visual { position: absolute; inset: 0; transition: background-color 0.4s; }
.service-row:hover .service-row__media .visual { background-color: var(--surface-2); }

/* 19. Client logo wall ------------------------------------------------------
   Logos sit dimmed (dark in light mode, light in dark mode) and reveal their true
   colours on hover / keyboard focus — or, on touch screens, as they pass the middle
   of the screen. Blend modes let logos supplied on white backgrounds work too. */
.clients { margin-top: clamp(56px, 8vw, 120px); }
.clients__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-bottom: 24px; }
.clients__title { font-size: var(--fs-m); font-weight: 500; letter-spacing: -0.02em; }
.clients__note { margin: 0; color: var(--muted); font-size: var(--fs-small); max-width: 46ch; }
.clients__grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .clients__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .clients__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.client { position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client__inner {
	position: relative; isolation: isolate; display: block; height: 100%; aspect-ratio: 3 / 2;
	background: var(--bg); color: inherit; text-decoration: none; outline-offset: -3px;
	transition: background-color 0.45s var(--ease);
}
.client__inner img {
	position: absolute; inset: 0; margin: auto; width: 70%; height: 58%; object-fit: contain;
	filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; opacity: 0.62;
	transition: filter 0.45s var(--ease), opacity 0.45s var(--ease), transform 0.6s var(--ease);
}
.client__name {
	position: absolute; left: 10px; right: 10px; bottom: 8px;
	font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	opacity: 0; transform: translateY(4px); transition: opacity 0.35s, transform 0.35s var(--ease);
}
.client__inner:hover img, .client__inner:focus-visible img, .client.is-lit img { filter: none; opacity: 1; transform: scale(1.04); }
.client__inner:hover, .client__inner:focus-visible, .client.is-lit .client__inner { background: var(--client-bg, var(--bg)); }
.client__inner:hover .client__name, .client__inner:focus-visible .client__name, .client.is-lit .client__name { opacity: 1; transform: none; }
/* Dark mode: the dimmed logo is inverted to light; colours are revealed on a paper tile. */
[data-theme="dark"] .client__inner img { filter: grayscale(1) invert(1) contrast(1.2); mix-blend-mode: screen; opacity: 0.6; }
[data-theme="dark"] .client__inner:hover img, [data-theme="dark"] .client__inner:focus-visible img, [data-theme="dark"] .client.is-lit img { filter: none; mix-blend-mode: multiply; opacity: 1; }
[data-theme="dark"] .client__inner:hover, [data-theme="dark"] .client__inner:focus-visible, [data-theme="dark"] .client.is-lit .client__inner { background: var(--client-bg, #f5f5f0); }
[data-theme="dark"] .client__inner:hover .client__name, [data-theme="dark"] .client__inner:focus-visible .client__name, [data-theme="dark"] .client.is-lit .client__name { color: #5c5c56; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .client__inner img { filter: grayscale(1) invert(1) contrast(1.2); mix-blend-mode: screen; opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
	.client__inner:hover img, .client__inner:focus-visible img, .client.is-lit img { transform: none; }
}
/* Logos on their own coloured card (e.g. white-on-purple) are shown as-is on their brand-colour tile. */
.client__inner--tile:hover img, .client__inner--tile:focus-visible img, .client.is-lit .client__inner--tile img,
[data-theme="dark"] .client__inner--tile:hover img, [data-theme="dark"] .client__inner--tile:focus-visible img, [data-theme="dark"] .client.is-lit .client__inner--tile img { mix-blend-mode: normal; }
.client__inner--tile:hover .client__name, .client__inner--tile:focus-visible .client__name, .client.is-lit .client__inner--tile .client__name, [data-theme="dark"] .client__inner--tile:hover .client__name { color: rgb(255 255 255 / 0.8); }
.clients__text { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; text-align: center; color: var(--muted); }
