@font-face {
	font-family: "Geist";
	src: url("../fonts/Geist-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Geist Mono";
	src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/*
 * Questaron theme v3 "Paper and Ink". Main stylesheet.
 * Mobile first. Breakpoints: 768, 1024, 1440 (375 is the base width).
 *
 * The html.js class (set inline in header.php) gates every hidden-until-revealed state,
 * so the page is fully visible without JavaScript.
 *
 * Classes and custom properties that main.js sets:
 *   .is-hidden, .is-scrolled      site-header (hide on scroll down, hairline when scrolled)
 *   .is-open                      mobile-menu (fade and stagger in after hidden is removed)
 *   .is-in, .is-visible           [data-reveal], [data-lines], [data-step], [data-footer-mark]
 *   .is-active                    .index-strip__item, .step, .services-index__link
 *   .is-filled                    [data-slip]: skeleton lines fill (state 2 of the loop)
 *   .is-stamped                   [data-slip]: APPROVED stamp slams in, log lines appear (state 3)
 *   .no-anim                      briefly on the slip and strip during a reset so states jump
 *   html.menu-open                scroll lock while the mobile menu is open
 *   --p (0 to 1)                  [data-statement], [data-process], [data-rail]
 *   --k (0 to 1)                  .sw word index in the statement (set once)
 *   --fill (0 to 1)               [data-index-strip] rule fill in step with the slip
 *   --i                           .w word index inside [data-lines] (stagger)
 */

/* ------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------ */

[hidden] {
	display: none !important;
}

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

:root {
	--paper: #f5f1e8;
	--paper-2: #ece6d8;
	--paper-white: #fffdf8;
	--sage: #dfe8dc;
	--ink: #17181c;
	--ink-soft: #44474f;
	/* Muted text. Darkened from #666a72 so it reaches 4.5:1 on paper-2 as well. */
	--mute: #5f636b;
	--rule: rgba(23, 24, 28, 0.16);
	--rule-strong: rgba(23, 24, 28, 0.4);
	--accent: #14573f;
	--accent-soft: rgba(20, 87, 63, 0.1);
	--error: #a3261b;

	--font-display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
	--max: 1280px;
	--gutter: 20px;
	--header-h: 64px;
	--admin-offset: 0px;
}

@media (min-width: 768px) {
	:root {
		--gutter: 24px;
	}
}

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

.admin-bar {
	--admin-offset: 46px;
}

@media (min-width: 783px) {
	.admin-bar {
		--admin-offset: 32px;
	}
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + var(--admin-offset) + 24px);
}

html.menu-open {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

p,
ul,
ol,
figure {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.03em;
	font-optical-sizing: auto;
}

h1 em,
h2 em,
h3 em {
	font-style: normal;
	color: var(--accent);
}

a {
	color: var(--ink);
	text-underline-offset: 0.2em;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

::selection {
	background: var(--sage);
	color: var(--ink);
}

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

/* Paper grain: fixed, full page, about 4 percent. Decorative, pointer-events none. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 200;
	pointer-events: none;
	opacity: 0.04;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: 0;
	z-index: 300;
	padding: 12px 18px;
	background: var(--ink);
	color: var(--paper);
	font-size: 15px;
	text-decoration: none;
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: translateY(16px);
}

.container {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: clamp(80px, 10vw, 160px);
}

.prose {
	max-width: 70ch;
	font-size: 1.0625rem;
	color: var(--ink-soft);
}

@media (min-width: 1024px) {
	.prose {
		font-size: 1.125rem;
	}
}

.text-link {
	display: inline-block;
	padding-block: 10px;
	color: var(--ink);
	text-decoration-line: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.text-link:hover {
	color: var(--accent);
}

/* ------------------------------------------------------------------
 * Labels, section label row, titles
 * ------------------------------------------------------------------ */

.label,
.eyebrow {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.label > span {
	color: var(--accent);
	margin-right: 0.5em;
}

.section-label {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.section-label .rule {
	flex: 1 1 auto;
	height: 1px;
	background: var(--rule);
}

.section__title {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	line-height: 1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* ------------------------------------------------------------------
 * Buttons: rectangular, 2px radius. Primary fill slides up on hover.
 * Link variant: underline sweeps in accent on hover.
 * ------------------------------------------------------------------ */

.btn {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 44px;
	padding: 0 20px;
	border: 1.5px solid var(--ink);
	border-radius: 2px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.btn--primary {
	background: var(--ink);
	color: var(--paper);
}

.btn--primary::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--accent);
	transform: translateY(101%);
	transition: transform 0.5s var(--ease);
}

.btn--primary:hover::before,
.btn--primary:focus-visible::before {
	transform: translateY(0);
}

.btn--primary:hover,
.btn--primary:focus-visible {
	border-color: var(--accent);
}

.btn--sm {
	min-height: 44px;
	padding: 0 16px;
	font-size: 14px;
}

.btn--lg {
	min-height: 56px;
	padding: 0 28px;
	font-size: 16px;
}

.btn__arrow {
	display: inline-flex;
	transition: transform 0.4s var(--ease);
}

.btn__arrow .icon {
	width: 18px;
	height: 18px;
}

.btn--primary:hover .btn__arrow,
.btn--primary:focus-visible .btn__arrow {
	transform: translateX(4px);
}

.btn--link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}

.btn--link::before {
	display: none;
}

.btn--link .btn__label {
	padding-bottom: 4px;
	background-image: linear-gradient(var(--accent), var(--accent)),
		linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 0% 2px, 100% 1px;
	background-position: 0 100%, 0 100%;
	transition: background-size 0.6s var(--ease);
}

.btn--link:hover .btn__label,
.btn--link:focus-visible .btn__label {
	background-size: 100% 2px, 100% 1px;
}

.btn--link:hover .btn__arrow,
.btn--link:focus-visible .btn__arrow {
	transform: translateX(6px);
}

/* ------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------ */

/* No backdrop-filter here: it would make the fixed mobile menu position against the header. */
.site-header {
	position: sticky;
	top: var(--admin-offset);
	z-index: 80;
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
	transition: transform 0.45s var(--ease), border-color 0.3s;
}

.site-header.is-hidden {
	transform: translateY(-101%);
}

.site-header.is-scrolled {
	border-bottom-color: var(--rule-strong);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink);
	text-decoration: none;
}

.brand__name {
	font-family: var(--font-display);
	font-weight: 500;
	font-style: normal;
	font-size: 26px;
	line-height: 1;
	letter-spacing: -0.01em;
}

.nav {
	display: none;
}

.nav__list {
	display: flex;
	gap: 28px;
	counter-reset: navi;
}

.nav__list > li {
	counter-increment: navi;
}

.nav__list > li > a,
.mobile-menu__list > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
}

.nav__list > li > a::before,
.mobile-menu__list > li > a::before {
	content: counter(navi, decimal-leading-zero) " ";
	color: var(--accent);
	margin-right: 0.6em;
}

.mobile-menu__list > li > a::before {
	content: counter(mi, decimal-leading-zero) " ";
}

.nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--ease);
}

