/*
 * Birdie design system
 *
 * Tokens are grouped by purpose so a future page can stay in the same visual
 * language without copying component-specific values.
 */

:root {
	/* Color */
	--color-canvas: #f2eee6;
	--color-canvas-muted: #e8e8de;
	--color-canvas-soft: #e4e1d6;
	--color-ink: #1E2B24;
	--color-ink-soft: #65726a;
	--color-ink-muted: #6B6F68;
	--color-brand: #214836;
	--color-brand-deep: #214836;
	--color-brand-dark: #1b3528;
	--color-accent: #d9744a;
	--color-accent-dark: #c5643d;
	--color-accent-soft: #f1c9b7;
	--color-card-sand: #e9e5d9;
	--color-card-sage: #e0e8db;
	--color-card-rose: #e6dcd0;
	--color-white: #fffdf8;
	--color-border: #d6d5ca;
	--color-border-dark: rgba(23, 56, 44, 0.22);
	--color-focus: #8db59b;

	/* Typography */
	--font-body: "Manrope", "Inter", sans-serif;
	--font-display: "Inter", "Manrope", sans-serif;
	--font-editorial: "Playfair Display", Georgia, serif;
	--font-ticker: "DM Mono", monospace;
	--font-mono: "Inter", "Manrope", sans-serif;
	--font-size-body: 16px;
	--font-size-label: 10px;
	--font-size-small: 12px;
	--font-size-text: 14px;
	--font-size-h1: 116px;
	--font-size-h2: 72px;
	--font-size-h3: 32px;
	--line-height-body: 1.55;
	--line-height-tight: 0.95;
	--line-height-display: 0.98;

	/* Layout */
	--container-width: 1200px;
	--container-gutter: 120px;
	--header-height: 88px;
	--hero-height: 860px;
	--ticker-height: 48px;
	--section-space: 126px;
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;
	--space-9: 96px;
	--space-10: 128px;

	/* Shape and motion */
	--radius-sm: 2px;
	--radius-md: 4px;
	--shadow-soft: 0 12px 34px rgba(16, 45, 35, 0.08);
	--ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
	--transition-standard: 180ms var(--ease-standard);
}

@media (max-width: 1280px) {
	:root {
		--container-gutter: 106px;
		--hero-height: 770px;
		--section-space: 112px;
		--font-size-h1: 103px;
		--font-size-h2: 64px;
		--font-size-h3: 28px;
	}
}

@media (max-width: 960px) {
	:root {
		--container-gutter: 64px;
		--hero-height: 720px;
		--section-space: 96px;
		--font-size-h1: 84px;
		--font-size-h2: 56px;
	}
}

@media (max-width: 760px) {
	:root {
		--container-gutter: 16px;
		--header-height: 70px;
		--hero-height: 680px;
		--ticker-height: 38px;
		--section-space: 80px;
		--font-size-h1: 44px;
		--font-size-h2: clamp(32px, 10vw, 40px);
		--font-size-h3: 24px;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-canvas);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: var(--font-size-body);
	font-optical-sizing: auto;
	font-style: normal;
	line-height: var(--line-height-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.is-menu-open {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	border: 0;
	cursor: pointer;
}

::selection {
	background: var(--color-accent-soft);
	color: var(--color-ink);
}

:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 4px;
}

.site-container {
	width: min(100% - (var(--container-gutter) * 2), var(--container-width));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.eyebrow {
	margin: 0 0 var(--space-4);
	color: var(--color-accent);
	font-family: var(--font-mono);
	font-size: var(--font-size-label);
	font-weight: 500;
	letter-spacing: 0.17em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow--light {
	color: #e7a082;
}
