/* ======================================================================
   Marshall Hanson — Composite Dentistry Landing Page
   ====================================================================== */

/* === Variables === */
:root {
	/* Colors */
	--color-bg: #0a0a0a;
	--color-bg-alt: #111111;
	--color-card: #1a1a1a;
	--color-text: #faf8f5;
	--color-text-muted: #8a8a8a;
	--color-text-dim: #6b6b6b;
	--color-accent: #e8a45c;
	--color-border: rgba(250, 248, 245, 0.08);
	--color-border-strong: rgba(250, 248, 245, 0.16);

	/* Typography */
	--font-display: "Special Gothic Expanded One", sans-serif;
	--font-body: "Archivo", sans-serif;
	--tracking-wide: 0.2em;

	/* Spacing scale (rem-based, 1rem = 16px) */
	--space-xs: 0.25rem;
	--space-sm: 0.5rem;
	--space-sm-md: 0.75rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;
	--space-4xl: 6rem;
	--space-5xl: 8rem;
	--space-6xl: 10rem;

	/* Layout */
	--container-max: 90rem;
	--container-pad: var(--space-lg);
	--section-pad: var(--space-3xl);

	/* Motion */
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--transition-base: 500ms var(--ease-out);
}

@media (min-width: 40em) {
	:root {
		--container-pad: var(--space-2xl);
		--section-pad: 5rem;
	}
}

@media (min-width: 64em) {
	:root {
		--container-pad: var(--space-4xl);
	}
}

/* === Reset === */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	/* Anchor scrolling is eased by initSmoothAnchorScroll() in script.js,
	   so the browser's native jump is disabled here to avoid the two fighting. */
	scroll-behavior: auto;
}

body {
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.5;
	overflow-x: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	filter: grayscale(35%) contrast(1.05);
}

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

ul,
ol {
	list-style: none;
}

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

/* === Shared Layout === */
.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding-left: var(--container-pad);
	padding-right: var(--container-pad);
}

.eyebrow {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: var(--space-md);
}

.section-heading {
	margin-bottom: var(--space-2xl);
}

.section-heading__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.75rem, 4vw, 3rem);
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: var(--space-md) var(--space-xl);
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	border-radius: 0;
	transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
	white-space: nowrap;
}

.btn--outline {
	border: 1px solid var(--color-border-strong);
	color: var(--color-text);
}

.btn--outline:hover {
	background-color: var(--color-text);
	color: var(--color-bg);
}

.btn--solid {
	background-color: var(--color-text);
	color: var(--color-bg);
	border: 1px solid var(--color-text);
}

.btn--solid:hover {
	background-color: transparent;
	color: var(--color-text);
}

/* === Scroll Reveal (JS toggles .is-visible via IntersectionObserver) === */
.reveal {
	opacity: 0;
	transform: translateY(1.5rem);
	transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* === Nav === */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background-color: rgba(10, 10, 10, 0.55);
	border-bottom: 1px solid var(--color-border);
	-webkit-backdrop-filter: blur(1.25rem);
	backdrop-filter: blur(1.25rem);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4.5rem;
}

.site-header__logo {
	display: flex;
	align-items: center;
}

.site-header__logo-img {
	height: 1rem;
	width: auto;
	/* Override the global photo-grade filter (img{grayscale/contrast}) so the
	   logo mark stays crisp rather than being treated like photography. */
	filter: none;
}

.site-header__nav {
	display: none;
	align-items: center;
	gap: var(--space-xl);
}

.site-header__link {
	font-size: 0.65rem;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text);
	opacity: 0.6;
	transition: opacity var(--transition-base);
}

.site-header__link:hover {
	opacity: 1;
}

.site-header__toggle {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	width: 2.75rem;
	height: 2.75rem;
	align-items: center;
	justify-content: center;
}

.site-header__toggle-bar {
	display: block;
	width: 1.375rem;
	height: 1px;
	background-color: var(--color-text);
}

@media (min-width: 48em) {
	.site-header__nav {
		display: flex;
	}

	.site-header__toggle {
		display: none;
	}
}