.nav__list > li > a:hover::after,
.nav__list > li > a[aria-current="page"]::after {
	transform: scaleX(1);
}

.site-header__cta {
	display: none;
}

.nav-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -10px;
}

.nav-toggle__bars {
	position: relative;
	display: block;
	width: 22px;
	height: 12px;
}

.nav-toggle__bars span {
	position: absolute;
	left: 0;
	right: 0;
	height: 1.5px;
	background: var(--ink);
	transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.nav-toggle__bars span:first-child {
	top: 0;
}

.nav-toggle__bars span:last-child {
	top: 10.5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
	top: 5.25px;
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
	top: 5.25px;
	transform: rotate(-45deg);
}

/* Full-screen menu sits below the header bar so the toggle stays usable. */
.mobile-menu {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: calc(var(--header-h) + var(--admin-offset));
	z-index: 70;
	overflow-y: auto;
	background: var(--paper);
	opacity: 0;
	transition: opacity 0.35s var(--ease);
}

.mobile-menu.is-open {
	opacity: 1;
}

.mobile-menu__inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
	min-height: 100%;
	padding-block: 32px 48px;
}

.mobile-menu__list {
	counter-reset: mi;
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--rule);
}

.mobile-menu__list > li {
	counter-increment: mi;
	border-bottom: 1px solid var(--rule);
	opacity: 0;
	transform: translateY(24px);
}

.mobile-menu.is-open .mobile-menu__list > li {
	opacity: 1;
	transform: none;
	transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}

