/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* Lenis smooth scroll. These only bite once the script has tagged <html class="lenis">,
   so if the CDN is blocked or the visitor has "reduce motion" on, the native
   scroll-behavior above stays in charge. Without them the browser's own smooth
   scrolling fights Lenis's animation loop and the page stutters. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #0A0A0A;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== CSS VARIABLES ===== */
:root {
  /* TNT Realty brand — locked Oct 30 2026 (see brand/BRAND-COLOURS.md) */
  --tnt-black:     #0A0A0A;
  --tnt-white:     #FFFFFF;
  --tnt-turquoise: #02B4B9;
  --tnt-purple:    #6E37BB;
  --tnt-grad:      linear-gradient(90deg, #02B4B9 0%, #6E37BB 100%);
  /* Grayscale (Oct 30 2026) */
  --tnt-deep-charcoal: #161616;
  --tnt-charcoal:      #1C1C1E;
  --tnt-slate:         #6E6E73;
  --tnt-silver:        #DEDEDF;
  --tnt-light-gray:    #F4F4F5;
  --tnt-grad-v:    linear-gradient(180deg, #02B4B9 0%, #6E37BB 100%);

  /* Dark palette — neutral black (was warm charcoal) */
  --navy:        #0A0A0A;
  --navy2:       #1C1C1E;
  --navy3:       #141414;
  --charcoal:    #0A0A0A;
  --charcoal2:   #1C1C1E;
  --charcoal3:   #141414;

  /* Accent. The old --gold names are kept so the 1,200+ inline styles keep working:
     on light backgrounds the accent is TNT Purple, inside dark sections it switches
     to TNT Turquoise (see "TNT REALTY BRAND LAYER" at the bottom of this file). */
  --gold:        #6E37BB;
  --gold2:       #7E4AC8;
  --gold3:       #6E37BB;
  --gold-light:  #F5F1FB;
  --gold-border: rgba(110,55,187,0.28);

  /* Light palette — neutral (was warm cream) */
  --white:       #ffffff;
  --offwhite:    #F4F4F5;   /* TNT Light Gray — alternating light sections */
  --cream:       #EDEDEF;
  --light:       #E4E4E7;
  --border:      #DEDEDF;   /* TNT Silver — lines and borders */
  --border2:     #E9E9EA;

  /* Text */
  --text:        #0A0A0A;
  --text2:       #3A3A3C;
  --muted:       #6E6E73;

  /* Accent */
  --red:         #c0392b;

  /* Transitions */
  --ease:        0.22s ease;
}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.12;
  color: var(--text);
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
p { color: var(--text2); line-height: 1.78; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 24px; }
.divider { width: 44px; height: 2px; background: var(--gold); margin: 12px 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--ease);
  cursor: pointer;
  border: none;
  position: relative;
}
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 2px 12px rgba(110,55,187,0.3);
}
.btn-gold:hover {
  background: var(--gold2);
  box-shadow: 0 4px 20px rgba(110,55,187,0.45);
  transform: translateY(-1px);
  color: var(--charcoal);
}
.btn-navy { background: var(--charcoal); color: var(--white); }
.btn-navy:hover { background: var(--charcoal2); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.85);
}
.btn-outline-navy {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid rgba(10,10,10,0.4);
}
.btn-outline-navy:hover {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}
.btn-lg { padding: 18px 40px; font-size: 0.88rem; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--charcoal) !important;
  padding: 8px 24px !important;
  font-size: 0.77rem !important;
  font-family: 'Inter', sans-serif !important;
  color: rgba(255,255,255,0.5) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar span { font-size: 0.77rem !important; font-family: 'Inter', sans-serif !important; }
.top-bar a { color: rgba(255,255,255,0.65) !important; font-size: 0.77rem !important; font-family: 'Inter', sans-serif !important; transition: color var(--ease); }
.top-bar a:hover { color: var(--gold) !important; }
.top-bar-right { display: flex; gap: 22px; align-items: center; }
.top-bar-social { display: flex; gap: 14px; align-items: center; }
.top-bar-social a { display: flex; align-items: center; color: rgba(255,255,255,0.5) !important; transition: color var(--ease); }
.top-bar-social a:hover { color: var(--gold) !important; }
.top-bar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.15); }

/* ===== HEADER ===== */
header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: var(--white) !important;
  border-bottom: 1px solid var(--border2) !important;
  box-shadow: 0 1px 24px rgba(0,0,0,0.07) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.header-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  height: 72px !important;
  gap: 28px !important;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 46px;
  height: 46px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(2,180,185,0.3);
}
/* Logo image */
.header-logo {
  height: 36px;
  width: auto;
  display: block;
  /* Invert white logo to near-black for the white header */
  filter: brightness(0);
}
.footer-logo {
  height: 42px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  /* White logo on dark footer — no filter */
}
.logo-text { line-height: 1.1; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.logo-brokerage {
  font-size: 0.6rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
}

/* Main Nav */
.main-nav { display: flex; align-items: stretch; gap: 0; flex: 1; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  white-space: nowrap;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.03em !important;
  color: var(--text2) !important;
  padding: 0 13px !important;
  height: 72px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: color var(--ease);
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px !important;
}
.nav-item > a:hover,
.nav-item > a.active { color: var(--charcoal) !important; border-bottom-color: var(--gold) !important; }
.chevron { font-size: 0.5rem; opacity: 0.4; }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border2);
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 48px rgba(0,0,0,0.14);
  z-index: 999;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 11px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text2);
  border-bottom: 1px solid var(--border2);
  transition: background var(--ease), color var(--ease), padding var(--ease);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover {
  background: var(--offwhite);
  color: var(--charcoal);
  padding-left: 22px;
}
.dropdown-map-link {
  background: var(--gold-light) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  border-top: 1px solid var(--gold-border) !important;
}
.dropdown-map-link:hover {
  background: var(--cream) !important;
  padding-left: 22px;
}

