/* ==========================================================================
   Homing Theme — assets/css/style.css
   Design system + all page components
   ========================================================================== */

/* ── TOKENS ─────────────────────────────────────────────────────────────────── */
:root {
  --gold:        #C2975A;
  --gold-light:  #E8B568;
  --gold-pale:   #F5ECD9;
  --black:       #0A0A0A;
  --near-black:  #111111;
  --dark:        #1A1A1A;
  --charcoal:    #2C2C2C;
  --mid:         #6B6B6B;
  --light:       #F8F6F2;
  --white:       #FFFFFF;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Outfit', sans-serif;
  --red:         #C0392B;
  --green:       #27AE60;
  --amber:       #E67E22;
}

/* ── RESET ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }



/* ── WordPress admin bar compensation ───────────────────────────── */
.admin-bar .site-header { top: 32px; }
.admin-bar .page-hero   { padding-top: 32px; }

/* ── HEADER ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(194,151,90,0.2);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}
.site-logo { display: flex; align-items: center; }
.site-logo .custom-logo-link { display: flex; align-items: center; line-height: 1; }
.site-logo .custom-logo-link img,
.site-logo img.custom-logo { height: 52px !important; width: auto !important; max-width: none; display: block; }
.logo-text-link { text-decoration: none; }
.logo-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav a,
.nav-list a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a.active,
.nav-list a:hover,
.nav-list a.active { color: var(--gold); }
.nav-list { display: flex; align-items: center; gap: 24px; list-style: none; }
/* ── Dropdown sub-menu ───────────────────────────────────────── */
.nav-list li { position: relative; }
.nav-list li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #111111;
  border-top: 2px solid var(--gold);
  list-style: none;
  padding: 8px 0;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { display: block; }
.nav-list li .sub-menu li { display: block; }
.nav-list li .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}
.nav-list li .sub-menu a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 9px 16px;
  font-weight: 500 !important;
  white-space: nowrap;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s;
}


/* ── HERO ───────────────────────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 56vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  margin-top: 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg--dark {
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.82) 100%),
    linear-gradient(160deg, #080f18 0%, #0d1a2a 40%, #091420 70%, #050c14 100%);
}
.hero-bg--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 25%, rgba(194,151,90,0.08) 0%, transparent 55%);
}
/* Neighbourhood variant — can set a background-image via inline style */
.hero-bg--photo {
  background-size: cover;
  background-position: center;
}
.hero-bg--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 52px;
  width: 100%;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.breadcrumb a,
.breadcrumb span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.06em;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.page-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(194,151,90,0.4);
  padding: 4px 12px;
  margin-bottom: 14px;
}
h1.page-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 14px;
}
h1.page-title em { font-style: italic; color: var(--gold-light); }
.page-sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  line-height: 1.75;
}


/* ── STATS STRIP ────────────────────────────────────────────────────────────── */
.stats-strip {
  background: var(--dark);
  border-bottom: 1px solid rgba(194,151,90,0.15);
  display: flex;
}
.stat-item {
  flex: 1;
  padding: 22px 28px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-val {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}


/* ── PAGE LAYOUT ────────────────────────────────────────────────────────────── */
.page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  background: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
}
.main-col { min-width: 0; overflow: hidden; background: var(--white); }
.sidebar  { position: sticky; top: 96px; min-width: 0; width: 260px; }


/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--gold); }
.body-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: #444;
  line-height: 1.85;
  margin-bottom: 16px;
}
.content-section { margin-bottom: 56px; }
.gold-rule { height: 1px; background: rgba(194,151,90,0.2); margin: 48px 0; }
.data-note {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--mid);
  font-style: italic;
  margin-top: 10px;
  line-height: 1.6;
}


/* ── BADGES ─────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
}
.badge-green  { background: rgba(39,174,96,0.1);  color: var(--green); border: 1px solid rgba(39,174,96,0.25); }
.badge-amber  { background: rgba(230,126,34,0.1); color: var(--amber); border: 1px solid rgba(230,126,34,0.25); }
.badge-red    { background: rgba(192,57,43,0.1);  color: var(--red);   border: 1px solid rgba(192,57,43,0.25); }
.badge-grey   { background: rgba(0,0,0,0.05);     color: var(--mid);   border: 1px solid rgba(0,0,0,0.1); }


/* ── AVOID GUIDE CTA ────────────────────────────────────────────────────────── */
.avoid-cta {
  background: var(--dark);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.avoid-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px; height: 100%;
  background: var(--red);
}
.avoid-cta-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.avoid-cta-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: white;
  line-height: 1.3;
  margin-bottom: 8px;
}
.avoid-cta-title em { font-style: italic; color: #E8A09A; }
.avoid-cta-sub {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}
.avoid-btn {
  background: var(--red);
  color: white;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.avoid-btn:hover { background: #a93226; }


/* ── FILTER BAR & TABLE ─────────────────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; margin-bottom: 0; }
.filter-tab {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 18px;
  border: 1px solid rgba(0,0,0,0.12);
  border-right: none;
  background: white;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.filter-tab:last-child { border-right: 1px solid rgba(0,0,0,0.12); }
.filter-tab.active,
.filter-tab:hover { background: var(--dark); color: var(--gold); border-color: var(--dark); }

.table-wrap { border: 1px solid rgba(0,0,0,0.08); border-top: none; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--dark); }
th {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
}
th:hover { color: var(--gold); }
th.sorted { color: var(--gold); }
th .sort-arrow { margin-left: 4px; opacity: 0.5; }
th.sorted .sort-arrow { opacity: 1; }
td {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--charcoal);
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  white-space: nowrap;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(194,151,90,0.04); }
.td-name { font-weight: 500; color: var(--dark); }
.td-name a { color: var(--dark); text-decoration: none; }
.td-name a:hover { color: var(--gold); }


/* ── BUILDING GRID (Top 10) ─────────────────────────────────────────────────── */
.building-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 3px; margin-top: 24px; }
.building-card {
  background: var(--light);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 20px 18px;
  position: relative;
  transition: border-color 0.2s;
  text-decoration: none;
  display: block;
}
.building-card:hover { border-color: rgba(194,151,90,0.4); }
.building-rank {
  position: absolute;
  top: 0; right: 0;
  background: var(--dark);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  padding: 4px 10px;
}
.building-card-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 4px;
  padding-right: 36px;
  line-height: 1.2;
}
.building-card-addr {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--mid);
  margin-bottom: 14px;
}
.building-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bstat-val { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--dark); }
.bstat-lbl { font-family: var(--sans); font-size: 10px; font-weight: 300; color: var(--mid); letter-spacing: 0.04em; }
.building-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.btag {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid rgba(194,151,90,0.3);
  color: var(--gold);
}


