/*
Theme Name:        Westcliff Property
Theme URI:         https://example.com/
Author:            Westcliff Property
Author URI:        https://example.com/
Description:       A premium 5-page WordPress theme for a boutique Australian real estate agency. Deep forest green + champagne gold palette on warm cream. Cormorant Garamond display serif paired with Outfit body. Parallax hero, sliding featured-property carousel, full property custom post type with eight sample listings auto-created on activation, single-property gallery template, multi-step quote form. Premium realestate.com.au-style search bar on the home hero.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.5
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:       westcliff
Tags:              real-estate, custom-post-types, parallax, sliders, premium, editorial, custom-colors, responsive-layout
*/

/* ============================================================
   Palette — deep forest + champagne gold on warm cream
   Premium / boutique-agency. Editorial typography.
   ============================================================ */

:root {
  --ink:        #0F2A1F;     /* deep forest, near-black */
  --ink-2:      #1B3A2A;
  --ink-3:      #2E4837;
  --green:      #1E4A38;     /* mid forest */
  --green-2:    #2C6B52;
  --green-3:    #4A8B72;

  --gold:       #B68B4E;     /* champagne gold */
  --gold-dark:  #8E6A36;
  --gold-light: #D4B07F;
  --gold-soft:  #F0E4CD;     /* light wash for backgrounds */

  --slate:      #5C5E58;
  --slate-2:    #8A8C84;
  --slate-3:    #B5B5AE;
  --line:       #E0DACD;
  --line-2:     #C9C2B0;

  --paper:      #FAF6EF;
  --paper-2:    #F0EAE0;
  --paper-3:    #E8E0D2;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1280px;
  --container-narrow: 920px;
  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(15,42,31,.05), 0 1px 3px rgba(15,42,31,.06);
  --shadow:    0 4px 20px -6px rgba(15,42,31,.08), 0 12px 32px -12px rgba(15,42,31,.08);
  --shadow-lg: 0 30px 60px -20px rgba(15,42,31,.22);
  --transition: 320ms cubic-bezier(.2,.7,.2,1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, var(--container-narrow)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.85rem;
  font-weight: 500; font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 0;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--sans);
}
.btn--primary  { background: var(--gold); color: var(--ink); }
.btn--primary:hover  { background: var(--gold-dark); color: var(--paper); transform: translateY(-1px); }
.btn--dark     { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn--green    { background: var(--green); color: var(--paper); }
.btn--green:hover { background: var(--green-2); transform: translateY(-1px); }
.btn--ghost    { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--outline  { background: transparent; color: var(--ink); border-color: var(--ink-2); }
.btn--outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--lg { padding: 1.1rem 2.25rem; font-size: .95rem; }
.btn svg { width: 14px; height: 14px; }

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  background: transparent;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: .9rem 0;
  background: rgba(250,246,239,.96);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}
.header.is-solid {
  background: var(--paper);
  border-color: var(--line);
}
.header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .9rem; color: var(--ink); }
.brand__mark {
  width: 44px; height: 44px;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--gold-dark);
  letter-spacing: -.03em;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.brand__wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand__tag {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-top: .25rem;
}

/* light-on-photo variant for hero pages */
.header--on-photo:not(.is-scrolled):not(.is-solid) .brand__name { color: var(--paper); }
.header--on-photo:not(.is-scrolled):not(.is-solid) .brand__tag { color: rgba(255,255,255,.6); }
.header--on-photo:not(.is-scrolled):not(.is-solid) .brand__mark { border-color: var(--gold-light); color: var(--gold-light); }
.header--on-photo:not(.is-scrolled):not(.is-solid) .nav a { color: var(--paper); }
.header--on-photo:not(.is-scrolled):not(.is-solid) .nav a:hover,
.header--on-photo:not(.is-scrolled):not(.is-solid) .nav a.is-current { color: var(--gold-light); }

.nav {
  display: flex; gap: 2.5rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  padding: .25rem 0;
  color: var(--ink-2);
  transition: color var(--transition);
}
.nav a:hover, .nav a.is-current { color: var(--gold); }
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }

.header__cta { display: inline-flex; align-items: center; gap: .85rem; }
.header__phone {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -.005em;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: .45rem;
}
.header--on-photo:not(.is-scrolled):not(.is-solid) .header__phone { color: var(--paper); }
.header__phone svg { width: 14px; height: 14px; color: var(--gold); }

.hamburger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}
.header--on-photo:not(.is-scrolled):not(.is-solid) .hamburger span { background: var(--paper); }

/* ============================================================
   HERO — full-bleed with parallax background
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--paper);
}
.hero__bg {
  position: absolute;
  inset: -10% 0;
  /* Photo: Frames For Your Heart (Unsplash, free) — concrete building near pool */
  background:
    linear-gradient(180deg, rgba(15,42,31,.25) 0%, rgba(15,42,31,.55) 100%),
    url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=2400&q=80')
    center / cover no-repeat;
  background-color: var(--ink);
  z-index: 0;
  will-change: transform;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 4rem;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
}
.hero__eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold-light);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 1.5rem;
  color: var(--paper);
  max-width: 17ch;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  max-width: 52ch;
  margin: 0 0 2.5rem;
}

/* Search bar over the hero */
.hero-search {
  background: var(--paper);
  color: var(--ink);
  padding: .5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: .5rem;
  align-items: center;
  max-width: 920px;
  box-shadow: var(--shadow-lg);
  margin-top: 1rem;
}
.hero-search__field {
  display: flex; flex-direction: column;
  padding: .85rem 1rem;
  position: relative;
}
.hero-search__field + .hero-search__field {
  border-left: 1px solid var(--line);
}
.hero-search__field label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: .25rem;
}
.hero-search__field input,
.hero-search__field select {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  padding: 0;
  width: 100%;
}
.hero-search__tabs {
  position: absolute;
  top: -36px; left: 0;
  display: flex; gap: 2px;
}
.hero-search__tab {
  background: rgba(15,42,31,.55);
  backdrop-filter: blur(8px);
  color: var(--paper);
  padding: .5rem 1.25rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.hero-search__tab:hover { background: rgba(15,42,31,.7); }
.hero-search__tab.is-active { background: var(--paper); color: var(--ink); }
.hero-search__submit {
  background: var(--gold);
  color: var(--ink);
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background var(--transition);
}
.hero-search__submit:hover { background: var(--gold-dark); color: var(--paper); }
.hero-search__submit svg { width: 16px; height: 16px; }

/* Hero variant for inner pages */
.hero--page { min-height: 60vh; }
.hero--page .hero__bg { inset: -5% 0; }
.hero--page .hero__content { padding: 7rem 0 3rem; }
.hero--page .hero__title { font-size: clamp(2.5rem, 5vw, 4rem); }
.hero--about .hero__bg { background-image: linear-gradient(180deg, rgba(15,42,31,.25) 0%, rgba(15,42,31,.55) 100%), url('https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?auto=format&fit=crop&w=2400&q=80'); }
.hero--properties .hero__bg { background-image: linear-gradient(180deg, rgba(15,42,31,.3) 0%, rgba(15,42,31,.6) 100%), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2400&q=80'); }
.hero--contact .hero__bg { background-image: linear-gradient(180deg, rgba(15,42,31,.3) 0%, rgba(15,42,31,.6) 100%), url('https://images.unsplash.com/photo-1635006459494-c9b9665a666e?auto=format&fit=crop&w=2400&q=80'); }
.hero--single .hero__bg { background-image: linear-gradient(180deg, rgba(15,42,31,.15) 0%, rgba(15,42,31,.55) 100%), var(--single-hero, none); background-size: cover; background-position: center; }

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--cream { background: var(--gold-soft); }
.section--ink { background: var(--ink); color: var(--paper); }

.section__head {
  max-width: 720px;
  margin-bottom: 4rem;
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split  {
  max-width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold-dark);
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-light); }
.eyebrow--light::before { background: var(--gold-light); }

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 1rem;
  color: var(--ink);
}
.section__title--light { color: var(--paper); }
.section__title em {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 400;
}
.section__title--light em { color: var(--gold-light); }

.section__sub {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
  max-width: 60ch;
}
.section__sub--light { color: rgba(255,255,255,.78); }

/* ============================================================
   PROPERTY CARDS — for listings + featured carousel
   ============================================================ */

