/* ===== AJ Commercial Group · Momentum Build · Shared Styles ===== */
:root {
  --navy: #0F1A2E;
  --navy-deep: #0A1322;
  --navy-light: #1A2B4A;
  --navy-fade: #243759;
  --brand-blue: #1A4FB8;
  --brand-blue-bright: #2D63D4;
  --brand-blue-deep: #0F3590;
  --brand-blue-soft: #E0E8F8;
  --gold: #C9A961;
  --gold-light: #D9BC78;
  --gold-soft: #E8D7A8;
  --offwhite: #F8F6F1;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #3A3A3A;
  --muted: #6B7280;
  --line: #E5E1D5;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --radius: 6px;
  --radius-sm: 4px;
  /* Shared horizontal content padding — keeps nav-logo + hero text on the same x */
  --content-pad-x: clamp(48px, 7vw, 120px);
}
@media (max-width: 1080px) { :root { --content-pad-x: 36px; } }
@media (max-width: 640px)  { :root { --content-pad-x: 22px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- LAYOUT ---------- */
.wrap { max-width: 1520px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 1080px) { .wrap { padding: 0 24px; } }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand-blue);
  display: inline-block; margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow-line { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.eyebrow-line::before { content: ''; width: 36px; height: 1px; background: var(--brand-blue); }
.eyebrow-line.on-dark::before { background: var(--gold); }
.eyebrow-line.center { justify-content: center; }
.eyebrow-line.center::after { content: ''; width: 36px; height: 1px; background: var(--brand-blue); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5.6vw, 70px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(20px, 1.8vw, 26px); }
p { color: var(--ink-soft); }
p.lede { font-size: 19px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em; transition: all 0.25s ease;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
}
.btn-primary { background: var(--brand-blue); color: var(--white); }
.btn-primary:hover { background: var(--brand-blue-bright); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,79,184,0.32); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--brand-blue); }
.btn-glass {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border-color: var(--white);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-glass:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,79,184,0.32);
}
.btn-link { color: var(--navy); border-bottom: 1.5px solid var(--brand-blue); padding-bottom: 4px; font-weight: 600; font-size: 14px; letter-spacing: 0.04em; transition: color 0.2s; }
.btn-link:hover { color: var(--brand-blue); }
.btn-arrow::after { content: '→'; font-weight: 400; transition: transform 0.25s ease; }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- LOGO (new AJ standalone mark — clean, no card) ---------- */
.logo { display: flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; }
.logo-mark {
  height: 68px; width: auto; flex-shrink: 0;
  display: inline-flex; align-items: center;
}
@media (max-width: 1080px) { .logo-mark { height: 58px; } }
@media (max-width: 640px)  { .logo-mark { height: 46px; } }
.logo-mark img {
  height: 100%; width: auto; object-fit: contain; display: block;
}
/* Footer / dark surfaces use the white-inverted logo by default. */
.logo-text { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.05; }
.logo-sub { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: 0.25em; color: var(--gold); text-transform: uppercase; margin-top: 2px; }
/* Light surfaces (e.g. mobile-menu overlay) — show the AJ in its native navy blue */
.logo-light .logo-mark img { filter: none; }
.logo-light .logo-text { color: var(--navy); }
.logo-light .logo-sub { color: var(--brand-blue); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 26, 46, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(26,79,184,0.28);
  transition: background 0.3s ease, border-color 0.3s ease;
}
/* Home page: nav floats absolutely over the hero so the video fills the entire top of the
   page including behind the nav. Soft navy gradient on the banner gives it presence
   without breaking the seamless feel. On scroll past the hero, swaps to fixed solid bar. */
body.has-hero { position: relative; }
body.has-hero .nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: linear-gradient(180deg,
    rgba(15,26,46,0.78) 0%,
    rgba(15,26,46,0.55) 40%,
    rgba(15,26,46,0.20) 75%,
    rgba(15,26,46,0) 100%);
  backdrop-filter: none;
  border-bottom: none;
}
body.has-hero .nav.scrolled {
  position: fixed;
  background: rgba(15, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--content-pad-x); max-width: none; margin: 0;
}
/* Centered nav variant — Interra-style: logo left, links centered, right cluster */
.nav-centered .nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.nav-centered .nav-links { justify-self: center; }
.nav-centered .nav-right {
  display: flex; align-items: center; gap: 14px;
  justify-self: end;
}
.nav-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: var(--white);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.nav-icon-btn svg { width: 17px; height: 17px; }
.nav-icon-btn:hover { background: var(--brand-blue); color: var(--white); transform: translateY(-1px); }
@media (max-width: 980px) {
  .nav-centered .nav-right { display: none !important; }
}
@media (max-width: 640px) { .nav-inner { padding-top: 14px; padding-bottom: 14px; } }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > li { list-style: none; position: relative; }
.nav-links a {
  color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active { border-bottom: 1px solid var(--gold); }
.has-dropdown::after { content: '⌄'; font-size: 11px; opacity: 0.75; }
.dropdown {
  position: absolute; top: 100%; left: -16px;
  background: var(--white); min-width: 220px;
  padding: 12px 0; margin-top: 4px;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 50px rgba(15,26,46,0.18);
  border-top: 2px solid var(--brand-blue);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s ease;
}
.nav-links li:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 22px;
  color: var(--navy); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  border-bottom: none; transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--paper); color: var(--brand-blue); }
.nav-cta {
  background: var(--brand-blue); color: var(--white);
  padding: 11px 22px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--brand-blue-bright); color: var(--white); }
@media (max-width: 980px) {
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-burger { display: inline-flex !important; }
  /* Mobile nav: logo flush-left, burger flush-right via flex */
  .nav-centered .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
}

/* ---------- BURGER BUTTON (mobile only) — KPro-style circle ---------- */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 201;
  position: relative;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s, transform 0.2s;
}
.nav-burger:hover { background: var(--gold-light); }
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: opacity 0.2s ease;
}
/* When menu is open, the burger button itself is hidden — replaced by the X inside the overlay */
.nav-burger.is-open span { opacity: 0; }

