/* ==========================================================================
   Peak AI — design system v2
   Near-black surfaces, one gold accent, flat planes, editorial serif display.
   Photography is unified with a muted duotone treatment. Scrims exist only
   where text sits on an image. No decorative gradients, no glows.
   ========================================================================== */

/* ------------------------------------------------------------------- Fonts */

@font-face {
	font-family: "Playfair Display";
	src: url("../fonts/PlayfairDisplay-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026;
}

:root {
	/* Surfaces, darkest to lightest. */
	--bg:        #0E0E10;
	--surface:   #141417;
	--raised:    #1A1A1E;
	--line:      #26262B;
	--line-soft: #1E1E23;

	/* Ink. */
	--ink:       #F4F4F5;
	--ink-mid:   #B7B7C0;
	--ink-dim:   #85858F;

	/* The single accent, from the logo. */
	--gold:      #D8A32C;
	--gold-hi:   #E8BC55;
	--gold-dim:  #8A6A1E;
	--on-gold:   #14100A;

	--ok:        #4ADE80;
	--err:       #F87171;

	/* Type. */
	--font-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	/* Rhythm. Generous on purpose: whitespace is the cheapest premium signal. */
	--container: 1240px;
	--narrow: 760px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section-y: clamp(5.5rem, 11vw, 10.5rem);
	--radius: 12px;
	--radius-media: 16px;
	--radius-pill: 999px;

	--speed: 180ms;
	--ease: cubic-bezier(.2, .6, .3, 1);

	/* Z-scale. */
	--z-header: 100;
	--z-sticky: 90;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 92px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-ui);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }

button, [role="button"], a.btn, .chip, .faq__q { cursor: pointer; }

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

::selection { background: var(--gold); color: var(--on-gold); }

/* --------------------------------------------------------------- Typography */

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-weight: 560;
	line-height: 1.06;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1, h2 { font-family: var(--font-display); }

h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.04; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }

h1 em, h2 em { font-style: italic; color: var(--gold); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lede {
	font-size: clamp(1.1rem, 1.7vw, 1.3rem);
	color: var(--ink-mid);
	line-height: 1.55;
	text-wrap: pretty;
	max-width: 58ch;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	margin: 0 0 1.2rem;
	font-size: .72rem;
	font-weight: 640;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold);
}

.eyebrow::before {
	content: "";
	width: 22px;
	height: 1px;
	background: var(--gold);
	flex: none;
}

.eyebrow--bare::before { display: none; }

.gold { color: var(--gold); }
.muted { color: var(--ink-mid); }
.small { font-size: .875rem; }

/* ------------------------------------------------------------------- Layout */

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

.narrow { max-width: var(--narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line-soft); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 64ch; margin-bottom: clamp(3rem, 6vw, 5rem); }

/*
 * Section labels run as a full-width hairline pill, so every section opens
 * with the same quiet marker and the heading below gets all the attention.
 */
.section > .container > .section-head .eyebrow,
.section > .container > .split .eyebrow {
	width: 100%;
	max-width: none;
	justify-content: flex-start;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	padding: .6rem 1.15rem;
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.section > .container > .section-head .eyebrow::before,
.section > .container > .split .eyebrow::before { display: none; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.split {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}
.split--rev { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
@media (max-width: 960px) {
	.split, .split--rev { grid-template-columns: 1fr; }
	.split--rev > :first-child { order: 2; }
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--gold);
	color: var(--on-gold);
	padding: .75rem 1.25rem;
	font-weight: 600;
	z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* -------------------------------------------------------------- Photography */

/*
 * Every photograph runs through the same muted treatment so mixed sources read
 * as one set. The tone overlay is a flat colour at low opacity, not a gradient.
 */
.media {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-media);
	border: 1px solid var(--line);
	background: var(--raised);
}

/*
 * Photographs keep their life; the treatment only settles them into the dark
 * room. Confidence in the image is part of the premium read.
 */
.media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(.15) saturate(.9) contrast(1.03) brightness(.88);
}

.media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #0E0E10;
	opacity: .12;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; }