.mobile-menu.is-open .mobile-menu__list > li:nth-child(1) { transition-delay: 120ms; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(2) { transition-delay: 190ms; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(3) { transition-delay: 260ms; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(4) { transition-delay: 330ms; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(5) { transition-delay: 400ms; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(6) { transition-delay: 470ms; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(7) { transition-delay: 540ms; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(8) { transition-delay: 610ms; }

.mobile-menu__list > li > a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	min-height: 44px;
	padding: 16px 0;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(2.5rem, 11vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-transform: none;
}

.mobile-menu__list > li > a::before {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	margin-right: 0;
}

.mobile-menu__cta {
	width: 100%;
}

/* No JavaScript: the menu panel cannot open, so show the primary links as a wrapped row. */
@media (max-width: 1023px) {
	html:not(.js) .site-header__inner {
		flex-wrap: wrap;
		padding-bottom: 8px;
	}

	html:not(.js) .nav {
		display: block;
		order: 3;
		width: 100%;
	}

	html:not(.js) .nav__list {
		flex-wrap: wrap;
		gap: 0 20px;
	}

	html:not(.js) .nav-toggle {
		display: none;
	}
}

@media (min-width: 1024px) {
	.nav {
		display: block;
		margin-left: auto;
		margin-right: 40px;
	}

	.site-header__cta {
		display: inline-flex;
	}

	.nav-toggle,
	.mobile-menu {
		display: none !important;
	}
}

/* ------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------ */

.site-footer {
	position: relative;
	overflow: hidden;
	padding-top: clamp(64px, 8vw, 104px);
	background: var(--paper-2);
	border-top: 1px solid var(--rule);
}

.site-footer__grid {
	display: grid;
	gap: 48px;
}

.site-footer__blurb {
	max-width: 22ch;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.2;
	color: var(--ink);
}

.site-footer__heading {
	margin-bottom: 16px;
}

.site-footer__link {
	display: inline-block;
	padding-block: 10px;
	color: var(--ink);
	font-size: 16px;
	text-decoration: none;
	background-image: linear-gradient(var(--accent), var(--accent));
	background-repeat: no-repeat;
	background-size: 0% 1px;
	background-position: 0 100%;
	transition: background-size 0.45s var(--ease), color 0.3s;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
	color: var(--accent);
	background-size: 100% 1px;
}

.site-footer__base {
	margin-top: 48px;
	padding-block: 28px;
	border-top: 1px solid var(--rule);
}

.site-footer__copy {
	font-size: 14px;
	color: var(--ink-soft);
}

/* Oversized wordmark: cropped at the bottom edge, ink at 8 percent. */
.site-footer__mark {
	position: relative;
	height: 0.72em;
	margin-top: 16px;
	overflow: hidden;
	font-size: 26vw;
	line-height: 0.8;
	white-space: nowrap;
	color: rgba(23, 24, 28, 0.08);
	pointer-events: none;
	user-select: none;
}

.site-footer__mark-text {
	display: block;
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.045em;
	transition: transform 1.2s var(--ease);
}

.js .site-footer__mark:not(.is-in) .site-footer__mark-text {
	transform: translate3d(0, 100%, 0);
}

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1.6fr 1fr 1.2fr 0.8fr;
		gap: 40px;
	}
}

/* ------------------------------------------------------------------
 * Reveals and word masks (hidden states only under html.js)
 * ------------------------------------------------------------------ */

[data-reveal] {
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
	transition-delay: calc(var(--i, 0) * 80ms);
}

.js [data-reveal]:not(.is-in) {
	opacity: 0;
	transform: translate3d(0, 24px, 0);
}

.w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding: 0 0.02em 0.12em;
	margin: 0 -0.02em -0.12em;
}

.w__i {
	display: inline-block;
	transition: transform 1.1s var(--ease);
	transition-delay: calc(var(--i, 0) * 70ms);
}

.js [data-lines]:not(.is-in) .w__i {
	transform: translate3d(0, 110%, 0);
}

/* ------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------ */

.hero {
	padding-top: clamp(40px, 7vw, 96px);
}

.hero__title {
	margin-top: 24px;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(2.9rem, 7.6vw, 8.5rem);
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.hero__body {
	display: grid;
	gap: 64px;
	margin-top: clamp(48px, 6vw, 88px);
}

.hero__copy {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.hero__lead {
	max-width: 36ch;
	font-size: clamp(1.125rem, 1.4vw, 1.3rem);
	line-height: 1.5;
	color: var(--ink);
}

.hero__points {
	border-top: 1px solid var(--rule);
}

.hero__point {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--rule);
	font-size: 16px;
}

.hero__mark {
	flex: 0 0 auto;
	width: 18px;
	height: 1.5px;
	margin-top: 0.8em;
	background: var(--accent);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
}

.hero__visual {
	position: relative;
}

@media (min-width: 1024px) {
	.hero__title {
		max-width: 83.333%;
	}

	.hero__body {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 24px;
		align-items: center;
	}

	.hero__copy {
		grid-column: 1 / span 5;
	}

	.hero__visual {
		grid-column: 7 / span 6;
	}
}

/* Approval slip. JS drives the loop with is-filled, is-stamped and no-anim (see the header comment).
   Without JS, or under reduced motion, the slip shows its final state: filled, stamped, logged. */

.slip-stage {
	position: relative;
	max-width: 520px;
	margin: 0 auto;
	padding: 20px 0 64px 12px;
}

.slip {
	position: relative;
	z-index: 1;
	padding: 28px 28px 24px;
	background: var(--paper-white);
	transform: rotate(-2deg);
	box-shadow: 0 30px 60px -32px rgba(23, 24, 28, 0.35), 0 2px 6px rgba(23, 24, 28, 0.06);
}

/* Peeking second sheet behind the slip. Empty and aria-hidden. */
.slip--back {
	position: absolute;
	z-index: 0;
	left: 0;
	right: 12px;
	top: 34px;
	bottom: 52px;
	padding: 0;
	background: var(--paper-2);
	border: 1px solid var(--rule);
	box-shadow: none;
	transform: rotate(4deg);
}

.slip__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rule-strong);
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.slip__kicker {
	color: var(--ink);
}

.slip__for {
	color: var(--mute);
}

.slip__body {
	display: grid;
	gap: 14px;
	padding: 26px 0 28px;
}

.slip__line {
	position: relative;
	display: block;
	height: 12px;
	overflow: hidden;
	background: rgba(23, 24, 28, 0.07);
}

.slip__line::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ink-soft);
	opacity: 0.55;
	transform-origin: left center;
}

.slip__line--1 { width: 100%; }
.slip__line--2 { width: 92%; }
.slip__line--3 { width: 97%; }
.slip__line--4 { width: 58%; }

.slip__foot {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 96px;
	padding-top: 14px;
	border-top: 1px solid var(--rule);
}

.slip__stamp {
	align-self: flex-start;
	display: inline-block;
	margin-top: 4px;
	padding: 10px 16px 9px;
	border: 2px solid var(--accent);
	outline: 1.5px solid var(--accent);
	outline-offset: 4px;
	color: var(--accent);
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transform: rotate(-8deg);
}

.slip__log {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: var(--ink-soft);
}

.slip__log-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.slip__log-item::before {
	content: "";
	flex: 0 0 auto;
	width: 14px;
	height: 1.5px;
	background: var(--accent);
}

.slip-stage__caption {
	position: absolute;
	left: 12px;
	bottom: 16px;
	margin: 0;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mute);
}

/* Loop states (JS). Lines fill left to right, then the stamp slams, then the log appears. */
.js [data-slip] .slip__line::after {
	transform: scaleX(0);
	transition: transform 0.9s var(--ease);
}

.js [data-slip].is-filled .slip__line::after {
	transform: scaleX(1);
}

.js [data-slip] .slip__line--2::after { transition-delay: 0.15s; }
.js [data-slip] .slip__line--3::after { transition-delay: 0.3s; }
.js [data-slip] .slip__line--4::after { transition-delay: 0.45s; }

.js [data-slip] .slip__stamp {
	opacity: 0;
}

.js [data-slip].is-stamped .slip__stamp {
	animation: stamp-slam 0.6s var(--ease) 0.15s both;
}

.js [data-slip] .slip__log-item {
	opacity: 0;
	transform: translate3d(0, 6px, 0);
}

.js [data-slip].is-stamped .slip__log-item {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
	transition-delay: calc(var(--i, 0) * 180ms + 400ms);
}

@keyframes stamp-slam {
	0% {
		opacity: 0;
		transform: rotate(-8deg) scale(1.6);
	}
	55% {
		opacity: 1;
		transform: rotate(-8deg) scale(0.94);
	}
	75% {
		transform: rotate(-8deg) scale(1.02);
	}
	100% {
		opacity: 1;
		transform: rotate(-8deg) scale(1);
	}
}

.no-anim,
.no-anim::after,
.no-anim *,
.no-anim *::after {
	transition: none !important;
	animation: none !important;
}

/* Index strip: four columns, hairline rule on top that fills (--fill) in step with the slip. */

.index-strip {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	row-gap: 32px;
	margin-top: clamp(64px, 8vw, 112px);
}

.index-strip::before,
.index-strip::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
}

.index-strip::before {
	background: var(--rule);
}

.index-strip::after {
	background: var(--accent);
	transform-origin: left center;
	transform: scaleX(var(--fill, 1));
	transition: transform 0.9s var(--ease);
}

.js .index-strip {
	--fill: 0;
}

.index-strip__item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 20px 0 0;
}

.index-strip__item:nth-child(even) {
	padding-left: 20px;
	border-left: 1px solid var(--rule);
}

.index-strip__num {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--accent);
}

.index-strip__name {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1;
	color: var(--ink-soft);
	transition: color 0.4s var(--ease);
}

