/* Self-hosted fonts (latin subset). Served from this site so the page no longer
   waits on Google's servers before showing text. Same fonts as before. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-600-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/jost-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jost-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jost-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/jost-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/jost-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
  /* Brand colours from the logo */
  --blue:        #1B8DC6;
  --blue-dark:   #1472A4;
  --blue-light:  #42B0E0;
  --blue-deep:   #0D3F5C;
  --blue-pale:   #EBF7FD;
  --blue-mid:    #D0EBF7;

  /* CTA */
  /* Deeper, more muted terracotta (toned down from the brighter #E06242 orange). */
  --coral:       #C8603F;
  --coral-dark:  #AC4E30;

  /* Neutrals */
  --white:       #FFFFFF;
  --off-white:   #F7F9FC;
  --warm-grey:   #F0EDE8;
  --border:      #D8DEE6;
  --border-light:#EBEEf2;

  /* Text */
  --text:        #0D2A3C;
  --text-mid:    #465E72;
  --text-light:  #7A90A4;

  /* Type Scale */
  --xs:   0.75rem;
  --sm:   0.875rem;
  --base: 1rem;
  --lg:   1.125rem;
  --xl:   1.25rem;
  --2xl:  1.5rem;
  --3xl:  1.875rem;
  --4xl:  2.25rem;
  --5xl:  3rem;

  /* Spacing */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s7:  1.75rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;

  /* Shape */
  --r:    6px;
  --r-lg: 12px;
  --r-xl: 18px;
  --pill: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 4px rgba(13,42,60,.07), 0 1px 2px rgba(13,42,60,.04);
  --sh:    0 3px 14px rgba(13,42,60,.10), 0 2px 4px rgba(13,42,60,.05);
  --sh-lg: 0 8px 30px rgba(13,42,60,.13), 0 3px 8px rgba(13,42,60,.07);
  --sh-xl: 0 18px 50px rgba(13,42,60,.17);

  --ease: 0.2s ease;
  --ease-slow: 0.35s ease;
  --max: 1200px;
  --wide: 1380px;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img    { max-width: 100%; display: block; }
a      { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: var(--xl); font-family: 'Jost', sans-serif; }

p { color: var(--text-mid); line-height: 1.8; }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: var(--xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.lead {
  font-size: var(--lg);
  color: var(--text-mid);
  line-height: 1.75;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--s6);
}
/* Modifiers are self-contained so they centre and pad even when used standalone (without .container) */
.container--wide, .container--narrow { margin-inline: auto; padding-inline: var(--s6); }
.container--wide { max-width: var(--wide); }
.container--narrow { max-width: 760px; }

.section     { padding-block: var(--s20); }
.section--sm { padding-block: var(--s16); }
.section--lg { padding-block: var(--s24); }

.grid-2  { display: grid; grid-template-columns: 1fr 1fr;        gap: var(--s8); }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }

/* Section header */
.sec-head { margin-bottom: var(--s12); }
.sec-head--center { text-align: center; }
.sec-head h2 { margin-block: var(--s2) var(--s4); }
.sec-head .lead { max-width: 580px; }
.sec-head--center .lead { margin-inline: auto; }

