/* ==========================================================================
   20 Streeton Parade, Everton Park — off-market listing
   Route A, Warm Editorial. Palette, type and spacing taken from the
   Claude Design mockup (Listing.dc.html style panel).
   ========================================================================== */

:root {
  --paper:  #F7F4EF;  /* page background */
  --card:   #FBF9F5;  /* cards, input fills */
  --stone:  #EDE8DF;  /* warm alternating band */
  --accent: #23262A;  /* charcoal, buttons and links */
  --accent-hover: #3A4046;
  --tan:    #B98A5E;  /* timber tan, eyebrows on light */
  --tan-dark: #D9C3A4;/* eyebrow on dark band */
  --ink:    #23211E;  /* headings */
  --body:   #4A463F;  /* body copy */
  --muted:  #6B655C;  /* small labels */
  --hero-ink: #FDFCFA;
  --line:   rgba(35,33,30,0.14);
  --line-soft: rgba(35,33,30,0.10);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Instrument Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --section-y: clamp(52px, 7vw, 110px);
  --section-x: clamp(20px, 4vw, 64px);
  --radius-btn: 999px;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, 1.18vw, 17.5px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 160ms ease; }
a:hover { color: var(--accent-hover); }
input, select, textarea, button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: pretty; }

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--paper);
  padding: 10px 16px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; color: var(--paper); }

/* Visible focus states everywhere */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; font-weight: 500;
  border-radius: var(--radius-btn);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn-primary {
  background: var(--accent); color: var(--paper);
  padding: 16px 28px; min-height: 52px;
  font-size: clamp(14px, 1.05vw, 15.5px);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--paper); }

.btn-light {
  background: var(--paper); color: var(--ink);
  padding: clamp(12px,1.15vw,16px) clamp(22px,2.2vw,32px);
  font-size: clamp(13px,1.0vw,15px); font-weight: 600;
  box-shadow: 0 10px 30px rgba(18,17,15,0.35);
}
.btn-light:hover { background: var(--accent); color: var(--paper); }

.btn-ghost {
  background: none; color: var(--ink);
  border: 1px solid rgba(35,33,30,0.22);
  padding: 9px 18px; font-size: clamp(11px,0.86vw,13.5px); font-weight: 500;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); }

/* ==========================================================================
   Sticky header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: clamp(58px, 4.5vw, 70px);
  padding: 0 clamp(18px, 3.4vw, 56px);
  background: rgba(247,244,239,0.93);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__id { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.site-header__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(15px, 1.35vw, 20px); letter-spacing: 0.01em; white-space: nowrap;
}
.site-header__suburb {
  font-size: clamp(9px, 0.78vw, 11px); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.btn-header {
  flex: none; background: var(--accent); color: var(--paper);
  border-radius: var(--radius-btn);
  padding: clamp(8px,0.85vw,11px) clamp(16px,1.7vw,24px);
  font-size: clamp(12px,0.95vw,14px); font-weight: 500; letter-spacing: 0.02em;
  border: 0; cursor: pointer; transition: background 160ms ease;
}
.btn-header:hover { background: var(--accent-hover); color: var(--paper); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: clamp(440px, 58vw, 780px);
  background: var(--ink);
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(16,16,18,0.95) 0%, rgba(16,16,18,0.86) 26%, rgba(16,16,18,0.62) 46%,
    rgba(16,16,18,0.24) 70%, rgba(16,16,18,0.10) 84%, rgba(16,16,18,0.38) 100%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(24px, 4vw, 64px);
  display: flex; flex-direction: column; gap: clamp(12px, 1.5vw, 22px);
  max-width: 1000px; pointer-events: none;
}
.hero__content .btn-light { pointer-events: auto; align-self: flex-start; margin-top: 4px; }
.eyebrow {
  font-size: clamp(9px, 0.8vw, 11.5px); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tan);
}
.hero .eyebrow { color: var(--tan-dark); text-shadow: 0 1px 18px rgba(16,16,18,0.8); }
.hero__title {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4.0vw, 58px); line-height: 1.06; letter-spacing: -0.015em;
  color: var(--hero-ink); text-shadow: 0 2px 30px rgba(16,16,18,0.75);
}

/* ---- quick facts ---- */
.quick-facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  background: var(--card); border-bottom: 1px solid rgba(35,33,30,0.09);
}
.quick-facts__item {
  flex: 1 1 110px; padding: clamp(14px,1.6vw,22px) 10px; text-align: center;
  border-right: 1px solid rgba(35,33,30,0.08);
}
.quick-facts__item:last-child { border-right: 0; }
.quick-facts__num { font-family: var(--serif); font-size: clamp(20px,1.9vw,28px); line-height: 1.1; }
.quick-facts__label {
  font-size: clamp(9px,0.72vw,10.5px); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}

/* ==========================================================================
   Shared section rhythm
   ========================================================================== */