@media (max-width: 47.9375em) {
	.site-header__nav {
		display: flex;
		position: absolute;
		top: 4.5rem;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		background-color: rgba(10, 10, 10, 0.98);
		border-bottom: 1px solid var(--color-border);
		max-height: 0;
		overflow: hidden;
		transition: max-height var(--transition-base);
	}

	.site-header__nav.is-open {
		max-height: 16.25rem;
	}

	.site-header__nav .site-header__link {
		width: 100%;
		padding: var(--space-lg) var(--container-pad);
		border-bottom: 1px solid var(--color-border);
		min-height: 2.75rem;
		display: flex;
		align-items: center;
	}
}

/* === Hero === */
.hero {
	position: relative;
	height: 100vh;
	min-height: 35rem;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
}

.hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background-color: var(--color-bg);
}

.hero__placeholder-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: grayscale(35%) contrast(1.05) brightness(0.85);
}

/* Crops the Wistia player to a full-bleed background layer, matching the
   placeholder img beneath it. Pointer events are disabled so it behaves as
   pure decoration — controls only ever appear in the modal player. */
.hero__wistia-player {
	position: absolute;
	inset: 0;
	pointer-events: none;
	/* The component sizes itself from the 16:9 "aspect" attribute by default,
	   which leaves letterboxing when the hero is taller than 16:9. Force it
	   to fill the hero regardless of that intrinsic ratio; fit-strategy="cover"
	   (set in the HTML) then crops the video itself to match. */
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: unset !important;
	object-fit: cover;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	/* Matches the background color of whichever section follows the hero
	   (currently .book, --color-bg-alt) so the video dissolves into it with
	   no visible seam at the boundary. */
	background: linear-gradient(
		to top,
		var(--color-bg-alt) 0%,
		rgba(10, 10, 10, 0.6) 18%,
		rgba(10, 10, 10, 0.2) 55%,
		rgba(10, 10, 10, 0.1) 100%
	);
}

.hero__content {
	position: relative;
	z-index: 2;
	padding-bottom: var(--space-4xl);
	width: 100%;
}

.hero__eyebrow {
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: var(--space-lg);
}

.hero__headline {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.05;
	text-transform: uppercase;
	max-width: 18ch;
	margin-bottom: var(--space-xl);
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
}

.hero__play-trigger {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	border: 1px solid var(--color-border-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text);
	background-color: rgba(10, 10, 10, 0.4);
	transition: background-color var(--transition-base), transform var(--transition-base);
}

.hero__play-trigger:hover {
	background-color: rgba(10, 10, 10, 0.7);
	transform: translate(-50%, -50%) scale(1.05);
}

.hero__scroll-cue {
	position: absolute;
	bottom: var(--space-xl);
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	width: 2.75rem;
	height: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero__scroll-line {
	display: block;
	width: 1px;
	height: 2rem;
	background-color: var(--color-text-muted);
	animation: scroll-cue-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-cue-pulse {
	0%,
	100% {
		opacity: 0.3;
		transform: scaleY(0.6);
		transform-origin: top;
	}
	50% {
		opacity: 1;
		transform: scaleY(1);
		transform-origin: top;
	}
}

/* === Section Base (shared vertical rhythm) === */
.letter,
.book,
.collection,
.film,
.next-steps {
	padding-top: var(--section-pad);
	padding-bottom: var(--section-pad);
}

.letter {
	background-color: var(--color-bg-alt);
	border-bottom: 1px solid var(--color-border);
}

.film {
	background-color: var(--color-bg);
}

.book {
	background-color: var(--color-bg-alt);
	border-top: 1px solid var(--color-border);
}

.collection {
	background-color: var(--color-bg-alt);
}

.next-steps {
	background-color: var(--color-bg-alt);
}

/* === Letter from Dr. Marshall === */
.letter__paper {
	position: relative;
	padding: var(--space-xl) var(--space-lg);
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
}

@media (min-width: 40em) {
	.letter__paper {
		padding: var(--space-2xl);
	}
}

@media (min-width: 64em) {
	.letter__paper {
		padding: var(--space-3xl);
	}
}

/* Inset rule inside the outer border — a quiet nod to formal stationery,
   matching the director's letter (see .director-letter__paper::before). */
.letter__paper::before {
	content: "";
	position: absolute;
	inset: var(--space-sm);
	border: 1px solid var(--color-border);
	pointer-events: none;
}

.letter__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2xl);
}

@media (min-width: 48em) {
	.letter__inner {
		grid-template-columns: minmax(14rem, 20rem) 1fr;
		align-items: center;
		gap: var(--space-3xl);
	}
}

