/* ==========================================================================
   Base: reset, custom properties, typography
   ========================================================================== */

:root {
	--bg-black: #0a0a0a;
	--bg-black-soft: #121212;
	--surface: #16161a;
	--text-light: #f5f4f2;
	--text-muted: #a8a6a2;
	--gold: #c9a24b;
	--gold-soft: #e8c97a;

	--glass-bg: rgba(255, 255, 255, 0.06);
	--glass-bg-strong: rgba(255, 255, 255, 0.1);
	--glass-border: rgba(255, 255, 255, 0.14);
	--glass-blur: 16px;

	--neu-light: rgba(255, 255, 255, 0.05);
	--neu-dark: rgba(0, 0, 0, 0.6);

	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 24px;
	--radius-pill: 999px;

	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--space-2xl: 7rem;

	--container-width: 1200px;

	--font-heading: 'Playfair Display', Georgia, serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;

	--transition-fast: 180ms ease;
	--transition-med: 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Grid/flex items default to min-width:auto, which lets long text or
   intrinsically-sized controls (date/time inputs, etc.) force the row
   wider than its container. Let them shrink instead. */
.rl-grid > *,
.rl-quote-form__row > *,
.site-footer__inner > *,
.primary-nav,
.primary-nav__list > *,
.rl-hero-slide__inner > * {
	min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	background-color: var(--bg-black);
	color: var(--text-light);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

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

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

button {
	font-family: inherit;
	cursor: pointer;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	line-height: 1.15;
	margin: 0 0 var(--space-sm);
	font-weight: 700;
}

h1 {
	font-size: clamp(2.25rem, 5vw + 1rem, 4.25rem);
}

h2 {
	font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem);
}

p {
	margin: 0 0 var(--space-sm);
	color: var(--text-muted);
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: var(--space-md);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute !important;
	word-wrap: normal !important;
}

.rl-section {
	padding-block: var(--space-2xl);
}

.rl-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.8rem;
	color: var(--gold);
	font-weight: 600;
	margin-bottom: var(--space-xs);
}
