/* ==========================================================================
   TheGuestHouse Holiday Homes — Stylesheet
   Design language inspired by khove.com.au: neutral, warm, editorial,
   photography-led. Boutique but approachable.
   ========================================================================== */

:root {
  /* Palette — drawn from the TheGuestHouse logo (cream + espresso taupe) */
  --sand:        #f1e8df;   /* logo background cream */
  --sand-deep:   #e7dccd;   /* deeper warm greige for alt sections */
  --ink:         #34291d;   /* logo espresso brown */
  --ink-soft:    #6a5f50;   /* softened taupe for body copy */
  --muted:       #9a8f80;
  --line:        #e4d9c8;
  --white:       #fbf8f3;   /* warm card white */
  --accent:      #a4855d;   /* refined warm brass */
  --accent-deep: #856a45;

  /* Type — Cormorant Garamond echoes the logo's high-contrast serif wordmark */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(31, 28, 25, 0.35);
  --shadow-sm: 0 6px 22px -12px rgba(31, 28, 25, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.06; margin: 0; letter-spacing: -0.005em; }

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

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin: 0 0 18px;
}

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.3s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--sand); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--sand); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 18px;
}
/* Home: logo centred in the bar, menu trigger pinned right */
.site-header--home .container { justify-content: center; position: relative; }
.site-header--home:not(.is-scrolled) .container { padding-block: 28px; }
.site-header--home .menu-btn { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
.site-header.is-scrolled,
.site-header--solid {
  background: rgba(241, 232, 223, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
/* Interior pages have no hero image behind the bar, so keep it solid always */
.site-header--solid .menu-btn { color: var(--ink); }
.brand { display: flex; align-items: center; line-height: 1; z-index: 2; }
.brand-logo { height: 56px; width: auto; display: block; transition: height 0.4s var(--ease); }
/* Home hero: logo at double size; shrinks back the moment the page scrolls */
.site-header--home:not(.is-scrolled) .brand-logo { height: clamp(78px, 12vw, 116px); }
.brand-logo--light { filter: drop-shadow(0 2px 12px rgba(20, 15, 8, 0.5)); }
.brand-logo--dark { display: none; }
/* Cream logo over the hero; swap to the espresso one once the header turns cream */
.site-header.is-scrolled .brand-logo--light { display: none; }
.site-header.is-scrolled .brand-logo--dark { display: block; }
.site-footer .brand-logo { height: 62px; }

/* Menu trigger (hamburger) — used on every page in place of an inline nav */
.menu-btn { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; z-index: 120; color: var(--ink); }
.menu-btn span { display: block; width: 28px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.25s; }
.menu-btn__label { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 4px; font-weight: 600; }
/* On the transparent hero header the trigger sits on imagery → make it light */
.site-header--home:not(.is-scrolled) .menu-btn { color: #fff; filter: drop-shadow(0 1px 6px rgba(0,0,0,0.4)); }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Right-side slide-in menu */
body.menu-open { overflow: hidden; }
.menu-backdrop { position: fixed; inset: 0; background: rgba(20,17,14,0.45); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; z-index: 130; }
body.menu-open .menu-backdrop { opacity: 1; visibility: visible; }
.menu-drawer { position: fixed; top: 0; right: 0; height: 100dvh; width: min(470px, 90vw); background: var(--sand); box-shadow: -34px 0 70px -34px rgba(20,17,14,0.5); transform: translateX(100%); transition: transform 0.45s var(--ease); z-index: 135; display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(26px, 4.5vw, 52px); }
body.menu-open .menu-drawer { transform: none; }
.menu-drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.menu-drawer__nav a:not(.btn) { font-family: var(--display); font-size: clamp(1.35rem, 3.6vw, 1.95rem); font-weight: 500; color: var(--ink); padding: 8px 0; transition: color 0.2s, padding-left 0.25s var(--ease); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.menu-drawer .btn { text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.menu-drawer__nav a:not(.btn):hover { color: var(--accent-deep); padding-left: 10px; }
.menu-drawer .btn { align-self: flex-start; margin-top: 26px; }
.menu-drawer__foot { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.menu-drawer__foot a { color: var(--ink-soft); font-size: 0.95rem; }
.menu-drawer__foot a:hover { color: var(--accent-deep); }
.menu-close { position: absolute; top: 26px; right: clamp(24px, 5vw, 40px); background: none; border: 0; font-size: 1.9rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 6px; }
.menu-close:hover { color: var(--ink); }
.menu-eyebrow { position: absolute; top: 40px; left: clamp(32px, 5vw, 56px); font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--accent-deep); }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,17,14,0.48) 0%, rgba(20,17,14,0.14) 38%, rgba(20,17,14,0.74) 100%); }
.hero__inner { padding-bottom: clamp(40px, 6vw, 72px); padding-top: 140px; width: 100%; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); font-weight: 600; max-width: 15ch; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 46ch; margin-top: 22px; color: rgba(255,255,255,0.9); }

/* Centred hero variant — content centred horizontally, anchored to the bottom
   so the headline sits just above the booking bar */
.hero--center { align-items: flex-end; text-align: center; }
.hero--center .hero__inner { padding-top: 120px; padding-bottom: clamp(44px, 6vw, 84px); }
.hero--center h1, .hero--center .hero p { margin-inline: auto; }
/* Smaller and stretched wide so it reads across the screen on one line,
   leaving the middle open to the video, and sits close to the booking bar */
.hero--center h1 { font-size: clamp(1.8rem, 4.2vw, 3.5rem); font-weight: 500; max-width: none; line-height: 1.14; letter-spacing: 0.005em; margin-bottom: 10px; }
.hero--center .searchbar { margin-inline: auto; margin-top: 30px; }
.hero--center .regions { justify-content: center; }

/* Search bar --------------------------------------------------------------- */
.searchbar {
  margin-top: 40px; background: rgba(255,255,255,0.96); color: var(--ink);
  border-radius: 18px; box-shadow: var(--shadow); padding: 12px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.9fr auto; gap: 4px; align-items: stretch;
  max-width: 940px;
}
.searchbar .field { display: flex; flex-direction: column; padding: 10px 18px; border-radius: 12px; transition: background 0.2s; }
.searchbar .field:hover { background: var(--sand); }
.searchbar label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.searchbar select, .searchbar input {
  border: 0; background: transparent; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 2px 0; width: 100%; outline: none; font-weight: 500;
}
.searchbar .field + .field { border-left: 1px solid var(--line); }
.searchbar .btn { align-self: center; margin-left: 6px; height: 54px; }
.searchbar__submit { display: flex; align-items: center; }

.regions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.regions span { font-size: 0.82rem; letter-spacing: 0.04em; opacity: 0.85; margin-right: 4px; }
.region-tag {
  font-size: 0.85rem; font-weight: 500; padding: 7px 15px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45); color: var(--white); transition: all 0.25s var(--ease);
}
.region-tag:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Trust strip -------------------------------------------------------------- */
.trust { background: var(--ink); color: var(--sand); }
.trust .container { display: flex; flex-wrap: wrap; gap: 30px 60px; justify-content: space-between; align-items: center; padding-block: 30px; }
.trust__item { display: flex; flex-direction: column; }
.trust__item b { font-family: var(--display); font-size: 1.9rem; font-weight: 500; }
.trust__item span { font-size: 0.82rem; color: rgba(246,241,234,0.7); letter-spacing: 0.06em; }

/* Property grid ------------------------------------------------------------ */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }

.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.card__fav { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.9); display: grid; place-items: center; }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__loc { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; }
.card__title { font-family: var(--display); font-size: 1.45rem; margin: 8px 0 10px; }
.card__desc { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.card__specs { display: flex; gap: 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-soft); }
.card__specs span { display: inline-flex; align-items: center; gap: 6px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.card__price b { font-family: var(--display); font-size: 1.25rem; }
.card__price small { color: var(--muted); font-size: 0.8rem; }
.card__link { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.card__link svg { transition: transform 0.3s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Split feature ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 6; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.split__body p { color: var(--ink-soft); margin-top: 20px; font-size: 1.05rem; }

/* Values ------------------------------------------------------------------- */
.values { background: var(--sand-deep); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.value { }
.value__num { font-family: var(--display); font-size: 1.1rem; color: var(--accent-deep); }
.value h3 { font-size: 1.4rem; margin: 14px 0 10px; }
.value p { color: var(--ink-soft); font-size: 0.98rem; }
.value__rule { height: 1px; background: var(--line); margin-top: 26px; }

/* Founders ----------------------------------------------------------------- */
.founder-quote { font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.28; font-weight: 400; }
.founder-quote span { color: var(--accent-deep); }
.founder-meta { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.founder-meta b { font-weight: 600; }
.founder-meta small { color: var(--muted); display: block; }

/* Owners / management page ------------------------------------------------- */
.page-hero { padding-top: 160px; padding-bottom: clamp(40px,6vw,72px); background: var(--ink); color: var(--sand); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: 18ch; }
.page-hero p { color: rgba(246,241,234,0.78); font-size: 1.15rem; max-width: 52ch; margin-top: 20px; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,2.6vw,32px); }
.service { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease); }
.service:hover { transform: translateY(-5px); }
.service__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sand-deep); display: grid; place-items: center; color: var(--accent-deep); margin-bottom: 20px; }
.service h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service p { color: var(--ink-soft); font-size: 0.96rem; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; counter-reset: step; }
.step { }
.step b { font-family: var(--display); font-size: 2.6rem; color: var(--accent); display: block; }
.step h4 { font-size: 1.15rem; margin: 10px 0 8px; }
.step p { color: var(--ink-soft); font-size: 0.93rem; }

/* Property detail ---------------------------------------------------------- */
.pd-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; border-radius: var(--radius); overflow: hidden; height: clamp(340px, 52vw, 560px); }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery a:first-child { grid-row: span 2; }
.pd-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px,4vw,56px); align-items: start; }
.pd-book { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.pd-amenities { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 24px; margin-top: 20px; }
.pd-amenities li { list-style: none; display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.pd-amenities li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.tag-row { display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink-soft); font-size: 0.95rem; margin-top: 14px; }

/* CTA band ----------------------------------------------------------------- */
.cta-band { position: relative; color: var(--white); overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20,17,14,0.6); }
.cta-band .container { text-align: center; padding-block: clamp(72px, 10vw, 130px); }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 20ch; margin-inline: auto; }
.cta-band p { margin: 20px auto 32px; max-width: 50ch; color: rgba(255,255,255,0.88); font-size: 1.1rem; }