/* Mega Dropdown */
.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  max-width: calc(100vw - 40px);
  background: var(--white);
  border: 1px solid var(--border2);
  border-top: 2px solid var(--gold);
  box-shadow: 0 16px 48px rgba(0,0,0,0.16);
  z-index: 999;
  flex-direction: column;
}
.nav-item:hover .mega-dropdown { display: flex; }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.mega-col {
  padding: 20px 18px;
  border-right: 1px solid var(--border);
}
.mega-col:last-child { border-right: none; }
.mega-col-heading {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding-bottom: 6px;
  margin-bottom: 4px;
  margin-top: 14px;
  border-bottom: 1px solid var(--border);
}
.mega-col-heading:first-child { margin-top: 0; }
.mega-dropdown .mega-col a {
  display: block;
  font-size: 0.78rem;
  color: var(--text2);
  padding: 3px 0;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  background: none;
  transition: color var(--ease);
}
.mega-dropdown .mega-col a:hover { color: var(--navy); background: none; padding-left: 0; }
.mega-footer {
  display: flex;
  gap: 20px;
  padding: 10px 18px;
  background: var(--offwhite);
  border-top: 1px solid var(--border);
}
.mega-footer a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.mega-footer a:hover { color: var(--gold); }

/* Nav CTA */
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-phone {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--ease);
}
.nav-phone:hover { color: var(--gold); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 1.5px; background: var(--charcoal); border-radius: 2px; transition: all 0.3s; }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 9999;
  flex-direction: column;
  padding: 80px 32px 40px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: rgba(255,255,255,0.8);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--ease);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-cta { margin-top: 28px; }
.mobile-nav-cta .btn { display: flex; justify-content: center; text-align: center; }

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  background: linear-gradient(150deg, #050505 0%, #0A0A0A 45%, #161616 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Mostly horizontal on purpose. The old 150deg version was tuned for a hero
     with no photo behind it; over a photo it drained the sunsets to brown. This
     stays heavy on the left where the copy sits and lets the sky keep its colour. */
  background:
    linear-gradient(100deg, rgba(8,8,8,0.96) 0%, rgba(12,12,12,0.88) 42%, rgba(14,14,14,0.62) 100%),
    linear-gradient(to bottom, rgba(8,8,8,0.22) 0%, transparent 30%, rgba(8,8,8,0.48) 100%);
}

/* ===== Hero photo cycle =====
   Three homes dissolving one into the next. Opacity AND transform live in ONE
   keyframe set on ONE clock, so a plate can never reset its drift while still
   visible - that reset is what makes a crossfade look choppy. The three plates
   run the identical animation a third of the loop apart (0 / -7s / -14s).
   Visible window is 0->42.8%; the next plate starts fading up at 33.3%, so the
   ~2s fade-out and the next ~2s fade-in overlap exactly. Linear timing keeps the
   three opacities summing flat through every handover - easing would dip in the
   middle of the dissolve and read as a flicker.
   Photos 2 and 3 are attached by script after load (see index.html), so only the
   first one costs anything on first paint. */
.hero-plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 34%;
  opacity: 0;
  will-change: transform, opacity;
  animation: hero-cyc 21s linear infinite;
}
.hero-plate.hp1 { background-image: url(tnt-hero-1.webp); }
.hero-plate.hp2 { animation-delay: -7s; }
.hero-plate.hp3 { animation-delay: -14s; }
@keyframes hero-cyc {
  0%      { opacity: 0;    transform: scale(1.04) translate3d(1.8%, 1.2%, 0); }
  9.5%    { opacity: 0.74; transform: scale(1.075) translate3d(1.2%, 0.8%, 0); }
  21%     { opacity: 0.74; transform: scale(1.12) translate3d(0.3%, 0.1%, 0); }
  33.3%   { opacity: 0.74; transform: scale(1.175) translate3d(-1.3%, -1.5%, 0); }
  42.8%   { opacity: 0;    transform: scale(1.21) translate3d(-2.2%, -2.6%, 0); }
  100%    { opacity: 0;    transform: scale(1.04) translate3d(1.8%, 1.2%, 0); }
}
.hero-vig {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 72% at 45% 50%, transparent 50%, rgba(0,0,0,0.28) 100%);
  animation: hero-vig 10s ease-in-out infinite alternate;
}
@keyframes hero-vig { from { opacity: 0.62 } to { opacity: 1 } }
/* Turquoise rather than white - a white flash over a dark hero reads as screen glare. */
.hero-sweep {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 39%, rgba(2,180,185,0.075) 48%, rgba(2,180,185,0.022) 56%, transparent 64%);
  animation: hero-sweep 8s ease-in-out infinite;
}
@keyframes hero-sweep { 0%, 66% { transform: translateX(-50%) } 100% { transform: translateX(50%) } }
/* Subtle turquoise glow top-right */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2,180,185,0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
  animation: hero-glow 9s ease-in-out infinite alternate;
}
@keyframes hero-glow { from { opacity: 0.6; transform: scale(1) } to { opacity: 1; transform: scale(1.18) } }
/* Solid mark, height-matched to the text column beside it (badge top to search
   bottom). Now uses tnt-realty-inc-logo-white.png (Oct 30 2026). The old Team TNT logo-white.png carried
   transparent padding on a square canvas, which would leave the visible mark
   short of the text and waste width the copy needs.
   551x632 measured in a REAL browser with Playfair Display actually loaded.
   (An earlier 580x666 came from a headless run with no webfont, where the
   headline fell back to a metric-different serif and fitted on three lines at a
   narrower column. On the real font, 666 squeezed the column until "Explosive
   Results" wrapped, pushing the h1 to four lines and the block to 754px.)
   632 is the tallest the mark can be while the h1 stays on its intended three
   lines; the block is then 677px, so the mark sits 45px short - about 6%, and
   the closest a true match gets without widening the hero past the 1200px every
   other container on the page uses. Re-measure in a real browser before changing. */