.index-strip__text {
	max-width: 26ch;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink-soft);
}

.index-strip__item.is-active .index-strip__name {
	color: var(--accent);
	font-style: normal;
}

@media (min-width: 1024px) {
	.index-strip {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 0;
	}

	.index-strip__item,
	.index-strip__item:nth-child(even) {
		padding-left: 24px;
		border-left: 0;
	}

	.index-strip__item:first-child {
		padding-left: 0;
	}

	.index-strip__item:nth-child(n + 2) {
		border-left: 1px solid var(--rule);
	}
}

/* ------------------------------------------------------------------
 * Statement: words go from muted to ink as --p passes each --k
 * ------------------------------------------------------------------ */

.statement {
	padding-block: clamp(80px, 12vw, 160px);
}

.statement__text {
	max-width: 28ch;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(2rem, 4.4vw, 4.25rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-wrap: pretty;
}

.statement__text .sw {
	color: var(--ink);
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	.js .statement__text .sw {
		color: color-mix(
			in srgb,
			var(--ink) clamp(0%, calc((var(--p, 0) * 1.12 - var(--k, 0)) * 1200%), 100%),
			var(--mute)
		);
	}
}

/* ------------------------------------------------------------------
 * Rows: services (home), principles (About). Whole row is a link on home.
 * ------------------------------------------------------------------ */

.rows {
	border-top: 1px solid var(--rule);
}

.section__title + .rows,
.section__title + .lines {
	margin-top: clamp(40px, 5vw, 64px);
}

.row {
	position: relative;
	border-bottom: 1px solid var(--rule);
}

.row__link {
	position: relative;
	isolation: isolate;
	display: grid;
	/* Mobile: number on its own line so the title gets the full width. */
	grid-template-columns: minmax(0, 1fr) 40px;
	column-gap: 16px;
	row-gap: 10px;
	align-items: center;
	padding: 28px 4px;
	color: var(--ink);
	text-decoration: none;
}

.row__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--sage);
	opacity: 0;
	transition: opacity 0.45s var(--ease);
}

.row__num {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	color: var(--accent);
}

.row__title {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(1.75rem, 3.4vw, 3rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	transition: transform 0.5s var(--ease);
}

.row__link .row__num {
	grid-column: 1 / -1;
}

.row__link .row__title {
	grid-column: 1;
	grid-row: 2;
}

.row__teaser {
	grid-column: 1 / -1;
	max-width: 44ch;
	font-size: 16px;
	color: var(--ink-soft);
}

.row__arrow {
	grid-column: 2;
	grid-row: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	transition: transform 0.5s var(--ease);
}

.row__arrow .icon {
	width: 28px;
	height: 28px;
}

.row__good {
	grid-column: 1 / -1;
	max-height: 0;
	overflow: hidden;
	font-size: 15px;
	color: var(--ink-soft);
	opacity: 0;
	transform: translate3d(-16px, 0, 0);
	transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), transform 0.5s var(--ease), padding-top 0.5s var(--ease);
}

.row__good-list {
	display: grid;
	gap: 6px;
	margin-top: 8px;
}

.row__good-item {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

/* Green CSS dash, not a dash character. */
.row__good-item::before {
	content: "";
	flex: 0 0 auto;
	width: 14px;
	height: 1.5px;
	background: var(--accent);
	transform: translateY(-0.3em);
}

.row__good-label {
	display: block;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

.row__link:hover::before,
.row__link:focus-visible::before {
	opacity: 1;
}

.row__link:hover .row__title,
.row__link:focus-visible .row__title {
	transform: translateX(12px);
}

.row__link:hover .row__arrow,
.row__link:focus-visible .row__arrow {
	transform: rotate(-45deg);
}

.row__link:hover .row__good,
.row__link:focus-visible .row__good {
	max-height: 14em;
	padding-top: 12px;
	opacity: 1;
	transform: none;
}

/* Touch: the "Good for" line is always visible, since there is no hover. */
@media (hover: none) {
	.row__good {
		max-height: none;
		padding-top: 12px;
		opacity: 1;
		transform: none;
	}
}

.rows--plain .row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-items: baseline;
	padding: 32px 0;
}

.rows--plain .row__title {
	font-size: clamp(2rem, 5vw, 4.5rem);
	line-height: 1.02;
}

@media (min-width: 768px) {
	.row__link {
		grid-template-columns: 72px minmax(0, 1.3fr) minmax(0, 1fr) 48px;
		column-gap: 24px;
		padding: 32px 16px;
	}

	.row__link .row__num,
	.row__link .row__title,
	.row__teaser {
		grid-column: auto;
		grid-row: auto;
	}

	.row__arrow {
		grid-column: 4;
		grid-row: 1;
	}

	.row__good {
		grid-column: 2 / span 2;
	}

	.rows--plain .row {
		grid-template-columns: 96px minmax(0, 1fr);
	}
}

/* ------------------------------------------------------------------
 * Fit
 * ------------------------------------------------------------------ */

.fit__grid {
	display: grid;
	gap: clamp(48px, 6vw, 96px);
}

.fit__list {
	border-top: 1px solid var(--rule);
}

.fit__item {
	display: flex;
	align-items: baseline;
	gap: 20px;
	padding: 24px 0;
	border-bottom: 1px solid var(--rule);
}

.fit__mark {
	flex: 0 0 auto;
	width: 28px;
	height: 1.5px;
	background: var(--accent);
	transform: translateY(-0.35em);
}

.fit__text {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
	line-height: 1.25;
}

@media (min-width: 1024px) {
	.fit__grid {
		grid-template-columns: 5fr 7fr;
		align-items: start;
	}

	.fit__intro {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-offset) + 40px);
	}
}

/* ------------------------------------------------------------------
 * Approach: three columns, hairline separated. Giant italic word drifts (JS).
 * ------------------------------------------------------------------ */

.approach__grid {
	display: grid;
	gap: 56px;
	margin-top: clamp(48px, 6vw, 80px);
}

.approach__item {
	padding-top: 32px;
	border-top: 1px solid var(--rule);
}

