/* =========================================================================
   Karen Heij Realty — Coastal Modernism
   Warm ink + cream + bronze. Serif display (Fraunces) / clean sans (Jost).
   ========================================================================= */

:root {
  --ink: #15120e;
  --ink-soft: #2a251e;
  --cream: #f6f2ea;
  --cream-deep: #ece5d8;
  --paper: #fffdf9;
  --bronze: #b6824f;
  --bronze-deep: #9a6a3c;
  --line: rgba(21, 18, 14, 0.12);
  --line-light: rgba(246, 242, 234, 0.18);
  --muted: #6b6358;
  --muted-light: rgba(246, 242, 234, 0.72);
  --shadow-sm: 0 2px 14px rgba(21, 18, 14, 0.06);
  --shadow-md: 0 18px 50px rgba(21, 18, 14, 0.14);
  --radius: 4px;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.section { padding: 110px 0; position: relative; }

/* ------------------------------------------------------------------ Type */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  font-weight: 500;
  color: var(--bronze-deep);
  margin: 0 0 20px;
}
.eyebrow--light { color: var(--bronze); }
.eyebrow--center { text-align: center; }

.display { font-size: clamp(2rem, 4vw, 3.2rem); }
.display-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.center { text-align: center; }

.link-arrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--bronze-deep); }
.link-arrow:hover span { transform: translateX(6px); }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--bronze-deep); color: var(--paper); }
.btn-primary:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--bronze-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost--light { border-color: rgba(246,242,234,0.5); color: var(--cream); }
.btn-ghost--light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-lg { padding: 19px 40px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 50px;
  width: auto;
  display: block;
  transition: opacity 0.4s var(--ease);
}
.brand-logo--on-light { display: none; }
.is-scrolled .brand-logo--on-dark { display: none; }
.is-scrolled .brand-logo--on-light { display: block; }
.brand--footer .brand-logo { height: 56px; }

.main-nav { display: flex; gap: 38px; margin-left: auto; }
.main-nav a {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 400; color: var(--cream); position: relative; padding: 4px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--bronze); transition: width 0.35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.is-scrolled .main-nav a { color: var(--ink); }

.header-cta { margin-left: 8px; }
.site-header .header-cta { border-color: rgba(246,242,234,0.5); color: var(--cream); }
.site-header.is-scrolled .header-cta { border-color: var(--ink); color: var(--ink); }
.site-header .header-cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.site-header.is-scrolled .header-cta:hover { background: var(--ink); color: var(--cream); }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 32px; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--cream); margin: 6px 0; transition: 0.3s var(--ease); }
.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 40px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a { font-family: var(--serif); font-size: 2rem; color: var(--cream); padding: 10px 0; }
.mobile-nav a:hover { color: var(--bronze); }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--cream); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 2.4s ease-in-out; will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(21,18,14,0.78) 0%, rgba(21,18,14,0.45) 45%, rgba(21,18,14,0.2) 100%),
    linear-gradient(180deg, rgba(21,18,14,0.5) 0%, rgba(21,18,14,0.22) 38%, rgba(21,18,14,0.12) 72%, rgba(21,18,14,0.18) 100%);
}
.hero-content { position: relative; padding-top: 120px; padding-bottom: 200px; max-width: 880px; }
.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
  color: var(--cream); line-height: 1.02; margin-bottom: 28px;
}
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 560px; color: var(--muted-light); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions--center { justify-content: center; }

.hero-search {
  position: absolute; left: 0; right: 0; bottom: 132px; z-index: 5;
}
.quick-search {
  max-width: var(--maxw); margin: 0 auto; width: calc(100% - 64px);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 0.8fr auto; gap: 0;
  padding: 10px;
}
.qs-field { padding: 14px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.qs-field label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); font-weight: 500; }
.qs-field select, .qs-field input {
  border: 0; background: transparent; font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  padding: 2px 0; outline: none; width: 100%;
}
.qs-submit { margin: 8px; }

/* ------------------------------------------------------------ Intro/Stats */
.intro { padding-top: 120px; }
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.intro-copy p { color: var(--muted); margin: 0 0 28px; max-width: 46ch; }
.intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--cream); padding: 38px 30px; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); color: var(--ink); line-height: 1; }
.stat-label { display: block; margin-top: 12px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------- Sections */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 56px; }
.section--listings { background: var(--paper); }