.property-card {
  background: var(--paper);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.property-card__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3) center / cover no-repeat;
}
.property-card__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,42,31,.5) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.property-card:hover .property-card__photo::after { opacity: 1; }
.property-card__photo-img {
  position: absolute; inset: 0;
  background: inherit;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.property-card:hover .property-card__photo-img { transform: scale(1.06); }

.property-card__status {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  background: var(--ink);
  color: var(--paper);
  padding: .35rem .85rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  z-index: 2;
}
.property-card__status--sale  { background: var(--green); }
.property-card__status--rent  { background: var(--gold); color: var(--ink); }
.property-card__status--sold  { background: var(--ink); color: var(--gold-light); }
.property-card__status--offer { background: var(--gold-dark); color: var(--paper); }

.property-card__photo-count {
  position: absolute;
  bottom: 1rem; right: 1rem;
  background: rgba(15,42,31,.7);
  color: var(--paper);
  padding: .3rem .75rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: .35rem;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.property-card__photo-count svg { width: 12px; height: 12px; }

.property-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid var(--line);
  border-top: 0;
  flex: 1;
  display: flex; flex-direction: column;
}
.property-card__price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .25rem;
  line-height: 1;
}
.property-card__price em {
  font-style: italic;
  font-weight: 400;
  color: var(--slate);
  font-size: .9rem;
  margin-left: .25rem;
}
.property-card__address {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-2);
  margin: .55rem 0 .25rem;
  letter-spacing: -.005em;
}
.property-card__suburb {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--slate-2);
  font-weight: 500;
}
.property-card__features {
  display: flex; gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.property-card__feature {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .85rem;
  color: var(--ink-2);
  font-weight: 500;
}
.property-card__feature svg { width: 16px; height: 16px; color: var(--gold-dark); }

/* ============================================================
   FEATURED CAROUSEL — horizontal sliding cards
   ============================================================ */

.carousel {
  position: relative;
  margin: 0 -1.25rem;
}
.carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: .5rem 1.25rem 1.5rem;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 360px);
  gap: 1.5rem;
}
.carousel__track .property-card { scroll-snap-align: start; }

.carousel__btn {
  position: absolute;
  top: calc(50% - 50px);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-2);
  color: var(--ink);
  display: grid; place-items: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  z-index: 3;
  box-shadow: var(--shadow);
}
.carousel__btn:hover {
  background: var(--ink); color: var(--gold-light); border-color: var(--ink); transform: translateY(-50%) scale(1.06);
}
.carousel__btn--prev { left: -8px; }
.carousel__btn--next { right: -8px; }
.carousel__btn svg { width: 16px; height: 16px; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }

/* ============================================================
   PROPERTIES GRID (listings page)
   ============================================================ */

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
}

/* Listing filter bar */
.filter-bar {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 1px;
  background-color: var(--line);
  margin-bottom: 3rem;
}
.filter-bar__cell {
  background: var(--paper);
  padding: .85rem 1.1rem;
}
.filter-bar label {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: .25rem;
}
.filter-bar input, .filter-bar select {
  width: 100%; font: inherit; border: 0; background: transparent;
  color: var(--ink); font-weight: 500; padding: 0; outline: none;
}
.filter-bar__apply {
  background: var(--gold);
  color: var(--ink);
  padding: 0 1.85rem;
  font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  transition: background var(--transition);
}
.filter-bar__apply:hover { background: var(--gold-dark); color: var(--paper); }

/* ============================================================
   SINGLE PROPERTY — gallery + details
   ============================================================ */

.property-hero {
  background: var(--paper-2);
  padding: 6.5rem 0 0;
}
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .5rem;
  height: 520px;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  position: relative;
}
.property-gallery__cell {
  background: var(--paper-3) center / cover no-repeat;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
}
.property-gallery__cell:hover { transform: scale(.995); }
.property-gallery__cell:hover::after { opacity: 1; }
.property-gallery__cell::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15,42,31,.15);
  opacity: 0;
  transition: opacity var(--transition);
}
.property-gallery__cell--main {
  grid-row: 1 / span 2;
}
.property-gallery__see-all {
  position: absolute;
  bottom: 1rem; right: 1rem;
  background: var(--paper);
  color: var(--ink);
  padding: .65rem 1.15rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .4rem;
  z-index: 2;
  transition: background var(--transition), color var(--transition);
  box-shadow: var(--shadow);
}
.property-gallery__see-all:hover { background: var(--ink); color: var(--paper); }
.property-gallery__see-all svg { width: 14px; height: 14px; }

