/* ==========================================================================
   Clicks Count — Every Click Counts
   Design tokens first. The art director's palette and fonts drop in here.
   ========================================================================== */

/* To self-host a display font, add @font-face here and set --font-display. */

:root {
	--bg: #ffffff;
	--surface: #ffffff;
	--surface-2: #efefef;
	--line: rgba(0, 0, 0, 0.12);
	--text: #0a0a0a;
	--muted: #5c5c5c;
	--accent: #e5d62d;          /* brand yellow: fills, bars, buttons, highlights */
	--accent-ink: #0a0a0a;      /* text on yellow */
	--accent-text: #0a0a0a;     /* yellow is too light for text on white, so text stays black... */
	--marker: var(--accent);    /* ...with a yellow highlighter behind key words */
	--device: #111111;
	--device-edge: #2b2b2b;

	--font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: var(--font-sans);
	--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 48px);
	--radius: 18px;
	--ease: cubic-bezier(0.2, 0.9, 0.1, 1);

	--stage-h: clamp(300px, 54vh, 520px);
	--label-h: 2.75rem;

	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #000000;
		--surface: #111111;
		--surface-2: #1c1c1c;
		--line: rgba(255, 255, 255, 0.12);
		--text: #ffffff;
		--muted: #a3a3a3;
		--accent-text: var(--accent); /* yellow reads well on black */
		--marker: transparent;
		--device: #050505;
		--device-edge: #333333;
	}
}

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

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent-text); box-shadow: 0 0 0 4px var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 100;
	background: var(--accent); color: var(--accent-ink); padding: 0.75rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 1rem;
}

.section-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; max-width: 16ch; }

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

.btn {
	display: inline-flex; align-items: center; gap: 0.6em;
	padding: 0.95em 1.5em;
	border-radius: 999px;
	border: 1px solid var(--accent);
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn--small { padding: 0.6em 1.1em; font-size: 0.9rem; }

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

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: transform 0.4s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 4.25rem; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: 1.1rem; }
.brand__mark { color: var(--accent-text); }

.pill {
	display: none; align-items: center; gap: 0.35rem;
	font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted);
	border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.75rem;
	font-variant-numeric: tabular-nums;
}
.pill__dot, .perf__dot {
	width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);
	animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Primary navigation: dropdowns on desktop, full-screen panel on small screens */
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: clamp(0.75rem, 1.6vw, 1.6rem); }
.site-nav__list a { text-decoration: none; font-weight: 650; font-size: 0.95rem; }
.site-nav__list > li { position: relative; }
.site-nav__list > li > a { display: inline-flex; align-items: center; gap: 0.35rem; padding-block: 1.1rem; }
.site-nav__list > .menu-item-has-children > a::after {
	content: ""; width: 0.42em; height: 0.42em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-0.15em) rotate(45deg); transition: transform 0.3s var(--ease); opacity: 0.6;
}
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list .current-menu-ancestor > a { color: var(--accent-text); }
.site-nav__list .current-menu-item > a, .site-nav__list .current-menu-ancestor > a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.45em; }
.site-nav__list .cc-cta > a {
	background: var(--accent); color: var(--accent-ink); padding: 0.65em 1.15em; border-radius: 999px; text-decoration: none;
	transition: transform 0.3s var(--ease);
}
.site-nav__list .cc-cta > a:hover { color: var(--accent-ink); transform: translateY(-2px); }

.site-nav .sub-menu {
	position: absolute; top: 100%; left: -1.25rem; min-width: 280px; padding: 0.75rem;
	background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
	box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.35);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.site-nav .sub-menu:has(> li:nth-child(7)) { display: grid; grid-template-columns: 1fr 1fr; min-width: 520px; column-gap: 0.25rem; }
.site-nav .sub-menu a { display: block; padding: 0.6rem 0.75rem; border-radius: 10px; font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { background: var(--surface-2); color: var(--text); text-decoration: none; }
.site-nav .sub-menu .current-menu-item > a { box-shadow: inset 3px 0 0 var(--accent); }
.site-nav__list > li:hover > .sub-menu, .site-nav__list > li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.3s var(--ease);
}
.site-nav__list > li:hover > a::after, .site-nav__list > li:focus-within > a::after { transform: translateY(0.05em) rotate(225deg); }

.nav-toggle { display: none; }

@media (max-width: 1099px) {
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 0.6rem; margin-left: auto; position: relative; z-index: 2;
		background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 0.9rem; color: var(--text);
		font: 650 0.9rem var(--font-sans); cursor: pointer;
	}
	.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
	.nav-toggle__bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
	.nav-open .nav-toggle__bars i:first-child { transform: translateY(3px) rotate(45deg); }
	.nav-open .nav-toggle__bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

	.site-nav {
		position: fixed; inset: 0; z-index: 1; margin: 0; overflow-y: auto; overscroll-behavior: contain;
		background: var(--bg); padding: 5.5rem var(--gutter) 3rem;
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0s linear 0.35s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.35s var(--ease); }
	.nav-open { overflow: hidden; }
	.brand { position: relative; z-index: 2; }
	.nav-open .site-header { transform: none; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list > li { border-bottom: 1px solid var(--line); }
	.site-nav__list > li > a { padding-block: 1rem; font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 800; letter-spacing: -0.03em; }
	.site-nav__list > .menu-item-has-children > a::after { display: none; }
	.site-nav .sub-menu, .site-nav .sub-menu:has(> li:nth-child(7)) {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0;
		display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); padding: 0 0 1rem; background: none;
	}
	.site-nav .sub-menu a { padding: 0.5rem 0; color: var(--muted); font-size: 1rem; }
	.site-nav__list .cc-cta { border: 0; margin-top: 1.5rem; }
	.site-nav__list .cc-cta > a { font-size: 1.1rem; justify-content: center; display: flex; padding: 1rem; }
}

@media (min-width: 760px) { .pill { display: inline-flex; } }

/* --------------------------------------------------------------------------
   Hero + counter
   -------------------------------------------------------------------------- */

.hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem); }

