/*
 * Married by Jane
 * Airy left-weighted columns, generous white space, hairline rules.
 * Bright white and soft sand, warm charcoal text, champagne gold accents.
 */

:root {
	--paper: #FFFFFF;
	--paper-2: #F8F5F0;
	--blush: #F7F0E7;
	--ink: #3B3734;
	--ink-soft: #857E77;
	--rule: #EAE3D9;
	--rule-2: #DCCFBE;
	--brass: #BFA273;
	--gold: #977650;
	--display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
	--body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	--script: "Great Vibes", "Snell Roundhand", "Edwardian Script ITC", cursive;
	--step--1: .8125rem;
	--step-0: 1rem;
	--step-1: 1.25rem;
	--step-2: 1.75rem;
	--step-3: 2.5rem;
	--wrap: 1180px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-weight: 300;
	font-size: var(--step-0);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 400;
	line-height: 1.08;
	margin: 0;
	text-wrap: balance;
	letter-spacing: -.01em;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-left: max(16px, env(safe-area-inset-left, 0px));
	padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 1000; padding: 10px 16px;
	background: var(--paper); color: var(--ink); text-decoration: none;
}

.eyebrow {
	font-size: var(--step--1);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--brass);
	font-weight: 500;
}

figcaption {
	font-family: var(--display);
	font-style: italic;
	font-size: .8rem;
	letter-spacing: .02em;
	line-height: 1.5;
	color: var(--ink-soft);
	margin-top: 10px;
}

/* Buttons */
.btn {
	display: inline-block;
	font-family: var(--body);
	font-size: var(--step--1);
	letter-spacing: .18em;
	text-transform: uppercase;
	font-weight: 400;
	padding: 14px 26px;
	border: 1px solid var(--gold);
	border-radius: 0;
	color: var(--gold);
	background: transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--gold); color: #fff; }
.btn.solid { background: var(--gold); color: #fff; }
.btn.solid:hover { background: var(--ink); border-color: var(--ink); }
.btn.light { border-color: #fff; color: #fff; background: rgba(28, 22, 18, .25); }
.btn.light:hover { background: #fff; color: var(--ink); }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.mark {
	font-family: var(--display);
	font-size: 1.05rem;
	font-weight: 400;
	letter-spacing: .3em;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
	color: var(--ink);
	white-space: nowrap;
}
.mark i {
	font-style: italic;
	text-transform: none;
	letter-spacing: .04em;
	font-size: 1.15em;
	color: var(--brass);
	margin: 0 .3em 0 .1em;
}
.custom-logo-link img { max-height: 56px; width: auto; display: block; }
.primary-nav ul {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--step--1);
	letter-spacing: .16em;
	text-transform: uppercase;
}
.primary-nav a { text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	border: 1px solid var(--rule-2);
	background: transparent;
	cursor: pointer;
	position: relative;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
	position: absolute; left: 12px; width: 18px; height: 1px; background: var(--ink); content: "";
	transition: transform .2s, opacity .2s;
}
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before { left: 0; top: -6px; }
.nav-toggle .bars::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
	.nav-toggle { display: inline-block; }
	.nav-actions .btn { padding: 12px 16px; }
	.primary-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--rule);
		display: none;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav ul {
		flex-direction: column;
		gap: 0;
		padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
	}
	.primary-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 420px) {
	.mark { font-size: .9rem; letter-spacing: .22em; }
}

