/* Quadrahead theme
 * Cool paper, ink navy, and the brand vermilion used only as a signal.
 * One bold element: the quartered-circle engine. Everything else stays quiet.
 */

:root {
	--paper: #F2F3EF;
	--paper-2: #E7E9E3;
	--ink: #161A2E;
	--ink-2: #2A3050;
	--slate: #596074;
	--rule: #D3D6D0;
	--rule-strong: #B9BEB6;
	--signal: #F2420D;
	--signal-text: #B4300A;
	--ok: #2F8F62;

	/* Dark bands (founder, closing) stay dark in both themes. */
	--band: #161A2E;
	--band-2: #232842;
	--band-text: #ECEDE8;
	--band-muted: #A9AEBE;
	--band-rule: #343A5C;

	--font-sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.625rem;
	--step-3: clamp(2rem, 3.6vw, 3.125rem);
	--step-4: clamp(2.5rem, 5.4vw, 4.5rem);
	--step-5: clamp(3.25rem, 7vw, 6.25rem);

	--gutter: clamp(16px, 4vw, 40px);
	--max: 1240px;
	--section: clamp(72px, 10vw, 144px);
	--radius: 14px;

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #10132A;
		--paper-2: #181C36;
		--ink: #ECEDE8;
		--ink-2: #D4D6CF;
		--slate: #A3A8B8;
		--rule: #2A2F4C;
		--rule-strong: #3D4366;
		--signal-text: #FF7A4D;
		--band: #1B1F3B;
		--band-2: #262B4A;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: #10132A;
	--paper-2: #181C36;
	--ink: #ECEDE8;
	--ink-2: #D4D6CF;
	--slate: #A3A8B8;
	--rule: #2A2F4C;
	--rule-strong: #3D4366;
	--signal-text: #FF7A4D;
	--band: #1B1F3B;
	--band-2: #262B4A;
	color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--step-0);
	line-height: 1.6;
	font-feature-settings: "ss01", "tnum" 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; list-style: none; }
