/*
Theme Name: Natural Oak
Theme URI: https://www.naturaloakphotography.com
Author: Matt Vale
Description: Custom theme for Natural Oak Photography, rebuilt from the original Squarespace design.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: natural-oak
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Abel"; src: url("assets/fonts/abel.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "League Gothic"; src: url("assets/fonts/league-gothic.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "League Script"; src: url("assets/fonts/league-script.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--cream: #e5e4d8;
	--cream-light: #f7f6f0;
	--ink: #050505;
	--brown: #a26a2d;
	--tan: #b3895a;
	--header-bg: rgba(162, 106, 45, 0.6);
	--white: #fff;

	--font-body: "Abel", "Helvetica Neue", Arial, sans-serif;
	--font-display: "League Gothic", "Oswald", Impact, sans-serif;
	--font-script: "League Script", "Brush Script MT", cursive;

	--gutter: clamp(16px, 4vw, 58px);
	--max: 1500px;
	--radius: 10px;
}

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

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

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.216rem; /* 19.5px, as on the original */
	line-height: 1.85;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 1000;
	background: var(--white); padding: 8px 16px;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: var(--header-bg);
	color: var(--cream);
}
body:not(.has-hero) .site-header { position: relative; background: #c19a6b; }

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	min-height: 164px;
	padding: 7px var(--gutter);
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-nav a {
	text-decoration: none;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.6;
	color: var(--cream);
}
.site-nav a:hover, .site-nav .current-menu-item > a { text-decoration: underline; text-underline-offset: 4px; }

.site-logo { justify-self: center; }
.site-logo img { width: 364px; max-width: 60vw; height: auto; }

.site-header__social { justify-self: end; }
.icon-link { display: inline-flex; color: currentColor; }
.icon-link svg { width: 22px; height: 22px; }

.nav-toggle {
	display: none;
	background: none; border: 0; padding: 8px;
	color: var(--cream); cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 68px;
	padding: 0 2.2em;
	border: 1px solid currentColor;
	background: transparent;
	font-family: var(--font-display);
	font-size: 1.45rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	line-height: 1;
	text-decoration: none;
	color: var(--white);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.btn:hover { background: rgba(255, 255, 255, 0.15); }
.btn--dark { color: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--cream); }
.btn--block { width: 100%; }

/* ---------- Marquee (scrolling script titles) ---------- */
.marquee {
	overflow: hidden;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
	margin: 0;
	font-family: var(--font-script);
	font-weight: 400;
	font-size: clamp(64px, 9.5vw, 137px);
	line-height: 1.1;
	color: var(--cream-light);
	text-transform: capitalize;
}
.marquee__track { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee__track span { padding-right: 0.5em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.script-heading {
	font-family: var(--font-script);
	font-weight: 400;
	color: var(--brown);
	text-transform: capitalize;
	text-align: center;
	font-size: clamp(36px, 3.3vw, 48px);
	line-height: 1.3;
	margin: 0 0 0.6em;
}

/* ---------- Home: hero ---------- */
.hero {
	position: relative;
	height: 100vh;
	min-height: 560px;
	max-height: 1100px;
	overflow: hidden;
	background: var(--cream);
}
.hero img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home: intro band ---------- */
.intro-band {
	position: relative;
	background: var(--tan);
	color: var(--cream);
	text-align: center;
	padding: 80px var(--gutter) calc(80px + 8vw);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8vw), 50% 100%, 0 calc(100% - 8vw));
}
.intro-band__icon { width: 87px; margin: 0 auto 8px; }
.intro-band h1 {
	font-family: var(--font-script);
	font-weight: 400;
	font-size: clamp(34px, 3.9vw, 56px);
	line-height: 1.2;
	margin: 0;
	text-transform: capitalize;
}
.intro-band__sub { font-size: clamp(20px, 2.8vw, 40px); line-height: 1.3; margin: 0 0 36px; }

/* ---------- Two-column blocks ---------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 70px);
	align-items: start;
}
.split--about { max-width: 1300px; margin: 0 auto; padding: 0 var(--gutter) 90px; margin-top: -0.35em; }
.split--about .prose { padding-top: 1.2em; }
.split--about .about-photo img { border-radius: 8px; width: 100%; max-width: 430px; }
.prose p { text-align: justify; }
.prose .btn { margin-top: 0.4em; }

.section { padding: 70px 0; }
.section--tight { padding: 30px 0; }

/* Collage + enquiry form ("Let's Work Together") */
.together { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter) 90px; margin-top: -0.35em; }
.together .split { grid-template-columns: 1fr 1fr; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.collage img { width: 100%; object-fit: cover; }
.collage__main { grid-column: 1 / -1; aspect-ratio: 3 / 4; }
.collage__main img { height: 100%; }
.collage__small img { aspect-ratio: 4 / 5; height: 100%; }
.together .prose { padding-top: 1.4em; }

/* ---------- Enquiry form ---------- */
.enquiry-form { font-family: Arial, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.4; margin-top: 2em; }
.enquiry-form label { display: block; margin-bottom: 8px; font-weight: 500; }
.enquiry-form input[type="text"],
.enquiry-form input[type="email"],
.enquiry-form input[type="date"],
.enquiry-form textarea {
	width: 100%;
	height: 50px;
	padding: 0 15px;
	border: 1px solid #ddd;
	border-radius: var(--radius);
	background: var(--white);
	font: inherit;
	margin-bottom: 20px;
}
.enquiry-form textarea { height: 150px; padding: 15px; resize: vertical; }
.enquiry-form fieldset { border: 0; margin: 0 0 10px; padding: 0; }
.enquiry-form legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.enquiry-form .check { font-weight: 400; margin-bottom: 10px; display: flex; gap: 8px; align-items: baseline; }
.enquiry-form button {
	width: 100%; height: 50px;
	background: #000; color: var(--white);
	border: 0; border-radius: var(--radius);
	font: inherit; font-weight: 500; cursor: pointer;
	margin-top: 10px;
}
.enquiry-form button:hover { background: #2a2a2a; }
.enquiry-form .hp { position: absolute; left: -9999px; }

/* ---------- Gallery tiles (home) ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.03); }
.tile .btn { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); min-height: 64px; min-width: 300px; white-space: nowrap; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 40px 0 90px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.testimonial { font-size: 0.892rem; line-height: 2; }
.testimonial__name { margin: 0; }

/* ---------- Instagram ---------- */
.social-row { text-align: center; padding: 40px 0 120px; color: var(--brown); }
.social-row .icon-link svg { width: 32px; height: 32px; }

.insta { padding: 0 0 80px; }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.insta__grid a { display: block; aspect-ratio: 1; overflow: hidden; }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.insta__grid a:hover img { opacity: .85; }

/* ---------- Footer ---------- */
.site-footer {
	background: linear-gradient(to bottom, var(--cream) 0, var(--brown) 120px, var(--brown) 100%);
	color: var(--cream-light);
	text-align: center;
	padding: 150px var(--gutter) 40px;
	font-size: 1rem;
	line-height: 1.8;
}
.site-footer__logo { width: 190px; margin: 0 auto 30px; }
.newsletter { max-width: 600px; margin: 0 auto; }
.newsletter p { font-size: 1.216rem; }
.newsletter__row { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.newsletter input[type="email"] {
	width: 290px; max-width: 100%;
	height: 72px;
	border: 0; padding: 0 18px;
	font: inherit; font-size: 1rem;
}
.newsletter .btn { min-height: 72px; padding: 0 2.2em; font-size: 1.45rem; color: var(--white); }
.site-footer small { display: block; font-size: 0.9rem; }
.site-footer__privacy { margin: 2.5em 0 1em; font-size: .9rem; }
.form-note { margin-top: 12px; font-size: .95rem; }

/* ---------- Investment ---------- */
.packages {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px clamp(40px, 6vw, 120px);
	max-width: 1300px;
	margin: 0 auto;
	padding: 40px var(--gutter) 60px;
}
.package { text-align: center; font-size: 0.892rem; line-height: 2; display: flex; flex-direction: column; align-items: center; }
.package__img { width: 100%; max-width: 600px; margin-bottom: 40px; overflow: hidden; }
.package__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.package__img--rounded { border-radius: 40px; }
.package__img--oval { border-radius: 200px; max-width: 430px; }
.package__img--oval img { aspect-ratio: 4 / 5; }
.package__title { font-family: var(--font-script); font-weight: 400; color: var(--brown); font-size: clamp(34px, 3.3vw, 48px); line-height: 1.2; margin: 0 0 .7em; text-transform: capitalize; }
.package__price { font-size: 1.216rem; font-weight: 700; margin: 0 0 .6em; }
.package__tagline { font-style: italic; margin: 0 0 .4em; }
.package__lead { margin: 0 0 .4em; }
.package__included { margin: 0 0 .2em; text-transform: uppercase; }
.package__list { text-align: center; max-width: 440px; margin: 0 auto 1em; padding: 0; list-style-position: inside; }
.package__list li { margin-bottom: .3em; }
.package__note { margin: 0 0 1.5em; }
.package .btn { margin-top: auto; min-width: 300px; }

/* ---------- Gallery pages ---------- */
.gallery-hero { position: relative; height: 100vh; min-height: 560px; max-height: 1000px; overflow: hidden; }
.gallery-hero img { width: 100%; height: 100%; object-fit: cover; }
.gallery-hero__links {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	gap: 0.1em;
	padding-top: 120px;
}
.gallery-hero__links a {
	font-family: var(--font-script);
	font-size: clamp(34px, 4vw, 58px);
	color: var(--cream-light);
	text-decoration: none;
	opacity: .85;
	text-shadow: 0 1px 12px rgba(0,0,0,.15);
}
.gallery-hero__links a:hover { opacity: 1; }

.page-banner { height: 70vh; min-height: 380px; max-height: 760px; overflow: hidden; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }

.gallery-intro { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter) 50px; text-align: justify; margin-top: -0.3em; }
.gallery-intro .btn { margin: 1em auto 0; display: flex; width: max-content; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-grid a { display: block; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.photo-grid a:hover img { transform: scale(1.02); }

/* Images inserted with the block editor's Gallery block get the same look */
.entry-content .wp-block-gallery { gap: 14px !important; }

.pager { display: flex; justify-content: space-between; gap: 20px; padding: 60px 0 90px; }
.pager a { text-decoration: none; display: flex; flex-direction: column; }
.pager small { text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.pager span { font-family: var(--font-script); font-size: clamp(26px, 2.5vw, 38px); color: var(--brown); line-height: 1.3; }
.pager__next { text-align: right; margin-left: auto; }

/* ---------- Lightbox ---------- */
.lightbox {
	position: fixed; inset: 0; z-index: 200;
	background: rgba(229, 228, 216, .97);
	display: flex; align-items: center; justify-content: center;
	padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 90vw; width: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; font-size: 42px; line-height: 1; cursor: pointer; color: var(--ink); padding: 12px 18px; font-family: var(--font-body); }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Thank you ---------- */
.thanks { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px var(--gutter); }
.thanks__bg { position: absolute; inset: 0; }
.thanks__bg img { width: 100%; height: 100%; object-fit: cover; }
.thanks__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.thanks__card { position: relative; background: var(--cream); text-align: center; padding: 6%; width: 70%; max-width: 900px; }
.thanks__card h1 { font-family: var(--font-script); font-weight: 400; font-size: clamp(48px, 6vw, 86px); margin: 0; color: var(--brown); line-height: 1.2; }

/* ---------- Generic page ---------- */
.page-content { max-width: 900px; margin: 0 auto; padding: 70px var(--gutter) 90px; }
.page-content h1 { font-family: var(--font-script); font-weight: 400; color: var(--brown); font-size: clamp(40px, 4vw, 60px); line-height: 1.2; text-align: center; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
	.site-header__inner { grid-template-columns: auto 1fr auto; min-height: 110px; }
	.site-logo { grid-column: 2; }
	.site-logo img { width: 230px; }
	.nav-toggle { display: block; grid-column: 1; grid-row: 1; }
	.site-header__social { grid-column: 3; }
	.site-nav {
		display: none;
		grid-column: 1 / -1;
		padding: 10px 0 20px;
	}
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; align-items: center; gap: 14px; }
	.site-nav a { font-size: 1.15rem; }

	.split, .together .split, .packages, .tiles, .testimonials__grid { grid-template-columns: 1fr; }
	.prose p, .gallery-intro { text-align: left; }
	.split--about .about-photo { order: -1; }
	.split--about .about-photo img { margin: 0 auto; }
	.tile .btn { min-width: 0; width: 80%; font-size: 1.15rem; }
	.photo-grid { grid-template-columns: 1fr; }
	.insta__grid { grid-template-columns: repeat(3, 1fr); }
	.package .btn { min-width: 0; width: 100%; max-width: 300px; }
	.thanks__card { width: 100%; }
	.newsletter input[type="email"] { width: 100%; }
}

/* ---------- Gallery block on gallery pages ---------- */
.gallery-intro .wp-block-gallery {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: calc(min(100vw, 1440px) - 2 * var(--gutter));
	max-width: none;
	margin-top: 50px;
	margin-bottom: 0;
}
.gallery-intro .wp-block-gallery.has-nested-images figure.wp-block-image { flex-grow: 0; }
.gallery-intro .wp-block-gallery.has-nested-images figure.wp-block-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	height: auto;
}
.gallery-intro .wp-block-buttons { justify-content: center; margin-top: 1.5em; }
.gallery-intro .wp-block-button__link {
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--ink);
	border-radius: 0;
	font-family: var(--font-display);
	font-size: 1.45rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	padding: 0.7em 2.2em;
}
.gallery-intro .wp-block-button__link:hover { background: var(--ink); color: var(--cream); }
@media (max-width: 900px) {
	.gallery-intro .wp-block-gallery.has-nested-images figure.wp-block-image { width: 100% !important; }
}

/* ---------- Santa popup ---------- */
.promo {
	width: min(760px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	background: var(--cream);
	color: var(--ink);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	overflow: auto;
}
.promo[open] { display: grid; grid-template-columns: 5fr 6fr; animation: promo-in .35s ease-out; }
.promo::backdrop { background: rgba(5, 5, 5, .45); }
@keyframes promo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .promo[open] { animation: none; } }
.promo__img img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.promo__body { padding: 44px 40px 36px; text-align: center; font-size: 1rem; line-height: 1.7; }
.promo__kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin: 0 0 .2em; }
.promo__title { font-family: var(--font-script); font-weight: 400; color: var(--brown); font-size: clamp(40px, 5vw, 56px); line-height: 1.15; margin: 0 0 .35em; }
.promo__buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 1.4em; }
.promo__buttons .btn { min-height: 56px; font-size: 1.25rem; padding: 0 1em; }
.promo__more { margin: 1.2em 0 0; font-size: .95rem; }
.promo__close {
	position: absolute; top: 6px; right: 8px; z-index: 1;
	background: none; border: 0; padding: 6px 12px;
	font-size: 34px; line-height: 1; cursor: pointer; color: var(--ink);
}
@media (max-width: 700px) {
	/* On phones it's a smaller card at the bottom, so it never hides the whole page. */
	.promo { margin: auto auto 16px; }
	.promo[open] { grid-template-columns: 1fr; }
	.promo__img { display: none; }
	.promo__body { padding: 34px 22px 24px; }
}
.promo__close:focus { outline: 1px solid currentColor; outline-offset: -4px; }
.promo__close:focus:not(:focus-visible) { outline: none; }
@media (max-width: 700px) { .promo__kicker { padding: 0 28px; } }