/*
 * Logos are marks, not photographs: never crop them, never run the duotone
 * over them. Contained, padded, on a flat surface.
 */
.media--logo { background: var(--surface); }
.media--logo img {
	object-fit: contain;
	padding: clamp(1.5rem, 12%, 3rem);
	filter: none;
}
.media--logo::after { display: none; }

/* Generated brand images arrive already graded: no filter, no overlay. */
.media--gen img { filter: none; }
.media--gen::after { display: none; }

/*
 * Generated article covers carry typography. Any crop cuts the title, so they
 * always render at their native 16:9, unfiltered. Declared after the aspect
 * variants and the card override so it wins in every context.
 */
.media--cover,
.card--media .media--cover { aspect-ratio: 16 / 9; }
.media--cover img { filter: none; object-fit: cover; }
.media--cover::after { display: none; }

.media__credit {
	position: absolute;
	right: .6rem;
	bottom: .5rem;
	z-index: 2;
	font-size: .65rem;
	letter-spacing: .04em;
	color: rgba(244, 244, 245, .55);
	background: rgba(14, 14, 16, .55);
	padding: .15rem .5rem;
	border-radius: 3px;
}

/* Full-bleed image band with content on top. Scrim is functional, text needs it. */
.banner {
	position: relative;
	overflow: hidden;
	background: var(--surface);
	border-block: 1px solid var(--line-soft);
}

.banner__img {
	position: absolute;
	inset: 0;
}
.banner__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(.4) saturate(.85) contrast(1.02) brightness(.62);
}
.banner__img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(14, 14, 16, .62);
}

.banner__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(3.5rem, 7vw, 6rem);
}

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

.hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--line-soft);
}

.hero__bg {
	position: absolute;
	inset: 0;
}
.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 35%;
	filter: grayscale(.45) saturate(.8) contrast(1.02) brightness(.5);
}
.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(14, 14, 16, .68);
}

.hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(4rem, 8vw, 7rem);
}

.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 1.4rem; }
.hero .btn-row { margin-top: 2.4rem; }

.hero__note {
	margin-top: 1.5rem;
	font-size: .875rem;
	color: var(--ink-dim);
}
.hero__note strong { color: var(--ink-mid); font-weight: 600; }

/* Plain hero for inner pages (no photo). */
.hero--plain { background: var(--bg); }
.hero--plain .hero__inner { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }

/* Front-page hero with the Three.js particle scene behind the content. */
.hero--scene { background: var(--bg); }
.hero--scene #peak-scene {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}
.hero--scene .hero__inner { min-height: min(94vh, 1000px); display: grid; align-items: center; }

/* --------------------------------------------------------------- Marquee */

.marquee {
	overflow: hidden;
	padding-block: 1.5rem;
	user-select: none;
}

.marquee__track {
	display: flex;
	align-items: center;
	gap: 3.5rem;
	width: max-content;
	will-change: transform;
}

.marquee__track .trust__item {
	font-size: 1.05rem;
	font-weight: 560;
	color: var(--ink-mid);
}

.marquee__dot {
	width: 5px;
	height: 5px;
	background: var(--gold);
	transform: rotate(45deg);
	flex: none;
}

/* ---------------------------------------------------------- Custom cursor */

.cursor-dot {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 300;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: var(--gold);
	pointer-events: none;
	opacity: 0;
}

.cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 299;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border: 1px solid var(--gold-dim);
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }
body.has-cursor.cursor-hidden .cursor-dot,
body.has-cursor.cursor-hidden .cursor-ring { opacity: 0; }

@media (hover: none), (pointer: coarse) {
	.cursor-dot, .cursor-ring { display: none; }
}

/* ------------------------------------------------------- Motion utilities */

/*
 * Initial states are applied by JS (gsap.set), never by CSS, so content is
 * fully visible without JavaScript and for reduced-motion users.
 */