/* ── AREA GRID ──────────────────────────────────────────────────────────────── */
.area-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; margin-top: 20px; }
.area-card { background: var(--dark); padding: 22px 20px; }
.area-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: white;
  margin-bottom: 16px;
}
.area-name em { font-style: italic; color: var(--gold-light); }
.area-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.area-stat-row:last-child { border-bottom: none; }
.area-stat-lbl { font-family: var(--sans); font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.4); }
.area-stat-val { font-family: var(--sans); font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.85); }


/* ── SINGLE BUILDING: DATA CARDS ────────────────────────────────────────────── */
.data-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; margin-top: 20px; }
.data-card { background: var(--light); border: 1px solid rgba(0,0,0,0.05); padding: 18px 16px; }
.data-card-val { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--dark); margin-bottom: 5px; }
.data-card-lbl { font-family: var(--sans); font-size: 11px; font-weight: 300; color: var(--mid); letter-spacing: 0.05em; }

/* Fee grid */
.fee-grid { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; margin-top: 16px; }
.fee-item { display: flex; flex-direction: column; }
.fee-val { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--dark); }
.fee-lbl { font-family: var(--sans); font-size: 11px; font-weight: 300; color: var(--mid); }
.fee-includes { border: 1px solid rgba(0,0,0,0.07); padding: 16px; margin-top: 12px; }
.fee-inc-label { font-family: var(--sans); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); margin-bottom: 10px; }
.fee-inc-list { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.fee-inc-item {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fee-inc-item.not-included { color: var(--mid); }
.fee-trend { margin-top: 12px; font-family: var(--sans); font-size: 12px; font-weight: 300; color: var(--mid); }

/* Score grid */
.score-grid { display: flex; gap: 24px; margin-bottom: 20px; }
.score-item { text-align: center; }
.score-val { font-family: var(--serif); font-size: 36px; font-weight: 300; color: var(--gold); }
.score-lbl { font-family: var(--sans); font-size: 11px; font-weight: 300; color: var(--mid); margin-top: 2px; }

/* Transit details */
.transit-details { border: 1px solid rgba(0,0,0,0.07); }
.transit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
}
.transit-row:last-child { border-bottom: none; }
.transit-icon-label { color: var(--mid); }
.transit-val { font-weight: 400; color: var(--dark); }

/* Building details table */
.details-table { border: 1px solid rgba(0,0,0,0.07); }
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  gap: 20px;
}
.detail-row:last-child { border-bottom: none; }
.detail-lbl { font-family: var(--sans); font-size: 12px; font-weight: 300; color: var(--mid); flex-shrink: 0; }
.detail-val { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--dark); text-align: right; }

/* Reserve status block */
.reserve-status {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* Alert block */
.alert-block {
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  margin-top: 12px;
}
.alert-block--red { background: rgba(192,57,43,0.06); border-left: 4px solid var(--red); color: var(--charcoal); }
.alert-block--amber { background: rgba(230,126,34,0.06); border-left: 4px solid var(--amber); color: var(--charcoal); }

/* Amenity grid */
.amenity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 16px; }
.amenity-item {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--light);
  border: 1px solid rgba(0,0,0,0.04);
}

/* Graham's take callout */
.grahams-take {
  background: var(--dark);
  border-left: 4px solid var(--gold);
  padding: 24px 28px;
  margin-bottom: 0;
}
.callout-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.grahams-take p {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* Sidebar stat list */
.sb-stat-list { }
.sb-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
}
.sb-stat-row:last-child { border-bottom: none; }
.sb-stat-row strong { color: var(--dark); font-weight: 500; }


/* ── SIDEBAR ─────────────────────────────────────────────────────────────────── */
.sidebar-cta {
  background: var(--gold);
  padding: 22px 18px;
  text-align: center;
  margin-bottom: 18px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}
.sidebar-cta:hover { background: var(--gold-light); }
.sidebar-cta .cta-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 5px;
}
.sidebar-cta .cta-sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: rgba(10,10,10,0.6);
  margin-bottom: 12px;
  line-height: 1.5;
}
.sidebar-cta .cta-btn {
  display: inline-block;
  background: var(--black);
  color: white;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 22px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 18px;
  overflow: hidden;
}
.sidebar-card-header {
  background: var(--dark);
  padding: 12px 18px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.sidebar-card-body { padding: 18px; }
.sidebar-body-text {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
}
.sidebar-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dark);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px;
  text-decoration: none;
  transition: background 0.2s;
}
.sidebar-download-btn:hover { background: var(--charcoal); }
.sb-link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
}
.sb-link-list a:last-child { border-bottom: none; }
.sb-name { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--dark); }
.sb-link-list a:hover .sb-name { color: var(--gold); }
.sb-val  { font-family: var(--sans); font-size: 11px; color: var(--mid); }


/* ── BOTTOM CTA ─────────────────────────────────────────────────────────────── */
.bottom-cta {
  background: var(--dark);
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.bottom-cta-text h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  color: white;
  margin-bottom: 10px;
  line-height: 1.25;
}
.bottom-cta-text h2 em { font-style: italic; color: var(--gold-light); }
.bottom-cta-text p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 420px;
  line-height: 1.7;
}
.btn-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.btn-gold {
  background: var(--gold);
  color: var(--black);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 32px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 32px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(194,151,90,0.5);
  transition: all 0.2s;
  display: inline-block;
}
.btn-ghost:hover { background: rgba(194,151,90,0.1); border-color: var(--gold); }


/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--near-black);
  padding: 28px 60px;
  border-top: 1px solid rgba(194,151,90,0.15);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-bottom-copy { flex: 1; }
.footer-bottom p {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-remax { flex-shrink: 0; }
.footer-remax-logo {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.75;
  filter: brightness(0.9);
  transition: opacity 0.2s;
}
.footer-remax-logo:hover { opacity: 1; }
.footer-nav { margin-bottom: 20px; border-bottom: 1px solid rgba(194,151,90,0.1); padding-bottom: 20px; }
.footer-nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.footer-nav-list li a { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-nav-list li a:hover { color: var(--gold); }


/* ── SCROLL REVEAL ──────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }


/* ── NEIGHBOURHOOD PAGE ─────────────────────────────────────────────────────── */
.info-tabs { display: flex; gap: 0; margin-bottom: 0; }
.info-tab {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 1px solid rgba(0,0,0,0.12);
  border-right: none;
  background: white;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
}
.info-tab:last-child { border-right: 1px solid rgba(0,0,0,0.12); }
.info-tab.active { background: var(--dark); color: var(--gold); border-color: var(--dark); }
.info-panel { display: none; border: 1px solid rgba(0,0,0,0.08); border-top: none; padding: 24px; }
.info-panel.active { display: block; }

/* School cards */
.school-card { border: 1px solid rgba(0,0,0,0.07); padding: 16px; margin-bottom: 3px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
.school-name { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--dark); margin-bottom: 3px; }
.school-meta { font-family: var(--sans); font-size: 11px; font-weight: 300; color: var(--mid); line-height: 1.7; }
.school-rating { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--gold); text-align: right; }
.school-rating span { display: block; font-family: var(--sans); font-size: 9px; color: var(--mid); letter-spacing: 0.08em; }
.school-programs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.school-tag { font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; background: var(--gold-pale); color: var(--gold); border: 1px solid rgba(194,151,90,0.25); }


/* ── MARKET REPORT PAGE ─────────────────────────────────────────────────────── */
.chart-container { background: var(--light); border: 1px solid rgba(0,0,0,0.07); padding: 24px; margin-bottom: 24px; }
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.chart-title { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--dark); }
.chart-subtitle { font-family: var(--sans); font-size: 11px; font-weight: 300; color: var(--mid); }
.chart-area { height: 220px; position: relative; }

