/* ============================================
   BUYING WHITE ROCK — Main Stylesheet
   Coastal editorial design system
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Editorial coastal palette — warm, light, distinct */
  --navy: #1e3a3a;
  --navy-light: #2d5252;
  --ocean: #3a7d6e;
  --ocean-light: #5ea393;
  --ocean-pale: #e8f5f0;
  --sky: #b8d8cf;
  --sand: #faf7f2;
  --sand-dark: #f0ebe3;
  --driftwood: #9b8b76;
  --driftwood-light: #c4b8a8;
  --white: #ffffff;
  --off-white: #fcfbf9;
  --text: #1a1a1a;
  --text-light: #5a5a5a;
  --text-muted: #8a8a8a;
  --border: #e8e5e0;
  --border-light: #f3f1ed;
  --success: #3a7d5e;
  --error: #c45042;
  --accent: #c27d4e;
  --accent-light: #e8c9a8;

  /* Typography — editorial, different from rosemanno */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ocean);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--navy);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

/* Headings inside dark containers should be white — GLOBAL RULE */
.hero h1, .hero h2, .hero h3,
.article-hero h1,
.neighbourhood-hero h1,
[class*="-hero"] h1,
[class*="-hero"] .hero-content h1,
[class*="-hero"] .hero-content p,
.blog-hero h1,
.cta-banner h2 {
  color: #fff !important;
}
[class*="-hero"] .hero-content p {
  color: rgba(255,255,255,.85) !important;
}
[class*="-hero"] .breadcrumb,
[class*="-hero"] .breadcrumb a {
  color: rgba(255,255,255,.7) !important;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: var(--space-md); }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: min(var(--max-width), 90%);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-light); }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: min(var(--max-width), 90%);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 52px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
}

.nav-logo span {
  color: var(--ocean);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ocean);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--ocean);
}

.nav-cta {
  background: var(--ocean) !important;
  color: var(--white) !important;
  padding: 5px 14px !important;
  border-radius: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transition: opacity 1s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,39,68,0.4) 0%,
    rgba(26,39,68,0.7) 60%,
    rgba(26,39,68,0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: var(--space-xl);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: var(--sky);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.15);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 540px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
}

/* Search Bar */
.search-bar {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 6px;
  box-shadow: var(--shadow-xl);
  max-width: 560px;
  margin: 0 auto;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background: transparent;
  color: var(--text);
  min-width: 0;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar button {
  background: var(--ocean);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.search-bar button:hover {
  background: var(--navy);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ocean);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: var(--space-lg);
}

.card-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean);
  margin-bottom: var(--space-sm);
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.card-body p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Listing Cards --- */
.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.listing-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sand);
}

.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.listing-card:hover .listing-card-img img {
  transform: scale(1.03);
}

.listing-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--navy);
  color: var(--white);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.listing-badge.new {
  background: var(--success);
}

.listing-card-body {
  padding: var(--space-lg);
}

.listing-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.listing-address {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.listing-specs {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}

.listing-spec {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.82rem;
  color: var(--text-light);
}

.listing-spec svg {
  width: 16px;
  height: 16px;
  color: var(--driftwood);
}

.listing-spec strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Neighbourhood Cards --- */
.neighbourhood-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.neighbourhood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.neighbourhood-card:hover img {
  transform: scale(1.05);
}

.neighbourhood-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
}

.neighbourhood-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: var(--space-xs);
}

.neighbourhood-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--ocean);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--sand);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--sand-dark);
  color: var(--text);
}

.btn-outline {
  background: transparent;
  color: var(--ocean);
  border: 2px solid var(--ocean);
}

.btn-outline:hover {
  background: var(--ocean);
  color: var(--white);
}

.btn-white {
  background: var(--ocean);
  color: var(--white);
}

.btn-white:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* --- Featured / CTA Banner --- */
.cta-banner {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(58,125,110,0.06);
}

.cta-banner h2 {
  color: var(--navy);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

/* --- Blog / Article Styles --- */
.article-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.article-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.9) 0%, transparent 60%);
}

.article-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.article-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 700px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.article-content {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

.article-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: 1.6rem;
}

.article-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