/* Utility */
.text-center { text-align: center; }
.text-white  { color: #fff; }
.text-blue   { color: var(--blue); }
.text-light  { color: var(--text-light); }
.mt-4  { margin-top: var(--s4); }
.mt-6  { margin-top: var(--s6); }
.mt-8  { margin-top: var(--s8); }
.mt-12 { margin-top: var(--s12); }
.mb-4  { margin-bottom: var(--s4); }
.mb-6  { margin-bottom: var(--s6); }
.mb-8  { margin-bottom: var(--s8); }

/* ===========================
   IMAGE PLACEHOLDERS
   =========================== */
.img-ph {
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  /* isolate so the photo's z-index:1 stays contained and never paints over
     sibling overlays/labels (e.g. hero blue overlay, suburb-tile names). */
  isolation: isolate;
  background: linear-gradient(140deg, var(--blue-deep) 0%, var(--blue-dark) 50%, var(--blue) 100%);
}
.img-ph::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,.04) 50%, transparent 60%);
}
.img-ph--coastal  { background: linear-gradient(140deg, #094E7A 0%, #1270A8 40%, #1B8DC6 75%, #2BA0D8 100%); }
.img-ph--prop1    { background: linear-gradient(140deg, #0D3F5C 0%, #155E88 55%, #1B8DC6 100%); }
.img-ph--prop2    { background: linear-gradient(140deg, #0A3A54 0%, #124F72 55%, #185F8A 100%); }
.img-ph--prop3    { background: linear-gradient(140deg, #0F4568 0%, #1A6090 55%, #2278AB 100%); }
.img-ph--prop4    { background: linear-gradient(140deg, #0C4060 0%, #175880 55%, #1E7098 100%); }
.img-ph--sub1     { background: linear-gradient(140deg, #084870 0%, #0F6898 60%, #1B8DC6 100%); }
.img-ph--sub2     { background: linear-gradient(140deg, #064260 0%, #0D5C85 60%, #1578AD 100%); }
.img-ph--sub3     { background: linear-gradient(140deg, #0A3D5A 0%, #125480 60%, #1A6EA8 100%); }
.img-ph--sub4     { background: linear-gradient(140deg, #0C4265 0%, #145880 60%, #1C72A0 100%); }
.img-ph--sub5     { background: linear-gradient(140deg, #0A3D58 0%, #125275 60%, #1A6A90 100%); }
.img-ph--sub6     { background: linear-gradient(140deg, #083C52 0%, #104E6E 60%, #186090 100%); }
.img-ph--person   { background: linear-gradient(140deg, #0D4A6A 0%, #1870A0 60%, #2290C8 100%); }
.img-ph--map      { background: linear-gradient(140deg, #0A3C58 0%, #125270 60%, #1A6888 100%); }

.img-ph-label {
  position: relative; z-index: 1;
  font-family: 'Jost', sans-serif;
  font-size: var(--xs); font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.32);
}

/* When a real photo is dropped into a placeholder, it fills the box (the gradient
   stays behind as a load-in fallback). Just add an <img> inside any .img-ph. */
.img-ph > img {
  position: absolute; inset: 0; z-index: 1;
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}
/* Headshot crop: these team photos are full-length studio portraits, so the
   default square cover-crop centres on the jacket and clips the head. Reveal the
   head with object-position, then zoom toward it for a head-and-shoulders frame. */
.img-ph--headshot > img {
  object-position: 50% 6%;
  transform: scale(2.2);
  transform-origin: 50% 6%;
}
.img-ph:has(img)::after { display: none; }
.img-ph:has(img) .img-ph-label { display: none; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: .875rem 1.75rem;
  font-family: 'Jost', sans-serif;
  font-size: var(--sm); font-weight: 600; letter-spacing: .04em;
  border-radius: var(--r);
  transition: all var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn--primary {
  background: var(--coral); color: #fff;
}
.btn--primary:hover {
  background: var(--coral-dark);
  box-shadow: 0 5px 20px rgba(224,98,66,.35);
  transform: translateY(-1px);
}
.btn--blue {
  background: var(--blue); color: #fff;
}
.btn--blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 5px 20px rgba(27,141,198,.35);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--ghost {
  background: transparent; color: var(--blue); padding-inline: 0;
  font-size: var(--base); font-weight: 600;
}
.btn--ghost::after { content: ' \2192'; display: inline-block; transition: transform var(--ease); }
.btn--ghost:hover  { color: var(--blue-dark); }
.btn--ghost:hover::after { transform: translateX(5px); }
.btn--ghost-white { color: rgba(255,255,255,.85); }
.btn--ghost-white:hover { color: #fff; }
.btn--lg   { padding: 1.1rem 2.25rem; font-size: var(--base); }
.btn--sm   { padding: .6rem 1.2rem;   font-size: var(--xs); }
/* Full-width buttons may carry long labels (e.g. "Get a Wembley Downs Appraisal").
   Allow them to wrap so a long label never forces its container wider than the
   viewport on narrow phones; they only wrap when too narrow to fit on one line. */
.btn--wide { width: 100%; justify-content: center; white-space: normal; text-align: center; }

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background var(--ease-slow), box-shadow var(--ease-slow);
}
.nav--scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(13,42,60,.10);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem var(--s6);
  max-width: var(--wide); margin-inline: auto;
}

/* Logo */
.nav__logo { display: flex; align-items: center; }
.nav__logo-img {
  height: 48px; width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter var(--ease-slow);
}
.nav--scrolled .nav__logo-img {
  filter: none;
}

/* Desktop menu */
.nav__menu { display: flex; align-items: center; gap: 0; }
.nav__item { position: relative; }
.nav__link {
  display: block; padding: var(--s3) var(--s5);
  font-family: 'Jost', sans-serif;
  font-size: var(--base); font-weight: 500;
  color: rgba(255,255,255,.88); border-radius: var(--r);
  transition: color var(--ease), background var(--ease);
}
.nav--scrolled .nav__link { color: var(--text); }
.nav__link:hover { color: #fff; }
.nav--scrolled .nav__link:hover { color: var(--blue); background: var(--blue-pale); }

/* Dropdown */
.nav__drop {
  position: absolute; top: calc(100% + 4px); left: 50%;
  min-width: 195px;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); border: 1px solid var(--border-light);
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(-8px) scale(.97);
  transform-origin: top center;
  transition: all .2s ease;
}
/* Invisible bridge over the gap so the menu does not vanish while moving the cursor onto it */
.nav__drop::before {
  content: ''; position: absolute;
  left: 0; right: 0; top: -12px; height: 12px;
}
.nav__item:hover .nav__drop {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav__drop a {
  display: block; padding: var(--s3) var(--s5);
  font-family: 'Jost', sans-serif;
  font-size: var(--sm); color: var(--text-mid);
  transition: all var(--ease);
}
.nav__drop a:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.nav__drop a:last-child  { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.nav__drop a:hover { background: var(--blue-pale); color: var(--blue); padding-left: calc(var(--s5) + 4px); }

/* Slightly larger nav CTA than the default btn--sm so the header reads bigger. */
.nav__cta.btn { margin-left: var(--s5); padding: .85rem 1.9rem; font-size: var(--base); font-weight: 700; }

/* Hamburger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  padding: var(--s2); cursor: pointer;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: all var(--ease);
}
.nav--scrolled .nav__burger span { background: var(--blue-deep); }

/* Mobile overlay */
.nav__mobile {
  display: none; position: fixed; inset: 0; z-index: 950;
  background: var(--blue-deep);
  flex-direction: column; padding: var(--s8) var(--s6);
  overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile-close {
  align-self: flex-end; margin-bottom: var(--s8);
  color: rgba(255,255,255,.6); font-size: 1.75rem; line-height: 1; padding: var(--s2);
}
.nav__mobile-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 2px;
}
.nav__mobile-tag {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: var(--s8);
}
.nav__mobile-group { border-top: 1px solid rgba(255,255,255,.08); }
.nav__mobile-link {
  display: block; padding: var(--s5) 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--2xl); color: #fff;
}
.nav__mobile-sub { padding-bottom: var(--s4); display: flex; flex-direction: column; gap: 2px; }
.nav__mobile-sub a {
  display: block; padding: var(--s2) var(--s4);
  font-size: var(--base); color: rgba(255,255,255,.5);
  transition: color var(--ease);
}
.nav__mobile-sub a:hover { color: var(--blue-light); }
.nav__mobile-cta { margin-top: var(--s8); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative; min-height: min(100vh, 1000px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg .img-ph { width: 100%; height: 100%; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.6s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .hero__slide .img-ph { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  /* Even, soft deep-blue wash. Dropped the bright light-blue bottom stop that
     made the navy-to-cyan transition look strange/intense. */
  background: linear-gradient(
    170deg,
    rgba(10,31,47,.60) 0%,
    rgba(12,42,62,.40) 60%,
    rgba(12,42,62,.34) 100%
  );
}

/* Split hero panels */
.hero__split {
  position: relative; z-index: 1;
  width: 100%; display: flex; flex-direction: column; flex: 1;
  justify-content: center;
}
.hero__intro {
  text-align: center;
  padding: 7rem var(--s6) var(--s8);
  max-width: 740px; margin: auto; width: 100%;
}
.hero__intro .eyebrow { color: rgba(255,255,255,.6); letter-spacing: .2em; }
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: #fff; font-weight: 600; margin-block: var(--s4) var(--s5);
  line-height: 1.08; letter-spacing: -.015em;
  /* Soft halo keeps the title legible on the brighter rotator slides now that
     the overlay is lighter. */
  text-shadow: 0 2px 28px rgba(7,18,28,.45);
}
.hero__title em { font-style: italic; color: var(--blue-light); }
.hero__subtitle {
  font-size: var(--lg); color: rgba(255,255,255,.75);
  line-height: 1.7; margin-bottom: 0;
}
.hero__appraise {
  display: flex; gap: var(--s2);
  max-width: 700px; margin: var(--s10) auto 0;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-lg); padding: var(--s2);
  backdrop-filter: blur(6px);
}
.hero__appraise-input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  color: #fff; padding: 0 var(--s4);
  font-family: 'Jost', sans-serif; font-size: var(--base);
}
.hero__appraise-input::placeholder { color: rgba(255,255,255,.6); }
.hero__appraise-input:focus { outline: none; }
.hero__appraise-btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 600px) {
  .hero__appraise {
    flex-direction: column; background: transparent;
    border: 0; padding: 0; gap: var(--s3);
  }
  .hero__appraise-input {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: var(--r-lg); padding: var(--s4);
  }
}
.hero__panels {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: auto;
}
.hero__panel {
  padding: var(--s10) var(--s10) var(--s12);
  display: flex; flex-direction: column; gap: var(--s5);
  min-height: 248px;
  cursor: pointer; transition: background var(--ease-slow);
  /* Navy panels: near-solid at the bottom so they meet the navy stats bar
     seamlessly, semi-transparent at the top so the hero image shows through.
     Same navy as --blue-deep (#0D3F5C) for a clean image -> boxes -> bar flow. */
  background: linear-gradient(to top, rgba(13,63,92,.95) 0%, rgba(13,63,92,.64) 100%);
}
.hero__panel--buy  { border-right: 1px solid rgba(255,255,255,.12); }
.hero__panel--buy:hover,
.hero__panel--sell:hover { background: linear-gradient(to top, rgba(15,72,104,.97) 0%, rgba(17,82,118,.72) 100%); }
.hero__panel-label {
  font-family: 'Jost', sans-serif;
  font-size: var(--xs); font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue-light);
}
.hero__panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 600; color: #fff;
  line-height: 1.2;
}
.hero__panel-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: var(--s3);
  font-family: 'Jost', sans-serif;
  font-size: var(--sm); font-weight: 600; color: rgba(255,255,255,.8);
  transition: color var(--ease), gap var(--ease);
}
.hero__panel:hover .hero__panel-link { color: #fff; gap: var(--s4); }
.hero__panel-link::after { content: '\2192'; }

/* Simple hero for inner pages */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  padding: 8rem 0 var(--s16); margin-top: 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero--blue { background: var(--blue); }
.page-hero__eyebrow { color: var(--blue-light); margin-bottom: var(--s3); }
.page-hero h1 {
  color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: var(--s4); line-height: 1.1;
}
.page-hero .lead { color: rgba(255,255,255,.72); max-width: 560px; }

/* ===========================
   STATS BAR
   =========================== */
/* Navy band: the hero's navy Buy/Sell boxes flow straight into it. */
.stats-bar { background: var(--blue-deep); }
.stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-bar__item {
  padding: var(--s8) var(--s6); text-align: center;
  border-right: 1px solid rgba(255,255,255,.09);
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700;
  color: var(--blue-light); line-height: 1; margin-bottom: var(--s2);
}
.stats-bar__label {
  font-size: var(--sm); color: rgba(255,255,255,.55); line-height: 1.35;
}

/* ===========================
   SUBURB AT A GLANCE
   Shared, API-ready stat panel used across all six suburb guides. Volatile
   values (median price, days on market, homes sold) carry a data-stat hook so
   a future property-data feed can populate them with no markup change. Static
   facts (CBD/beach distance, lot character, postcode) have no hook.
   =========================== */
.suburb-stat {
  background: var(--blue-deep);
  border-radius: 12px;
  padding: var(--s8);
  color: #fff;
}
.suburb-stat__note {
  color: rgba(255,255,255,.55);
  font-size: var(--xs);
  line-height: 1.6;
  margin: 0 0 var(--s6);
}
.suburb-stat__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5) var(--s6);
}
.suburb-stat__item {
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: var(--s4);
}
.suburb-stat__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin: 0;
}
.suburb-stat__label {
  color: rgba(255,255,255,.6);
  font-size: var(--sm);
  margin: var(--s2) 0 0;
}
.suburb-stat__meta {
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid rgba(255,255,255,.12);
}
.suburb-stat__meta-label {
  color: var(--blue-light);
  font-size: var(--xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 var(--s2);
}
.suburb-stat__meta-text {
  color: rgba(255,255,255,.82);
  font-size: var(--sm);
  line-height: 1.7;
  margin: 0;
}
.suburb-stat__cta { margin-top: var(--s6); }
@media (max-width: 480px) {
  .suburb-stat__grid { grid-template-columns: 1fr; }
}

/* ===========================
   PROPERTY CARDS
   =========================== */
.card {
  background: #fff; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh);
  transition: transform var(--ease-slow), box-shadow var(--ease-slow);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); }

.card__img {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
}

/* Loading placeholder cards shown while live Rex listings load (rex-listings.js).
   A soft shimmer over neutral blocks; no fabricated content. */
.card--skeleton { pointer-events: none; }
.sk { position: relative; overflow: hidden; background: #e7edf3; border-radius: var(--r); }
.card--skeleton .card__img.sk { border-radius: 0; }
.sk-line { height: 14px; margin: 0 0 10px; }
.card--skeleton .card__body { padding-top: var(--s4); }
.sk-line--sm { width: 40%; }
.sk-line--md { width: 60%; }
.sk-line--lg { width: 85%; height: 18px; }
.sk::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: skShimmer 1.3s ease-in-out infinite;
}
@keyframes skShimmer { 100% { transform: translateX(100%); } }
.listings-empty { text-align: center; padding: var(--s10) var(--s4); }
@media (prefers-reduced-motion: reduce) { .sk::after { animation: none; } }

.card__img .img-ph {
  width: 100%; height: 100%;
  transition: transform var(--ease-slow);
}
.card:hover .card__img .img-ph { transform: scale(1.04); }

.card__badge {
  position: absolute; top: var(--s4); left: var(--s4);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Jost', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 13px 6px; border-radius: var(--pill);
  color: #fff;
  /* Soft, premium glass pill instead of a flat highlighter block. */
  background: rgba(13, 63, 92, .58);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(13, 63, 92, .25);
}
/* Small colour dot carries the status meaning; the pill itself stays calm. */
.card__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 0 3px rgba(255,255,255,.18);
}
.card__badge--new   { color: #fff; }
/* New listings get a live coral dot: the colour "leaks" out as a soft glow that gently pulses. */
.card__badge--new::before {
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(190,82,54,.22), 0 0 9px 2px rgba(190,82,54,.75);
  animation: badgeDotPulse 2.4s ease-in-out infinite;
}
@keyframes badgeDotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(190,82,54,.20), 0 0 6px 1px rgba(190,82,54,.55); }
  50%      { box-shadow: 0 0 0 3px rgba(190,82,54,.28), 0 0 13px 4px rgba(190,82,54,.9); }
}
@media (prefers-reduced-motion: reduce) {
  .card__badge--new::before { animation: none; }
}
.card__badge--forsale::before { background: var(--coral); }      /* available now */
.card__badge--under::before   { background: #F2B705; }           /* under offer (amber) */
.card__badge--coming::before  { background: var(--blue-light); } /* coming soon (blue) */
.card__badge--sold  { background: rgba(13, 63, 92, .82); }
.card__badge--sold::before  { background: #fff; }

.card__body { padding: var(--s5) var(--s6); flex: 1; display: flex; flex-direction: column; }
.card__suburb {
  font-size: var(--xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: var(--s1);
}
.card__addr {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--xl); font-weight: 600; color: var(--text);
  margin-bottom: var(--s2); line-height: 1.25;
  /* Reserve two lines so 1- and 2-line addresses keep cards aligned. */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: calc(1.25em * 2);
}
.card__price {
  font-size: var(--xl); font-weight: 700; color: var(--blue-deep);
  margin-bottom: var(--s4);
}
/* Listing blurb: clamp to two lines so cards stay a uniform height. */
.card__desc {
  font-size: var(--sm); color: var(--text-mid);
  margin-top: var(--s3); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
/* No-photo fallback: a calm centred label, never the cropped address. */
.card__img-empty { display: flex; align-items: center; justify-content: center; }
.card__img-empty span {
  font-family: 'Jost', sans-serif; font-size: var(--xs); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.card__features {
  display: flex; gap: var(--s5); padding-top: var(--s4);
  border-top: 1px solid var(--border-light); margin-top: auto;
}
.card__feat {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--sm); color: var(--text-mid);
  font-family: 'Jost', sans-serif; font-weight: 500;
}
/* Branded line icons (blue, matching the suburb label) replace the emoji glyphs. */
.card__feat .feat-ico {
  width: 17px; height: 17px; flex-shrink: 0;
  color: var(--blue); stroke: var(--blue);
}
.card__feat-icon {
  width: 14px; height: 14px; opacity: .5;
  background: currentColor;
}
.icon-bed { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M3 19v-8.93A2 2 0 0 1 4.24 8.3l8-5.33a2 2 0 0 1 3.52 0l8 5.33A2 2 0 0 1 21 10.07V19'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M3 19v-8.93A2 2 0 0 1 4.24 8.3l8-5.33a2 2 0 0 1 3.52 0l8 5.33A2 2 0 0 1 21 10.07V19'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Land size display */
.card__land {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--sm); font-weight: 600; color: var(--blue);
  background: var(--blue-pale); padding: var(--s2) var(--s3);
  border-radius: var(--r); margin-bottom: var(--s4);
}

/* Days on market */
.card__dom {
  font-size: var(--xs); color: var(--text-light); margin-top: var(--s2);
}

/* ===========================
   FILTER BAR
   =========================== */
/* Listing filter row. STATIC (it does not follow the scroll, these pages are
   short, so a pinned bar just gets in the way). Width is driven by the
   container class in the markup so the bar lines up with the grid beneath it. */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.filter-bar__inner {
  display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
  padding: var(--s5) var(--s6);
}
/* Proper, clearly-defined controls (not flat boxes). Longhand background-color
   so the select chevron below is never wiped by a shorthand. */
.filter-bar select, .filter-bar input:not([type=checkbox]) {
  /* width:auto overrides .form-select's width:100% (which made the controls
     stack full-width into tall vertical rows). Compact so the whole filter
     sits on one or two tidy lines. */
  width: auto; flex: 0 0 auto;
  padding: .55rem var(--s4);
  font-family: 'Jost', sans-serif; font-size: var(--sm); font-weight: 500;
  color: var(--text); background-color: #fff;
  border: 1.5px solid var(--border); border-radius: var(--r);
  outline: none; cursor: pointer;
  transition: border-color var(--ease), box-shadow var(--ease);
  min-width: 118px;
}
.filter-bar select {
  -webkit-appearance: none; appearance: none;
  padding-right: var(--s10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B8DC6' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s4) center;
}
/* The "Open homes only" toggle is a real checkbox, not a control box. */
.filter-bar input[type=checkbox] {
  width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer;
}
.filter-bar select:hover, .filter-bar input:not([type=checkbox]):hover { border-color: var(--blue-light); }
.filter-bar select:focus, .filter-bar input:not([type=checkbox]):focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,141,198,.12);
}
.filter-count {
  margin-left: auto;
  font-size: var(--sm); color: var(--text-light); font-weight: 500;
}

/* ===========================
   WHY US FEATURES
   =========================== */
.feature {
  display: flex; gap: var(--s5);
  padding: var(--s5) var(--s6); border-radius: var(--r-lg);
  transition: background var(--ease);
}
.feature:hover { background: var(--blue-pale); }
.feature__icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--blue-pale); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.feature__icon svg {
  width: 26px; height: 26px;
  color: var(--blue); transition: color var(--ease);
}
.feature:hover .feature__icon { background: var(--blue); }
.feature:hover .feature__icon svg { color: #fff; }
.feature__title {
  font-family: 'Jost', sans-serif;
  font-size: var(--lg); font-weight: 600;
  color: var(--text); margin-bottom: var(--s2);
}
.feature__text { font-size: var(--sm); line-height: 1.75; }

/* Land "why build" points: self-contained cards with a themed icon tile.
   Informational (NO hover, not links) but given enough weight to not read thin. */
.build-point {
  height: 100%;
  padding: var(--s8) var(--s6);
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
}
.build-point__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin-bottom: var(--s5);
  background: var(--blue-pale); color: var(--blue); border-radius: var(--r-lg);
}
.build-point__icon svg { width: 26px; height: 26px; }
.build-point .feature__title { font-size: var(--xl); margin-bottom: var(--s3); }
.build-point .feature__text { font-size: var(--base); line-height: 1.7; }

/* Open Homes empty state: a calm, intentional card (not floating text). */
.oh-empty {
  max-width: 560px; margin-inline: auto; text-align: center;
  padding: var(--s12) var(--s8);
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

/* Open Homes "call the team" options (left of the private-viewing form). */
.oh-agents { display: flex; flex-direction: column; gap: var(--s4); }
.oh-agent {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s3) var(--s4);
  border: 1.5px solid var(--border-light); border-radius: var(--r-lg);
  background: #fff; transition: border-color var(--ease), box-shadow var(--ease);
}
.oh-agent:hover { border-color: var(--blue-light); box-shadow: var(--sh-sm); }
.oh-agent__photo {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: var(--pill); overflow: hidden; background: var(--blue-pale);
}
.oh-agent__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oh-agent__info { display: flex; flex-direction: column; line-height: 1.3; }
.oh-agent__name { font-weight: 600; color: var(--text); }
.oh-agent__role {
  font-size: var(--xs); color: var(--text-light);
  letter-spacing: .05em; text-transform: uppercase;
}
.oh-agent__phone { margin-left: auto; font-weight: 600; color: var(--blue); white-space: nowrap; }

/* ===========================
   PROCESS STEPS
   =========================== */
.process-step {
  display: flex; gap: var(--s6);
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--border-light);
}
.process-step:last-child { border-bottom: none; }
.process-step__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700; color: var(--blue-mid);
  line-height: 1; min-width: 52px; flex-shrink: 0;
}
.process-step__title {
  font-family: 'Jost', sans-serif;
  font-size: var(--lg); font-weight: 600; color: var(--text); margin-bottom: var(--s2);
}
.process-step__text { font-size: var(--sm); line-height: 1.8; }

/* ===========================
   TESTIMONIALS
   =========================== */
.testi {
  background: #fff; border-radius: var(--r-lg);
  padding: var(--s8); box-shadow: var(--sh);
  position: relative; border-top: 3px solid var(--blue);
}
.testi__mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; line-height: 1; color: var(--blue-mid);
  position: absolute; top: var(--s4); right: var(--s6);
  pointer-events: none; user-select: none;
}
.testi__stars { display: flex; gap: 2px; color: var(--blue); font-size: var(--sm); margin-bottom: var(--s4); }
.testi__body {
  font-size: var(--base); line-height: 1.8; color: var(--text-mid);
  margin-bottom: var(--s6); position: relative; z-index: 1;
}
.testi__author { display: flex; align-items: center; gap: var(--s4); }
.testi__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--lg); font-weight: 700; color: #fff;
}
.testi__name   { font-weight: 600; color: var(--text); font-size: var(--sm); }
.testi__suburb { font-size: var(--xs); color: var(--text-light); margin-top: 2px; }

/* Aggregate rating badge, rendered by reviews.js into [data-reviews-summary] */
.reviews-summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--s2) var(--s3); font-family: 'Jost', sans-serif; text-align: center;
}
.reviews-summary__score { font-size: var(--xl); font-weight: 700; color: var(--blue-deep); line-height: 1; }
.reviews-summary__stars { color: #F2B705; font-size: var(--xl); letter-spacing: 2px; line-height: 1; }
.reviews-summary__count { font-size: var(--sm); font-weight: 500; color: var(--text-light); }
.reviews-summary__link {
  font-size: var(--sm); font-weight: 600; color: var(--blue);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.reviews-summary__link:hover { color: var(--blue-dark); }

/* ===========================
   SUBURB TILES
   =========================== */
.suburb-tile {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; aspect-ratio: 4/3; cursor: pointer;
  transition: box-shadow var(--ease-slow);
}
.suburb-tile:hover { box-shadow: var(--sh-xl); }
.suburb-tile .img-ph { width: 100%; height: 100%; }
.suburb-tile__over {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(9,40,62,.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--s5); transition: background var(--ease-slow);
}
.suburb-tile:hover .suburb-tile__over {
  background: linear-gradient(180deg, rgba(9,40,62,.2) 0%, rgba(9,40,62,.92) 100%);
}
.suburb-tile__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--xl); font-weight: 600; color: #fff; margin-bottom: 2px;
}
.suburb-tile__meta {
  font-size: var(--xs); color: var(--blue-light);
  letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
}
.suburb-tile__arr {
  position: absolute; top: var(--s4); right: var(--s4);
  width: 34px; height: 34px;
  background: rgba(255,255,255,.14); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: var(--sm);
  opacity: 0; transition: opacity var(--ease);
  backdrop-filter: blur(4px);
}
.suburb-tile:hover .suburb-tile__arr { opacity: 1; }
/* Whole-tile clickable: stretched link sits above the gradient/label */
.suburb-tile__link { position: absolute; inset: 0; z-index: 3; }

/* ===========================
   OPEN HOMES SCHEDULE
   =========================== */
.ofi-card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh);
  display: grid; grid-template-columns: auto 1fr auto;
  gap: var(--s6); align-items: center;
  padding: var(--s5) var(--s6);
  transition: box-shadow var(--ease-slow);
}
.ofi-card:hover { box-shadow: var(--sh-lg); }
.ofi-card__date {
  background: var(--blue-pale); border-radius: var(--r);
  padding: var(--s3) var(--s4); text-align: center; min-width: 60px;
}
.ofi-card__day {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--2xl); font-weight: 700; color: var(--blue-deep); line-height: 1;
}
.ofi-card__month {
  font-size: var(--xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
}
.ofi-card__suburb {
  font-size: var(--xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: var(--s1);
}
.ofi-card__addr {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--lg); font-weight: 600; color: var(--text); margin-bottom: var(--s1);
}
.ofi-card__time {
  font-size: var(--sm); color: var(--text-light);
}

/* ===========================
   MULTI-STEP FORM (Appraisal)
   =========================== */
.step-form { max-width: 700px; margin-inline: auto; }
.step-dots {
  display: flex; justify-content: center; gap: var(--s3); margin-bottom: var(--s10);
}
.step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); transition: background var(--ease);
  position: relative;
}
.step-dot.active { background: var(--blue); }
.step-dot.done   { background: var(--blue-light); }
.step-dot::after {
  content: attr(data-label);
  position: absolute; top: 18px; left: 50%;
  transform: translateX(-50%);
  font-size: var(--xs); white-space: nowrap;
  color: var(--text-light); font-weight: 500;
}
.step-dot.active::after { color: var(--blue); }

.step-panel { display: none; }
.step-panel.active { display: block; }

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--3xl); margin-bottom: var(--s2);
}
.step-sub { margin-bottom: var(--s8); }

/* Tile selectors */
.tile-group { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s6); }
.tile {
  padding: var(--s3) var(--s5);
  border: 2px solid var(--border); border-radius: var(--r);
  font-family: 'Jost', sans-serif; font-size: var(--sm); font-weight: 500;
  cursor: pointer; transition: all var(--ease); background: #fff;
  color: var(--text-mid);
}
.tile:hover    { border-color: var(--blue); color: var(--blue); }
.tile.selected { border-color: var(--blue); background: var(--blue-pale); color: var(--blue-dark); }

/* Steppers */
.stepper-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-bottom: var(--s6); }
.stepper {
  border: 1.5px solid var(--border); border-radius: var(--r);
  padding: var(--s4); text-align: center;
}
.stepper__label { font-size: var(--xs); color: var(--text-light); margin-bottom: var(--s3); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.stepper__controls { display: flex; align-items: center; justify-content: center; gap: var(--s4); }
.stepper__btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--border); background: #fff;
  font-size: var(--lg); color: var(--text-mid); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease);
}
.stepper__btn:hover { border-color: var(--blue); color: var(--blue); }
.stepper__val { font-size: var(--xl); font-weight: 700; color: var(--text); min-width: 28px; }

/* Checkboxes */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); margin-bottom: var(--s6); }
.check-item { display: flex; align-items: center; gap: var(--s3); cursor: pointer; }
.check-item input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.check-item span { font-size: var(--sm); color: var(--text-mid); }