.property-details {
  padding: 4rem 0 6rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}
.property-details__main { min-width: 0; }
.property-details__aside { position: sticky; top: 6rem; }

.property-meta {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.property-meta__status {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.property-meta__price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.018em;
  color: var(--ink);
  margin: 0 0 .5rem;
}
.property-meta__address {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--ink-2);
  margin: .5rem 0 .25rem;
}
.property-meta__suburb {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--slate-2);
  font-weight: 500;
}

.property-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
.property-stat {
  text-align: left;
}
.property-stat__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--gold-dark);
  margin-bottom: .65rem;
}
.property-stat__icon svg { width: 24px; height: 24px; }
.property-stat__value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.01em;
}
.property-stat__label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--slate-2);
  margin-top: .35rem;
  font-weight: 500;
}

.property-description {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}
.property-description p { margin: 0 0 1.25rem; }

.property-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem 2rem;
  margin: 1.5rem 0 2.5rem;
}
.property-features li {
  display: flex; align-items: center; gap: .6rem;
  color: var(--ink-2);
  font-size: .95rem;
  padding: .35rem 0;
  border-bottom: 1px dotted var(--line);
}
.property-features li svg {
  width: 14px; height: 14px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.subhead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 1rem;
}

.inspection-list {
  display: flex; flex-direction: column; gap: .65rem;
}
.inspection-list li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--paper-2);
  border-left: 2px solid var(--gold);
}
.inspection-list li strong {
  font-family: var(--serif); font-weight: 500;
  color: var(--ink); font-size: 1.05rem;
  letter-spacing: -.005em;
}
.inspection-list li span { color: var(--slate); font-size: .92rem; }

/* Aside agent card */
.agent-card {
  background: var(--ink);
  color: var(--paper);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
}
.agent-card::before {
  content: "";
  position: absolute; top: -50px; right: -50px;
  width: 180px; height: 180px;
  border: 1px solid rgba(212,176,127,.18);
  border-radius: 50%;
}
.agent-card::after {
  content: "";
  position: absolute; top: -30px; right: -30px;
  width: 140px; height: 140px;
  border: 1px solid rgba(212,176,127,.12);
  border-radius: 50%;
}
.agent-card__eyebrow {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  position: relative; z-index: 1;
}
.agent-card__avatar {
  width: 64px; height: 64px;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.agent-card__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  color: var(--paper);
  margin: 0 0 .25rem;
  position: relative; z-index: 1;
}
.agent-card__role {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.agent-card__lines {
  display: flex; flex-direction: column; gap: .6rem;
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.75rem;
  position: relative; z-index: 1;
}
.agent-card__lines a:hover { color: var(--gold-light); }
.agent-card .btn { width: 100%; position: relative; z-index: 1; }

/* ============================================================
   "WHY US" benefits — 4 cards
   ============================================================ */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.benefit {
  text-align: left;
  padding: 0 .5rem;
}
.benefit__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.25rem;
  color: var(--gold);
  letter-spacing: -.01em;
  margin-bottom: 1rem;
  display: inline-block;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--gold);
  line-height: 1;
}
.benefit h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .85rem;
  color: var(--ink);
}
.benefit p {
  color: var(--slate);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   SUBURBS GALLERY — visual grid
   ============================================================ */

.suburbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.suburb-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-3) center / cover no-repeat;
  cursor: pointer;
}
.suburb-card__img {
  position: absolute; inset: 0;
  background: inherit;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
}
.suburb-card:hover .suburb-card__img { transform: scale(1.08); }
.suburb-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,42,31,.15) 30%, rgba(15,42,31,.7) 100%);
}
.suburb-card__body {
  position: absolute; inset: auto 0 0 0;
  padding: 2rem;
  color: var(--paper);
  z-index: 2;
}
.suburb-card__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.75rem;
  letter-spacing: -.01em;
  margin: 0 0 .25rem;
}
.suburb-card__count {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.78);
  font-weight: 500;
}