/* -------------------------------------------------------------- Listings */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 30px; }
.listing-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.section--listings .listing-card { background: var(--cream); }
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.listing-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.listing-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.listing-card:hover .listing-card-media img { transform: scale(1.05); }
.listing-status {
  position: absolute; top: 16px; left: 16px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  background: var(--paper); color: var(--ink); padding: 7px 14px; border-radius: 2px;
}
.status--sold, .status--leased { background: var(--ink); color: var(--cream); }
.status--under_offer { background: var(--bronze-deep); color: var(--paper); }
.listing-card-body { padding: 26px 26px 30px; }
.listing-suburb { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-deep); margin: 0 0 10px; }
.listing-title { font-size: 1.4rem; margin: 0 0 12px; }
.listing-title a:hover { color: var(--bronze-deep); }
.listing-price { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin: 0 0 20px; }
.listing-specs { list-style: none; display: flex; gap: 22px; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.listing-specs strong { color: var(--ink); font-weight: 500; }

.empty-note { color: var(--muted); font-style: italic; }

/* -------------------------------------------------------- Feature split */
.feature-split { background: var(--ink); color: var(--cream); }
.feature-split .eyebrow { color: var(--bronze); }
.feature-split h2, .feature-split .display { color: var(--cream); }
.feature-split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-split--reverse { background: var(--cream); color: var(--ink-soft); }
.feature-split--reverse h2, .feature-split--reverse .display { color: var(--ink); }
.feature-split--reverse .eyebrow { color: var(--bronze-deep); }
.feature-split--reverse .feature-split-inner { direction: ltr; }
.feature-split--reverse .feature-split-media { order: 2; }
.feature-split-media { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); }
.feature-split-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-split-copy p { color: var(--muted-light); margin: 0 0 28px; max-width: 46ch; }
.feature-split--reverse .feature-split-copy p { color: var(--muted); }
.tick-list { list-style: none; padding: 0; margin: 0 0 34px; }
.tick-list li { padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid var(--line-light); }
.feature-split--reverse .tick-list li { border-color: var(--line); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 14px; height: 8px; border-left: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(-45deg); }