.article-content ul, .article-content ol {
  margin: var(--space-md) 0 var(--space-lg);
  padding-left: var(--space-xl);
}

.article-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  font-size: 1.05rem;
}

.article-content blockquote {
  border-left: 3px solid var(--ocean);
  padding: var(--space-md) var(--space-xl);
  margin: var(--space-xl) 0;
  background: var(--ocean-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
}

.article-content .info-box {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.article-content .info-box h4 {
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--ocean-pale);
  color: var(--ocean);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- Filters Bar (Listings Page) --- */
.filters-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
  min-width: 140px;
}

.filter-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.filter-group select,
.filter-group input {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--ocean);
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.results-count strong {
  color: var(--text);
}

/* Listings Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.pagination button {
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.pagination button:hover {
  border-color: var(--ocean);
  color: var(--ocean);
}

.pagination button.active {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --- Market Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Chart container */
.chart-container {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.chart-container h3 {
  margin-bottom: var(--space-lg);
}

/* Simple bar chart */
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.bar-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.bar-label {
  width: 120px;
  font-size: 0.82rem;
  color: var(--text-light);
  flex-shrink: 0;
  text-align: right;
}

.bar-track {
  flex: 1;
  height: 32px;
  background: var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  padding-left: var(--space-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  transition: width 1s ease;
  min-width: fit-content;
  padding-right: var(--space-md);
}

/* --- Mortgage Calculator --- */
.calculator {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.calc-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.calc-field input,
.calc-field select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}

.calc-field input:focus,
.calc-field select:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px var(--ocean-pale);
}

.calc-result {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  color: var(--white);
}

.calc-result-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.calc-result-label {
  font-size: 0.85rem;
  opacity: 0.7;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.calc-breakdown-item {
  text-align: center;
  padding: var(--space-md);
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.calc-breakdown-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.calc-breakdown-label {
  font-size: 0.72rem;
  opacity: 0.7;
  margin-top: var(--space-xs);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: var(--space-lg) 0;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-light);
}

.breadcrumbs a:hover {
  color: var(--ocean);
}

.breadcrumbs span {
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* --- Neighbourhood Page Specific --- */
.neighbourhood-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.neighbourhood-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neighbourhood-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.9) 0%, transparent 50%);
}

.neighbourhood-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl);
  width: 100%;
}

.neighbourhood-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
}

.neighbourhood-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin: calc(-1 * var(--space-xl)) auto var(--space-2xl);
  max-width: var(--max-width);
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 3;
}

.quick-fact {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.quick-fact-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.quick-fact-label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: var(--space-xs);
}