/* ---------- MOBILE OVERLAY MENU — KPro-style ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 19, 34, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s, color 0.2s;
}
.mobile-menu-close:hover { border-color: var(--gold); color: var(--gold); }
.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 14px 24px 28px;
  flex: 1;
}
.mobile-menu-list li {
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s, padding 0.2s;
}
.mobile-menu-list a::after {
  content: '→';
  color: var(--gold);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.2s;
}
.mobile-menu-list a:hover, .mobile-menu-list a:active {
  color: var(--gold);
  padding-left: 10px;
}
.mobile-menu-list a:hover::after, .mobile-menu-list a:active::after {
  transform: translateX(4px);
}
.mobile-menu-footer {
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(10,19,34,0.4);
}
.mobile-menu-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: 999px;
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.mobile-menu-phone:hover { background: var(--gold-light); }
.mobile-menu-phone svg { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: transparent;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}
.mobile-menu-cta:hover {
  border-color: var(--gold);
  background: rgba(201,169,97,0.1);
}

body.menu-open { overflow: hidden; touch-action: none; }

/* Hide hero eyebrow on mobile */
@media (max-width: 880px) {
  .hero .hero-eyebrow { display: none !important; }
}

/* Compact stats banner on mobile */
@media (max-width: 720px) {
  .stats { padding: 32px 0; border-top: 1px solid var(--line); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
  .stat-num { font-size: 22px; letter-spacing: -0.015em; }
  .stat-num em { font-size: 0.85em; }
  .stat-label { font-size: 9px; letter-spacing: 0.12em; margin-top: 6px; }
  .stat-divider { width: 18px; height: 1.5px; margin: 8px auto 0; }
}
@media (max-width: 480px) {
  .stat-num { font-size: 19px; }
  .stat-label { font-size: 8px; }
}

/* ---------- PAGE HEADER (for sub-pages) ---------- */
.page-header {
  background:
    linear-gradient(180deg, rgba(15,26,46,0.78) 0%, rgba(15,26,46,0.85) 100%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  background-size: cover; background-position: center;
  color: var(--white);
  padding: 110px 0 100px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 220' preserveAspectRatio='none'><path fill='%23000000' opacity='0.32' d='M0 220V120l28-2 6-15 9 5 8-8 12 4 6-22 18 8 22-30 16 18 14-8 18 12 6-10 22 4 6-18 30 8 4-12 24 14 14-22 22 16 12-8 30 12 6-32 28 14 18-22 24 18 18-12 32 22 6-18 28 16 24-32 28 22 16-14 36 26 12-22 32 18 14-30 30 22 16-12 38 20 12-26 36 22 22-28 30 24 18-16 38 22 14-26 34 18 22-32 36 22 14-12 38 26 6-22 34 18 22-28 32 24 12-14 38 26 16-32 32 24 14-22 36 28V220z'/></svg>") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.page-header.with-skyline {
  background:
    linear-gradient(180deg, rgba(15,26,46,0.72) 0%, rgba(15,26,46,0.82) 100%),
    url('assets/city/IMG_4593.JPG') center/cover,
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
}
.page-header.with-skyline-day {
  background:
    linear-gradient(180deg, rgba(15,26,46,0.68) 0%, rgba(15,26,46,0.80) 100%),
    url('assets/city/IMG_4595.JPG') center/cover,
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
}
.page-header.with-team-photo {
  background:
    linear-gradient(180deg, rgba(15,26,46,0.55) 0%, rgba(15,26,46,0.80) 100%),
    url('assets/team/IMG_4588.jpg') center center/cover,
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  min-height: 520px;
}
.page-header-inner { position: relative; z-index: 2; text-align: center; }
.page-header h1 { color: var(--white); margin-bottom: 18px; font-weight: 500; }
.page-header h1 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.page-header p { color: rgba(255,255,255,0.78); max-width: 680px; margin: 0 auto; font-size: 17px; }
.page-header .breadcrumb {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px; display: inline-flex; align-items: center; gap: 12px;
}
.page-header .breadcrumb span { opacity: 0.6; }

/* ---------- HERO (homepage) ---------- */
.hero {
  background:
    url('assets/city/IMG_4595.JPG') center/cover,
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 200px 0 160px;  /* extra top padding because nav now floats above the hero */
  position: relative; overflow: hidden;
}
.hero-video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.hero-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10,19,34,0.55) 0%,
    rgba(10,19,34,0.62) 30%,
    rgba(10,19,34,0.74) 65%,
    rgba(10,19,34,0.92) 100%);
  z-index: 1; pointer-events: none;
}
.hero::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 280px;
  background:
    linear-gradient(to top, rgba(10,19,34,0.92), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 280' preserveAspectRatio='none'><path fill='%23000000' opacity='0.55' d='M0 280V160l28-2 6-15 9 5 8-8 12 4 6-22 18 8 22-30 16 18 14-8 18 12 6-10 22 4 6-18 30 8 4-12 24 14 14-22 22 16 12-8 30 12 6-32 28 14 18-22 24 18 18-12 32 22 6-18 28 16 24-32 28 22 16-14 36 26 12-22 32 18 14-30 30 22 16-12 38 20 12-26 36 22 22-28 30 24 18-16 38 22 14-26 34 18 22-32 36 22 14-12 38 26 6-22 34 18 22-28 32 24 12-14 38 26 16-32 32 24 14-22 36 28V280z'/></svg>") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(26,79,184,0.18), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px;
  align-items: end;
}
.hero-eyebrow {
  color: var(--gold); font-size: 12px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 28px;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before { content: ''; width: 48px; height: 1px; background: var(--gold); }
.hero h1 { color: var(--white); font-weight: 500; margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.hero-sub { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.85); max-width: 560px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-side {
  background: rgba(26,79,184,0.14);
  border: 1px solid rgba(26,79,184,0.42);
  padding: 32px;
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
}
.hero-side-label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 18px; }
.hero-side-stat { margin-bottom: 22px; }
.hero-side-stat:last-child { margin-bottom: 0; }
.hero-side-num {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum", "lnum";
  font-size: 38px; color: var(--white); font-weight: 500;
  line-height: 1; letter-spacing: -0.015em;
}
.hero-side-text { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* ---------- HERO — CLEAN (Interra-style: no eyebrow, no side stats, centered single column) ---------- */
.hero-clean { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero-clean .wrap { position: relative; z-index: 2; }
.hero-clean-inner {
  max-width: none;
  margin: 0;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: var(--content-pad-x);
  padding-right: var(--content-pad-x);
}
.hero-clean h1, .hero-clean .hero-sub, .hero-clean .hero-ctas { max-width: 760px; }
.hero-clean h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500; color: var(--white);
  line-height: 1.1; letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.hero-clean h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero-clean .hero-sub {
  font-size: 18px; line-height: 1.5;
  color: rgba(255,255,255,0.86);
  margin: 0 0 36px; max-width: 620px;
}
.hero-clean .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 720px) {
  .hero-clean-inner { padding-top: 120px; padding-bottom: 44px; text-align: left; }
  /* Force normal block stacking — h1 above subhead */
  .hero-clean h1, .hero-clean .hero-sub { display: block; max-width: 100%; }
  .hero-clean h1 {
    font-size: clamp(28px, 7.5vw, 38px);
    line-height: 1.14;
    margin: 0 0 20px;
  }
  .hero-clean .hero-sub {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
    color: rgba(255,255,255,0.84);
  }
  /* Show the CTA on mobile — small, right-aligned, "Get a Free Valuation" only */
  .hero-clean .hero-ctas {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
  }
  .hero-clean .hero-ctas .btn {
    padding: 11px 18px;
    font-size: 13px;
  }
}

/* Hero CTA visibility — outline "View Recently Sold" on desktop, primary "Get a Free Valuation" on mobile */
.hero-cta-mobile { display: none; }
.hero-cta-desktop { display: inline-flex; }
@media (max-width: 720px) {
  .hero-cta-desktop { display: none; }
  .hero-cta-mobile { display: inline-flex; }
}
@media (max-width: 880px) {
  /* Hero + marquee together fill exactly one viewport — no white peeking below */
  .hero {
    min-height: calc(100vh - 46px);
    min-height: calc(100svh - 46px); /* iOS Safari safe-area aware */
    padding: 110px 0 44px;
    display: flex;
    align-items: stretch;
  }
  /* Marquee locked to a fixed height so it sits flush at the bottom of the viewport */
  .stats-marquee {
    height: 46px;
    padding: 0;
    display: flex;
    align-items: center;
  }
  /* Old hero-grid (with sidebar) used a flex wrap; the new .hero-clean must remain
     a normal block container so h1 + subhead stack vertically. */
  .hero:not(.hero-clean) .wrap { width: 100%; display: flex; flex: 1; }
  .hero-clean .wrap { width: 100%; display: block; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .hero-grid > div:first-child {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }
  .hero-side { display: none; }
  /* Vertically center the headline+subhead between the nav and the CTAs:
     auto margins above the headline AND above the CTAs split the free space evenly. */
  .hero-grid > div:first-child > h1 { margin-top: auto; margin-bottom: 18px; line-height: 1.08; }
  .hero-grid > div:first-child > .hero-sub { margin-bottom: 0; font-size: 16px; line-height: 1.55; max-width: 100%; }
  .hero-grid > div:first-child > .hero-ctas {
    margin-top: auto;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-grid > div:first-child > .hero-ctas .btn { justify-content: center; padding: 16px 24px; }
}
@media (max-width: 480px) {
  .hero { min-height: calc(100vh - 42px); min-height: calc(100svh - 42px); padding: 100px 0 36px; }
  .stats-marquee { height: 42px; padding: 0; display: flex; align-items: center; }
  .hero-grid > div:first-child > h1 { margin-bottom: 14px; font-size: clamp(34px, 9vw, 46px); }
  .hero-grid > div:first-child > .hero-sub { font-size: 15px; }
}

/* ---------- STATS BAR ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-num {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum", "lnum";
  font-size: 56px; color: var(--navy); font-weight: 600;
  line-height: 1; letter-spacing: -0.02em;
}
.stat-num em {
  font-family: var(--serif);
  font-style: normal;
  color: var(--brand-blue);
  font-weight: 500;
  letter-spacing: 0;
}
.stat-label { margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.stat-divider { width: 30px; height: 2px; background: var(--brand-blue); margin: 14px auto 0; border-radius: 2px; }
.counter {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum", "lnum";
  font-weight: inherit;
  display: inline-block;
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .stat-num { font-size: 42px; }
}

/* ---------- STATS MARQUEE — rolling skinny banner ---------- */
.stats-marquee {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 11px 0;
  overflow: hidden;
  position: relative;
}
.stats-marquee::before,
.stats-marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 60px;
  z-index: 2; pointer-events: none;
}
.stats-marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.stats-marquee::after  { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }
.stats-marquee .marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
  will-change: transform;
}
/* Spacing is baked into each child via padding-right (NOT gap) so the
   duplicated set lines up exactly at translateX(-50%) — no glitch on loop. */
.stats-marquee .marquee-track > * { padding-right: 32px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.stats-marquee .m-item {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.stats-marquee .m-item strong {
  color: var(--gold);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  margin-right: 10px;
  letter-spacing: 0;
}
.stats-marquee .m-sep {
  color: var(--gold);
  font-size: 8px;
  opacity: 0.65;
}
@media (max-width: 640px) {
  .stats-marquee::before, .stats-marquee::after { width: 36px; }
  .stats-marquee .marquee-track { animation-duration: 30s; }
  .stats-marquee .marquee-track > * { padding-right: 22px; }
  .stats-marquee .m-item { font-size: 12px; letter-spacing: 0.08em; }
  .stats-marquee .m-item strong { font-size: 14px; margin-right: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .stats-marquee .marquee-track { animation: none; }
}

/* ---------- SOLD GRID / CARDS ---------- */
.sold { background: var(--white); padding: 110px 0; }
.sold-head { text-align: center; margin-bottom: 60px; }
.sold-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sold-card {
  background: var(--navy);
  color: var(--white);
  aspect-ratio: 4 / 3.2;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--radius);
  cursor: pointer;
}
.sold-card:hover { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(15,26,46,0.28); }
.sold-card::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(26,79,184,0.32), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  z-index: 1;
}
.sold-card.with-photo::before {
  background:
    linear-gradient(180deg, rgba(15,26,46,0.40) 0%, rgba(15,26,46,0.95) 100%),
    var(--bg-photo, url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=900&q=80')) center/cover;
}
.sold-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  background:
    linear-gradient(to top, rgba(0,0,0,0.5), transparent),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120' preserveAspectRatio='none'><g fill='%23ffffff' opacity='0.06'><rect x='10' y='30' width='25' height='90'/><rect x='40' y='10' width='30' height='110'/><rect x='75' y='50' width='20' height='70'/><rect x='100' y='25' width='28' height='95'/><rect x='133' y='40' width='22' height='80'/><rect x='160' y='15' width='30' height='105'/></g></svg>") center bottom / 100% 100% no-repeat;
  z-index: 1; pointer-events: none;
}
.sold-card.with-photo::after { display: none; }
.sold-card-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; }
.sold-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--white);
  border: 1px solid var(--brand-blue-bright); padding: 5px 10px;
  border-radius: var(--radius-sm); background: rgba(26,79,184,0.45);
}
.sold-status {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--white);
  background: var(--brand-blue); padding: 5px 10px; border-radius: var(--radius-sm);
}
.sold-card-body { position: relative; z-index: 2; }
.sold-units { font-family: var(--serif); font-size: 15px; color: var(--gold); font-weight: 500; letter-spacing: 0.06em; margin-bottom: 8px; }
.sold-card h3 { font-family: var(--serif); color: var(--white); font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
.sold-meta {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 10px;
}
.sold-meta-dot { width: 4px; height: 4px; background: var(--brand-blue-bright); border-radius: 50%; }
.sold-cta { text-align: center; margin-top: 50px; }
@media (max-width: 1000px) { .sold-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sold-grid { grid-template-columns: 1fr; } }

/* ---------- WHY US (dark) ---------- */
.why { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); padding: 110px 0; position: relative; }
.why::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(circle at 70% 50%, rgba(26,79,184,0.18), transparent 60%); pointer-events: none; }
.why .eyebrow { color: var(--gold); position: relative; z-index: 2; }
.why h2 { color: var(--white); margin-bottom: 50px; max-width: 640px; position: relative; z-index: 2; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; z-index: 2; }
.why-item { border-top: 2px solid var(--brand-blue-bright); padding-top: 24px; }
.why-item h3 { color: var(--white); font-family: var(--serif); font-size: 22px; margin-bottom: 12px; font-weight: 500; }
.why-item p { color: rgba(255,255,255,0.68); font-size: 14px; line-height: 1.65; }
@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- CTA BLOCK ---------- */
.cta-block { background: linear-gradient(135deg, var(--navy) 0%, var(--brand-blue-deep) 100%); color: var(--white); padding: 100px 0; position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(201,169,97,0.14), transparent 60%); pointer-events: none; }
.cta-block::after { content: ''; position: absolute; bottom: -40%; left: -10%; width: 50%; height: 180%; background: radial-gradient(circle, rgba(26,79,184,0.25), transparent 60%); pointer-events: none; }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.cta-grid h2 { color: var(--white); margin-bottom: 18px; }
.cta-grid h2 em { color: var(--gold-soft); font-style: italic; }
.cta-grid p { color: rgba(255,255,255,0.78); font-size: 17px; line-height: 1.6; max-width: 540px; }
.cta-actions { display: flex; flex-direction: column; gap: 16px; }
.cta-phone {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum", "lnum";
  font-size: 28px; color: var(--gold); font-weight: 400;
  letter-spacing: -0.01em;
}

