/* ============================================================
   hostcraft.eu — theme stylesheet
   Built from the Ultra'26 design system tokens (source of truth:
   design handoff /_ds/.../tokens/*.css). Dark is the default
   theme; [data-theme="light"] on <html> flips the surfaces.
   WCAG 2.2 AA minimum. Focus rings are identity — never strip.
   ============================================================ */

/* ---------- Fonts (Safiro self-hosted; Atkinson via enqueue) ---------- */
@font-face {
	font-family: "Safiro";
	src: url("../fonts/safiro-semibolditalic-webfont.woff2") format("woff2"),
	     url("../fonts/safiro-semibolditalic-webfont.woff") format("woff"),
	     url("../fonts/safiro-semibolditalic-webfont.ttf") format("truetype");
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	/* Shared core */
	--ink: #0b1020;
	--paper: #f8fafc;
	--accent: #2563eb;
	--accent-strong: #1d4ed8;
	--danger: #e11d48;
	/* Inline text links need more contrast than the raw accent
	   provides on each background (WCAG AA 4.5:1). Buttons, pills
	   and focus rings keep the true accent. */
	--link: #93b4f8;

	/* Hostcraft signature gradient — Hearth */
	--grad-hearth: linear-gradient(118deg, #059669 0%, #f59e0b 52%, #f97316 100%);

	/* Semantic surfaces (DARK — default) */
	--bg: #0b1020;
	--bg-2: #0e1426;
	--surface: #131b30;
	--surface-2: #1f2a44;
	--text: #f8fafc;
	--text-muted: #aab6cd;
	--border: rgba(255, 255, 255, .12);
	--border-strong: rgba(255, 255, 255, .22);
	--glass: rgba(255, 255, 255, .07);
	--glass-border: rgba(255, 255, 255, .16);
	--glass-scrim: rgba(8, 12, 22, .42);
	--nav-bg: rgba(11, 16, 32, .72);
	--dot: #cbd5e1;

	/* Type */
	--font-display: "Safiro", "Atkinson Hyperlegible Next", system-ui, sans-serif;
	--font-text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: "Atkinson Hyperlegible Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--fs-h2: clamp(28px, 3.2vw, 46px);
	--fs-small: 13px;
	--wordmark-tracking: -0.035em;

	/* Space & form */
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--radius-sm: 10px;
	--radius: 18px;
	--radius-pill: 999px;
	--shadow-sm: 0 6px 18px rgba(0, 0, 0, .32);
	--shadow: 0 18px 50px rgba(0, 0, 0, .45);
	--content-max: 1100px;
	--pad: clamp(16px, 2.2vw, 28px);
	--nav-height: 68px;

	/* Motion */
	--ease: cubic-bezier(.2, .8, .2, 1);
	--dur-ui: 200ms;

	/* Section rhythm */
	--section-pad: clamp(80px, 11vw, 140px);

	color-scheme: dark;
}

[data-theme="light"] {
	--bg: #f8fafc;
	--bg-2: #eef2f8;
	--surface: #ffffff;
	--surface-2: #e2e8f0;
	--text: #0b1020;
	--text-muted: #475569;
	--border: #e2e8f0;
	--border-strong: #cbd5e1;
	--glass: rgba(255, 255, 255, .55);
	--glass-border: rgba(255, 255, 255, .75);
	--nav-bg: rgba(248, 250, 252, .82);
	--dot: #1f2a44;
	--link: #1d4ed8;
	--shadow-sm: 0 6px 18px rgba(15, 23, 42, .10);
	--shadow: 0 18px 50px rgba(15, 23, 42, .16);
	color-scheme: light;
}

@keyframes bvh-grad-shift {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-text);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	transition: background var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease);
}

img { max-width: 100%; height: auto; }

a { color: var(--link); }

/* Focus is identity: 3px accent ring at 2px offset, everywhere. */
:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

/* ---------- Accessibility utilities ---------- */
.hc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.hc-skip-link {
	position: absolute;
	top: -100px;
	left: var(--pad);
	z-index: 100;
	padding: 12px 22px;
	border-radius: var(--radius-pill);
	background: var(--accent);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: top var(--dur-ui) var(--ease);
}