/* ===========================
   FORM ELEMENTS
   =========================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-group { margin-bottom: var(--s5); }
.form-label {
  display: block; font-size: var(--sm); font-weight: 600;
  color: var(--text); margin-bottom: var(--s2);
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .875rem var(--s4);
  font-family: 'Jost', sans-serif; font-size: var(--base);
  color: var(--text); background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--r);
  outline: none; transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,141,198,.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-light); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A90A4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s4) center;
  padding-right: var(--s10);
}

/* ===========================
   AGENT SPOTLIGHT
   =========================== */
.agent-card {
  background: var(--blue-deep); border-radius: var(--r-xl);
  padding: var(--s10); display: grid;
  grid-template-columns: 200px 1fr; gap: var(--s8);
  align-items: center;
}
.agent-card__photo {
  width: 200px; height: 260px; border-radius: var(--r-lg); overflow: hidden;
  flex-shrink: 0;
}
.agent-card__photo .img-ph { width: 100%; height: 100%; }
.agent-card__title {
  font-size: var(--xs); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: var(--s2);
}
.agent-card h2 { color: #fff; margin-bottom: var(--s2); }
.agent-card .lead { color: rgba(255,255,255,.72); margin-bottom: var(--s6); }
/* Stat strip — light background (Meet the Team) */
.agent-card__stats {
  display: flex; flex-wrap: wrap;
  border: 1px solid var(--border-light); border-radius: var(--r-lg);
  background: #fff; overflow: hidden;
}
.agent-card__stat {
  flex: 1; min-width: 140px;
  padding: var(--s5) var(--s6);
  border-left: 1px solid var(--border-light);
}
.agent-card__stat:first-child { border-left: 0; }
.agent-card__stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--3xl); font-weight: 700; color: var(--blue); line-height: 1;
  margin-bottom: var(--s2);
}
.agent-card__stat-label { font-size: var(--xs); color: var(--text-mid); line-height: 1.4; }
.agent-card__links { display: flex; gap: var(--s4); flex-wrap: wrap; }
.agent-card__link {
  display: flex; align-items: center; gap: var(--s2);
  font-size: var(--sm); font-weight: 600; color: var(--blue);
  transition: color var(--ease);
}
.agent-card__link:hover { color: var(--blue-dark); }