.hero-mark {
  flex-shrink: 0;
  /* Top edge pinned to the top of the award banner, not vertically centred.
     The 45px the mark falls short of the text block therefore all sits at the
     bottom, which is what Brendan asked for. */
  align-self: flex-start;
  width: 551px;
  height: 632px;
  z-index: 6;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  animation: hero-markfloat 9s ease-in-out infinite alternate;
}
.hero-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Horizontal only. Any vertical component would break the top alignment above. */
@keyframes hero-markfloat {
  from { transform: translate3d(0.5%, 0, 0); }
  to   { transform: translate3d(-1.1%, 0, 0); }
}

.hero-content {
  position: relative;
  z-index: 6;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 12px, not 28. Above 1280px the content box is pinned at 1200px and the
     headline font is pinned at 4.4rem, so "Explosive Results" renders at a
     fixed 571px inside a text column of 1152 - gap - 551. At gap:28 that
     column was 573px: two pixels of headroom. Any font-metric difference
     between machines - or one more word in the headline - would wrap it to a
     fourth line and shove the whole hero down. This buys 16px of tolerance
     and is invisible, because the logo PNG carries its own left margin. */
  gap: 12px;
}
.hero-text { flex: 1; min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2,180,185,0.12);
  border: 1px solid rgba(2,180,185,0.35);
  color: var(--gold);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 16px;
  margin-bottom: 28px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  margin-bottom: 20px;
  max-width: 700px;
  line-height: 1.1;
  font-weight: 800;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }

/* Search Bar */
.hero-search {
  background: rgba(28,28,30,0.78);   /* TNT Charcoal, slightly see-through over the hero photo */
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  padding: 22px 24px;
  max-width: 640px;
}
.hero-search-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.hero-search-row { display: flex; gap: 0; }
.hero-search-input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  background: rgba(255,255,255,0.94);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}
.hero-search-input::placeholder { color: var(--muted); }
.hero-search-btn {
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease);
  white-space: nowrap;
}
.hero-search-btn:hover { background: var(--gold2); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--gold);
  padding: 0;
  position: relative;
}
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 30px 24px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--charcoal);
  line-height: 1;
}
.stat-label {
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(10,10,10,0.65);
  margin-top: 6px;
}

/* ===== PROPERTY CARDS ===== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.property-card {
  background: var(--white);
  border: 1px solid var(--border2);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.property-photo {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #C4C4C8, #A8A8AE);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.property-photo img { width: 100%; height: 100%; object-fit: cover; }
.property-photo-placeholder {
  font-size: 2.5rem;
  opacity: 0.25;
}
.property-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 11px;
}
.property-status.sold { background: var(--charcoal); color: #fff; }
.property-status.new { background: #2a7a4a; color: #fff; }
.property-body { padding: 22px; }
.property-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.property-address {
  font-size: 0.86rem;
  color: var(--text2);
  margin-bottom: 12px;
}
.property-specs {
  display: flex;
  gap: 16px;
  font-size: 0.79rem;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--border2);
}
.property-spec { display: flex; align-items: center; gap: 4px; font-weight: 600; }

/* ===== HOME VALUATION ===== */
.home-val {
  background: var(--charcoal);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}
.home-val::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2,180,185,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.home-val-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.home-val h2 { color: #fff; margin-bottom: 16px; }
.home-val p { color: rgba(255,255,255,0.62); margin-bottom: 24px; }
.home-val-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.home-val-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}
.home-val-perks li::before {
  content: '—';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Val Form */
.val-form {
  background: var(--white);
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.val-form h3 { color: var(--charcoal); margin-bottom: 6px; font-size: 1.4rem; }
.val-form p { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }

/* Forms */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(110,55,187,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.form-submit:hover {
  background: var(--gold2);
  transform: translateY(-1px);
}

/* ===== NEIGHBOURHOOD CARDS ===== */
.neighbourhood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.neighbourhood-card {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #1A1A1A, #141414);
  display: flex;
  align-items: flex-end;
}
.neighbourhood-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.neighbourhood-card:hover img { transform: scale(1.06); }
.neighbourhood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, transparent 55%);
  transition: opacity 0.3s;
}
.neighbourhood-info {
  position: relative;
  z-index: 1;
  padding: 24px;
  width: 100%;
}
.neighbourhood-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 4px;
}
.neighbourhood-meta { font-size: 0.74rem; color: rgba(255,255,255,0.6); }

/* ===== AGENT CARDS ===== */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.agent-card {
  display: flex;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.22s, transform 0.22s;
  text-decoration: none;
  color: inherit;
}
.agent-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.13);
  transform: translateY(-3px);
}
.agent-photo {
  width: 185px;
  min-height: 260px;
  flex-shrink: 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.agent-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.agent-photo-initials {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.45;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.agent-info {
  flex: 1;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
}
.agent-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.2;
}
.agent-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gold);
  margin-bottom: 14px;
}
.agent-bio {
  color: var(--text2);
  font-size: 0.87rem;
  line-height: 1.72;
  flex: 1;
  margin-bottom: 18px;
}
.agent-contacts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.agent-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  transition: opacity 0.18s;
  white-space: nowrap;
}
.agent-contacts a:hover { opacity: 0.82; }
.agent-socials {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.agent-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--offwhite);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.agent-socials a:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.agent-contact { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.agent-contact a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 13px;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  transition: opacity 0.18s;
  white-space: nowrap;
}
.agent-contact a:first-child { background: var(--gold); color: var(--navy); }
.agent-contact a:hover { opacity: 0.82; }
.agent-contact-book {
  background: transparent !important;
  color: var(--navy) !important;
  border: 1.5px solid var(--navy);
}
@media (max-width: 960px) {
  .agent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .agent-card { flex-direction: column; }
  .agent-photo { width: 100%; min-height: 0; height: 220px; }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border2);
  border-top: 2px solid var(--gold);
  padding: 32px;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.93rem;
  color: var(--text2);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author { font-weight: 700; font-size: 0.85rem; color: var(--charcoal); }