/* --- Loading States --- */
.skeleton {
  background: linear-gradient(90deg, var(--border-light) 25%, var(--white) 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.skeleton-img {
  aspect-ratio: 16/10;
}

.skeleton-text {
  height: 14px;
  margin: var(--space-sm) var(--space-lg);
}

.skeleton-text.short {
  width: 60%;
}

/* --- Scroll to top --- */
.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 50;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--ocean);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: 75vh;
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat-value {
    font-size: 1.35rem;
  }

  .search-bar {
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .search-bar button {
    border-radius: var(--radius);
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .filters-bar {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .listings-grid {
    grid-template-columns: 1fr;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-breakdown {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .article-content {
    padding: var(--space-xl) var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .listing-specs {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger > *.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Page Header --- */
.page-header {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-header-dark {
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3xl) 0;
}

.page-header-dark h1 {
  color: var(--navy);
}

.page-header-dark p {
  color: var(--text-light);
}

/* --- Hero Search (Homepage) --- */
.hero-search {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 6px;
  box-shadow: var(--shadow-xl);
  max-width: 560px;
  margin: 0 auto;
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background: transparent;
  color: var(--text);
  min-width: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.hero-search input::placeholder {
  color: var(--text-muted);
}

.hero-search .btn {
  border-radius: var(--radius-lg);
  white-space: nowrap;
}

/* --- Section Subtitle --- */
.section-subtitle,
.eyebrow {
  display: block;
  text-align: center;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ocean);
  margin-bottom: var(--space-sm);
}

/* --- Homepage Grids --- */
.neighbourhood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* --- Homepage Neighbourhood Cards (div variant) --- */
.neighbourhood-card-img {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.neighbourhood-card-body {
  padding: var(--space-lg);
}

.neighbourhood-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  color: var(--navy);
}

.neighbourhood-card-body p {
  color: var(--text-light);
  font-size: 0.88rem;
  margin: 0;
}

/* --- Homepage Blog Cards (variant) --- */
.card-img {
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean);
  margin-bottom: var(--space-sm);
  display: block;
}

/* --- Footer Col variant --- */
.footer-col {
  min-width: 0;
}

.footer-col:first-child {
  max-width: 300px;
}

.footer-col .logo,
.footer-col .nav-logo {
  display: inline-flex;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.footer-col .logo span,
.footer-col .nav-logo span {
  color: var(--ocean);
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--white);
}

/* --- Logo alias --- */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
}

.logo span {
  color: var(--ocean);
}

/* --- Mobile toggle alias --- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Content narrow alias --- */
.content-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- CTA banner as standalone section --- */
section.cta-banner {
  background: var(--sand);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  border-radius: 0;
}

section.cta-banner h2 {
  color: var(--navy);
}

section.cta-banner p {
  color: var(--text-light);
}

/* --- Breadcrumbs container variant --- */
.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.breadcrumbs .separator {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.breadcrumbs .current {
  color: var(--text);
  font-weight: 500;
}

/* --- Responsive additions --- */
@media (max-width: 768px) {
  .neighbourhood-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-search {
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .hero-search input {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .hero-search .btn {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .page-header-dark {
    padding: var(--space-xl) 0;
  }
}

/* --- Enhanced Animations --- */
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Scroll Down Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce-down 2s infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.scroll-indicator svg {
  color: rgba(255,255,255,0.6);
}

@keyframes bounce-down {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

/* --- Hero Image Parallax --- */
.hero-bg {
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  top: -10%;
  left: 0;
}

/* --- Search Bar Enhancement --- */
.hero-search {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-search.focused {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 2px rgba(168,208,230,0.3);
}

/* --- Image Load Transition --- */
.listing-card-img img,
.card-img img {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.listing-card-img img.loaded,
.card-img img.loaded {
  opacity: 1;
}

/* Neighbourhood card images show immediately (not dynamically loaded) */
.neighbourhood-card img {
  transition: transform 0.5s ease;
}

/* --- Neighbourhood Card 3D Tilt --- */
.neighbourhood-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.3s ease;
}

/* --- Counter Animation --- */
.counter-value {
  font-variant-numeric: tabular-nums;
}

/* --- Card hover lift --- */
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.card .card-img {
  overflow: hidden;
}

.card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card:hover .card-img img.loaded {
  transform: scale(1.05);
}

/* --- Listing card link styling --- */
.listing-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

/* --- Glassmorphism search bar --- */
.hero-search.glass {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.3);
}

/* --- CTA Banner button in hero --- */
.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* --- Stat counter on dark bg --- */
.hero-stat {
  text-align: center;
}

.hero-stat strong,
.hero-stat .counter-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Responsive: hide scroll indicator on mobile --- */
@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }

  .hero-stat strong,
  .hero-stat .counter-value {
    font-size: 1.35rem;
  }
}

/* --- Print --- */
@media print {
  .nav, .footer, .scroll-top, .search-bar, .filters-bar {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}

/* ============================================================
   ============================================================
   V2.0 — COMPETITIVE REDESIGN LAYER
   Modern coastal editorial · designed to beat explorewhiterock
   ============================================================
   ============================================================ */

/* ---------- 1. MEGA-MENU NAVIGATION ---------- */

.nav.v2 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(232,229,224,0);
  padding: 14px 0;
  transition: background .35s ease, border-color .35s ease, padding .35s ease;
}
.nav.v2.scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: #e8e5e0;
  padding: 8px 0;
}
.nav.v2 .nav-inner {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: min(1320px, 94%);
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
}
.nav.v2 .nav-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #1e3a3a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav.v2 .nav-logo span { color: #3a7d6e; }
.nav.v2 .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav.v2 .nav-links > li { position: relative; }
.nav.v2 .nav-links > li > a,
.nav.v2 .nav-links > li > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  color: #1e3a3a;
  text-decoration: none;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav.v2 .nav-links > li > a:hover,
.nav.v2 .nav-links > li > button:hover,
.nav.v2 .nav-links > li.active > a,
.nav.v2 .nav-links > li.open > button {
  background: rgba(58,125,110,0.08);
  color: #3a7d6e;
}
.nav.v2 .nav-links > li > button .chev {
  width: 11px; height: 11px;
  transition: transform .25s;
}
.nav.v2 .nav-links > li.open > button .chev { transform: rotate(180deg); }

.nav.v2 .nav-cta {
  background: #1e3a3a !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(30,58,58,0.18);
  transition: all .25s !important;
}
.nav.v2 .nav-cta:hover {
  background: #3a7d6e !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(58,125,110,0.32);
}

/* Dropdown panel */
.nav.v2 .mega-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 540px;
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 24px 60px -20px rgba(30,58,58,0.18), 0 8px 24px rgba(30,58,58,0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
}
.nav.v2 .nav-links > li.open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility 0s 0s;
}
.nav.v2 .mega-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 36px;
}
.nav.v2 .mega-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8a8a8a;
  margin: 0 0 12px;
}
.nav.v2 .mega-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav.v2 .mega-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #1e3a3a;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.nav.v2 .mega-col a:hover {
  background: #faf7f2;
  color: #3a7d6e;
}
.nav.v2 .mega-col a .ico {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f5f0;
  border-radius: 8px;
  color: #3a7d6e;
  flex-shrink: 0;
}
.nav.v2 .mega-col a .ico svg { width: 14px; height: 14px; stroke-width: 2; }
.nav.v2 .mega-col a small {
  display: block;
  font-size: 0.74rem;
  color: #8a8a8a;
  font-weight: 400;
}
.nav.v2 .mega-feature {
  background: linear-gradient(135deg, #1e3a3a 0%, #2d5252 100%);
  color: #fff;
  padding: 22px;
  border-radius: 14px;
  margin-top: 4px;
  text-decoration: none;
  display: block;
}
.nav.v2 .mega-feature h5 {
  font-family: 'DM Serif Display', serif;
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.nav.v2 .mega-feature p {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  margin: 0 0 12px;
  line-height: 1.5;
}
.nav.v2 .mega-feature .arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b8d8cf;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Mobile mega-nav */
.nav.v2 .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  padding: 0;
  background: rgba(58,125,110,0.08);
  align-items: center;
  justify-content: center;
}
.nav.v2 .nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1e3a3a;
  margin: 3px 0;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav.v2 .nav-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.v2 .nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav.v2 .nav-toggle.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav.v2 .nav-toggle { display: inline-flex; }
  .nav.v2 .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 24px 24px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.5,.05,.25,1);
    z-index: 199;
  }
  .nav.v2 .nav-links.open { transform: translateX(0); }
  .nav.v2 .nav-links > li > a,
  .nav.v2 .nav-links > li > button {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 1rem;
  }
  .nav.v2 .mega-panel {
    position: static;
    transform: none !important;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 8px 0 16px 16px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }
  .nav.v2 .nav-links > li.open .mega-panel { display: block; }
  .nav.v2 .mega-panel-grid { grid-template-columns: 1fr; gap: 18px; }
  .nav.v2 .mega-feature { display: none; }
  .nav.v2 .nav-cta { margin: 12px 0 0; text-align: center; justify-content: center; display: flex; }
}

/* spacer so fixed nav doesn't overlap */
body.has-v2-nav { padding-top: 0; }
.nav-spacer-v2 { height: 70px; }

/* ---------- 2. STACKED HERO CAROUSEL ---------- */

.hero-stack {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #1e3a3a;
  color: #fff;
  isolation: isolate;
}
.hero-stack-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease, transform 1.6s ease;
  transform: scale(1.05);
  pointer-events: none;
}
.hero-stack-panel.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.hero-stack-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,30,30,0.55) 0%,
    rgba(15,30,30,0.35) 35%,
    rgba(15,30,30,0.55) 70%,
    rgba(15,30,30,0.85) 100%);
  z-index: 1;
}
.hero-stack-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-stack-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0 auto;
  height: 92vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 24px 120px;
  text-align: center;
}
.hero-stack-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 26px;
}
.hero-stack-eyebrow .dot {
  width: 6px; height: 6px;
  background: #5ea393;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(94,163,147,0.25);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(94,163,147,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(94,163,147,0); }
}
.hero-stack h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero-stack h1 em {
  font-style: italic;
  color: #b8d8cf;
}
.hero-stack-content > p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-stack-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn-glass {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
}
.btn-glass:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}
.btn-solid {
  background: #fff;
  color: #1e3a3a;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.btn-solid:hover {
  background: #b8d8cf;
  color: #1e3a3a;
  transform: translateY(-1px);
}
.btn-solid svg, .btn-glass svg { width: 14px; height: 14px; }