/* ===========================
   FAQ ACCORDION
   =========================== */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: var(--s4);
  padding: var(--s5) 0;
  font-family: 'Jost', sans-serif;
  font-size: var(--lg); font-weight: 600; color: var(--text);
  text-align: left; cursor: pointer; background: none; border: none;
  transition: color var(--ease);
}
.faq-q:hover { color: var(--blue); }
.faq-q::after {
  content: '+'; font-size: 1.5rem; line-height: 1;
  color: var(--blue); flex-shrink: 0; transition: transform var(--ease);
  font-weight: 300;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none; padding-bottom: var(--s6);
  font-size: var(--base); color: var(--text-mid); line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }

/* ===========================
   JSON-LD / STRUCTURED DATA
   =========================== */
/* (no visual styles needed) */

/* ===========================
   CTA STRIP
   =========================== */
/* Light, airy "lighter blue" band. Sits between the page body and the navy
   footer as a calm, premium call to action instead of another heavy dark block. */
.cta-strip {
  background: linear-gradient(180deg, var(--blue-pale) 0%, var(--blue-mid) 100%);
  padding: var(--s20) 0;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--blue-mid);
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 12% 30%, rgba(27,141,198,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 70%, rgba(66,176,224,.14) 0%, transparent 55%);
}
.cta-strip__inner {
  position: relative; z-index: 1; text-align: center;
  max-width: 620px; margin-inline: auto;
}
.cta-strip__eyebrow { color: var(--blue); margin-bottom: var(--s3); }
.cta-strip h2 { color: var(--blue-deep); margin-bottom: var(--s5); }
.cta-strip p  { color: rgba(13,63,92,.74); font-size: var(--lg); margin-bottom: var(--s8); }
.cta-strip__btns { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; }
/* On the light band the white-outline button would vanish: give it a visible
   blue outline instead (markup stays identical across every page). */