.approach__word {
	margin-bottom: 28px;
	font-family: var(--font-display);
	font-style: normal;
	font-weight: 300;
	font-size: clamp(4.5rem, 12vw, 9rem);
	line-height: 0.9;
	letter-spacing: -0.03em;
	color: var(--accent);
	will-change: transform;
}

.approach__title {
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.15;
}

.approach__text {
	max-width: 36ch;
	margin-top: 12px;
	color: var(--ink-soft);
}

@media (min-width: 1024px) {
	.approach__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0;
	}

	.approach__item {
		padding: 0 40px;
		border-top: 0;
		border-left: 1px solid var(--rule);
	}

	.approach__item:first-child {
		padding-left: 0;
		border-left: 0;
	}
}

/* ------------------------------------------------------------------
 * Ticker. The section clips; the viewport (two equal tracks) scrolls by one track width.
 * ------------------------------------------------------------------ */

.ticker {
	overflow: hidden;
	padding-block: clamp(48px, 6vw, 88px);
	background: var(--paper-2);
	border-block: 1px solid var(--rule);
}

.ticker__caption {
	margin-bottom: 32px;
}

.ticker__viewport {
	display: flex;
	width: max-content;
	animation: ticker-x 42s linear infinite;
}

.ticker:hover .ticker__viewport,
.ticker:focus-within .ticker__viewport {
	animation-play-state: paused;
}

.ticker__track {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding-right: 0.5em;
	font-family: var(--font-display);
	font-style: normal;
	font-weight: 300;
	font-size: clamp(3.5rem, 8vw, 5.5rem);
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.ticker__glyph {
	flex: 0 0 auto;
	width: 0.42em;
	height: 0.42em;
	fill: none;
	stroke: var(--accent);
	stroke-width: 1.6;
	stroke-linecap: round;
}

@keyframes ticker-x {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(-50%, 0, 0);
	}
}

/* ------------------------------------------------------------------
 * Process: sticky aside with rail (desktop), stacked (mobile).
 * ------------------------------------------------------------------ */

.process__grid {
	display: grid;
	gap: clamp(56px, 7vw, 96px);
}

.process__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.process__aside .section__title {
	margin-bottom: 40px;
}

.rail {
	position: relative;
	width: 100%;
	height: 2px;
	margin-bottom: 40px;
	overflow: hidden;
	background: var(--rule);
}

.rail__fill {
	position: absolute;
	inset: 0;
	background: var(--accent);
	transform-origin: left center;
	transform: scaleX(var(--p, 0));
}

.steps {
	border-top: 1px solid var(--rule);
}

.step {
	position: relative;
	display: grid;
	gap: 12px;
	min-height: min(60vh, 520px);
	align-content: center;
	padding: clamp(40px, 6vw, 72px) 0;
	border-bottom: 1px solid var(--rule);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-step]:not(.is-in) {
	opacity: 0;
	transform: translate3d(0, 40px, 0);
}

.step__num {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(5rem, 14vw, 11rem);
	line-height: 0.85;
	letter-spacing: -0.04em;
	color: var(--paper-2);
	-webkit-text-stroke: 1px var(--ink-soft);
	transition: color 0.5s var(--ease);
}

.step.is-active .step__num {
	color: var(--sage);
	-webkit-text-stroke-color: var(--accent);
}

.step__title {
	font-size: clamp(1.75rem, 3.4vw, 2.75rem);
	line-height: 1.1;
}

.step__text {
	max-width: 52ch;
	color: var(--ink-soft);
}

/* Steps list on How we work: rail sits beside the steps and stays pinned on desktop. */
.steps-layout {
	position: relative;
}

@media (min-width: 1024px) {
	.process__grid {
		grid-template-columns: 5fr 7fr;
		align-items: start;
	}

	.process__aside {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-offset) + 40px);
	}

	.rail {
		width: 2px;
		height: 180px;
		margin: 8px 0 40px;
	}

	.rail__fill {
		transform-origin: center top;
		transform: scaleY(var(--p, 0));
	}

	.steps-layout {
		display: grid;
		grid-template-columns: 2px minmax(0, 1fr);
		column-gap: 56px;
	}

	.steps-layout .rail {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-offset) + 48px);
		align-self: start;
		height: 40vh;
		margin: 0;
	}
}

/* ------------------------------------------------------------------
 * FAQ: details with rotating plus, ::details-content for the smooth open.
 * ------------------------------------------------------------------ */

.faq {
	border-bottom: 1px solid var(--rule);
}

.faq__item {
	border-top: 1px solid var(--rule);
}

.faq__item::details-content {
	block-size: 0;
	overflow: hidden;
	transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
}

.faq__item[open]::details-content {
	block-size: auto;
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 44px;
	padding: 28px 0;
	list-style: none;
	cursor: pointer;
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__q {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(1.5rem, 2.6vw, 2.125rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	transition: transform 0.45s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	background: var(--ink);
	transform: translate(-50%, -50%);
}

.faq__icon::before {
	width: 22px;
	height: 1.5px;
}

.faq__icon::after {
	width: 1.5px;
	height: 22px;
}

.faq__item[open] .faq__icon {
	transform: rotate(45deg);
}

.faq__answer {
	max-width: 70ch;
	padding: 0 48px 32px 0;
}

.faq__answer p {
	color: var(--ink-soft);
	font-size: 17px;
}

.faq-teaser__grid {
	display: grid;
	gap: 56px;
}

.faq-teaser__more {
	margin-top: 8px;
}

@media (min-width: 1024px) {
	.faq-teaser__grid {
		grid-template-columns: 5fr 7fr;
		gap: 96px;
		align-items: start;
	}

	.faq-teaser__aside {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-offset) + 40px);
	}
}

/* ------------------------------------------------------------------
 * CTA band
 * ------------------------------------------------------------------ */

.cta {
	padding-block: clamp(96px, 14vw, 184px);
	background: var(--sage);
}