dl, dd { margin: 0; }
::selection { background: var(--signal); color: #161A2E; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.site-main:focus { outline: none; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.link, .link-quiet { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--signal); font-weight: 600; }
.link:hover { text-decoration-thickness: 3px; }
.link-quiet { font-weight: inherit; text-decoration-color: var(--rule-strong); }
.link-quiet:hover { text-decoration-color: var(--signal); }

/* Buttons */
.btn {
	--btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .75rem 1.375rem;
	border-radius: 999px; border: 1.5px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-fg);
	font: 600 1rem/1.2 var(--font-sans); letter-spacing: -0.005em;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { --btn-bg: var(--ink-2); --btn-bd: var(--ink-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--rule-strong); }
.btn--ghost:hover { --btn-bg: transparent; --btn-bd: var(--ink); }
.btn--signal { --btn-bg: var(--signal); --btn-fg: #161A2E; --btn-bd: var(--signal); }
.btn--signal:hover { --btn-bg: #FF5A26; --btn-bd: #FF5A26; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--band-text); --btn-bd: var(--band-rule); }
.btn--ghost-light:hover { --btn-bg: transparent; --btn-bd: var(--band-text); }
.btn--small { min-height: 40px; padding: .5rem 1.05rem; font-size: .9375rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.brand__name { font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.03em; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav__list { display: flex; gap: 30px; }
.site-nav__list a {
	text-decoration: none; color: var(--slate); font-weight: 500; font-size: .96875rem;
	padding-block: 6px; background: linear-gradient(var(--signal), var(--signal)) left bottom / 0 2px no-repeat;
	transition: color .2s ease, background-size .25s ease;
}
.site-nav__list a:hover { color: var(--ink); }
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_parent > a, .site-nav__list a[aria-current] { color: var(--ink); background-size: 100% 2px; }

.nav-toggle { display: none; }

@media (max-width: 880px) {
	.nav-toggle {
		display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
		background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 999px;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
	}
	.nav-toggle__bars { position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 8px var(--gutter) 28px;
		background: var(--paper); border-bottom: 1px solid var(--rule);
		display: none;
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { display: block; padding: 14px 0; font-size: 1.25rem; color: var(--ink); border-bottom: 1px solid var(--rule); background: none; }
	.site-nav__list a[aria-current] { color: var(--signal-text); }
	.site-nav__cta { margin-top: 20px; min-height: 48px; font-size: 1rem; }
}

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 104px) clamp(64px, 9vw, 128px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__title { font-size: var(--step-5); font-weight: 700; line-height: .94; letter-spacing: -0.05em; max-width: 9.5ch; margin-bottom: clamp(24px, 3vw, 36px); }
.hero__lede { font-size: var(--step-1); line-height: 1.55; color: var(--slate); max-width: 44ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { justify-self: end; width: 100%; max-width: 540px; }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { justify-self: start; max-width: 380px; }
}

/* Engine diagram */
.engine { margin: 0; }
.engine__svg { width: 100%; overflow: visible; }
.engine__slice { cursor: pointer; outline: none; }
.engine__slice path { fill: var(--ink); transition: fill .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1); transform-origin: 200px 200px; }
.engine__slice text { fill: var(--paper); font: 600 21px/1 var(--font-sans); letter-spacing: -0.01em; pointer-events: none; transition: fill .25s ease; }
.engine__slice:hover path, .engine__slice:focus-visible path, .engine__slice.is-active path { fill: var(--signal); }
.engine__slice:hover text, .engine__slice:focus-visible text, .engine__slice.is-active text { fill: #161A2E; }
.engine__slice:focus-visible path { stroke: var(--ink); stroke-width: 3; }
.engine__tail { stroke: var(--signal); stroke-width: 44; fill: none; }

.engine__caption { margin-top: 20px; min-height: 3.4em; display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--signal); }
.engine__caption-name { font-weight: 650; }
.engine__caption-text { color: var(--slate); }

@media (prefers-reduced-motion: no-preference) {
	.engine .engine__slice g { animation: slice-in .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 110ms + 120ms); }
	.engine .engine__tail { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tail-in .55s cubic-bezier(.6, 0, .2, 1) .72s forwards; }
	@keyframes slice-in { from { opacity: 0; transform: translate(0, 0) scale(.86); } }
	@keyframes tail-in { to { stroke-dashoffset: 0; } }
	.engine__slice g { transform-box: view-box; transform-origin: 200px 200px; }
}

/* Sections */
.section { padding-block: var(--section); }
.section--tight { padding-top: clamp(24px, 4vw, 48px); }
.section--rule { border-top: 1px solid var(--rule); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.section__title { font-size: var(--step-4); letter-spacing: -0.04em; line-height: 1; }
.section__head--split .section__title { font-size: clamp(2.25rem, 4.6vw, 4rem); }
.section__head:not(.section__head--split) .section__title { margin-bottom: 24px; }
.section__lede { font-size: var(--step-1); color: var(--slate); max-width: 52ch; margin: 0; }
.section__more { margin: 48px 0 0; }
@media (max-width: 760px) { .section__head--split { grid-template-columns: 1fr; } }

.engine-section { padding-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--rule); }

/* Quadrants: laid out like the mark, with the AI layer at the crossing */
.quadrants { position: relative; --core: 268px; }
.quadrants__grid { display: grid; grid-template-columns: 1fr 1fr; }
.quadrant { padding: 8px clamp(24px, 4vw, 56px) 48px 0; }
.quadrant:nth-child(2n) { padding-left: clamp(24px, 4vw, 56px); padding-right: 0; border-left: 1px solid var(--rule-strong); }
.quadrant:nth-child(-n+2) { padding-bottom: calc(var(--core) / 2 + 40px); border-bottom: 1px solid var(--rule-strong); }
.quadrant:nth-child(n+3) { padding-top: calc(var(--core) / 2 + 40px); padding-bottom: 8px; }

.quadrant__label { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 18px; }
.pos-mark { width: 26px; height: 26px; flex: none; }
.pos-mark .is-off { fill: var(--rule-strong); }
.pos-mark .is-on { fill: var(--signal); }
.quadrant__title { font-size: var(--step-2); letter-spacing: -0.025em; max-width: 20ch; margin-bottom: 14px; }
.quadrant__body { color: var(--slate); max-width: 46ch; margin-bottom: 0; }
.quadrant__builds { margin-top: 24px; max-width: 46ch; }
.quadrant__builds li { padding: 11px 0; border-top: 1px solid var(--rule); font-weight: 500; }
.quadrant__builds li:last-child { border-bottom: 1px solid var(--rule); }

.quadrants__core {
	position: absolute; left: 50%; top: 50%; width: var(--core); height: var(--core);
	transform: translate(-50%, -50%);
	border-radius: 50%; background: var(--band); color: var(--band-text);
	display: grid; place-content: center; text-align: center; padding: 44px;
	box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--signal);
}
.quadrants__core-title { font-size: 1.25rem; margin-bottom: 8px; color: var(--band-text); }
.quadrants__core p { font-size: .875rem; line-height: 1.45; color: var(--band-muted); margin: 0; }

@media (max-width: 900px) {
	.quadrants__grid { grid-template-columns: 1fr; }
	.quadrant, .quadrant:nth-child(n) { padding: 32px 0; border-left: 0; border-bottom: 0; border-top: 1px solid var(--rule-strong); }
	.quadrants__core { position: static; transform: none; width: auto; height: auto; border-radius: var(--radius); padding: 28px; text-align: left; box-shadow: none; margin-top: 8px; border-left: 4px solid var(--signal); }
}

/* Process: a real sequence, so it is numbered */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.process__step { counter-increment: step; position: relative; padding-top: 72px; border-top: 2px solid var(--ink); }
.process__step::before {
	content: counter(step); position: absolute; top: 18px; left: 0;
	font-size: 2.5rem; font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--signal-text);
	font-variant-numeric: tabular-nums;
}
.process__step::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); }
.process__name { font-size: 1.375rem; margin-bottom: 12px; }
.process__step p { color: var(--slate); margin: 0; }
@media (max-width: 960px) { .process { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* Founder band */
.founder { background: var(--band); color: var(--band-text); padding-block: var(--section); }
.founder__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.founder__portrait { position: sticky; top: 120px; }
.founder__photo, .founder__placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.founder__placeholder { background: var(--band-2); display: grid; place-items: center; }
.founder__mark { width: 52%; color: var(--band-text); }
.founder__title { font-size: var(--step-3); letter-spacing: -0.035em; margin-bottom: 32px; color: var(--band-text); max-width: 16ch; }
.founder__letter > p { font-size: 1.1875rem; line-height: 1.65; color: color-mix(in srgb, var(--band-text) 86%, transparent); max-width: 58ch; }
.founder__sign { display: grid; margin-top: 32px; }
.founder__name { font-weight: 650; font-size: 1.125rem; color: var(--band-text); }
.founder__role { color: var(--band-muted); }
.founder__facts { margin-top: 48px; border-top: 1px solid var(--band-rule); }
.founder__facts > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--band-rule); }
.founder__facts dt { color: var(--band-muted); font-size: var(--step--1); padding-top: 2px; }
.founder__facts dd { font-weight: 500; }
@media (max-width: 860px) {
	.founder__grid { grid-template-columns: 1fr; }
	.founder__portrait { position: static; max-width: 320px; }
	.founder__facts > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Cards (work) */
.cards { display: grid; gap: clamp(24px, 3vw, 40px); }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .cards--two { grid-template-columns: 1fr; } }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); margin-bottom: 22px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card__link:hover .card__media img { transform: scale(1.03); }
.card__art { width: 100%; height: 100%; display: grid; place-items: center; }
.card__art .pos-mark { width: 38%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card__art .pos-mark .is-off { fill: var(--ink); }
.card__link:hover .card__art .pos-mark { transform: rotate(-8deg); }
.card__kicker { color: var(--slate); font-size: var(--step--1); font-weight: 500; margin-bottom: 8px; }
.card__title { font-size: var(--step-2); letter-spacing: -0.025em; margin-bottom: 10px; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.card__text { color: var(--slate); margin: 0; max-width: 52ch; }

/* Insight list */
.posts { border-top: 1px solid var(--rule-strong); }
.post-item { border-bottom: 1px solid var(--rule); }
.post-item__link { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 40px; padding: 28px 0; text-decoration: none; }
.post-item__meta { grid-row: span 2; color: var(--slate); font-size: var(--step--1); display: grid; align-content: start; gap: 2px; margin: 4px 0 0; }
.post-item__title { font-size: var(--step-2); letter-spacing: -0.025em; }
.post-item__link:hover .post-item__title { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.post-item__excerpt { color: var(--slate); max-width: 64ch; margin: 0; }
@media (max-width: 680px) {
	.post-item__link { grid-template-columns: 1fr; }
	.post-item__meta { grid-row: auto; display: flex; gap: 12px; }
}
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-strong); text-decoration: none; font-weight: 500; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Closing CTA */
.closing { background: var(--band); color: var(--band-text); padding-block: clamp(72px, 9vw, 128px); }
.closing__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.closing__title { font-size: var(--step-4); letter-spacing: -0.04em; line-height: 1; color: var(--band-text); max-width: 16ch; }
.closing__side p { color: var(--band-muted); font-size: 1.125rem; max-width: 40ch; }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 860px) { .closing__inner { grid-template-columns: 1fr; } }

/* Inner page hero */
.page-hero { padding-block: clamp(48px, 8vw, 112px) clamp(32px, 5vw, 64px); }
.page-hero__kicker { color: var(--slate); font-weight: 500; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.page-hero__kicker .sep { width: 18px; height: 1.5px; background: var(--rule-strong); }
.page-hero__title { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.045em; line-height: .98; max-width: 16ch; }
.page-hero__lede { font-size: var(--step-1); color: var(--slate); max-width: 52ch; margin: 28px 0 0; }
.page-hero--404 .hero__actions { margin-top: 32px; }

/* Services */
.engagements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.engagement { padding: 32px clamp(20px, 3vw, 40px) 8px 0; }
.engagement + .engagement { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--rule); }
.engagement__name { font-size: var(--step-2); letter-spacing: -0.025em; margin-bottom: 12px; }
.engagement__for { font-weight: 600; }
.engagement p:last-child { color: var(--slate); }
@media (max-width: 860px) {
	.engagements { grid-template-columns: 1fr; }
	.engagement, .engagement + .engagement { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}
.fit { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(32px, 6vw, 96px); }
.fit__title { font-size: var(--step-3); letter-spacing: -0.035em; }
.fit__body { font-size: var(--step-1); line-height: 1.55; margin: 0; max-width: 54ch; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* About */
.name-story { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.name-story__svg { width: 100%; max-width: 260px; color: var(--ink); }
.name-story .section__title { margin-bottom: 24px; }
@media (max-width: 760px) { .name-story { grid-template-columns: 1fr; } .name-story__svg { max-width: 140px; } }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); }
.principle { padding: 28px 0; border-top: 1px solid var(--rule-strong); }
.principle dt { font-size: var(--step-2); font-weight: 650; letter-spacing: -0.025em; margin-bottom: 10px; }
.principle dd { color: var(--slate); max-width: 46ch; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__aside { position: sticky; top: 120px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--paper-2); margin-bottom: 28px; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.contact__facts { border-top: 1px solid var(--rule-strong); margin-bottom: 28px; }
.contact__facts > div { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 2px; }
.contact__facts dt { color: var(--slate); font-size: var(--step--1); }
.contact__facts dd { font-weight: 500; }
.contact__facts a { text-decoration-color: var(--signal); text-underline-offset: 4px; }
.contact__next-title { font-size: 1.125rem; margin: 36px 0 14px; }
.contact__next { counter-reset: n; display: grid; gap: 14px; }
.contact__next li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; color: var(--slate); }
.contact__next li::before { content: counter(n); font-weight: 600; color: var(--signal-text); }

/* Form (markup from Quadrahead Core) */
.qh-form { display: grid; gap: 22px; }
.qh-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .qh-form__row { grid-template-columns: 1fr; } }
.qh-field { display: grid; gap: 8px; }
.qh-field label, .qh-field legend { font-weight: 600; font-size: .9375rem; }
.qh-field .qh-optional { color: var(--slate); font-weight: 400; }
.qh-field input, .qh-field textarea, .qh-field select {
	width: 100%; font: 400 1.0625rem/1.4 var(--font-sans); color: var(--ink);
	background: var(--paper); border: 1.5px solid var(--rule-strong); border-radius: 10px;
	padding: 13px 14px; transition: border-color .2s ease, box-shadow .2s ease;
}
.qh-field textarea { min-height: 168px; resize: vertical; }
.qh-field input:focus, .qh-field textarea:focus, .qh-field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 35%, transparent); }
.qh-field [aria-invalid="true"] { border-color: var(--signal-text); }
.qh-field__error { color: var(--signal-text); font-size: .9375rem; font-weight: 500; }
fieldset.qh-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.qh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.qh-chip { position: relative; }
.qh-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.qh-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--rule-strong); font-weight: 500; font-size: .9375rem; transition: all .15s ease; }
.qh-chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qh-chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.qh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.qh-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.qh-form__note { color: var(--slate); font-size: var(--step--1); margin: 0; }
.qh-notice { border-radius: var(--radius); padding: 22px 24px; margin-bottom: 24px; }
.qh-notice h2, .qh-notice h3 { font-size: 1.375rem; margin-bottom: 8px; }
.qh-notice p { margin: 0; }
.qh-notice--success { background: var(--paper-2); border-left: 4px solid var(--ok); }
.qh-notice--error { background: var(--paper-2); border-left: 4px solid var(--signal); }
.form-fallback { font-size: var(--step-1); }