.char-line { display: block; overflow: hidden; }
.char-line > span { display: inline-block; will-change: transform; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------------------------------------------------------------- Chat demo */

/*
 * A worked example of the product, drawn in CSS. It replaces stock "AI" art
 * and invented statistics with the thing itself.
 */
.chat {
	display: flex;
	flex-direction: column;
	gap: .65rem;
	padding: 1.4rem;
	background: rgba(20, 20, 23, .92);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.chat__head {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding-bottom: 1rem;
	margin-bottom: .35rem;
	border-bottom: 1px solid var(--line-soft);
	font-size: .8125rem;
	color: var(--ink-mid);
}

.chat__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ok);
	flex: none;
}

.chat__time {
	margin-left: auto;
	font-family: var(--font-mono);
	font-size: .7rem;
	color: var(--ink-dim);
}

.chat__msg {
	max-width: 86%;
	padding: .6rem .85rem;
	border-radius: 10px;
	font-size: .875rem;
	line-height: 1.5;
}

.chat__msg--in {
	align-self: flex-start;
	background: var(--raised);
	border: 1px solid var(--line-soft);
	border-bottom-left-radius: 3px;
	color: var(--ink-mid);
}

.chat__msg--out {
	align-self: flex-end;
	background: var(--gold);
	color: var(--on-gold);
	border-bottom-right-radius: 3px;
	font-weight: 480;
}

.chat__meta {
	align-self: center;
	font-size: .7rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-dim);
	padding-block: .2rem;
}

.chat__book {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-top: .25rem;
	padding: .7rem .85rem;
	background: var(--surface);
	border: 1px solid var(--gold-dim);
	border-radius: var(--radius);
	font-size: .8125rem;
	color: var(--ink);
}
.chat__book svg { flex: none; color: var(--gold); }
.chat__book strong { font-weight: 600; }
.chat__book span { color: var(--ink-dim); }

/* ------------------------------------------------------------------ Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 50px;
	padding: .85rem 1.9rem;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	font-family: var(--font-ui);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

.btn--primary { background: var(--gold); color: var(--on-gold); }
.btn--primary:hover { background: var(--gold-hi); color: var(--on-gold); }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--wa { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--wa:hover { border-color: var(--ok); color: var(--ok); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-size: .9375rem;
	font-weight: 600;
	color: var(--gold);
	text-decoration: none;
}
.arrow-link::after { content: "\2192"; transition: transform var(--speed) var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }

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

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: color-mix(in srgb, var(--bg) 90%, transparent);
	backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	font-weight: 660;
	font-size: 1.125rem;
	letter-spacing: -0.02em;
	color: var(--ink);
	text-decoration: none;
	flex: none;
}
.brand:hover { color: var(--ink); }
.brand svg { display: block; }
.brand img { max-height: 40px; width: auto; }
.brand__mark { color: var(--gold); }
.brand small {
	display: block;
	font-size: .6rem;
	font-weight: 560;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--ink-dim);
}

.nav { margin-left: auto; }

.nav ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav a {
	position: relative;
	display: block;
	padding: .35rem 0;
	font-size: .95rem;
	font-weight: 500;
	color: var(--ink-mid);
	text-decoration: none;
	transition: color var(--speed) var(--ease);
}
.nav a:hover,
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_item > a { color: var(--ink); }

.nav .current-menu-item > a::after,
.nav .current_page_item > a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -2px;
	height: 1px;
	background: var(--gold);
}

/* The CTA inside the drawer belongs to mobile only. */
.nav__cta { display: none; }

.header-cta { flex: none; }
.header-cta .btn { min-height: 42px; padding: .6rem 1.25rem; }

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
}
.nav-toggle span {
	display: block;
	width: 18px;
	height: 1.5px;
	margin: 4px auto;
	background: currentColor;
	transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	.nav {
		position: fixed;
		inset: 72px 0 auto;
		margin: 0;
		padding: 1.25rem var(--gutter) 2rem;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		display: none;
		max-height: calc(100dvh - 72px);
		overflow-y: auto;
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav li + li { border-top: 1px solid var(--line-soft); }
	.nav a { padding: .9rem 0; font-size: 1.05rem; }
	.nav__cta { display: flex; margin-top: 1.25rem; }
	.nav__cta .btn { width: 100%; }
}

/* -------------------------------------------------------------- Trust strip */

.trust {
	border-block: 1px solid var(--line-soft);
	background: var(--surface);
	padding-block: 1.4rem;
}

.trust__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem clamp(1.5rem, 4vw, 3rem);
}