.hc-skip-link:focus-visible { top: 12px; }

/* ---------- Dot motif ---------- */
.hc-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	flex: none;
}

.hc-dot--sm { width: 6px; height: 6px; background: var(--dot); }
.hc-dot--accent { background: var(--accent); }
.hc-dot--paper { width: 9px; height: 9px; background: var(--paper); }
.hc-dot-row { display: inline-flex; gap: 5px; }
.hc-dot-row .hc-dot { width: 7px; height: 7px; }

/* ---------- Buttons ---------- */
.hc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 28px;
	border-radius: var(--radius-pill);
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	transition: background var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}

.hc-btn:hover {
	background: var(--accent-strong);
	transform: translateY(-1px);
	box-shadow: var(--shadow-sm);
}

.hc-btn:active { transform: translateY(0); }

/* ---------- Nav ---------- */
.hc-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--nav-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 var(--pad);
	background: var(--nav-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}

.hc-nav__wordmark {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: 22px;
	letter-spacing: -.02em;
	color: var(--text);
	text-decoration: none;
}

.hc-nav__nav { display: flex; align-items: center; }

.hc-nav__links {
	display: flex;
	gap: 26px;
	align-items: center;
}

.hc-nav__link {
	color: var(--text);
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	padding: 8px 2px; /* generous hit target */
}

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

.hc-nav__cta {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 18px;
	border-radius: var(--radius-pill);
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	transition: background var(--dur-ui) var(--ease);
}

.hc-nav__cta:hover { background: var(--accent-strong); }

/* Mobile menu toggle (hidden on desktop) */
.hc-nav__menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text);
	cursor: pointer;
}

.hc-icon { width: 20px; height: 20px; }
.hc-nav__menu-toggle .hc-icon--close { display: none; }
.hc-nav__menu-toggle[aria-expanded="true"] .hc-icon--menu { display: none; }
.hc-nav__menu-toggle[aria-expanded="true"] .hc-icon--close { display: block; }

/* Theme toggle */
.hc-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--text);
	cursor: pointer;
	transition: border-color var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease);
}

.hc-theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Dark shows the sun (the destination), light shows the moon. */
.hc-theme-toggle .hc-icon--moon { display: none; }
[data-theme="light"] .hc-theme-toggle .hc-icon--sun { display: none; }
[data-theme="light"] .hc-theme-toggle .hc-icon--moon { display: block; }

/* ---------- Section scaffolding ---------- */
.hc-section { border-bottom: 1px solid var(--border); }
.hc-section--alt { background: var(--bg-2); }
.hc-section--closing { border-bottom: 0; }

.hc-container {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: var(--section-pad) var(--pad);
}

.hc-container--center { text-align: center; }

.hc-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	font-family: var(--font-mono);
	font-size: var(--fs-small);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.hc-h2 {
	margin: 0 0 clamp(36px, 5vw, 56px);
	font-weight: 800;
	font-size: var(--fs-h2);
	letter-spacing: -.02em;
	line-height: 1.08;
}

.hc-h2--tight { margin-bottom: 18px; }

.hc-lead {
	margin: 0 0 clamp(44px, 5vw, 60px);
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-muted);
	max-width: 56ch;
}

.hc-lead--wide { max-width: 60ch; }
.hc-lead strong { color: var(--text); }

.hc-prose {
	display: grid;
	grid-template-columns: minmax(0, 64ch);
	gap: 22px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-muted);
}

.hc-prose p { margin: 0; }
.hc-prose em, .hc-prose strong { color: var(--text); }
.hc-prose__emph { color: var(--text); font-weight: 500; }
.hc-prose__emph--strong { font-weight: 600; }
.hc-prose--after-table { margin-top: clamp(44px, 5vw, 60px); gap: 18px; }
.hc-prose--steward { grid-template-columns: minmax(0, 62ch); line-height: 1.65; }

