/* ==========================================================================
   Site header & footer (brand: Open Spaces Sanctuary values)
   ========================================================================== */

.dlp-wrap {
	width: 100%;
	max-width: 1300px;
	margin-inline: auto;
	padding-inline: clamp(18.75px, 4vw, 37.5px);
}

/* ---------------- Header ---------------- */
.dlp-header {
	position: sticky;
	top: 0;
	z-index: 999;
	border-bottom: 1px solid rgba(117, 91, 69, 0.15);
	background-color: #FFFFFF;
	transition: box-shadow 0.3s ease;
}
.admin-bar .dlp-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .dlp-header {
		top: 46px;
	}
}
.dlp-header.is-scrolled {
	box-shadow: 0 2px 18px rgba(53, 58, 53, 0.08);
}
.dlp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding-block: 15px;
}
.dlp-header__brand {
	display: flex;
	align-items: center;
}
.dlp-header__brand img {
	display: block;
	width: auto;
	max-height: 74px;
}
.dlp-site-title {
	margin: 0;
	font-family: "Mellos", "Playfair Display", Georgia, serif;
	font-size: 21px;
	line-height: 1.1;
}
.dlp-site-title a {
	color: #353A35;
	text-decoration: none;
}
.dlp-header__nav ul {
	display: flex;
	align-items: center;
	gap: 31.5px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dlp-header__nav a {
	color: #353A35;
	font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif;
	font-size: 12.3px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: color 0.25s ease;
}
.dlp-header__nav a:hover,
.dlp-header__nav a:focus-visible {
	color: #B49A68;
}
.dlp-header__actions {
	display: flex;
	align-items: center;
	gap: 18.75px;
}

/* Header button (solid sage, small). */
.dlp-chrome-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.65em 1.5em;
	border: 1px solid #596B58;
	border-radius: 6px;
	background-color: #596B58;
	box-shadow: 0 2px 10px rgba(53, 58, 53, 0.06);
	color: #F5F0E6;
	font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif;
	font-size: 11.25px;
	font-weight: 600;
	line-height: 1.7;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dlp-chrome-btn:hover,
.dlp-chrome-btn:focus {
	border-color: #46543F;
	background-color: #46543F;
	box-shadow: 0 14px 34px rgba(53, 58, 53, 0.10);
	color: #F5F0E6;
	transform: translateY(-2px);
}
.dlp-chrome-btn:focus-visible,
.dlp-header a:focus-visible,
.dlp-footer a:focus-visible,
.dlp-menu-toggle:focus-visible,
.dlp-mobile-panel__close:focus-visible {
	outline: 2px solid #B49A68;
	outline-offset: 3px;
}

/* Mobile menu */
.dlp-menu-toggle {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 7.5px;
	border: 0;
	background: none;
	color: #353A35;
	cursor: pointer;
}
.dlp-menu-toggle:hover,
.dlp-menu-toggle:focus {
	background: none;
	color: #353A35;
}
.dlp-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background-color: currentColor;
}
.dlp-mobile-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1001;
	width: min(320px, 86vw);
	padding: 30px 26.25px;
	overflow-y: auto;
	background: #F5F0E6;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
	transform: translateX(100%);
	transition: transform 0.3s ease;
}
.dlp-mobile-panel.is-open {
	transform: translateX(0);
}
.dlp-mobile-panel ul {
	margin: 37.5px 0 0;
	padding: 0;
	list-style: none;
}
.dlp-mobile-panel li {
	border-bottom: 1px solid rgba(117, 91, 69, 0.15);
}
.dlp-mobile-panel nav a {
	display: block;
	padding: 13.5px 0;
	color: #353A35;
	font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif;
	font-size: 14.25px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
}
.dlp-mobile-panel__close {
	padding: 3.75px;
	border: 0;
	background: none;
	color: #353A35;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.dlp-mobile-panel__close:hover,
.dlp-mobile-panel__close:focus {
	background: none;
	color: #353A35;
}
.dlp-mobile-panel__cta {
	margin-top: 30px;
}
.dlp-mobile-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(53, 58, 53, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.dlp-mobile-overlay.is-open {
	opacity: 1;
}

@media (max-width: 900px) {
	.dlp-header__nav {
		display: none;
	}
	.dlp-menu-toggle {
		display: inline-flex;
	}
}
@media (max-width: 480px) {
	.dlp-header__brand img {
		max-height: 48px;
	}
}

/* ---------------- Footer ---------------- */
.dlp-footer {
	position: relative;
	background: linear-gradient(180deg, #F5F0E6 0%, #FFFFFF 100%);
	color: #353A35;
}
.dlp-footer::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, #D3BE93 0%, #B49A68 50%, #755B45 100%);
	opacity: 0.85;
}
.dlp-footer a {
	color: #353A35;
	text-decoration: none;
}
.dlp-footer a:hover {
	color: #B49A68;
}
.dlp-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 37.5px;
	padding: clamp(45px, 6vw, 75px) 0 45px;
	border-bottom: 1px solid rgba(117, 91, 69, 0.18);
}
.dlp-footer__brand img {
	display: block;
	width: auto;
	max-height: 82px;
	margin-bottom: 15px;
}
.dlp-footer__brand .dlp-site-title {
	margin: 0 0 15px;
}
.dlp-footer__heading {
	margin: 0 0 16.5px;
	color: #B49A68;
	font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif;
	font-size: 12.75px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.dlp-footer p {
	margin: 0 0 1.25em;
}
.dlp-footer__intro {
	font-size: 13.5px;
	line-height: 1.6;
	opacity: 0.85;
}
.dlp-footer .dlp-footer__note {
	margin-top: 18.75px;
	padding-top: 18.75px;
	border-top: 1px solid rgba(117, 91, 69, 0.18);
	font-size: 11.25px;
	opacity: 0.65;
}
.dlp-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.dlp-footer ul li {
	margin-bottom: 9px;
	font-size: 13.8px;
}
.dlp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 26.25px 0;
	color: rgba(53, 58, 53, 0.65);
	font-size: 16px;
}
.dlp-footer__bottom-links {
	display: flex;
	gap: 22.5px;
}
.dlp-footer .dlp-footer__bottom-links a {
	color: rgba(53, 58, 53, 0.65);
}
.dlp-footer .dlp-footer__bottom-links a:hover {
	color: #B49A68;
}

@media (max-width: 1024px) {
	.dlp-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 768px) {
	.dlp-footer__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.dlp-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
@media (prefers-reduced-motion: reduce) {
	.dlp-header,
	.dlp-mobile-panel,
	.dlp-mobile-overlay,
	.dlp-chrome-btn {
		transition: none;
	}
}