.trust__label {
	font-size: .7rem;
	font-weight: 640;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-dim);
}

.trust__item {
	font-size: .9rem;
	font-weight: 560;
	color: var(--ink-mid);
	white-space: nowrap;
}

/* -------------------------------------------------------------------- Cards */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}

a.card, .card--link { text-decoration: none; color: inherit; cursor: pointer; }
a.card:hover, .card--link:hover { border-color: var(--gold-dim); background: var(--raised); }

.card h3 { margin-bottom: .5rem; color: var(--ink); }
.card p { color: var(--ink-mid); font-size: .975rem; }

.card__num {
	margin-bottom: 1.25rem;
	font-family: var(--font-mono);
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gold);
}

.card__foot {
	margin-top: auto;
	padding-top: 1.25rem;
	font-size: .875rem;
	font-weight: 600;
	color: var(--gold);
}
a.card:hover .card__foot { color: var(--gold-hi); }

.card__price {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	font-size: .875rem;
	color: var(--ink-dim);
}
.card__price strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ink);
}
.card__price strong span { font-family: var(--font-ui); font-size: .9rem; color: var(--ink-dim); font-weight: 480; }

/* Card with a photo on top. Taller image, more presence. */
.card--media { padding: 0; overflow: hidden; }
.card--media .media { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; }
.card--media .card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 2vw, 1.75rem); }

/* ------------------------------------------------------------ Service index */

/*
 * The services list runs as full-width editorial rows, not cards: an index,
 * like the contents page of a magazine. Row heights cannot fall out of step
 * and the imagery stays a quiet accent on the right.
 */
.svc-index { border-top: 1px solid var(--line); }

.svc-row {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr) auto auto;
	align-items: center;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	color: inherit;
}

.svc-row__num {
	font-family: var(--font-mono);
	font-size: .8rem;
	letter-spacing: .12em;
	color: var(--gold);
}

.svc-row__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3.2vw, 2.5rem);
	font-weight: 560;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--ink);
	transition: color var(--speed) var(--ease);
}
.svc-row:hover .svc-row__title { color: var(--gold); }

.svc-row__desc {
	margin: .5rem 0 0;
	max-width: 56ch;
	font-size: .95rem;
	color: var(--ink-mid);
}

.svc-row__price {
	text-align: right;
	font-size: .8rem;
	color: var(--ink-dim);
	white-space: nowrap;
}
.svc-row__price strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	font-weight: 600;
	color: var(--ink);
}

.svc-row .media {
	width: clamp(120px, 14vw, 190px);
	aspect-ratio: 4 / 3;
	flex: none;
	transition: transform 350ms var(--ease);
}
.svc-row:hover .media { transform: scale(1.03); }

@media (max-width: 820px) {
	.svc-row {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"num    thumb"
			"body   thumb"
			"price  thumb";
		align-items: start;
		gap: .5rem 1.25rem;
	}
	.svc-row__num { grid-area: num; }
	.svc-row__body { grid-area: body; }
	.svc-row__price { grid-area: price; text-align: left; margin-top: .5rem; }
	.svc-row .media { grid-area: thumb; width: 104px; }
}

/* -------------------------------------------------------------------- Stats */

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}

.stat { padding: clamp(1.5rem, 3vw, 2rem); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
@media (max-width: 700px) {
	.stat { border-right: 0; border-bottom: 1px solid var(--line); }
	.stat:last-child { border-bottom: 0; }
}

.stat__value {
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 4.6vw, 3.6rem);
	font-weight: 560;
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--gold);
}
.stat__label { margin-top: .65rem; font-size: .875rem; color: var(--ink-mid); }

/* ------------------------------------------------------------------- Panels */

