/* --------------------------------------------------------------------------
   RawMotion Photography — design tokens, reset, typography
   Warm editorial / natural green / timeless wedding
   -------------------------------------------------------------------------- */

:root {
	--rm-ivory: #f4f0e7;
	--rm-cream: #faf8f3;
	--rm-paper: #faf8f3;
	--rm-ivory-deep: #eee8dc;
	--rm-white: #ffffff;
	--rm-forest: #183126;
	--rm-forest-deep: #102018;
	--rm-forest-soft: #1d3d2e;
	--rm-sage: #536452;
	--rm-olive: #536452;
	--rm-taupe: #a99c89;
	--rm-sand: #d8cebe;
	--rm-sand-deep: #cfc3af;
	--rm-champagne: #e6dccb;
	--rm-terracotta: #a35d42;
	--rm-ink: #1a241e;
	--rm-charcoal: #1a241e;
	--rm-muted: #6f746c;
	--rm-line: rgba(26, 36, 30, 0.14);
	--rm-line-light: rgba(244, 240, 231, 0.18);
	--rm-header: 4.35rem;
	--rm-font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
	--rm-font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
	--rm-font-sans: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
	--rm-font-script: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
	--rm-font-hero-script: "Allura", "Palatino Linotype", cursive;
	--rm-page-wide: 92.5rem;
	--rm-page-content: 85rem;
	--rm-page-reading: 47.5rem;
	--rm-content-wide: var(--rm-page-wide);
	--rm-content-editorial: var(--rm-page-content);
	--rm-content-reading: var(--rm-page-reading);
	--rm-container: var(--rm-page-wide);
	--rm-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--rm-radius: 0;
	--rm-metro-gap: 4px;
	--rm-story-gutter: 0px;
	--rm-story-max: 1920px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	overflow-x: clip;
	max-width: 100%;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--rm-font-body);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.7;
	color: var(--rm-ink);
	background: var(--rm-ivory);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	max-width: 100%;
	overflow-x: hidden;
	overflow-x: clip;
}

img,
picture {
	max-width: 100%;
	height: auto;
	display: block;
}

picture img {
	width: 100%;
	height: auto;
}

.is-cover img,
.metro img,
.page-hero img,
.work-single__hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--rm-focal, center center);
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select,
label {
	font-family: var(--rm-font-sans);
	font-size: 0.95rem;
}

h1,
h2,
h3,
h4 {
	font-family: var(--rm-font-serif);
	font-weight: 400;
	line-height: 1.14;
	letter-spacing: -0.01em;
	margin: 0 0 0.7rem;
	color: var(--rm-forest);
}

h1 {
	font-size: clamp(2.85rem, 4.4vw, 4.85rem);
	font-weight: 400;
	line-height: 1.08;
}

h2 {
	font-size: clamp(2.05rem, 3.2vw, 3.45rem);
	font-weight: 400;
	line-height: 1.12;
}

h3 {
	font-size: clamp(1.45rem, 2vw, 2.05rem);
	font-weight: 500;
}

p {
	margin: 0 0 1rem;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

figure {
	margin: 0;
	overflow: hidden;
}

.container {
	width: min(100% - 2.5rem, var(--rm-container));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.7rem 1rem;
	background: var(--rm-forest);
	color: var(--rm-ivory);
}

.skip-link:focus {
	top: 1rem;
}

.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;
}

.eyebrow {
	margin: 0 0 0.7rem;
	font-family: var(--rm-font-sans);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rm-sage);
}

.eyebrow a {
	color: inherit;
	text-decoration: none;
	letter-spacing: inherit;
	text-transform: inherit;
}

.eyebrow a:hover,
.eyebrow a:focus-visible {
	color: var(--rm-forest);
}

.eyebrow--light {
	color: var(--rm-sand);
}

.eyebrow--light a:hover,
.eyebrow--light a:focus-visible {
	color: var(--rm-ivory);
}

.chapter__display {
	font-family: var(--rm-font-serif);
	font-size: clamp(2.2rem, 5.4vw, 4.2rem);
	font-weight: 500;
	line-height: 1.05;
	color: inherit;
}

.lede {
	max-width: 34rem;
	color: var(--rm-muted);
	font-family: var(--rm-font-body);
	font-size: 1.08rem;
	line-height: 1.72;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 1.2rem;
	padding-bottom: 0.12rem;
	border-bottom: 1px solid transparent;
	font-family: var(--rm-font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rm-forest);
	transition: border-color 0.25s var(--rm-ease), letter-spacing 0.25s var(--rm-ease);
}

.text-link:hover,
.text-link:focus-visible {
	border-bottom-color: currentColor;
	letter-spacing: 0.16em;
}

.text-link--light {
	color: var(--rm-ivory);
}

.plain-list {
	display: grid;
	gap: 0.45rem;
	margin-top: 1.2rem;
}

.plain-list li {
	padding-left: 1rem;
	position: relative;
}

.plain-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 0.45rem;
	height: 1px;
	background: var(--rm-sage);
}

.reveal {
	opacity: 0;
	transform: translateY(0.6rem);
	transition: opacity 0.55s var(--rm-ease), transform 0.55s var(--rm-ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.hp {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.leaf {
	display: block;
	margin: 1.6rem auto 0;
	width: 28px;
	height: 36px;
	color: var(--rm-sage);
	opacity: 0.7;
}

:focus-visible {
	outline: 2px solid var(--rm-sage);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.btn .btn__arrow,
	.text-link {
		transition: none;
	}
}
