@font-face {
	font-family: 'Source Sans Pro';
	src: url('fonts/source-sans-3-regular.woff2') format('woff2');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'Source Sans Pro';
	src: url('fonts/source-sans-3-semibold.woff2') format('woff2');
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: 'Source Sans Pro';
	src: url('fonts/source-sans-3-bold.woff2') format('woff2');
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: 'Rosmie';
	src: url('fonts/rosmie-bold.woff') format('woff');
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

:root {
	color-scheme: light;
	--quartz: #f4f0e6;
	--loam: #2e312a;
	--banksia: #6e7659;
	--waterloo: #c0e5e4;
	--rust: #b9784f;
	--body-font: 'Source Sans Pro', system-ui, sans-serif;
	--display-font: 'Rosmie', Georgia, serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--quartz);
	color: var(--loam);
	font-family: var(--body-font);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
}

a {
	color: inherit;
}

button,
input {
	font: inherit;
}

.skip-link,
.visually-hidden {
	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:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 12px;
	padding: 10px 16px;
	background: var(--quartz);
	color: var(--loam);
	z-index: 20;
}

.site-header {
	background: var(--loam);
	color: var(--quartz);
}

.site-header__inner,
.site-footer__inner {
	width: min(100% - 64px, 1296px);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-header__inner {
	min-height: 92px;
	gap: 24px;
}

.brand {
	line-height: 0;
}

.brand img {
	display: block;
	width: clamp(230px, 25vw, 320px);
	height: auto;
}

.header-note,
.eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.header-note {
	color: var(--quartz);
}

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(590px, calc(100svh - 92px));
	background-color: var(--loam);
	background-image:
		linear-gradient(90deg, rgba(23, 27, 23, .48) 0%, rgba(23, 27, 23, .12) 70%),
		linear-gradient(0deg, rgba(23, 27, 23, .86) 0%, rgba(23, 27, 23, .4) 40%, rgba(23, 27, 23, .02) 82%),
		url('assets/prom-beach.jpg');
	background-position: center;
	background-size: cover;
	color: var(--quartz);
}

.hero__inner {
	width: min(100% - 64px, 1296px);
	margin: 0 auto;
	padding-block: 48px;
}

.hero__eyebrow {
	margin-bottom: 18px;
	color: var(--waterloo);
}

.hero h1,
.story-signup h2,
.signup-card h2,
.open-now h2 {
	font-family: var(--display-font);
	font-weight: 700;
}

.hero h1 {
	max-width: 820px;
	margin: 0;
	font-size: clamp(60px, 7vw, 100px);
	letter-spacing: -.025em;
	line-height: .87;
	text-wrap: balance;
}

.hero__standfirst {
	max-width: 680px;
	margin: 22px 0 0;
	font-size: clamp(19px, 2vw, 23px);
	line-height: 1.5;
}

.hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px 28px;
	margin-top: 26px;
}

.button {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 12px 23px;
	border: 0;
	border-radius: 2px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .16s ease, color .16s ease, transform .16s ease;
	cursor: pointer;
}