@media (min-width: 64em) {
	.letter__inner {
		grid-template-columns: minmax(16rem, 23rem) 1fr;
		gap: var(--space-4xl);
	}
}

.letter__portrait {
	position: relative;
	max-width: 20rem;
	margin: 0 auto;
	aspect-ratio: 666 / 854;
	overflow: hidden;
	border: 1px solid var(--color-border);
}

@media (min-width: 48em) {
	.letter__portrait {
		max-width: none;
		margin: 0;
	}
}

.letter__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.letter__portrait::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 90% at 50% 30%, transparent 40%, var(--color-card) 100%);
	pointer-events: none;
}

.letter__content {
	position: relative;
}

.letter__mark {
	display: block;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(4rem, 9vw, 6rem);
	line-height: 1;
	color: var(--color-border-strong);
	margin-bottom: var(--space-sm);
}

.letter__title {
	margin-bottom: var(--space-xl);
}

.letter__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-lg);
	max-width: 68ch;
	margin-bottom: var(--space-2xl);
}

.letter__body p {
	font-size: 1rem;
	line-height: 1.8;
	color: rgba(250, 248, 245, 0.82);
}

.letter__body .letter__closing {
	font-family: var(--font-display);
	font-size: 1.125rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--color-text);
}

.letter__signoff {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	padding-top: var(--space-xl);
	border-top: 1px solid var(--color-border);
	max-width: 68ch;
}

.letter__signoff-name {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.125rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--color-text);
}

.letter__signoff-role {
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

/* === Purchase Cards (The Book) === */
.book__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	margin-bottom: var(--space-xl);
}

@media (min-width: 48em) {
	.book__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.product-card {
	display: flex;
	flex-direction: column;
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: 0;
	overflow: hidden;
}

.product-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--ease-out);
}

.product-card:hover .product-card__media img {
	transform: scale(1.05);
}

.product-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		var(--color-card) 0%,
		rgba(26, 26, 26, 0.75) 20%,
		rgba(26, 26, 26, 0.25) 55%,
		rgba(26, 26, 26, 0.05) 100%
	);
}

.product-card__label {
	position: absolute;
	left: var(--space-lg);
	bottom: var(--space-lg);
	right: var(--space-lg);
}

.product-card__eyebrow {
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: var(--space-sm);
}

.product-card__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.product-card__footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-md);
	padding: var(--space-lg);
}

.product-card__footer .btn {
	width: 100%;
}

.product-card__price {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.5rem;
}

.course-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-lg);
	padding: var(--space-xl);
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: 0;
}

@media (min-width: 48em) {
	.course-card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.course-card__eyebrow {
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: var(--space-sm);
}

.course-card__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.125rem;
	text-transform: uppercase;
	margin-bottom: var(--space-sm-md);
}

.course-card__desc {
	font-size: 0.875rem;
	text-transform: uppercase;
	color: var(--color-text-muted);
	max-width: 48ch;
}

.course-card .btn {
	flex-shrink: 0;
}

/* === Collection Grid (More From MHM) === */
.collection__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 48em) {
	.collection__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 64em) {
	.collection__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Stand-in for cards without product photography yet (kits, journal) —
   fills the same media area an <img> would occupy. */
.product-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-bg);
}

.product-card__placeholder span {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 2.5rem;
	letter-spacing: 0.08em;
	color: var(--color-text-dim);
	opacity: 0.4;
}

/* === Film Link === */
.film__intro {
	max-width: 62ch;
	font-size: 1rem;
	line-height: 1.7;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: var(--space-3xl);
}

.film__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-2xl);
}

@media (min-width: 64em) {
	.film__layout {
		grid-template-columns: 1.1fr 0.9fr;
		align-items: start;
		gap: var(--space-2xl);
	}
}