.cta__title {
	max-width: 16ch;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(3.25rem, 9vw, 9rem);
	line-height: 0.95;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.cta__text {
	max-width: 46ch;
	margin-top: 32px;
	font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
	color: var(--ink-soft);
}

.cta__actions {
	margin-top: 40px;
}

/* ------------------------------------------------------------------
 * Page header (inner pages and 404)
 * ------------------------------------------------------------------ */

.page-head {
	padding-block: clamp(40px, 7vw, 96px) clamp(56px, 7vw, 104px);
	border-bottom: 1px solid var(--rule);
}

.page-head__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.breadcrumbs {
	margin-bottom: 40px;
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.breadcrumbs__item + .breadcrumbs__item::before {
	content: "/";
	margin-right: 8px;
	color: var(--mute);
}

.breadcrumbs__link,
.breadcrumbs__current {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink-soft);
	text-decoration: none;
}

.breadcrumbs__link:hover {
	color: var(--accent);
}

.breadcrumbs__current {
	color: var(--ink);
}

.page-head .section-label {
	margin-bottom: 32px;
}

.badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 10px;
	margin-bottom: 28px;
	padding: 8px 12px;
	border: 1px solid var(--rule-strong);
	border-radius: 2px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
}

.badge__dot {
	position: relative;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}

.badge__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid var(--accent);
	animation: pulse-ring 2s var(--ease) infinite;
}

@keyframes pulse-ring {
	0% {
		transform: scale(0.6);
		opacity: 0.9;
	}
	100% {
		transform: scale(2.4);
		opacity: 0;
	}
}

.page-head__title {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(3rem, 9vw, 8.5rem);
	line-height: 0.96;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.page-head__lead {
	margin-top: 40px;
	max-width: 48ch;
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	line-height: 1.5;
	color: var(--ink-soft);
}

@media (min-width: 1024px) {
	.page-head__lead {
		margin-left: 50%;
		max-width: 50%;
	}
}

/* ------------------------------------------------------------------
 * Services page: sticky index (left) and service blocks (right)
 * ------------------------------------------------------------------ */

.services-layout__grid {
	display: grid;
	gap: 48px;
}

.services-index__title {
	margin-bottom: 16px;
}

.services-index__list {
	border-top: 1px solid var(--rule);
}

.services-index__item {
	border-bottom: 1px solid var(--rule);
}

.services-index__link {
	display: flex;
	align-items: baseline;
	gap: 16px;
	min-height: 44px;
	padding: 14px 0;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	line-height: 1.2;
	color: var(--ink-soft);
	text-decoration: none;
	transition: color 0.3s;
}

.services-index__num {
	min-width: 2.2em;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--accent);
}

.services-index__link:hover {
	color: var(--ink);
}

.services-index__link.is-active {
	color: var(--ink);
}

.services-index__link.is-active .services-index__name {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--accent);
	text-underline-offset: 0.2em;
}

.service {
	scroll-margin-top: calc(var(--header-h) + var(--admin-offset) + 32px);
	padding-block: clamp(72px, 9vw, 128px);
	border-top: 1px solid var(--rule);
}

.service:focus {
	outline: none;
}

.service__title {
	margin-bottom: 32px;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(2.5rem, 6vw, 5.5rem);
	line-height: 1;
	letter-spacing: -0.03em;
}

.service__desc {
	max-width: 60ch;
	font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
	color: var(--ink-soft);
}

.service__lists {
	display: grid;
	gap: 48px;
	margin-top: 56px;
}

.service__label {
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rule-strong);
}

.check-list__item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--rule);
	font-size: 17px;
	line-height: 1.45;
}

.check-list__dash {
	flex: 0 0 auto;
	width: 16px;
	height: 1.5px;
	margin-top: 0.7em; /* first line's centre, so the dash never reads as an underscore on wrapped items */
	background: var(--accent);
}

@media (min-width: 768px) {
	.service__lists {
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}

	.service__col {
		padding-right: 40px;
	}

	.service__col + .service__col {
		padding: 0 0 0 40px;
		border-left: 1px solid var(--rule);
	}
}

@media (min-width: 1024px) {
	.services-layout__grid {
		grid-template-columns: 4fr 8fr;
		gap: 96px;
		align-items: start;
	}

	.services-index {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-offset) + 40px);
	}
}

/* ------------------------------------------------------------------
 * How we work: lines, text blocks
 * ------------------------------------------------------------------ */

.lines {
	margin-top: clamp(40px, 5vw, 64px);
	border-top: 1px solid var(--rule);
}

.lines__item {
	padding: 24px 0;
	border-bottom: 1px solid var(--rule);
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.25;
}

.text-blocks__grid {
	display: grid;
	gap: 48px;
}

.text-block {
	padding-top: 32px;
	border-top: 1px solid var(--rule);
}

.text-block__label {
	margin-bottom: 20px;
}

@media (min-width: 768px) {
	.text-blocks__grid {
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}

	.text-block {
		padding: 0 48px;
		border-top: 0;
	}

	.text-block:first-child {
		padding-left: 0;
	}

	.text-block:last-child {
		padding-right: 0;
	}

	.text-block + .text-block {
		border-left: 1px solid var(--rule);
	}
}

/* ------------------------------------------------------------------
 * Platform page: words row, split, form layout
 * ------------------------------------------------------------------ */

.words__list {
	display: grid;
	gap: 0;
}

.words__item {
	padding: 40px 0;
	border-top: 1px solid var(--rule);
}

.words__word {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(4rem, 13vw, 10rem);
	line-height: 0.9;
	letter-spacing: -0.04em;
}

.words__caption {
	max-width: 34ch;
	margin-top: 24px;
	font-size: 18px;
	color: var(--ink-soft);
}

.split {
	display: grid;
	gap: 40px;
}

.form-layout {
	display: grid;
	gap: 64px;
}

@media (min-width: 1024px) {
	.words__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.words__word {
		font-size: clamp(2.5rem, 5.6vw, 5rem);
	}

	.words__item {
		padding: 56px 40px 0 0;
	}

	.words__item:nth-child(n + 2) {
		padding-left: 40px;
		border-left: 1px solid var(--rule);
	}

	.split {
		grid-template-columns: 1fr 1fr;
		align-items: end;
	}

	.form-layout {
		grid-template-columns: 5fr 6fr;
		align-items: start;
	}

	.form-layout__intro {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-offset) + 40px);
	}
}

/* ------------------------------------------------------------------
 * About
 * ------------------------------------------------------------------ */