.panel {
	padding: clamp(2rem, 5vw, 4rem);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.panel--accent { border-color: var(--gold-dim); }
.panel--tight { padding: clamp(1.5rem, 3vw, 2.25rem); }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------- Quote band */

.quote-band {
	max-width: 44rem;
	margin-inline: auto;
	text-align: center;
}
.quote-band blockquote {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 500;
	font-style: italic;
	line-height: 1.35;
	color: var(--ink);
	text-wrap: balance;
}
.quote-band figcaption { margin-top: 1.25rem; font-size: .875rem; color: var(--ink-dim); }
.quote-band figcaption strong { color: var(--ink-mid); font-weight: 600; }

/* -------------------------------------------------------------------- Steps */

.steps { counter-reset: step; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.step {
	counter-increment: step;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem 1.75rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--surface);
}
.step + .step { border-top: 1px solid var(--line); }

.step::before {
	content: "0" counter(step);
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 560;
	line-height: 1;
	color: var(--gold);
	padding-top: .2rem;
}

.step h3 { margin-bottom: .4rem; }
.step p { margin: 0; color: var(--ink-mid); font-size: .975rem; max-width: 62ch; }

/* ---------------------------------------------------------------------- FAQ */

.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	min-height: 44px;
	padding: 1.35rem 0;
	background: none;
	border: 0;
	font-family: inherit;
	font-size: 1.0625rem;
	font-weight: 580;
	line-height: 1.4;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-align: left;
	transition: color var(--speed) var(--ease);
}
.faq__q:hover { color: var(--gold); }

.faq__icon { flex: none; width: 14px; height: 14px; margin-top: .35rem; position: relative; }
.faq__icon::before,
.faq__icon::after {
	content: "";
	position: absolute;
	inset: 50% 0 auto;
	height: 1.5px;
	background: var(--gold);
	transition: transform var(--speed) var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }

.faq__a {
	display: none;
	padding: 0 3rem 1.5rem 0;
	color: var(--ink-mid);
	max-width: 72ch;
}
.faq__a.is-open { display: block; }

/* -------------------------------------------------------------- Breadcrumbs */

.crumbs { padding-block: 1.25rem 0; }
.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .8125rem;
	color: var(--ink-dim);
}
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a { color: var(--ink-dim); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-current] { color: var(--ink-mid); }

/* -------------------------------------------------------------------- Chips */

.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: .5rem 1.1rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	font-size: .875rem;
	color: var(--ink-mid);
	text-decoration: none;
	transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
a.chip:hover { border-color: var(--gold-dim); color: var(--gold); }
span.chip { min-height: 0; padding-block: .4rem; cursor: default; }

/* -------------------------------------------------------------------- Prose */

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.prose h3 { margin-top: 1.75em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.25em; color: var(--ink-mid); }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
	margin: 2em 0;
	padding-left: 1.5rem;
	border-left: 2px solid var(--gold);
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-style: italic;
	color: var(--ink);
}
.prose code {
	padding: .15em .4em;
	background: var(--raised);
	border: 1px solid var(--line);
	border-radius: 3px;
	font-family: var(--font-mono);
	font-size: .875em;
}
.prose img { border-radius: var(--radius); margin-block: 2em; }
.prose hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }
.prose a { text-decoration-thickness: 1px; }

/* --------------------------------------------------------------- Tick lists */

.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: .75rem;
	color: var(--ink-mid);
	break-inside: avoid;
}
.ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 8px;
	height: 5px;
	border-left: 1.5px solid var(--gold);
	border-bottom: 1.5px solid var(--gold);
	transform: rotate(-45deg);
}
.ticks strong { color: var(--ink); font-weight: 600; }

.ticks--2col { columns: 2; column-gap: 3rem; }
@media (max-width: 720px) { .ticks--2col { columns: 1; } }

/* --------------------------------------------------------------------- Form */

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .45rem; }

.field label {
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--ink-mid);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: .8rem .9rem;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	font-family: inherit;
	font-size: 1rem;
	transition: border-color var(--speed) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }

.field__error { font-size: .8125rem; color: var(--err); }

.form__hp { position: absolute; left: -9999px; opacity: 0; }

