/* Base */

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.012em;

	/* Only real faces render: the sans has no italic, Cormorant no bold — no fakes. */
	font-synthesis: none;
	color: var(--ink);
	background: var(--cream-flat);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip; /* Prevent decorative overflow from creating horizontal scroll. */
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }

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

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

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

p { margin: 0 0 1em; }

/* Mixed-font heading accent */
:is(h1, h2, h3) :is(em, .accent) {
	font-family: var(--font-slogan);
	font-style: italic;
	font-weight: 600;
	font-size: 1em;      /* x-height parity comes from the face's size-adjust (fonts.css) */
	line-height: 1;
	letter-spacing: 0.005em;
	text-transform: none;
	color: var(--accent-heading);
}
:is(h1, h2, h3) :is(em, .accent).caps { font-size: 0.81em; }

/* The sans families have no italic face, so emphasis uses Cormorant. */
i, em, cite { font-family: var(--font-slogan); font-style: italic; }

.eyebrow {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold);
}

/* Italic voice. Default is a lead/standfirst paragraph; modifiers step the same scale. */
.slogan {
	font-family: var(--font-slogan);
	font-style: italic;
	font-weight: 600;
	font-size: var(--fs-slogan);
	line-height: 1.5;
}

.slogan--xl { font-size: var(--fs-slogan-xl); line-height: 1.25; }
.slogan--lg { font-size: var(--fs-slogan-lg); line-height: 1.4; }
.slogan--sm { font-size: var(--fs-slogan-sm); }
.slogan--xs { font-size: var(--fs-slogan-xs); line-height: 1.4; }

/* Layout */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--rail);
}

.section { padding-block: var(--section-y); }

.section-heading {
	max-width: var(--measure);
	margin-bottom: var(--section-head-gap);
}

.section-heading--center {
	margin-inline: auto;
	text-align: center;
}

/* Accessibility */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
}
.skip-link:focus {
	left: var(--rail);
	top: 8px;
	z-index: 100;
	padding: 8px 14px;
	border-radius: 6px;
	background: var(--ink);
	color: var(--cream);
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
