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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--text-base);
	font-weight: var(--weight-regular);
	line-height: var(--leading-normal);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-sans);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-snug);
	letter-spacing: var(--tracking-normal);
	color: var(--color-text);
}

/* Cormorant Garamond is reserved for H1/H2 and major editorial moments (.editorial-heading, .luxury-highlight) — everything else, including H3-H6, stays on Inter for readability. */
h1,
h2 {
	font-family: var(--font-serif);
	font-weight: var(--weight-medium);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
}

h1 {
	font-size: var(--text-display);
}

h2 {
	font-size: var(--text-3xl);
}

h3 {
	font-size: var(--text-2xl);
}

h4 {
	font-size: var(--text-xl);
}

h5 {
	font-size: var(--text-lg);
}

h6 {
	font-size: var(--text-base);
	text-transform: uppercase;
	letter-spacing: var(--tracking-wider);
}

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

.editorial-heading {
	font-family: var(--font-serif);
	font-weight: var(--weight-medium);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
}

.luxury-highlight {
	font-family: var(--font-serif);
	font-style: italic;
	color: var(--color-accent);
}

.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;
}

.skip-link.screen-reader-text:focus {
	position: fixed;
	top: var(--space-sm);
	left: var(--space-sm);
	z-index: var(--z-toast);
	width: auto;
	height: auto;
	clip: auto;
	padding: var(--space-xs) var(--space-sm);
	background-color: var(--color-surface);
	color: var(--color-text);
	border-radius: var(--radius-small);
	box-shadow: var(--shadow-elevated);
}

a {
	color: inherit;
	text-decoration-color: var(--color-accent);
	text-underline-offset: 0.2em;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--color-accent-hover);
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}

:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 2px;
}

::selection {
	background-color: var(--color-accent-soft);
	color: var(--color-text);
}

@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;
	}
}