.button:hover {
	transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible,
.signup-form input:focus-visible {
	outline: 3px solid var(--rust);
	outline-offset: 4px;
}

.button--light {
	background: var(--quartz);
	color: var(--loam);
}

.button--light:hover {
	background: var(--waterloo);
	color: var(--loam);
}

.text-link {
	font-size: 16px;
	font-weight: 700;
	text-underline-offset: 5px;
}

.text-link--light {
	color: var(--quartz);
}

.section-wrap,
.open-now__inner {
	width: min(100% - 64px, 1296px);
	margin-inline: auto;
}

.story-signup {
	display: grid;
	grid-template-columns: minmax(0, .93fr) minmax(0, 1fr);
	align-items: center;
	column-gap: clamp(42px, 8vw, 120px);
	padding-block: 48px;
}

.story-signup__story {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.story-signup .eyebrow,
.open-now .eyebrow {
	margin-bottom: 20px;
	color: var(--banksia);
}

.story-signup h2,
.open-now h2 {
	margin: 0;
	font-size: clamp(42px, 5vw, 60px);
	letter-spacing: -.02em;
	line-height: .98;
	text-wrap: balance;
}

.story__copy p,
.open-now__copy p {
	margin: 0 0 18px;
}

.story__copy p:last-child,
.open-now__copy p:last-child {
	margin-bottom: 0;
}

.signup-card {
	position: relative;
	overflow: hidden;
	padding: clamp(30px, 3.5vw, 46px);
	border-radius: 24px;
	background: var(--loam);
	color: var(--quartz);
	box-shadow: 0 18px 48px rgba(46, 49, 42, .16);
}

.signup-card::before {
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	border-radius: 24px 24px 0 0;
	background: var(--rust);
	content: '';
}

.signup-card__wilson {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 60px;
	height: auto;
}

.eyebrow--aqua {
	max-width: calc(100% - 74px);
	margin: 0 0 12px;
	color: var(--waterloo);
}

.signup-card h2 {
	width: calc(100% - 68px);
	max-width: 13ch;
	margin: 0 0 18px;
	font-size: clamp(36px, 3.6vw, 46px);
	letter-spacing: -.025em;
	line-height: .98;
}

.signup-card__details {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.55;
}

.signup-form__row {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.signup-form input {
	width: 100%;
	min-height: 56px;
	padding: 14px 16px;
	border: 1px solid rgba(244, 240, 230, .6);
	border-radius: 2px;
	background: var(--quartz);
	color: var(--loam);
	font-size: 16px;
}

.signup-form input::placeholder {
	color: #55584f;
	opacity: 1;
}

.button--aqua {
	background: var(--waterloo);
	color: var(--loam);
}

.button--aqua:hover {
	background: #d7efee;
	color: var(--loam);
}

.signup-form__microcopy {
	margin: 12px 0 0;
	color: rgba(244, 240, 230, .78);
	font-size: 14px;
	line-height: 1.45;
}

.signup-card__fine-print {
	margin: 14px 0 0;
	color: rgba(244, 240, 230, .7);
	font-size: 13px;
	line-height: 1.4;
}

.signup-success {
	margin: 0;
	color: var(--waterloo);
	font-size: 18px;
	font-weight: 700;
}

.open-now {
	background: var(--waterloo);
}

.open-now__inner {
	display: grid;
	grid-template-columns: minmax(0, .93fr) minmax(0, 1fr);
	column-gap: clamp(42px, 8vw, 120px);
	padding-block: 48px;
}

.open-now h2 {
	font-size: clamp(40px, 4.8vw, 58px);
}

.open-now__copy {
	align-self: end;
	padding-bottom: 4px;
}

.placeholder {
	padding: 0 3px 1px;
	border-bottom: 1px dashed rgba(46, 49, 42, .72);
	font-weight: 700;
	white-space: nowrap;
}

.open-now__hours {
	grid-column: 1 / -1;
	margin: 42px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(46, 49, 42, .24);
	font-size: 20px;
	font-weight: 700;
}

.site-footer {
	background: var(--loam);
	color: var(--quartz);
}

.site-footer__inner {
	min-height: 100px;
	gap: 24px;
}

.site-footer img {
	display: block;
	width: 220px;
}

.site-footer p {
	margin: 0;
	font-size: 14px;
}

@media (min-width: 900px) {
	.signup-form__row {
		flex-direction: row;
	}

	.signup-form__row input {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}

	.signup-form__row .button {
		flex: 0 0 auto;
	}
}

@media (max-width: 900px) {
	.hero__inner {
		padding-block: 44px;
	}

	.story-signup {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-block: 44px;
	}

	.signup-card {
		width: min(100%, 680px);
		margin-left: auto;
	}

	.open-now__inner {
		grid-template-columns: 1fr 1fr;
		gap: 34px;
		padding-block: 44px;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 17px;
	}

	.site-header__inner,
	.site-footer__inner,
	.hero__inner,
	.section-wrap,
	.open-now__inner {
		width: min(100% - 40px, 1296px);
	}

	.site-header__inner {
		min-height: 70px;
	}

	.brand img {
		width: min(58vw, 250px);
	}

	.header-note {
		max-width: 118px;
		font-size: 10px;
		text-align: right;
	}

	.hero {
		min-height: 540px;
		min-height: min(610px, calc(100svh - 70px));
		background-position: 57% center;
		background-image:
			linear-gradient(90deg, rgba(23, 27, 23, .28), rgba(23, 27, 23, .02)),
			linear-gradient(0deg, rgba(23, 27, 23, .9) 0%, rgba(23, 27, 23, .52) 43%, rgba(23, 27, 23, .04) 86%),
			url('assets/prom-beach.jpg');
	}

	.hero__inner {
		padding-block: 36px;
	}

	.hero__eyebrow {
		max-width: 230px;
		margin-bottom: 14px;
		font-size: 10px;
	}

	.hero h1 {
		font-size: clamp(58px, 14vw, 78px);
	}

	.hero__standfirst {
		margin-top: 18px;
		font-size: 18px;
	}

	.hero__actions {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
		margin-top: 22px;
	}

	.story-signup {
		gap: 30px;
		padding-block: 36px;
	}

	.story-signup__story {
		gap: 20px;
	}

	.story-signup .eyebrow,
	.open-now .eyebrow {
		margin-bottom: 14px;
		font-size: 10px;
	}

	.story-signup__story h2,
	.open-now h2 {
		font-size: clamp(40px, 11vw, 52px);
	}

	.story__copy p,
	.open-now__copy p {
		margin-bottom: 16px;
	}

	.signup-card {
		padding: 28px 24px;
	}

	.signup-card__wilson {
		top: 24px;
		right: 24px;
		width: 52px;
	}

	.signup-card h2 {
		font-size: clamp(34px, 9vw, 42px);
	}

	.signup-card__details {
		font-size: 15px;
	}

	.signup-form__row .button {
		width: 100%;
		justify-content: space-between;
	}

	.signup-form__microcopy {
		font-size: 13px;
	}

	.open-now__inner {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-block: 36px;
	}

	.open-now__hours {
		margin-top: 12px;
		padding-top: 16px;
		font-size: 18px;
	}

	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		gap: 14px;
		min-height: 120px;
	}

	.site-footer img {
		width: 200px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
	}
}