/* ---------------------------------------------------------------- Quotes */
.section--quotes { background: var(--cream-deep); }
.section--quotes .display.center { margin-bottom: 56px; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.quote-card { background: var(--paper); padding: 40px 36px; border-radius: var(--radius); border: 1px solid var(--line); }
.quote-card blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.quote-author { display: block; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); }
.quote-loc { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* -------------------------------------------------------------- CTA band */
.cta-band { background: var(--ink); color: var(--cream); padding: 90px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band .display { color: var(--cream); }
.cta-band .eyebrow { color: var(--bronze); }

/* ------------------------------------------------------------- Page hero */
.page-hero { background: var(--ink); color: var(--cream); padding: 200px 0 90px; }
.page-hero--compact { padding: 190px 0 80px; }
.page-hero--center { text-align: center; padding: 220px 0 140px; }
.page-hero-title { font-size: clamp(2.6rem, 5vw, 4.4rem); color: var(--cream); margin-bottom: 22px; }
.page-hero-sub { font-size: 1.2rem; color: var(--muted-light); max-width: 560px; }
.page-hero--center .page-hero-sub { margin: 0 auto; }

/* --------------------------------------------------------------- Filters */
.section--filters { padding: 50px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px; }
.filter-field { display: flex; flex-direction: column; gap: 7px; min-width: 150px; flex: 1; }
.filter-field label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.filter-field select, .filter-field input {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); background: var(--cream); border-radius: var(--radius); outline: none;
}
.filter-field select:focus, .filter-field input:focus { border-color: var(--bronze); }
.filter-reset { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 16px 4px; }
.filter-reset:hover { color: var(--ink); }

.section--results { padding-top: 60px; }
.results-count { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 34px; }
.empty-state { text-align: center; padding: 80px 0; }
.empty-state h3 { font-size: 1.6rem; margin-bottom: 14px; }
.empty-state a { color: var(--bronze-deep); border-bottom: 1px solid; }
.empty-state--feature { max-width: 640px; margin: 0 auto; padding: 96px 0; }
.empty-state--feature h3 { font-size: 2.1rem; margin-bottom: 18px; }
.empty-state--feature p { color: var(--ink-soft, #4a463f); line-height: 1.7; margin-bottom: 16px; }
.empty-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.empty-actions a { border-bottom: none; }
.empty-actions .btn-primary { color: var(--paper); }
.empty-actions .btn-ghost { color: var(--ink); }
.empty-actions .btn-ghost:hover { color: var(--cream); }

/* ------------------------------------------------------------ Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 64px; }
.page-link { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--ink); }
.page-link:hover { border-color: var(--ink); }
.page-link.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* -------------------------------------------------------- Property detail */
.property-gallery { padding-top: 84px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.gallery-main { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--cream-deep); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-status { top: auto; bottom: 24px; left: 24px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery-thumb { border: 0; padding: 0; cursor: pointer; aspect-ratio: 16 / 10; overflow: hidden; opacity: 0.6; transition: opacity 0.3s var(--ease); background: none; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active, .gallery-thumb:hover { opacity: 1; }

.property-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; }
.property-title { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 6px 0 14px; }
.property-address { color: var(--muted); font-size: 1.05rem; margin: 0 0 36px; }
.property-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 40px; padding: 30px 0; margin: 0 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.property-specs li { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.spec-num { font-family: var(--serif); font-size: 2rem; color: var(--ink); display: block; letter-spacing: 0; text-transform: none; }
.property-description p { color: var(--muted); margin: 0 0 18px; }
.property-features { margin-top: 44px; }
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.feature-grid li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.feature-grid li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--bronze); border-radius: 50%; }

.property-aside { position: sticky; top: 100px; }
.enquiry-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.enquiry-price-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.enquiry-price { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); margin: 0 0 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.enquiry-form label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.enquiry-form input, .enquiry-form textarea {
  width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--cream); outline: none; resize: vertical;
}
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--bronze); }
.enquiry-call { display: block; text-align: center; margin-top: 18px; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.enquiry-call:hover { color: var(--ink); }

/* ------------------------------------------------------------------ About */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.about-media--portrait { aspect-ratio: 4 / 5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.about-copy p { color: var(--muted); margin: 0 0 22px; }
.section--values { background: var(--paper); }
.section--values .display.center { margin-bottom: 60px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.value-card { padding: 44px 36px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.value-num { font-family: var(--serif); font-size: 2.4rem; color: var(--bronze); display: block; margin-bottom: 20px; }
.value-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.value-card p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ------------------------------------------------------------------- Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.team-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-photo { aspect-ratio: 3 / 4; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info { padding: 28px 28px 32px; }
.team-name { font-size: 1.45rem; margin-bottom: 4px; }
.team-role { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-deep); margin: 0 0 16px; }
.team-bio { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.team-contact { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.team-contact a:hover { color: var(--bronze-deep); }

/* ---------------------------------------------------------------- Contact */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.contact-dl { margin: 26px 0 36px; display: flex; flex-direction: column; gap: 22px; }
.contact-dl dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.contact-dl dd { margin: 0; font-size: 1.15rem; font-family: var(--serif); color: var(--ink); }
.contact-dl dd a:hover { color: var(--bronze-deep); }
.contact-aside-media { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); margin-top: 30px; }
.contact-aside-media img { width: 100%; height: 100%; object-fit: cover; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-sm); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; margin-top: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--sans); font-size: 15.5px; color: var(--ink); background: var(--cream); outline: none; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--bronze); }

/* ----------------------------------------------------------- Offer form */
.offer-layout { max-width: 860px; margin: 0 auto; }
.offer-form .form-section { border: none; padding: 0; margin: 0 0 14px; }
.offer-form legend { font-family: var(--display); font-size: 22px; color: var(--ink); padding: 0; margin-bottom: 20px; text-transform: none; letter-spacing: 0; }
.offer-form .req { color: var(--bronze-deep); }
.offer-form .optional { text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 11px; }
.offer-purchasers { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.offer-form .form-section + .form-section,
.offer-purchasers + .form-section { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.offer-disclaimer { font-size: 13px; color: var(--muted); margin: 6px 0 26px; line-height: 1.6; }
.enquiry-offer { display: block; text-align: center; margin-top: 14px; font-size: 13px; letter-spacing: 0.06em; color: var(--bronze-deep); font-weight: 500; }
.enquiry-offer:hover { color: var(--ink); }
@media (max-width: 700px) {
  .offer-purchasers { grid-template-columns: 1fr; gap: 0; }
  .offer-purchasers .form-section + .form-section { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
}

/* ----------------------------------------------------------------- Forms */
.form-success { background: rgba(150, 130, 60, 0.12); border: 1px solid var(--bronze); color: var(--bronze-deep); padding: 16px 20px; border-radius: var(--radius); margin-bottom: 22px; font-size: 15px; }
.form-success--lg { padding: 30px 32px; margin-bottom: 30px; }
.form-success--lg h3 { color: var(--ink); margin-bottom: 8px; }
.form-success--lg p { margin: 0; color: var(--muted); }
.form-errors { background: rgba(150, 50, 40, 0.08); border: 1px solid rgba(150,50,40,0.4); color: #8a3b30; padding: 16px 20px; border-radius: var(--radius); margin-bottom: 22px; }
.form-errors ul { margin: 0; padding-left: 18px; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 90px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer-tagline { color: var(--muted-light); margin: 22px 0 0; max-width: 28ch; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 22px; font-weight: 500; }
.footer-col a, .footer-col span { display: block; color: var(--muted-light); margin-bottom: 12px; font-size: 15px; }
.footer-col a:hover { color: var(--cream); }
.footer-cta-col p { color: var(--muted-light); font-size: 15px; margin: 0 0 20px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 30px; font-size: 13px; color: var(--muted-light); letter-spacing: 0.04em; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------- Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Directional scroll reveals (declared in markup via data-reveal).
   Hidden initial state is gated behind .js so content stays visible without JS. */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.js [data-reveal="left"]  { transform: translateX(-44px); }
.js [data-reveal="right"] { transform: translateX(44px); }
.js [data-reveal="up"]    { transform: translateY(40px); }
.js [data-reveal="zoom"]  { transform: scale(1.06); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Left-to-right cascade across card grids */
.listing-grid .listing-card:nth-child(3n+2),
.quote-grid .quote-card:nth-child(2) { --rd: 0.12s; }
.listing-grid .listing-card:nth-child(3n),
.quote-grid .quote-card:nth-child(3) { --rd: 0.24s; }

/* ------------------------------------------------------- Page transitions */
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
.js body { animation: pageFadeIn 0.45s ease both; }
@media (prefers-reduced-motion: reduce) {
  .js body { animation: none; }
}

/* ----------------------------------------------------- Hero entrance load */
@keyframes fadeUpLoad { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroWordIn { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes heroMediaIn { from { opacity: 0; } to { opacity: 1; } }

.page-home .fade-up-load {
  opacity: 0;
  animation: fadeUpLoad 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
.page-home .hero-title .hw {
  display: inline-block;
  opacity: 0;
  animation: heroWordIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
  will-change: transform, opacity, filter;
}
.page-home .hero-media { animation: heroMediaIn 0.8s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  .page-home .fade-up-load,
  .page-home .hero-title .hw,
  .page-home .hero-media,
  .page-home .hero-media img,
  .page-home .hero-slide,
  .reveal,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .listing-grid, .quote-grid, .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .about-intro-grid, .feature-split-inner, .property-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .property-aside { position: static; }
  .feature-split--reverse .feature-split-media { order: 0; }
  .quick-search { grid-template-columns: 1fr 1fr; }
  .qs-field { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 76px 0; }
  .intro { padding-top: 64px; }
  .hero { min-height: auto; flex-direction: column; }
  .hero-content { padding-top: 130px; padding-bottom: 28px; }
  .hero-search { position: static; bottom: auto; margin-bottom: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  .brand-logo { height: 42px; }
  .listing-grid, .quote-grid, .values-grid, .team-grid, .feature-grid { grid-template-columns: 1fr; }
  .quick-search { grid-template-columns: 1fr; width: calc(100% - 44px); }
  .intro-stats { grid-template-columns: 1fr 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .property-specs { gap: 26px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Dropdown navigation
   ============================================================ */
.main-nav { align-items: center; }
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; }
.nav-caret {
  display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.65;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown:focus-within .nav-caret { transform: rotate(225deg) translateY(0); opacity: 1; }

.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 210px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; z-index: 80;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
/* invisible bridge so the menu does not close in the gap */
.dropdown::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 16px; }
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.01em;
  color: var(--ink); padding: 11px 16px; border-radius: 3px; white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--cream); color: var(--bronze-deep); }

/* Mobile dropdown groups */
.mobile-group { display: flex; flex-direction: column; }
.mobile-group .mobile-group-title { font-family: var(--serif); }
.mobile-sub { display: flex; flex-direction: column; margin: 2px 0 12px; padding-left: 14px; border-left: 1px solid var(--line-light); }
.mobile-sub a { font-family: var(--sans) !important; font-size: 1.15rem !important; color: var(--muted-light) !important; padding: 7px 0 !important; }
.mobile-sub a:hover { color: var(--bronze) !important; }

/* ============================================================
   Reviews page
   ============================================================ */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
}
.section--reviews .quote-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 34px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 22px; height: 100%;
}
.section--reviews .quote-card blockquote {
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink);
  margin: 0; font-weight: 400;
}
.section--reviews .quote-card blockquote::before { content: "\201C"; color: var(--bronze); margin-right: 2px; }
.section--reviews .quote-card figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: auto; }
.quote-author { font-weight: 600; color: var(--ink); }
.quote-loc { color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   Reviews — star rating, cards, home marquee, reviews summary
   ============================================================ */
.stars { display: inline-flex; gap: 3px; line-height: 0; }
.star { width: 17px; height: 17px; fill: var(--bronze); flex: none; }

/* Shared review card (home marquee + reviews page grid) */
.review-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 30px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-sm); height: 100%;
}
.review-quote {
  margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55;
  color: var(--ink); font-style: normal;
}
.review-meta { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.review-author { font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.review-loc { color: var(--muted); font-size: 0.88rem; }

/* Home marquee (auto-sliding row) */
.section--quotes { background: var(--cream-deep); overflow: hidden; }
.quotes-head { margin-bottom: 46px; }
.marquee {
  position: relative; overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 70s linear infinite; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: contents; }
.marquee .review-card {
  flex: 0 0 360px; width: 360px; margin-right: 28px;
  height: auto; min-height: 280px;
}
.marquee .review-quote {
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.quotes-cta { margin-top: 46px; }

/* Reviews page summary band */
.reviews-summary {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; margin-bottom: 56px;
}
.reviews-score { display: flex; align-items: center; gap: 16px; }
.reviews-score-num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--ink); }
.reviews-score .star { width: 24px; height: 24px; }
.reviews-score-label { color: var(--muted); margin: 0; font-size: 1.02rem; max-width: 46ch; }

@media (max-width: 720px) {
  .marquee .review-card { flex-basis: 290px; width: 290px; }
  .reviews-score-num { font-size: 2.8rem; }
  .reviews-score .star { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ============================================================
   Legal / privacy page
   ============================================================ */
.legal { max-width: 760px; }
.legal p { color: var(--ink-soft); line-height: 1.8; margin: 0 0 1.1rem; }
.legal h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 2.4rem 0 0.9rem; }
.legal a { color: var(--bronze-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Blog
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 36px;
}
.blog-card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 30px; }
.blog-date { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-deep); }
.blog-card-title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; margin: 0; }
.blog-card-title a { color: var(--ink); transition: color 0.2s var(--ease); }
.blog-card-title a:hover { color: var(--bronze-deep); }
.blog-card-excerpt { color: var(--muted); line-height: 1.65; margin: 0; }
.blog-card .link-arrow { margin-top: auto; }
.section--blog-more { background: var(--cream); }

/* Single blog article */
.blog-article-hero { padding: 150px 0 30px; background: var(--ink); color: var(--cream); text-align: center; }
.blog-article-hero .eyebrow a { color: var(--bronze); }
.blog-article-date { display: inline-block; margin-top: 14px; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light); }
.blog-article-cover { background: var(--ink); padding-bottom: 0; }
.blog-article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); display: block; margin-top: -10px; }
.blog-article-body { max-width: 740px; }
.blog-article-body p { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.85; margin: 0 0 1.4rem; }

.empty-note { color: var(--muted); font-size: 1.1rem; text-align: center; padding: 40px 0; }

@media (max-width: 720px) {
  .blog-article-hero { padding: 120px 0 24px; }
  .reviews-grid, .blog-grid { grid-template-columns: 1fr; }
}