/* Prose */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; }
.prose a { text-decoration-color: var(--signal); text-underline-offset: 4px; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.25em; border-left: 3px solid var(--signal); font-size: 1.15em; }
.prose img, .prose figure { border-radius: var(--radius); margin-inline: 0; }
.prose figcaption { color: var(--slate); font-size: var(--step--1); margin-top: .6em; }
.prose pre { background: var(--paper-2); padding: 18px; border-radius: 10px; overflow-x: auto; font-size: .9rem; }
.prose hr { border: 0; height: 1px; background: var(--rule); margin: 2.4em 0; }
.prose--serif { font-family: var(--font-serif); font-size: 1.1875rem; line-height: 1.72; }
.prose--serif h2, .prose--serif h3, .prose--serif figcaption { font-family: var(--font-sans); }

/* Article */
.article__head { max-width: calc(720px + var(--gutter) * 2); padding-top: clamp(48px, 8vw, 104px); padding-bottom: 40px; }
.article__meta { display: flex; gap: 14px; color: var(--slate); font-weight: 500; margin-bottom: 22px; }
.article__meta span::before { content: ""; display: inline-block; width: 14px; height: 1.5px; background: var(--rule-strong); vertical-align: middle; margin-right: 14px; }
.article__title { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.article__dek { font-size: var(--step-1); color: var(--slate); margin: 24px 0 0; max-width: 56ch; }
.article__byline { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--slate); font-size: var(--step--1); margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--rule); }
.article__byline span:first-child { color: var(--ink); font-weight: 600; }
.article__hero { margin-block: 0 48px; }
.article__hero img { width: 100%; border-radius: var(--radius); }
.article__body, .article__foot { margin-inline: auto; padding-inline: var(--gutter); box-sizing: content-box; max-width: 720px; }
.article__body { padding-bottom: 48px; }
.article__tags a { display: inline-block; margin: 0 8px 8px 0; padding: 4px 12px; border: 1px solid var(--rule-strong); border-radius: 999px; text-decoration: none; font-size: var(--step--1); }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 32px var(--section); border-top: 1px solid var(--rule); }
.article__nav a { text-decoration: none; display: grid; gap: 4px; font-weight: 600; }
.article__nav a span { color: var(--slate); font-weight: 400; font-size: var(--step--1); }
.article__nav-next { text-align: right; grid-column: 2; }