/* Hero pagination dots */
.hero-stack-pagination {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 5;
}
.hero-stack-pagination button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color .3s;
  min-width: 84px;
}
.hero-stack-pagination button.active { color: #fff; }
.hero-stack-pagination .bar {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
}
.hero-stack-pagination .bar::after {
  content: '';
  display: block;
  height: 100%;
  background: #fff;
  width: 0;
  transform-origin: left;
}
.hero-stack-pagination button.active .bar::after {
  animation: bar-fill 8s linear forwards;
}
@keyframes bar-fill {
  to { width: 100%; }
}

/* Hero photo credit */
.hero-stack-credit {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 4;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.hero-stack-credit a { color: rgba(255,255,255,0.7); text-decoration: underline; }

/* Hero side stat strip */
.hero-strip {
  background: #faf7f2;
  border-bottom: 1px solid #e8e5e0;
  padding: 22px 0;
}
.hero-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: min(1320px, 94%);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-strip-item .ico {
  width: 42px; height: 42px;
  background: #e8f5f0;
  color: #3a7d6e;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-strip-item strong {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: #1e3a3a;
  line-height: 1;
}
.hero-strip-item span {
  font-size: 0.78rem;
  color: #5a5a5a;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .hero-strip-grid { grid-template-columns: repeat(2,1fr); gap: 18px; }
  .hero-stack-pagination { bottom: 60px; gap: 8px; }
  .hero-stack-pagination button { min-width: 0; }
  .hero-stack-pagination .label { display: none; }
  .hero-stack-pagination .bar { width: 28px; }
}

/* ---------- 3. SECTION HEADER (NEW) ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head .left { max-width: 640px; }
.section-head .eyebrow {
  display: inline-block;
  text-align: left;
  margin-bottom: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: #3a7d6e;
}
.section-head h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #1e3a3a;
  text-align: left;
  margin: 0 0 12px;
  line-height: 1.1;
}
.section-head p {
  color: #5a5a5a;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 540px;
  margin: 0;
}
.section-head .right { display: flex; gap: 12px; flex-wrap: wrap; }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3a7d6e;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap .2s;
}
.section-link:hover { gap: 10px; color: #1e3a3a; }

/* ---------- 4. LIVE WIDGETS ROW ---------- */

.widgets-band {
  background: #faf7f2;
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid #e8e5e0;
}
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: min(1320px, 94%);
  margin: 0 auto;
  padding: 0 24px;
}
.widget {
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 20px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px -14px rgba(30,58,58,0.18);
}
.widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.widget-head .label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a5a5a;
}
.widget-head .label .ico {
  width: 32px; height: 32px;
  background: #e8f5f0;
  color: #3a7d6e;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.widget-head .live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a7d6e;
}
.widget-head .live-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: #3a7d5e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 0 3px rgba(94,163,147,0.25);
}
.widget-main {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #1e3a3a;
  line-height: 1;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.widget-main .unit {
  font-size: 0.55em;
  color: #8a8a8a;
  font-family: 'DM Sans', sans-serif;
  margin-left: 4px;
}
.widget-sub {
  font-size: 0.85rem;
  color: #5a5a5a;
  margin: 0 0 18px;
  line-height: 1.5;
}
.widget-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f3f1ed;
}
.widget-foot .meta {
  font-size: 0.78rem;
  color: #8a8a8a;
}
.widget-foot a {
  font-size: 0.8rem;
  color: #3a7d6e;
  font-weight: 600;
  text-decoration: none;
}
.widget-foot a:hover { text-decoration: underline; }

