/* ==========================================================================
   Design-System — Editorial Authority
   Ink Navy + Brass Gold + Paper Ecru + Slate Grey · Fraunces + Source Sans 3
   ========================================================================== */

:root {
	--ink: oklch(22% 0.035 258);
	--ink-soft: oklch(30% 0.03 258);
	--brass: oklch(58% 0.11 75);
	--brass-deep: oklch(44% 0.095 70);
	--paper: oklch(96% 0.012 85);
	--paper-raised: oklch(99% 0.004 85);
	--slate: oklch(52% 0.016 258);
	--slate-soft: oklch(68% 0.012 258);
	--line: oklch(86% 0.012 85);
	--line-strong: oklch(78% 0.014 85);

	--radius: 2px;
	--radius-feature: 50%;

	--font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
	--font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--text-xs: 0.8125rem;
	--text-sm: 0.9375rem;
	--text-base: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
	--text-md: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--text-lg: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
	--text-xl: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
	--text-hero: clamp(2.75rem, 1.7rem + 4.6vw, 5.25rem);

	--space-3xs: 0.5rem;
	--space-2xs: 1rem;
	--space-xs: 1.5rem;
	--space-s: 2rem;
	--space-m: 4rem;
	--space-l: 6rem;
	--space-xl: 8rem;
	--space-2xl: 10rem;

	--container-max: 1360px;
	--duration: 220ms;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	color-scheme: light;
}

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

html {
	overflow-x: hidden;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

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

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

.icon {
	width: 1.4em;
	height: 1.4em;
	max-width: 32px;
	max-height: 32px;
	flex: 0 0 auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.12;
	margin: 0;
	text-wrap: pretty;
	letter-spacing: -0.01em;
}

p {
	margin: 0;
	text-wrap: pretty;
}

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--brass-deep);
	outline-offset: 3px;
}

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

.section-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brass-deep);
	margin-bottom: var(--space-2xs);
}

.section-title {
	font-size: var(--text-xl);
	color: var(--ink);
	max-width: 20ch;
}

.section-body {
	font-size: var(--text-md);
	color: var(--slate);
	max-width: 62ch;
	margin-top: var(--space-xs);
}

.section-head {
	margin-bottom: var(--space-m);
}

.section-head--left {
	text-align: left;
}

.section-head--right {
	text-align: right;
	margin-left: auto;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.95em 1.9em;
	border-radius: var(--radius);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: 0.01em;
	min-height: 44px;
	transition: transform var(--duration) var(--ease-out), background-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

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

.btn--primary:hover {
	background: var(--brass-deep);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -12px oklch(22% 0.035 258 / 0.35);
}

.btn--primary:active {
	transform: scale(0.98);
}

.btn--ghost {
	border: 1px solid var(--line-strong);
	color: var(--ink);
	background: transparent;
}

.btn--ghost:hover {
	border-color: var(--brass-deep);
	color: var(--brass-deep);
	transform: translateY(-2px);
}

.btn--ghost:active {
	transform: scale(0.98);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	color: var(--ink);
	border-bottom: 1px solid var(--line-strong);
	padding-bottom: 0.2em;
	transition: color var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), gap var(--duration) var(--ease-out);
}

.text-link:hover {
	color: var(--brass-deep);
	border-color: var(--brass-deep);
	gap: 0.6em;
}

.text-link .icon {
	width: 1.1em;
	height: 1.1em;
}