.cta-strip .btn--outline-white { border-color: var(--blue); color: var(--blue); background: transparent; }
.cta-strip .btn--outline-white:hover { border-color: var(--blue); background: var(--blue); color: #fff; }

/* ===========================
   CONTACT LAYOUT
   =========================== */
.contact-detail {
  display: flex; gap: var(--s4); align-items: center;
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:first-of-type { padding-top: 0; }
.contact-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-detail__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--blue-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); transition: background var(--ease), color var(--ease);
}
.contact-detail__icon svg { width: 20px; height: 20px; display: block; }
.contact-detail:hover .contact-detail__icon { background: var(--blue); color: #fff; }
.contact-detail__label {
  font-size: var(--xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-light); margin-bottom: 3px; line-height: 1;
}
.contact-detail__value {
  font-size: var(--base); color: var(--text); font-weight: 600; line-height: 1.3;
}
.contact-detail a { transition: color var(--ease); }
.contact-detail a:hover { color: var(--blue); }

/* Team contact cards (Get in Touch Directly) */
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--off-white); border: 1px solid rgba(27, 141, 198, .12);
  border-radius: var(--radius-lg); padding: var(--s8) var(--s7);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px); border-color: transparent; background: #fff;
  box-shadow: 0 16px 40px rgba(13, 63, 92, .12);
}
.contact-card__avatar {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  margin-bottom: var(--s4); box-shadow: 0 0 0 5px var(--blue-pale);
}
.contact-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-card__role {
  font-size: var(--xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: var(--s1);
}
.contact-card__name {
  font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: var(--s5);
}
.contact-card__links {
  width: 100%; display: flex; flex-direction: column; gap: var(--s3);
  margin-top: auto; padding-top: var(--s5); border-top: 1px solid rgba(27, 141, 198, .14);
}
.contact-card__link {
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  color: var(--blue); font-size: var(--sm); font-weight: 600;
  text-decoration: none; word-break: break-word; line-height: 1.4;
  transition: color var(--ease);
}
.contact-card__link svg { width: 16px; height: 16px; flex-shrink: 0; }
.contact-card__link:hover { color: var(--blue-deep); }

/* ===========================
   BLOG
   =========================== */
.post-card {
  background: #fff; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh);
  transition: transform var(--ease-slow), box-shadow var(--ease-slow);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); }