/* Tide widget visualization */
.widget-tide-graph {
  position: relative;
  height: 56px;
  margin: 0 -6px 14px;
}
.widget-tide-graph svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tide-stage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #3a7d6e;
  font-weight: 600;
  margin-bottom: 8px;
}
.tide-stage .arr {
  display: inline-block;
  width: 10px; height: 10px;
}

/* Weather widget */
.widget-weather-temp {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.widget-weather-icon {
  font-size: 2.4rem;
  line-height: 1;
}
.widget-weather-mini {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f3f1ed;
}
.widget-weather-day {
  text-align: center;
  font-size: 0.72rem;
  color: #5a5a5a;
}
.widget-weather-day strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  color: #1e3a3a;
  font-size: 0.92rem;
  margin: 4px 0 2px;
  font-weight: 400;
}
.widget-weather-day .ic { font-size: 1.05rem; }

/* Market widget */
.market-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f3f1ed;
}
.market-stat-mini {
  font-size: 0.72rem;
  color: #5a5a5a;
}
.market-stat-mini strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  color: #1e3a3a;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 2px;
}
.market-stat-mini .delta {
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: 6px;
}
.market-stat-mini .delta.up { color: #c45042; }
.market-stat-mini .delta.down { color: #3a7d5e; }

@media (max-width: 1024px) {
  .widgets-grid { grid-template-columns: 1fr; }
}

/* ---------- 5. NEIGHBOURHOOD GRID v2 ---------- */

.nbh-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .nbh-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .nbh-grid-v2 { grid-template-columns: 1fr; } }

.nbh-card-v2 {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  text-decoration: none;
  color: #fff;
  display: block;
  isolation: isolate;
}
.nbh-card-v2 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
  z-index: 0;
}
.nbh-card-v2:hover img { transform: scale(1.07); }
.nbh-card-v2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,30,30,0) 30%,
    rgba(15,30,30,0.5) 65%,
    rgba(15,30,30,0.92) 100%);
  z-index: 1;
}
.nbh-card-v2 .meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 24px 26px;
  z-index: 2;
}
.nbh-card-v2 .badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.nbh-card-v2 h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.nbh-card-v2 p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.78);
  margin: 0 0 14px;
  line-height: 1.5;
  max-width: 280px;
}
.nbh-card-v2 .stats {
  display: flex;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 14px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.75);
}
.nbh-card-v2 .stats strong {
  display: block;
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  font-weight: 400;
}

