/* ferris. Property — shared site styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #080808;
  --dark:    #111111;
  --surface: #1a1a1a;
  --border:  #2a2a2a;
  --gray:    #555555;
  --muted:   #888888;
  --light:   #cccccc;
  --white:   #ffffff;
  --heading: 'Barlow Condensed', sans-serif;
  --body:    'Barlow', sans-serif;
  --logo:    'Outfit', sans-serif;

  /* Very light warm neutral — used for listing/browsing "zones" so property
     photos read true rather than filtered through a dark theme. See the
     ─── ZONE SYSTEM ─── block below. */
  --paper: #f5f4f1;

  /* ─── ZONE SYSTEM ───
     Section/card colour is expressed through these variables rather than
     hardcoded black/white, so a section can flip from the dark brand theme
     to a light "browsing" theme (photos, listing grids) just by adding the
     .zone-light class — every rule below already reads from these. Default
     (unset .zone-light) = the site's normal black brand theme. */
  --zone-bg:         var(--black);
  --zone-ink:        var(--white);
  --zone-ink-muted:  var(--muted);
  --zone-border:     var(--border);
  --zone-card:       var(--black);
  --zone-accent-bg:  var(--white);
  --zone-accent-ink: var(--black);
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--light); background: var(--black); overflow-x: hidden; }

/* ─── ACCESSIBILITY: skip link ─── */
.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 999;
  background: var(--white); color: var(--black);
  padding: 10px 18px; text-decoration: none;
  font-family: var(--heading); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 64px;
  transition: background 0.3s, border-color 0.3s;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav.scrolled {
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--logo);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  text-decoration: none;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: var(--heading);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  font-family: var(--heading);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 9px 22px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.nav-burger {
  display: none;
  width: 36px; height: 36px;
  border: none; background: transparent;
  cursor: pointer; z-index: 210;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(8,8,8,0.98);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--heading);
  font-size: 1.6rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); text-decoration: none; font-weight: 700;
}

/* ─── HERO ─── */
.hero {
  height: 100vh; min-height: 640px;
  position: relative;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  background: var(--black);
  overflow: hidden;
  padding: 0 52px 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1505118380757-91f5f5632de0?w=1920&h=1080&fit=crop&q=85') center/cover no-repeat;
  filter: grayscale(100%) contrast(1.1);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.35) 60%, rgba(8,8,8,0.15) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
}
.hero-eyebrow {
  font-family: var(--heading);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-headline {
  font-family: var(--heading);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 0.92;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}
.hero-tagline {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}
.hero-scroll {
  position: absolute; bottom: 40px; right: 52px;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.2);
  font-family: var(--heading);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.15);
}

/* ─── PAGE HERO (sub-pages: listing / sale / lease) ─── */
.page-hero {
  padding: 128px 52px 48px;
  border-bottom: 1px solid var(--border);
}
.page-hero .sec-tag { margin-bottom: 12px; }
.page-hero .sec-heading { margin-bottom: 0; }
.breadcrumb {
  font-family: var(--heading);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ─── QUICK BAR ─── */
.quick-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
.quick-bar a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 36px;
  border-right: 1px solid var(--border);
  text-decoration: none; color: var(--muted);
  font-family: var(--heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.2s;
}
.quick-bar a:last-child { border-right: none; }
.quick-bar a:hover { background: var(--surface); color: var(--white); }
.arrow { font-size: 1rem; transition: transform 0.2s; }
.quick-bar a:hover .arrow { transform: translateX(4px); }

/* ─── FEATURED LISTING ─── */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: var(--zone-bg);
}
.featured-img {
  background: var(--zone-card);
  position: relative; overflow: hidden;
}
.featured-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: transform 0.8s ease; }
.featured:hover .featured-img img { transform: scale(1.03); }
.featured-img-ph {
  width: 100%; height: 100%; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading);
  font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--zone-ink-muted); text-transform: uppercase; font-weight: 600;
}
.featured-badge {
  position: absolute; top: 32px; left: 32px;
  background: var(--zone-accent-bg);
  font-family: var(--heading);
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 14px; color: var(--zone-accent-ink); font-weight: 700;
}
.featured-info {
  background: var(--zone-bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 64px;
  border-left: 1px solid var(--zone-border);
}
.featured-label {
  font-family: var(--heading);
  font-size: 0.68rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--zone-ink-muted);
  margin-bottom: 24px; font-weight: 600;
}
.featured-address {
  font-family: var(--heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--zone-ink);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.featured-suburb {
  font-family: var(--heading);
  font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--zone-ink-muted);
  margin-bottom: 32px; font-weight: 600;
}
.featured-price {
  font-family: var(--heading);
  font-size: 1.6rem; font-weight: 700;
  color: var(--zone-ink); margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.featured-features {
  display: flex; gap: 28px;
  font-size: 0.8rem; color: var(--zone-ink-muted);
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--zone-border);
  font-family: var(--heading);
  font-weight: 600; letter-spacing: 0.1em;
}
.feat { display: flex; align-items: center; gap: 6px; }
.btn-view {
  display: inline-block;
  font-family: var(--heading);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--zone-accent-bg); color: var(--zone-accent-ink);
  padding: 14px 32px; text-decoration: none; font-weight: 700;
  transition: opacity 0.2s; align-self: flex-start;
  border: none; cursor: pointer;
}
.btn-view:hover { opacity: 0.8; }