/* Gate overlay */
.chart-gate { position: relative; overflow: hidden; }
.chart-gate .gate-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(248,246,242,0.97) 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  z-index: 2;
}
.gate-cta {
  text-align: center;
  padding: 20px 32px;
  background: var(--dark);
  max-width: 360px;
  width: 100%;
}
.gate-cta p { font-family: var(--sans); font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.6); margin-bottom: 14px; line-height: 1.6; }
.gate-form { display: flex; gap: 0; }
.gate-form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  color: white;
  font-family: var(--sans);
  font-size: 13px;
  padding: 10px 14px;
  outline: none;
}
.gate-form input::placeholder { color: rgba(255,255,255,0.3); }
.gate-form button {
  background: var(--gold);
  color: var(--black);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.gate-form button:hover { background: var(--gold-light); }


/* ── BUYERS / SELLERS GUIDE ─────────────────────────────────────────────────── */
.guide-tabs { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 0; }
.guide-tab {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid rgba(0,0,0,0.12);
  border-right: none;
  background: white;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
}
.guide-tab:last-child { border-right: 1px solid rgba(0,0,0,0.12); }
.guide-tab.active { background: var(--dark); color: var(--gold); border-color: var(--dark); }
.guide-panel { display: none; border: 1px solid rgba(0,0,0,0.08); border-top: none; padding: 32px; }
.guide-panel.active { display: block; }

.step-list { list-style: none; counter-reset: steps; }
.step-item { counter-increment: steps; display: grid; grid-template-columns: 48px 1fr; gap: 16px; margin-bottom: 24px; align-items: start; }
.step-num {
  width: 40px; height: 40px;
  background: var(--dark);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-title { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--dark); margin-bottom: 6px; }
.step-body { font-family: var(--sans); font-size: 13px; font-weight: 300; color: #555; line-height: 1.75; }

/* Graham's note inside guide */
.grahams-note {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin: 24px 0;
}
.grahams-note-label { font-family: var(--sans); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.grahams-note p { font-family: var(--serif); font-size: 16px; font-style: italic; font-weight: 300; color: var(--dark); line-height: 1.65; }


/* ── FREE EVALUATION (split layout) ─────────────────────────────────────────── */
.eval-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  margin-top: 72px;
}
.eval-left { background: var(--dark); padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.eval-right { padding: 0; overflow: hidden; }
.eval-right iframe { width: 100%; height: 100%; border: none; min-height: 600px; }
.eval-tag { font-family: var(--sans); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.12); padding: 4px 12px; display: inline-block; margin-bottom: 24px; }
.eval-left h1 { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 48px); font-weight: 300; color: white; line-height: 1.12; margin-bottom: 24px; }
.eval-left h1 em { font-style: italic; color: var(--gold-light); }
.eval-expect-list { list-style: none; margin-bottom: 36px; }
.eval-expect-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.eval-expect-item:last-child { border-bottom: none; }
.eval-expect-icon { color: var(--gold); font-family: var(--serif); font-size: 20px; flex-shrink: 0; }
.eval-expect-text { font-family: var(--sans); font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.6; }
.eval-expect-text strong { color: rgba(255,255,255,0.9); font-weight: 400; display: block; margin-bottom: 2px; }


/* ── ABOUT PAGE ─────────────────────────────────────────────────────────────── */
.credential-strip { display: grid; grid-template-columns: repeat(5,1fr); background: var(--dark); border-top: 1px solid rgba(194,151,90,0.15); }
.credential-item { padding: 22px 20px; border-right: 1px solid rgba(255,255,255,0.06); text-align: center; }
.credential-item:last-child { border-right: none; }
.credential-val { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--gold); margin-bottom: 4px; }
.credential-lbl { font-family: var(--sans); font-size: 10px; font-weight: 300; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; line-height: 1.4; }


/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media ( max-width: 1024px ) {
  .page-body { grid-template-columns: 1fr; }
  .sidebar { position: static; width: 100%; max-width: 480px; }
  .area-grid { grid-template-columns: 1fr; }
  .eval-split { grid-template-columns: 1fr; }
  .credential-strip { grid-template-columns: repeat(3,1fr); }
}

@media ( max-width: 768px ) {
  .site-header { padding: 0 20px; }
  .site-logo .custom-logo-link img,
  .site-logo img.custom-logo { height: 40px !important; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(10,10,10,0.97); padding: 20px; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a, .nav-list a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li .sub-menu {
    display: block;
    position: static;
    background: transparent;
    border-top: none;
    box-shadow: none;
    padding: 0 0 0 16px;
  }
  .nav-list li .sub-menu a {
    padding: 10px 0;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .nav-toggle { display: flex; }


  /* Homepage approach grid */
  .approach-grid-home { grid-template-columns: 1fr !important; }


  section[style*="padding:64px 48px"] { padding: 48px 20px !important; }
  div[style*="padding:28px 48px"] { padding: 20px !important; gap: 24px !important; }

  .hero-content { padding: 0 24px 36px; }
  .page-body { padding: 32px 20px; }
  .building-grid { grid-template-columns: 1fr; }
  .data-grid-3 { grid-template-columns: 1fr 1fr; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { flex-wrap: wrap; }
  .stat-item { flex: 1 1 33%; }
  .bottom-cta { flex-direction: column; padding: 40px 24px; }
  .btn-stack { align-items: stretch; width: 100%; }
  .btn-gold, .btn-ghost { text-align: center; }
  .avoid-cta { grid-template-columns: 1fr; }
  .guide-panel { padding: 20px; }
  .eval-left { padding: 40px 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-remax { display: none; }
  .site-footer { padding: 24px 20px; }
  .credential-strip { grid-template-columns: repeat(2,1fr); }
}

@media ( max-width: 480px ) {
  .data-grid-3 { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: 1fr; }
  .stat-item { flex: 1 1 50%; }
  h1.page-title { font-size: 28px; }
  .filter-tab, .guide-tab, .info-tab { font-size: 10px; padding: 10px 12px; }
}


/* ==========================================================================
   NEW COMPONENTS — Buyer's Guide, Seller's Guide, Market Report,
   Free Evaluation, About Page
   ========================================================================== */


/* ── CHECKLIST GRID (Buyer's Guide) ─────────────────────────────────────────── */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 24px;
}
.checklist-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--light);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 20px 18px;
}
.checklist-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  margin-top: 2px;
}
.checklist-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
}


