/*
Theme Name: Financials Brooke Property Holdings
Theme URI: https://fbph.co.za
Author: Financials Brooke Property Holdings
Description: Custom theme for Financials Brooke Property Holdings: fully furnished corporate and short-term residential rentals in Durbanville, Umhlanga, Sandton, Pretoria and Mpumalanga. Includes Home, About Us, Our Properties, Tourist Highlights and Contact pages with a built-in enquiry form.
Version: 1.3.0
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fbph
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--orange: #df6f23;
	--orange-deep: #b0500f;
	--graphite: #2b2b2d;
	--graphite-soft: #3a3a3d;
	--slate: #6b6b6b;
	--paper: #faf9f7;
	--stone: #f0eeea;
	--line: #ddd9d3;
	--white: #ffffff;

	--font-sans: "Montserrat", "Poppins", "Helvetica Neue", Arial, sans-serif;
	--font-serif: "Lora", Georgia, "Times New Roman", serif;

	--container: 1180px;
	--gutter: 24px;
	--section: clamp(72px, 9vw, 120px);
	--header-h: 104px;
	--radius: 2px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
	margin: 0;
	background: var(--white);
	color: var(--graphite);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

h1, h2, h3, h4 {
	text-wrap: balance;
	margin: 0 0 .5em;
	font-family: var(--font-sans);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: inherit;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
address { font-style: normal; }

.lead { font-family: var(--font-serif); font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.65; color: var(--slate); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--graphite); color: #fff;
	padding: 12px 18px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   Buttons and links
   ========================================================================== */