/* Inline numerals utility — Plus Jakarta Sans tabular, lightweight */
.num {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum", "lnum";
  font-weight: 300;
  letter-spacing: 0;
}
.cta-phone-label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 80px 0 30px; border-top: 1px solid rgba(26,79,184,0.28); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-brand .logo { color: var(--white); margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-badges { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.16);
  padding: 6px 10px; border-radius: var(--radius-sm);
}
.footer-col h4 { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 14px; }
.footer-col a:hover { color: var(--brand-blue-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all 0.2s; border-radius: var(--radius-sm); font-size: 11px; font-weight: 600; }
.footer-socials a:hover { border-color: var(--brand-blue-bright); color: var(--brand-blue-bright); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- DEMO BANNER ---------- */
.demo-banner {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-bright));
  color: var(--white);
  padding: 10px 0; font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
}

/* ---------- FORMS ---------- */
.form-section { background: var(--paper); padding: 100px 0; }
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 60px;
  max-width: 760px; margin: 0 auto;
  box-shadow: 0 12px 40px rgba(15,26,46,0.06);
}
.form-card.wide { max-width: 980px; }
.form-card h2 { margin-bottom: 12px; }
.form-card .form-lede { color: var(--ink-soft); margin-bottom: 36px; max-width: 600px; font-size: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.form-grid.full { grid-template-columns: 1fr; }
.form-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(26,79,184,0.10);
}
.form-textarea { min-height: 120px; resize: vertical; font-family: var(--sans); }
.form-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin-bottom: 22px; }
.form-checks.three { grid-template-columns: repeat(3, 1fr); }
.form-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.form-check input { width: 16px; height: 16px; accent-color: var(--brand-blue); }
.form-consent { font-size: 13px; color: var(--muted); display: flex; align-items: flex-start; gap: 10px; margin: 24px 0; line-height: 1.55; }
.form-consent input { margin-top: 4px; flex-shrink: 0; }
.form-submit { padding: 16px 36px; font-size: 14px; }
@media (max-width: 640px) {
  .form-card { padding: 36px 24px; }
  .form-grid, .form-checks, .form-checks.three { grid-template-columns: 1fr; }
}

