/* Base Start: Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
/* Base End: Fonts */

/* Base Start: Design Tokens */
:root {
	--miele-red: #b71c1c;
	--miele-accent: #8b0000;
	--miele-dark: #1a1a1a;
	--miele-warm: #f8f6f3;
	--gray-900: #111827;
	--gray-800: #1f2937;
	--gray-700: #374151;
	--gray-600: #4b5563;
	--gray-500: #6b7280;
	--gray-400: #9ca3af;
	--gray-300: #d1d5db;
	--gray-200: #e5e7eb;
	--gray-100: #f3f4f6;
	--gray-50: #f9fafb;
	--white: #ffffff;
	--shadow-card: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
	--radius-xl: 0.75rem;
	--radius-2xl: 1rem;
	--radius-3xl: 1.5rem;
	--container: 80rem;
	--font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
	--font-body: 'DM Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
/* Base End: Design Tokens */

/* Base Start: Reset and Document */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font-body);
	background: var(--miele-warm);
	color: var(--miele-dark);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: inherit;
	text-decoration: none;
}
/* Base End: Reset and Document */

/* Base Start: Typography */
h1,
h2 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: 0.01em;
	margin: 0 0 0.5rem;
}

h1 {
	font-size: clamp(2.5rem, 4vw, 3.75rem);
	line-height: 1.1;
}

h2 {
	font-size: clamp(2rem, 3vw, 2.75rem);
	line-height: 1.15;
}

h3 {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.3;
	margin: 0 0 0.5rem;
}

p {
	margin: 0;
	color: var(--gray-600);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	background: var(--miele-dark);
	color: var(--white);
	padding: 0.5rem 1rem;
	border-radius: 999px;
	z-index: 1000;
}

.skip-link:focus {
	top: 1rem;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex: 1;
	padding-top: 4rem;
}

.admin-bar .site-header {
	top: 32px;
}

.admin-bar .site-content {
	padding-top: calc(4rem + 32px);
}

.site-main {
	display: block;
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section {
	padding: 6rem 0;
	position: relative;
}

.grain::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 0);
	background-size: 3px 3px;
	opacity: 0.25;
	pointer-events: none;
}

.section-light {
	background: var(--white);
}

.section-warm {
	background: var(--miele-warm);
}

.section-dark {
	background: var(--miele-dark);
	color: var(--white);
}

.section-gradient {
	background: linear-gradient(180deg, var(--miele-warm) 0%, var(--white) 100%);
}

.section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.section-header p {
	max-width: 36rem;
	margin: 0.75rem auto 0;
}

.section-header--split {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: flex-start;
	justify-content: space-between;
	text-align: left;
}

.section-header--split h2 {
	margin-bottom: 0;
}

.section-header.centered {
	align-items: center;
}

.eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--miele-red);
}

.section-lead {
	margin: 1rem 0 2rem;
	font-size: 1.1rem;
	color: var(--gray-400);
}

.section-lead--dark {
	color: var(--gray-600);
}
/* Base End: Typography */