.post-card__img { aspect-ratio: 16/9; overflow: hidden; }
.post-card__img .img-ph { width: 100%; height: 100%; transition: transform var(--ease-slow); }
.post-card:hover .post-card__img .img-ph { transform: scale(1.04); }
.post-card__body { padding: var(--s5) var(--s6); }
.post-card__tag {
  display: inline-block; padding: var(--s1) var(--s3);
  background: var(--blue-pale); color: var(--blue);
  font-size: var(--xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--pill); margin-bottom: var(--s3);
}
.post-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--xl); font-weight: 600; color: var(--text);
  margin-bottom: var(--s3); line-height: 1.3;
}
.post-card:hover .post-card__title { color: var(--blue); }
.post-card__excerpt { font-size: var(--sm); color: var(--text-mid); line-height: 1.7; margin-bottom: var(--s4); }
.post-card__meta { font-size: var(--xs); color: var(--text-light); }

/* ===========================
   BLOG POST PAGE REFINEMENTS
   =========================== */
/* Article pages open with a LIGHT header, so the fixed nav must be solid from
   load — its default white-on-transparent styling is meant for dark heroes and
   would otherwise be an invisible white logo/text on white. */
body:has(.article-header) .nav { background: #fff; box-shadow: 0 2px 20px rgba(13,42,60,.10); }
body:has(.article-header) .nav__logo-img { filter: none; }
body:has(.article-header) .nav__link { color: var(--text); }
body:has(.article-header) .nav__link:hover { color: var(--blue); background: var(--blue-pale); }
body:has(.article-header) .nav__burger span { background: var(--blue-deep); }

/* Header lines up with the article body below (was centred in a 760px band). */
.article-header .container--narrow { max-width: var(--max); }

/* Real headshots fill the round avatars (byline + sidebar CTA + author bio). */
.article-byline__avatar, .sidebar-cta__photo { overflow: hidden; }
.article-byline__avatar img, .sidebar-cta__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Uniform blog cards (index grid + related articles): same size whatever the
   copy length, so the grid reads as a clean, even matrix. */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card__body { display: flex; flex-direction: column; flex: 1; }
.post-card__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
.post-card__excerpt {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 5.1em;
}
.post-card__meta { margin-top: auto; }

/* Article / blog post */
.article-body h2, .article-body h3 { margin-block: var(--s8) var(--s4); }
.article-body p  { margin-bottom: var(--s5); }
.article-body ul { padding-left: var(--s5); margin-bottom: var(--s5); }
.article-body ul li { list-style: disc; color: var(--text-mid); margin-bottom: var(--s2); }
.article-sidebar {
  position: sticky; top: 100px;
}
.sidebar-cta {
  background: var(--blue-deep); border-radius: var(--r-lg);
  padding: var(--s8);
}
.sidebar-cta h3 { color: #fff; margin-bottom: var(--s4); }
.sidebar-cta p  { color: rgba(255,255,255,.65); font-size: var(--sm); margin-bottom: var(--s6); }

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--blue-deep); padding-top: var(--s20); border-top: 1px solid rgba(255,255,255,.08); }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: var(--s12); margin-bottom: var(--s16);
}
.footer__logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700; color: #fff;
  display: block; margin-bottom: 2px;
}
.footer__logo-tag {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-light); display: block; margin-bottom: var(--s5);
}
.footer__about {
  font-size: var(--sm); line-height: 1.85;
  color: rgba(255,255,255,.42); margin-bottom: var(--s6);
}
.footer__contact a, .footer__contact span {
  display: flex; align-items: center; gap: var(--s3);
  font-size: var(--sm); color: rgba(255,255,255,.58);
  margin-bottom: var(--s3); transition: color var(--ease);
}
.footer__contact a:hover { color: var(--blue-light); }
.footer__contact-ico {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(27,141,198,.14); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  transition: background var(--ease), color var(--ease);
}
.footer__contact-ico svg { width: 15px; height: 15px; display: block; }
.footer__contact a:hover .footer__contact-ico { background: var(--blue-light); color: var(--blue-deep); }