.form__status { font-size: .95rem; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-error { color: var(--err); }

/* ------------------------------------------------------------------ Founder */

.founder-photo {
	margin: 0;
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	aspect-ratio: 4 / 5;
}
.founder-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(.2) contrast(1.04) brightness(.92);
}
.founder-photo--small { aspect-ratio: 1; width: 96px; }

.founder-photo__monogram {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	color: var(--ink-dim);
}
.founder-photo__monogram em {
	font-family: var(--font-display);
	font-style: normal;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 560;
	letter-spacing: .06em;
	color: var(--ink-mid);
}
.founder-photo--small .founder-photo__monogram svg { display: none; }
.founder-photo--small .founder-photo__monogram em { font-size: 1.8rem; }

.founder-sig {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	display: flex;
	align-items: center;
	gap: 1rem;
}
.founder-sig strong { display: block; font-weight: 640; }
.founder-sig span { display: block; font-size: .85rem; color: var(--gold); }

/* ------------------------------------------------------------------- Author */

.author {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.author img { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; }
.author__name { font-weight: 620; }
.author__role { font-size: .875rem; color: var(--gold); }
.author p { margin-top: .6rem; font-size: .95rem; color: var(--ink-mid); }

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

.site-footer {
	margin-top: var(--section-y);
	padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
	background: var(--surface);
	border-top: 1px solid var(--line);
}

.footer__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__title {
	margin-bottom: 1rem;
	font-size: .72rem;
	font-weight: 640;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-dim);
}

.footer__grid ul { margin: 0; padding: 0; list-style: none; }
.footer__grid li { margin-bottom: .6rem; }
.footer__grid a { font-size: .9375rem; color: var(--ink-mid); text-decoration: none; }
.footer__grid a:hover { color: var(--gold); }

.footer__blurb { max-width: 38ch; font-size: .9375rem; color: var(--ink-mid); }

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: 1.75rem;
	border-top: 1px solid var(--line);
	font-size: .8125rem;
	color: var(--ink-dim);
}

/* ------------------------------------------------------------ Sticky mobile */

.sticky-cta {
	position: fixed;
	inset: auto 0 0;
	z-index: var(--z-sticky);
	display: none;
	gap: .5rem;
	padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; padding-block: .7rem; }

@media (max-width: 900px) {
	.sticky-cta { display: flex; }
	body { padding-bottom: 72px; }
}

/* ------------------------------------------------------------- Post listing */

.post-card__meta {
	display: flex;
	gap: .75rem;
	margin-bottom: .75rem;
	font-size: .8125rem;
	color: var(--ink-dim);
}

.post-card__thumb {
	margin: calc(-1 * clamp(1.5rem, 2.5vw, 2rem));
	margin-bottom: clamp(1.25rem, 2vw, 1.5rem);
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-bottom: 1px solid var(--line);
}
.post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(.28) saturate(.92) contrast(1.04) brightness(.88);
	transition: transform 400ms var(--ease);
}
a.card:hover .post-card__thumb img { transform: scale(1.03); }

.pagination { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding-inline: .75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink-mid);
	text-decoration: none;
	font-size: .9rem;
}
.pagination a.page-numbers:hover { border-color: var(--gold-dim); color: var(--gold); }
.pagination .page-numbers.current { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 600; }

/* ---------------------------------------------------------------- Logo wall */

/*
 * Client logos arrive in every colour and shape there is. Forcing all of them to
 * one white-ish weight is the whole trick: the eye then reads a set of marks
 * rather than a pile of mismatched brand assets. Same flat card as everywhere
 * else, no shadow, no lift.
 */
.logo-wall {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(.75rem, 1.5vw, 1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 560px)  { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 860px)  { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.logo-wall__cell {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 96px;
	padding: 1.25rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.logo-wall__cell img {
	width: auto;
	max-height: 44px;
	object-fit: contain;
	filter: brightness(0) invert(1) opacity(.62);
	transition: filter var(--speed) var(--ease);
}
.logo-wall__cell:hover img { filter: brightness(0) invert(1) opacity(.9); }

/* -------------------------------------------------------------- Tool cards */

/* Tool cards are not whole-card links, so the title carries its own link. */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--gold); }

/* -------------------------------------------------------------- Motion pref */

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