.about-body__inner {
	display: grid;
	gap: 32px;
}

.lead-serif {
	max-width: 34em;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(1.75rem, 3.4vw, 2.25rem);
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-wrap: pretty;
}

.about__location {
	margin-top: 16px;
}

/* ------------------------------------------------------------------
 * Forms: underline-only fields. Focus thickens the accent rule.
 * ------------------------------------------------------------------ */

.form-wrap {
	position: relative;
	min-width: 0;
}

.form {
	display: flex;
	flex-direction: column;
}

.form__hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form__row {
	display: grid;
	gap: 0 32px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 32px;
}

.field__label {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.field__input {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 0 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: inset 0 -1px 0 var(--rule-strong);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.4;
	appearance: none;
	-webkit-appearance: none;
	transition: box-shadow 0.25s var(--ease);
}

.field__input::placeholder {
	color: var(--mute);
}

.field__input:focus {
	box-shadow: inset 0 -2px 0 var(--accent);
}

.field__input:user-invalid,
.field.is-error .field__input {
	box-shadow: inset 0 -2px 0 var(--error);
}

.field.is-error .field__label {
	color: var(--error);
}

.field__input--area {
	min-height: 140px;
	line-height: 1.5;
	resize: vertical;
}

.field__select {
	padding-right: 32px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317181c' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	cursor: pointer;
}

.field--check {
	flex-direction: row;
	align-items: flex-start;
	gap: 14px;
}

.field__check {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin: 10px 0 0;
	accent-color: var(--accent);
}

.field__check-label {
	padding-block: 9px;
	font-size: 16px;
	color: var(--ink-soft);
}

.form__status:empty {
	display: none;
}

.form__message {
	margin-bottom: 32px;
	padding: 16px 0;
	border-top: 1px solid currentColor;
	font-size: 16px;
	line-height: 1.5;
}

.form__message--success {
	color: var(--accent);
}

.form__message--error {
	color: var(--error);
}

.form__submit {
	align-self: flex-start;
	margin-top: 16px;
}

@media (min-width: 768px) {
	.form__row {
		grid-template-columns: 1fr 1fr;
	}
}

/* Contact: form and "What happens next" aside */

.contact-layout {
	display: grid;
	gap: 72px;
}

.contact-aside__title {
	margin-bottom: 24px;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.1;
}

.contact-aside__list {
	counter-reset: ca;
	border-top: 1px solid var(--rule);
}

.contact-aside__item {
	counter-increment: ca;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	padding: 22px 0;
	border-bottom: 1px solid var(--rule);
	color: var(--ink-soft);
}

.contact-aside__item::before {
	content: counter(ca, decimal-leading-zero);
	padding-top: 4px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--accent);
}

.contact-aside__note {
	margin-top: 28px;
	max-width: 44ch;
	font-size: 15px;
	color: var(--ink-soft);
}

@media (min-width: 1024px) {
	.contact-layout {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 24px;
		align-items: start;
	}

	.form-wrap {
		grid-column: 1 / span 7;
	}

	.contact-aside {
		grid-column: 9 / span 4;
	}
}

/* ------------------------------------------------------------------
 * Accordion-style FAQ page layout
 * ------------------------------------------------------------------ */

.faq-page__grid {
	display: grid;
	gap: 40px;
}

@media (min-width: 1024px) {
	.faq-page__grid {
		grid-template-columns: 4fr 8fr;
		gap: 96px;
		align-items: start;
	}

	.faq-page__aside {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-offset) + 40px);
	}
}

/* ------------------------------------------------------------------
 * Legal, article and prose
 * ------------------------------------------------------------------ */

.entry {
	max-width: 70ch;
	padding-block: clamp(56px, 8vw, 112px);
	font-size: clamp(1.0625rem, 1.2vw, 1.1875rem);
	line-height: 1.7;
	color: var(--ink);
}

.entry h2 {
	margin: 2.2em 0 0.6em;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.15;
}

.entry h3 {
	margin: 1.8em 0 0.5em;
	font-size: clamp(1.375rem, 2vw, 1.75rem);
	line-height: 1.2;
}

.entry p + p {
	margin-top: 1em;
}

.entry ul {
	margin-top: 1em;
	padding-left: 1.2em;
	list-style: disc;
}

.entry ol {
	margin-top: 1em;
	padding-left: 1.4em;
	list-style: decimal;
}

.entry li + li {
	margin-top: 0.4em;
}

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

.entry a:hover {
	color: var(--accent);
}

.article__date {
	display: inline-block;
	margin-top: 40px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.article__body {
	margin-top: 16px;
	padding-top: 0;
}

.post-list {
	border-top: 1px solid var(--rule);
}

.post-card {
	display: grid;
	gap: 12px;
	padding: 40px 0;
	border-bottom: 1px solid var(--rule);
}

.post-card__date {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.post-card__title {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(1.75rem, 3.4vw, 2.75rem);
	line-height: 1.1;
}

.post-card__link {
	color: var(--ink);
	text-decoration: none;
	background-image: linear-gradient(var(--accent), var(--accent));
	background-repeat: no-repeat;
	background-size: 0% 1px;
	background-position: 0 100%;
	transition: background-size 0.5s var(--ease);
}

.post-card__link:hover,
.post-card__link:focus-visible {
	background-size: 100% 1px;
}

.post-card__excerpt {
	max-width: 60ch;
	color: var(--ink-soft);
}

.empty-state {
	max-width: 60ch;
	padding-block: 40px;
}

.empty-state__title {
	margin-bottom: 16px;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
	line-height: 1.1;
}

.empty-state__text {
	color: var(--ink-soft);
}

.pagination {
	margin-top: 48px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--ink);
}

.pagination .page-numbers.current {
	color: var(--accent);
	text-decoration: underline;
}

/* ------------------------------------------------------------------
 * 404
 * ------------------------------------------------------------------ */

.notfound__numeral {
	margin: 0 0 -0.12em -0.04em;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(9rem, 38vw, 30rem);
	line-height: 0.8;
	letter-spacing: -0.05em;
	color: var(--paper-2);
	user-select: none;
}

.notfound-page .page-head__title {
	position: relative;
	z-index: 1;
}

.links-list {
	border-top: 1px solid var(--rule);
}

.links-list__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 44px;
	padding: 28px 0;
	border-bottom: 1px solid var(--rule);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 3rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-decoration: none;
	transition: color 0.3s;
}