/* ── COSTS TABLE (Buyer's Guide, Seller's Guide) ─────────────────────────────── */
.costs-table {
  border: 1px solid rgba(0,0,0,0.08);
  margin-top: 20px;
}
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--charcoal);
  gap: 16px;
}
.cost-row:last-child { border-bottom: none; }
.cost-row span:last-child {
  font-weight: 500;
  text-align: right;
  flex-shrink: 0;
}
.cost-row--header {
  background: var(--dark);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.cost-row--header span:last-child { color: rgba(255,255,255,0.5); font-weight: 500; }
.cost-row--note {
  background: rgba(39,174,96,0.04);
  color: var(--green);
}
.cost-row--note span:last-child { color: var(--green); }
.cost-row--deduct span:last-child { color: var(--red); font-weight: 400; }
.cost-row--income span:last-child { color: var(--green, #27ae60); font-weight: 600; }
.cost-row--total {
  background: var(--dark);
  color: white;
  font-weight: 500;
}
.cost-row--total span:last-child { color: var(--gold); font-weight: 600; }


/* ── FREE EVALUATION PAGE ────────────────────────────────────────────────────── */
.eval-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  margin-top: 72px;
}

.eval-left {
  background: var(--dark);
  display: flex;
  align-items: flex-start;
  padding: 60px 56px;
}
.eval-left-inner { max-width: 520px; }

.eval-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 12px;
  margin-bottom: 28px;
}
.eval-heading {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 300;
  color: white;
  line-height: 1.12;
  margin-bottom: 22px;
}
.eval-heading em { font-style: italic; color: var(--gold-light); }
.eval-intro {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 32px;
}

.eval-expect-list { list-style: none; margin-bottom: 40px; }
.eval-expect-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.eval-expect-item:last-child { border-bottom: none; }
.eval-expect-icon {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.eval-expect-text {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}
.eval-expect-text strong {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  display: block;
  margin-bottom: 3px;
}

.eval-trust-row {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  flex-wrap: wrap;
}
.eval-trust-item {
  flex: 1 1 80px;
  padding-right: 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  margin-right: 28px;
}
.eval-trust-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.eval-trust-num {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.eval-trust-lbl {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.eval-right {
  background: #111;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.eval-right-inner {
  padding: 48px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.eval-booking-header { margin-bottom: 24px; }
.eval-booking-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: white;
  margin-bottom: 8px;
}
.eval-booking-sub {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}
.eval-privacy-note {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  margin-top: 16px;
  line-height: 1.5;
}

/* Why it matters section (below the fold on eval page) */
.eval-trust-section {
  background: var(--light);
  padding: 80px 60px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.eval-trust-inner { max-width: 1100px; margin: 0 auto; }
.eval-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.eval-reason {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 28px 24px;
}
.eval-reason-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  color: rgba(194,151,90,0.25);
  line-height: 1;
  margin-bottom: 10px;
}
.eval-reason-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
}
.eval-reason-body {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: #555;
  line-height: 1.75;
}


/* ── MARKET REPORT: NEIGHBOURHOOD CARDS ────────────────────────────────────── */
.report-nb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 20px;
}
.report-nb-card {
  background: var(--dark);
  padding: 24px 22px;
}
.report-nb-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: white;
  margin-bottom: 4px;
}
.report-nb-sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.report-nb-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.report-nb-stat {}
.report-nb-val {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.report-nb-lbl {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}
.report-nb-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding: 8px 0;
  border-top: 1px solid rgba(194,151,90,0.2);
  width: 100%;
}
.report-nb-link:hover { color: var(--gold-light); }


/* ── MARKET REPORT: CONTEXT CARDS ───────────────────────────────────────────── */
.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 20px;
}
.context-card {
  padding: 24px 22px;
  border: 1px solid rgba(0,0,0,0.07);
}
.context-card--buyer { border-left: 4px solid var(--gold); background: var(--light); }
.context-card--seller { border-left: 4px solid var(--dark); background: var(--light); }
.context-card-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 12px;
}
.context-card--buyer .context-card-label { color: var(--gold); }

/* Preview table in gate */
.gate-preview-table { width: 100%; border-collapse: collapse; }
.gate-preview-table th {
  background: var(--dark);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 10px 14px;
  text-align: left;
}
.gate-preview-table td {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--charcoal);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.gate-section { position: relative; }


/* ── ABOUT PAGE ─────────────────────────────────────────────────────────────── */
.about-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.about-photo-wrap { position: sticky; top: 100px; }
.about-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.about-photo-placeholder {
  width: 100%;
  height: 360px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 24px;
}
.approach-item {
  background: var(--light);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 24px 22px;
}
.approach-num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: rgba(194,151,90,0.2);
  line-height: 1;
  margin-bottom: 10px;
}
.approach-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 8px;
}
.approach-body {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: #555;
  line-height: 1.75;
}

.difference-list { margin-top: 24px; }
.difference-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.difference-item:last-child { border-bottom: none; }
.difference-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  margin-top: 2px;
}
.difference-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
}
.difference-body {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: #555;
  line-height: 1.75;
  margin: 0;
}


/* ==========================================================================
   MOBILE — COMPREHENSIVE (all templates)
   Target: 360px minimum, comfortable at 375–428px
   ========================================================================== */

@media ( max-width: 1024px ) {
  /* Guide tabs wrap on tablet */
  .guide-tabs, .info-tabs { flex-wrap: wrap; }
  .guide-tab:last-child, .info-tab:last-child { border-right: 1px solid rgba(0,0,0,0.12); }

  /* Checklist single column */
  .checklist-grid { grid-template-columns: 1fr; }

  /* Report neighbourhood stacks */
  .report-nb-grid { grid-template-columns: 1fr; }

  /* Context cards stack */
  .context-grid { grid-template-columns: 1fr; }

  /* Approach grid 1 col */
  .approach-grid { grid-template-columns: 1fr; }

  /* About profile stacks */
  .about-profile { grid-template-columns: 1fr; }
  .about-photo-wrap { position: static; }
  .about-photo, .about-photo-placeholder { height: 280px; }

  /* Evaluation reasons */
  .eval-reasons { grid-template-columns: 1fr; }

  /* Eval split stacks */
  .eval-page { grid-template-columns: 1fr; }
  .eval-left { padding: 48px 40px; }
  .eval-right-inner { padding: 40px; }

  /* Credential strip wraps */
  .credential-strip { grid-template-columns: repeat(3, 1fr); }
}