.hero__title {
	font-size: clamp(2.6rem, 6vw, 5.5rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.92;
	max-width: 20ch;
}
.hero__title em { display: block; font-style: normal; color: var(--accent-text); }
.hero__title em { width: fit-content; background-image: linear-gradient(var(--marker), var(--marker)); padding-inline: 0.06em; margin-inline: -0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.hero__lede { max-width: 60ch; color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); margin-top: 1.25rem; }

.counter { margin-top: clamp(1.75rem, 4vw, 2.5rem); border-top: 1px solid var(--line); padding-top: 1.25rem; }
.counter__label { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.odometer {
	font-family: var(--font-display);
	font-size: clamp(3.75rem, 15vw, 12rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	display: flex;
	margin-block: 0.15em 0.25em;
	height: 1em;
	overflow: hidden;
}
.odometer__digit { display: inline-block; height: 1em; overflow: hidden; padding-right: 0.06em; margin-right: -0.02em; }
.odometer__reel { display: flex; flex-direction: column; transition: transform 1.1s var(--ease); will-change: transform; }
.odometer__reel span { display: block; height: 1em; line-height: 1; }
.odometer__sep { display: inline-block; width: 0.25em; }
.odometer.is-bump { color: var(--accent-text); transition: color 0.2s; }

.pledge { max-width: 760px; }
.pledge__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 0.85rem; }
.pledge__raised strong { font-size: 1.35em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.pledge__next { color: var(--muted); font-variant-numeric: tabular-nums; }

.pledge__bar { position: relative; height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.pledge__fill {
	position: absolute; inset: 0 auto 0 0; width: var(--p, 0%);
	background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 75%, #ffffff), var(--accent));
	border-radius: inherit;
	transition: width 1.2s var(--ease);
}
.pledge__tick { position: absolute; top: 2px; bottom: 2px; left: var(--at); width: 2px; background: var(--bg); opacity: 0.7; }

.counter__add { margin-top: 1.75rem; }

/* Floating +1 on every counted click */
.cc-burst {
	position: fixed; z-index: 200; pointer-events: none;
	font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--accent-ink);
	background: var(--accent); padding: 0.15em 0.5em; border-radius: 999px;
	transform: translate(-50%, -50%);
	animation: burst 0.9s var(--ease) forwards;
}
@keyframes burst { to { transform: translate(-50%, -260%) scale(1.3); opacity: 0; } }

/* --------------------------------------------------------------------------
   Proof strip
   -------------------------------------------------------------------------- */

.proof { padding-block: 2rem 4rem; }
.proof__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.proof__list strong { display: block; font-family: var(--font-display); font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.proof__list span { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 900px) { .proof__list { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------------
   Journey strip
   -------------------------------------------------------------------------- */

.work { padding-block: clamp(3rem, 8vw, 6rem); }
.work__head { margin-bottom: 1rem; }
.work__more { margin-top: 2rem; }

.strip { position: relative; padding-block: clamp(2rem, 5vw, 3.5rem); }
.strip + .strip { border-top: 1px solid var(--line); }

.strip__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.strip__head .eyebrow { width: 100%; margin-bottom: 0; }
.strip__title { font-size: clamp(1.9rem, 4.2vw, 3.5rem); font-weight: 800; }
.strip__title a { text-decoration: none; }
.strip__title a:hover { color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.12em; }
.strip__visit { font-weight: 600; text-decoration: none; color: var(--accent-text); }
.strip__demo-note { width: 100%; font-size: 0.85rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; padding: 0.5rem 0.75rem; }

/* Default (mobile, reduced motion, no JS): native swipe with snap */
.strip__viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.strip__viewport::-webkit-scrollbar { display: none; }

.strip__track {
	display: flex;
	align-items: flex-start;
	width: max-content;
	padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2);
	padding-block: 1rem 2rem;
}

/* Desktop: GSAP pins the strip and drives the track sideways */
.strip.is-pinned .strip__viewport { overflow: visible; scroll-snap-type: none; }
.strip.is-pinned .strip__track { will-change: transform; }

.strip__stop { position: relative; flex: none; scroll-snap-align: center; }

.strip__arrow {
	flex: none;
	align-self: flex-start;
	margin-top: calc(var(--label-h) + var(--stage-h) / 2 - 12px);
	margin-inline: clamp(0.5rem, 2vw, 1.5rem);
	color: var(--accent-text);
	width: clamp(36px, 5vw, 64px);
}

.strip__cutout {
	position: absolute; z-index: 4; pointer-events: none;
	left: -14%; bottom: 6%; width: 58%; height: auto;
	filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.35));
}

.strip__progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 0.5rem; }
.strip__progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* Chapter: label row on top (chevron bar), fixed-height stage below */
.chapter { margin: 0; display: grid; grid-template-rows: var(--label-h) var(--stage-h) auto; }

.chapter__label {
	display: flex; align-items: center; gap: 0.6rem;
	font-weight: 800; font-style: italic; text-transform: uppercase;
	font-size: clamp(0.72rem, 0.68rem + 0.2vw, 0.85rem); letter-spacing: 0.06em;
	white-space: nowrap;
}
.chapter__label::after { content: "\203A"; color: var(--accent-text); font-size: 1.6em; font-style: normal; line-height: 1; margin-left: 0.15rem; }
.chapter__num { font-family: var(--font-mono); font-style: normal; color: var(--accent-text); font-weight: 600; }

.chapter__body { display: flex; align-items: center; justify-content: center; height: var(--stage-h); }
.chapter__caption { margin-top: 1rem; max-width: 30ch; color: var(--muted); font-size: 0.92rem; }

/* --- Devices (pure CSS, sized from the stage height) --- */

.device { position: relative; }
.device__screen { position: relative; overflow: hidden; background: #000; }
.screen__media { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.device--laptop { width: calc(var(--stage-h) * 1.45); }
.device--laptop .device__screen {
	aspect-ratio: 16 / 10;
	border: calc(var(--stage-h) * 0.022) solid var(--device);
	border-radius: 14px 14px 4px 4px;
	box-shadow: 0 0 0 1px var(--device-edge), 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.device--laptop .device__base {
	position: relative; height: calc(var(--stage-h) * 0.035);
	width: 114%; margin-left: -7%;
	background: linear-gradient(#d8d8dd, #9c9ca3);
	border-radius: 2px 2px 14px 14px;
}
.device--laptop .device__base::before {
	content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
	width: 16%; height: 40%; background: rgba(0, 0, 0, 0.18); border-radius: 0 0 8px 8px;
}

.device--phone .device__screen {
	height: calc(var(--stage-h) * 0.94);
	aspect-ratio: 9 / 19.5;
	border: calc(var(--stage-h) * 0.018) solid var(--device);
	border-radius: calc(var(--stage-h) * 0.075);
	box-shadow: 0 0 0 1px var(--device-edge), 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.device__island {
	position: absolute; top: calc(var(--stage-h) * 0.035); left: 50%; transform: translateX(-50%);
	width: 30%; height: calc(var(--stage-h) * 0.03); border-radius: 999px; background: var(--device); z-index: 2;
}

.device--tablet .device__screen {
	height: calc(var(--stage-h) * 0.72);
	aspect-ratio: 4 / 3;
	border: calc(var(--stage-h) * 0.024) solid var(--device);
	border-radius: calc(var(--stage-h) * 0.045);
	box-shadow: 0 0 0 1px var(--device-edge), 0 30px 60px -20px rgba(0, 0, 0, 0.5);
	transform: rotate(-3deg);
}

.device--tv { width: calc(var(--stage-h) * 1.55); }
.device--tv .device__screen {
	aspect-ratio: 16 / 9;
	border: 6px solid var(--device);
	border-radius: 6px;
	box-shadow: 0 0 0 1px var(--device-edge), 0 40px 70px -25px rgba(0, 0, 0, 0.55);
}
.device__stand { width: 22%; height: calc(var(--stage-h) * 0.05); margin: 0 auto; background: linear-gradient(var(--device-edge), var(--device)); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }

.device--photo {
	height: calc(var(--stage-h) * 0.9);
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
	transform: rotate(-2deg);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}

/* Placeholder "website" until real media is added */
.screen__placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: flex-end; padding: 8%;
	background:
		linear-gradient(var(--line), var(--line)) 8% 7% / 30% 3% no-repeat,
		linear-gradient(color-mix(in srgb, var(--accent) 80%, transparent), color-mix(in srgb, var(--accent) 80%, transparent)) 8% 22% / 55% 9% no-repeat,
		linear-gradient(var(--line), var(--line)) 8% 36% / 70% 2.5% no-repeat,
		linear-gradient(var(--line), var(--line)) 8% 42% / 60% 2.5% no-repeat,
		radial-gradient(120% 90% at 85% 100%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%),
		var(--surface);
}
.screen__placeholder span {
	font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.screen__placeholder--photo { background: radial-gradient(90% 70% at 30% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%), linear-gradient(160deg, #2a2a2a, #050505); }
.screen__placeholder--photo span { color: rgba(255, 255, 255, 0.8); }

/* --- Cards --- */

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 6px);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	width: clamp(260px, calc(var(--stage-h) * 0.72), 380px);
	margin: 0;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
}
.card__stat { background-image: linear-gradient(transparent 62%, var(--marker) 62%, var(--marker) 92%, transparent 92%); display: inline; font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.card__stat-label { margin-top: 0.75rem; color: var(--muted); }
.card__quote { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.card__author { margin-top: 1rem; color: var(--muted); font-size: 0.9rem; }

.stars { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.stars__num { font-weight: 800; font-variant-numeric: tabular-nums; }
.stars__row {
	letter-spacing: 0.12em;
	background: linear-gradient(90deg, var(--accent) var(--r), var(--line) var(--r));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --------------------------------------------------------------------------
   Services, pages, case study
   -------------------------------------------------------------------------- */

.services { padding-block: clamp(3rem, 8vw, 6rem); }
.services__list { counter-reset: svc; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem; }
.services__list li { counter-increment: svc; background: var(--bg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.services__list li::before { content: counter(svc, decimal-leading-zero); font-family: var(--font-mono); color: var(--accent-text); font-size: 0.85rem; }
.services__list h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0.75rem 0 0.5rem; font-weight: 800; }
.services__list p { color: var(--muted); max-width: 40ch; }
@media (min-width: 760px) { .services__list { grid-template-columns: 1fr 1fr; } }

.page { padding-block: clamp(3rem, 8vw, 6rem); }
.page-head { padding-block: clamp(3rem, 7vw, 5rem) 1rem; }
.page-title { font-size: clamp(2.4rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -0.045em; max-width: 16ch; }
.prose { max-width: 68ch; margin-top: 2rem; }
.prose > * + * { margin-top: 1.1em; }
.prose a { color: var(--accent-text); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.filters a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.9rem; }
.filters a[aria-current], .filters a:hover { border-color: var(--accent); color: var(--accent-text); }

.case__body { padding-block: 2rem 5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem; }
.case__story { display: grid; gap: 2.5rem; margin-top: 3rem; }
.case__story h2 { font-size: 0.85rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-text); margin-bottom: 0.75rem; }
.case__story p { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); line-height: 1.4; max-width: 34ch; }
@media (min-width: 900px) { .case__story { grid-template-columns: repeat(3, 1fr); } }

.next-case { display: block; margin-top: 5rem; padding-top: 2rem; border-top: 1px solid var(--line); text-decoration: none; }
.next-case__title { display: block; font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.04em; }
.next-case:hover .next-case__title { color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.1em; }

.post-list li { border-top: 1px solid var(--line); }
.post-list a { display: flex; gap: 2rem; padding: 1.25rem 0; text-decoration: none; }
.post-list__date { color: var(--muted); min-width: 9rem; font-variant-numeric: tabular-nums; }
.post-list__title { font-weight: 700; }

.notfound__code { font-size: clamp(6rem, 24vw, 18rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; color: var(--accent-text); }
.notfound .btn { margin-top: 2rem; }

.pagination { margin-top: 2rem; }

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

.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 8vw, 6rem) 2rem; }
.site-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-footer__big { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; max-width: 12ch; }
.site-footer__nav ul, ul.site-footer__nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 3rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 2rem; margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.site-footer__h { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.site-footer__list li + li { margin-top: 0.5rem; }
.site-footer__list a { text-decoration: none; font-weight: 600; }
.site-footer__list a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.site-footer__list span { color: var(--muted); font-size: 0.9em; }
.site-footer__nav a { text-decoration: none; color: var(--muted); }
.site-footer__nav a:hover { color: var(--accent-text); }

.perf .perf__dot { display: inline-block; margin-right: 0.4rem; vertical-align: middle; }
.perf { margin-top: 3rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.perf strong { color: var(--text); font-variant-numeric: tabular-nums; }
.site-footer__meta { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Full portfolio wall: dark band, bento grid, one card per live site
   -------------------------------------------------------------------------- */

.wall {
	--accent-text: var(--accent);
	--marker: transparent;
	--alu: linear-gradient(180deg, #e9e9ee 0%, #b9b9c1 55%, #8d8d96 100%);
	--bezel: #0b0b0d;
	--row: clamp(300px, 25vw, 380px);
	position: relative;
	color: #ffffff;
	background:
		radial-gradient(60% 40% at 15% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
		radial-gradient(50% 40% at 100% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
		#000000;
	padding-block: clamp(3.5rem, 8vw, 6.5rem);
	margin-top: clamp(2rem, 5vw, 4rem);
	overflow: hidden;
}
.wall::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wall .wrap { position: relative; }

.wall__eyebrow { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.wall__title { font-size: clamp(1.8rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 0.75rem; max-width: 22ch; }
.wall__title [data-wall-count] { color: var(--accent-text); font-variant-numeric: tabular-nums; }

.wall__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.wall__chip {
	cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: #ffffff;
	border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.88rem; font-weight: 600;
	transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.wall__chip:hover { border-color: var(--accent); color: var(--accent-text); }
.wall__chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Bento grid: 12 columns, a big card every sixth tile, alternating sides */
.wall__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: var(--row);
	grid-auto-flow: row dense;
	gap: clamp(0.75rem, 1.4vw, 1.25rem);
	margin-top: clamp(2rem, 4vw, 3rem);
}
.wall__tile { grid-column: span 4; min-width: 0; }
.wall__tile.is-xl { grid-column: span 8; grid-row: span 2; }
.wall__tile.is-xl-a { grid-column: 1 / span 8; }
.wall__tile.is-xl-b { grid-column: 5 / span 8; }
.wall__tile[hidden] { display: none; }

/* The card */
.wall__link {
	--rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
	position: relative; isolation: isolate;
	display: flex; flex-direction: column;
	height: 100%; padding: clamp(0.9rem, 1.6vw, 1.4rem);
	border-radius: 22px; overflow: hidden;
	text-decoration: none; color: inherit;
	background: linear-gradient(160deg, #141417, #08080a 70%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
	transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform 0.5s var(--ease), box-shadow 0.4s;
	will-change: transform;
}
.wall__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Ambient light: the site's own colours, blurred behind its device */
.wall__ambient {
	position: absolute; z-index: -2; left: 15%; top: 20%; width: 70%; height: 60%;
	object-fit: cover; filter: blur(48px) saturate(1.7); opacity: 0.28;
	transform: scale(1.1); transition: opacity 0.6s, transform 0.8s var(--ease);
	pointer-events: none;
}
.wall__spot {
	position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.4s;
	background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
}

.wall__label {
	position: relative; display: flex; align-items: center; gap: 0.4rem; min-width: 0; padding-right: 7rem;
	font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem;
}
.is-xl .wall__label { font-size: clamp(0.9rem, 1.3vw, 1.15rem); }
.wall__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall__chev { color: var(--accent-text); font-style: normal; font-size: 1.5em; line-height: 1; transition: transform 0.3s var(--ease); }

.wall__go {
	position: absolute; top: clamp(0.75rem, 1.4vw, 1.2rem); right: clamp(0.75rem, 1.4vw, 1.2rem); z-index: 3;
	background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 0.75rem;
	padding: 0.4rem 0.75rem; border-radius: 999px;
	opacity: 0; transform: translateY(-8px); transition: opacity 0.3s, transform 0.4s var(--ease);
}

.wall__stage {
	position: relative; flex: 1; min-height: 0;
	display: grid; place-items: center;
	container-type: size;
}
.wall__rig {
	position: relative; display: grid; place-items: center;
	width: 100%; height: 100%;
	transition: transform 0.8s var(--ease);
	transform-style: preserve-3d;
}
.is-xl .wall__rig { transform: perspective(1600px) rotateX(9deg) rotateY(-14deg) rotateZ(1.5deg) scale(0.94); }
.is-xl-b .wall__rig { transform: perspective(1600px) rotateX(9deg) rotateY(14deg) rotateZ(-1.5deg) scale(0.94); }

/* Frames, sized from the stage with container units */
.wall .frame { position: relative; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.wall .frame__screen { position: relative; display: block; overflow: hidden; background: #15151b; }
.wall .frame__media {
	display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
	opacity: 0; transform-origin: 50% 0;
	transition: opacity 0.5s, transform 1.4s var(--ease);
}
.wall .frame__media.is-loaded, .wall .frame--mini .frame__media { opacity: 1; }
.wall .frame__media.is-failed { display: none; }

/* Laptop */
.wall .frame--laptop { width: min(80cqw, 112cqh); }
.wall .frame--laptop .frame__screen {
	aspect-ratio: 16 / 10; border: max(5px, 1.6cqw) solid var(--bezel); border-bottom-width: max(7px, 2.2cqw);
	border-radius: max(8px, 2cqw) max(8px, 2cqw) 2px 2px;
	box-shadow: 0 0 0 1px #3a3a42;
}
.wall .frame--laptop .frame__screen::before {
	content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;
	width: 12%; height: max(4px, 1.1cqw); background: var(--bezel); border-radius: 0 0 6px 6px;
}
.wall .frame__base {
	display: block; position: relative; height: max(7px, 2.2cqw); width: 118%; margin-left: -9%;
	background: var(--alu); border-radius: 1px 1px 40% 40% / 1px 1px 100% 100%;
}
.wall .frame__base::before {
	content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
	width: 15%; height: 45%; background: rgba(0, 0, 0, 0.22); border-radius: 0 0 8px 8px;
}

/* Browser window */
.wall .frame--browser { width: min(84cqw, 118cqh); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.wall .frame__bar {
	display: flex; align-items: center; gap: 5px; height: max(20px, 5.5cqw); padding-inline: 2.5cqw;
	background: #1d1d22; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wall .frame__bar i { width: max(6px, 1.5cqw); height: max(6px, 1.5cqw); border-radius: 50%; background: #3a3a42; }
.wall .frame__bar i:first-child { background: var(--accent); }
.wall .frame__url {
	flex: 1; margin-left: 2cqw; margin-right: 6cqw; height: 58%; border-radius: 999px; background: #0e0e11;
	display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: max(9px, 1.9cqw); color: #8b8b95;
	white-space: nowrap; overflow: hidden;
}
.wall .frame--browser .frame__screen { aspect-ratio: 16 / 10; }

/* Desktop monitor */
.wall .frame--desktop { width: min(70cqw, 92cqh); }
.wall .frame--desktop .frame__screen {
	aspect-ratio: 16 / 10; border: max(5px, 1.2cqw) solid #d9d9df; border-bottom-width: max(14px, 4.5cqw);
	border-radius: max(8px, 1.6cqw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.wall .frame__neck { display: block; width: 16%; height: max(14px, 6cqh); margin: 0 auto; background: linear-gradient(90deg, #8d8d96, #cfcfd6 50%, #8d8d96); }
.wall .frame__foot { display: block; width: 34%; height: max(4px, 1.2cqh); margin: 0 auto; background: var(--alu); border-radius: 4px 4px 2px 2px; }

/* Tablet (landscape) */
.wall .frame--tablet { width: min(70cqw, 98cqh); transform: rotate(-3deg); }
.wall .frame--tablet .frame__screen {
	aspect-ratio: 4 / 3; border: max(6px, 2cqw) solid var(--bezel); border-radius: max(12px, 3.4cqw);
	box-shadow: 0 0 0 1px #3a3a42, 0 0 0 max(2px, 0.5cqw) #26262c;
}

/* Phone */
.wall .frame--phone { height: 88cqh; }
.wall .frame--phone .frame__screen {
	height: 100%; aspect-ratio: 9 / 19.5; border: max(5px, 1.6cqh) solid var(--bezel); border-radius: 7cqh;
	box-shadow: 0 0 0 1px #3a3a42;
}
.wall .frame__island { position: absolute; z-index: 1; top: 2.5cqh; left: 50%; transform: translateX(-50%); width: 32%; height: 3cqh; border-radius: 999px; background: var(--bezel); }

/* Big cards: bigger single devices */
.is-xl .frame--tablet { width: min(78cqw, 104cqh); }
.is-xl .frame--phone { height: 92cqh; }

/* Second device on the big cards only */
.wall .frame--mini { display: none; }
.is-xl .frame--mini {
	display: block; position: absolute; right: 4%; bottom: 6%; width: min(26cqw, 40cqh);
	transform: translateZ(60px) rotate(4deg); transition: transform 0.8s var(--ease);
}
.is-xl-b .frame--mini { right: auto; left: 4%; transform: translateZ(60px) rotate(-4deg); }
.is-xl .frame--mini .frame__screen {
	aspect-ratio: 3 / 4; border: max(5px, 1.2cqw) solid var(--bezel); border-radius: max(10px, 2cqw);
	box-shadow: 0 0 0 1px #3a3a42;
}
.is-xl .frame--mini .frame__media { object-position: left top; }

.wall__badge {
	position: absolute; right: 4%; bottom: 6%; z-index: 2;
	background: var(--accent); color: var(--accent-ink);
	font-weight: 800; font-size: 0.75rem; padding: 0.3rem 0.6rem; border-radius: 6px; transform: rotate(-4deg);
	box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.6);
}
.is-xl .wall__badge { right: auto; left: 4%; font-size: 0.9rem; }
.is-xl-b .wall__badge { left: auto; right: 4%; }

.wall__meta { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.82rem; }
.wall__industry { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; color: #9a9aa3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall__visit { color: #9a9aa3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.25s; }

/* Hover / focus: the card tilts toward the cursor, the device straightens and the site zooms in */
.wall__link:hover, .wall__link:focus-visible { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.wall__link:hover .wall__ambient, .wall__link:focus-visible .wall__ambient { opacity: 0.55; transform: scale(1.3); }
.wall__link:hover .wall__spot { opacity: 1; }
.wall__link:hover .wall__go, .wall__link:focus-visible .wall__go { opacity: 1; transform: none; }
.wall__link:hover .wall__chev, .wall__link:focus-visible .wall__chev { transform: translateX(4px); }
.wall__link:hover .wall__visit, .wall__link:focus-visible .wall__visit { color: var(--accent-text); }
.wall__link:hover .wall__rig, .wall__link:focus-visible .wall__rig { transform: translateY(-2%) scale(1.04); }
.wall__link:hover .frame__media, .wall__link:focus-visible .frame__media { transform: scale(1.16); }
.wall__link:hover .frame--tablet { transform: rotate(0deg); }
.is-xl .wall__link:hover .frame--mini { transform: translateZ(60px) rotate(0deg) translateY(-6%); }

@media (prefers-reduced-motion: reduce) {
	.wall__link, .wall__rig, .wall .frame__media, .wall__ambient { transition: none; }
	.wall__link { transform: none; }
}

/* Entrance: cards rise in as they reach the screen */
@media (prefers-reduced-motion: no-preference) {
	.js .wall__tile { opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
	.js .wall__tile.is-in { opacity: 1; transform: none; }
}

.wall__empty { margin-top: 2rem; color: #a3a3a3; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 1000px) {
	.wall { --row: clamp(240px, 34vw, 320px); }
	.wall__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.wall__tile { grid-column: span 3; }
	.wall__tile.is-xl, .wall__tile.is-xl-a, .wall__tile.is-xl-b { grid-column: span 6; grid-row: span 2; }
}
@media (max-width: 600px) {
	.wall__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.wall__filters::-webkit-scrollbar { display: none; }
	.wall__chip { flex: none; }
	.wall__grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
	.wall__tile { grid-column: span 1; }
	.wall__tile.is-xl, .wall__tile.is-xl-a, .wall__tile.is-xl-b { grid-column: span 2; grid-row: span 2; }
	.wall { --row: 170px; }
	.wall__link { padding: 0.7rem; border-radius: 16px; }
	.wall__label { font-size: 0.66rem; padding-right: 0; }
	.wall__go { display: none; }
	.wall__meta { flex-direction: column; gap: 0.1rem; }
	.wall__industry { font-size: 0.6rem; }
	.wall__visit { font-size: 0.68rem; }
	.wall__badge { font-size: 0.6rem; padding: 0.2rem 0.4rem; }
}

/* --------------------------------------------------------------------------
   Motion (only when JavaScript is running and motion is welcome)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }

	.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
	.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--n) * 55ms); }
	.js [data-split].is-in .w > span { transform: none; }
	.js .hero__title em { background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 0.8s var(--ease) 0.7s; }
	.js .hero__title.is-in em { background-size: 100% 100%; }
}

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

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 899px) {
	:root { --stage-h: clamp(260px, 62vw, 360px); --label-h: 2.5rem; }
	.strip__arrow { display: none; }
	.strip__stop { margin-right: 1.25rem; }
	.strip__cutout { width: 45%; left: -6%; }
}

/* A case study dropped into a page with [case_study]: break out of the text column to full width */
.case-embed { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-block: clamp(3rem, 7vw, 6rem); }
.prose .case-embed a { color: inherit; }
.prose > .case-embed + * { margin-top: 0; }

/* ==========================================================================
   Imported page content (services, industries, about, blog): clean, editorial
   ========================================================================== */

.content--built { padding-bottom: clamp(3rem, 8vw, 6rem); }
.content--built > :not(.cc-sec):not(.case-embed) { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

.cc-sec {
	width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto;
	padding-block: clamp(2.5rem, 6vw, 5rem);
	border-top: 1px solid var(--line);
}
.cc-sec:first-child { border-top: 0; }
.cc-sec > * + *, .cc-col > * + *, .cc-blurb > * + * { margin-top: 1rem; }

.cc-sec h1 { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; max-width: 15ch; text-transform: none; }
.cc-sec h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; max-width: 22ch; }
.cc-sec h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; }
.cc-sec h4, .cc-sec h5 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.cc-sec h1 + p, .cc-sec h2 + p { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); color: var(--muted); max-width: 52ch; }
.cc-sec p, .cc-sec li { max-width: 70ch; }
.cc-sec ul, .cc-sec ol { padding-left: 1.2em; }
.cc-sec ul { list-style: disc; }
.cc-sec ol { list-style: decimal; }
.cc-price ul, .cc-posts__list { list-style: none; }
.cc-sec li + li { margin-top: 0.4em; }
.cc-sec li::marker { color: var(--accent-text); }
.cc-sec a:not(.btn) { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.cc-sec a:not(.btn):hover { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.cc-sec strong { font-weight: 750; }

/* First section with a background photo becomes the page hero */
.cc-sec--hero {
	position: relative; isolation: isolate; width: 100%; max-width: none; border: 0;
	min-height: min(72vh, 680px); display: grid; align-content: end;
	padding: clamp(6rem, 14vw, 10rem) max(var(--gutter), (100% - var(--wrap)) / 2) clamp(2.5rem, 6vw, 4.5rem);
	color: #ffffff; background: #000 var(--bg-img) center / cover no-repeat;
}
.cc-sec--hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.78)); }
.cc-sec--hero h1 + p, .cc-sec--hero p { color: rgba(255, 255, 255, 0.85); }

.cc-cols { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); align-items: start; }
.cc-cols--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.cc-sec > .cc-cols + .cc-cols { margin-top: clamp(1.25rem, 3vw, 2.5rem); }

.cc-img img { width: 100%; height: auto; border-radius: 14px; }
.cc-img + .cc-img { margin-top: 1rem; }

.cc-blurb {
	padding: clamp(1.25rem, 2.4vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--surface); transition: border-color 0.3s, transform 0.4s var(--ease);
}
.cc-blurb:hover { border-color: var(--accent); transform: translateY(-3px); }
.cc-blurb img { width: auto; max-height: 64px; }
.cc-blurb h3 a { text-decoration: none; }

hr.cc-rule { border: 0; width: 56px; height: 6px; border-radius: 3px; background: var(--accent); margin: 0; }

.cc-btn { margin-top: 1.75rem; }

/* FAQs: native details/summary, readable by Google, no script needed */
.cc-faq { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.cc-q { border-bottom: 1px solid var(--line); }
.cc-q summary {
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
	padding: 1.15rem 0; font-weight: 700; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
}
.cc-q summary::-webkit-details-marker { display: none; }
.cc-q summary::after {
	content: "+"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
	background: var(--surface-2); font-weight: 600; transition: transform 0.3s var(--ease), background-color 0.3s;
}
.cc-q[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.cc-q > :not(summary) { padding-bottom: 1.25rem; color: var(--muted); max-width: 70ch; }
.cc-q > :not(summary) + :not(summary) { margin-top: 0.75rem; }

.cc-quote {
	margin: 0; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); background: var(--surface-2);
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem); line-height: 1.45; position: relative;
}
.cc-quote::before { content: "\201C"; position: absolute; top: -0.2em; left: 0.35em; font-size: 4.5em; line-height: 1; color: var(--accent); font-weight: 800; }
.cc-quote cite { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; font-style: normal; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.cc-quote cite img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

.cc-prices { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 1.5rem; }
.cc-price { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 0.75rem; }
.cc-price__amt { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; }
.cc-price__amt span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.cc-price ul { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
.cc-price li { padding: 0.45rem 0 0.45rem 1.6rem; border-top: 1px solid var(--line); position: relative; }
.cc-price li.is-on::before { content: "\2713"; position: absolute; left: 0; font-weight: 800; color: var(--accent-text); }
.cc-price li.is-off { color: var(--muted); text-decoration: line-through; }
.cc-price .btn { margin-top: auto; align-self: start; }

.cc-embed iframe { max-width: 100%; border: 0; border-radius: 14px; }

/* Enquiry form */
.cc-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem 1.25rem; max-width: 760px; margin-top: 1.5rem; }
.cc-contact__wide, .cc-contact__ok { grid-column: 1 / -1; }
.cc-contact__trap { position: absolute; left: -9999px; }
.cc-contact label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.4rem; }
.cc-contact input, .cc-contact textarea {
	width: 100%; font: inherit; color: var(--text); background: var(--surface);
	border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.cc-contact input:focus, .cc-contact textarea:focus { outline: 0; border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 55%, transparent); }
.cc-contact__ok { padding: 1rem 1.25rem; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }

/* Latest posts grid */
.cc-posts__list { list-style: none; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.cc-posts__list a { display: block; text-decoration: none; }
.cc-posts__list img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; transition: transform 0.6s var(--ease); }
.cc-posts__list a:hover img { transform: scale(1.03); }
.cc-posts__title { display: block; margin-top: 0.85rem; font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; }
.cc-sec--bg {
	width: 100%; max-width: none; border: 0; position: relative; isolation: isolate; color: #fff;
	padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
	background: #000 var(--bg-img) center / cover no-repeat;
}
.cc-sec--bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.62); }
.cc-sec--hero .cc-blurb, .cc-sec--bg .cc-blurb { background: rgba(0, 0, 0, 0.35); border-color: rgba(255, 255, 255, 0.2); }

/* ==========================================================================
   Re-composed pages: hero, reading rail, enquiry band
   ========================================================================== */

.doc-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: clamp(420px, 62vh, 640px); display: grid; align-items: end;
	padding-block: clamp(6rem, 12vw, 9rem) clamp(2.5rem, 6vw, 4.5rem);
	background: #000; color: #fff;
}
.doc-hero:not(.doc-hero--photo)::after {
	/* the brand's cursor, oversized, when a page has no photo yet */
	content: ""; position: absolute; z-index: -1; right: -4vw; top: 50%; width: min(46vw, 560px); aspect-ratio: 1;
	transform: translateY(-46%) rotate(-8deg);
	background: var(--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 1.6L9.8 19z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 1.6L9.8 19z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.doc-hero--photo { min-height: clamp(480px, 78vh, 820px); }
.doc-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.doc-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.82)); }
.doc-hero__inner { position: relative; }
.doc-hero__crumb a { color: rgba(255, 255, 255, 0.78); text-decoration-color: var(--accent); text-decoration-thickness: 2px; font-weight: 600; }
.doc-hero__crumb + .doc-hero__title { margin-top: 1rem; }
.doc-hero__title {
	font-size: clamp(2.8rem, 8vw, 7.25rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.92;
	max-width: 13ch; text-wrap: balance;
}
.doc-hero__lede { margin-top: 1.5rem; max-width: 46ch; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.doc-hero__ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.doc-hero__call { color: #fff; font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: no-preference) {
	.doc-hero__img { animation: settle 1.8s var(--ease) both; }
	@keyframes settle { from { transform: scale(1.08); filter: saturate(0.6) brightness(0.8); } }
}

/* Body: a reading column, with the rail beside it on wide screens */
.doc-body { padding-block: clamp(3rem, 7vw, 6rem); }
.doc-body--rail { display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.doc-main { max-width: 740px; min-width: 0; }
.doc-body:not(.doc-body--rail) .doc-main { margin-inline: auto; }

.doc-rail { position: sticky; top: 6rem; display: grid; grid-template-columns: 3px 1fr; gap: 0 1.1rem; }
.doc-rail__h { grid-column: 2; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.75rem; }
.doc-rail ol { grid-column: 2; grid-row: 2; display: grid; gap: 0.15rem; }
.doc-rail a { display: block; padding: 0.35rem 0; text-decoration: none; color: var(--muted); font-size: 0.9rem; line-height: 1.3; transition: color 0.2s; }
.doc-rail a:hover, .doc-rail a.is-current { color: var(--text); }
.doc-rail a.is-current { font-weight: 700; }
.doc-rail__bar { grid-column: 1; grid-row: 1 / span 2; background: var(--line); border-radius: 3px; overflow: hidden; }
.doc-rail__bar span { display: block; width: 100%; height: calc(var(--read, 0) * 100%); background: var(--accent); border-radius: 3px; }

/* Content inside the reading column: sections just flow */
.doc-main .cc-sec, .post__body .cc-sec { width: auto; margin: 0; padding: 0; border: 0; }
.doc-main .cc-sec + .cc-sec, .post__body .cc-sec + .cc-sec { margin-top: clamp(2.5rem, 5vw, 4rem); }
.doc-main > * + *, .doc-main .cc-sec > * + *, .post__body > * + *, .post__body .cc-sec > * + * { margin-top: 1.15rem; }
.doc-main p, .doc-main li, .post__body p, .post__body li { font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem); line-height: 1.7; max-width: 68ch; }
.doc-main h2, .post__body h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; max-width: 20ch; scroll-margin-top: 6rem; text-wrap: balance; }
.doc-main * + h2, .post__body * + h2 { margin-top: clamp(3rem, 6vw, 4.5rem); }
.doc-main h3, .post__body h3 { font-size: 1.3rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.doc-main * + h3, .post__body * + h3 { margin-top: 2rem; }
.doc-main h2 + p, .post__body h2 + p { font-size: inherit; color: inherit; }
.doc-main .cc-sec h1 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.doc-main a:not(.btn), .post__body a:not(.btn) { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: background-color 0.2s; }
.doc-main a:not(.btn):hover, .post__body a:not(.btn):hover { background: color-mix(in srgb, var(--accent) 40%, transparent); }
.doc-main ul:not([class]), .post__body ul:not([class]) { list-style: disc; padding-left: 1.2em; }
.doc-main ol:not([class]), .post__body ol:not([class]) { list-style: decimal; padding-left: 1.3em; }
.doc-main li::marker, .post__body li::marker { color: var(--muted); }
.doc-main li + li, .post__body li + li { margin-top: 0.4rem; }
.doc-main hr.cc-rule { display: none; }
.doc-main .cc-img img, .post__body .cc-img img { border-radius: 16px; }

/* "Bold title + description" lists: a quiet two-column set */
.cc-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.75rem 2rem; list-style: none !important; padding: 0 !important; margin-top: 2rem !important; }
.cc-features li { max-width: none; border-top: 2px solid var(--text); padding-top: 0.9rem; margin: 0 !important; color: var(--muted); font-size: 1rem !important; line-height: 1.55 !important; }
.cc-features li > strong:first-child, .cc-features li > b:first-child { display: block; color: var(--text); font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 0.3rem; }

/* Blurbs inside the reading column: same quiet set, no boxes */
.doc-main .cc-cols:has(.cc-blurb) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1.75rem 2rem; }
.doc-main .cc-blurb { padding: 0.9rem 0 0; border: 0; border-top: 2px solid var(--text); border-radius: 0; background: none; }
.doc-main .cc-blurb:hover { transform: none; }
.doc-main .cc-blurb h3 { font-size: 1.12rem; margin-top: 0; }
.doc-main .cc-blurb p { font-size: 1rem; color: var(--muted); }

.cc-split { grid-template-columns: 1fr 1fr !important; align-items: center !important; }
@media (max-width: 640px) { .cc-split { grid-template-columns: 1fr !important; } }

/* Photo sections further down a page become a framed picture with the words over it */
.doc-main .cc-sec--bg { position: relative; isolation: isolate; color: #fff; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 20px; overflow: hidden; background: #000 var(--bg-img) center / cover; width: auto; }
.doc-main .cc-sec--bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.62); }

/* Quotes from clients (replaces the old review widgets) */
.cc-quotes { display: grid; gap: 2.5rem; margin-top: 2rem; }
.cc-quotes__item { margin: 0; padding-left: 1.5rem; border-left: 4px solid var(--accent); }
.cc-quotes__item blockquote { margin: 0; }
.cc-quotes__item p { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem) !important; line-height: 1.4 !important; letter-spacing: -0.015em; font-weight: 500; }
.cc-quotes__item figcaption { margin-top: 0.8rem; color: var(--muted); }
.cc-quotes__item figcaption strong { color: var(--text); }

/* The enquiry band */
.talk { background: #000; color: #fff; padding-block: clamp(4rem, 9vw, 7.5rem); --line: rgba(255, 255, 255, 0.16); --surface: #141414; --text: #fff; --muted: #a8a8a8; }
.talk__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.talk__title { font-size: clamp(2.6rem, 6.5vw, 5.5rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.92; max-width: 10ch; }
.talk__copy { margin-top: 1.5rem; max-width: 40ch; color: var(--muted); font-size: 1.1rem; line-height: 1.55; }
.talk__direct { margin-top: 2rem; display: grid; gap: 0.6rem; color: var(--muted); }
.talk__direct a { color: #fff; font-weight: 700; text-decoration: none; margin-right: 0.4rem; }
.talk__direct a:hover { color: var(--accent); }
.talk .cc-contact { margin-top: 0; max-width: none; }
.talk .cc-contact input, .talk .cc-contact textarea { background: #141414; border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.talk .cc-contact input:focus, .talk .cc-contact textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.talk .cc-contact label { color: #d6d6d6; }

/* Floating "Get a quote" */
.quote-pill {
	position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 40;
	background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none;
	padding: 0.9rem 1.4rem; border-radius: 999px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
	opacity: 0; transform: translateY(16px) scale(0.96); pointer-events: none;
	transition: opacity 0.3s, transform 0.4s var(--ease);
}
.quote-pill.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quote-pill:hover { transform: translateY(-2px); }

@media (max-width: 960px) {
	.doc-body--rail { grid-template-columns: 1fr; }
	.doc-rail { display: none; }
	.doc-main { margin-inline: auto; }
}

/* ==========================================================================
   Blog
   ========================================================================== */

.blog { padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 8vw, 6rem); }
.blog__title { font-size: clamp(3.4rem, 11vw, 9.5rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; }
.blog__lede { margin-top: 1.25rem; max-width: 46ch; color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); }

.lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; margin-top: clamp(2.5rem, 6vw, 4.5rem); text-decoration: none; }
.lead__media { display: block; overflow: hidden; border-radius: 20px; background: var(--surface-2); aspect-ratio: 4 / 3; }
.lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lead:hover .lead__media img { transform: scale(1.04); }
.lead__text { display: grid; gap: 1rem; padding-bottom: 0.5rem; }
.lead__meta, .index__date, .index__time, .post__meta { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.lead__title { font-size: clamp(1.9rem, 3.6vw, 3.2rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }
.lead__excerpt { color: var(--muted); font-size: 1.08rem; line-height: 1.55; }
.lead__go { font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.3em; }

.index { margin-top: clamp(3rem, 7vw, 5rem); border-bottom: 1px solid var(--line); }
.index__row { border-top: 1px solid var(--line); }
.index__row a { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: baseline; padding: clamp(1.1rem, 2.2vw, 1.7rem) 0; text-decoration: none; }
.index__title { font-size: clamp(1.25rem, 2.4vw, 2.1rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.1; transition: transform 0.45s var(--ease); }
.index__row a:hover .index__title, .index__row a:focus-visible .index__title { transform: translateX(0.6rem); }
.index__row a:hover .index__time { color: var(--text); }
.index__float {
	position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px;
	pointer-events: none; opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) scale(0.9) rotate(-3deg);
	transition: opacity 0.25s, transform 0.35s var(--ease); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
}
.index__float.is-on { opacity: 1; transform: translate(var(--x, 0), var(--y, 0)) scale(1) rotate(-3deg); }
.index__float:not([src]) { display: none; }

@media (max-width: 760px) {
	.lead { grid-template-columns: 1fr; }
	.index__row a { grid-template-columns: 1fr auto; gap: 0.35rem 1rem; }
	.index__date { grid-column: 1 / -1; }
	.index__float { display: none; }
}

/* Article */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.read-progress span { display: block; height: 100%; width: calc(var(--read, 0) * 100%); background: var(--accent); }
.post__head { padding-top: clamp(3rem, 8vw, 6rem); max-width: 980px; }
.post__back a { font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.post__title { margin-top: 1.25rem; font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.96; text-wrap: balance; }
.post__meta { margin-top: 1.25rem; }
.post__cover { margin-top: clamp(2rem, 5vw, 3.5rem); }
.post__cover img { width: 100%; max-height: 70vh; object-fit: cover; border-radius: 20px; }
.post__body { max-width: 720px; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.post__lede { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem) !important; line-height: 1.45 !important; letter-spacing: -0.01em; }
.more { padding-bottom: clamp(4rem, 8vw, 6rem); }
.more__title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; }
.more .index { margin-top: 1.5rem; }
.doc.page, .post { padding: 0; }
.cc-features li p { margin: 0; font-size: inherit !important; line-height: inherit !important; color: inherit; }
.cc-features li strong:first-child, .cc-features li b:first-child { display: block; color: var(--text); font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 0.3rem; }
.cc-features li strong:first-child + br { display: none; }
/* The enquiry band already asks; the footer doesn't need to ask again */
body:has(.talk) .site-footer__cta { display: none; }
body:has(.talk) .site-footer { border-top: 0; padding-top: 0; }
body:has(.talk) .site-footer__cols { border-top: 0; }

/* "At a glance" facts (old icon tables) */
.cc-facts { list-style: none !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0; margin-top: 2rem !important; border-top: 1px solid var(--line); }
.cc-facts li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.cc-facts li:has(ul) { grid-column: 1 / -1; align-items: start; }
.cc-facts__icon img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }
.cc-facts__body { font-weight: 600; }
.cc-facts__body ul { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0.35rem 1.5rem; font-weight: 500; }
.cc-facts__body ul li { display: block; padding: 0 0 0 1.1rem; border: 0; position: relative; }
.cc-facts__body ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cc-facts__body p { margin: 0 !important; }

/* Real tables */
.cc-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; margin-top: 1.5rem; }
.cc-table th, .cc-table td { text-align: left; padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cc-table th { font-weight: 700; border-bottom-color: var(--text); }
.doc-main h2 + p, .post__body h2 + p, .doc-main h1 + p { max-width: 68ch; }
.post__cover { max-width: 1100px; }
.post__cover img { max-height: none; height: auto; object-fit: contain; }
.doc-main .cc-btn, .post__body .cc-btn { display: inline-block; margin: 1.5rem 0.75rem 0 0; }
.doc-main .cc-btn + .cc-btn .btn, .post__body .cc-btn + .cc-btn .btn { background: transparent; color: var(--text); border-color: var(--text); }
.doc-main .cc-btn + .cc-btn .btn:hover { background: var(--text); color: var(--bg); }

/* ==========================================================================
   Icon set: line work over a yellow highlighter disc
   ========================================================================== */

.cc-icon { display: block; width: 56px; height: 56px; overflow: visible; color: var(--text); }
.cc-icon__dot { fill: var(--accent); transform-box: fill-box; transform-origin: center; transition: transform 0.6s var(--ease); }
.cc-icon__line > * { stroke-dasharray: 1 1; stroke-dashoffset: 0; }

@keyframes cc-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
	/* draw in once when first seen, and again on hover */
	.js .cc-icon:not(.is-drawn) .cc-icon__line > * { stroke-dashoffset: 1; }
	.js .cc-icon.is-drawn .cc-icon__line > * { animation: cc-draw 0.9s var(--ease) both; }
	/* a second, identical keyframe so hover replays the drawing */
	@keyframes cc-redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
	.cc-blurb:hover .cc-icon .cc-icon__line > *, .cc-facts li:hover .cc-icon .cc-icon__line > * { animation: cc-redraw 0.8s var(--ease) both; }
	.cc-icon__line > :nth-child(2) { animation-delay: 0.08s !important; }
	.cc-icon__line > :nth-child(3) { animation-delay: 0.16s !important; }
	.cc-icon__line > :nth-child(4) { animation-delay: 0.24s !important; }
	.cc-icon__line > :nth-child(n+5) { animation-delay: 0.32s !important; }
	.js .cc-icon:not(.is-drawn) .cc-icon__dot { transform: scale(0.2); }
	.cc-blurb:hover .cc-icon__dot, .cc-facts li:hover .cc-icon__dot { transform: translate(-3px, -3px) scale(1.12); }
}

/* Service tiles */
.doc-main .cc-cols:has(.cc-blurb) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.doc-main .cc-cols:has(.cc-blurb) > .cc-col { border-bottom: 1px solid var(--line); }
.doc-main .cc-blurb {
	position: relative; display: grid; gap: 0.6rem; align-content: start; height: 100%;
	padding: 1.5rem 1.25rem 1.6rem 0; border: 0; border-radius: 0; background: none;
}
.doc-main .cc-blurb .cc-icon { width: 60px; height: 60px; margin-bottom: 0.4rem; }
.doc-main .cc-blurb h3 { font-size: 1.15rem; margin: 0; }
.doc-main .cc-blurb h3 a { text-decoration: none; background: none !important; }
.doc-main .cc-blurb--link h3 a::after { content: ""; position: absolute; inset: 0; }
.doc-main .cc-blurb--link:hover h3 a, .doc-main .cc-blurb--link:focus-within h3 a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
.doc-main .cc-blurb p { font-size: 0.98rem !important; color: var(--muted); margin: 0 !important; }
.doc-main .cc-blurb--link:focus-within { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Course facts use the same icons, smaller */
.cc-facts li { grid-template-columns: 48px 1fr; }
.cc-facts__icon .cc-icon { width: 48px; height: 48px; }

/* Service tiles grid */
.cc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); border-top: 1px solid var(--line); margin-top: 2rem; }
.cc-tiles > .cc-blurb { border-bottom: 1px solid var(--line) !important; padding: 1.6rem 1.25rem 1.7rem 0 !important; margin: 0 !important; }
.doc-body:has(.cc-tiles) .doc-main { max-width: none; }

/* ==========================================================================
   Courses: ticket, syllabus path, how it runs, catalogue
   ========================================================================== */

.doc-hero--course .doc-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.doc-hero--course .doc-hero__inner > :not(.doc-hero__ticket) { grid-column: 1; }
.doc-hero__ticket { grid-column: 2; grid-row: 1 / span 4; align-self: end; }
@media (max-width: 860px) {
	.doc-hero--course .doc-hero__inner { grid-template-columns: 1fr; }
	.doc-hero__ticket { grid-column: 1; grid-row: auto; max-width: 360px; }
}

.ticket {
	--tear: 7.5rem;
	position: relative; display: flex; flex-direction: column; gap: 0.35rem;
	padding: 1.5rem 1.6rem 1.6rem; border-radius: 18px;
	background: var(--accent); color: var(--accent-ink); text-decoration: none;
	-webkit-mask: radial-gradient(circle 12px at 0 var(--tear), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% var(--tear), #0000 97%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 12px at 0 var(--tear), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% var(--tear), #0000 97%, #000) right / 51% 100% no-repeat;
	transform: rotate(2deg); transition: transform 0.5s var(--ease);
}
.doc-hero .ticket { box-shadow: none; }
.ticket__name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1.1; min-height: 2.9rem; }
.ticket__price { font-size: clamp(2.4rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; min-height: 3.4rem; display: flex; align-items: baseline; gap: 0.35rem; }
.ticket__price small { font-size: 0.95rem; font-weight: 700; letter-spacing: 0; }
.ticket__more { font-size: 0.85rem; line-height: 1.4; font-weight: 500; }
.ticket__tear { display: block; height: 0; margin: 1.1rem 0 1.2rem; border-top: 2px dashed rgba(0, 0, 0, 0.35); }
.ticket__facts { display: grid; gap: 0.55rem; margin-top: auto; }
.ticket__facts > span { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.95rem; }
.ticket .cc-icon { width: 26px; height: 26px; flex: none; color: var(--accent-ink); }
.ticket .cc-icon__dot { fill: rgba(0, 0, 0, 0.12); }
.ticket--link:hover, .ticket--link:focus-visible { transform: rotate(0deg) translateY(-6px); }
.ticket--link:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }

/* Syllabus: a path that fills as you scroll */
.syllabus, .runs { margin-top: clamp(3rem, 6vw, 4.5rem); }
.syllabus__path { position: relative; margin-top: 2rem; display: grid; gap: 0; list-style: none !important; padding: 0 !important; }
.syllabus__path::before, .syllabus__path::after {
	content: ""; position: absolute; left: 1.4rem; top: 1.5rem; bottom: 1.5rem; width: 3px; border-radius: 3px; background: var(--line); transform: translateX(-50%);
}
.syllabus__path::after { background: var(--accent); bottom: auto; height: calc((100% - 3rem) * var(--p, 0)); }
.syllabus__step { position: relative; display: grid; grid-template-columns: 2.8rem 1fr; gap: 1.25rem; align-items: start; padding: 0.85rem 0; margin: 0 !important; max-width: none !important; }
.syllabus__n {
	position: relative; z-index: 1; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%;
	background: var(--bg); border: 2px solid var(--line); font-weight: 800; font-size: 0.85rem; font-variant-numeric: tabular-nums; color: var(--muted);
	transition: background-color 0.35s, border-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.syllabus__step.is-done .syllabus__n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.06); }
.syllabus__body { display: grid; gap: 0.25rem; padding-top: 0.45rem; }
.syllabus__name { font-weight: 750; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); letter-spacing: -0.02em; line-height: 1.2; }
.syllabus__desc { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.syllabus__presenter { margin-top: 1.5rem !important; padding: 1.25rem 1.4rem; border-radius: 16px; background: var(--surface-2); }

/* How it runs */
.runs__list { list-style: none !important; padding: 0 !important; margin-top: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.25rem 2rem; }
.runs__list li { display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem; align-items: center; margin: 0 !important; font-weight: 600; font-size: 1rem !important; line-height: 1.45 !important; }
.runs__list .cc-icon { width: 44px; height: 44px; }

/* Catalogue and "other courses" */
.courses { padding-block: clamp(3rem, 7vw, 5.5rem); }
.courses__title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 2rem; }
.courses__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.courses__list > li:nth-child(even) .ticket { transform: rotate(-1.5deg); }
.courses__list > li:nth-child(3n) .ticket { transform: rotate(1deg); }
.courses__list .ticket { height: 100%; }
.courses__list .ticket--link:hover { transform: rotate(0deg) translateY(-6px); }
.doc-hero + .courses { padding-top: clamp(3rem, 6vw, 4.5rem); }

/* Course outcomes: the promise, set large */
.outcomes { margin-top: clamp(3rem, 6vw, 4.5rem); }
.outcomes__list { list-style: none !important; padding: 0 !important; margin-top: 1.5rem; display: grid; gap: 0; counter-reset: none; border-top: 2px solid var(--text); }
.outcomes__list li {
	display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; align-items: baseline; max-width: none !important; margin: 0 !important;
	padding: 1rem 0; border-bottom: 1px solid var(--line);
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem) !important; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3 !important;
}
.outcomes__list li::before { content: ""; width: 1.1rem; height: 0.6rem; border-left: 3px solid var(--text); border-bottom: 3px solid var(--text); transform: translateY(-0.2em) rotate(-45deg); box-shadow: -3px 3px 0 0 var(--accent); }

/* Trainers */
.trainers { margin-top: clamp(3rem, 6vw, 4.5rem); }
.trainers__list { list-style: none !important; padding: 0 !important; margin-top: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.trainers__list li { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; align-items: center; margin: 0 !important; max-width: none !important; }
.trainers__list img, .trainers__initial { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--accent); }
.trainers__initial { display: grid; place-items: center; font-weight: 800; font-size: 2rem; color: var(--accent-ink); }
.trainers__list strong { display: block; font-size: 1.1rem; }
.trainers__list li > span > span { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.45; margin-top: 0.2rem; }
.trainers__more a { font-weight: 700; }

/* ==========================================================================
   Blog covers: alternating yellow / black type blocks
   ========================================================================== */

.cover {
	position: relative; display: block; overflow: hidden; container-type: inline-size;
	width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; isolation: isolate;
}
.cover--xl { aspect-ratio: 21 / 9; }
.cover--yellow { background: var(--accent); color: var(--accent-ink); }
.cover--black { background: #000; color: var(--accent); }
.cover__title {
	position: absolute; left: 7cqw; right: 22cqw; top: 7cqw; z-index: 1;
	font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; text-wrap: balance;
	font-size: clamp(1.1rem, 8.4cqw, 4.4rem);
}
.cover--xl .cover__title { font-size: clamp(1.6rem, 5.6cqw, 5.2rem); right: 30cqw; }
.cover__icon.cc-icon { position: absolute; z-index: 0; right: 4cqw; bottom: 4cqw; width: 34cqw; height: 34cqw; color: inherit; }
.cover--xl .cover__icon.cc-icon { width: 24cqw; height: 24cqw; }
.cover--yellow .cover__icon .cc-icon__dot { fill: rgba(0, 0, 0, 0.1); }
.cover--black .cover__icon .cc-icon__dot { fill: rgba(255, 255, 255, 0.1); }
.cover .cc-icon__line { stroke-width: 1.6; }
.cover__mark { position: absolute; left: 7cqw; bottom: 6cqw; z-index: 1; display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; font-size: clamp(0.65rem, 2.6cqw, 1rem); letter-spacing: -0.01em; }
.cover--black .cover__mark { color: #fff; }

/* Hover: the icon redraws and the block tips */
.lead .cover, .index__float .cover { transition: transform 0.6s var(--ease); }
.lead:hover .cover { transform: rotate(-1deg) scale(1.01); }
@media (prefers-reduced-motion: no-preference) {
	.lead:hover .cover__icon .cc-icon__line > * { animation: cc-redraw 0.9s var(--ease) both; }
}
.lead__media { background: none; aspect-ratio: auto; border-radius: 0; overflow: visible; }

div.index__float { display: block; width: 320px; aspect-ratio: auto; background: none; box-shadow: none; }
div.index__float .cover { box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6); }
.index__row template { display: none; }

.post__cover { max-width: var(--wrap); }
.post__cover .cover { border-radius: 24px; }
@media (max-width: 640px) { .cover--xl { aspect-ratio: 4 / 3; } .cover--xl .cover__title { font-size: 8.4cqw; right: 22cqw; } .cover--xl .cover__icon.cc-icon { width: 34cqw; height: 34cqw; } }
.js .index__float .cc-icon:not(.is-drawn) .cc-icon__line > * { stroke-dashoffset: 0; }
.js .index__float .cc-icon:not(.is-drawn) .cc-icon__dot { transform: none; }
/* Article page: the title is already above, so the cover is the icon alone */
.cover--xl .cover__title { display: none; }
.cover--xl .cover__icon.cc-icon { width: 30cqw; height: 30cqw; right: 50%; bottom: 50%; transform: translate(50%, 50%); }
.cover--xl .cover__mark { left: 3.5cqw; bottom: 3cqw; font-size: clamp(0.7rem, 1.3cqw, 1rem); }
@media (max-width: 640px) { .cover--xl .cover__icon.cc-icon { width: 46cqw; height: 46cqw; } }

/* Homepage: every blog post as a scrolling row of covers */
.home-blog { padding-block: clamp(4rem, 9vw, 7rem); }
.home-blog__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.home-blog__rail {
	list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0 max(var(--gutter), (100% - var(--wrap)) / 2) 1.5rem;
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 28vw, 360px); gap: clamp(1rem, 2vw, 1.75rem);
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
	scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.home-blog__rail > li { scroll-snap-align: start; }
.home-blog__rail a { display: grid; gap: 0.6rem; text-decoration: none; }
.home-blog__rail .cover { transition: transform 0.5s var(--ease); }
.home-blog__rail a:hover .cover, .home-blog__rail a:focus-visible .cover { transform: translateY(-6px) rotate(-1deg); }
.home-blog__meta { margin-top: 0.4rem; color: var(--muted); font-size: 0.85rem; }
.home-blog__title { font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.2; }
.home-blog__rail a:hover .home-blog__title { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
@media (prefers-reduced-motion: no-preference) {
	.home-blog__rail a:hover .cover__icon .cc-icon__line > * { animation: cc-redraw 0.9s var(--ease) both; }
}
.home-blog__title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Team member on About */
.cc-team { display: grid; grid-template-columns: 160px 1fr; gap: 0.25rem 2rem; align-items: start; }
.cc-team > * { grid-column: 2; }
.cc-team > .cc-team__photo { grid-column: 1; grid-row: 1 / span 3; margin: 0 !important; }
.cc-team__photo img { width: 160px; height: 160px; border-radius: 50%; }
.trainers__list img { background: none; }
@media (max-width: 640px) { .cc-team { grid-template-columns: 1fr; } .cc-team > * { grid-column: 1; } .cc-team > .cc-team__photo { grid-row: auto; } .cc-team__photo img { width: 120px; height: 120px; } }

/* Logo */
.brand { line-height: 0; }
.brand__logo { display: block; height: clamp(22px, 2.2vw, 28px); width: auto; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* About: the team side by side */
.doc-body:has(.cc-team-row) .doc-main { max-width: none; }
.cc-team-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.cc-team-row .cc-team { display: block; margin: 0 !important; }
.cc-team-row .cc-team > * + * { margin-top: 1rem; }
.cc-team-row .cc-team__photo img { width: 140px; height: 140px; }
.cc-team-row .cc-team h1, .cc-team-row .cc-team h2, .cc-team-row .cc-team h3:first-of-type { margin-top: 1.25rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cc-team-row blockquote { margin-left: 0; padding-left: 1rem; border-left: 4px solid var(--accent); }

/* The family of brands */
.family { padding-block: clamp(3rem, 7vw, 5.5rem); }
.family__title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; max-width: 22ch; }
.family__lede { margin-top: 1rem; max-width: 56ch; color: var(--muted); font-size: 1.1rem; }
.family__list { list-style: none; padding: 0; margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0; border-top: 2px solid var(--text); }
.family__list a { display: grid; gap: 0.5rem; padding: 1.5rem 1.5rem 1.75rem 0; text-decoration: none; height: 100%; border-bottom: 1px solid var(--line); }
.family__list strong { font-size: 1.25rem; letter-spacing: -0.02em; }
.family__list span { color: var(--muted); }
.family__list em { font-style: normal; font-weight: 700; font-size: 0.9rem; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.family__list .cc-icon { width: 52px; height: 52px; }
@media (prefers-reduced-motion: no-preference) { .family__list a:hover .cc-icon__line > * { animation: cc-redraw 0.8s var(--ease) both; } }

/* Blog cards: yellow or black blocks with the heading and a few lines */
.bcards { list-style: none; padding: 0; margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.bcard {
	position: relative; display: flex; flex-direction: column; gap: 0.9rem; height: 100%; min-height: 340px;
	padding: clamp(1.4rem, 2.4vw, 1.9rem); border-radius: 20px; text-decoration: none; overflow: hidden;
	transition: transform 0.5s var(--ease);
}
.bcard--yellow { background: var(--accent); color: var(--accent-ink); }
.bcard--black { background: #000; color: var(--accent); }
.bcard__meta { font-size: 0.82rem; font-weight: 600; opacity: 0.75; }
.bcard--black .bcard__meta { color: #fff; }
.bcard__title { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; text-wrap: balance; }
.bcard__excerpt { font-size: 0.98rem; line-height: 1.5; }
.bcard--black .bcard__excerpt { color: rgba(255, 255, 255, 0.82); }
.bcard__foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.bcard__icon.cc-icon { width: 64px; height: 64px; color: inherit; }
.bcard--yellow .bcard__icon .cc-icon__dot { fill: rgba(0, 0, 0, 0.1); }
.bcard--black .bcard__icon .cc-icon__dot { fill: rgba(255, 255, 255, 0.12); }
.bcard__go { font-weight: 800; font-size: 0.95rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.bcard--black .bcard__go { color: #fff; text-decoration-color: var(--accent); }
.bcard:hover, .bcard:focus-visible { transform: translateY(-6px) rotate(-0.6deg); }
.bcard:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) { .bcard:hover .cc-icon__line > * { animation: cc-redraw 0.8s var(--ease) both; } }

/* Homepage FAQs */
.home-faq { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(4rem, 9vw, 7rem); align-items: start; }
.home-faq__intro { position: sticky; top: 6rem; }
.home-faq__intro p { margin-top: 1.25rem; color: var(--muted); max-width: 36ch; }
.home-faq__list { margin-top: 0; }
.home-faq .cc-q > p { font-size: 1.05rem; line-height: 1.65; }
@media (max-width: 860px) { .home-faq { grid-template-columns: 1fr; } .home-faq__intro { position: static; } }

/* ==========================================================================
   Service pages: chapters, recent work, more services
   ========================================================================== */

.doc-body--chapters .doc-main { max-width: none; margin: 0; }
.svc-ch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.svc-ch:first-child { border-top: 0; padding-top: 0; }
.svc-ch--intro .svc-ch__body { grid-column: 1 / -1; max-width: 60ch; }
.svc-ch--intro .svc-ch__body > p:first-child, .svc-ch--intro .svc-ch__body > h3:first-child + p {
	font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem) !important; line-height: 1.4 !important; letter-spacing: -0.015em; font-weight: 500;
}
.svc-ch__head { position: relative; }
.svc-ch__head h2 { position: sticky; top: 6rem; margin: 0 !important; font-size: clamp(1.6rem, 2.8vw, 2.4rem) !important; max-width: 14ch !important; }
.svc-ch__head h2::before { content: ""; display: block; width: 44px; height: 6px; border-radius: 3px; background: var(--accent); margin-bottom: 1rem; }
.svc-ch__body { min-width: 0; max-width: 68ch; }
.svc-ch__body > * + * { margin-top: 1.15rem; }
.svc-ch__body > :first-child { margin-top: 0; }
.svc-ch__body h3 { margin-top: 2rem; }
.svc-ch__body .cc-tiles { margin-top: 0; }
.svc-ch:has(.cc-tiles) .svc-ch__body, .svc-ch:has(.cc-prices) .svc-ch__body { max-width: none; }
@media (max-width: 860px) {
	.svc-ch { grid-template-columns: 1fr; gap: 1.25rem; }
	.svc-ch__head h2 { position: static; }
}

.proof-study { padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.proof-study__title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; }
.proof-study .case-embed { width: auto; margin: 0; }

.more-services { padding-block: clamp(3rem, 7vw, 5rem); }
.more-services__title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; }
.more-services__list { list-style: none; padding: 0; margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--line); }
.more-services__list a { display: grid; gap: 0.6rem; padding: 1.4rem 1rem 1.5rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; height: 100%; }
.more-services__list .cc-icon { width: 48px; height: 48px; }
.more-services__list a:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
@media (prefers-reduced-motion: no-preference) { .more-services__list a:hover .cc-icon__line > * { animation: cc-redraw 0.8s var(--ease) both; } }
.cc-quotes__more a { font-weight: 700; }

/* --------------------------------------------------------------------------
   Course pages: Story panels + "your day" strip with drawn WordPress screens
   -------------------------------------------------------------------------- */

.cstory { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 3vw, 2rem); }
.cstory__panels { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 900px) { .cstory__panels { grid-template-columns: 1fr 1fr 1.25fr; align-items: stretch; } }
.cstory__panel {
	position: relative; overflow: hidden;
	border: 2px solid var(--text); border-radius: calc(var(--radius) + 6px);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--surface);
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.cstory__panel:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: 10px 10px 0 var(--accent); }
.cstory__n {
	display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8;
	font-size: clamp(4rem, 8vw, 7rem); color: transparent; -webkit-text-stroke: 2px var(--text);
	margin-bottom: 1.25rem;
}
.cstory__panel h3 { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.75rem; }
.cstory__panel p { font-size: clamp(1.15rem, 1rem + 0.55vw, 1.5rem); line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; }
.cstory__panel--leave { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cstory__panel--leave .cstory__n { -webkit-text-stroke-color: var(--accent-ink); }
.cstory__panel--leave:hover { box-shadow: 10px 10px 0 var(--text); }
.cstory__ticks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.45rem; border-top: 2px solid currentColor; padding-top: 1rem; }
.cstory__ticks li { display: flex; gap: 0.65rem; align-items: baseline; font-size: 0.98rem; line-height: 1.35; }
.cstory__ticks li::before { content: ""; flex: none; width: 0.85rem; height: 0.45rem; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-0.2em) rotate(-45deg); }
.cstory__meta { list-style: none; padding: 0; margin: clamp(1.25rem, 3vw, 2rem) 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cstory__meta li { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; }
.cstory__meta li:first-child { background: var(--text); color: var(--bg); border-color: var(--text); }

.strip--course { border-block: 1px solid var(--line); margin-top: clamp(1.5rem, 4vw, 3rem); }
.strip--course .chapter__caption { font-size: 0.98rem; color: var(--text); max-width: 34ch; }
.strip--course .card--quote { border: 2px solid var(--text); box-shadow: 10px 10px 0 var(--accent); }

/* Drawn WordPress screens. Sizes in em, scaled from the stage height. */
.wpm {
	position: absolute; inset: 0; overflow: hidden;
	font: 400 calc(var(--stage-h) * 0.0185) / 1.3 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1d2327; background: #f0f0f1; text-align: left; letter-spacing: 0;
}
.device--phone .wpm { font-size: calc(var(--stage-h) * 0.021); background: #fff; }
.device--phone .device__screen { position: relative; }
.wpm h4 { font-size: 1.75em; font-weight: 400; line-height: 1.2; margin: 0 0 0.6em; display: flex; align-items: center; gap: 0.6em; color: #1d2327; letter-spacing: 0; }
.wpm h4 small { font-size: 0.5em; color: #646970; }
.wpm em { display: block; font-style: normal; font-weight: 600; font-size: 1.05em; margin-bottom: 0.5em; }
.wpm label { display: block; font-size: 0.95em; margin: 0.7em 0 0.25em; }
.wpm__ln { display: block; height: 0.6em; width: var(--w); background: #dcdcde; border-radius: 0.3em; margin: 0.45em 0; }
.wpm__in { display: block; border: 1px solid #8c8f94; border-radius: 0.3em; background: #fff; padding: 0.45em 0.6em; font-size: 1em; color: #1d2327; white-space: nowrap; overflow: hidden; }
.wpm__in--tall { height: 4.2em; white-space: normal; color: #646970; }
.wpm__in--big { font-size: 1.4em; padding: 0.4em 0.5em; margin-bottom: 0.4em; }
.wpm__btn { display: inline-block; background: #2271b1; color: #fff; border-radius: 0.3em; padding: 0.45em 1em; font-size: 1em; font-weight: 500; white-space: nowrap; }
.wpm__btn--ghost { background: transparent; color: #2271b1; border: 1px solid #2271b1; font-size: 0.55em; padding: 0.35em 0.8em; }
.wpm__btn--y { background: var(--accent); color: #0a0a0a; font-weight: 700; display: block; text-align: center; margin-top: 1em; border-radius: 999px; }
.wpm__kv { display: flex; justify-content: space-between; gap: 1em; padding: 0.45em 0; border-bottom: 1px solid #e0e0e0; font-size: 0.95em; }
.wpm__kv b { font-weight: 600; }
.wpm__kv--tot { font-size: 1.1em; border-bottom: 0; }
.wpm__w { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; border: 0.12em solid currentColor; font: 700 0.85em/1 Georgia, serif; }
.wpm__w--sq { border-radius: 0; border: 0; background: #1e1e1e; color: #fff; width: 3.4em; height: 100%; font-size: 1em; }

/* admin chrome */
.wpm--admin { display: grid; grid-template: 2.6em 1fr / 11.5em 1fr; }
.wpm__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.1em; background: #1d2327; color: #f0f0f1; padding-inline: 0.8em; font-size: 0.95em; }
.wpm__howdy { margin-left: auto; opacity: 0.85; }
.wpm__new { opacity: 0.85; }
.wpm__side { list-style: none; margin: 0; padding: 0.6em 0; background: #1d2327; color: #f0f0f1; }
.wpm__side li { padding: 0.55em 1em; font-size: 0.98em; opacity: 0.9; }
.wpm__side li.is-on { background: #2271b1; opacity: 1; position: relative; }
.wpm__side li.is-on::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: 0.5em solid transparent; border-right-color: #f0f0f1; }
.wpm__main { padding: 1.4em 1.6em; overflow: hidden; }
.wpm__card, .wpm__box2, .wpm__panel { background: #fff; border: 1px solid #c3c4c7; padding: 0.9em 1em; }

.wpm__welcome { background: #fff; border: 1px solid #c3c4c7; padding: 1.2em; margin-bottom: 1em; background: linear-gradient(135deg, #fff 55%, #e7f0f8); }
.wpm__welcome strong { display: block; font-size: 1.6em; font-weight: 600; margin-bottom: 0.2em; }
.wpm__welcome > span { color: #2271b1; }
.wpm__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin-top: 1em; }
.wpm__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.wpm__stat { display: inline-block; margin-right: 1em; color: #2271b1; }
.wpm__card .wpm__in { margin-bottom: 0.5em; }

.wpm__themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1em; }
.wpm__theme { display: block; background: #fff; border: 1px solid #dcdcde; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.wpm__theme.is-on { outline: 0.2em solid #2271b1; }
.wpm__shot { display: block; aspect-ratio: 16 / 10; background:
	linear-gradient(#fff, #fff) 12% 18% / 40% 8% no-repeat,
	linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)) 12% 34% / 60% 4% no-repeat,
	var(--t, #333); }
.wpm__theme--a .wpm__shot { --t: linear-gradient(135deg, #0a0a0a 60%, var(--accent) 60%); }
.wpm__theme--b .wpm__shot { --t: linear-gradient(160deg, #e8dfd0, #c7b79a); }
.wpm__theme--c .wpm__shot { --t: linear-gradient(160deg, #5b6cff, #8f5bff); }
.wpm__theme--d .wpm__shot { --t: linear-gradient(160deg, #1e4d3a, #3c8b6a); }
.wpm__theme--e .wpm__shot { --t: linear-gradient(160deg, #ff7a59, #ffb199); }
.wpm__theme--f .wpm__shot { --t: linear-gradient(160deg, #18324a, #3a6d96); }
.wpm__tname { display: block; padding: 0.6em 0.8em; font-weight: 600; font-size: 0.95em; }
.wpm__theme.is-on .wpm__tname { background: #1d2327; color: #fff; }
.wpm__tname b { font-weight: 400; opacity: 0.8; }

/* block editor */
.wpm--editor { display: grid; grid-template-rows: 3.4em 1fr; background: #fff; }
.wpm__etop { display: flex; align-items: stretch; gap: 1em; border-bottom: 1px solid #e0e0e0; padding-right: 0.8em; }
.wpm__etop > * { align-self: center; }
.wpm__etop .wpm__w--sq { align-self: stretch; height: auto; }
.wpm__plus { width: 1.8em; height: 1.8em; display: grid; place-items: center; background: #1e1e1e; color: #fff; border-radius: 0.2em; font-size: 1.1em; }
.wpm__ttl { margin-inline: auto; background: #f0f0f0; border-radius: 0.3em; padding: 0.35em 2em; font-size: 0.95em; }
.wpm__save { color: #2271b1; }
.wpm__canvas { display: grid; grid-template-columns: 1fr 17em; min-height: 0; }
.wpm__page { padding: 2.2em 3em; overflow: hidden; }
.wpm__h1 { font: 700 2.6em/1.1 Georgia, "Times New Roman", serif; margin: 0 0 0.4em; letter-spacing: -0.01em; }
.wpm__caret { display: inline-block; width: 0.06em; height: 0.9em; background: #1d2327; margin-left: 0.06em; vertical-align: -0.08em; animation: wpm-blink 1s steps(1) infinite; }
.wpm__img { position: relative; display: block; height: 9em; margin: 1em 0; border-radius: 0.2em; overflow: hidden; background: linear-gradient(180deg, #9bd0f0, #e8f4fb 55%, #8cbf6a 56%, #5f9a45); }
.wpm__img--sq { height: auto; aspect-ratio: 1; margin-top: 0; }
.wpm__sun { position: absolute; right: 18%; top: 14%; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--accent); }
.wpm__canvas .wpm__panel { border-width: 0 0 0 1px; border-color: #e0e0e0; }
.wpm__drop { display: block; border: 1px dashed #8c8f94; padding: 1.4em 0.5em; text-align: center; color: #2271b1; font-size: 0.9em; }
.wpm__panel em ~ em { margin-top: 1.2em; }
.wpm__snip { display: block; margin-top: 1.2em; padding: 0.9em 1em; border: 1px solid #e0e0e0; border-radius: 0.4em; background: #fafafa; }
.wpm__score { display: flex; align-items: baseline; gap: 0.1em; font-size: 1em; color: #646970; margin-bottom: 0.6em; }
.wpm__score b { font-size: 2.4em; color: #fff; background: #10a34a; border-radius: 0.3em; padding: 0 0.25em; margin-right: 0.15em; }
.wpm__tick { display: flex; gap: 0.5em; font-size: 0.88em; padding: 0.3em 0; }
.wpm__tick::before { content: "\2713"; flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; display: grid; place-items: center; background: #10a34a; color: #fff; font-size: 0.8em; }
.wpm__tick.is-todo::before { content: "!"; background: #dba617; }

/* media */
.wpm__media { display: grid; grid-template-columns: 1fr 18em; gap: 1em; }
.wpm__mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6em; align-content: start; }
.wpm__thumb { aspect-ratio: 1; display: block; background: var(--th); }
.wpm__thumb--0 { --th: linear-gradient(180deg, #9bd0f0, #e8f4fb 55%, #8cbf6a 56%, #5f9a45); }
.wpm__thumb--1 { --th: linear-gradient(135deg, #f3d9b1, #d39a5c); }
.wpm__thumb--2 { --th: radial-gradient(circle at 35% 40%, #fff 0 18%, transparent 19%), linear-gradient(160deg, #1d2327, #50575e); }
.wpm__thumb--3 { --th: linear-gradient(160deg, var(--accent), #c5b50a); }
.wpm__thumb--4 { --th: linear-gradient(180deg, #cfe6c6, #8fbf7a 60%, #3f7a35); }
.wpm__thumb--5 { --th: linear-gradient(160deg, #e9b3b9, #b8616c); }
.wpm__thumb.is-on { outline: 0.25em solid #2271b1; outline-offset: 0.12em; position: relative; }
.wpm__thumb.is-on::after { content: "\2713"; position: absolute; top: -0.5em; right: -0.5em; width: 1.4em; height: 1.4em; display: grid; place-items: center; background: #2271b1; color: #fff; font-size: 0.85em; }
.wpm__meta { display: block; font-size: 0.85em; color: #646970; line-height: 1.5; }

/* front-end site on a phone */
.wpm--site { display: flex; flex-direction: column; }
.wpm__snav { display: flex; justify-content: space-between; align-items: center; padding: 3.2em 1.2em 0.9em; border-bottom: 1px solid #eee; font-size: 1em; }
.wpm__burger { width: 1.3em; height: 0.9em; border-block: 0.15em solid #1d2327; position: relative; }
.wpm__burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 0.15em solid #1d2327; transform: translateY(-50%); }
.wpm__cart { width: 1.6em; height: 1.6em; border-radius: 50%; background: #0a0a0a; color: var(--accent); display: grid; place-items: center; font-size: 0.8em; font-weight: 700; }
.wpm__lock { width: 0.9em; height: 0.75em; background: #10a34a; border-radius: 0.15em; position: relative; margin-top: 0.4em; }
.wpm__lock::before { content: ""; position: absolute; left: 0.15em; right: 0.15em; bottom: 100%; height: 0.45em; border: 0.14em solid #10a34a; border-bottom: 0; border-radius: 0.4em 0.4em 0 0; }
.wpm__sbody { padding: 1.2em; position: relative; flex: 1; }
.wpm__sh { font-weight: 800; font-size: 1.6em; line-height: 1.1; margin: 0 0 0.3em; letter-spacing: -0.02em; }
.wpm__hero { position: relative; display: block; height: 13em; background: linear-gradient(180deg, #9bd0f0, #e8f4fb 55%, #8cbf6a 56%, #5f9a45); }
.wpm__hero--prod { background: radial-gradient(55% 45% at 50% 55%, #e9dcc3 0 60%, transparent 61%), linear-gradient(160deg, #f5f1ea, #e2d9ca); }
.wpm__badge { position: absolute; left: 1em; top: 1em; background: var(--accent); color: #0a0a0a; font-weight: 800; border-radius: 999px; padding: 0.4em 0.8em; transform: rotate(-8deg); }
.wpm__price { margin: 0 0 0.5em; font-size: 1.25em; }
.wpm__price s { color: #8c8f94; }
.wpm__price b { color: #b32d2e; }
.wpm__swatches { display: flex; gap: 0.5em; margin-top: 0.7em; }
.wpm__swatches i { width: 1.6em; height: 1.6em; border-radius: 50%; background: #e9dcc3; outline: 1px solid #ccc; }
.wpm__swatches i:nth-child(2) { background: #1d2327; }
.wpm__swatches i:nth-child(3) { background: #d9a520; outline: 0.15em solid #0a0a0a; outline-offset: 0.12em; }
.wpm__lab { margin-top: 1.2em; }
.wpm__radio { display: flex; align-items: center; gap: 0.6em; border: 1px solid #ddd; border-radius: 0.5em; padding: 0.7em; margin-bottom: 0.5em; font-size: 0.95em; }
.wpm__radio::before { content: ""; width: 1em; height: 1em; border-radius: 50%; border: 0.15em solid #8c8f94; flex: none; }
.wpm__radio.is-on { border-color: #0a0a0a; }
.wpm__radio.is-on::before { border-color: #0a0a0a; background: radial-gradient(circle, #0a0a0a 0 40%, transparent 45%); }
.wpm--site .wpm__in { border-color: #ccc; border-radius: 0.5em; }
.wpm__toast { position: absolute; left: 1.2em; right: 1.2em; bottom: 1.2em; background: #0a0a0a; color: #fff; border-radius: 0.6em; padding: 0.8em 1em; font-weight: 600; opacity: 0; transform: translateY(1em); animation: wpm-toast 6s var(--ease) infinite; }

/* login */
.wpm--login { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2em; }
.wpm__logo { width: 3.8em; height: 3.8em; border-radius: 50%; background: #3858e9; color: #fff; display: grid; place-items: center; font: 700 1.9em/1 Georgia, serif; width: 2em; height: 2em; }
.wpm__box { width: 26em; background: #fff; border: 1px solid #c3c4c7; box-shadow: 0 1px 3px rgba(0,0,0,0.04); padding: 1.6em 1.8em; }
.wpm__box .wpm__in { font-size: 1.15em; margin-bottom: 0.3em; }
.wpm__row { display: flex; align-items: center; gap: 0.5em; margin-top: 1em; font-size: 0.95em; }
.wpm__row .wpm__btn { margin-left: auto; }
.wpm__chk { width: 1.1em; height: 1.1em; border: 1px solid #8c8f94; border-radius: 0.2em; }
.wpm__lost { color: #50575e; font-size: 0.95em; }

/* Google + reports + keyword sheets */
.wpm--serp, .wpm--sheet { background: #fff; padding: 1.6em 2em; }
.wpm__gbar { display: flex; align-items: center; gap: 1em; margin-bottom: 1.6em; }
.wpm__g { font: 700 2.2em/1 Georgia, serif; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wpm__q { flex: 1; border-radius: 999px; box-shadow: 0 1px 6px rgba(32,33,36,0.28); padding: 0.7em 1.4em; font-size: 1.1em; }
.wpm__results { display: grid; gap: 1.4em; max-width: 40em; padding-left: 3.3em; }
.wpm__res { padding: 0.2em 0; }
.wpm__res.is-on { position: relative; }
.wpm__res.is-on::before { content: ""; position: absolute; inset: -0.6em -0.9em; border: 0.18em solid var(--accent); border-radius: 0.6em; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.wpm__url { display: block; font-size: 0.9em; color: #202124; position: relative; }
.wpm__rt { display: block; font-size: 1.45em; color: #1a0dab; margin: 0.15em 0 0.2em; position: relative; }
.wpm__res .wpm__ln { position: relative; }
.wpm__snip .wpm__rt { font-size: 1.2em; }
.wpm__tr { display: grid; grid-template-columns: 1fr 9em 9em; gap: 1em; align-items: center; padding: 0.75em 0.6em; border-bottom: 1px solid #e0e0e0; font-size: 1.05em; }
.wpm__tr--h { font-size: 0.85em; color: #646970; text-transform: uppercase; letter-spacing: 0.04em; }
.wpm__tr.is-on { background: color-mix(in srgb, var(--accent) 30%, #fff); }
.wpm__tr b { font-weight: 600; font-variant-numeric: tabular-nums; }
.wpm__kd { height: 0.6em; background: #eee; border-radius: 1em; overflow: hidden; }
.wpm__kd i { display: block; height: 100%; width: var(--w); background: #10a34a; }
.wpm__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; margin-bottom: 1.4em; }
.wpm__kpis > span { border-top: 0.25em solid #4285f4; padding-top: 0.6em; }
.wpm__kpis > span:nth-child(2) { border-color: #34a853; }
.wpm__kpis > span:nth-child(3) { border-color: var(--accent); }
.wpm__kpis b { display: block; font-size: 2.4em; font-weight: 600; line-height: 1.1; }
.wpm__kpis i { font-style: normal; color: #10a34a; font-weight: 600; }
.wpm__chart { width: 100%; height: 14em; display: block; }
.wpm__area { fill: rgba(66, 133, 244, 0.12); }
.wpm__line { fill: none; stroke: #4285f4; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 0; }

/* WooCommerce + users tables */
.wpm__prod { display: grid; grid-template-columns: 1fr 15em; gap: 1em; }
.wpm__box2 { margin-top: 0.8em; }
.wpm__tabs { display: flex; gap: 0.3em; margin: 0.3em 0 0.6em; }
.wpm__tabs span { font-size: 0.85em; padding: 0.35em 0.7em; background: #f6f7f7; border: 1px solid #dcdcde; }
.wpm__tabs .is-on { background: #fff; color: #2271b1; font-weight: 600; }
.wpm__prod .wpm__panel .wpm__btn { display: block; text-align: center; margin-top: 0.8em; }
.wpm__table { background: #fff; border: 1px solid #c3c4c7; }
.wpm__table .wpm__tr { grid-template-columns: 2.6em 1fr 12em; }
.wpm__pi { width: 2.4em; height: 2.4em; background: linear-gradient(160deg, #f5f1ea, #d9cbb2); border-radius: 0.2em; }
.wpm__st { font-weight: 600; }
.wpm__st--ok { color: #008a20; }
.wpm__st--low { color: #b26200; }
.wpm__st--out { color: #b32d2e; }
.wpm__av { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: #2271b1; }
.wpm__av--1 { background: #0a0a0a; color: var(--accent); }
.wpm__av--2 { background: #b8616c; }
.wpm__av--3 { background: #3c8b6a; }
.wpm__av--4 { background: #d9a520; }

/* a little life: typing, the button being pressed, the line being drawn */
.wpm__type { position: relative; }
.wpm__type::after { content: ""; display: inline-block; width: 0.08em; height: 1em; background: currentColor; margin-left: 0.1em; vertical-align: -0.12em; animation: wpm-blink 1s steps(1) infinite; }
.wpm__pulse { animation: wpm-press 6s var(--ease) infinite; }
.wpm__line { animation: wpm-draw 6s var(--ease) infinite; }
@keyframes wpm-blink { 50% { opacity: 0; } }
@keyframes wpm-press { 0%, 55%, 100% { transform: none; box-shadow: none; } 58% { transform: scale(0.94); box-shadow: 0 0 0 0.4em color-mix(in srgb, var(--accent) 70%, transparent); } 64% { transform: none; box-shadow: 0 0 0 0.9em transparent; } }
@keyframes wpm-toast { 0%, 60% { opacity: 0; transform: translateY(1em); } 66%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes wpm-draw { 0% { stroke-dashoffset: 600; } 40%, 100% { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
	.wpm__type::after, .wpm__caret, .wpm__pulse, .wpm__line { animation: none; }
	.wpm__toast { animation: none; opacity: 1; transform: none; }
}
.wpm__img--sq { background: radial-gradient(42% 38% at 50% 58%, #e9dcc3 0 60%, transparent 61%), radial-gradient(18% 22% at 50% 30%, transparent 0 55%, #c9b48f 56% 68%, transparent 69%), linear-gradient(160deg, #f5f1ea, #e2d9ca); }
.wpm__img--sq .wpm__sun { display: none; }