/* ---------- Natural Oak Weddings (/weddings) ---------- */
.wed {
	--wed-paper: #ede8e3;
	--wed-ink: #1b1a18;
	--wed-serif: "Cormorant Garamond", "Times New Roman", serif;
	background: #faf8f5;
	color: var(--wed-ink);
	font-size: 1.05rem;
	line-height: 1.85;
}
.wed-kicker {
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: .24em;
	font-size: .8rem;
	margin: 0 0 1.2em;
}
.wed-display, .wed-heading {
	font-family: var(--wed-serif);
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: .06em;
	line-height: 1.15;
	margin: 0 0 .6em;
}
.wed-display { font-size: clamp(36px, 4.6vw, 66px); }
.wed-heading { font-size: clamp(28px, 3vw, 42px); text-align: center; }
.wed-btn {
	display: inline-block;
	padding: 15px 34px;
	border: 1px solid currentColor;
	font-family: var(--font-body);
	font-size: .82rem;
	text-transform: uppercase;
	letter-spacing: .24em;
	text-decoration: none;
	color: var(--wed-ink);
	transition: background-color .25s, color .25s;
}
.wed-btn:hover { background: var(--wed-ink); color: #faf8f5; }
.wed-btn--light { color: #fff; }
.wed-btn--light:hover { background: #fff; color: var(--wed-ink); }

/* Hero */
.wed-hero {
	position: relative;
	min-height: 100vh;
	display: flex; align-items: center; justify-content: center;
	text-align: center;
	color: #fff;
	background: var(--wed-ink);
	overflow: hidden;
}
.wed-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wed-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.45)); }
.wed-hero__inner { position: relative; z-index: 1; max-width: 900px; padding: 200px var(--gutter) 100px; }
.wed-hero__sub { font-family: var(--wed-serif); font-size: clamp(18px, 1.8vw, 24px); font-style: italic; margin: 0 0 1.6em; }
.wed-points { list-style: none; margin: 0 0 2.4em; padding: 0; font-size: .95rem; letter-spacing: .04em; }
.wed-points li { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: .3em; }
.wed-tick { width: 15px; height: 15px; flex: none; }