@media ( max-width: 768px ) {
  /* ── Hero ────────────────────────────────────── */
  .page-hero { height: 52vh; min-height: 320px; }
  .hero-content { padding: 0 20px 32px; }
  h1.page-title { font-size: 26px; }
  .page-sub { font-size: 13px; }
  .page-tag { font-size: 9px; }

  /* ── Stats strip wraps ────────────────────────── */
  .stats-strip { flex-wrap: wrap; }
  .stat-item { flex: 1 1 calc(50% - 1px); min-width: 140px; padding: 16px 18px; }
  .stat-val { font-size: 22px; }
  .stat-lbl { font-size: 10px; }

  /* ── Page body ────────────────────────────────── */
  .page-body {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 32px;
  }
  .sidebar { width: 100%; }

  /* ── Section typography ───────────────────────── */
  .section-title { font-size: 22px; }
  .body-text { font-size: 14px; }
  .gold-rule { margin: 32px 0; }

  /* ── Tabs ─────────────────────────────────────── */
  .guide-tabs, .info-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .guide-tab, .info-tab {
    border-right: 1px solid rgba(0,0,0,0.12) !important;
    text-align: center;
    font-size: 10px;
    padding: 10px 8px;
  }
  .guide-panel, .info-panel { padding: 20px 16px; }

  /* ── Step list ────────────────────────────────── */
  .step-item { grid-template-columns: 40px 1fr; gap: 12px; margin-bottom: 20px; }
  .step-num { width: 36px; height: 36px; font-size: 16px; }
  .step-title { font-size: 15px; }
  .step-body { font-size: 13px; }

  /* ── Graham's notes ───────────────────────────── */
  .grahams-note { padding: 16px 18px; }
  .grahams-note p { font-size: 15px; }

  /* ── Costs table ──────────────────────────────── */
  .cost-row {
    padding: 10px 14px;
    font-size: 12px;
    gap: 8px;
  }
  .cost-row span:last-child { font-size: 12px; }

  /* ── Checklist ────────────────────────────────── */
  .checklist-item { padding: 16px 14px; gap: 12px; }
  .checklist-title { font-size: 15px; }

  /* ── Building cards ───────────────────────────── */
  .building-grid { grid-template-columns: 1fr; }
  .building-card { padding: 16px 14px; }
  .building-card-name { font-size: 16px; }

  /* ── Bottom CTA ───────────────────────────────── */
  .bottom-cta { flex-direction: column; padding: 40px 20px; gap: 24px; }
  .bottom-cta-text h2 { font-size: 22px; }
  .bottom-cta-text p { font-size: 13px; }
  .btn-stack { align-items: stretch; width: 100%; }
  .btn-gold, .btn-ghost { text-align: center; padding: 14px 20px; font-size: 11px; }

  /* ── Report neighbourhood cards ───────────────── */
  .report-nb-grid { grid-template-columns: 1fr; }
  .report-nb-card { padding: 20px 18px; }
  .report-nb-stats { flex-direction: row; flex-wrap: wrap; gap: 16px; flex: none; }
  .report-nb-val { font-size: 20px; }

  /* ── Context cards ────────────────────────────── */
  .context-grid { grid-template-columns: 1fr; }

  /* ── Free Evaluation page ─────────────────────── */
  .eval-page { grid-template-columns: 1fr; }
  .eval-left { padding: 40px 20px; }
  .eval-left-inner { max-width: 100%; }
  .eval-heading { font-size: 26px; }
  .eval-intro { font-size: 13px; }
  .eval-expect-item { gap: 12px; padding: 12px 0; }
  .eval-expect-text { font-size: 12px; }
  .eval-trust-row { gap: 0; }
  .eval-trust-item { flex: 1 1 80px; padding-right: 16px; margin-right: 16px; }
  .eval-trust-num { font-size: 22px; }
  .eval-right-inner { padding: 28px 20px; }
  .calendly-inline-widget { height: 600px !important; }
  .eval-trust-section { padding: 48px 20px; }
  .eval-reasons { grid-template-columns: 1fr; gap: 3px; }

  /* ── About profile ────────────────────────────── */
  .about-profile { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { height: 240px; }
  .about-photo-placeholder { height: 200px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-item { padding: 20px 16px; }
  .difference-item { gap: 14px; padding: 18px 0; }
  .difference-check { width: 28px; height: 28px; font-size: 14px; }
  .difference-title { font-size: 16px; }

  /* ── Credential strip ─────────────────────────── */
  .credential-strip { grid-template-columns: repeat(2, 1fr); }
  .credential-item { padding: 18px 14px; }
  .credential-val { font-size: 20px; }
  .credential-lbl { font-size: 9px; }

  /* ── Sidebar ──────────────────────────────────── */
  .sidebar-cta { padding: 18px 16px; }
  .sidebar-card-body { padding: 14px 16px; }

  /* ── Chart ────────────────────────────────────── */
  .chart-container { padding: 16px 12px; }
  .chart-area { height: 200px; }

  /* ── Gate ─────────────────────────────────────── */
  .gate-preview-table th, .gate-preview-table td { padding: 8px 10px; font-size: 11px; }
  .gate-form { flex-direction: column; }
  .gate-form input { border-right: 1px solid rgba(255,255,255,0.15); margin-bottom: 0; }
  .gate-form button { padding: 10px; }

  /* ── Footer ───────────────────────────────────── */
  .site-footer { padding: 20px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
  .footer-remax { display: none; }

  /* ── Avoid CTA ────────────────────────────────── */
  .avoid-cta { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .avoid-cta-title { font-size: 18px; }

  /* ── Building stats grid ──────────────────────── */
  .building-stats { grid-template-columns: 1fr 1fr; }
}

@media ( max-width: 480px ) {
  /* ── Stats strip single column on very small screens ─── */
  .stat-item { flex: 1 1 calc(50% - 1px); }
  .stat-val { font-size: 20px; }

  /* ── Hero tighter ────────────────────────── */
  h1.page-title { font-size: 23px; line-height: 1.15; }

  /* ── Tabs single column ──────────────────── */
  .guide-tabs { grid-template-columns: 1fr; }
  .guide-tab { border-right: 1px solid rgba(0,0,0,0.12) !important; border-bottom: none; }
  .guide-tab:last-child { border-bottom: 1px solid rgba(0,0,0,0.12) !important; }

  /* ── Credential strip ────────────────────── */
  .credential-strip { grid-template-columns: 1fr 1fr; }

  /* ── Data cards single col ───────────────── */
  .data-grid-3 { grid-template-columns: 1fr 1fr; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .score-grid { flex-wrap: wrap; }

  /* ── Bottom CTA ──────────────────────────── */
  .bottom-cta-text h2 { font-size: 20px; }

  /* ── Eval page ───────────────────────────── */
  .eval-left { padding: 32px 16px; }
  .eval-heading { font-size: 22px; }
  .eval-trust-row { flex-wrap: wrap; gap: 12px; }
  .eval-trust-item { border-right: none !important; margin-right: 0 !important; }

  /* ── Costs table ─────────────────────────── */
  .cost-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cost-row span:last-child { text-align: left; }

  /* ── Section eyebrow ─────────────────────── */
  .section-eyebrow { font-size: 9px; }
}


/* ── Book a Meeting page ───────────────────────────── */
.book-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  background: var(--white);
}
.book-selector-group { margin-bottom: 40px; }
.book-selector-group .section-eyebrow { margin-bottom: 16px; }
.book-divider { height: 1px; background: rgba(0,0,0,0.07); margin: 8px 0 40px; }
.book-cards { display: flex; flex-direction: column; gap: 12px; }
.book-card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.book-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(194,151,90,0.12);
}
.book-card-icon { font-size: 1.6rem; flex-shrink: 0; width: 40px; text-align: center; }
.book-card-body { flex: 1; min-width: 0; }
.book-card-title { font-family: var(--serif); font-size: 1.15rem; color: var(--dark); margin-bottom: 3px; }
.book-card-meta { font-family: var(--sans); font-size: 0.75rem; color: var(--mid); margin-bottom: 6px; }
.book-card-desc { font-family: var(--sans); font-size: 0.82rem; color: #555; line-height: 1.55; }
.book-card-arrow { font-size: 1.2rem; color: var(--gold); flex-shrink: 0; transition: transform 0.2s; }
.book-card:hover .book-card-arrow { transform: translateX(4px); }
.book-calendar { background: var(--white); }
.book-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--mid);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 24px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.book-back:hover { color: var(--gold); }
.book-calendar-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.book-cal-title { font-family: var(--serif); font-size: 1.6rem; color: var(--dark); margin-bottom: 4px; }
.book-cal-meta { font-family: var(--sans); font-size: 0.8rem; color: var(--mid); }
#bookCalWidget {
  min-height: 700px;
  height: 700px;
}
#bookCalWidget iframe {
  width: 100% !important;
  height: 700px !important;
  min-height: 700px !important;
  border: none;
}

@media (max-width: 768px) {
  .book-wrap { padding: 40px 20px 60px; }
  .book-card { flex-wrap: wrap; }
  .book-card-arrow { display: none; }
}

/* ── Homepage — Hero ─────────────────────────────── */
.hp-hero {
  position: relative;
  height: 88vh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  margin-top: 72px;
}
.hp-hero-bg { position: absolute; inset: 0; }
.hp-hero-bg-inner {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, #1a1208 0%, #2a1f0e 20%, #1a1a1a 50%, #0d0d0d 100%);
}
.hp-hero-bg-inner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(194,151,90,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(194,151,90,0.06) 0%, transparent 50%);
}
.hp-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px 80px;
  max-width: 960px;
}
.hp-hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hp-hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.hp-hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
}
.hp-hero-title em { font-style: italic; color: #E8B568; }
.hp-hero-sub {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hp-hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hp-ghost-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hp-ghost-link:hover { color: var(--gold); border-color: var(--gold); }
/* Stats bar */
.hp-hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  border-top: 1px solid rgba(194,151,90,0.2);
}
.hp-hero-stat {
  flex: 1;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(16px);
  border-right: 1px solid rgba(194,151,90,0.15);
  padding: 20px 28px;
  text-align: center;
}
.hp-hero-stat:last-child { border-right: none; }
.hp-stat-val { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--gold); line-height: 1; margin-bottom: 5px; }
.hp-stat-lbl { font-family: var(--sans); font-size: 9px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ── Homepage — Search Bar ───────────────────────── */
.hp-search-bar {
  background: var(--near-black);
  border-bottom: 1px solid rgba(194,151,90,0.15);
}
.hp-search-inner {
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.hp-search-tabs { display: flex; }
.hp-search-tab {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 22px 28px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.hp-search-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.hp-search-tab:hover { color: rgba(255,255,255,0.8); }
.hp-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: 0 24px;
}
.hp-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
}
.hp-search-input::placeholder { color: rgba(255,255,255,0.3); }
.hp-search-btn {
  background: var(--gold);
  border: none;
  color: var(--black);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 32px;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 64px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.hp-search-btn:hover { background: var(--gold-light); }

/* ── Homepage — Section Utilities ───────────────── */
.hp-section { padding: 80px 48px; }
.hp-section-inner { max-width: 1200px; margin: 0 auto; }
.hp-section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hp-section-head .section-title { margin: 0; }
.hp-section-link { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); text-decoration: none; white-space: nowrap; }
.hp-section-link:hover { color: var(--gold-light); }

/* ── Homepage — Condo Cards ─────────────────────── */
.hp-condos-section { background: var(--light); }
.hp-condos-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--light);
}
.hp-condo-card {
  min-width: 280px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hp-condo-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.09); }