/* ---------- TEAM GRID ---------- */
.team-section { background: var(--white); padding: 110px 0; }
.team-head { text-align: center; margin-bottom: 70px; max-width: 700px; margin-left: auto; margin-right: auto; }
.team-head h2 { margin-bottom: 18px; }
.team-row { margin-bottom: 70px; }
.team-row-label { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 30px; text-align: center; }
.team-grid { display: grid; gap: 36px 28px; }
.team-grid.partners { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
.team-grid.brokers { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .team-grid.brokers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid.brokers, .team-grid.partners { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid.brokers, .team-grid.partners { grid-template-columns: 1fr; } }
.team-card {
  text-align: center; cursor: pointer;
  transition: transform 0.25s ease;
}
.team-card:hover { transform: translateY(-4px); }
.team-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand-blue-deep) 100%);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  margin-bottom: 18px;
}
.team-photo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(201,169,97,0.18), transparent 60%);
}
.team-photo .initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 80px; font-weight: 600;
  color: var(--gold); letter-spacing: -0.02em;
}
.team-photo.real {
  background-size: cover;
  background-position: center 20%;
}
.team-photo.real::after { content: none; }
.team-name { font-family: var(--serif); font-size: 22px; color: var(--brand-blue); font-weight: 600; margin-bottom: 4px; }
.team-role { font-style: italic; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.team-contact {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.team-contact a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}
.team-contact a:hover { color: var(--gold); }
.team-card.partner .team-photo { aspect-ratio: 4 / 4.5; }
.team-card.partner .team-name { font-size: 26px; }

/* Founder bios — full paragraphs below the partner photos */
.founder-bios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 40px auto 80px;
  padding: 0 20px;
}
.founder-bio h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.founder-bio p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.founder-bio p:last-child { margin-bottom: 0; }
@media (max-width: 880px) {
  .founder-bios { grid-template-columns: 1fr; gap: 36px; margin: 30px auto 60px; }
}