/* Hero */
.hero {
	position: relative;
	min-height: clamp(520px, 86vh, 880px);
	display: grid;
	align-items: center;
	overflow: hidden;
	background: #2B2724;
}
.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 55%;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(28, 22, 18, .72) 0%, rgba(28, 22, 18, .55) 60%, rgba(28, 22, 18, .45) 100%);
}
.hero-text {
	position: relative;
	z-index: 1;
	text-align: center;
	display: grid;
	justify-items: center;
	padding-block: 72px;
	color: #fff;
}
.hero .eyebrow { color: #F6EBD7; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.hero h1 {
	font-size: clamp(2.4rem, 7vw, 5.25rem);
	font-weight: 400;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.1;
	margin-top: 24px;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hero h1 i {
	text-transform: none;
	letter-spacing: .02em;
	color: #F1E3C8;
	font-size: .9em;
	margin: 0 .12em 0 .02em;
}
.hero .lede {
	max-width: 46ch;
	font-size: var(--step-1);
	font-weight: 400;
	margin-top: 28px;
	color: #fff;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }

/* Sections */
main > section { border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec h2 { font-size: var(--step-3); margin-top: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; }
.split > * { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.section-intro { align-self: end; color: var(--ink-soft); max-width: 62ch; font-size: 1.0625rem; }

.wide { margin: 48px 0 0; }
.wide img { display: block; width: 100%; aspect-ratio: 16 / 10; max-width: 100%; object-fit: cover; background: var(--paper-2); }

.mbj-empty { margin-top: 24px; padding: 16px; border: 1px dashed var(--rule-2); color: var(--ink-soft); font-size: var(--step--1); }

/* About */
.portrait { margin: 40px 0 0; width: 100%; }
.portrait img { display: block; width: 100%; aspect-ratio: 1 / 1; max-width: 100%; object-fit: cover; object-position: 50% 30%; background: var(--paper-2); }
.prose { max-width: 62ch; display: grid; gap: 20px; font-size: 1.0625rem; align-content: start; }
.prose .lead { font-family: var(--display); font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.prose .more { font-size: var(--step-1); font-style: italic; color: var(--gold); margin-top: 16px; }
.sig { font-family: var(--script); font-size: 2.6rem; line-height: 1.2; color: var(--gold); }

/* Ceremonies */
.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--brass); margin-top: 56px; }
.offer.offer-1 { grid-template-columns: minmax(0, 1fr); }
.offer.offer-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer article { padding: 32px 28px 8px 0; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; }
.offer article + article { padding-left: 28px; border-left: 1px solid var(--rule); }
.offer article:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.offer h3 { font-size: var(--step-2); font-style: italic; }
.offer .for { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.offer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.offer li { padding-left: 18px; position: relative; }
.offer li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--brass); }
.price { padding-top: 16px; border-top: 1px solid var(--rule); margin-top: 8px; }
.enquire-link {
	font-size: var(--step--1);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold);
	text-decoration: none;
	border-bottom: 1px solid var(--brass);
	padding-bottom: 3px;
}
.enquire-link:hover { color: var(--ink); }
@media (max-width: 820px) {
	.offer, .offer.offer-2 { grid-template-columns: 1fr; }
	.offer article, .offer article + article { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* Your ceremony */
.order { background: var(--paper-2); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--rule-2); padding-top: 20px; }
.steps li::before { content: counter(step, upper-roman); font-family: var(--display); font-style: italic; color: var(--brass); font-size: var(--step-1); }
.steps li b { font-family: var(--display); font-weight: 400; font-size: var(--step-1); }
.steps li p { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Where */
.where { display: grid; gap: 48px; }
.where-img { margin: 0; }
.where-img img { display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; object-fit: cover; object-position: 50% 60%; background: var(--paper-2); }
.places { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 40px; font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2.5rem); font-style: italic; line-height: 1.25; }
.places span { color: var(--ink); }
.places span:nth-child(even) { color: var(--gold); }

/* Marrying here */
.legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; margin-top: 48px; }
.legal > div { min-width: 0; }
.legal h3 { font-size: var(--step-1); font-style: italic; margin-bottom: 16px; }
.legal ul { margin: 0; padding: 0; list-style: none; }
.legal li { padding-block: 12px; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; }
.legal li span:last-child { color: var(--ink-soft); text-align: right; }
.note { margin-top: 28px; font-size: var(--step--1); color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 820px) { .legal { grid-template-columns: 1fr; gap: 40px; } }

/* Reviews */
.quote { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.quote-img { margin: 0; }
.quote-img img { display: block; width: 100%; aspect-ratio: 4 / 3; max-width: 100%; object-fit: cover; object-position: 55% 40%; background: var(--paper-2); }
.quote .eyebrow { margin-bottom: 28px; }
.reviews { display: grid; gap: 40px; }
.reviews > div + div { border-top: 1px solid var(--rule); padding-top: 40px; }
.reviews blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--ink); }
.reviews blockquote::before { content: "\201C"; display: block; font-size: 3.5rem; line-height: .6; color: var(--brass); font-style: normal; margin-bottom: 12px; }
.reviews cite { display: block; margin-top: 18px; font-style: normal; font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
@media (max-width: 820px) { .quote { grid-template-columns: 1fr; gap: 40px; } }

/* Enquire */
.enquire { background: var(--blush); }
.enquire .intro { color: var(--ink-soft); max-width: 40ch; margin-top: 20px; }
.enquire .intro.small { margin-top: 28px; font-size: var(--step--1); letter-spacing: .06em; }
.enquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.enquiry-form[hidden] { display: none; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.enquiry-form label { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
	font: inherit;
	font-weight: 300;
	color: var(--ink);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--rule-2);
	padding: 10px 0;
	border-radius: 0;
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
}
.enquiry-form select {
	background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
	background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	padding-right: 24px;
}
.enquiry-form input::placeholder, .enquiry-form textarea::placeholder { color: #B5ADA4; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: none; border-bottom-color: var(--gold); }
.enquiry-form textarea { resize: vertical; min-height: 110px; }
.enquiry-form button { justify-self: start; }
.form-note { font-size: var(--step--1); color: var(--ink-soft); margin-top: 4px; }
.form-error { font-size: var(--step--1); color: #9A4A2F; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.thanks { border: 1px solid var(--rule-2); background: var(--paper); padding: 36px; display: grid; gap: 14px; }
.thanks[hidden] { display: none; }
.thanks h3 { font-family: var(--script); font-size: 2.8rem; font-weight: 400; color: var(--gold); }
.thanks p { color: var(--ink-soft); }
@media (max-width: 620px) { .enquiry-form { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { padding-block: 40px; font-size: var(--step--1); color: var(--ink-soft); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; letter-spacing: .04em; }
.site-footer .mark { font-size: .95rem; }

/* Pages and posts */
.page-head { margin-bottom: 40px; }
.page-head h1 { font-size: var(--step-3); }
.page-head .meta, .post-card .meta { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 12px; }
.entry-content { max-width: 760px; font-size: 1.0625rem; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: var(--step-2); margin-top: 1.6em; }
.entry-content h3 { font-size: var(--step-1); margin-top: 1.4em; }
.entry-content a { color: var(--gold); }
.entry-content blockquote { margin-inline: 0; padding-left: 20px; border-left: 1px solid var(--brass); font-family: var(--display); font-style: italic; font-size: var(--step-1); }
.entry-content .alignwide { max-width: var(--wrap); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.full-width-main > .elementor { width: 100%; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 48px 32px; }
.post-card h2 { font-size: var(--step-1); margin-top: 8px; }
.post-card h2 a { text-decoration: none; }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 12px; }
.page-404 { text-align: center; display: grid; justify-items: center; gap: 24px; }
.page-404 h1 { font-size: var(--step-3); max-width: 20ch; }
.nav-links { display: flex; gap: 16px; margin-top: 48px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