/* Welcome */
.wed-welcome {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(32px, 6vw, 110px);
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(70px, 9vw, 140px) var(--gutter);
}
.wed-welcome__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.02); }
.wed-welcome__text .wed-heading { text-align: left; }
.wed-prose p { margin-bottom: 1.1em; }
.wed-welcome__text .wed-btn { margin-top: 1em; }

/* Why */
.wed-why { background: var(--wed-paper); padding: clamp(70px, 8vw, 120px) var(--gutter); }
.wed-why__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	max-width: 1240px;
	margin: 50px auto 0;
	text-align: center;
}
.wed-why__item h3 {
	font-family: var(--wed-serif);
	font-weight: 400;
	font-size: 1.45rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	line-height: 1.25;
	margin: 0 0 .6em;
}
.wed-why__item h3::after { content: ""; display: block; width: 36px; height: 1px; background: currentColor; margin: .7em auto 0; opacity: .5; }
.wed-why__item p { font-size: .95rem; margin: 0; }

/* Stories */
.wed-stories { padding: clamp(70px, 8vw, 120px) var(--gutter); text-align: center; }
.wed-stories__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 1440px; margin: 40px auto 50px; }
.wed-stories__grid a { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.wed-stories__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s, filter .4s; }
.wed-stories__grid a:hover img { transform: scale(1.04); }