.hp-condo-img { height: 170px; position: relative; overflow: hidden; background: var(--light); }
.hp-condo-img-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s; }
.hp-condo-card:hover .hp-condo-img-bg { transform: scale(1.06); }
.hp-condo-body { padding: 20px 18px; }
.hp-condo-nb { font-family: var(--sans); font-size: 9px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.hp-condo-name { font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--dark); margin-bottom: 12px; }
.hp-condo-stats { display: flex; gap: 0; border-top: 1px solid rgba(0,0,0,0.06); padding-top: 12px; }
.hp-condo-stat { flex: 1; text-align: center; }
.hp-condo-stat:not(:last-child) { border-right: 1px solid rgba(0,0,0,0.06); }
.hp-condo-stat-val { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--dark); display: block; }
.hp-condo-stat-lbl { font-family: var(--sans); font-size: 9px; font-weight: 300; color: var(--mid); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Homepage — Neighbourhood Grid ──────────────── */
.hp-neigh-section { background: var(--white); }
.hp-neigh-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 3px;
  margin-top: 0;
}
.hp-neigh-card { position: relative; overflow: hidden; text-decoration: none; display: block; }
.hp-neigh-card--featured { grid-row: span 2; }
.hp-neigh-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a2a3a 0%, #0d1520 100%);
  transition: transform 0.6s ease;
}
.hp-neigh-card:nth-child(2) .hp-neigh-bg { background: linear-gradient(135deg, #1a2820 0%, #0d1a14 100%); }
.hp-neigh-card:nth-child(3) .hp-neigh-bg { background: linear-gradient(135deg, #2a1a1a 0%, #1a0d0d 100%); }
.hp-neigh-card:nth-child(4) .hp-neigh-bg { background: linear-gradient(135deg, #1a1a2a 0%, #0d0d1a 100%); }
.hp-neigh-card:nth-child(5) .hp-neigh-bg { background: linear-gradient(135deg, #2a2a1a 0%, #1a1a0d 100%); }
.hp-neigh-card:hover .hp-neigh-bg { transform: scale(1.05); }
.hp-neigh-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.1) 60%);
  transition: opacity 0.3s;
}
.hp-neigh-card:hover .hp-neigh-overlay { opacity: 0.95; }
.hp-neigh-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 32px; z-index: 2; }
.hp-neigh-tag { display: inline-block; font-family: var(--sans); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(194,151,90,0.5); padding: 4px 10px; margin-bottom: 10px; }
.hp-neigh-name { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--white); margin-bottom: 6px; }
.hp-neigh-card--featured .hp-neigh-name { font-size: 38px; }
.hp-neigh-stats { font-family: var(--sans); font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.65); }

/* ── Homepage — Market Data ──────────────────────── */
.hp-market-section { background: var(--dark); position: relative; overflow: hidden; }
.hp-market-section::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,151,90,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hp-market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
/* Mini sparkline charts replacing the old number grid */
.hp-market-charts { }
.hp-mini-charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.hp-mini-chart {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(194,151,90,0.12);
  padding: 16px 18px 14px;
  transition: border-color 0.2s, background 0.2s;
}
.hp-mini-chart:hover { background: rgba(194,151,90,0.05); border-color: rgba(194,151,90,0.3); }
.hp-mini-chart-label {
  font-family: var(--sans); font-size: 10px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hp-mini-up   { color: #6FCF97; font-weight: 500; }
.hp-mini-down { color: #EB5757; font-weight: 500; }
.hp-mini-flat { color: rgba(255,255,255,0.4); font-weight: 400; }
.hp-sparkline { width: 100%; height: 50px; display: block; margin-bottom: 8px; }
.hp-mini-chart-val {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  color: var(--white); line-height: 1;
}
.hp-mini-charts-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-family: var(--sans); font-size: 10px;
  color: rgba(255,255,255,0.3); letter-spacing: 0.08em;
}
.hp-mini-charts-footer a {
  color: var(--gold); text-decoration: none; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 10px;
}
/* keep old mstat styles in case used elsewhere */
.hp-mstat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.hp-mstat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(194,151,90,0.12);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.hp-mstat:hover { background: rgba(194,151,90,0.06); }
.hp-mstat::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--gold); opacity: 0; transition: opacity 0.3s; }
.hp-mstat:hover::before { opacity: 1; }
.hp-mstat-val { font-family: var(--serif); font-size: 38px; font-weight: 400; color: var(--white); line-height: 1; margin-bottom: 8px; }
.hp-mstat-val sup { font-size: 18px; color: var(--gold); vertical-align: super; }
.hp-mstat-lbl { font-family: var(--sans); font-size: 11px; font-weight: 300; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); text-transform: uppercase; margin-bottom: 8px; }
.hp-mstat-change { font-family: var(--sans); font-size: 12px; color: #6FCF97; }
.hp-mstat-change--down { color: #EB5757; }
.hp-market-commentary { padding-left: 20px; }
.hp-market-sub { font-family: var(--sans); font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.75; margin-top: 16px; max-width: 480px; }
.hp-market-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(194,151,90,0.3); padding-bottom: 4px; transition: border-color 0.2s; }
.hp-market-link:hover { border-color: var(--gold); }
.hp-market-date { font-family: var(--sans); font-size: 10px; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ── Homepage — About Graham ─────────────────────── */
.hp-about-section { background: var(--white); overflow: hidden; }
.hp-about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.hp-about-image-col { position: relative; min-height: 600px; overflow: hidden; }
.hp-about-image-bg { position: absolute; inset: 0; background: linear-gradient(160deg, #1a1208 0%, #2a1f0e 35%, #1a1410 60%, #0d0d0d 100%); }
.hp-about-image-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 40% 50%, rgba(194,151,90,0.1) 0%, transparent 65%); }
.hp-about-image-overlay { position: absolute; inset: 0; background: linear-gradient(to right, transparent 60%, var(--white) 100%); }
.hp-about-gold-bar { position: absolute; top: 48px; left: 48px; width: 4px; height: 80px; background: var(--gold); z-index: 2; }
.hp-about-video-badge {
  position: absolute; bottom: 40px; left: 40px; right: 40px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  border: 1px solid rgba(194,151,90,0.3); padding: 20px 24px;
  display: flex; align-items: center; gap: 16px; z-index: 2;
}
.hp-about-video-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; color: var(--black); flex-shrink: 0; font-size: 14px; }
.hp-about-video-title { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--white); letter-spacing: 0.1em; text-transform: uppercase; }
.hp-about-video-sub { font-family: var(--sans); font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.5); }
.hp-about-content-col { padding: 80px 80px 80px 60px; display: flex; flex-direction: column; justify-content: center; }
.hp-credentials { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.hp-credential { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.hp-credential-icon { width: 36px; height: 36px; background: var(--gold-pale); border: 1px solid rgba(194,151,90,0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); font-family: var(--serif); font-size: 16px; }
.hp-credential-text strong { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--dark); display: block; margin-bottom: 2px; }
.hp-credential-text span { font-family: var(--sans); font-size: 12px; font-weight: 300; color: var(--mid); }
.hp-about-quote { margin-top: 36px; padding: 24px 28px; border-left: 3px solid var(--gold); background: var(--light); font-family: var(--serif); font-size: 19px; font-weight: 300; font-style: italic; color: var(--charcoal); line-height: 1.65; }

/* ── Homepage — Buyer Types ──────────────────────── */
.hp-buyers-section { background: var(--near-black); position: relative; overflow: hidden; }
.hp-buyers-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(194,151,90,0.015) 40px, rgba(194,151,90,0.015) 41px); pointer-events: none; }
.hp-buyers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 52px; }
.hp-buyer-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  padding: 44px 36px; text-decoration: none; display: block;
  transition: background 0.3s, border-color 0.3s; position: relative; overflow: hidden;
}
.hp-buyer-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.hp-buyer-card:hover { background: rgba(194,151,90,0.06); border-color: rgba(194,151,90,0.2); }
.hp-buyer-card:hover::after { transform: scaleX(1); }
.hp-buyer-num { font-family: var(--serif); font-size: 56px; font-weight: 300; color: rgba(194,151,90,0.15); line-height: 1; margin-bottom: 20px; transition: color 0.3s; }
.hp-buyer-card:hover .hp-buyer-num { color: rgba(194,151,90,0.3); }
.hp-buyer-title { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--white); margin-bottom: 12px; }
.hp-buyer-desc { font-family: var(--sans); font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 24px; }
.hp-buyer-link { font-family: var(--sans); font-size: 10px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* ── Homepage — Market Report CTA ───────────────── */
.hp-report-cta { background: var(--gold); padding: 72px 80px; }
.hp-report-cta-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hp-report-eyebrow { font-family: var(--sans); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(10,10,10,0.6); margin-bottom: 10px; }
.hp-report-cta-text h2 { font-family: var(--serif); font-size: 36px; font-weight: 400; color: var(--black); line-height: 1.2; }
.hp-report-cta-text h2 em { font-style: italic; }
.hp-report-cta-text p { font-family: var(--sans); font-size: 14px; font-weight: 300; color: rgba(10,10,10,0.65); margin-top: 10px; }
.hp-btn-dark { background: var(--black); color: var(--white); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 18px 40px; text-decoration: none; display: inline-block; white-space: nowrap; transition: background 0.2s; flex-shrink: 0; }
.hp-btn-dark:hover { background: var(--dark); }

/* ── Footer — 4 column ───────────────────────────── */
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 48px; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--white); letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-brand-tag { font-family: var(--sans); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-brand-desc { font-family: var(--sans); font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer-contact { font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 16px; }
.footer-contact a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-col-heading { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer-col a { display: block; font-family: var(--sans); font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.35); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }

/* ── Responsive — Homepage ───────────────────────── */
@media (max-width: 1024px) {
  .hp-neigh-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 220px); }
  .hp-neigh-card--featured { grid-row: span 1; }
  .hp-market-grid { grid-template-columns: 1fr; gap: 48px; }
  .hp-mini-charts-grid { grid-template-columns: 1fr 1fr; }
  .hp-market-commentary { padding-left: 0; }
  .hp-about-grid { grid-template-columns: 1fr; }
  .hp-about-image-col { min-height: 400px; }
  .hp-about-image-overlay { background: linear-gradient(to bottom, transparent 60%, var(--white) 100%); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .hp-hero-content { padding: 0 24px 80px; }
  .hp-search-inner { padding: 0 20px; }
  .hp-search-tabs { display: none; }
  .hp-section { padding: 56px 24px; }
  .hp-buyers-grid { grid-template-columns: 1fr; }
  .hp-neigh-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hp-neigh-card { min-height: 200px; }
  .hp-report-cta { padding: 48px 24px; }
  .hp-report-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hp-hero-stats { display: none; }
  .hp-about-content-col { padding: 48px 24px; }
}


/* ── LTT Closing Cost Calculator ─────────────────── */
.ltt-calc { background: var(--light); border: 1px solid rgba(0,0,0,0.07); padding: 28px 32px; margin: 24px 0; }
.ltt-inputs { margin-bottom: 28px; display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.ltt-input-group { flex: 1; min-width: 220px; }
.ltt-label { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); display: block; margin-bottom: 10px; }
.ltt-input-wrap { display: flex; align-items: center; background: var(--white); border: 1px solid rgba(0,0,0,0.15); border-radius: 3px; overflow: hidden; margin-bottom: 14px; }
.ltt-prefix { font-family: var(--serif); font-size: 20px; color: var(--gold); padding: 0 12px; border-right: 1px solid rgba(0,0,0,0.1); line-height: 1; }
.ltt-input { flex: 1; border: none; outline: none; font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--dark); padding: 12px 16px; background: none; width: 100%; }
.ltt-slider { -webkit-appearance: none; width: 100%; height: 3px; background: rgba(0,0,0,0.12); outline: none; border-radius: 2px; }
.ltt-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 2px solid white; box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.ltt-slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 2px solid white; }
.ltt-slider-labels { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 10px; color: var(--mid); margin-top: 6px; }
.ltt-toggles { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; }
.ltt-toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.ltt-toggle input { display: none; }
.ltt-toggle-track { width: 40px; height: 22px; background: rgba(0,0,0,0.15); border-radius: 11px; position: relative; flex-shrink: 0; transition: background 0.2s; }
.ltt-toggle-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.ltt-toggle input:checked + .ltt-toggle-track { background: var(--gold); }
.ltt-toggle input:checked + .ltt-toggle-track::after { transform: translateX(18px); }
.ltt-toggle-label { font-family: var(--sans); font-size: 13px; color: var(--dark); }