.hc-standalone {
	margin: clamp(48px, 6vw, 72px) 0 0;
	font-weight: 800;
	font-size: clamp(28px, 3.6vw, 52px);
	letter-spacing: -.02em;
	line-height: 1.1;
}

.hc-standalone--sm {
	margin-top: clamp(44px, 5vw, 60px);
	font-size: clamp(22px, 2.4vw, 32px);
	letter-spacing: -.015em;
	line-height: 1.2;
}

.hc-aftertext {
	margin: clamp(36px, 4vw, 48px) 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-muted);
	max-width: 64ch;
}

.hc-aftertext--lg { font-size: 18px; max-width: 62ch; margin-top: 0; }
.hc-aftertext strong { color: var(--text); }

/* ---------- 1 · Hero ---------- */
.hc-hero {
	position: relative;
	overflow: hidden;
	min-height: 88vh;
	display: flex;
	align-items: center;
}

.hc-hero__gradient {
	position: absolute;
	inset: 0;
	background: var(--grad-hearth);
	background-size: 200% 200%;
	animation: bvh-grad-shift 26s var(--ease) infinite;
	opacity: .95;
}

/* Slightly deeper than the prototype (.28→.38 top) so the mono
   eyebrow stays AA even when the animated amber stop drifts
   beneath it. Visually near-identical. */
.hc-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(7, 11, 22, .38), rgba(7, 11, 22, .66));
}

.hc-hero__inner {
	position: relative;
	width: 100%;
	max-width: var(--content-max);
	margin: 0 auto;
	padding: clamp(80px, 12vw, 150px) var(--pad);
	color: var(--paper);
}

.hc-eyebrow--hero {
	margin-bottom: clamp(28px, 4vw, 44px);
	gap: 12px;
	color: rgba(255, 255, 255, .88);
}

.hc-hero__wordmark {
	margin: 0 0 clamp(20px, 3vw, 32px);
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	letter-spacing: var(--wordmark-tracking);
	font-size: clamp(56px, 11vw, 132px);
	line-height: 1;
}

.hc-hero__definition {
	margin: 0 0 18px;
	font-weight: 800;
	font-size: clamp(22px, 2.6vw, 34px);
	letter-spacing: -.015em;
	line-height: 1.15;
}

.hc-hero__lead {
	margin: 0 0 clamp(32px, 4vw, 44px);
	font-weight: 500;
	font-size: clamp(17px, 1.5vw, 21px);
	line-height: 1.5;
	max-width: 46ch;
	color: rgba(255, 255, 255, .94);
}

.hc-hero__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.hc-hero__aside {
	font-size: 14px;
	font-style: italic;
	color: rgba(255, 255, 255, .82);
}

/* Hero sits on gradient — give focus rings a white halo for contrast. */
.hc-hero :focus-visible {
	outline-color: #fff;
	box-shadow: 0 0 0 6px rgba(37, 99, 235, .85);
}

/* ---------- 2 · Provocation ---------- */
.hc-provocation__heading {
	margin: 0 0 clamp(36px, 5vw, 56px);
	font-weight: 800;
	font-size: clamp(30px, 4vw, 56px);
	letter-spacing: -.02em;
	line-height: 1.08;
	max-width: 20ch;
}

.hc-provocation__heading--tight { margin-bottom: 18px; max-width: none; }

/* The 49/51 device */
.hc-split {
	margin-top: clamp(48px, 6vw, 72px);
	display: grid;
	grid-template-columns: 49fr 51fr;
	gap: 6px;
	align-items: stretch;
}

.hc-split__cell {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 24px;
	border-radius: var(--radius-sm);
}

.hc-split__cell--taught {
	background: var(--surface);
	border: 1px solid var(--border);
}

.hc-split__cell--untaught {
	position: relative;
	overflow: hidden;
	color: var(--paper);
}

.hc-split__gradient {
	position: absolute;
	inset: 0;
	background: var(--grad-hearth);
	background-size: 200% 200%;
	animation: bvh-grad-shift 22s var(--ease) infinite;
}

/* .3 in the prototype; .42 keeps the 12px mono label AA over the
   amber stop of the animated gradient. */