/* ─── SECTION SHARED ─── */
.sec { padding: 88px 52px; background: var(--zone-bg); }
.sec-alt { background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-dark { background: var(--black); border-top: 1px solid var(--border); }
.sec-tag {
  font-family: var(--heading);
  font-size: 0.67rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--zone-ink-muted);
  margin-bottom: 12px; font-weight: 600;
}
.sec-heading {
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--zone-ink);
  letter-spacing: -0.01em;
  line-height: 1.0;
  margin-bottom: 52px;
}
.sec-row {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 48px;
}
.sec-row .sec-heading { margin-bottom: 0; }
.view-all {
  font-family: var(--heading);
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--zone-ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--zone-border);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  font-weight: 600;
  background: none; cursor: pointer;
}
.view-all:hover, .view-all.active { color: var(--zone-ink); border-color: var(--zone-ink); }

.tab-row { display: flex; gap: 28px; margin-bottom: 40px; }
.tab-btn {
  font-family: var(--heading); font-size: 0.75rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700; color: var(--zone-ink-muted);
  background: none; border: none; border-bottom: 2px solid transparent;
  padding: 0 0 10px; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active, .tab-btn:hover { color: var(--zone-ink); border-color: var(--zone-ink); }

/* ─── ZONE LIGHT (listing/browsing sections — see :root ZONE SYSTEM) ─── */
.zone-light {
  --zone-bg:         var(--paper);
  --zone-ink:        var(--black);
  --zone-ink-muted:  var(--gray);
  --zone-border:     #e2e0da;
  --zone-card:       var(--paper);
  --zone-accent-bg:  var(--black);
  --zone-accent-ink: var(--white);
  background: var(--zone-bg);
}
/* Photos read truer on a light ground — the black theme's grayscale
   filters were there to unify photos with a dark page; drop them here so
   colour and light in the actual property look accurate. */
.zone-light .card-img img,
.zone-light .featured-img img,
.zone-light .sold-img img { filter: none; }

/* ─── WHY FERRIS ─── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.why-item-title { font-family: var(--heading); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; letter-spacing: 0.01em; }
.why-item-body { font-size: 0.92rem; line-height: 1.8; color: var(--muted); font-weight: 300; }

/* ─── LISTING GRID ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--zone-border); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--zone-border); }
.listing-card { text-decoration: none; color: var(--zone-ink-muted); display: block; background: var(--zone-card); padding-bottom: 20px; }
.card-img {
  aspect-ratio: 4/3;
  background: var(--zone-card);
  position: relative; overflow: hidden;
  margin-bottom: 18px;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); transition: transform 0.6s ease, filter 0.4s; }
.listing-card:hover .card-img img { transform: scale(1.05); filter: grayscale(0%); }
.card-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading);
  font-size: 0.65rem; letter-spacing: 0.15em;
  color: var(--zone-ink-muted); text-transform: uppercase; font-weight: 600;
}
.card-badge {
  position: absolute; top: 0; left: 0;
  background: var(--zone-accent-bg); color: var(--zone-accent-ink);
  font-family: var(--heading);
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 5px 12px; font-weight: 700;
}
.card-badge.sold { background: var(--gray); color: var(--white); }
.card-suburb {
  font-family: var(--heading);
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--zone-ink-muted); margin-bottom: 5px; font-weight: 600;
  padding: 0 20px;
}
.card-address {
  font-family: var(--heading);
  font-size: 1.3rem; font-weight: 800;
  color: var(--zone-ink); margin-bottom: 8px;
  line-height: 1.1; text-transform: uppercase;
  letter-spacing: -0.01em;
  padding: 0 20px;
}
.card-price {
  font-family: var(--heading);
  font-size: 0.85rem; color: var(--zone-ink-muted);
  margin-bottom: 10px; font-weight: 600;
  padding: 0 20px;
}
.card-features {
  display: flex; gap: 14px;
  font-family: var(--heading);
  font-size: 0.72rem; color: var(--zone-ink-muted);
  font-weight: 600; letter-spacing: 0.08em;
  padding: 0 20px;
}

/* ─── SKELETON LOADING ─── */
@keyframes skel-pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.skel {
  background: var(--zone-border);
  animation: skel-pulse 1.4s ease-in-out infinite;
  display: block;
}
.skel-line { border-radius: 2px; }
.listing-card .card-img.skel { margin-bottom: 18px; }

/* ─── EMPTY / ERROR STATES ─── */
.state-msg {
  grid-column: 1 / -1;
  padding: 56px 20px;
  text-align: center;
  font-family: var(--heading);
  font-size: 0.85rem; letter-spacing: 0.08em;
  color: var(--zone-ink-muted); background: var(--zone-bg);
}
.state-msg .state-sub {
  display: block; margin-top: 8px;
  font-family: var(--body); font-weight: 300; font-size: 0.82rem;
  color: var(--zone-ink-muted); letter-spacing: normal; text-transform: none;
}

/* ─── LOAD MORE ─── */
.load-more-row { text-align: center; padding: 48px 0 8px; }
.btn-outline {
  font-family: var(--heading); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 700; color: var(--white);
  background: none; border: 1px solid var(--border);
  padding: 14px 36px; cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--white); }