.section { padding: var(--section-y) var(--section-x); }
.section--stone { background: var(--stone); }
.inner { max-width: 1200px; margin: 0 auto; }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.h2 {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.01em; line-height: 1.15;
}
.hint {
  font-size: clamp(9px,0.75vw,11px); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}

/* ---- introduction ---- */
.intro { display: flex; flex-direction: column; align-items: center; gap: clamp(32px,4vw,60px); }
.intro__copy { max-width: 720px; text-align: center; display: flex; flex-direction: column; gap: clamp(16px,1.6vw,24px); }
.intro__lead {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(24px, 2.7vw, 40px); line-height: 1.22; letter-spacing: -0.01em;
}
.intro__copy p { margin: 0; }
.intro__copy p:not(.intro__lead) { color: var(--body); }
.intro__figure { width: 100%; max-width: 1120px; aspect-ratio: 21 / 9; margin: 0; }
.intro__figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery .inner { display: flex; flex-direction: column; gap: clamp(20px,2.2vw,32px); }
.gallery__feature { width: 100%; aspect-ratio: 16 / 9; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(10px, 1.1vw, 16px);
}
.tile {
  padding: 0; border: 0; background: none; cursor: zoom-in;
  width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px;
}
.gallery__feature.tile { aspect-ratio: 16 / 9; border-radius: 4px; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.tile:hover img { transform: scale(1.03); }

/* ==========================================================================
   Features
   ========================================================================== */
.features .inner { display: flex; flex-direction: column; gap: clamp(48px,6vw,96px); }
.feature-row { display: flex; flex-wrap: wrap; gap: clamp(24px,3vw,56px); align-items: center; }
.feature-row--reverse { flex-direction: row-reverse; }
.feature-row__media { flex: 1 1 320px; min-width: 0; aspect-ratio: 4 / 3; margin: 0; }
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.feature-row__body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.feature-row .eyebrow { font-size: clamp(9px,0.75vw,11px); letter-spacing: 0.2em; }
.h3 {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2;
}
.feature-list { margin: 0; padding-left: 1.1em; color: var(--body); display: flex; flex-direction: column; gap: 10px; }

/* ==========================================================================
   Off-market band
   ========================================================================== */
.offmarket {
  background: var(--accent); color: var(--paper);
  padding: clamp(52px,7vw,104px) var(--section-x);
}
.offmarket__inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(28px,3.4vw,52px); }
.offmarket__head { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.offmarket .eyebrow { color: var(--tan-dark); font-size: clamp(9px,0.78vw,11.5px); }
.offmarket__title {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 3.0vw, 46px); line-height: 1.12; letter-spacing: -0.015em;
}
.offmarket__lead { margin: 0; color: rgba(247,244,239,0.86); font-size: clamp(15px,1.25vw,19px); }
.offmarket__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.offmarket__actions .btn-light { box-shadow: none; padding: clamp(13px,1.15vw,17px) clamp(24px,2.2vw,34px); }
.offmarket__actions .btn-light:hover { background: var(--tan); color: var(--ink); }
.offmarket__note { color: rgba(247,244,239,0.7); font-size: clamp(12px,0.92vw,13.5px); }
/* four supporting points */
.offmarket__points {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
}
.offmarket__point { display: flex; flex-direction: column; gap: 7px; padding-top: 20px; border-top: 1px solid rgba(247,244,239,0.24); }
.offmarket__point h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(17px,1.5vw,21px); }
.offmarket__point p { margin: 0; color: rgba(247,244,239,0.82); font-size: clamp(13px,1.0vw,15px); }

/* ==========================================================================
   Location
   ========================================================================== */