.hc-split__scrim {
	position: absolute;
	inset: 0;
	background: rgba(7, 11, 22, .42);
}

.hc-split__number {
	position: relative;
	font-family: var(--font-mono);
	font-size: clamp(24px, 3vw, 40px);
	font-weight: 700;
}

.hc-split__cell--taught .hc-split__number { color: var(--text-muted); }

.hc-split__label {
	position: relative;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.hc-split__cell--untaught .hc-split__label { color: rgba(255, 255, 255, .92); }

/* ---------- 3 · What it is ---------- */
.hc-pills {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin: 28px 0;
	padding: 0;
	list-style: none;
}

.hc-pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 9px 18px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--border);
	font-family: var(--font-mono);
	font-size: 14px;
	color: var(--text-muted);
}

.hc-pill--active {
	border-color: var(--accent);
	color: var(--text);
	font-weight: 600;
}

.hc-signature {
	margin: clamp(44px, 6vw, 64px) 0;
	font-weight: 800;
	font-size: clamp(26px, 3.2vw, 44px);
	letter-spacing: -.02em;
	line-height: 1.18;
	max-width: 22ch;
}

/* ---------- 4 · What it is not ---------- */
.hc-nots {
	margin: 0;
	max-width: 72ch;
}

.hc-nots__row {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 24px;
	padding: 26px 0;
	border-top: 1px solid var(--border);
	align-items: baseline;
}

.hc-nots__name {
	font-weight: 800;
	font-size: 17px;
	line-height: 1.3;
}

.hc-nots__body {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--text-muted);
}

.hc-lineage {
	margin-top: clamp(44px, 5vw, 60px);
	padding: var(--space-6);
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--border);
	max-width: 72ch;
}

.hc-lineage__label {
	margin: 0 0 14px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.hc-lineage__body {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--text-muted);
}

.hc-lineage__body strong { color: var(--text); }

/* ---------- 5 · Why now ---------- */
.hc-forces {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.hc-force {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: var(--space-6);
	border-top: 2px solid var(--border-strong);
}

.hc-force__index {
	font-family: var(--font-mono);
	font-size: var(--fs-small);
	color: var(--text-muted);
}

.hc-force__title {
	margin: 0;
	font-weight: 800;
	font-size: 20px;
	line-height: 1.25;
}

.hc-force__body {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-muted);
}

/* ---------- 6 · The four stances (the centrepiece) ---------- */
.hc-stances {
	width: 100%;
	border-collapse: collapse;
	display: grid;
	gap: 10px;
}

.hc-stances thead,
.hc-stances tbody { display: contents; }

.hc-stances tr {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1.4fr 1.4fr;
	gap: 20px;
	align-items: baseline;
}

.hc-stances__head {
	padding: 0 var(--space-6) 12px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.hc-stances__head th {
	font-weight: 400;
	text-align: left;
	padding: 0;
}

.hc-stances__row {
	padding: var(--space-5) var(--space-6);
	border-radius: var(--radius-sm);
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--text-muted);
}

.hc-stances__row th,
.hc-stances__row td {
	padding: 0;
	text-align: left;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
}

.hc-stances__name {
	font-weight: 800 !important;
	font-size: 19px !important;
	color: var(--text);
}

/* Host row — resolved, foregrounded, on the Hearth gradient */
.hc-stances__row--host {
	position: relative;
	overflow: hidden;
	border: 0;
	border-radius: var(--radius);
	padding: var(--space-6);
	color: var(--paper);
	box-shadow: var(--shadow);
}

.hc-stances__row--host::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--grad-hearth);
	background-size: 200% 200%;
	animation: bvh-grad-shift 22s var(--ease) infinite;
}

.hc-stances__row--host::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(7, 11, 22, .38);
}

.hc-stances__row--host th,
.hc-stances__row--host td {
	position: relative;
	z-index: 1;
	font-weight: 600;
	color: var(--paper);
}

.hc-stances__name--host {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600 !important;
	letter-spacing: -.02em;
	font-size: 26px !important;
}