.footer__col-title {
  font-size: var(--xs); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #fff; margin-bottom: var(--s5);
}
.footer__links { display: flex; flex-direction: column; gap: var(--s2); }
.footer__link {
  display: block; padding: 3px 0;
  font-size: var(--sm); color: rgba(255,255,255,.42); transition: color var(--ease);
}
.footer__link:hover { color: var(--blue-light); }

.footer__tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.footer__tag {
  padding: var(--s1) var(--s3);
  background: rgba(255,255,255,.06); border-radius: var(--pill);
  font-size: var(--xs); color: rgba(255,255,255,.42);
  transition: all var(--ease);
}
.footer__tag:hover { background: rgba(27,141,198,.22); color: var(--blue-light); }
/* "and more" reads as a note, not a clickable suburb. */
.footer__tag--more { background: transparent; font-style: italic; padding-inline: 2px; }
.footer__tag--more:hover { background: transparent; color: rgba(255,255,255,.42); }

/* Push the Award box to the bottom of the suburbs column so it lines up with
   the bottom of the (taller) brand/contact column instead of floating mid-way. */
.footer__grid > div:last-child { display: flex; flex-direction: column; }
.footer__award {
  margin-top: auto; padding: var(--s4);
  background: rgba(27,141,198,.10); border-radius: var(--r);
  border-left: 3px solid var(--blue);
}
.footer__award-title {
  font-size: var(--xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: var(--s2);
}
.footer__award-text { font-size: var(--xs); color: rgba(255,255,255,.45); line-height: 1.7; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: var(--s6) 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s4);
}
.footer__copy { font-size: var(--xs); color: rgba(255,255,255,.28); }
.footer__legal { display: flex; gap: var(--s6); }
.footer__legal a {
  font-size: var(--xs); color: rgba(255,255,255,.28); transition: color var(--ease);
}
.footer__legal a:hover { color: rgba(255,255,255,.55); }
.footer__reiwa { font-size: var(--xs); color: rgba(255,255,255,.28); }
.footer__reiwa strong { color: rgba(255,255,255,.5); }
.footer__credit {
  text-align: center; font-size: var(--xs);
  color: rgba(255,255,255,.22); padding-top: var(--s5);
}
.footer__credit a { color: rgba(255,255,255,.4); transition: color var(--ease); }
.footer__credit a:hover { color: rgba(255,255,255,.7); }