/* ---------- BLOG GRID ---------- */
.blog-section { background: var(--white); padding: 100px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.25s; cursor: pointer; display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--brand-blue); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(26,79,184,0.12); }
.blog-img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); position: relative; overflow: hidden; }
.blog-img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(26,79,184,0.28), transparent 60%); }
.blog-img-1::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120' preserveAspectRatio='xMidYMid slice'><g stroke='%232D63D4' stroke-width='0.6' fill='none' opacity='0.7'><circle cx='60' cy='60' r='30'/><circle cx='140' cy='60' r='30'/><line x1='90' y1='60' x2='110' y2='60'/></g></svg>") center/cover; }
.blog-img-2::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120' preserveAspectRatio='xMidYMid slice'><path stroke='%232D63D4' stroke-width='0.8' fill='none' opacity='0.7' d='M10 80 L40 70 L70 50 L100 60 L130 30 L160 40 L190 20'/><g fill='%232D63D4' opacity='0.7'><circle cx='40' cy='70' r='2'/><circle cx='70' cy='50' r='2'/><circle cx='100' cy='60' r='2'/><circle cx='130' cy='30' r='2'/><circle cx='160' cy='40' r='2'/></g></svg>") center/cover; }
.blog-img-3::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120' preserveAspectRatio='xMidYMid slice'><g fill='none' stroke='%232D63D4' stroke-width='0.7' opacity='0.65'><rect x='30' y='30' width='40' height='60'/><rect x='80' y='20' width='40' height='80'/><rect x='130' y='40' width='40' height='50'/></g></svg>") center/cover; }
.blog-img-4::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120' preserveAspectRatio='xMidYMid slice'><g stroke='%232D63D4' stroke-width='0.7' fill='none' opacity='0.7'><polyline points='10,90 50,70 90,80 130,40 170,55 200,30'/></g></svg>") center/cover; }
.blog-img-5::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120' preserveAspectRatio='xMidYMid slice'><g stroke='%232D63D4' stroke-width='0.6' fill='none' opacity='0.7'><path d='M30 80 Q 60 30, 100 60 T 170 40'/><circle cx='100' cy='60' r='4' fill='%232D63D4'/></g></svg>") center/cover; }
.blog-img-6::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120' preserveAspectRatio='xMidYMid slice'><g fill='%232D63D4' opacity='0.55'><rect x='20' y='40' width='15' height='70'/><rect x='40' y='20' width='15' height='90'/><rect x='60' y='50' width='15' height='60'/><rect x='80' y='30' width='15' height='80'/><rect x='100' y='45' width='15' height='65'/><rect x='120' y='25' width='15' height='85'/><rect x='140' y='35' width='15' height='75'/><rect x='160' y='50' width='15' height='60'/></g></svg>") center/cover; }
.blog-body { padding: 28px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 14px; }
.blog-card h3 { font-family: var(--serif); font-size: 22px; line-height: 1.3; margin-bottom: 14px; color: var(--navy); }
.blog-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.blog-link { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }
.blog-link::after { content: '  →'; color: var(--brand-blue); }

