:root {
	--ink: #22201e;
	--muted: #56514b;
	--paper: #fffdfa;
	--orange: #ff9800;
	--line: #e4ddd3;
	--heading: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 1rem / 1.6 Roboto, Arial, sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #a34c00; outline-offset: 4px; }
p { margin: 0; }

.wrap {
	width: min(72rem, calc(100% - 3rem));
	margin-inline: auto;
}

.site-header { background: #fff; }

.header-inner,
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
}

.header-inner { min-height: 5.375rem; padding-block: .5rem; }
.header-inner img { height: auto; }
.back-link { font-weight: 700; font-size: .9375rem; padding-block: .5rem; }
.back-link span { margin-right: .25em; }

.intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--ink);
	color: white;
}

.intro-copy {
	width: min(36rem, calc(100% - 1.5rem));
	padding: clamp(2.5rem, 5.75vw, 5.25rem) clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 5.75vw, 5.25rem) 0;
	margin-left: auto;
	align-self: center;
}

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

h1 { font-size: clamp(3.5rem, 7.5vw, 7rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.25rem); }
h3 { font-size: 1.7rem; }

.intro-copy > p {
	max-width: 29rem;
	margin-top: 1.1rem;
	color: #f4ece4;
	font-size: clamp(1.125rem, 1.6vw, 1.31rem);
}

.intro-copy .access-note {
	margin-top: 1.5rem;
	padding-left: .9rem;
	border-left: 4px solid var(--orange);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
}

.intro-photo {
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: 33rem;
	object-fit: cover;
	object-position: 50% 44%;
}

.steps { padding-block: clamp(2.5rem, 5vw, 4rem); }

.step-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.75vw, 2.25rem);
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: steps;
}

.step-list li {
	display: grid;
	grid-template-columns: 2rem 1fr;
	grid-template-rows: auto 1fr;
	align-items: start;
	gap: .65rem .75rem;
	border-top: 1px solid var(--line);
	padding-top: 1rem;
	counter-increment: steps;
}

.step-list li::before {
	content: counter(steps);
	content: counter(steps) / "";
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	background: var(--orange);
	border-radius: 50%;
	font-weight: 700;
	line-height: 1;
}

.step-list h3 { align-self: center; }
.step-list p { grid-column: 2; color: var(--muted); }
.step-list a { font-weight: 700; white-space: nowrap; }

.next {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.25rem, 3.5vw, 2.5rem);
	background: #fff1dc;
	border: 1px solid #f2d7ad;
	border-radius: .75rem;
}

.timing h2 { font-size: clamp(1.95rem, 3vw, 2.6rem); }
.timing p { margin-top: .7rem; max-width: 44rem; }
.actions { display: grid; gap: .65rem; }

.button {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: .6rem;
	min-height: 3rem;
	padding: .6rem 1rem;
	border: 1px solid transparent;
	border-radius: .35rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.button-primary { background: var(--orange); }
.button-primary:hover { background: #ffc16a; }
.button-secondary { border-color: #9f8461; }
.button-secondary:hover { background: #ffe3b7; }

.site-footer {
	background: var(--ink);
	color: #f2eae1;
	font-size: .9375rem;
}

.footer-inner { padding-block: 1.25rem; }
.site-footer a { padding-block: .5rem; }
.site-footer a:focus-visible { outline-color: var(--orange); }

@media (max-width: 48rem) {
	.intro, .step-list, .next { grid-template-columns: 1fr; }
	.intro-copy { width: auto; margin: 0; padding: 2.5rem 1.5rem; }
	.intro-photo { height: auto; aspect-ratio: 16 / 9; max-height: 24rem; }
	.step-list { gap: 1.1rem; }
}

@media (max-width: 30rem) {
	.wrap { width: calc(100% - 2rem); }
	.header-inner { min-height: 4.5rem; }
	.header-inner img { width: 8rem; }
	.back-link { font-size: .8125rem; }
	.intro-copy { padding-inline: 1rem; }
}