.film-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.film-card__meta {
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.film-card__media {
	position: relative;
	border: 1px solid var(--color-border);
	overflow: hidden;
	background-color: var(--color-card);
}

.film-card__player {
	display: block;
	width: 100%;
	/* Blocks hover/click from ever reaching Wistia's own control bar so it
	   can't clash with the site's look. Released only in fullscreen, below. */
	pointer-events: none;
}

.film-card__media:fullscreen .film-card__player,
.film-card__media:-webkit-full-screen .film-card__player {
	pointer-events: auto;
}

.film-card__play-trigger {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	border: 1px solid var(--color-border-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text);
	background-color: rgba(10, 10, 10, 0.4);
	transition: background-color var(--transition-base), transform var(--transition-base);
}

.film-card__play-trigger:hover {
	background-color: rgba(10, 10, 10, 0.7);
	transform: translate(-50%, -50%) scale(1.05);
}

.film-card__fullscreen-trigger {
	display: none;
	position: absolute;
	bottom: var(--space-md);
	right: var(--space-md);
	z-index: 2;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 1px solid var(--color-border-strong);
	align-items: center;
	justify-content: center;
	color: var(--color-text);
	background-color: rgba(10, 10, 10, 0.5);
	transition: background-color var(--transition-base);
}

.film-card__fullscreen-trigger:hover {
	background-color: rgba(10, 10, 10, 0.8);
}

.film-card.is-playing .film-card__play-trigger {
	display: none;
}

.film-card.is-playing .film-card__fullscreen-trigger {
	display: flex;
}

.film-card__media:fullscreen .film-card__fullscreen-trigger,
.film-card__media:-webkit-full-screen .film-card__fullscreen-trigger {
	display: none;
}

.film__credit {
	margin-top: var(--space-xl);
	font-size: 0.75rem;
	text-transform: uppercase;
	color: var(--color-text-dim);
	letter-spacing: 0.04em;
}

.film__credit-mark {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: 0.1em;
	color: var(--color-text-muted);
	transition: color var(--transition-base);
}

.film__credit-mark:hover {
	color: var(--color-text);
}

/* === Director's Letter (Watch the Film) ===
   Comfortable reading sizes by default (mobile/tablet, stacked below the
   film). Tightened at 64em+, where it sits beside the film-card instead —
   see the override block at the bottom of this section. */
.director-letter__paper {
	position: relative;
	width: 100%;
	padding: var(--space-xl) var(--space-lg);
	background-color: var(--color-bg-alt);
	border: 1px solid var(--color-border);
}

@media (min-width: 40em) {
	.director-letter__paper {
		padding: var(--space-2xl);
	}
}

/* Inset rule inside the outer border — a quiet nod to formal stationery. */
.director-letter__paper::before {
	content: "";
	position: absolute;
	inset: var(--space-sm);
	border: 1px solid var(--color-border);
	pointer-events: none;
}

.director-letter__head {
	position: relative;
	text-align: center;
	padding-bottom: var(--space-lg);
	margin-bottom: var(--space-lg);
	border-bottom: 1px solid var(--color-border);
}

.director-letter__head .eyebrow {
	font-size: 0.6875rem;
	margin-bottom: var(--space-sm);
}

.director-letter__mark {
	display: block;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2.25rem, 5vw, 3rem);
	line-height: 1;
	color: var(--color-border-strong);
	margin-bottom: var(--space-xs);
}

.director-letter__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.0625rem, 2vw, 1.3125rem);
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	max-width: 30ch;
	margin: 0 auto var(--space-sm);
}

.director-letter__dateline {
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text-dim);
}

.director-letter__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.director-letter__body p {
	font-size: 0.875rem;
	line-height: 1.75;
	color: rgba(250, 248, 245, 0.82);
}

.director-letter__body .director-letter__closing {
	font-family: var(--font-display);
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--color-text);
}

.director-letter__signoff {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	margin-top: var(--space-lg);
	padding-top: var(--space-lg);
	border-top: 1px solid var(--color-border);
}

.director-letter__signoff-name {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--color-text);
}