/* ---------- PROPERTY DETAIL ---------- */
.property-hero {
  height: 540px; position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15,26,46,0.20) 0%, rgba(15,26,46,0.30) 100%),
    url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=2400&q=80') center/cover,
    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.property-hero-meta {
  position: absolute; bottom: 40px; left: 0; right: 0;
  color: var(--white);
}
.property-hero-meta .breadcrumb {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.property-hero-meta h1 { color: var(--white); font-size: clamp(34px, 4.5vw, 56px); }
.property-hero-meta .property-loc { color: rgba(255,255,255,0.85); font-size: 18px; margin-top: 8px; }
.property-body { padding: 80px 0; background: var(--white); }
.property-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; }
.property-content h2 { font-size: 22px; color: var(--brand-blue); margin-bottom: 18px; font-family: var(--serif); }
.property-content p { font-size: 16px; line-height: 1.75; margin-bottom: 18px; color: var(--ink-soft); }
.property-facts { background: var(--paper); border-radius: var(--radius); padding: 36px; }
.property-facts h2 { font-size: 22px; color: var(--brand-blue); margin-bottom: 22px; font-family: var(--serif); }
.property-facts ul { list-style: none; padding: 0; }
.property-facts li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.property-facts li:last-child { border-bottom: none; }
.property-facts .fact-label { color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.property-facts .fact-value { color: var(--navy); font-weight: 600; }
.property-broker {
  background: var(--brand-blue);
  color: var(--white);
  padding: 32px; border-radius: var(--radius);
  margin-top: 24px; text-align: center;
}
.property-broker .label { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.8; margin-bottom: 14px; }
.property-broker .photo {
  width: 170px; height: 170px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 54px; font-weight: 600; color: var(--navy);
  border: 4px solid rgba(255,255,255,0.35);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}
.property-broker .photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center; border-radius: 50%;
  display: block;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}
.property-broker-link {
  display: block; text-decoration: none;
  color: var(--white) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.property-broker-link,
.property-broker-link .label,
.property-broker-link .name,
.property-broker-link .role,
.property-broker-link .contact-line { color: var(--white); }
.property-broker-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}
.property-broker .broker-cta {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); opacity: 0.95;
}

/* ---------- PROPERTY BROKERS ROW — horizontal layout below property body ---------- */
.property-brokers-row {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}
.property-brokers-head { text-align: center; margin-bottom: 36px; }
.property-brokers-head h2 {
  font-family: var(--serif);
  color: var(--navy);
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
}
.property-brokers-cards {
  /* Flex keeps the cards horizontal at all desktop/tablet widths.
     justify-content: center handles 1 card, 2 cards, AND 3 cards — all centered. */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
/* Reset the vertical-stack margin-top from the old layout + give each card a fixed-ish width */
.property-brokers-cards .property-broker {
  margin-top: 0;
  padding: 28px 24px;
  flex: 0 1 340px;
  min-width: 280px;
  box-sizing: border-box;
}
/* Listing Broker (first) keeps brand-blue; Co-Brokers (2nd, 3rd) use navy for visual hierarchy */
.property-brokers-cards .property-broker:not(:first-child) { background: var(--navy); }
/* Smaller photo for the horizontal card */
.property-brokers-cards .property-broker .photo {
  width: 130px; height: 130px;
  margin: 0 auto 16px;
  font-size: 42px;
}
.property-brokers-cards .property-broker .name { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-top: 4px; }
.property-brokers-cards .property-broker .role { font-size: 12px; opacity: 0.88; margin-top: 4px; }
.property-brokers-cards .property-broker .contact-line { font-size: 12px; margin-top: 14px; opacity: 0.92; }
.property-brokers-cards .property-broker .broker-cta { margin-top: 14px; padding-top: 12px; font-size: 11px; }

@media (max-width: 980px) {
  /* Tablet: still horizontal, just constrained container */
  .property-brokers-cards { max-width: 720px; }
}
@media (max-width: 640px) {
  /* Phones only: single column */
  .property-brokers-row { margin-top: 40px; padding-top: 36px; }
  .property-brokers-head { margin-bottom: 24px; }
  .property-brokers-cards { max-width: 420px; gap: 16px; }
  .property-brokers-cards .property-broker { padding: 26px 22px; min-width: 0; flex-basis: 100%; }
  .property-brokers-cards .property-broker .photo { width: 120px; height: 120px; }
}

/* ---------- TEAM CARD CLICKABLE ---------- */
.team-card-link {
  display: block; text-decoration: none; color: inherit; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.team-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(15,26,46,0.14);
  border-color: var(--gold);
}
.team-card-link .team-contact span,
.team-card-link .team-contact a { color: inherit; }
.team-cta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-blue);
}

/* ---------- BROKER PROFILE PAGE ---------- */
.broker-hero {
  background:
    linear-gradient(180deg, rgba(15,26,46,0.55) 0%, rgba(15,26,46,0.80) 100%),
    url('assets/city/IMG_4595.JPG') center/cover no-repeat,
    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 110px 0 80px;
}
.broker-hero .breadcrumb {
  margin-bottom: 28px;
}
.broker-hero .breadcrumb a {
  text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.broker-hero-grid {
  display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center;
}
.broker-hero-photo {
  width: 320px; height: 320px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 96px; font-weight: 600; color: var(--navy);
  border: 6px solid rgba(255,255,255,0.32);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  flex-shrink: 0;
}
.broker-hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block;
}
.broker-hero-meta h1 {
  font-family: var(--serif); font-size: 64px; line-height: 1.05; margin: 14px 0 26px;
  color: var(--white);
}
.broker-contact-block {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  font-size: 16px;
}
.broker-contact-block .cta-phone {
  color: var(--gold); font-family: var(--display); font-weight: 600; font-size: 24px;
  text-decoration: none; font-variant-numeric: tabular-nums;
}
.broker-email-link {
  color: var(--white); opacity: 0.85; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
}
.broker-email-link:hover { opacity: 1; border-color: var(--gold); }