/* ============================================================
   PARALLAX BAND — large image between sections
   ============================================================ */

.parallax-band {
  position: relative;
  min-height: 60vh;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}
.parallax-band__bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}
.parallax-band__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,42,31,.7) 0%, rgba(15,42,31,.35) 60%, rgba(15,42,31,.65) 100%);
}
.parallax-band__inner {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
  width: 100%;
}
.parallax-band__copy { max-width: 620px; }
.parallax-band__copy .section__title { color: var(--paper); }
.parallax-band__copy .section__title em { color: var(--gold-light); }
.parallax-band__copy p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 2rem;
  max-width: 52ch;
}

/* ============================================================
   STATS strip
   ============================================================ */

.stats-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 4rem 0;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: left;
}
.stat-block {
  padding: 0 1.5rem;
  border-left: 1px solid rgba(212,176,127,.25);
}
.stat-block:first-child { border-left: 0; padding-left: 0; }
.stat-block__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold-light);
  margin-bottom: .55rem;
}
.stat-block__num em {
  font-style: italic; font-size: .55em; color: var(--paper); font-weight: 400; margin-left: .15em;
}
.stat-block__label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* ============================================================
   TEAM (no faces) — initial avatars
   ============================================================ */

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  background: var(--paper);
  padding: 2.5rem 2rem 2rem;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.team-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.team-card__avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.85rem;
  color: var(--gold-dark);
  letter-spacing: -.02em;
  margin: 0 auto 1.25rem;
  background: var(--paper-2);
}
.team-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0 0 .35rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.team-card__role {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  font-weight: 500;
}
.team-card__bio {
  color: var(--slate);
  font-size: .92rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}