/* Featured (large) variant */
.nbh-card-v2.feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 520px;
}
.nbh-card-v2.feature h3 { font-size: 2.2rem; }
.nbh-card-v2.feature p { font-size: 0.95rem; max-width: 420px; }
@media (max-width: 1024px) {
  .nbh-card-v2.feature { grid-column: span 2; grid-row: auto; min-height: 380px; }
}
@media (max-width: 640px) {
  .nbh-card-v2.feature { grid-column: auto; min-height: 320px; }
}

/* ---------- 6. EXPLORE CARDS (Eat / Play / Live) ---------- */

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .explore-grid { grid-template-columns: 1fr; } }

.explore-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  text-decoration: none;
  background: #1e3a3a;
  color: #fff;
  display: block;
  isolation: isolate;
}
.explore-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
  opacity: 0.82;
}
.explore-card:hover img { transform: scale(1.06); opacity: 0.7; }
.explore-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,30,30,0.92) 100%);
  z-index: 1;
}
.explore-card .meta {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.explore-card .num {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.4);
}
.explore-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.1;
}
.explore-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.78);
  margin: 0;
  line-height: 1.5;
}
.explore-card .arrow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  margin-top: 14px;
  transition: background .3s, transform .3s;
}
.explore-card:hover .arrow-pill {
  background: #fff;
  color: #1e3a3a;
  transform: rotate(-45deg);
}
.explore-card .arrow-pill svg { width: 14px; height: 14px; transition: transform .3s; }