.btn {
	display: inline-block;
	padding: 17px 32px;
	background: var(--orange-deep);
	border: 2px solid var(--orange-deep);
	border-radius: var(--radius);
	color: #fff;
	font: 600 12.5px/1.2 var(--font-sans);
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.btn--small { padding: 12px 22px; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--graphite); }
.btn--light { background: #fff; border-color: #fff; color: var(--graphite); }
.btn--light:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.text-link {
	color: var(--graphite);
	font: 600 12.5px/1.4 var(--font-sans);
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid var(--orange);
	padding-bottom: 3px;
}
.text-link:hover { color: var(--orange-deep); }

/* ==========================================================================
   Header and navigation
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--white);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(43, 43, 45, .07); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: block; flex: none; line-height: 0; }
.brand img { display: block; height: 84px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav .menu { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	display: block; padding: 8px 0;
	border-bottom: 2px solid transparent;
	color: var(--graphite);
	font: 500 12.5px/1.2 var(--font-sans);
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: border-color .2s, color .2s;
}
.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a { border-color: var(--orange); color: var(--graphite); }

.nav-toggle { display: none; width: 48px; height: 48px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	position: absolute; left: 12px; width: 24px; height: 2px; background: var(--graphite); content: "";
	transition: transform .2s, opacity .2s;
}
.nav-toggle__bars { top: 23px; }
.nav-toggle__bars::before { top: -8px; left: 0; }
.nav-toggle__bars::after { top: 8px; left: 0; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 980px) {
	:root { --header-h: 80px; }
	.brand img { height: 60px; }
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h);
		flex-direction: column; align-items: flex-start; gap: 32px;
		padding: 32px var(--gutter) 48px;
		background: var(--white);
		overflow-y: auto;
		visibility: hidden; opacity: 0;
		transition: opacity .2s, visibility .2s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open { overflow: hidden; }
	.nav-open .site-nav { visibility: visible; opacity: 1; }
	.site-nav .menu { flex-direction: column; gap: 6px; width: 100%; }
	.site-nav .menu a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: center;
	min-height: min(780px, calc(100vh - var(--header-h)));
	background: var(--graphite);
	color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; }
.hero[data-hero-image]::before {
	background-image: linear-gradient(90deg, rgba(43, 43, 45, .94) 0%, rgba(43, 43, 45, .68) 55%, rgba(43, 43, 45, .45) 100%), var(--hero-image);
}
.hero[data-hero-image] .hero__art { display: none; }
.hero__art {
	position: absolute; z-index: -1; top: 0; bottom: 0;
	right: max(var(--gutter), calc((100vw - var(--container)) / 2));
	width: min(46%, 600px);
	display: flex; align-items: flex-end;
}
.hero__art img { display: block; width: 100%; max-height: 100%; }
.hero__inner { padding-block: clamp(64px, 10vw, 128px); }
.hero__copy { max-width: 640px; }
.hero h1 { margin-bottom: .45em; font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 14em; }
.hero__lead { color: #dcd8d1; margin-bottom: 1.6em; max-width: 34em; }
.hero__list { list-style: none; margin: 0 0 2.4em; }
.hero__list li { position: relative; padding-left: 26px; margin-bottom: .55em; font-weight: 500; }
.hero__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 3px; background: var(--orange); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 860px) {
	.hero__art { width: 80%; right: -12%; opacity: .28; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--graphite); color: #fff; }
.section--dark .lead { color: #cfcac2; }

.section__head { max-width: 880px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head .lead { margin-bottom: 0; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section__head--row > div { max-width: 700px; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(48px, 7vw, 88px); }
.split__lead h2 { margin: 0; max-width: 12em; }
.split__body .lead { color: var(--graphite); }

/* Amenities */
.amenities { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.amenities li { padding-top: 28px; border-top: 1px solid var(--line); }
.amenities__icon { color: var(--orange); margin-bottom: 18px; display: block; }
.amenities h3 { margin-bottom: .4em; }
.amenities p { margin: 0; color: var(--slate); font-size: .95rem; }

/* Location cards */
.loc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 32px; }
.loc-card { grid-column: span 2; }
.loc-card:nth-child(n+4) { grid-column: span 3; }
.loc-card__media { display: block; position: relative; overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; }
.loc-card:nth-child(n+4) .loc-card__media { aspect-ratio: 16 / 9; }
.loc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.loc-card:hover .loc-card__media img { transform: scale(1.03); }
.loc-card__body { padding-top: 20px; }
.loc-card__name { margin-bottom: .15em; font-size: 1.4rem; }
.loc-card__name a { color: inherit; text-decoration: none; }
.loc-card__name a:hover { color: var(--orange-deep); }
.loc-card__area { margin: 0 0 .5em; color: var(--slate); font-size: .9rem; font-weight: 500; }
.loc-card__text { margin: 0; }

/* Two-up (corporate / short-term) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.duo__item { padding-top: 32px; border-top: 3px solid var(--orange); }
.duo__item h3 { font-size: 1.6rem; margin-bottom: .5em; }

.tick-list { list-style: none; margin: 0 0 1.4em; }
.tick-list li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--line); }
.tick-list li::before {
	content: ""; position: absolute; left: 4px; top: 1.05em; width: 12px; height: 7px;
	border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg);
}

/* Feature cards (home teaser) */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--graphite-soft); color: #fff; text-decoration: none; }
.feature-card:hover { color: #fff; }
.feature-card__media { position: absolute; inset: 0; }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.feature-card:hover .feature-card__media img { transform: scale(1.04); }
.feature-card__caption {
	position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px;
	padding: 64px 20px 20px; background: linear-gradient(to top, rgba(43, 43, 45, .92), rgba(43, 43, 45, 0));
}
.feature-card__caption strong { font-size: 1.1rem; font-weight: 600; line-height: 1.25; }
.feature-card__caption span { font-size: .85rem; color: #e3dfd8; }

/* Placeholders and photo hint */
.is-placeholder { background: var(--stone); }
.photo-hint {
	position: absolute; left: 10px; top: 10px; z-index: 2; max-width: calc(100% - 20px);
	padding: 4px 9px; background: rgba(43, 43, 45, .85); color: #fff; font: 500 11px/1.3 var(--font-sans);
	border-radius: var(--radius); pointer-events: none;
}
.attr-card__media { position: relative; }

/* Enquire + contact */
.enquire { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.enquire h2 { margin-bottom: .35em; }
.enquire .lead { margin-bottom: 1.6em; }

.enquiry { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-row--3 { grid-template-columns: 1.3fr 1fr 1fr; }
.field label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
	width: 100%; padding: 14px 16px;
	background: var(--white); border: 1px solid #bdb8b0; border-radius: var(--radius);
	color: var(--graphite); font: 400 1rem/1.4 var(--font-sans);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid rgba(223, 111, 35, .35); border-color: var(--orange-deep); }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin: 0; font-size: .85rem; color: var(--slate); }
.enquiry .btn { justify-self: start; }
.form-note { padding: 14px 18px; border-left: 4px solid var(--orange); background: var(--stone); font-weight: 500; }
.form-note--ok { border-color: #2f7d4f; }
.form-note--error { border-color: #b3261e; }

.contact-card { margin-bottom: 28px; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: .6em; }
.contact-card address { margin-bottom: 1em; }
.contact-card a { color: var(--graphite); font-weight: 500; }
.contact-card a:hover { color: var(--orange-deep); }
.map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--stone); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.social-list { list-style: none; display: flex; gap: 18px; margin: 12px 0 0; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-banner {
	position: relative; overflow: hidden; background: var(--graphite); color: #fff;
	padding-block: clamp(56px, 8vw, 104px);
}
.page-banner::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--orange);
}
.page-banner h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18em; margin-bottom: .35em; }
.page-banner .lead { color: #d6d1c9; max-width: 40em; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.prose { font-size: 1.05rem; }
.prose p:first-child { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.6; color: var(--graphite); }
.prose a { color: var(--orange-deep); }
.about__panel { padding: 32px; background: var(--stone); border-top: 4px solid var(--orange); }
.about__panel h2 { font-size: 1.3rem; margin-bottom: 1em; }
.about__panel dt { font-size: .85rem; font-weight: 600; color: var(--slate); }
.about__panel dd { margin: 0 0 1.1em; }
.about__panel dd:last-child { margin-bottom: 0; }

.guest-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.guest-list li { padding-top: 22px; border-top: 1px solid #c9c4bb; }
.guest-list h3 { font-size: 1.1rem; }
.guest-list p { margin: 0; color: var(--slate); font-size: .95rem; }

/* Properties */
.property { padding-block: clamp(56px, 8vw, 96px); }
.property--alt { background: var(--stone); }
.property__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.property--alt .property__media { order: 2; }
.property__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.property__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property__body h2 { margin-bottom: .15em; }
.property__area { color: var(--slate); font-weight: 500; margin-bottom: 1em; }
.property__summary { max-width: 34em; }
.property__note { font-size: .9rem; color: var(--slate); }
.property__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 1.6em; }

/* Attractions */
.region-nav { position: sticky; top: var(--header-h); z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-bar .region-nav { top: calc(var(--header-h) + 32px); }
.region-nav__inner { display: flex; gap: 8px 32px; overflow-x: auto; white-space: nowrap; }
.region-nav a {
	display: block; padding: 18px 0 16px; border-bottom: 3px solid transparent;
	color: var(--graphite); font: 600 12.5px/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.region-nav a:hover,
.region-nav a.is-active { border-color: var(--orange); }

.region { padding-block: clamp(48px, 7vw, 88px); }
.region--alt { background: var(--stone); }
.region__head { max-width: 720px; margin-bottom: 36px; }
.region__head p { margin: 0; color: var(--slate); font-family: var(--font-serif); font-size: 1.15rem; }
.attr-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 28px; }
.attr-card { grid-column: span 2; }
.attr-card__media { overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; margin-bottom: 16px; }
.attr-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.attr-card__media img[data-lightbox] { cursor: zoom-in; }
.attr-card__title { font-size: 1.15rem; margin-bottom: .35em; }
.attr-card__text { margin: 0; color: var(--slate); font-size: .95rem; }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
	padding: 32px; background: rgba(20, 20, 22, .92);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; display: block; }
.lightbox__close {
	position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: #fff; color: var(--graphite); font: 400 28px/1 var(--font-sans); cursor: pointer;
}

/* CTA band */
.cta-band { background: var(--orange-deep); color: #fff; padding-block: clamp(48px, 6vw, 72px); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .2em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; max-width: 34em; color: #ffe9d8; }

.post-summary { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--stone); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(32px, 5vw, 72px); padding-bottom: 56px; }
.footer-brand img { width: 220px; height: auto; display: block; margin-bottom: 20px; }
.footer-brand p { color: var(--slate); max-width: 26em; margin-bottom: .6em; }
.footer-title { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1em; }
.site-footer a { color: var(--graphite); text-decoration: none; }
.site-footer a:hover { color: var(--orange-deep); text-decoration: underline; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; }
.site-footer .menu li { margin-bottom: .5em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-bottom: 24px; color: var(--slate); font-size: .85rem; }
.footer-bottom::before { content: ""; flex: 0 0 100%; margin-bottom: 16px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; }
.footer-legal a { color: var(--slate); margin-left: 18px; }
.footer-legal a:first-child { margin-left: 0; }
.photo-credits { padding-block: 48px; border-top: 1px solid var(--line); }
.photo-credits h2 { font-size: 1.2rem; }
.photo-credits p, .photo-credits li { font-size: .85rem; color: var(--slate); }
.photo-credits ul { columns: 2; column-gap: 40px; padding-left: 1.1em; margin: 0; }
@media (max-width: 700px) { .photo-credits ul { columns: 1; } }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 2px solid var(--orange); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: .6em; font: 700 .85rem/1 var(--font-sans); letter-spacing: .14em; color: var(--orange-deep); }
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; color: var(--slate); }
.steps__more { margin: 40px 0 0; }