.team-card__phone {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ============================================================
   CONTACT block
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-lines { display: flex; flex-direction: column; gap: 1rem; }
.contact-line {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line__icon {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.contact-line__icon svg { width: 18px; height: 18px; }
.contact-line__label {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--slate-2);
  font-weight: 500;
  margin-bottom: .2rem;
}
.contact-line__value {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -.01em;
}

.hours {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.75rem 2rem;
  margin-top: 1.5rem;
}
.hours h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 1rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.hours ul { display: grid; gap: .55rem; }
.hours li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .95rem;
}
.hours li dt { color: var(--slate); font-weight: 400; }
.hours li dd { margin: 0; color: var(--ink); font-weight: 500; }
.hours li.is-closed dd { color: var(--slate-2); font-weight: 400; }

/* ============================================================
   FORM
   ============================================================ */

.form {
  background: var(--paper);
  color: var(--ink);
  padding: 2.75rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.form h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.65rem;
  margin: 0 0 .25rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.form__sub { color: var(--slate); font-size: .95rem; margin: 0 0 1rem; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; }
.field > span {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .55rem;
  color: var(--slate);
}
.field > span em { color: var(--slate-2); font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(182,139,78,.15);
}
.field textarea { resize: vertical; min-height: 120px; }

.form__submit { align-self: flex-start; margin-top: .5rem; }
.form__fine { font-size: .78rem; color: var(--slate-2); margin: 0; }

.flash {
  padding: .9rem 1.1rem;
  font-size: .92rem;
  font-weight: 500;
  border: 1px solid transparent;
}
.flash--success { background: #ECF6EE; color: #1E4A38; border-color: #BBDDC4; }
.flash--error   { background: #F8E9E5; color: #7A2A1A; border-color: #E5BBAE; }

/* ============================================================
   CTA banner
   ============================================================ */

.cta-banner {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.cta-banner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 1rem;
  color: var(--paper);
}
.cta-banner h2 em { font-style: italic; color: var(--gold-light); }
.cta-banner p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 auto 2rem;
}
.cta-banner__actions {
  display: flex; gap: .85rem; flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 5rem 0 1.5rem;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand .brand__name { color: var(--paper); font-size: 1.55rem; }
.footer__brand .brand__mark { border-color: var(--gold-light); color: var(--gold-light); }
.footer__brand .brand__tag { color: rgba(255,255,255,.45); }
.footer__brand p {
  margin: 1rem 0 0;
  max-width: 32ch;
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
}
.footer h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--paper);
  margin: 0 0 1.25rem;
  letter-spacing: -.005em;
}
.footer ul { display: flex; flex-direction: column; gap: .6rem; }
.footer a:hover { color: var(--gold-light); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  letter-spacing: .03em;
}
.footer__bottom a { color: rgba(255,255,255,.55); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(.2,.7,.2,1), transform 800ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible,
.reveal-stagger > .is-visible { opacity: 1; transform: none; }

.reveal-stagger > *:nth-child(1) { transition-delay:  60ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 160ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 260ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 360ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 460ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 560ms; }

.reveal--left  { transform: translateX(-30px); }
.reveal--right { transform: translateX( 30px); }
.reveal--left.is-visible,
.reveal--right.is-visible { transform: none; }

/* Hero entry animations */
.hero__content > * { animation: hero-in 1000ms cubic-bezier(.2,.7,.2,1) both; }
.hero__content > *:nth-child(1) { animation-delay:  80ms; }
.hero__content > *:nth-child(2) { animation-delay: 220ms; }
.hero__content > *:nth-child(3) { animation-delay: 360ms; }
.hero__content > *:nth-child(4) { animation-delay: 500ms; }
.hero__content > *:nth-child(5) { animation-delay: 640ms; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .nav            { display: none; }
  .hamburger      { display: flex; }
  .header__phone  { display: none; }

  .hero { min-height: 80vh; }
  .hero-search {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-search__field + .hero-search__field {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .hero-search__submit { padding: 1rem; width: 100%; justify-content: center; }
  .hero-search__tabs { top: -32px; }

  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits        { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .suburbs         { grid-template-columns: repeat(2, 1fr); }
  .team            { grid-template-columns: repeat(2, 1fr); }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat-block { border-left: 0; padding-left: 0; }
  .contact-grid    { grid-template-columns: 1fr; gap: 3rem; }

  .filter-bar      { grid-template-columns: repeat(2, 1fr); }
  .filter-bar__apply { grid-column: 1 / -1; padding: 1rem; }

  .property-details { grid-template-columns: 1fr; gap: 2.5rem; }
  .property-details__aside { position: static; }
  .property-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px 240px;
    height: auto;
  }
  .property-gallery__cell--main { grid-row: 1; grid-column: 1 / span 2; }

  /* Mobile nav drawer */
  body.nav-open { overflow: hidden; }
  body.nav-open::before {
    content: "";
    position: fixed; inset: 0;
    background: rgba(15,42,31,.55);
    z-index: 49;
    animation: nav-fade 280ms ease-out both;
  }
  body.nav-open .nav {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    width: min(380px, 100%);
    height: 100vh; height: 100dvh;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    padding: 6rem 2.5rem 2rem;
    z-index: 60;
    animation: nav-slide 320ms cubic-bezier(.2,.7,.2,1) both;
  }
  body.nav-open .nav a {
    color: var(--ink);
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: -.005em;
    text-transform: none;
  }
  body.nav-open .nav a::after { display: none; }
  body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--ink); }
  body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
  body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }
  @keyframes nav-slide { from { transform: translateX(100%); } to { transform: none; } }
  @keyframes nav-fade  { from { opacity: 0; } to { opacity: 1; } }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .header { padding: 1rem 0; }
  .header.is-scrolled { padding: .7rem 0; }
  .brand__mark { width: 38px; height: 38px; font-size: 1.2rem; }
  .brand__name { font-size: 1.25rem; }
  .brand__tag { display: none; }

  .properties-grid { grid-template-columns: 1fr; }
  .benefits        { grid-template-columns: 1fr; }
  .suburbs         { grid-template-columns: 1fr; }
  .team            { grid-template-columns: 1fr; }
  .stats-strip__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .form            { padding: 1.75rem; }
  .form__row       { grid-template-columns: 1fr; }
  .property-features { grid-template-columns: 1fr; }
  .property-stats  { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .property-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 240px;
    height: auto;
  }
  .property-gallery__cell--main { grid-column: 1; }
  .property-gallery__cell:nth-child(n+3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hero__bg, .parallax-band__bg { transform: none !important; }
}

/* WP admin bar safety */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