.broker-bio {
  max-width: 820px; margin: 0 auto;
}
.broker-bio h2 {
  font-family: var(--serif); font-size: 36px; color: var(--navy); margin-bottom: 24px;
}
.broker-bio p {
  font-size: 17px; line-height: 1.75; color: var(--ink); margin-bottom: 18px;
}

@media (max-width: 720px) {
  .broker-hero { padding: 70px 0 50px; }
  .broker-hero-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .broker-hero-photo { margin: 0 auto; width: 220px; height: 220px; font-size: 64px; }
  .broker-hero-meta h1 { font-size: 42px; }
  .broker-contact-block { align-items: center; }
}
.property-broker .name { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.property-broker .role { font-size: 13px; opacity: 0.85; margin-top: 4px; }
.property-broker .contact-line { margin-top: 16px; font-size: 13px; }
@media (max-width: 880px) { .property-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 1031 / CONTENT BLOCKS ---------- */
.content-section { padding: 100px 0; background: var(--white); }
.content-section.alt { background: var(--paper); }
.content-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.content-grid-2.text-first { grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) { .content-grid-2 { grid-template-columns: 1fr; gap: 40px; } }
.content-block h2 { margin-bottom: 22px; max-width: 520px; }
.content-block p { font-size: 16px; line-height: 1.75; margin-bottom: 18px; }
.feature-list { list-style: none; padding: 0; margin-top: 18px; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.feature-list .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-blue-soft); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin-top: 2px;
}
.feature-list strong { color: var(--navy); display: block; margin-bottom: 2px; font-weight: 600; font-size: 16px; }

/* ---------- CITY GROUP CARDS (recently sold city groups) ---------- */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .city-grid { grid-template-columns: 1fr; } }
.city-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.25s; cursor: pointer;
}
.city-card:hover { transform: translateY(-3px); border-color: var(--brand-blue); box-shadow: 0 12px 32px rgba(26,79,184,0.12); }
.city-img {
  aspect-ratio: 16 / 11;
  background-color: var(--navy);
  background-size: cover; background-position: center;
  position: relative;
}
.city-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,26,46,0.5) 100%);
}
.city-card-body { padding: 26px 24px; text-align: center; }
.city-name { font-family: var(--serif); font-size: 26px; color: var(--brand-blue); font-weight: 600; margin-bottom: 4px; }
.city-units { font-family: var(--serif); font-size: 22px; color: var(--brand-blue); font-weight: 500; margin-bottom: 16px; }
.city-card .btn { font-size: 12px; padding: 10px 22px; }

/* ---------- SERVICE TILES (homepage) ---------- */
.services { background: var(--white); padding: 110px 0; }
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; align-items: end; }
.services-head h2 { max-width: 460px; }
.services-head p { max-width: 440px; font-size: 16px; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card { background: var(--paper); padding: 50px 44px; transition: background 0.25s; }
.service-card:hover { background: var(--white); }
.service-num { font-family: var(--serif); font-size: 14px; color: var(--brand-blue); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 24px; }
.service-card h3 { margin-bottom: 14px; color: var(--navy); }
.service-card p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
@media (max-width: 720px) {
  .services-head { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; }
}

/* ---------- INSIGHTS (homepage blog teaser) ---------- */
.insights { background: var(--white); padding: 110px 0; }
.insights-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 50px; gap: 40px; flex-wrap: wrap; }
.insights-head h2 { max-width: 480px; }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 880px) { .insights-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- FOUNDERS ---------- */
.founders { background: var(--paper); padding: 110px 0; }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.founders-text h2 { margin-bottom: 24px; }
.founders-text p { font-size: 17px; line-height: 1.75; margin-bottom: 18px; }
.founders-text p:last-of-type { margin-bottom: 30px; }
.founders-photo { background: linear-gradient(135deg, var(--navy) 0%, var(--brand-blue-deep) 100%); aspect-ratio: 4 / 5; position: relative; overflow: hidden; display: flex; align-items: flex-end; border-radius: var(--radius); }
.founders-photo.real-photo { background: url('assets/team/IMG_4588.jpg') center/cover; }
.founders-photo.real-photo::before { background: linear-gradient(180deg, rgba(15,26,46,0) 30%, rgba(15,26,46,0.55) 100%); }
.founders-photo.real-photo .founders-avatars { display: none; }

/* Stacked founder duo: top BW skyline portrait + bottom color desk candid */
.founders-stack { display: flex; flex-direction: column; gap: 16px; aspect-ratio: auto; }
.founders-stack-photo {
  border-radius: var(--radius);
  background-size: cover;
  background-position: center 25%;
  position: relative; overflow: hidden;
  box-shadow: 0 14px 40px rgba(15,26,46,0.18);
  border: 1px solid rgba(255,255,255,0.06);
}
.founders-stack-photo.tall { aspect-ratio: 4 / 3.4; }
.founders-stack-photo.wide { aspect-ratio: 4 / 2.4; }
.founders-stack-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(15,26,46,0.25) 100%);
  pointer-events: none;
}
.founders-stack-tag {
  position: absolute; bottom: 18px; left: 20px; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}