/* ---------- 7. PHOTO GALLERY WITH CREDITS ---------- */

.photo-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 560px;
}
.photo-gallery .photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.photo-gallery .photo:nth-child(1) { grid-row: span 2; }
.photo-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.photo-gallery .photo:hover img { transform: scale(1.04); }
.photo-gallery .photo .credit {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.85);
  background: rgba(15,30,30,0.5);
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .photo-gallery .photo { aspect-ratio: 4/3; }
  .photo-gallery .photo:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; grid-row: auto; }
}

/* ---------- 8. NEWSLETTER BAND ---------- */

.newsletter-band {
  position: relative;
  background: linear-gradient(135deg, #1e3a3a 0%, #2d5252 60%, #3a7d6e 130%);
  border-radius: 28px;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 80px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.newsletter-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(94,163,147,0.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(184,216,207,0.18) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}
.newsletter-band .grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter-band h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: left;
}
.newsletter-band p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-form .row {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 6px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 12px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
  background: #fff;
  color: #1e3a3a;
  border: none;
  padding: 12px 26px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.newsletter-form button:hover {
  background: #b8d8cf;
  transform: translateY(-1px);
}
.newsletter-form .hint {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-align: left;
  padding: 0 8px;
}
.newsletter-form .perks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.newsletter-form .perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}
.newsletter-form .perk svg { width: 14px; height: 14px; color: #b8d8cf; }
@media (max-width: 768px) {
  .newsletter-band .grid { grid-template-columns: 1fr; gap: 24px; }
  .newsletter-form .row { border-radius: 18px; flex-direction: column; padding: 10px; }
  .newsletter-form button { width: 100%; padding: 14px; }
}

/* ---------- 9. TESTIMONIALS / SOCIAL PROOF ---------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: #b8d8cf;
  opacity: 0.5;
}
.testimonial .stars {
  color: #c27d4e;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.testimonial blockquote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #1e3a3a;
  margin: 0;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.005em;
}
.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f3f1ed;
}
.testimonial .who .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a7d6e, #5ea393);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
}
.testimonial .who strong {
  display: block;
  font-size: 0.92rem;
  color: #1e3a3a;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}
.testimonial .who span {
  font-size: 0.78rem;
  color: #8a8a8a;
}

/* ---------- 10. NEIGHBOURHOOD COMPARE TOOL ---------- */

.compare-tool {
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 18px 60px -28px rgba(30,58,58,0.18);
}
.compare-tool .picker {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}
.compare-tool .picker .vs {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: #8a8a8a;
  font-style: italic;
}
.compare-tool select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: #faf7f2 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%231e3a3a' stroke-width='2'><path d='M1 1l5 5 5-5'/></svg>") no-repeat right 18px center;
  border: 1px solid #e8e5e0;
  border-radius: 12px;
  padding: 16px 44px 16px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: #1e3a3a;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.compare-tool select:focus {
  border-color: #3a7d6e;
  box-shadow: 0 0 0 4px rgba(58,125,110,0.1);
}
.compare-table {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  border-top: 1px solid #f3f1ed;
}
.compare-table > div {
  padding: 16px 12px;
  border-bottom: 1px solid #f3f1ed;
  display: flex;
  align-items: center;
  font-size: 0.92rem;
}
.compare-table .row-label {
  font-size: 0.78rem;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  justify-content: center;
  text-align: center;
}
.compare-table .cell-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: #1e3a3a;
  font-weight: 400;
  justify-content: center;
}
.compare-table .cell-value.win {
  color: #3a7d5e;
}
.compare-table .row-label.first { background: #faf7f2; }
@media (max-width: 768px) {
  .compare-tool .picker { grid-template-columns: 1fr; }
  .compare-tool .picker .vs { display: none; }
  .compare-table { grid-template-columns: 1fr 1fr; font-size: 0.85rem; }
  .compare-table .row-label { grid-column: span 2; background: #faf7f2; padding: 10px; font-size: 0.7rem; }
  .compare-table .cell-value { font-size: 1rem; padding: 12px 8px; justify-content: center; }
}

/* ---------- 11. MODERN FOOTER v2 ---------- */

.footer.v2 {
  background: #0f1e1e;
  color: rgba(255,255,255,0.7);
  padding: 0;
}
.footer.v2 .footer-top {
  background: #1e3a3a;
  padding: clamp(48px, 6vw, 84px) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer.v2 .footer-grid {
  max-width: min(1320px, 94%);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 1024px) {
  .footer.v2 .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer.v2 .footer-brand { grid-column: span 3; max-width: 480px; }
}
@media (max-width: 600px) {
  .footer.v2 .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer.v2 .footer-brand { grid-column: span 2; }
}
.footer.v2 .footer-brand .logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
}
.footer.v2 .footer-brand .logo span { color: #5ea393; }
.footer.v2 .footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 0 0 22px;
  max-width: 360px;
}
.footer.v2 .social {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.footer.v2 .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  transition: all .25s;
}
.footer.v2 .social a:hover {
  background: #3a7d6e;
  color: #fff;
  transform: translateY(-1px);
}
.footer.v2 .social svg { width: 16px; height: 16px; }
.footer.v2 .footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin: 0 0 18px;
}
.footer.v2 .footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer.v2 .footer-col a {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color .2s, padding .2s;
}
.footer.v2 .footer-col a:hover {
  color: #b8d8cf;
  padding-left: 4px;
}
.footer.v2 .footer-bottom {
  background: #0a1414;
  padding: 22px 0;
}
.footer.v2 .footer-bottom .row {
  max-width: min(1320px, 94%);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer.v2 .footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer.v2 .footer-bottom a:hover { color: #b8d8cf; }
.footer.v2 .footer-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Newsletter band positioning above footer */
.section.newsletter-section {
  padding: 0 0 60px;
}

/* ---------- 12. EXPLORE NAV PILLS (used in pages) ---------- */

.explore-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}
.explore-nav-pills a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  background: #faf7f2;
  border: 1px solid #e8e5e0;
  color: #1e3a3a;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.explore-nav-pills a:hover,
.explore-nav-pills a.active {
  background: #1e3a3a;
  color: #fff;
  border-color: #1e3a3a;
}

/* ---------- 13. MISC POLISH ---------- */

/* Better section spacing */
.section.s-pad-lg { padding: clamp(80px, 10vw, 140px) 0; }
.container-wide { max-width: min(1320px, 94%); margin: 0 auto; padding: 0 24px; }

/* Decorative section divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px auto;
  max-width: 200px;
  color: #b8d8cf;
}
.section-divider .line {
  flex: 1;
  height: 1px;
  background: currentColor;
}
.section-divider svg { width: 18px; height: 18px; }

/* Ribbon strip text */
.marquee-strip {
  background: #1e3a3a;
  color: rgba(255,255,255,0.85);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.marquee-strip-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee-strip-track span {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.marquee-strip-track span::after {
  content: '✦';
  color: #5ea393;
  font-size: 0.8rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Improved button */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-pill.dark { background: #1e3a3a; color: #fff; }
.btn-pill.dark:hover { background: #3a7d6e; transform: translateY(-1px); color: #fff; }
.btn-pill.outline-dark {
  background: transparent;
  color: #1e3a3a;
  border: 1.5px solid #1e3a3a;
}
.btn-pill.outline-dark:hover { background: #1e3a3a; color: #fff; }
.btn-pill svg { width: 14px; height: 14px; }

/* Animations from-bottom on scroll */
.fx-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.fx-up.in { opacity: 1; transform: translateY(0); }
.fx-up.d100 { transition-delay: .1s; }
.fx-up.d200 { transition-delay: .2s; }
.fx-up.d300 { transition-delay: .3s; }
.fx-up.d400 { transition-delay: .4s; }

/* Tighten old fixed nav so v2 nav doesn't conflict on legacy pages */
.nav.v2 ~ section:first-of-type {
  /* the new hero handles its own padding */
}

/* Ensure body never gets weird padding when v2 nav is used */
body:has(.nav.v2) main, body:has(.nav.v2) > section:first-of-type:not(.hero-stack):not(.hero):not([class*="-hero"]) {
  padding-top: 70px;
}