/* Mobile data labels — hidden on desktop */
.hc-stances td::before {
	content: attr(data-label);
	display: none;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 3px;
}

.hc-stances__row--host td::before { color: rgba(255, 255, 255, .78); }

/* ---------- 7 · The shape of the craft ---------- */
.hc-group-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.hc-foundations {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: clamp(40px, 5vw, 56px);
}

.hc-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-6);
}

.hc-card__title {
	margin: 0 0 10px;
	font-weight: 800;
	font-size: 20px;
}

.hc-card__body {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-muted);
}

.hc-card__body em { color: var(--text); }

.hc-arts {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}

.hc-card--art {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: var(--space-5);
	min-height: 150px;
	text-decoration: none;
	color: inherit;
	transition: border-color var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease), box-shadow var(--dur-ui) var(--ease);
}

/* Only linked art cards (future pages) get hover motion */
a.hc-card--art:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.hc-card--art .hc-dot { width: 9px; height: 9px; }
.hc-card__title--art { margin: 0; font-size: 18px; }
.hc-card__body--art { font-size: 14px; line-height: 1.55; }

/* ---------- 8 · Who it's for ---------- */
.hc-recognition {
	display: grid;
	grid-template-columns: minmax(0, 60ch);
	gap: 26px;
	font-size: clamp(19px, 1.8vw, 24px);
	line-height: 1.5;
	font-weight: 500;
}

.hc-recognition p { margin: 0; }

.hc-payoff {
	margin: clamp(56px, 7vw, 88px) 0 0;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	letter-spacing: -.025em;
	font-size: clamp(26px, 3.6vw, 50px);
	line-height: 1.2;
	max-width: 24ch;
}

/* ---------- 9 · The steward ---------- */
.hc-quote {
	margin: clamp(44px, 5vw, 64px) 0;
	padding: 0 0 0 26px;
	border-left: 3px solid var(--accent);
	max-width: 60ch;
}

.hc-quote p {
	margin: 0 0 12px;
	font-size: clamp(19px, 1.8vw, 24px);
	line-height: 1.45;
	font-weight: 500;
	font-style: italic;
}

.hc-quote__cite {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono);
	font-size: var(--fs-small);
	font-style: normal;
	color: var(--text-muted);
}

/* ---------- 10 · The workshop ---------- */
.hc-fieldnotes {
	margin: 0 0 clamp(40px, 5vw, 52px);
	padding: 0;
	list-style: none;
	max-width: 76ch;
	border-bottom: 1px solid var(--border);
}

.hc-fieldnote { border-top: 1px solid var(--border); }

.hc-fieldnote__link {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 18px;
	align-items: baseline;
	padding: 22px 8px;
	text-decoration: none;
	color: var(--text);
	border-radius: var(--radius-sm);
	transition: background var(--dur-ui) var(--ease);
}

.hc-fieldnote__link:hover { background: var(--surface); }

.hc-fieldnote__index {
	font-family: var(--font-mono);
	font-size: var(--fs-small);
	color: var(--text-muted);
}

.hc-fieldnote__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hc-fieldnote__title {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.35;
}

.hc-fieldnote__link:hover .hc-fieldnote__title { color: var(--accent); }

.hc-fieldnote__note {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-muted);
	font-style: italic;
}

.hc-fieldnote__arrow {
	font-family: var(--font-mono);
	font-size: var(--fs-small);
	color: var(--accent);
	transition: transform var(--dur-ui) var(--ease);
}

.hc-fieldnote__link:hover .hc-fieldnote__arrow { transform: translateX(4px); }

/* ---------- 11 · Closing + contact ---------- */
.hc-section--closing .hc-container {
	padding-bottom: clamp(64px, 8vw, 100px);
}

.hc-dots-resolve {
	display: inline-flex;
	gap: 7px;
	margin-bottom: 28px;
}

.hc-dots-resolve span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}

.hc-dots-resolve span:nth-child(2) { opacity: .7; }
.hc-dots-resolve span:nth-child(3) { opacity: .45; }
.hc-dots-resolve span:nth-child(4) { opacity: .25; }
.hc-dots-resolve span:nth-child(5) { opacity: .12; }