/* ---------- CULTURE STRIP / TEAM GALLERY ---------- */
.culture { background: var(--navy-deep); color: var(--white); padding: 90px 0; position: relative; overflow: hidden; }
.culture::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(circle at 70% 50%, rgba(26,79,184,0.18), transparent 60%); pointer-events: none; }
.culture-head { text-align: center; max-width: 700px; margin: 0 auto 60px; position: relative; z-index: 2; }
.culture-head h2 { color: var(--white); margin-bottom: 16px; }
.culture-head p { color: rgba(255,255,255,0.72); font-size: 17px; line-height: 1.65; }
.culture-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; position: relative; z-index: 2; }
.culture-grid-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; }
.culture-grid-item.tall { aspect-ratio: auto; min-height: 100%; }
.culture-grid-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(15,26,46,0.5) 100%); }
.culture-grid-right { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
@media (max-width: 880px) {
  .culture-grid { grid-template-columns: 1fr; }
  .culture-grid-right { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
}

/* ---------- BROCHURE / CREATIVES ---------- */
.creatives-section { background: var(--paper); padding: 90px 0; }
.creatives-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.creatives-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.creative-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); box-shadow: 0 6px 28px rgba(15,26,46,0.10);
  transition: transform 0.25s, box-shadow 0.25s;
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
}
.creative-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(15,26,46,0.16); }
@media (max-width: 880px) { .creatives-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .creatives-grid { grid-template-columns: 1fr; } }
.founders-photo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(201,169,97,0.18), transparent 60%); }
.founders-avatars { position: relative; z-index: 2; display: flex; padding: 50px; width: 100%; align-items: flex-end; }
.avatar { width: 180px; height: 180px; border-radius: 50%; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); border: 6px solid var(--navy-deep); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.avatar:nth-child(2) { margin-left: -36px; }
.avatar-initials { font-family: var(--serif); font-size: 56px; font-weight: 600; line-height: 1; }
.avatar-name { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 6px; }
.founders-photo-meta { position: absolute; top: 30px; right: 30px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
@media (max-width: 880px) {
  .founders-grid { grid-template-columns: 1fr; gap: 50px; }
  .founders-photo { aspect-ratio: 5 / 4; }
  .avatar { width: 130px; height: 130px; }
  .avatar-initials { font-size: 40px; }
}

/* ---------- TESTIMONIAL ---------- */
.testimonial { background: var(--paper); padding: 100px 0; }
.testimonial-inner { max-width: 880px; margin: 0 auto; text-align: center; padding: 0 32px; }
.testimonial-mark { font-family: var(--serif); font-size: 100px; line-height: 0.5; color: var(--gold); margin-bottom: 30px; height: 50px; }
.testimonial-quote { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; color: var(--navy); font-weight: 500; margin-bottom: 30px; }
.testimonial-attribution { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.testimonial-attribution strong { color: var(--navy); }

/* Slider */
.testimonial-slides { position: relative; min-height: 200px; }
.testimonial-slide { display: none; animation: fadeIn 0.45s ease; }
.testimonial-slide.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
}
.testimonial-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  font-size: 22px;
  line-height: 0;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
}
.testimonial-arrow:hover { border-color: var(--brand-blue); color: var(--brand-blue); background: rgba(26,79,184,0.05); }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.testimonial-dot.is-active { background: var(--brand-blue); transform: scale(1.3); }

/* Team feature lineup photo (above the team grid) */
.team-feature { background: var(--white); padding: 60px 0 20px; }
.team-feature-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(15,26,46,0.18);
}

/* ---------- DROPDOWN HOVER FIX ---------- */
.nav-links li { padding-bottom: 4px; }

/* =========================================================================
   MOBILE AUDIT — tighter spacing, scaled type, single-column layouts
   ========================================================================= */

@media (max-width: 880px) {
  /* Section padding scaled down ~50% across the board */
  .sold      { padding: 60px 0; }
  .founders  { padding: 64px 0; }
  .insights  { padding: 60px 0; }
  .testimonial { padding: 60px 0; }
  .cta-block { padding: 60px 0; }
  .brand-team { padding: 60px 0; }
  .services { padding: 60px 0; }
  .why       { padding: 60px 0; }

  /* Smaller section heads */
  .sold-head      { margin-bottom: 36px; }
  .founders-head  { margin-bottom: 36px; }
  .insights-head  { margin-bottom: 28px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .culture-head   { margin-bottom: 36px; }

  h2 { font-size: clamp(26px, 6.5vw, 34px); line-height: 1.18; }
  h3 { font-size: clamp(18px, 4.8vw, 22px); }
  p  { font-size: 15px; line-height: 1.65; }
}

@media (max-width: 640px) {
  /* Even tighter for phones */
  .sold      { padding: 50px 0; }
  .founders  { padding: 52px 0; }
  .insights  { padding: 50px 0; }
  .testimonial { padding: 50px 0; }
  .cta-block { padding: 54px 0; }

  /* Sold cards: full-width single column with shorter aspect */
  .sold-grid { gap: 16px; }
  .sold-card { min-height: 220px; }
  /* On phones, show only the first 3 transactions; "View All" button takes them to the full list */
  .sold-grid .sold-card:nth-child(n+4) { display: none; }
  .sold-cta { margin-top: 28px; }

  /* Founders text block + stack reflow to a clean single column */
  .founders-grid { grid-template-columns: 1fr !important; gap: 36px; }
  .founders-text p { font-size: 15px; line-height: 1.65; }

  /* Insights cards */
  .blog-grid { gap: 18px; }
  .blog-card h3 { font-size: 18px; }
  .blog-body { padding: 22px; }

  /* CTA block */
  .cta-grid { gap: 28px; text-align: left; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Testimonial padding */
  .testimonial-inner { padding: 0 18px; }
  .testimonial-quote { font-size: 18px; line-height: 1.55; }

  /* Footer tighter */
  .footer { padding: 50px 0 32px; }
  .footer-brand p { font-size: 14px; }

  /* Disable subtle hover transforms on touch — no-op for hover events */
  @media (hover: none) {
    .founder-card:hover,
    .team-mini-card:hover,
    .brand-team-card:hover,
    .sold-card:hover,
    .blog-card:hover { transform: none; box-shadow: none; }
  }
}

@media (max-width: 480px) {
  /* Hide the mobile-only nav-burger drop-shadow that can clip */
  .nav-burger { width: 42px; height: 42px; }

  /* Prevent horizontal overflow from any wide grids */
  body, html { overflow-x: hidden; }
}

/* ============================================================
   SCROLL-REVEAL — subtle fade-up as elements enter the viewport.
   Driven by assets/scroll-reveal.js (IntersectionObserver).
   Wrapped in prefers-reduced-motion media query so users who've
   opted out of motion see content immediately, with no animation.
============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