/* Reviews */
.wed-reviews { background: var(--wed-paper); padding: clamp(70px, 8vw, 120px) var(--gutter); text-align: center; }
.wed-stars { color: var(--brown); letter-spacing: .3em; margin: -.4em 0 2em; }
.wed-review { max-width: 820px; margin: 0 auto 3em; font-family: var(--wed-serif); font-size: clamp(20px, 1.9vw, 26px); font-style: italic; line-height: 1.6; }
.wed-review:last-child { margin-bottom: 0; }
.wed-review cite { display: block; margin-top: 1em; font-family: var(--font-body); font-style: normal; font-size: .8rem; text-transform: uppercase; letter-spacing: .24em; }

/* Enquiry */
.wed-enquire { padding: clamp(70px, 8vw, 120px) var(--gutter); }
.wed-enquire__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.wed-enquire__text { margin: 0 auto 1em; }
.wed .enquiry-form { text-align: left; font-family: var(--font-body); font-size: 1rem; }
.wed .enquiry-form label, .wed .enquiry-form legend { font-weight: 400; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.wed .enquiry-form .check { text-transform: none; letter-spacing: 0; font-size: 1rem; }
.wed .enquiry-form input[type="text"],
.wed .enquiry-form input[type="email"],
.wed .enquiry-form input[type="date"],
.wed .enquiry-form textarea {
	border: 0; border-bottom: 1px solid #b9b2aa; border-radius: 0; background: transparent; padding-left: 0;
}
.wed .enquiry-form textarea { border: 1px solid #b9b2aa; padding: 12px; }
.wed .enquiry-form input:focus, .wed .enquiry-form textarea:focus { outline: none; border-color: var(--wed-ink); }
.wed .enquiry-form button { border-radius: 0; background: var(--wed-ink); text-transform: uppercase; letter-spacing: .24em; font-size: .82rem; height: 54px; }

@media (max-width: 900px) {
	.wed-welcome { grid-template-columns: 1fr; }
	.wed-why__grid { grid-template-columns: 1fr 1fr; }
	.wed-stories__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.wed-why__grid { grid-template-columns: 1fr; }
	.wed-hero__inner { padding-top: 150px; }
}

/* Weddings page: lighter, see-through header over the photo */
.is-weddings .site-header { background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0)); }
/* Five menu items don't fit beside the logo on smaller laptops and tablets: use the menu button. */
@media (max-width: 1180px) {
	.site-header__inner { grid-template-columns: auto 1fr auto; min-height: 110px; }
	.site-logo { grid-column: 2; }
	.site-logo img { width: 230px; }
	.nav-toggle { display: block; grid-column: 1; grid-row: 1; }
	.site-header__social { grid-column: 3; }
	.site-nav { display: none; grid-column: 1 / -1; padding: 10px 0 20px; }
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; align-items: center; gap: 14px; }
	.site-nav a { font-size: 1.15rem; }
	.is-weddings .site-nav.is-open { background: rgba(27, 26, 24, .85); margin: 0 calc(-1 * var(--gutter)); }
}
