/* Think New 2026. Mobile-first, vanilla CSS. */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/newsreader-latin.woff2") format("woff2");
}

:root {
	--paper: #f6f5f1;
	--surface: #ffffff;
	--ink: #0d1b2a;
	--text: #2b3949;
	--muted: #586677;
	--line: #e3e0d8;
	--line-2: #d2cec3;
	--accent: #0a6fd1;
	--accent-ink: #08589f;
	--accent-soft: #e8f1fb;
	--green: #137a55;
	--green-soft: #e5f4ec;
	--night: #0b1622;
	--night-2: #122133;
	--night-line: #24364b;
	--night-text: #c3cedb;
	--night-muted: #94a3b5;
	--warn: #b42318;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(13, 27, 42, 0.05), 0 10px 30px rgba(13, 27, 42, 0.06);
	--shadow-hover: 0 2px 4px rgba(13, 27, 42, 0.06), 0 16px 40px rgba(13, 27, 42, 0.1);
	--sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--serif: "Newsreader", "Iowan Old Style", Georgia, serif;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 112px);
	--header-h: 68px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
picture { display: block; max-width: 100%; height: auto; }

a { color: var(--accent-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

h1, h2, h3, h4 {
	color: var(--ink);
	margin: 0 0 0.5em;
	line-height: 1.15;
	text-wrap: balance;
}
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; }
h3, h4 { font-family: var(--sans); font-weight: 650; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; line-height: 1.35; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
	font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--text { max-width: calc(760px + 2 * var(--gutter)); }
.container .container--text { padding-inline: 0; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons and links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	min-height: 48px; padding: 0.7em 1.35em;
	background: var(--ink); color: #fff;
	border: 1px solid var(--ink); border-radius: 999px;
	font: 600 1rem/1.2 var(--sans); text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
	cursor: pointer;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0.5em 1.1em; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--accent-soft); color: var(--ink); border-color: var(--accent-soft); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }

.text-link {
	display: inline-flex; align-items: center; gap: 0.4em;
	font-weight: 600; color: var(--accent-ink); text-decoration: none;
}
.text-link .icon { transition: transform 0.15s ease; }
.text-link:hover .icon,
a:hover .text-link .icon { transform: translateX(3px); }
.text-link:hover { color: var(--ink); text-decoration: underline; }
.text-link--light { color: #9fcbff; }
.text-link--light:hover { color: #fff; }

.eyebrow {
	margin: 0 0 12px;
	font: 600 0.8125rem/1.3 var(--sans);
	letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--accent-ink);
}
.eyebrow--light { color: #8ec2ff; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.tags li {
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
	padding: 3px 10px; border-radius: 999px;
	background: var(--accent-soft); color: var(--accent-ink);
}

.checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--green); margin-top: 0.22em; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 245, 241, 0.9);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; }
.brand__name { font: 600 1.25rem/1 var(--serif); letter-spacing: -0.01em; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__mark { background: #fff; border-radius: 50%; }

.nav-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 10px;
	background: transparent; border: 1px solid var(--line-2); color: var(--ink);
	cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

.nav {
	display: none;
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 20px 30px rgba(13, 27, 42, 0.08);
	padding: 8px var(--gutter) 20px;
}
.nav.is-open { display: block; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a {
	display: block; padding: 14px 4px;
	font-weight: 550; color: var(--ink); text-decoration: none;
	border-bottom: 1px solid var(--line);
}
.nav__list .current-menu-item > a,
.nav__list .current-page-ancestor > a,
.nav__list .current-menu-ancestor > a { color: var(--accent-ink); }
.nav__list .menu-cta { margin-top: 16px; }
.nav__list .menu-cta a,
.nav__list a.btn {
	display: flex; border: 1px solid var(--ink); border-radius: 999px;
	background: var(--ink); color: #fff; padding: 12px 20px; justify-content: center;
}
.nav__list .menu-cta a:hover { background: var(--accent-ink); border-color: var(--accent-ink); }

@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.nav { display: block; position: static; background: none; border: 0; box-shadow: none; padding: 0; }
	.nav__list { display: flex; align-items: center; gap: 4px; }
	.nav__list a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: 0.9688rem; }
	.nav__list a:hover { background: rgba(13, 27, 42, 0.05); }
	.nav__list .menu-cta { margin: 0 0 0 10px; }
	.nav__list .menu-cta a { padding: 9px 18px; }
	.nav__list .menu-cta a:hover { background: var(--accent-ink); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--first { padding-top: clamp(40px, 6vw, 72px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--tint { background: #efede7; }
.section--dark { background: var(--night); color: var(--night-text); }
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark .section-lede { color: var(--night-text); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.section-head--row > div { max-width: 720px; }
.section-title { font-size: clamp(1.875rem, 1.3rem + 2.3vw, 2.875rem); }
.section-title--sm { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.section-lede { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--muted); margin: 0; }

.split { display: grid; gap: 32px 64px; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; align-items: center; }
	.split--narrow { grid-template-columns: 5fr 7fr; align-items: start; }
	.split--story { grid-template-columns: 5fr 7fr; align-items: start; }
}

.prose-lg { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.prose-lg p { margin-bottom: 1.1em; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 104px);
	background:
		radial-gradient(900px 480px at 85% 10%, rgba(10, 111, 209, 0.09), transparent 70%),
		radial-gradient(700px 400px at 0% 100%, rgba(19, 122, 85, 0.06), transparent 70%),
		var(--paper);
	overflow: hidden;
}
.hero__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) {
	.hero__inner { grid-template-columns: 7fr 5fr; gap: 64px; }
}
.hero__title {
	font-size: clamp(2.5rem, 1.6rem + 4.6vw, 4.5rem);
	line-height: 1.04;
	letter-spacing: -0.025em;
	margin-bottom: 24px;
}
.hero__lede { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); color: var(--text); max-width: 34em; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__note { font-size: 0.9375rem; color: var(--muted); max-width: 32em; }

/* "Inside your walls" diagram */
.walls { margin: 0; }
.walls__frame {
	position: relative;
	background: var(--surface);
	border: 1.5px dashed rgba(10, 111, 209, 0.45);
	border-radius: 22px;
	padding: 44px 20px 20px;
	box-shadow: var(--shadow);
}
.walls__label {
	position: absolute; top: -15px; left: 20px;
	display: inline-flex; align-items: center; gap: 6px;
	margin: 0; padding: 5px 12px;
	background: var(--accent); color: #fff; border-radius: 999px;
	font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
}
.walls__label .icon { width: 15px; height: 15px; }
.walls__flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.walls__flow li {
	position: relative;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
}
.walls__flow li + li::before {
	content: ""; position: absolute; left: 50%; top: -22px;
	width: 2px; height: 22px; margin-left: -1px;
	background: linear-gradient(var(--accent), rgba(10, 111, 209, 0.3));
}
.walls__flow li + li::after {
	content: ""; position: absolute; left: 50%; top: -7px;
	width: 8px; height: 8px; margin-left: -4px;
	border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
	transform: rotate(45deg);
}
.walls__k { display: block; font-weight: 650; color: var(--ink); font-size: 0.9875rem; }
.walls__v { display: block; font-size: 0.875rem; color: var(--muted); line-height: 1.45; }
.walls__model { background: var(--night) !important; border-color: var(--night) !important; }
.walls__model .walls__k { color: #fff; }
.walls__model .walls__v { color: var(--night-text); }
.walls__outside {
	display: flex; align-items: center; gap: 10px;
	margin-top: 14px; padding: 12px 16px;
	border-radius: 12px; border: 1px solid var(--line);
	color: var(--muted); font-size: 0.875rem;
	background: rgba(255, 255, 255, 0.6);
}
.walls__outside strong { color: var(--ink); }
.walls__x {
	display: inline-flex; align-items: center; justify-content: center;
	width: 24px; height: 24px; border-radius: 50%;
	background: #fdecea; color: var(--warn);
}
.walls__x .icon { width: 14px; height: 14px; }

/* Proof bar */
.proofbar { border-block: 1px solid var(--line); background: var(--surface); }
.proofbar__inner { padding-block: 22px; display: grid; gap: 12px; }
.proofbar__label { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.proofbar__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.proofbar__list li { font: 500 1.0625rem/1.4 var(--serif); color: var(--ink); }
@media (min-width: 1000px) {
	.proofbar__inner { grid-template-columns: 220px 1fr; align-items: center; gap: 32px; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: 20px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
	position: relative;
	display: flex; flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 26px;
	box-shadow: var(--shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.pillar:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--line-2); }
.pillar__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.pillar__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 12px;
	background: var(--accent-soft); color: var(--accent-ink);
}
.pillar__icon .icon { width: 26px; height: 26px; }
.pillar__num { font: 500 1.125rem/1 var(--serif); color: var(--line-2); }
.pillar__title { font-family: var(--serif); font-weight: 500; font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 12px; }
.pillar__title a { color: var(--ink); text-decoration: none; }
.pillar__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.pillar > p { color: var(--muted); }
.pillar .checks { font-size: 0.9688rem; margin-top: 4px; }
.pillar .text-link { margin-top: auto; }

/* ---------- Compare (dark band) ---------- */
.compare { margin: 0; border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; background: var(--night-2); }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 14px 18px; border-top: 1px solid var(--night-line); }
.compare__row:first-child { border-top: 0; }
.compare__row dt { grid-column: 1 / -1; color: #fff; font-weight: 600; font-size: 0.9375rem; }
.compare__row dd { margin: 0; font-size: 0.9375rem; color: var(--night-muted); }
.compare__row dd:last-child { color: #a7f3cf; }
.compare__row--head { background: rgba(255, 255, 255, 0.03); }
.compare__row--head dt { display: none; }
.compare__row--head dd { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-muted); }
.compare__row--head dd:last-child { color: #8ec2ff; }
@media (min-width: 600px) {
	.compare__row { grid-template-columns: 1.1fr 1fr 1fr; align-items: center; }
	.compare__row dt { grid-column: auto; }
	.compare__row--head dt { display: block; }
}

/* ---------- Work cards ---------- */
.work-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.work-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.work-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.work-card__link:hover { color: inherit; }
.work-card__media { aspect-ratio: 16 / 10; background: #e9e7e0; overflow: hidden; border-bottom: 1px solid var(--line); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.work-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.work-card__title { font: 500 1.5rem/1.2 var(--serif); letter-spacing: -0.01em; margin-bottom: 8px; color: var(--ink); }
.work-card__body p { color: var(--muted); font-size: 0.9688rem; }
.work-card__body .text-link { margin-top: auto; padding-top: 14px; }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process__step {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}
.process__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	margin-bottom: 16px;
	background: var(--ink); color: #fff;
	font: 600 0.875rem/1 var(--sans);
}
.process__step h3 { font: 500 1.5rem/1.2 var(--serif); }
.process__step p { color: var(--muted); font-size: 0.9688rem; }

/* ---------- Founder ---------- */
.founder { display: grid; gap: 32px 64px; align-items: center; }
@media (min-width: 860px) { .founder { grid-template-columns: 340px 1fr; } }
.founder__photo img, .profile__photo img {
	width: 100%; max-width: 340px; aspect-ratio: 1; object-fit: cover;
	border-radius: 24px;
	box-shadow: var(--shadow);
}
.founder__lead, .profile__lead {
	font: 400 clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem)/1.45 var(--serif);
	color: var(--ink);
}
.founder__body > p { max-width: 40em; }
.founder__links { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 28px; }

/* ---------- Lab ---------- */
.section--lab { background: var(--surface); border-top: 1px solid var(--line); }
.lab-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .lab-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.lab-card {
	display: flex; flex-direction: column;
	padding: 28px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
}
.lab-card:first-child { background: var(--night); border-color: var(--night); color: var(--night-text); }
.lab-card:first-child h3 { color: #fff; }
.lab-card:first-child .text-link { color: #9fcbff; }
.lab-card__mark { width: 56px; height: 56px; margin-bottom: 16px; }
.lab-card__badge { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.lab-card h3 { font: 500 1.625rem/1.2 var(--serif); }
.lab-card p { font-size: 0.9688rem; }
.lab-card .text-link { margin-top: auto; padding-top: 16px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 4px; }
.stats div { padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--night-line); }
.stats dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-muted); }
.stats dd { margin: 4px 0 0; font: 500 1.75rem/1.1 var(--serif); color: #fff; }
.stats dd span { display: block; font: 400 0.8125rem/1.4 var(--sans); color: var(--night-text); margin-top: 4px; }
.stats--lg { margin: 32px 0; max-width: 640px; }
.stats--lg dd { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }

.lab-feature__head { max-width: 760px; }
.lab-feature__head img { width: 80px; height: 80px; margin-bottom: 20px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night); color: var(--night-text); padding-block: clamp(56px, 7vw, 96px); }
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.cta-band__title { color: #fff; font-size: clamp(1.875rem, 1.3rem + 2.3vw, 2.75rem); }
.cta-band__text { font-size: 1.125rem; margin: 0; max-width: 34em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__meta { flex-basis: 100%; margin: 8px 0 0; font-size: 0.9375rem; color: var(--night-muted); }
.cta-band__meta a { color: #fff; }
.cta-band__meta span { margin-inline: 8px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px);
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(800px 360px at 90% 0%, rgba(10, 111, 209, 0.07), transparent 70%),
		var(--paper);
}
.page-title { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem); line-height: 1.06; letter-spacing: -0.022em; max-width: 20ch; margin-bottom: 18px; }
.page-title--article { max-width: none; font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); }
.page-lede { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); color: var(--text); max-width: 40em; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 24px; font-size: 0.875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Services hub ---------- */
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.pill-nav a {
	display: inline-flex; gap: 8px; align-items: center;
	padding: 10px 16px; border-radius: 999px;
	border: 1px solid var(--line-2); background: var(--surface);
	color: var(--ink); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.pill-nav a span { color: var(--accent-ink); font-family: var(--serif); }
.pill-nav a:hover { border-color: var(--ink); }
.hub {
	display: grid; gap: 28px;
	padding-block: 40px;
	border-top: 1px solid var(--line);
}
.hub:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .hub { grid-template-columns: 5fr 7fr; gap: 56px; } }
.hub__intro .pillar__icon { margin-bottom: 18px; }
.hub__title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); }
.hub__intro > p:not(.eyebrow) { color: var(--muted); margin-bottom: 24px; }
.hub__list { display: grid; gap: 12px; align-content: start; }

.link-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .link-grid { grid-template-columns: repeat(3, 1fr); } }
.link-card {
	position: relative;
	display: flex; flex-direction: column; gap: 4px;
	padding: 20px 52px 20px 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	text-decoration: none; color: var(--text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.link-card:hover { border-color: var(--ink); box-shadow: var(--shadow); color: var(--text); }
.link-card__kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.link-card__title { font-weight: 650; color: var(--ink); font-size: 1.0625rem; }
.link-card__text { font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }
.link-card__arrow { position: absolute; right: 20px; top: 22px; color: var(--accent-ink); transition: transform 0.15s ease; }
a.link-card:hover .link-card__arrow { transform: translateX(3px); }
.link-card--static { background: transparent; border-style: dashed; padding-right: 22px; }

/* ---------- Service detail ---------- */
.detail { display: grid; gap: 32px 64px; }
@media (min-width: 960px) { .detail { grid-template-columns: 1fr 360px; align-items: start; } }
.detail__main { max-width: 42em; }
.aside-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow);
}
@media (min-width: 960px) { .aside-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card__title { font: 650 1rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 16px; }

.feature-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.feature {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 24px;
}
.section--tint .feature { border-color: transparent; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.9688rem; }
.feature__num { display: block; font: 500 1.25rem/1 var(--serif); color: var(--accent-ink); margin-bottom: 14px; }

.format-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .format-grid { grid-template-columns: repeat(4, 1fr); border-top: 0; } }
.format { padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .format { padding: 4px 24px; border-bottom: 0; border-left: 1px solid var(--line); } .format:first-child { border-left: 0; padding-left: 0; } }
.format h3 { font: 500 1.375rem/1.2 var(--serif); }
.format p { color: var(--muted); font-size: 0.9688rem; }

.fit {
	max-width: 860px;
	padding: 32px;
	border-radius: var(--radius);
	background: var(--green-soft);
	border: 1px solid #cde9da;
}
.fit__title { font-size: 1.75rem; }
.fit p { font-size: 1.125rem; color: var(--text); }

/* ---------- About ---------- */
.profile { display: grid; gap: 40px 64px; align-items: start; }
@media (min-width: 900px) { .profile { grid-template-columns: 340px 1fr; } }
.profile__links { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; max-width: 340px; }
.profile__body .prose-lg { max-width: 40em; }

.product-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .product-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-list { grid-template-columns: repeat(3, 1fr); } }
.product-list a {
	display: flex; flex-direction: column; gap: 4px; height: 100%;
	padding: 20px 22px; border-radius: 14px;
	background: var(--surface); border: 1px solid var(--line);
	text-decoration: none; color: var(--muted); font-size: 0.9375rem;
}
.product-list a:hover { border-color: var(--ink); }
.product-list strong { color: var(--ink); font: 500 1.25rem/1.25 var(--serif); }

.company-facts dl { display: grid; gap: 0; margin: 0; max-width: 860px; border-top: 1px solid var(--line-2); }
.company-facts dl div { display: grid; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 640px) { .company-facts dl div { grid-template-columns: 220px 1fr; } }
.company-facts dt { font-weight: 600; color: var(--ink); }
.company-facts dd { margin: 0; }

.follow__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .follow__list { grid-template-columns: repeat(4, 1fr); } }
.follow__list a { display: flex; flex-direction: column; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--muted); font-size: 0.9375rem; }
.follow__list a:hover { border-color: var(--ink); }
.follow__list strong { color: var(--ink); overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: 380px 1fr; gap: 56px; align-items: start; } }
.contact__options { display: grid; gap: 12px; }
.option {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 18px 20px; border-radius: 14px;
	background: var(--surface); border: 1px solid var(--line);
	text-decoration: none; color: var(--muted); font-size: 0.9375rem; line-height: 1.45;
}
.option .icon { width: 22px; height: 22px; color: var(--accent-ink); margin-top: 2px; }
.option strong { display: block; color: var(--ink); font-size: 1.0625rem; overflow-wrap: anywhere; }
.option:hover { border-color: var(--ink); color: var(--muted); }
.option--primary { background: var(--ink); border-color: var(--ink); color: var(--night-text); }
.option--primary strong, .option--primary .icon { color: #fff; }
.option--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.contact__next { margin-top: 16px; padding: 4px 4px 0; }
.contact__next h2 { font: 650 0.875rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact__next ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 0.9688rem; }

.contact__form .section-title { margin-bottom: 20px; }
/* Restyle the plugin form (its inline styles use single-class selectors). */
.contact__form .tn-contact-wrap { max-width: none; }
.contact__form .tn-contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.contact__form .tn-contact-field label { color: var(--ink); font-size: 0.9375rem; }
.contact__form .tn-contact-field input,
.contact__form .tn-contact-field select,
.contact__form .tn-contact-field textarea { border: 1px solid var(--line-2); border-radius: 10px; min-height: 48px; color: var(--ink); }
.contact__form .tn-contact-field input:focus,
.contact__form .tn-contact-field select:focus,
.contact__form .tn-contact-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 111, 209, 0.18); outline: none; }
.contact__form .tn-contact-btn { background: var(--ink); border-radius: 999px; min-height: 48px; padding: 12px 28px; font-family: var(--sans); }
.contact__form .tn-contact-btn:hover { background: var(--accent-ink); box-shadow: none; }
.contact__form .tn-contact-success { border-radius: var(--radius); }