.testimonial-location { font-size: 0.74rem; color: var(--muted); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ===== AWARD BANNER ===== */
.award-banner {
  background: var(--gold);
  padding: 44px 24px;
  text-align: center;
}
.award-banner h3 { color: var(--charcoal); font-size: 1.05rem; margin-bottom: 4px; }
.award-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--charcoal);
}

/* ===== SPLIT SECTION ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-content {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-visual {
  background: linear-gradient(135deg, #1C1C1E 0%, #0A0A0A 100%);
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ===== BLOG CARDS ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border2);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.blog-photo {
  height: 260px;
  background: linear-gradient(135deg, #ddd, #bbb);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0.4;
}
.blog-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.blog-body { padding: 22px; }
.blog-tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.blog-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.35;
}
.blog-excerpt { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: var(--charcoal);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(2,180,185,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-strip h2 { color: #fff; margin-bottom: 14px; }
.cta-strip p { color: rgba(255,255,255,0.58); max-width: 500px; margin: 0 auto 36px; }
.cta-strip-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer { background: #161616;   /* TNT Deep Charcoal — sets the footer apart from the black CTA above */
   color: rgba(255,255,255,0.7); }
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.85;
  margin-top: 16px;
  max-width: 280px;
  color: rgba(255,255,255,0.45);
}
.footer-logo-mark {
  width: 50px;
  height: 50px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--charcoal);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col li a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--ease);
}
.footer-col li a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.28); transition: color var(--ease); }
.footer-bottom a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  transition: background var(--ease), color var(--ease);
}
.social-btn:hover { background: var(--gold); color: var(--charcoal); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(150deg, #060606 0%, #0A0A0A 60%, #141414 100%);
  padding: 80px 24px 68px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(2,180,185,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-content { max-width: 1200px; margin: 0 auto; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 520px; font-size: 1rem; }

/* ===== FLOATING PHONE ===== */
.float-phone {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  background: var(--charcoal);
  color: var(--gold);
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
  transition: transform var(--ease), background var(--ease);
  border: 1px solid rgba(2,180,185,0.25);
}
.float-phone:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.process-step {
  background: var(--offwhite);
  padding: 36px 28px;
  border-top: 2px solid var(--gold);
  transition: box-shadow var(--ease), transform var(--ease);
}
.process-step:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.process-num {
  width: 46px;
  height: 46px;
  background: var(--charcoal);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.process-step h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.process-step p { font-size: 0.88rem; color: var(--text2); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.step-card {
  background: var(--offwhite);
  padding: 36px 28px;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: border-color var(--ease);
}
.step-card:hover { border-bottom-color: var(--gold); }
.step-number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3rem;
  color: rgba(2,180,185,0.18);
  line-height: 1;
  margin-bottom: 12px;
}
.step-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.step-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ===== RESOURCE CARDS ===== */
.resource-card {
  background: var(--white);
  border: 1px solid var(--border2);
  border-top: 2px solid var(--gold);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.resource-icon { font-size: 1.8rem; margin-bottom: 16px; }
.resource-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.resource-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

/* ===== NEIGHBOURHOOD PAGE ===== */
.neighbourhood-hero {
  min-height: 460px;
  background: linear-gradient(135deg, #060606 0%, #1A1A1A 100%);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.neighbourhood-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.neighbourhood-hero-content {
  position: relative;
  z-index: 1;
  padding: 56px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.neighbourhood-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 24px; }
.n-stat { text-align: left; }
.n-stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold);
}
.n-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}

/* ===== GUIDE-STYLE CONTENT BLOCKS ===== */

/* Pro Tip box — brand-tinted callout */
.pro-tip {
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.7;
  margin: 32px 0;
}
.pro-tip strong { color: var(--charcoal); }

/* Checklist */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.55;
}
.checklist li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ items */
.faq-item {
  border-bottom: 1px solid var(--border2);
  padding: 22px 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--border2); }
.faq-q {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.35;
}
.faq-a {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.75;
}

/* Quote block */
.quote-block {
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  margin: 28px 0;
}
.quote-block p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.65;
}