@media ( prefers-reduced-motion: reduce ) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { transition: none !important; animation: none !important; }
}

/* ── Condo building page — new components (2026 redesign) ─────────────────── */

/* Fee includes grid */
.fee-includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.fee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
}
.fee-yes {
  background: rgba(194, 151, 90, 0.08);
  color: var(--dark);
}
.fee-no {
  background: #f7f7f7;
  color: #bbb;
}

/* Buyer fit tags */
.buyer-fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.buyer-fit-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--gold-pale);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* Photo gallery */
.building-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.gallery-thumb {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-thumb:hover img {
  transform: scale(1.04);
}

/* Floor plans */
.floor-plans-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.floor-plan-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  text-decoration: none;
  color: var(--dark);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}
.floor-plan-item:hover {
  border-color: var(--gold);
  background: rgba(194,151,90,0.04);
}
.fp-download {
  margin-left: auto;
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.floor-plans-empty p a {
  color: var(--gold);
}

/* Graham's Take — support wp_kses_post HTML output */
.grahams-take-body p { margin-bottom: 12px; }
.grahams-take-body p:last-child { margin-bottom: 0; }

/* Building map */
.building-map iframe {
  display: block;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .fee-includes-grid { grid-template-columns: repeat(2, 1fr); }
  .building-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .fee-includes-grid { grid-template-columns: 1fr 1fr; }
  .building-gallery { grid-template-columns: 1fr; }
}

/* Walk Score API display */
.walkscore-block { margin-bottom: 8px; }
.score-desc {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--mid);
  margin-top: 2px;
  font-style: italic;
}
.walkscore-attribution {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.walkscore-attribution img { display: block; }

/* Building page disclaimer */
.building-disclaimer {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 32px 32px;
  text-align: center;
}
.building-disclaimer p {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--mid);
  line-height: 1.7;
  font-style: italic;
}
.building-disclaimer a {
  color: var(--mid);
  text-decoration: underline;
}
.building-disclaimer a:hover {
  color: var(--gold);
}

/* W06 market snapshot grid on /condos/ */
.market-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 28px;
}
.snapshot-stat {
  background: var(--white);
  padding: 24px 20px;
  text-align: center;
}
.snapshot-val {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--near-black);
  line-height: 1;
}
.snapshot-lbl {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mid);
  margin-top: 6px;
}
@media (max-width: 640px) {
  .market-snapshot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .market-snapshot-grid { grid-template-columns: 1fr; }
}
