/* =========================================================================
   Hill Cottage Sutherland — app.css
   "Wild Highland" — sage + slate, elegant serif display, generous whitespace.
   ========================================================================= */

/* ---- Design tokens ---------------------------------------------------- */
:root {
	--sage: #768769;
	--sage-600: #5f6f54;
	--sage-700: #4b5842;
	--sage-light: #adc199; /* underline / accents on the dark header */
	--slate: #4d5b6a;
	--forest: #2c382a; /* deep ink-green — header bar */
	--ink: #23281f;
	--muted: #5c6357;
	--paper: #f7f5ef;
	--tint: #edefe7;
	--white: #ffffff;
	--line: rgba(35, 40, 31, 0.12);
	--shadow: 0 18px 50px -24px rgba(35, 40, 31, 0.45);

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(1.25rem, 5vw, 3rem);
	--header-h: 76px;
	--radius: 4px;
}

/* ---- Reset-ish -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: var(--tint); }
.section--booking { padding-top: 0; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; font-weight: 600; color: var(--sage-600); margin: 0 0 0.75rem; }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--ink); color: #fff; padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
	display: inline-block; font-family: var(--font-body); font-weight: 600;
	font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1;
	padding: 1rem 1.75rem; border-radius: var(--radius); border: 1px solid transparent;
	cursor: pointer; text-decoration: none; transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--sage); color: #fff; }
.btn--primary:hover { background: var(--sage-600); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--outline { background: transparent; color: var(--sage-700); border-color: var(--sage); }
.btn--outline:hover { background: var(--sage); color: #fff; }
.btn--light { background: #fff; color: var(--sage-700); }
.btn--light:hover { background: var(--paper); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "\2192"; transition: transform 0.15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--forest); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 26px -16px rgba(0, 0, 0, 0.55); }
.site-header__inner {
	max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
	min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { position: relative; z-index: 3; display: inline-flex; align-items: center; }
.brand__logo, .brand img { height: 52px; width: auto; }

/* Top utility bar */
.topbar { position: relative; z-index: 3; background: rgba(0, 0, 0, 0.16); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.topbar__inner {
	max-width: var(--wrap); margin-inline: auto; padding: 0.45rem var(--gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topbar__tag { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.social { list-style: none; display: flex; align-items: center; gap: 1.15rem; margin: 0; padding: 0; }
.social__link { display: inline-flex; align-items: center; color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
.social__link:hover, .social__link:focus-visible { color: #fff; }
.social__link svg { width: 18px; height: 18px; display: block; }
/* Facebook — made more prominent (Fiona posts there often) */
.social__link--fb { color: #fff; }
.social__link--fb svg { width: 23px; height: 23px; }
.social__link--fb:hover, .social__link--fb:focus-visible { transform: scale(1.12); }

/* Footer "Follow us on Facebook" */
.footer-fb { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1rem; color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s ease; }
.footer-fb svg { width: 22px; height: 22px; }
.footer-fb:hover, .footer-fb:focus-visible { color: #fff; }

/* Primary nav — light text, animated centre underline, persistent underline for the active item */
.nav { display: flex; align-items: center; }
.nav__list { list-style: none; display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.9rem); margin: 0; padding: 0; }
.nav__list a {
	position: relative; display: inline-block;
	font-size: 0.94rem; font-weight: 500; letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.82); text-decoration: none;
	padding: 0.35rem 0; transition: color 0.2s ease;
}
.nav__list a:hover, .nav__list a:focus-visible { color: #fff; }
.nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
	height: 2px; background: var(--sage-light);
	transform: scaleX(0); transform-origin: center; transition: transform 0.25s ease;
}
.nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); }
.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after,
.nav__list .current-menu-parent > a::after,
.nav__list .current-menu-ancestor > a::after { transform: scaleX(1); }

/* Header actions (Book online + mobile toggle) */
.header-actions { position: relative; z-index: 3; display: flex; align-items: center; gap: 1rem; margin-left: clamp(1rem, 2vw, 1.75rem); }
.btn-book {
	display: inline-block; background: var(--paper); color: var(--forest);
	font-weight: 600; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase;
	padding: 0.72rem 1.3rem; border-radius: var(--radius); text-decoration: none;
	border: 1px solid transparent; white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-book:hover, .btn-book:focus-visible { background: var(--sage); color: #fff; transform: translateY(-1px); }

/* Mobile-menu extras (cottage card + Book Direct ribbon) — hidden on desktop */
.nav-extra { display: none; }
.nav-cottage {
	position: relative; display: block; overflow: hidden; border-radius: 10px;
	aspect-ratio: 16 / 9; margin-top: 1.5rem;
}
.nav-cottage img { width: 100%; height: 100%; object-fit: cover; }
.nav-cottage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.05) 60%); }
.nav-cottage__label {
	position: absolute; left: 1.1rem; bottom: 0.95rem; z-index: 2; color: #fff;
	font-family: var(--font-display); font-size: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem;
}
/* Book-direct block — top of the mobile menu: a green button + caption */
.nav-book {
	display: none; text-align: center;
	margin-top: 1.25rem; padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-book__btn {
	display: block; width: 100%; background: var(--sage); color: #fff;
	font-weight: 600; font-size: 1rem; letter-spacing: 0.03em;
	padding: 1rem 1.5rem; border-radius: var(--radius); text-decoration: none;
	transition: background 0.2s ease, transform 0.15s ease;
}
.nav-book__btn:hover, .nav-book__btn:focus-visible { background: var(--sage-600); transform: translateY(-1px); }
.nav-book__caption { margin: 0.75rem auto 0; max-width: 34ch; font-size: 0.86rem; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }

body.nav-open { overflow: hidden; }
body.nav-open .cookie-banner { visibility: hidden; }
body.nav-open .btn-book { display: none; } /* free up room for the close ✕ when the menu is open */

.nav-toggle {
	display: none; align-items: center; gap: 0.5rem; background: none; border: 0;
	font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: #fff; cursor: pointer;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
	display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ------------------------------------------------------------- */
/* Fill the viewport BELOW the header (~108px) so the progress line lands at the true bottom of the screen. */
.hero { position: relative; display: flex; align-items: center; min-height: calc(100vh - 108px); min-height: calc(100svh - 108px); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
	position: absolute; inset: 0; background-size: cover; background-position: center 42%;
	opacity: 0; transition: opacity 1.1s ease; will-change: opacity, transform;
}
/* Ken Burns — slow zoom + drift on the active slide (runs longer than the 6s interval so it never stalls). */
.hero__slide.is-active { opacity: 1; animation: heroKen 10s ease-out both; }
@keyframes heroKen {
	from { transform: scale(1.05) translate3d(0, 0, 0); }
	to   { transform: scale(1.24) translate3d(-3%, -2%, 0); }
}
.hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(24, 30, 22, 0.28) 0%, rgba(24, 30, 22, 0.15) 40%, rgba(24, 30, 22, 0.62) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); color: #fff; padding-block: 4rem; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 600; margin: 0 0 1rem; color: rgba(255, 255, 255, 0.92); }
.hero__title { color: #fff; font-size: clamp(3rem, 9vw, 6rem); font-weight: 500; margin: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero__place { font-size: clamp(1rem, 2.4vw, 1.4rem); letter-spacing: 0.04em; margin: 0.5rem 0 2rem; color: rgba(255, 255, 255, 0.95); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
/* Slider controls — circular outline arrows, bottom-right */
.hero__controls { position: absolute; right: var(--gutter); bottom: 2.25rem; z-index: 3; display: flex; gap: 0.75rem; }
.circle-arrow {
	width: 52px; height: 52px; border-radius: 50%; padding: 0;
	border: 1.5px solid rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	-webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.circle-arrow svg { width: 22px; height: 22px; }
.circle-arrow:hover, .circle-arrow:focus-visible { background: rgba(255, 255, 255, 0.92); color: var(--forest); border-color: #fff; transform: translateY(-2px); }

/* Progress line across the bottom of the fold — fills as the slide plays */
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0, 0, 0, 0.32); z-index: 4; }
.hero__progress-bar {
	display: block; height: 100%; background: #fff;
	box-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
	transform: scaleX(0); transform-origin: left;
}
.hero__progress-bar.is-running { transition: transform 6s linear; transform: scaleX(1); }

/* ---- Intro ------------------------------------------------------------ */
.intro__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
.intro__title { font-size: clamp(1.9rem, 4vw, 3rem); }
.intro__text p { color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
/* Intro image — same 3D "print" card as the gallery */
.intro__figure {
	margin: 0; background: #fff; padding: 6px; border-radius: 6px;
	box-shadow: 0 12px 24px -14px rgba(35, 40, 31, 0.55), 0 3px 8px -4px rgba(35, 40, 31, 0.35);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}
.intro__figure:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 34px 52px -20px rgba(35, 40, 31, 0.6), 0 12px 22px -12px rgba(35, 40, 31, 0.4); }
.intro__figure img { display: block; width: 100%; border-radius: 3px; }

/* ---- Features --------------------------------------------------------- */
.features__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.feature { padding-top: 1.5rem; border-top: 2px solid var(--sage); }
.feature__title { font-size: 1.4rem; }
.feature p { margin: 0; color: var(--muted); }

/* ---- Section heads ---------------------------------------------------- */
.section__head { text-align: center; max-width: 40ch; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.section__title { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.section__foot { text-align: center; margin-top: clamp(2rem, 5vw, 3rem); }

/* ---- Gallery teaser --------------------------------------------------- */
/* Homepage teaser uses the shared 3D .gallery-card (+ lightbox); this is just the grid */
.gallery-teaser__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }

/* ---- CTA band --------------------------------------------------------- */
.cta-band { background: var(--sage); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band__title { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0; }
.cta-band__text { margin: 0.35rem 0 0; color: rgba(255, 255, 255, 0.9); }

/* ---- Generic page hero + prose --------------------------------------- */
.page-hero { background: var(--tint); padding-block: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0; }
.prose { max-width: 68ch; margin-inline: auto; }
.prose p { color: var(--muted); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); }
.site-footer__inner {
	max-width: var(--wrap); margin-inline: auto; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
	display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
.site-footer__logo { height: 60px; width: auto; }
.site-footer__mission { margin: 1.1rem 0 0.85rem; color: rgba(255, 255, 255, 0.62); line-height: 1.6; font-size: 0.92rem; max-width: 46ch; }
.site-footer__tagline { margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 0.88rem; letter-spacing: 0.02em; }

/* Explore + Get in touch stacked in one column */
.site-footer__links { display: flex; flex-direction: column; gap: clamp(1.75rem, 3vw, 2.25rem); }
.site-footer__contact .social { margin-top: 1.1rem; }

/* Gallery thumbnails under the brand → link to the gallery */
.footer-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 1.4rem; max-width: 220px; }
.footer-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 3px; display: block; transition: opacity 0.2s ease, transform 0.2s ease; }
.footer-thumbs:hover img, .footer-thumbs:focus-visible img { opacity: 0.82; }

/* Reviews widget sits in a white card, left-aligned with the heading.
   Force dark text so the widget doesn't inherit the footer's light colour on white. */
.site-footer__reviews .reviews-widget { background: #fff; padding: 12px; border-radius: 8px; max-width: 364px; margin: 0; color: #3a3a3a; }
.site-footer__reviews .reviews-widget a { color: #6aa84f; }
.site-footer__heading { font-size: 1.1rem; color: #fff; margin: 0 0 0.5rem; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	max-width: var(--wrap); margin-inline: auto; padding: 1.25rem var(--gutter);
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.85rem;
}
.site-footer__bar p { margin: 0; }
.site-footer__legal a { margin-left: 1.25rem; }
.site-footer__legal a:first-child { margin-left: 0; }

/* ---- Responsive ------------------------------------------------------- */
@media (min-width: 720px) {
	.intro__grid { grid-template-columns: 1.05fr 0.95fr; }
	.features__grid { grid-template-columns: repeat(3, 1fr); }
	.gallery-teaser__grid { grid-template-columns: repeat(3, 1fr); }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
	.site-footer__inner { grid-template-columns: 1.4fr 1fr 380px; } /* brand | explore + get in touch | reviews */
}

@media (max-width: 600px) {
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { width: 100%; text-align: center; }
}

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
	.nav-toggle__label { display: none; } /* icon-only toggle on mobile to save room */
	.nav {
		position: fixed; inset: 0; z-index: 1; /* below header logo/toggle (z:3), above page */
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--forest);
		padding: 0 var(--gutter) 2.5rem; /* padding-top set to the header height via JS */
		overflow-y: auto; -webkit-overflow-scrolling: touch;
		opacity: 0; pointer-events: none; transform: translateY(-8px);
		transition: opacity 0.28s ease, transform 0.28s ease;
	}
	.nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding-top: 0.5rem; }
	.nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
	.nav__list a { display: block; padding: 1.05rem 0; color: rgba(255, 255, 255, 0.92); font-size: 1.2rem; }
	.nav__list a::after { display: none; }
	.nav-extra, .nav-book { display: block; }
	.topbar__tag { display: none; }
	.topbar__inner { justify-content: center; }
	.btn-book { padding: 0.6rem 0.95rem; font-size: 0.76rem; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =========================================================================
   Interior pages (page.php + page-*.php)
   ========================================================================= */
.page-hero__sub { margin: 0.6rem 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); }

/* Prose */
.prose { max-width: 70ch; margin-inline: auto; }
.prose--center { text-align: center; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; color: var(--muted); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1.8em 0 0.5em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 0.4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.15em; }
.prose li { margin-bottom: 0.4em; color: var(--muted); }
.prose a { color: var(--sage-600); }
.prose strong { color: var(--ink); }

/* Contact */
.contact__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; }
.contact__heading { font-size: 1.3rem; margin: 1.5rem 0 0.5rem; }
.contact__addr { color: var(--muted); line-height: 1.7; margin: 0 0 1rem; }
.contact__lines { margin: 0; }
.contact__lines a { font-weight: 600; text-decoration: none; }
.contact__lines a:hover { text-decoration: underline; }
@media (min-width: 820px) { .contact__grid { grid-template-columns: 0.9fr 1.1fr; } }

/* Forms */
.form__row { display: flex; flex-direction: column; gap: 0.4rem; margin: 0 0 1.1rem; }
.form__row label { font-weight: 600; font-size: 0.9rem; }
.form input, .form textarea {
	font-family: var(--font-body); font-size: 1rem; color: var(--ink);
	padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius);
	background: #fff; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.notice--ok { background: #e7f0e3; color: #2f5225; border: 1px solid #b9d3ab; }
.notice--error { background: #f6e5e5; color: #7a2a2a; border: 1px solid #e0b4b4; }

/* Gallery — 3D "print on the page" cards */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: 2rem; }
.gallery-card {
	display: block; border-radius: 6px; background: #fff; padding: 6px; cursor: pointer;
	box-shadow: 0 12px 24px -14px rgba(35, 40, 31, 0.55), 0 3px 8px -4px rgba(35, 40, 31, 0.35);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
	will-change: transform;
}
.gallery-card__frame { display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 3; }
.gallery-card__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-card:hover { transform: translateY(-10px) scale(1.03); box-shadow: 0 36px 54px -20px rgba(35, 40, 31, 0.6), 0 12px 22px -12px rgba(35, 40, 31, 0.4); }
.gallery-card:hover .gallery-card__frame img { transform: scale(1.05); }
.gallery-card:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

/* Letterbox page hero (per-page banner) */
.lb-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(320px, 54vh, 580px); overflow: hidden; }
.lb-hero__img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.lb-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 26, 18, 0.25) 0%, rgba(20, 26, 18, 0.12) 45%, rgba(20, 26, 18, 0.72) 100%); }
.lb-hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: clamp(1.75rem, 4vw, 2.75rem) var(--gutter); color: #fff; }
.lb-hero__eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.74rem; font-weight: 600; margin: 0 0 0.5rem; color: rgba(255, 255, 255, 0.9); }
.lb-hero__title { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin: 0; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4); }