.director-letter__signoff-role {
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

/* Tightened sizing once the letter sits beside the film-card instead of
   below it (film__layout goes two-column at the same 64em breakpoint),
   so the pair reads as one compact unit rather than the letter running
   far past the video. */
@media (min-width: 64em) {
	.director-letter__paper {
		padding: var(--space-lg);
	}

	.director-letter__paper::before {
		inset: var(--space-xs);
	}

	.director-letter__head {
		padding-bottom: var(--space-md);
		margin-bottom: var(--space-md);
	}

	.director-letter__head .eyebrow {
		font-size: 0.625rem;
		margin-bottom: var(--space-sm);
	}

	.director-letter__mark {
		font-size: clamp(1.75rem, 2.5vw, 2.25rem);
		margin-bottom: var(--space-xs);
	}

	.director-letter__title {
		font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
		margin-bottom: var(--space-xs);
	}

	.director-letter__dateline {
		font-size: 0.625rem;
	}

	.director-letter__body {
		gap: var(--space-sm-md);
	}

	.director-letter__body p {
		font-size: 0.75rem;
		line-height: 1.6;
	}

	.director-letter__body .director-letter__closing {
		font-size: 0.875rem;
	}

	.director-letter__signoff {
		margin-top: var(--space-md);
		padding-top: var(--space-md);
	}

	.director-letter__signoff-name {
		font-size: 0.875rem;
	}

	.director-letter__signoff-role {
		font-size: 0.625rem;
	}
}

/* === Upsell === */
.next-steps__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

@media (min-width: 48em) {
	.next-steps__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.next-steps-panel {
	padding: var(--space-2xl);
	border: 1px solid var(--color-border);
	border-radius: 0;
}

.next-steps-panel__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.375rem;
	text-transform: uppercase;
	margin-bottom: var(--space-md);
}

.next-steps-panel__desc {
	font-size: 0.875rem;
	line-height: 1.6;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-bottom: var(--space-xl);
	max-width: 40ch;
}

/* === Footer === */
.site-footer {
	background-color: var(--color-bg);
	padding-top: var(--space-6xl);
	padding-bottom: var(--space-2xl);
	overflow: hidden;
}

.site-footer__marquee {
	width: 100%;
	overflow: hidden;
	margin-bottom: var(--space-5xl);
}

.site-footer__marquee-track {
	display: flex;
	width: max-content;
	will-change: transform;
}

.site-footer__marquee-phrase {
	white-space: nowrap;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.375rem, 4.5vw, 3.5rem);
	text-transform: uppercase;
	color: #faf8f5;
	background-color: #1e1c1c;
	padding-top: var(--space-xs);
	padding-bottom: var(--space-xs);
	letter-spacing: 0.02em;
}

.site-footer__marquee-phrase__outline {
	color: transparent;
	-webkit-text-stroke: 1px #faf8f5;
}

.site-footer__intro {
	text-align: center;
	margin-bottom: var(--space-5xl);
}

.site-footer__monogram {
	width: 4rem;
	height: 4rem;
	margin: 0 auto var(--space-lg);
	border: 1px solid var(--color-border-strong);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.375rem;
}

.site-footer__tagline {
	font-size: 0.8125rem;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.site-footer__columns {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	gap: var(--space-2xl);
	padding-bottom: var(--space-4xl);
	border-bottom: 1px solid var(--color-border);
	text-align: center;
}

@media (min-width: 48em) {
	.site-footer__columns {
		grid-template-columns: repeat(3, 1fr);
	}
}

.site-footer__column {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-lg);
}

.site-footer__heading {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.375rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--color-text);
	margin-bottom: var(--space-lg);
}

.site-footer__column a {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: var(--tracking-wide);
	color: #faf8f566;
	transition: color var(--transition-base);
	min-height: 2.75rem;
	display: flex;
	align-items: center;
}

.site-footer__column a:hover {
	color: var(--color-text);
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-sm);
	padding-top: var(--space-2xl);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-text-dim);
	text-align: center;
}

@media (min-width: 40em) {
	.site-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

/* === Video Modal === */
.video-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-lg);
}

.video-modal[hidden] {
	display: none;
}

.video-modal__backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(10, 10, 10, 0.92);
}

.video-modal__panel {
	position: relative;
	z-index: 1;
	width: min(90vw, 68.75rem);
}

.video-modal__close {
	position: absolute;
	/* Sits just inside the panel's corner on mobile, where a short viewport
	   height leaves no guaranteed room above it; moves above the panel once
	   there's space to spare (see tablet breakpoint below). */
	top: var(--space-md);
	right: var(--space-md);
	z-index: 2;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 1px solid var(--color-border-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-text);
	background-color: rgba(10, 10, 10, 0.6);
	transition: background-color var(--transition-base);
}

.video-modal__close:hover {
	background-color: rgba(10, 10, 10, 0.7);
}

@media (min-width: 40em) {
	.video-modal__close {
		top: -3.5rem;
		right: 0;
		background-color: rgba(10, 10, 10, 0.4);
	}
}

.video-modal__player {
	display: block;
	width: 100%;
}