/* ===========================
   SITEMAP LINK COLUMNS
   The sitemap reuses the footer's column/link classes but sits on a WHITE
   section, where the footer's white text is invisible. Recolour for light bg.
   =========================== */
.sitemap-links .footer__col-title { color: var(--blue-deep); }
.sitemap-links .footer__link { color: var(--text-mid); }
.sitemap-links .footer__link:hover { color: var(--blue); }

/* ===========================
   FLOATING CTA
   =========================== */
.float-cta {
  position: fixed; bottom: var(--s8); right: var(--s8);
  z-index: 800;
  display: flex; align-items: center; gap: var(--s3);
  background: var(--coral); color: #fff;
  padding: var(--s4) var(--s5);
  border-radius: var(--pill);
  font-family: 'Jost', sans-serif;
  font-size: var(--sm); font-weight: 600;
  box-shadow: 0 6px 24px rgba(224,98,66,.42);
  transition: all var(--ease); opacity: 0; pointer-events: none;
  text-decoration: none;
}
.float-cta.visible { opacity: 1; pointer-events: auto; }
.float-cta:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(224,98,66,.5);
}
.float-cta-icon { display: inline-flex; }
.float-cta-icon svg { width: 18px; height: 18px; }

/* ===========================
   ACTIVE NAV STATE
   =========================== */
.nav__link.active { font-weight: 600; }
.nav--scrolled .nav__link.active { color: var(--blue); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .agent-card { grid-template-columns: 160px 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__intro { padding-top: 5.5rem; }
  .hero__panels { grid-template-columns: 1fr; }
  .hero__panel { padding: var(--s6) var(--s5) var(--s8); }
  .hero__panel--buy { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }

  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stats-bar__item:nth-child(2n) { border-right: none; }
  .stats-bar__item:nth-last-child(-n+2) { border-bottom: none; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  /* Let grid children shrink below their min-content so a wide child (long
     button, big number) can never push a 1fr track past the viewport. */
  .grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }

  /* "Can't make an inspection" splits text/form on desktop; stack on mobile
     (inline grid-template-columns needs !important to be overridden here). */
  .oh-private { grid-template-columns: 1fr !important; gap: var(--s8) !important; }

  /* Featured blog article — stack image over text on mobile (inline 3fr 2fr grid) */
  .blog-featured { grid-template-columns: 1fr !important; }
  .blog-featured > div:last-child { padding: var(--s8) var(--s6) !important; }

  /* Featured agent (Rob) — stack image over text on mobile */
  .team-feature { grid-template-columns: 1fr !important; gap: 0 !important; }
  .team-feature__img { min-height: 360px !important; }
  .team-feature__body { padding: var(--s8) var(--s6) !important; }

  .agent-card { grid-template-columns: 1fr; }
  .agent-card__photo { width: 120px; height: 150px; }

  .form-row { grid-template-columns: 1fr; }
  .stepper-grid { grid-template-columns: repeat(3, 1fr); }
  .check-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }

  .float-cta { bottom: var(--s5); right: var(--s5); font-size: var(--xs); padding: var(--s3) var(--s4); }
  .float-cta span { display: none; }

  .ofi-card { grid-template-columns: auto 1fr; }
  .ofi-card > .btn { grid-column: 1 / -1; }

  .section { padding-block: var(--s16); }
  .section--lg { padding-block: var(--s20); }
  .cta-strip { padding: var(--s16) 0; }
  .cta-strip__btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--s4); }
  .stats-bar__grid { grid-template-columns: 1fr; }
  .stats-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stats-bar__item:last-child { border-bottom: none; }
  .stepper-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 375px) {
  .hero__title   { font-size: 2.1rem; }
  .btn--lg       { padding: 1rem 1.4rem; font-size: var(--sm); }
  .hero__panel   { padding: var(--s8) var(--s5); }
}