.location .inner { display: flex; flex-direction: column; gap: clamp(26px,3vw,44px); }
.location__head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.location .eyebrow { font-size: clamp(9px,0.75vw,11px); letter-spacing: 0.2em; }
.location__head .h2 { font-size: clamp(26px,2.7vw,40px); }
.location__head p { margin: 0; color: var(--body); }
.location__cols { display: flex; flex-wrap: wrap; gap: clamp(20px,2.4vw,40px); }
.location__mapcol { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.location__map {
  position: relative; aspect-ratio: 4 / 3; background: var(--stone);
  border-radius: 4px; overflow: hidden; border: 1px solid rgba(35,33,30,0.12);
}
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: clamp(12px,0.92vw,13.5px); color: var(--muted); }
.location__maplink {
  align-self: flex-start; border: 1px solid rgba(35,33,30,0.22); border-radius: var(--radius-btn);
  padding: 9px 18px; font-size: clamp(12px,0.92vw,13.5px); color: var(--ink);
}
.location__maplink:hover { border-color: var(--accent); background: var(--stone); color: var(--ink); }
.location__points { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: clamp(16px,1.8vw,24px); }
.location__point { display: flex; flex-direction: column; gap: 6px; }
.location__point strong { font-family: var(--serif); font-weight: 400; font-size: clamp(18px,1.55vw,22px); }
.location__point span { color: var(--body); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pill {
  border: 1px solid rgba(35,33,30,0.16); border-radius: var(--radius-btn);
  padding: 7px 15px; font-size: clamp(11px,0.85vw,13px); color: var(--body);
}

/* ==========================================================================
   Floor plan
   ========================================================================== */
.floorplan .inner { max-width: 1000px; display: flex; flex-direction: column; gap: clamp(18px,2vw,28px); }
.floorplan__frame {
  background: var(--card); border: 1px solid rgba(35,33,30,0.12);
  padding: clamp(14px,1.6vw,26px); cursor: zoom-in; width: 100%;
}
.floorplan__frame > div { aspect-ratio: 4 / 3; }
.floorplan__frame img { width: 100%; height: 100%; object-fit: contain; }
.floorplan__note { margin: 0; font-size: clamp(12px,0.92vw,13.5px); color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq .inner { max-width: 820px; display: flex; flex-direction: column; gap: clamp(18px,2vw,30px); }
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: clamp(16px,1.5vw,22px) 0; text-align: left;
  cursor: pointer; font-size: clamp(15px,1.15vw,17px); color: var(--ink);
}
.faq__sign { color: var(--accent); flex: none; font-size: 1.2em; line-height: 1; }
.faq__a { margin: 0; max-width: 640px; color: var(--body); overflow: hidden; }
.faq__a p { margin: 0; padding: 0 0 clamp(16px,1.5vw,22px); }
.faq__a[hidden] { display: none; }

/* ==========================================================================
   Enquiry
   ========================================================================== */
.enquiry .inner { max-width: 660px; display: flex; flex-direction: column; gap: clamp(20px,2.2vw,30px); }
.enquiry__head { display: flex; flex-direction: column; gap: 12px; }
.enquiry__head .h2 { font-size: clamp(26px,2.7vw,40px); }
.enquiry__head p { margin: 0; color: var(--body); }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-size: clamp(11px,0.85vw,12.5px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  border: 1px solid rgba(35,33,30,0.2); background: var(--card); border-radius: 3px;
  padding: 14px 16px; font-size: clamp(15px,1.1vw,16px); color: var(--ink); width: 100%;
}
.field input, .field select { min-height: 48px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(35,38,42,0.14); }
.field input:invalid:not(:placeholder-shown) { border-color: #9a3b2f; }
.form__error { margin: 0; color: #9a3b2f; font-size: clamp(12px,0.9vw,13.5px); }
.form__error[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn-primary { margin-top: 6px; }
.form__micro { margin: 0; font-size: clamp(11px,0.86vw,12.5px); color: var(--muted); text-align: center; }
.form__success {
  background: var(--card); border: 1px solid rgba(35,38,42,0.35); border-radius: 4px;
  padding: clamp(26px,3vw,44px); display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.form__success .eyebrow { color: var(--accent); }
.form__success h3 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(21px,2vw,28px); line-height: 1.25; }
.form__success p { margin: 0; color: var(--body); }
.form__success .btn-ghost { margin-top: 6px; padding: 10px 20px; }
[hidden] { display: none !important; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: clamp(34px,4vw,56px) var(--section-x);
  background: var(--paper); border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
}
.site-footer__addr { font-family: var(--serif); font-size: clamp(15px,1.25vw,18px); }
.site-footer__tag { font-size: clamp(10px,0.78vw,11.5px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.site-footer__disc { margin: 0; max-width: 640px; font-size: clamp(11px,0.85vw,12.5px); color: var(--muted); line-height: 1.6; }
.site-footer .btn-ghost { margin-top: 6px; }

/* ==========================================================================
   Mobile floating Enquire button
   ========================================================================== */
.float-enquire {
  position: fixed; right: 16px; bottom: 16px; z-index: 55; display: none;
  background: var(--accent); color: var(--paper); border: 0; border-radius: var(--radius-btn);
  padding: 14px 22px; font-size: 15px; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 30px rgba(18,17,15,0.35);
}
.float-enquire:hover { background: var(--accent-hover); color: var(--paper); }
@media (max-width: 640px) {
  .float-enquire { display: inline-flex; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(18,17,15,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 3vw, 56px);
}
.lightbox[hidden] { display: none; }
.lightbox__controls { position: absolute; top: 16px; right: 20px; display: flex; gap: 10px; }
.lightbox__btn {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(247,244,239,0.35); background: none; color: var(--paper);
  cursor: pointer; font-size: 20px; line-height: 1; display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(247,244,239,0.12); color: var(--paper); }
.lightbox__stage { width: 100%; max-width: 1100px; aspect-ratio: 3 / 2; display: grid; place-items: center; }
.lightbox__stage img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__label {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  color: rgba(247,244,239,0.7); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .tile img { transition: none; }
}