/* Newsletter --------------------------------------------------------------- */
.newsletter { background: var(--ink); color: var(--sand); }
.newsletter .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(1.8rem,3.4vw,2.6rem); }
.newsletter p { color: rgba(246,241,234,0.72); margin-top: 12px; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input { flex: 1; padding: 16px 20px; border-radius: 999px; border: 1px solid rgba(246,241,234,0.25); background: transparent; color: var(--sand); font-family: var(--sans); font-size: 0.98rem; }
.newsletter input::placeholder { color: rgba(246,241,234,0.5); }

/* Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); }
.contact-info li { list-style: none; margin-bottom: 22px; }
.contact-info li b { display: block; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--accent-deep); margin-bottom: 6px; }
.contact-info li a, .contact-info li span { font-family: var(--display); font-size: 1.3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select { padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--sans); font-size: 0.98rem; background: var(--white); }
.form-field textarea { min-height: 130px; resize: vertical; }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: #17140f; color: rgba(246,241,234,0.72); padding-block: clamp(56px,7vw,88px) 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand strong { color: var(--sand); }
.site-footer p { margin-top: 18px; max-width: 34ch; font-size: 0.94rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--sand); margin-bottom: 18px; }
.footer-col a { display: block; margin-bottom: 12px; font-size: 0.94rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(246,241,234,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.85rem; }
.socials { display: flex; gap: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(246,241,234,0.24); display: grid; place-items: center; transition: all 0.25s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Reveal animation --------------------------------------------------------- */
.reveal { opacity: 1; transform: none; transition: none; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 960px) {
  .grid, .value-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; order: 0; }
  .split__media { aspect-ratio: 16/11; }
  .newsletter .container, .contact-grid, .pd-layout { grid-template-columns: 1fr; }
  .pd-book { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar .field + .field { border-left: 0; }
  .searchbar .field:nth-child(odd) { border-right: 1px solid var(--line); }
  .searchbar__submit { grid-column: 1 / -1; }
  .searchbar .btn { width: 100%; margin-left: 0; }
}

@media (max-width: 900px) {
  .trust .container { justify-content: flex-start; gap: 24px 40px; }
  .pd-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .pd-gallery a:first-child { grid-row: span 1; grid-column: span 2; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid, .value-grid, .service-grid, .steps, .footer-top { grid-template-columns: 1fr; }
  .searchbar { grid-template-columns: 1fr; }
  .searchbar .field:nth-child(odd) { border-right: 0; }
  .searchbar .field + .field { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   FLAT SINGLE-COLOUR THEME
   The whole site sits on one canvas — the logo's cream background — with
   sections divided by hairline rules instead of colour blocks.
   ========================================================================== */
.trust,
.values,
.newsletter,
.cta-band,
.site-footer,
.page-hero { background: var(--sand); color: var(--ink); }

/* Full-width hairline dividers between stacked sections */
.trust,
.section,
.section--tight,
.cta-band,
.site-footer { border-top: 1px solid var(--line); }

/* Trust strip on cream */
.trust__item span { color: var(--muted); }

/* Cards & panels read as part of the canvas, framed by a thin line */
.card,
.service,
.pd-book { background: var(--sand); box-shadow: none; border: 1px solid var(--line); }
.card:hover { box-shadow: none; border-color: var(--accent); transform: translateY(-6px); }
.service:hover { border-color: var(--accent); transform: translateY(-5px); }

/* CTA bands: drop the background image + dark overlay, keep as clean sections */
.cta-band__media { display: none; }
.cta-band::after { display: none; }
.cta-band p { color: var(--ink-soft); }
.cta-band .eyebrow { color: var(--accent-deep) !important; }

/* Newsletter on cream */
.newsletter p { color: var(--ink-soft); }
.newsletter input { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.newsletter input::placeholder { color: var(--muted); }

/* Footer on cream */
.site-footer { color: var(--ink-soft); }
.footer-col h4 { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); }
.socials a { border-color: var(--line); }

/* Interior page hero on cream */
.page-hero p { color: var(--ink-soft); }
.page-hero .eyebrow { color: var(--accent-deep) !important; }

/* ==========================================================================
   FULL-SCREEN LOGO INTRO
   Plays when entering the site and whenever the logo is clicked to go home.
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--sand);
  display: grid; place-items: center;
  overflow: hidden;
  /* the panel itself lifts away like a curtain at the end */
  transition: transform 1.5s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 1.2s ease 0.25s,
              visibility 1.5s;
}
html.no-intro .intro { display: none; }
body.intro-active { overflow: hidden; }

/* Slow drifting wash of warmth behind the mark, for depth */
.intro::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(circle at 50% 45%, rgba(164,133,93,0.20) 0%, rgba(241,232,223,0) 62%);
  opacity: 0; transform: scale(0.75);
}
.intro.is-playing::before { animation: introGlow 4.6s var(--ease) forwards; }

.intro__logo {
  width: min(460px, 66vw); height: auto;
  opacity: 0;
  transform: translateY(34px) scale(0.86);
  filter: blur(14px);
  will-change: transform, opacity, filter;
}
.intro.is-playing .intro__logo { animation: introLogo 4.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Hairline that sweeps out beneath the mark, echoing the logo's own rule */
.intro__rule {
  position: absolute; top: 50%; left: 50%;
  margin-top: clamp(80px, 11vw, 128px);
  width: 0; height: 1px; background: var(--accent);
  transform: translateX(-50%); opacity: 0;
}
.intro.is-playing .intro__rule { animation: introRule 4.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes introLogo {
  0%   { opacity: 0; transform: translateY(34px) scale(0.86); filter: blur(14px); letter-spacing: 0; }
  30%  { opacity: 1; transform: translateY(6px) scale(0.975); filter: blur(2px); }
  50%  { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  78%  { opacity: 1; transform: translateY(0) scale(1.015); filter: blur(0); }
  100% { opacity: 1; transform: translateY(-10px) scale(1.09); filter: blur(0); }
}
@keyframes introRule {
  0%   { width: 0; opacity: 0; }
  32%  { width: 0; opacity: 0; }
  62%  { width: min(340px, 48vw); opacity: 1; }
  100% { width: min(400px, 56vw); opacity: 0; }
}
@keyframes introGlow {
  0%   { opacity: 0; transform: scale(0.75); }
  45%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18); }
}

/* Curtain lift */
.intro.is-done { transform: translateY(-100%); opacity: 0; visibility: hidden; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .intro { transition: opacity 0.4s ease, visibility 0.4s; }
  .intro__logo { opacity: 1; transform: none; filter: none; }
  .intro.is-playing .intro__logo,
  .intro.is-playing .intro__rule,
  .intro.is-playing::before { animation: none; }
  .intro__rule { display: none; }
  .intro.is-done { transform: none; }
}

/* Founder portrait: a landscape shot cropped into the portrait frame,
   anchored so the subject stays centred rather than cut off */
/* Founder portrait: show the whole image at its natural shape (never cropped),
   so it stays complete on phones as well as desktop. Selectors are made
   specific enough to beat the base .split__media img cover rule and the
   mobile 16/11 aspect-ratio. */
.split__media.split__media--natural { aspect-ratio: auto; background: var(--sand-deep); }
.split__media--natural img { width: 100%; height: auto; object-fit: contain; display: block; }

/* Listing photo slideshow */
.slideshow { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand-deep); border: 1px solid var(--line); height: clamp(300px, 56vw, 600px); }
.slideshow__track { display: flex; height: 100%; transition: transform 0.55s var(--ease); will-change: transform; }
.slideshow__slide { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.slideshow__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(251,248,243,0.9); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background 0.2s, transform 0.2s; z-index: 2; }
.slideshow__nav:hover { background: #fff; }
.slideshow__nav--prev { left: 16px; } .slideshow__nav--next { right: 16px; }
.slideshow__counter { position: absolute; bottom: 16px; right: 16px; background: rgba(20,17,14,0.6); color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 999px; z-index: 2; }
.slideshow__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 2; max-width: 60%; overflow: hidden; }
.slideshow__dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,0.55); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.slideshow__dot.is-active { background: #fff; transform: scale(1.3); }
.slideshow:focus-within .slideshow__nav { outline: none; }
@media (max-width: 600px) { .slideshow__nav { width: 38px; height: 38px; font-size: 1.25rem; } .slideshow__dots { display: none; } }

.pd-desc p + p { margin-top: 14px; }

/* Live availability/price on listing pages */
.pd-live-price { margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--sand-deep); font-size: 0.98rem; color: var(--ink); text-align: center; }
.pd-live-price strong { font-family: var(--display); font-size: 1.2rem; }

/* Collection page: booking bar on cream + results toolbar */
.searchbar--flat { background: var(--sand); border: 1px solid var(--line); box-shadow: none; }
.searchbar--flat .field:hover { background: var(--sand-deep); }
.searchbar--flat .field + .field { border-left: 1px solid var(--line); }

.collection-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding-bottom: 18px; margin-bottom: clamp(26px, 3vw, 38px);
  border-bottom: 1px solid var(--line);
}
.collection-bar__count { font-family: var(--display); font-size: 1.45rem; font-weight: 600; }
.collection-bar__note { font-size: 0.9rem; color: var(--ink-soft); }

/* Property map — "Find your perfect spot" */
.map-wrap { margin-top: clamp(26px, 4vw, 44px); }
.property-map { height: clamp(420px, 62vh, 640px); width: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--sand-deep); z-index: 0; }
.map-pin { width: 48px; height: 48px; border-radius: 50%; background-size: cover; background-position: center; border: 3px solid var(--sand); box-shadow: 0 6px 18px -6px rgba(31,28,25,0.55); cursor: pointer; transition: transform 0.25s var(--ease); }
.map-pin:hover { transform: scale(1.12); }
.leaflet-container { font-family: var(--sans); background: var(--sand-deep); }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--shadow-sm); background: var(--sand); }
.leaflet-popup-tip { background: var(--sand); }
.leaflet-popup-content { margin: 15px 18px; }
.map-popup__loc { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); font-weight: 700; }
.map-popup__title { font-family: var(--display); font-size: 1.3rem; font-weight: 600; margin: 4px 0 6px; color: var(--ink); }
.map-popup__meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 10px; }
.map-popup__link { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.map-popup__link:hover { color: var(--accent-deep); }