.btn-outline:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─── SELL SECTION ─── */
.sell-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.sell-left .sec-heading { color: var(--white); }
.sell-left .sec-tag { color: var(--muted); }
.sell-body {
  font-size: 0.92rem; line-height: 1.9;
  color: var(--muted);
  font-weight: 300; margin-bottom: 20px;
}
.sell-phone {
  font-family: var(--heading);
  font-size: 1.6rem; font-weight: 700;
  color: var(--white); margin-top: 8px;
  text-decoration: none; display: block;
  letter-spacing: -0.01em;
}
.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--heading);
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.field input, .field textarea, .field select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white); padding: 12px 14px;
  font-family: var(--body); font-size: 0.85rem;
  outline: none; transition: border-color 0.2s;
  -webkit-appearance: none;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { border-color: var(--muted); }
.field textarea { resize: vertical; min-height: 90px; }
.btn-submit {
  align-self: flex-start;
  background: var(--white); color: var(--black);
  border: none; padding: 14px 32px;
  font-family: var(--heading); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; font-weight: 700; transition: background 0.2s;
  margin-top: 6px;
}
.btn-submit:hover { background: var(--light); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ─── ABOUT / MICHAEL ─── */
.about-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px; align-items: center;
}
.michael-photo {
  aspect-ratio: 3/4;
  background: var(--surface); overflow: hidden;
  filter: grayscale(20%);
}
.michael-photo img { width: 100%; height: 100%; object-fit: cover; }
.michael-photo-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading);
  font-size: 0.7rem; letter-spacing: 0.15em;
  color: var(--muted); text-transform: uppercase; font-weight: 600;
}
.about-text .sec-heading { margin-bottom: 24px; }
.about-body {
  font-size: 0.95rem; line-height: 1.9;
  color: var(--muted); font-weight: 300;
  margin-bottom: 20px;
}
.michael-contact {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.michael-contact a {
  font-size: 0.88rem; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.michael-contact a:hover { color: var(--white); }
.michael-name {
  font-family: var(--heading);
  font-size: 1.2rem; font-weight: 800;
  color: var(--white); margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.michael-title {
  font-family: var(--heading);
  font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px; font-weight: 600;
}

/* ─── SOLD STRIP ─── */
/* Background now comes from .zone-light on the section itself (see index.html)
   rather than a hardcoded dark fill, so Sold reads as a light listing zone
   like the other browsing grids. */
.sold-card { text-decoration: none; color: var(--zone-ink-muted); display: block; background: var(--zone-card); }
.sold-img {
  aspect-ratio: 4/3; background: var(--zone-card);
  position: relative; overflow: hidden; margin-bottom: 14px;
}
.sold-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); transition: transform 0.6s, filter 0.4s; }
.sold-card:hover .sold-img img { transform: scale(1.05); filter: grayscale(0%); }
.sold-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading);
  font-size: 0.65rem; letter-spacing: 0.15em; color: var(--zone-ink-muted); text-transform: uppercase; font-weight: 600;
}
.sold-badge {
  position: absolute; top: 0; left: 0;
  background: var(--zone-accent-bg); color: var(--zone-accent-ink);
  font-family: var(--heading);
  font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 12px; font-weight: 700;
}
.sold-suburb { font-family: var(--heading); font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--zone-ink-muted); margin-bottom: 4px; font-weight: 600; }
.sold-address { font-family: var(--heading); font-size: 1.05rem; color: var(--zone-ink); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }

/* ─── LISTING DETAIL PAGE ─── */
.detail-gallery {
  display: grid; grid-template-columns: 2fr 1fr; gap: 4px;
  background: var(--border);
}
.detail-gallery-main { aspect-ratio: 16/10; overflow: hidden; background: var(--surface); }
.detail-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.detail-gallery-side > div { overflow: hidden; background: var(--surface); }
.detail-gallery-side img { width: 100%; height: 100%; object-fit: cover; }
.detail-wrap {
  display: grid; grid-template-columns: 1fr 380px; gap: 64px;
  padding: 56px 52px 88px;
}
.detail-address {
  font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--white); text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.05; margin-bottom: 8px;
}
.detail-suburb { font-family: var(--heading); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.detail-price { font-family: var(--heading); font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.detail-features {
  display: flex; gap: 28px; padding: 24px 0; margin-bottom: 32px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-family: var(--heading); font-size: 0.85rem; color: var(--light); font-weight: 600; letter-spacing: 0.06em;
}
.detail-copy-heading { font-family: var(--heading); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: 0.01em; }
.detail-body { font-size: 0.95rem; line-height: 1.9; color: var(--muted); font-weight: 300; white-space: pre-line; }
.detail-sidebar {
  background: var(--dark); border: 1px solid var(--border);
  padding: 40px 32px; align-self: start; position: sticky; top: 88px;
}
.detail-sidebar .sec-tag { margin-bottom: 16px; }
.detail-sidebar .michael-name { margin-top: 4px; }

.detail-extra { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.detail-extra-title {
  font-family: var(--heading); font-size: 0.95rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--white);
  margin-bottom: 16px;
}
.inspection-row {
  font-size: 0.9rem; color: var(--light); font-weight: 500;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.inspection-row:last-child { border-bottom: none; }
.detail-doc-list { list-style: none; }
.detail-doc-list li { margin-bottom: 10px; }
.detail-doc-list a {
  font-size: 0.9rem; color: var(--muted); text-decoration: underline;
  text-underline-offset: 3px; transition: color 0.2s;
}
.detail-doc-list a:hover { color: var(--white); }

/* ─── LEGAL PAGES (privacy.html / terms.html) ─── */
.legal-content {
  max-width: 760px; margin: 0 auto; padding: 56px 24px 96px;
  font-size: 0.95rem; line-height: 1.85; color: var(--muted); font-weight: 300;
}
.legal-content h2 {
  font-family: var(--heading); font-size: 1.15rem; font-weight: 800;
  color: var(--white); text-transform: uppercase; letter-spacing: 0.02em;
  margin: 40px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--light); }
.legal-updated { color: var(--muted); font-size: 0.78rem; margin-bottom: 32px; }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  color: var(--muted);
  padding: 64px 52px 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand {
  font-family: var(--logo);
  font-size: 1.4rem; font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white); margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.82rem; line-height: 1.75;
  color: var(--muted);
  font-weight: 300; margin-bottom: 24px;
}
.footer-contact a {
  display: block; font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none; margin-bottom: 6px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--white); }
.footer-col-title {
  font-family: var(--heading);
  font-size: 0.65rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px; font-weight: 700;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.82rem; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
.socials { display: flex; gap: 20px; }
.socials a {
  font-family: var(--heading);
  color: var(--muted); text-decoration: none;
  font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  transition: color 0.2s;
}
.socials a:hover { color: var(--white); }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .about-wrap { grid-template-columns: 280px 1fr; gap: 48px; }
  .featured { grid-template-columns: 1fr; min-height: auto; }
  .featured-img, .featured-img-ph { min-height: 380px; }
  .featured-info { padding: 48px 40px; border-left: none; border-top: 1px solid var(--border); }
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
}

@media (max-width: 860px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 0 24px 56px; }
  .page-hero { padding: 108px 24px 40px; }
  .quick-bar { grid-template-columns: repeat(2, 1fr); }
  .quick-bar a { padding: 16px 20px; }

  .sec { padding: 56px 24px; }
  .sec-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .detail-wrap { padding: 40px 24px 56px; gap: 40px; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .legal-content { padding: 40px 24px 72px; }

  .sell-wrap { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .about-wrap { grid-template-columns: 1fr; }
  .michael-photo { max-width: 280px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero-headline { font-size: clamp(2.6rem, 12vw, 4rem); }
  .quick-bar { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .featured-address { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .about-wrap { text-align: left; }
  .michael-photo { max-width: 220px; }
  .tab-row { gap: 18px; }
}