/* Commission table */
.commission-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}
.commission-table th {
  background: var(--charcoal);
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}
.commission-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border2);
  color: var(--text2);
}
.commission-table tr:nth-child(even) td { background: var(--offwhite); }
.commission-table tr:hover td { background: var(--gold-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .nav-phone { display: none; }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { min-height: auto; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
  .home-val-inner { grid-template-columns: 1fr; gap: 40px; }
  .neighbourhood-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-visual { min-height: 280px; }
  .split-content { padding: 48px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .agent-grid { gap: 12px; }
  .listings-grid { grid-template-columns: 1fr; }
  .float-phone { bottom: 16px; right: 16px; font-size: 0.8rem; padding: 12px 16px; }
  .val-form { padding: 28px 24px; }
  .split-content { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .hero-search-row { flex-direction: column; }
  .hero-search-btn { width: 100%; padding: 13px; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .neighbourhood-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .agent-grid { gap: 12px; }
  .header-inner { padding: 0 16px; gap: 12px; }
}

/* ===== MOBILE ENHANCEMENTS ===== */
@media (max-width: 768px) {
  /* Top bar: hide right side — too crowded on small screens */
  .top-bar-right { display: none; }

  /* Reduce section padding */
  .section-pad { padding: 60px 20px; }
  .home-val { padding: 60px 20px; }
  .page-hero { padding: 52px 20px 44px; }
  .hero-content { padding: 56px 20px; }

  /* Fix 2-col stats bar — remove orphan right border */
  .stat-item:nth-child(2n) { border-right: none; }

  /* Stack inline 2-col grids (large content+form pairs) */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Stack inline 3-col grids */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Stack inline repeat-2 grids */
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns:repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* 4-col inline grids → 2-col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Reduce large gaps in newly stacked grids */
  [style*="gap:64px"] { gap: 36px !important; }
  [style*="gap:48px"] { gap: 28px !important; }
}

@media (max-width: 480px) {
  /* Further reduce padding */
  .section-pad { padding: 48px 16px; }
  .home-val { padding: 48px 16px; }
  .page-hero { padding: 40px 16px 36px; }
  .hero-content { padding: 40px 16px; }

  /* 4-col → 1-col on very small screens */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Reduce remaining gaps */
  [style*="gap:32px"] { gap: 20px !important; }
  [style*="gap:36px"] { gap: 20px !important; }
}

/* ===== NEIGHBOURHOOD + BLOG PAGE MOBILE ===== */
@media (max-width: 768px) {
  /* Blog posts: stack content + sidebar */
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Inline sections with 88px or 80px vertical padding */
  [style*="padding:88px"] {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }
  [style*="padding:80px"] {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

@media (max-width: 480px) {
  [style*="padding:88px"] {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  [style*="padding:80px"] {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
}

/* ===== MOBILE POLISH — PHASE 2 ===== */

@media (max-width: 768px) {

  /* --- Top bar: hide on mobile (right links already hidden, left text is redundant) --- */
  .top-bar { display: none; }

  /* --- Testimonials widget: lock to a fixed height so the page doesn't
       jump up/down as testimonials of different lengths cycle through.
       Adjust this value up if testimonials are getting clipped on your device. --- */
  #TestimonialTree_Widget_71145 {
    height: 480px;
    overflow: hidden;
  }

  /* --- Logo: hide brokerage line on small screens to keep header clean --- */
  .logo-brokerage { display: none; }

  /* --- Hamburger: pull slightly away from the right edge --- */
  .hamburger { margin-right: 16px; }

  /* --- Hero: better mobile proportions --- */
  .hero-content { padding: 52px 20px 44px; }
  .hero-sub { font-size: 0.9rem; max-width: 100%; }
  .hero-badge { font-size: 0.63rem; padding: 6px 14px; }

  /* Hero CTA buttons: full width so they're easy to tap */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero search box: full width */
  .hero-search { max-width: 100%; }

  /* --- Stats bar: fix 5-star emoji overflowing 2-col grid --- */
  .stat-number { font-size: 1.6rem; }
  .stat-item { padding: 18px 10px; }
  .stat-label { font-size: 0.62rem; letter-spacing: 0.08em; }

  /* --- Blog photo: reduce height and show top of image instead of center --- */
  .blog-photo { height: 200px; }
  .blog-photo img { object-position: center top; }

  /* --- Neighbourhood cards: consistent aspect ratio on 2-col --- */
  .neighbourhood-card { aspect-ratio: 3/2; }

  /* --- Agent cards: reduce padding so text isn't cramped --- */
  .agent-info { padding: 20px 18px; }
  .agent-bio { font-size: 0.83rem; -webkit-line-clamp: 4; }

  /* --- Agent photo: shift crop window so faces appear near the top on mobile ---
       center top (0%) shows too low for portrait shots in a landscape container;
       25% skips past headroom and places faces in the upper portion of the frame --- */
  .agent-photo img { object-position: center 40%; }

  /* --- Agent contact buttons: stack vertically for cleaner tap targets --- */
  .agent-contact {
    flex-direction: column;
    gap: 8px;
  }
  .agent-contact a {
    text-align: center;
    justify-content: center;
    white-space: normal;
  }

  /* --- Remove top padding on stacked grid columns (e.g. FAQ second column on sell page) --- */
  [style*="padding-top:72px"] { padding-top: 0 !important; }

  /* --- Inline flex rows with gap:32px that don't stack well --- */
  [style*="gap:32px;flex-wrap:wrap"],
  [style*="gap: 32px; flex-wrap: wrap"] {
    gap: 16px !important;
  }

  /* --- BTN-LG: reduce padding on mobile so buttons don't look oversized --- */
  .btn-lg { padding: 15px 28px; font-size: 0.84rem; }

  /* --- Section-inner: ensure full-width padding on narrow screens --- */
  .section-inner { padding: 0 20px; }

  /* --- Team photo: reduce fixed height so object-fit:cover doesn't over-crop sides --- */
  [style*="height:480px"] { height: 280px !important; }

  /* --- Page hero: left-align text on mobile --- */
  .page-hero-content { text-align: left; }
  .page-hero p { max-width: 100%; }
}

@media (max-width: 480px) {

  /* --- Hero: tighter on very small phones --- */
  .hero-content { padding: 40px 16px 36px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }

  /* --- Stats: single column on very narrow phones --- */
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 1.4rem; }

  /* --- Team photo: even smaller on very narrow phones --- */
  [style*="height:480px"] { height: 220px !important; }

  /* --- Blog photo smaller on very small screens --- */
  .blog-photo { height: 170px; }

  /* --- Agent card photo height on column layout --- */
  .agent-photo { height: 200px; }

  /* --- Section inner tighter padding --- */
  .section-inner { padding: 0 16px; }

  /* --- Footer: ensure wrapping looks ok --- */
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom .footer-social { justify-content: center; }

  /* --- CTA strip buttons: full width stack --- */
  .cta-strip-btns { flex-direction: column; }
  .cta-strip-btns .btn { width: 100%; justify-content: center; }

  /* --- Float phone: slightly bigger tap target --- */
  .float-phone { padding: 13px 18px; }
}


/* ===== Hero photo cycle - responsive =====
   The side-by-side height match holds only while .hero-content is at its full
   1200px, which needs a viewport of about 1248px or more. Below that the text column gets squeezed, the search bar
   rewraps and the block grows taller faster than the mark can shrink, so it
   never converges - stacking is the honest answer there. Placed at the end of
   the file so it wins over the hero rules above. */
@media (max-width: 1240px) {
  .hero-content { flex-direction: column; align-items: flex-start; gap: 34px; }
  .hero-mark { width: 200px; height: 230px; align-self: center; animation: none; }
}
@media (max-width: 820px) {
  .hero-mark { width: 165px; height: 190px; }
  /* A big push on a small screen just crops to mush - gentler, and a touch slower. */
  .hero-plate { animation: hero-cyc-sm 24s linear infinite; }
  .hero-plate.hp2 { animation-delay: -8s; }
  .hero-plate.hp3 { animation-delay: -16s; }
  @keyframes hero-cyc-sm {
    0%     { opacity: 0;    transform: scale(1.03) translate3d(1%, 0.6%, 0); }
    9.5%   { opacity: 0.74; transform: scale(1.055) translate3d(0.6%, 0.4%, 0); }
    33.3%  { opacity: 0.74; transform: scale(1.115) translate3d(-0.7%, -0.8%, 0); }
    42.8%  { opacity: 0;    transform: scale(1.14) translate3d(-1.1%, -1.3%, 0); }
    100%   { opacity: 0;    transform: scale(1.03) translate3d(1%, 0.6%, 0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-plate, .hero-vig, .hero-sweep, .hero-mark, .hero::before { animation: none !important; }
  .hero-plate.hp1 { opacity: 0.74; transform: scale(1.08); }
  .hero-plate.hp2, .hero-plate.hp3 { opacity: 0; }
}

/* =====================================================================
   TNT REALTY BRAND LAYER (Oct 30 2026)
   Replaces the old Century 21 gold. Highlights use only the two ends of the
   logo gradient: TNT Turquoise #02B4B9 and TNT Purple #6E37BB.
   - Fills (buttons, bands, badges, bars) use the full gradient with white text.
   - Headline accent words and big stat numbers use gradient text.
   - Thin lines / small text use one solid end: purple on light backgrounds,
     turquoise on dark ones (purple is too dim on black, turquoise too pale on white).
   ===================================================================== */

/* Dark sections: accent flips to turquoise */
.top-bar,
.logo-mark,
.mobile-nav,
.hero,
.home-val,
.agent-photo,
.split-visual,
.cta-strip,
.page-hero,
.float-phone,
.process-num,
.neighbourhood-hero,
.commission-table th,
.agent-socials a:hover,
.agent-showcase-overlay,
footer,
.site-footer,
[style*="background:var(--navy)"],
[style*="background: var(--navy)"],
[style*="background:var(--navy2)"],
[style*="background: var(--navy2)"],
[style*="background:var(--navy3)"],
[style*="background: var(--navy3)"],
[style*="background:var(--charcoal)"],
[style*="background: var(--charcoal)"],
[style*="background:var(--charcoal2)"],
[style*="background: var(--charcoal2)"],
[style*="background:#000"],
[style*="background: #000"],
[style*="background:#111"],
[style*="background: #111"],
[style*="background:#0a0a0a"],
[style*="background: #0a0a0a"] {
  --gold: var(--tnt-turquoise);
  --gold2: #2CC4C8;
  --gold3: var(--tnt-turquoise);
  --gold-light: rgba(2,180,185,0.10);
  --gold-border: rgba(2,180,185,0.35);
}
/* Light cards sitting inside dark sections flip back to purple */
[style*="background:#fff"],
[style*="background: #fff"],
[style*="background:var(--white)"],
[style*="background: var(--white)"],
[style*="background:var(--offwhite)"],
[style*="background: var(--offwhite)"],
[style*="background:var(--cream)"],
[style*="background: var(--cream)"],
[style*="background:var(--light)"],
[style*="background: var(--light)"],
[style*="background:var(--gold-light)"],
[style*="background: var(--gold-light)"] {
  --gold: var(--tnt-purple);
  --gold2: #7E4AC8;
  --gold3: var(--tnt-purple);
  --gold-light: #F5F1FB;
  --gold-border: rgba(110,55,187,0.28);
}

/* ---- Gradient fills (white text, like the logo) ---- */
.btn-gold,
.hero-search-btn,
.form-submit,
.agent-contact a:first-child,
.footer-logo-mark,
.social-btn:hover,
.float-phone:hover,
.stats-bar,
.award-banner,
[style*="background:var(--gold)"],
[style*="background: var(--gold)"] {
  background: var(--tnt-grad) !important;
  --navy: #fff;
  --charcoal: #fff;
  color: #fff !important;
}
/* label/number colours inside the gradient band were dark-on-gold */
.stats-bar .stat-number { color: #fff; }
.stats-bar .stat-label { color: rgba(255,255,255,0.82); }
.stats-bar::after { background: rgba(255,255,255,0.12); }
.stat-item { border-right-color: rgba(255,255,255,0.18); }
/* white text on the turquoise end needs a touch of help */
.btn-gold, .hero-search-btn, .form-submit { text-shadow: 0 1px 1px rgba(0,0,0,0.12); }
.btn-gold, .hero-search-btn, .form-submit, .agent-contact a:first-child {
  background-size: 160% 100% !important;
  background-position: 0% 0 !important;
  transition: background-position 0.35s ease, box-shadow var(--ease), transform var(--ease);
  box-shadow: 0 2px 14px rgba(110,55,187,0.25);
}
.btn-gold:hover, .hero-search-btn:hover, .form-submit:hover, .agent-contact a:first-child:hover {
  background-position: 100% 0 !important;
  box-shadow: 0 6px 22px rgba(110,55,187,0.38);
}
.divider { background: var(--tnt-grad); }
.page-hero::before { background: linear-gradient(to right, transparent, var(--tnt-turquoise) 25%, var(--tnt-purple) 75%, transparent) !important; }

/* ---- Gradient text: headline accent words + big stat numbers ---- */
.hero h1 span,
.pma-modal h2 span,
:is(h1, h2, h3) span[style*="color:var(--gold)"],
:is(h1, h2, h3) span[style*="color: var(--gold)"],
.n-stat-num,
[style*="Playfair"][style*="color:var(--gold)"] {
  background: var(--tnt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* size the gradient to the number, not the whole column, so the full spectrum shows */
[style*="Playfair"][style*="color:var(--gold)"] { display: inline-block; }

/* ---- Gradient accent borders (top / left) ---- */
.dropdown, .mega-dropdown, .agent-card, .testimonial-card, .resource-card {
  border-top-color: transparent !important;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--tnt-grad) border-box !important;
}
.process-step {
  border-top-color: transparent !important;
  background: linear-gradient(var(--offwhite), var(--offwhite)) padding-box, var(--tnt-grad) border-box !important;
}
.pro-tip {
  border-left-color: transparent !important;
  background: linear-gradient(var(--gold-light), var(--gold-light)) padding-box, var(--tnt-grad-v) border-box !important;
}
[style*="border-top:2px solid var(--gold)"][style*="background:#fff"],
[style*="border-top: 2px solid var(--gold)"][style*="background:#fff"],
[style*="border-top:3px solid var(--gold)"][style*="background:#fff"],
[style*="border-top: 3px solid var(--gold)"][style*="background:#fff"],
[style*="border-top:4px solid var(--gold)"][style*="background:#fff"],
[style*="border-top: 4px solid var(--gold)"][style*="background:#fff"] {
  border-top-color: transparent !important;
  background: linear-gradient(#fff, #fff) padding-box, var(--tnt-grad) border-box !important;
}
[style*="border-top:2px solid var(--gold)"][style*="background:var(--offwhite)"],
[style*="border-top: 2px solid var(--gold)"][style*="background:var(--offwhite)"],
[style*="border-top:3px solid var(--gold)"][style*="background:var(--offwhite)"],
[style*="border-top: 3px solid var(--gold)"][style*="background:var(--offwhite)"],
[style*="border-top:4px solid var(--gold)"][style*="background:var(--offwhite)"],
[style*="border-top: 4px solid var(--gold)"][style*="background:var(--offwhite)"] {
  border-top-color: transparent !important;
  background: linear-gradient(var(--offwhite), var(--offwhite)) padding-box, var(--tnt-grad) border-box !important;
}
[style*="border-left:2px solid var(--gold)"][style*="background:#fff"],
[style*="border-left: 2px solid var(--gold)"][style*="background:#fff"],
[style*="border-left:3px solid var(--gold)"][style*="background:#fff"],
[style*="border-left: 3px solid var(--gold)"][style*="background:#fff"],
[style*="border-left:4px solid var(--gold)"][style*="background:#fff"],
[style*="border-left: 4px solid var(--gold)"][style*="background:#fff"] {
  border-left-color: transparent !important;
  background: linear-gradient(#fff, #fff) padding-box, var(--tnt-grad-v) border-box !important;
}


/* TNT Realty logo (Oct 30 2026): the header/footer image is now the TNT + REALTY
   lockup, so the separate "TNT Realty" text label beside it is hidden. */
.logo .logo-text { display: none; }
/* Phones: the full TNT REALTY lockup plus the header button and menu don't fit
   in 390px, so the header shows just the TNT mark (the left 30% of the lockup
   image). The hero logo right below spells out REALTY. */
@media (max-width: 560px) {
  .header-logo { width: 40px; height: 37px; object-fit: cover; object-position: left center; }
}

/* Charcoal cards on black sections get the same gradient top edge as white cards */
[style*="background:#1C1C1E"][style*="border-top:4px solid var(--gold)"],
[style*="background:#1C1C1E"][style*="border-top:3px solid var(--gold)"] {
  border-top-color: transparent !important;
  background: linear-gradient(#1C1C1E, #1C1C1E) padding-box, var(--tnt-grad) border-box !important;
}


/* =====================================================================
   TOPOGRAPHIC PATTERN (Nov 5 2026)
   The contour-line pattern from the TNT Realty signage, traced to vector.
   tnt-topo-white.svg  -> white lines, used over the gradient band
   tnt-topo-gradient.svg -> turquoise-to-purple lines, used on black and white
   Always behind content, always at the bottom edge, like the signage.
   ===================================================================== */
/* 1. Gradient stats band under the homepage hero: faint white contours */
.stats-bar { overflow: hidden; }
.stats-bar::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('tnt-topo-white.svg') center 70% / cover no-repeat;
  opacity: .16;
}
.stats-bar-inner { position: relative; z-index: 1; }

/* 2. Page headers on inner pages (black): gradient contours rising from the bottom */
.page-hero::after {
  top: auto; right: 0; left: 0; bottom: 0; width: auto;
  height: clamp(60px, 8vw, 115px); border-radius: 0;
  background: url('tnt-topo-gradient.svg') center bottom / cover no-repeat;
  opacity: .30;
  -webkit-mask-image: linear-gradient(to top, #000 45%, transparent);
          mask-image: linear-gradient(to top, #000 45%, transparent);
}
.page-hero-inner, .page-hero-content { position: relative; z-index: 1; }

/* 3. Closing call-to-action band (black) */
.cta-strip { padding-bottom: clamp(130px, 14vw, 210px); }
.cta-strip::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  height: clamp(90px, 11vw, 160px);
  background: url('tnt-topo-gradient.svg') center bottom / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(to top, #000 45%, transparent);
          mask-image: linear-gradient(to top, #000 45%, transparent);
}
.cta-strip > * { position: relative; z-index: 1; }

/* 4. A light section in full colour, exactly like the signage (add class="topo-edge") */
.topo-edge { position: relative; overflow: hidden; padding-bottom: calc(max(19.7vw, 138px) + 24px) !important; }
.topo-edge::after {
  /* whole artwork, never cropped at the top: width-locked, 3000x592 ratio */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  height: max(19.7vw, 138px);
  background: url('tnt-topo-gradient.svg') center bottom / max(100%, 700px) auto no-repeat;
}
.topo-edge > * { position: relative; z-index: 1; }

/* Phones (Nov 8 2026): the header button + hamburger were pushing the hamburger
   7-10px off the right edge (it got clipped). Slimmer button on small screens. */
@media (max-width: 560px) {
  .nav-cta .btn { padding: 11px 14px; font-size: 0.68rem; letter-spacing: 0.06em; }
  .nav-cta { gap: 8px; }
}

/* =====================================================================
   TOPOGRAPHIC FIELD (Nov 8 2026)
   The full-page contour graphic (brand/tnt-topo-field-*), faded into the
   background. Opacity is baked into the SVGs: on-dark 17%, on-light 10%.
   ===================================================================== */
/* "What's Your Home Worth?" valuation band (home, buy, sell) */
.home-val { background-image: url('tnt-topo-field-on-dark.svg'); background-size: cover; background-position: center; }
/* any light section: add class="topo-field-light" */
.topo-field-light { background-image: url('tnt-topo-field-on-light.svg') !important; background-size: cover !important; background-position: center !important; }

/* ===== AGENT PROFILE PAGES — PHONE/TABLET STACKING (Nov 2026) ===== */
@media (max-width:900px){
  .ap-grid-main,.ap-grid-2{grid-template-columns:1fr !important;gap:40px !important}
  .ap-grid-main > :first-child{max-width:340px;margin:0 auto;width:100%}
}
@media (max-width:560px){
  .ap-grid-3{grid-template-columns:1fr !important}
}

/* ===== HEADER FIT (Nov 2026): the phone number is already in the top bar; hiding the
   header copy on mid-width desktops stops "Free Home Valuation" being pushed off-screen ===== */
@media (min-width: 1025px) and (max-width: 1440px) {
  .nav-phone { display: none; }
}

/* Home page article cards: the photo box was left at a 40% placeholder opacity, washing out every image */
.blog-photo { opacity: 1; background: #0A0A0A; }

/* ===== EQUAL AGENT CARD HEIGHTS (Nov 18 2026) =====
   Every agent card in a grid matches the tallest one; contact buttons sit at the bottom.
   Phones (<=540px) keep natural heights so short cards don't get big empty gaps. */
@media (min-width: 541px) {
  .agent-grid { grid-auto-rows: 1fr; }
  .agent-grid .agent-card { height: 100%; }
  .agent-info > .agent-contacts { margin-top: auto; }
}

/* ===== HOMEPAGE TEAM PHOTO (Nov 18 2026) =====
   Desktop/tablet: full-width 480px band. Phones: show the whole group photo instead of
   a narrow slice from the middle. */
@media (max-width: 760px) {
  .team-photo { height: auto !important; }
}

/* ===== AGENT "GET TO KNOW" SECTION (Nov 2026, from agents' own questionnaire answers) ===== */
.gk-section { background: var(--offwhite); padding: 88px 0; }
.gk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gk-card { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: 4px; padding: 26px 28px; }
.gk-card p:last-child { margin-bottom: 0 !important; }
.gk-areas, .gk-reviews { margin-top: 36px; background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 26px 28px; }
.gk-area-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.gk-area-head { font-size: 0.78rem; font-weight: 700; color: var(--navy); min-width: 110px; }
.gk-area { display: inline-block; border: 1px solid var(--border); border-radius: 3px; padding: 6px 12px; font-size: 0.84rem; font-weight: 600; color: var(--navy); background: var(--offwhite); text-decoration: none; transition: border-color .2s, color .2s; }
a.gk-area:hover { border-color: var(--gold); color: var(--gold); }
.gk-review { margin: 16px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--gold); }
.gk-review p { color: var(--text2); line-height: 1.8; font-size: 0.95rem; font-style: italic; margin: 0 0 6px; }
.gk-review cite { font-style: normal; font-weight: 700; font-size: 0.85rem; color: var(--navy); }
@media (max-width: 760px) {
  .gk-section { padding: 56px 0; }
  .gk-grid { grid-template-columns: 1fr; }
  .gk-card, .gk-areas, .gk-reviews { padding: 22px 20px; }
  .gk-area-head { min-width: 100%; }
}

/* ===== AGENT PROFILE PHOTO CENTRING (Nov 2026) =====
   Images are display:block sitewide, so text-align:center didn't centre the round profile photo. */
.ap-grid-main > :first-child > img { margin-left: auto; margin-right: auto; }

/* ===== CLIENT REVIEWS (Nov 2026 — replaces the TestimonialTree widget) ===== */
.rv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;align-items:start}
.rv-featured{grid-template-columns:repeat(3,1fr)}
@media(max-width:980px){.rv-featured{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.rv-grid,.rv-featured{grid-template-columns:1fr}.rv-featured .rv-card:nth-child(n+4){display:none}}
.rv-card{margin:0;background:#fff;border:1px solid var(--border2,#e4e4e7);border-top:3px solid transparent;border-image:linear-gradient(90deg,#02B4B9,#6E37BB) 1 0 0 0;border-radius:6px;padding:24px 22px;display:flex;flex-direction:column;gap:14px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.rv-stars{color:#f5b301;letter-spacing:2px;font-size:1rem}
.rv-hero-stars{color:#f5b301;letter-spacing:2px}
.rv-card blockquote{margin:0;color:var(--text2,#3f3f46);font-size:.94rem;line-height:1.7}
.rv-card blockquote p{margin:0 0 10px}.rv-card blockquote p:last-child{margin:0}
.rv-card figcaption{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:.85rem;border-top:1px solid var(--border2,#e4e4e7);padding-top:12px}
.rv-card figcaption span{color:var(--muted,#71717a)}
.rv-source{text-align:center;color:var(--muted,#71717a);font-size:.82rem;margin:36px auto 0;max-width:640px}


/* ANNOUNCEMENT BAND (home page, Nov 2026) + blog featured post stacking */
.announce-band{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:16px 24px;background:#fff;color:#0A0A0A;border-bottom:1px solid #e6e6e6;text-decoration:none;text-align:center;font-size:1rem;line-height:1.4}
.announce-band:hover .announce-cta{color:#02B4B9}
.announce-tag{font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;background:linear-gradient(90deg,#02B4B9,#6E37BB);color:#fff;padding:5px 10px;border-radius:3px}
.announce-text strong{font-weight:800}
.announce-cta{font-weight:700;color:#6E37BB;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
@media (max-width:760px){
  .announce-band{flex-direction:column;gap:8px;padding:16px 20px;font-size:.95rem}
  .blog-feature-inner{grid-template-columns:1fr !important}
  .blog-feature-photo{min-height:0 !important;aspect-ratio:3/2}
  .blog-feature-body{padding:28px 22px !important}
}