/* ---------- Case study ---------- */
.case-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.case-meta .tags { margin: 0; }
.case-shot { margin: 0 0 clamp(32px, 5vw, 56px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #e9e7e0; }
.case-shot img { width: 100%; }
.case-body { margin-inline: auto; }
.next-case { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.next-case .eyebrow { margin: 0; }
.next-case__link { display: inline-flex; align-items: center; gap: 10px; font: 500 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.next-case__link:hover { color: var(--accent-ink); }

/* ---------- Prose (editor content) ---------- */
.prose { font-size: 1.0625rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose img { border-radius: 12px; height: auto; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font: 400 1.25rem/1.5 var(--serif); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose pre { overflow-x: auto; background: var(--night); color: #e6edf3; padding: 16px; border-radius: 10px; font-size: 0.875rem; }
.prose iframe, .prose video { max-width: 100%; }
.prose--case h2 { font-size: 1.625rem; }
.prose--case > p:first-child { font: 400 1.3125rem/1.5 var(--serif); color: var(--ink); }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s ease; }
.post-card:hover { box-shadow: var(--shadow-hover); }
.post-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card__link:hover { color: inherit; }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: #e9e7e0; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__meta { font-size: 0.8125rem; color: var(--muted); margin-bottom: 6px; }
.post-card__title { font: 500 1.375rem/1.25 var(--serif); margin-bottom: 8px; }
.post-card__body p { color: var(--muted); font-size: 0.9375rem; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px; text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-aside { margin-top: 56px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; align-items: center; }
@media (min-width: 860px) { .blog-aside { grid-template-columns: 1fr auto; } .blog-aside .btn-row { margin-top: 0; } }
.blog-aside h2 { font-size: 1.625rem; }
.blog-aside p { color: var(--muted); }

.article__meta { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.article__image { margin: 0 0 32px; }
.article__image img { border-radius: var(--radius); width: 100%; }
.article__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
.article__nav a { text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: #08111b; color: var(--night-muted); padding-block: 64px 32px; font-size: 0.9375rem; }
.site-footer a { color: var(--night-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: 40px 32px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__brand p { margin: 16px 0 20px; max-width: 26em; }
.site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__contact a { display: inline-flex; gap: 10px; align-items: center; }
.site-footer__contact .icon { color: #8ec2ff; }
.site-footer__col h2 { font: 700 0.75rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.875rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 8px; max-width: 480px; margin-top: 16px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; }
.search-submit { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 1rem var(--sans); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
	body { background: #fff; }
}

/* Spacing after a lede when an action follows directly. */
.section-lede + .btn,
.section-lede + .text-link { margin-top: 28px; }
.contact__form .tn-contact-grid { gap: 0 20px; margin-bottom: 0; }
.section--fit { padding-block: clamp(40px, 5vw, 64px); }