/* Project */
.project__hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.project__quadrant { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; padding: 10px 16px; border: 1px solid var(--rule-strong); border-radius: 999px; }
.project__quadrant:hover { border-color: var(--ink); }
.project__image img { width: 100%; border-radius: var(--radius); }
.project__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); }
.project__fact { padding: 28px 0; border-top: 1px solid var(--rule-strong); }
.project__fact dt { color: var(--slate); font-weight: 500; margin-bottom: 10px; }
.project__fact dd { font-size: var(--step-1); line-height: 1.5; max-width: 46ch; }
.project__content { margin-top: 48px; }
@media (max-width: 760px) { .project__facts, .project__hero { grid-template-columns: 1fr; } }

.empty { padding: 48px 0; border-top: 1px solid var(--rule-strong); font-size: var(--step-1); color: var(--slate); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-top: clamp(56px, 7vw, 96px); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__brand p { color: var(--slate); max-width: 34ch; margin-top: 18px; }
.site-footer__heading { font-size: .9375rem; font-weight: 600; margin-bottom: 16px; letter-spacing: 0; }
.site-footer__list { display: grid; gap: 10px; color: var(--slate); }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 4px; }
.site-footer__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(48px, 6vw, 80px); padding-block: 24px 32px; color: var(--slate); font-size: var(--step--1); }
.site-footer__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--rule); }
.site-footer__base p { margin: 0; }
.site-footer__base a { color: inherit; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Comments (minimal) */
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 20px 0; border-top: 1px solid var(--rule); }

/* WordPress core alignment classes */
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-inline: auto; }
.wp-block-image img { border-radius: var(--radius); }

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

/* Testimonial */
.testimonial-section { border-top: 1px solid var(--rule); }
.testimonial { margin: 0; max-width: 980px; }
.testimonial + .testimonial { margin-top: 72px; }
.testimonial__quote { margin: 0; }
.testimonial__quote p { font-family: var(--font-serif); font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 400; text-wrap: balance; }
.testimonial__quote p::before { content: "\201C"; color: var(--signal); }
.testimonial__quote p::after { content: "\201D"; color: var(--signal); }
.testimonial__by { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--slate); }
.testimonial__by strong { color: var(--ink); font-weight: 600; }
.testimonial__mark { width: 24px; height: 24px; color: var(--ink); flex: none; }