/* =========================================================================
   Lightbox (gallery) — built by theme.js
   ========================================================================= */
.lightbox {
	position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
	padding: clamp(1rem, 4vw, 3rem);
	background: rgba(18, 22, 16, 0.93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
body.lb-locked { overflow: hidden; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; max-width: min(1100px, 92vw); }
.lightbox__img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75); transition: opacity 0.22s ease; }
.lightbox__img.is-swapping { opacity: 0; }

.lightbox__close {
	position: fixed; top: 1.25rem; right: 1.25rem; width: 46px; height: 46px; border-radius: 50%; padding: 0;
	border: 1.5px solid rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer;
	transition: transform 0.3s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lightbox__close::before, .lightbox__close::after {
	content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
}
.lightbox__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.lightbox__close:hover, .lightbox__close:focus-visible { background: #fff; color: var(--forest); border-color: #fff; transform: rotate(90deg); }
.lightbox.is-open .lightbox__close { animation: lbCloseIn 0.45s ease 0.1s both; }
@keyframes lbCloseIn { from { opacity: 0; transform: rotate(-90deg) scale(0.5); } to { opacity: 1; transform: rotate(0) scale(1); } }

.lightbox__nav {
	position: fixed; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; padding: 0;
	border: 1.5px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav:hover, .lightbox__nav:focus-visible { background: rgba(255, 255, 255, 0.92); color: var(--forest); border-color: #fff; }
.lightbox__nav--prev { left: clamp(0.75rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(0.75rem, 3vw, 2rem); }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }
.lightbox__counter { position: fixed; left: 0; right: 0; bottom: 1.1rem; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; letter-spacing: 0.08em; }

@media (max-width: 600px) {
	.lightbox__nav { width: 44px; height: 44px; }
	.lightbox__nav svg { width: 20px; height: 20px; }
	.lightbox__img { max-height: 74vh; }
}

/* =========================================================================
   Cookie consent banner
   ========================================================================= */
.cookie-banner {
	position: fixed; z-index: 900;
	left: clamp(1rem, 3vw, 1.5rem); bottom: clamp(1rem, 3vw, 1.5rem);
	width: min(440px, calc(100% - 2 * clamp(1rem, 3vw, 1.5rem)));
	background: var(--forest); color: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px;
	box-shadow: 0 24px 55px -20px rgba(0, 0, 0, 0.65);
	padding: 1.3rem 1.4rem;
	transform: translateY(140%); opacity: 0; visibility: hidden;
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease, visibility 0.4s;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-banner__text { margin: 0 0 1.1rem; font-size: 0.92rem; line-height: 1.55; }
.cookie-banner__text a { color: var(--sage-light); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__text a:hover { color: #fff; }
.cookie-banner__actions { display: flex; gap: 0.6rem; }

/* Back-to-top button (bottom-right; appears after scrolling). */
.back-to-top {
	position: fixed; z-index: 850;
	right: clamp(1rem, 3vw, 1.5rem); bottom: clamp(1rem, 3vw, 1.5rem);
	width: 48px; height: 48px; border-radius: 50%; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.14); background: var(--forest); color: #fff;
	cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s ease;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--sage-700); transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 2px; }
body.nav-open .back-to-top { visibility: hidden; } /* stay clear of the full-screen menu */
/* On phones the cookie banner spans the width, so let it win while it's up. */
@media (max-width: 600px) {
	body.cookie-visible .back-to-top { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
	.back-to-top { transition: opacity 0.3s ease, visibility 0.3s; }
	.back-to-top:hover { transform: none; }
}
.btn-cookie {
	font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em;
	padding: 0.6rem 1.15rem; border-radius: var(--radius); cursor: pointer;
	border: 1px solid transparent; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-cookie--accept { background: var(--sage); color: #fff; }
.btn-cookie--accept:hover, .btn-cookie--accept:focus-visible { background: var(--sage-600); }
.btn-cookie--ghost { background: transparent; color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.4); }
.btn-cookie--ghost:hover, .btn-cookie--ghost:focus-visible { border-color: #fff; color: #fff; }
.site-footer__legal a[data-cookie-open] { cursor: pointer; }

/* SuperControl booking embed */
.booking-embed { min-height: 320px; }
.booking-embed__fallback { color: var(--muted); }

/* Reviews widget (footer) */
.reviews-widget { max-width: 360px; margin-inline: auto; }
.reviews-widget iframe, .reviews-widget img { max-width: 100%; }

/* =========================================================================
   Blog — "Our Area" listing (home.php) + single post (single.php)
   ========================================================================= */
.intro-lead { margin-bottom: clamp(2rem, 5vw, 3.25rem); }

.post-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
	display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card__title { font-size: 1.4rem; margin: 0; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--sage-600); }
.post-card__excerpt { margin: 0; color: var(--muted); }
.post-card .link-arrow { margin-top: auto; color: var(--sage-600); text-decoration: none; }

/* Single-post lead image */
.post-hero-media .wrap { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.post-hero-media img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.page-hero__back { text-decoration: none; color: var(--sage-600); }
.post-back { margin-top: 2.5rem; }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: "\2190"; transition: transform 0.15s ease; margin-right: 0.4rem; }
.link-arrow--back:hover::before { transform: translateX(-4px); }

/* Pagination */
.pagination { margin-top: clamp(2.5rem, 6vw, 4rem); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 0.85rem;
	border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.pagination a.page-numbers:hover { border-color: var(--sage); color: var(--sage-600); }
.pagination .page-numbers.current { background: var(--sage); color: #fff; border-color: var(--sage); }
.pagination .page-numbers.dots { border-color: transparent; }