.links-list__link:hover,
.links-list__link:focus-visible {
	color: var(--accent);
}

.links-list__arrow .icon {
	width: 36px;
	height: 36px;
	transition: transform 0.45s var(--ease);
}

.links-list__link:hover .links-list__arrow,
.links-list__link:focus-visible .links-list__arrow {
	transform: translateX(10px);
}

/* ------------------------------------------------------------------
 * Icons
 * ------------------------------------------------------------------ */

.icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
}

/* ------------------------------------------------------------------
 * Wide screens (1440 and up)
 * ------------------------------------------------------------------ */

@media (min-width: 1440px) {
	.hero__title {
		font-size: clamp(7rem, 7.6vw, 8.5rem);
	}

	.section__title {
		font-size: 5rem;
	}

	.container {
		padding-inline: 32px;
	}
}

/* ------------------------------------------------------------------
 * Reduced motion: no animation, final static states, nothing hidden.
 * ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		transition-delay: 0ms !important;
		animation-duration: 0.01ms !important;
		animation-delay: 0ms !important;
		animation-iteration-count: 1 !important;
	}

	.ticker__viewport,
	.badge__dot::after {
		animation: none !important;
	}

	.ticker__viewport {
		display: block;
		width: auto;
	}

	.ticker__track {
		flex-wrap: wrap;
		padding: 0;
		width: 100%;
	}

	.ticker__track[aria-hidden="true"] {
		display: none;
	}

	.js [data-reveal]:not(.is-in) {
		opacity: 1;
		transform: none;
	}

	.js [data-lines]:not(.is-in) .w__i,
	.js [data-lines] .w__i {
		transform: none;
	}

	.js [data-step]:not(.is-in) {
		opacity: 1;
		transform: none;
	}

	.js .site-footer__mark:not(.is-in) .site-footer__mark-text {
		transform: none;
	}

	.js [data-slip] .slip__line::after {
		transform: scaleX(1);
	}

	.js [data-slip] .slip__stamp {
		opacity: 1;
		transform: rotate(-8deg);
		animation: none;
	}

	.js [data-slip] .slip__log-item {
		opacity: 1;
		transform: none;
	}

	.js .index-strip {
		--fill: 1;
	}

	.statement__text .sw {
		color: var(--ink) !important;
	}

	.rail__fill {
		transform: scaleX(1);
	}

	@media (min-width: 1024px) {
		.rail__fill {
			transform: scaleY(1);
		}
	}

	.mobile-menu__list > li {
		opacity: 1;
		transform: none;
	}

	.mobile-menu,
	.site-header {
		transition: none;
	}

	.btn--primary::before {
		transition: none;
	}
}

.services-group,
.rows__group {
	margin: 3rem 0 1rem;
	padding-top: 1rem;
	border-top: 1px solid currentColor;
	list-style: none;
}
.services-group:first-child,
.rows__group:first-child {
	margin-top: 0;
}

/* Geist is wider than the earlier serif, so the display sizes step down. */
.hero__title {
	font-size: clamp(2.4rem, 5.4vw, 6rem);
}
.section__title {
	font-size: clamp(2rem, 4vw, 3.75rem);
}
.statement__text {
	font-size: clamp(1.75rem, 3.4vw, 3.25rem);
}
.service__title {
	font-size: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 1440px) {
	.hero__title {
		font-size: 6rem;
	}
	.section__title {
		font-size: 4rem;
	}
	.service__title {
		font-size: 3.5rem;
	}
}
.row + .rows__group {
	border-top: 0;
}

.site-footer__mark {
	font-size: 21vw;
}

/* About page: label beside the text on desktop, green highlights on the key phrases. */
.about-body__text {
	display: grid;
	gap: 28px;
}
.lead-serif em,
.about-note em {
	font-style: normal;
	color: var(--accent);
}
.about-note {
	max-width: 36em;
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--mute);
}
.about-note em {
	font-weight: 500;
}
@media (min-width: 900px) {
	.about-body__inner {
		grid-template-columns: 3fr 9fr;
		column-gap: 24px;
		align-items: start;
	}
}

/* Page header: lead sits under the title, not floating to the right. */
@media (min-width: 1024px) {
	.page-head__lead {
		margin-left: 0;
		max-width: 48ch;
	}
}

/* No numbering in the navigation. */
.nav__list > li > a::before,
.mobile-menu__list > li > a::before {
	content: none;
	margin-right: 0;
}

/* Ask an AI about Questaron (footer). */
.ask-ai {
	margin-top: 32px;
}
.ask-ai__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}
.ask-ai__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--rule-strong);
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.ask-ai__link:hover,
.ask-ai__link:focus-visible {
	border-color: var(--accent);
	color: var(--accent);
}

.ask-ai__link {
	gap: 10px;
}
.ask-ai__icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
}
.ask-ai__icon svg {
	width: 18px;
	height: 18px;
}

/* Ask an AI: body band under the statement, styled as a prompt box. */
.ask { padding-block: 40px; }
.ask-ai { margin-top: 0; max-width: 860px; }
.ask-ai__title { margin: 0 0 16px; }
.ask-ai__prompt {
	margin: 0;
	padding: 28px 28px 32px;
	background: var(--paper-white);
	border: 1px solid var(--rule-strong);
	font-family: var(--font-display, inherit);
	font-size: clamp(18px, 2.2vw, 24px);
	line-height: 1.45;
	color: var(--ink);
}
.ask-ai__prompt-label { display: block; margin-bottom: 14px; opacity: 0.6; }
.ask-ai__caret {
	display: inline-block;
	width: 2px;
	height: 1em;
	margin-left: 4px;
	vertical-align: text-bottom;
	background: var(--accent);
	animation: ask-caret 1.1s steps(1) infinite;
}
@keyframes ask-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ask-ai__caret { animation: none; } }
.ask-ai__send { margin: 20px 0 0; }