.hc-closing__title {
	margin: 0 0 22px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	letter-spacing: -.03em;
	font-size: clamp(32px, 5vw, 64px);
	line-height: 1.1;
}

.hc-closing__body {
	margin: 0 auto 40px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-muted);
	max-width: 52ch;
}

.hc-closing__invite {
	margin: 0 auto 32px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-muted);
	max-width: 56ch;
}

.hc-closing__invite strong { color: var(--text); }

/* ---------- Footer ---------- */
.hc-footer {
	position: relative;
	overflow: hidden;
}

.hc-footer__gradient {
	position: absolute;
	inset: 0;
	background: var(--grad-hearth);
	background-size: 200% 200%;
	animation: bvh-grad-shift 26s var(--ease) infinite;
	opacity: .94;
}

.hc-footer__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(7, 11, 22, .3), rgba(7, 11, 22, .55));
}

.hc-footer__inner {
	position: relative;
	max-width: var(--content-max);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 88px) var(--pad);
	color: var(--paper);
}

.hc-footer__statement {
	display: block;
	margin-bottom: 28px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(40px, 8vw, 88px);
	letter-spacing: var(--wordmark-tracking);
	line-height: 1;
}

.hc-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 64px;
	justify-content: space-between;
	align-items: flex-end;
}

.hc-footer__blurb {
	margin: 0;
	line-height: 1.6;
	color: rgba(255, 255, 255, .92);
	font-size: 16px;
	max-width: 42ch;
}

.hc-footer__version {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .06em;
	color: rgba(255, 255, 255, .85);
}

.hc-footer__dots { display: inline-flex; gap: 4px; }

.hc-footer__dots span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
}

.hc-footer__dots span:nth-child(2) { background: rgba(255, 255, 255, .5); }
.hc-footer__dots span:nth-child(3) { background: rgba(255, 255, 255, .3); }

.hc-footer :focus-visible {
	outline-color: #fff;
	box-shadow: 0 0 0 6px rgba(37, 99, 235, .85);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1000px) {
	.hc-arts { grid-template-columns: repeat(2, 1fr); }
	.hc-card--art { min-height: 0; }
}

@media (max-width: 900px) {
	.hc-forces { grid-template-columns: 1fr; gap: 32px; }

	/* Stance table → stacked cards; header row hidden visually
	   (semantics preserved), per-cell labels shown instead. */
	.hc-stances__head {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.hc-stances tr {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hc-stances td::before { display: block; }
	.hc-stances td { display: block; }
}

@media (max-width: 760px) {
	.hc-nav__menu-toggle { display: inline-flex; }

	.hc-nav__links {
		display: none;
		position: absolute;
		top: var(--nav-height);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 10px var(--pad) 18px;
		background: var(--nav-bg);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--border);
	}

	.hc-nav__links.is-open { display: flex; }

	.hc-nav__link {
		padding: 14px 4px;
		border-bottom: 1px solid var(--border);
	}

	.hc-nav__cta {
		margin-top: 14px;
		justify-content: center;
		min-height: 48px;
	}

	.hc-foundations { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.hc-split { grid-template-columns: 1fr; }
	.hc-nots__row { grid-template-columns: 1fr; gap: 8px; }
	.hc-arts { grid-template-columns: 1fr; }
	.hc-fieldnote__link { grid-template-columns: auto 1fr; }
	.hc-fieldnote__arrow { display: none; }
}

/* ============================================================
   Reduced motion — gradients hold a calm static still; nothing
   scrolls, lifts, or shifts.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;

	}

	.hc-btn:hover,
	a.hc-card--art:hover,
	.hc-fieldnote__link:hover .hc-fieldnote__arrow {
		transform: none;
	}
}

/* ============================================================
   Print — the manifesto should read on paper too.
   ============================================================ */
@media print {
	.hc-nav, .hc-theme-toggle, .hc-skip-link { display: none; }
	.hc-hero__gradient, .hc-footer__gradient { animation: none; }
	body { background: #fff; color: #000; }
}