/* Long-form pages (FAQs, Privacy Policy) */
.prose h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .4em; }
.faq .wp-block-details { border-top: 1px solid var(--line); padding: 0; margin: 0; }
.faq .wp-block-details:last-of-type { border-bottom: 1px solid var(--line); }
.faq .wp-block-details summary { position: relative; padding: 22px 48px 22px 0; font: 600 1.05rem/1.4 var(--font-sans); color: var(--graphite); cursor: pointer; list-style: none; }
.faq .wp-block-details summary::-webkit-details-marker { display: none; }
.faq .wp-block-details summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--font-sans); color: var(--orange-deep); }
.faq .wp-block-details[open] summary::after { content: "\2212"; }
.faq .wp-block-details summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.faq .wp-block-details p { margin: 0 0 1.4em; padding-right: 48px; font-size: 1rem; }
.faq .wp-block-details > p:first-of-type { font-family: var(--font-sans); font-size: 1rem; line-height: 1.7; color: var(--slate); }

@media (max-width: 1180px) {
	.site-nav { gap: 22px; }
	.site-nav .menu { gap: 22px; }
	.site-nav .menu a { font-size: 12px; letter-spacing: .1em; }
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Top bar */
.topbar { background: var(--graphite); color: #d6d1c9; font-size: .8rem; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 32px; padding-block: 9px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.topbar__links { display: flex; gap: 24px; }

/* Hero stats */
.hero__stats { list-style: none; margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 20px 36px; max-width: 600px; }
.hero__stats strong { display: block; font: 700 1.05rem/1.2 var(--font-sans); color: #fff; }
.hero__stats span { display: block; white-space: nowrap; margin-top: 2px; font-size: .78rem; color: #b9b4ac; }

/* Stays */
.stay-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.stay-filter button { padding: 10px 20px; background: #fff; border: 1px solid var(--line); color: var(--graphite); font: 600 .78rem/1 var(--font-sans); letter-spacing: .06em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.stay-filter button:hover { border-color: var(--graphite); }
.stay-filter button.is-active { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.stay-filter button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.stay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stay-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.stay-card[hidden] { display: none; }
.stay-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.stay-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.stay-card:hover .stay-card__media img { transform: scale(1.03); }
.stay-card__price { position: absolute; right: 0; bottom: 0; padding: 9px 16px; background: #fff; font: 700 .8rem/1.2 var(--font-sans); color: var(--graphite); }
.stay-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px 26px 24px; }
.stay-card__region { margin: 0 0 6px; font: 700 .7rem/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); }
.stay-card h3 { font-size: 1.3rem; margin-bottom: .2em; }
.stay-card h3 a { color: var(--graphite); text-decoration: none; }
.stay-card h3 a:hover { color: var(--orange-deep); }
.stay-card__tag { margin: 0 0 .8em; font-family: var(--font-serif); font-style: italic; color: var(--slate); }
.stay-card__text { margin: 0 0 1.2em; font-size: .92rem; color: var(--slate); }
.stay-card__specs { list-style: none; margin: auto 0 0; padding: 16px 0; display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--line); font-size: .82rem; font-weight: 500; }
.stay-card__specs li { position: relative; padding-left: 14px; }
.stay-card__specs li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--orange); }
.stay-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.stay-card__foot span { font-size: .78rem; color: var(--slate); }
.stays__more { margin: 40px 0 0; }
.stay-photo { margin: 0 0 2rem; }
.stay-photo img { width: 100%; height: auto; display: block; }
.about__note { margin: 1.2em 0; font-size: .9rem; color: var(--slate); }

/* Quote (About page) */
.prose blockquote { margin: 0 0 1.8em; padding: 24px 28px; background: var(--stone); border-left: 4px solid var(--orange); }
.prose blockquote p,
.prose blockquote p:first-child { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.7; color: var(--graphite); }

@media (max-width: 1080px) { .stay-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .hero__stats { grid-template-columns: repeat(2, auto); } .topbar__addr { display: none; } .topbar__inner { justify-content: center; } }
@media (max-width: 600px) { .stay-grid { grid-template-columns: 1fr; } .topbar__links { gap: 16px; flex-wrap: wrap; justify-content: center; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.amenities { grid-template-columns: repeat(2, 1fr); }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.guest-list { grid-template-columns: repeat(2, 1fr); }
	.attr-card { grid-column: span 3; }
}
@media (max-width: 860px) {
	.split, .duo, .enquire, .about, .property__grid, .footer-grid { grid-template-columns: 1fr; }
	.property--alt .property__media { order: 0; }
	.loc-grid { grid-template-columns: 1fr 1fr; }
	.loc-card, .loc-card:nth-child(n+4) { grid-column: span 1; }
	.loc-card:nth-child(n+4) .loc-card__media { aspect-ratio: 4 / 3; }
	.loc-card:last-child { grid-column: span 2; }
	.section__head--row { align-items: flex-start; }
}
@media (max-width: 600px) {
	.amenities, .guest-list, .feature-grid, .loc-grid { grid-template-columns: 1fr; }
	.loc-card:last-child { grid-column: span 1; }
	.attr-grid { grid-template-columns: 1fr; }
	.attr-card { grid-column: span 1; }
	.field-row, .field-row--3 { grid-template-columns: 1fr; }
	.hero__actions .btn { width: 100%; }
	.feature-card { aspect-ratio: 4 / 3; }
}

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