@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Backgrounds — exactly 2 values, no more */
  --color-bg-deep: #050811;
  --color-bg-surface: #080B13;
  --color-bg-card: rgba(8, 11, 19, 0.85);

  /* Brand colors */
  --color-gold: #CFA85F;
  --color-gold-hover: #E4C17B;
  --color-silver: #B8BEC7;        /* TRUE SILVER — use as secondary accent */
  --color-silver-muted: #8B929C;  /* muted text only */

  /* Text */
  --color-white: #FFFFFF;
  --color-text-body: #D1D5DB;
  --color-text-muted: #8B929C;

  /* Gradient mask */
  --color-gradient-mask: linear-gradient(to top, rgba(5,8,17,0.95) 0%, rgba(5,8,17,0) 100%);

  /* Typography scale — USE ONLY THESE, never set font-size inline */
  --text-display: clamp(3.5rem, 7vw, 6rem);
  --text-h1: clamp(2.8rem, 5.5vw, 4.5rem);
  --text-h2: clamp(2rem, 4vw, 3rem);
  --text-h3: clamp(1.5rem, 3vw, 2rem);
  --text-h4: 1.5rem;
  --text-body-lg: 1.2rem;
  --text-body: 1rem;
  --text-sm: 0.9rem;
  --text-xs: 0.8rem;
  --text-label: 0.75rem;

  /* Spacing scale */
  --space-section: clamp(80px, 12vw, 150px);
  --space-xl: clamp(40px, 6vw, 80px);
  --space-lg: clamp(24px, 4vw, 50px);
  --space-md: clamp(16px, 2.5vw, 30px);

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.25s ease;

  /* Fonts */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: var(--color-bg-deep);
  color: var(--color-text-body);
  font-family: var(--font-sans);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-white);
  font-weight: 400;
  line-height: 1.1;
}

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

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Page fade-in */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: pageFadeIn 0.5s ease forwards;
}

/* Utilities */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 6%;
}

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

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 4rem; }

/* Typography utility classes */
.text-display { font-size: var(--text-display); font-family: var(--font-serif); font-weight: 400; line-height: 1.05; letter-spacing: -1px; }
.text-h1 { font-size: var(--text-h1); font-family: var(--font-serif); font-weight: 400; line-height: 1.08; }
.text-h2 { font-size: var(--text-h2); font-family: var(--font-serif); font-weight: 400; line-height: 1.1; }
.text-h3 { font-size: var(--text-h3); font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }
.text-h4 { font-size: var(--text-h4); font-family: var(--font-serif); font-weight: 400; }
.text-body-lg { font-size: var(--text-body-lg); line-height: 1.8; }
.text-body { font-size: var(--text-body); line-height: 1.7; }
.text-label { font-size: var(--text-label); font-family: var(--font-sans); letter-spacing: 2px; text-transform: uppercase; }

/* Elegant Typography */
.editorial-heading {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -1px;
}

.editorial-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-silver-muted);
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Silver accent elements */
.silver-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--color-silver), transparent);
  margin: 20px 0;
}

.silver-rule.center {
  margin: 20px auto;
}

/* Editorial sub label — gold variant for section starters */
.editorial-sub.gold {
  color: var(--color-gold);
}

/* Silver dividers between footer sections */
.section-divider {
  width: 100%;
  height: 0.5px;
  background: linear-gradient(to right, transparent, var(--color-silver) 20%, var(--color-silver) 80%, transparent);
  opacity: 0.2;
  margin: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Body scroll lock when nav is open */
body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Neighbourhood touch active state */
.neighbourhood-card.touch-active img {
  transform: scale(1.05);
  filter: brightness(0.5);
}
.neighbourhood-card.touch-active .neighbourhood-desc {
  opacity: 1;
  transform: translateY(0);
}
.neighbourhood-card.touch-active .neighbourhood-tag {
  opacity: 1;
  transform: translateY(0);
}

/* Only apply hover on non-touch devices */
@media (hover: hover) {
  .listing-row:hover {
    border-color: rgba(207, 168, 95, 0.2);
  }
  .listing-row:hover .listing-img img {
    transform: scale(1.04);
  }
  .neighbourhood-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.5);
  }
  .neighbourhood-card:hover .neighbourhood-desc {
    opacity: 1;
    transform: translateY(0);
  }
  .neighbourhood-card:hover .neighbourhood-tag {
    opacity: 1;
    transform: translateY(0);
  }
  .service-card:hover::before {
    width: 100%;
  }
  .service-card:hover {
    border-color: rgba(207, 168, 95, 0.15);
  }
}

/* On touch devices — show neighbourhood info always */
@media (hover: none) {
  .neighbourhood-desc {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }
  .neighbourhood-tag {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }
  .service-card::before {
    width: 40px;
  }
}

/* Gold active state on tap — feels native */
.property-card:active,
.listing-row:active {
  opacity: 0.9;
}

.cta-primary:active {
  background: var(--color-gold-hover);
  transform: scale(0.98);
}

.cta-secondary:active {
  border-color: var(--color-silver);
  transform: scale(0.98);
}

.btn:active {
  transform: scale(0.98);
}

.filter-item:active {
  color: var(--color-white);
}

.step-btn:active {
  border-color: var(--color-gold);
  background: rgba(207, 168, 95, 0.08);
}

/* Scroll reveal transition delays for new sections */
.market-strip.visible { transition-delay: 0s; }
.process-step.visible:nth-child(1) { transition-delay: 0s; }
.process-step.visible:nth-child(2) { transition-delay: 0.08s; }
.process-step.visible:nth-child(3) { transition-delay: 0.16s; }
.process-step.visible:nth-child(4) { transition-delay: 0.24s; }
.neighbourhood-card.visible:nth-child(2) { transition-delay: 0.1s; }
.neighbourhood-card.visible:nth-child(3) { transition-delay: 0.2s; }
.service-card.visible:nth-child(2) { transition-delay: 0.1s; }
.service-card.visible:nth-child(3) { transition-delay: 0.2s; }
.testimonial-item.visible:nth-child(2) { transition-delay: 0.1s; }
.testimonial-item.visible:nth-child(3) { transition-delay: 0.2s; }
.timeline-step.visible:nth-child(2) { transition-delay: 0.06s; }
.timeline-step.visible:nth-child(3) { transition-delay: 0.12s; }
.timeline-step.visible:nth-child(4) { transition-delay: 0.18s; }
.timeline-step.visible:nth-child(5) { transition-delay: 0.24s; }

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: rgba(5, 8, 17, 0.85);
  border: 0.5px solid rgba(207, 168, 95, 0.3);
  backdrop-filter: blur(10px);
  color: var(--color-gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, border-color 0.3s ease;
  border-radius: 0;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--color-gold);
  background: rgba(207, 168, 95, 0.1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Card stagger */
.card-stagger { margin-top: 80px; }

/* Buttons & CTA */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.btn:hover {
  background: var(--color-white);
  color: var(--color-bg-deep);
}

.btn-solid {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg-deep);
  font-weight: 500;
}

.btn-solid:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
}

/* Navigation & Sticky CTA */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 0;
  z-index: 1000;
  transition: padding 0.4s ease, background 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 8, 17, 0.98);
  padding: 18px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--color-white);
  text-transform: uppercase;
}

.brand-logo img {
  height: 45px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-silver-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-white);
}

.cta-sticky {
  background: var(--color-white);
  color: var(--color-bg-deep);
  padding: 12px 24px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta-sticky:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  position: relative;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1100;
}

/* Hamburger lines */
.mobile-toggle .bar {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-white);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.3s ease,
              width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: center;
}

.mobile-toggle.open .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-toggle.open .bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.mobile-toggle.open .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Hero Section (Cinematic) */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: subtleZoom 20s infinite alternate linear;
}

@keyframes subtleZoom {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5,8,17,0.3) 0%, rgba(5,8,17,0.6) 60%, rgba(5,8,17,1) 100%);
  z-index: 1;
}

.hero-content {
  width: 100%;
  padding-bottom: 100px;
  position: relative;
  z-index: 2;
}

.hero-title {
  max-width: 900px;
  margin-bottom: 30px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-silver);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Property Cards (Editorial) */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 60px;
}

.property-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.card-img-wrapper {
  position: relative;
  height: 600px;
  overflow: hidden;
  margin-bottom: 30px;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-gradient-mask);
  opacity: 0.2;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.property-card:hover .card-img-wrapper img {
  transform: scale(1.04);
}

.property-card:hover .card-overlay {
  opacity: 0.6;
}

.private-tag {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(5,8,17,0.7);
  backdrop-filter: blur(5px);
  color: var(--color-white);
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.price-display {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--color-white);
}

.card-address {
  color: var(--color-silver-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.card-specs {
  display: flex;
  gap: 30px;
  font-size: 0.85rem;
  color: var(--color-silver-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-specs span.value {
  color: var(--color-white);
  font-weight: 500;
  margin-right: 5px;
}

.view-details {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--color-white);
  position: relative;
}

.view-details::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-white);
  transition: width 0.4s ease;
}

.property-card:hover .view-details::after {
  width: 100%;
}

/* Off-Market Access */
.off-market-section {
  position: relative;
  padding: var(--space-section) 0;
  overflow: hidden;
}

.off-market-section::before {
  content: 'OFF\AMARKET';
  white-space: pre;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 15vw, 18rem);
  font-weight: 700;
  color: rgba(207, 168, 95, 0.03);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: -4px;
  line-height: 0.9;
  text-align: center;
  z-index: 0;
}

.off-market-section .container {
  position: relative;
  z-index: 1;
}

.off-market-section .gold-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
  margin: 0 auto 40px;
}

/* Authority Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  border: 0.5px solid rgba(184, 190, 199, 0.1);
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.stat-val {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-white);
  font-weight: 400;
  display: block;
  margin-bottom: 12px;
}

.stat-label {
  color: var(--color-silver-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: var(--text-label);
}

/* Gallery grid for case study */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 12px;
  margin: 40px 0;
}

.property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-gallery .gallery-main {
  grid-row: 1 / 3;
}

/* Press banner */
.press-banner {
  padding: 60px 0;
  border-top: 0.5px solid rgba(184, 190, 199, 0.1);
  border-bottom: 0.5px solid rgba(184, 190, 199, 0.1);
  background: var(--color-bg-deep);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.press-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.press-publication {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-silver);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.press-publication:hover { opacity: 1; }

.press-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 220px;
  text-align: center;
  line-height: 1.5;
}

/* Testimonial card */
.testimonial-card {
  background: var(--color-bg-card);
  border: 0.5px solid rgba(184, 190, 199, 0.12);
  border-left: 2px solid var(--color-gold);
  padding: 40px;
  max-width: 600px;
  margin: 60px auto 0;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-white);
  margin-bottom: 20px;
}

.testimonial-attribution {
  font-size: var(--text-label);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Filter Bar (Buildings HTML) */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.filter-group {
  display: flex;
  gap: 40px;
}

.filter-item {
  color: var(--color-silver-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.filter-item:hover, .filter-item.active {
  color: var(--color-white);
}

/* Contact / Forms */
.contact-section {
  padding: var(--space-section) 0;
}

.form-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 15px 0;
  font-family: inherit;
  font-size: 1.1rem;
  color: var(--color-white);
  transition: border-color 0.4s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--color-white);
}

.form-group label {
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--color-silver-muted);
  font-size: 1.1rem;
  pointer-events: none;
  transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1) all;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: -20px;
  font-size: 0.8rem;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Modal (Detail View) */
.property-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-deep);
  z-index: 2000;
  display: flex;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.property-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  width: 100%;
  height: 100%;
}

.modal-close {
  position: fixed;
  top: 30px;
  right: 40px;
  background: rgba(5,8,17,0.5);
  backdrop-filter: blur(10px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--color-white);
  color: var(--color-bg-deep);
}

.modal-gallery {
  position: relative;
  height: 100%;
  overflow: hidden;
}

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

.modal-info {
  padding: 80px 80px;
  overflow-y: auto;
  background: var(--color-bg-deep);
}

.modal-price {
  font-family: var(--font-serif);
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.modal-address {
  font-family: var(--font-sans);
  color: var(--color-silver-muted);
  font-size: 1rem;
  margin-bottom: 40px;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.spec-block {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--color-silver-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}

.spec-val {
  font-size: 1.2rem;
  color: var(--color-white);
}

.modal-desc {
  font-size: 1.05rem;
  color: var(--color-silver-muted);
  line-height: 1.8;
  margin-bottom: 50px;
}

.amenities-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 50px;
  color: var(--color-white);
}

.amenities-list li {
  position: relative;
  padding-left: 20px;
}

.amenities-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

.map-wrapper {
  width: 100%;
  height: 350px;
  background: #111;
  margin-bottom: 50px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Partners Section */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.partner-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(100%);
  margin-bottom: 20px;
  transition: filter 0.4s ease;
}

.partner-card:hover img {
  filter: grayscale(0%);
}

.partner-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 5px;
}

.partner-title {
  color: var(--color-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

/* Gated Portfolio Blur */
.gated-blur {
  filter: blur(15px) brightness(0.4);
  pointer-events: none;
}

.gated-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 80%;
  pointer-events: none;
}

/* Lead Gen Modal */
.lead-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5,8,17,0.95);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lead-modal.active {
  opacity: 1;
  visibility: visible;
}

.lead-modal-content {
  background: var(--color-bg-surface);
  padding: 60px;
  border: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  max-width: 600px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.lead-modal.active .lead-modal-content {
  transform: translateY(0);
}

/* Interactive Multi-Step Form */
.step-container {
  display: none;
  animation: fadeInStep 0.4s ease forwards;
}

.step-container.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.step-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  padding: 20px;
  font-family: var(--font-sans);
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

.step-btn > span:last-child {
  margin-left: auto;
  align-self: flex-start;
}

.step-btn:hover {
  border-color: var(--color-gold);
  background: rgba(207, 168, 95, 0.05);
}

.btn-label-main { font-size: 0.95rem; font-weight: 500; color: var(--color-white); }
.btn-label-sub { font-size: 0.75rem; color: var(--color-silver-muted); letter-spacing: 1px; text-transform: uppercase; }

/* Contact form box */
.contact-form-box { padding: 50px; }

.step-indicator {
  color: var(--color-silver-muted);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

/* Footer Professional Upgrade */
.footer {
  padding: var(--space-section) 0 60px;
  background: #04060d;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.footer-col p {
  color: var(--color-silver-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

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

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: var(--color-silver-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.footer-form {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 10px;
}

.footer-form input {
  background: transparent;
  border: none;
  color: var(--color-white);
  width: 100%;
  outline: none;
}

.footer-form input::placeholder {
  color: var(--color-silver-muted);
}

.footer-form button {
  background: none;
  border: none;
  color: var(--color-gold);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-copy {
  color: var(--color-silver-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Case study page */
.case-study-hero {
  margin-top: 100px;
  height: 80vh;
  position: relative;
  overflow: hidden;
}

.case-study-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-intro {
  padding-top: var(--space-section);
}

.specs-banner {
  display: flex;
  gap: 50px;
  background: var(--color-bg-surface);
  padding: 40px 60px;
  border-bottom: 0.5px solid rgba(184, 190, 199, 0.08);
  margin-top: -80px;
  position: relative;
  z-index: 10;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.spec-b {
  color: var(--color-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-sans);
}

.spec-v {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  color: var(--color-white);
}

/* Advisory grid */
.advisory-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

/* Partners heading */
.partners-heading {
  border-top: 0.5px solid rgba(184, 190, 199, 0.08);
  padding-top: 50px;
}

/* Inner page heroes */
.hero-inner {
  min-height: 60vh;
}

.hero-inner-sm {
  min-height: 55vh;
}

/* Gated card — full-width span */
.gated-card {
  grid-column: 1 / -1;
  margin-top: 60px;
}

/* Footer brand */
.footer-brand {
  margin-bottom: 20px;
}

.footer-brand img {
  height: 40px;
}

/* Buildings — Alternating Editorial Layout */
.listing-row {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 580px;
  margin-bottom: 80px;
  border: 0.5px solid rgba(184, 190, 199, 0.08);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.listing-row:hover {
  border-color: rgba(207, 168, 95, 0.2);
}

.listing-row.reverse {
  grid-template-columns: 45% 55%;
}

.listing-img {
  position: relative;
  overflow: hidden;
}

.listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.listing-row:hover .listing-img img {
  transform: scale(1.04);
}

.listing-img .private-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
}

.listing-img .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(5,8,17,0.4) 100%);
  z-index: 1;
}

.listing-content {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg-surface);
}

.listing-row.reverse .listing-img {
  order: 2;
}

.listing-row.reverse .listing-content {
  order: 1;
}

.listing-price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-white);
  margin-bottom: 6px;
}

.listing-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 4px;
}

.listing-location {
  font-size: var(--text-label);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 28px;
}

.listing-divider {
  width: 40px;
  height: 1px;
  background: var(--color-silver);
  opacity: 0.3;
  margin-bottom: 28px;
}

.listing-specs {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
}

.listing-spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.listing-spec .spec-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-white);
}

.listing-spec .spec-lbl {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-silver-muted);
}

.listing-sells {
  list-style: none;
  margin-bottom: 36px;
}

.listing-sells li {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.7;
  padding: 8px 0;
  border-bottom: 0.5px solid rgba(184,190,199,0.08);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.listing-sells li::before {
  content: '→';
  color: var(--color-gold);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.listing-sells li:last-child {
  border-bottom: none;
}

.listing-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-primary {
  display: block;
  padding: 16px 24px;
  background: var(--color-gold);
  color: var(--color-bg-deep);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s ease;
  cursor: pointer;
}

.cta-primary:hover {
  background: var(--color-gold-hover);
}

.cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 0.5px solid rgba(184,190,199,0.2);
  color: var(--color-silver);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.cta-secondary:hover {
  border-color: var(--color-silver);
  color: var(--color-white);
}

/* Listing responsive rules are in the main breakpoint blocks below */

/* Gated card heading */
.gated-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--color-white);
  margin-bottom: 10px;
}

/* Case study specific */
.case-study-section-label {
  font-family: var(--font-sans);
  color: var(--color-gold);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}

.case-study-sells {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-study-sells li {
  padding: 16px 0;
  border-bottom: 0.5px solid rgba(184,190,199,0.08);
  color: var(--color-text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.case-study-sells li::before {
  content: '▹';
  color: var(--color-gold);
  position: absolute;
  left: 0;
  top: 17px;
}

.case-study-sells li strong {
  color: var(--color-white);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.amenities-two-col {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  color: var(--color-silver-muted);
  font-size: 0.9rem;
}

.amenities-two-col li {
  padding-left: 16px;
  position: relative;
}

.amenities-two-col li::before {
  content: '·';
  color: var(--color-gold);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
  top: 2px;
}

.case-study-cta-card {
  background: var(--color-bg-card);
  border: 0.5px solid rgba(184,199,199,0.1);
  border-top: 1px solid var(--color-gold);
  padding: 32px;
}

@media screen and (max-width: 768px) {
  .amenities-two-col { grid-template-columns: 1fr; }
  .case-study-cta-card { padding: 24px 20px; }
}

/* Process / How We Work */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border: 0.5px solid rgba(184, 190, 199, 0.08);
}

.process-step {
  padding: 48px 36px;
  border-right: 0.5px solid rgba(184, 190, 199, 0.08);
  position: relative;
  transition: background 0.3s ease;
}

.process-step:last-child {
  border-right: none;
}

.process-step:hover {
  background: rgba(207, 168, 95, 0.03);
}

.process-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: rgba(207, 168, 95, 0.15);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.process-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--color-silver-muted);
  line-height: 1.7;
}

.process-connector {
  position: absolute;
  top: 48px;
  right: -12px;
  width: 24px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.4;
  z-index: 1;
}

.process-step:last-child .process-connector {
  display: none;
}

/* Neighbourhood Guide */
.neighbourhood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.neighbourhood-card {
  position: relative;
  height: 420px;
  overflow: hidden;
  cursor: pointer;
}

.neighbourhood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  filter: brightness(0.7);
}

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

.neighbourhood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,8,17,0.9) 0%, rgba(5,8,17,0.1) 60%);
  z-index: 1;
}

.neighbourhood-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  z-index: 2;
  transition: transform 0.4s ease;
}

.neighbourhood-area {
  font-size: var(--text-label);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  display: block;
}

.neighbourhood-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.neighbourhood-desc {
  font-size: 0.85rem;
  color: var(--color-silver-muted);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}

.neighbourhood-card:hover .neighbourhood-desc {
  opacity: 1;
  transform: translateY(0);
}

.neighbourhood-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.neighbourhood-card:hover .neighbourhood-tag {
  opacity: 1;
  transform: translateY(0);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.service-card {
  background: var(--color-bg-surface);
  padding: 48px 40px;
  border: 0.5px solid rgba(184, 190, 199, 0.06);
  transition: border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.4s ease;
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover {
  border-color: rgba(207, 168, 95, 0.15);
}

.service-icon {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: rgba(207, 168, 95, 0.2);
  display: block;
  margin-bottom: 24px;
  line-height: 1;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--color-silver-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-link {
  font-size: var(--text-label);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.service-card:hover .service-link {
  gap: 14px;
}

/* Market Intelligence */
.market-strip {
  background: var(--color-bg-surface);
  border-top: 0.5px solid rgba(184, 190, 199, 0.08);
  border-bottom: 0.5px solid rgba(184, 190, 199, 0.08);
  padding: 60px 0;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.market-item {
  padding: 0 40px;
  border-right: 0.5px solid rgba(184, 190, 199, 0.08);
  text-align: center;
}

.market-item:last-child {
  border-right: none;
}

.market-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-gold);
  display: block;
  margin-bottom: 6px;
}

.market-label {
  font-size: var(--text-label);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-silver-muted);
  margin-bottom: 4px;
  display: block;
}

.market-context {
  font-size: 0.8rem;
  color: rgba(139, 146, 156, 0.6);
  font-style: italic;
}

/* Lifestyle mosaic — 3 images */
.lifestyle-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 3px;
  margin-top: 60px;
}

.lifestyle-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.4s ease;
}

.lifestyle-mosaic img:hover {
  filter: brightness(1);
}

.lifestyle-mosaic .lifestyle-main {
  grid-row: 1 / 3;
}

/* Multiple testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-item {
  background: var(--color-bg-surface);
  border: 0.5px solid rgba(184, 190, 199, 0.08);
  border-top: 1px solid var(--color-gold);
  padding: 36px 32px;
}

.testimonial-item .t-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-body);
  margin-bottom: 24px;
}

.testimonial-item .t-name {
  font-size: var(--text-label);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 4px;
}

.testimonial-item .t-detail {
  font-size: 0.8rem;
  color: var(--color-silver-muted);
}

/* Contact FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 60px;
}

.faq-item {
  background: var(--color-bg-surface);
  padding: 36px;
  border: 0.5px solid rgba(184, 190, 199, 0.06);
}

.faq-q {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-q::before {
  content: 'Q';
  font-size: 0.7rem;
  letter-spacing: 1px;
  background: var(--color-gold);
  color: var(--color-bg-deep);
  padding: 3px 7px;
  font-family: var(--font-sans);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 4px;
}

.faq-a {
  font-size: 0.9rem;
  color: var(--color-silver-muted);
  line-height: 1.8;
  padding-left: 30px;
}

/* Contact timeline */
.contact-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 50px;
}

.timeline-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 0.5px solid rgba(184,190,199,0.06);
  align-items: flex-start;
}

.timeline-step:last-child {
  border-bottom: none;
}

.timeline-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-gold);
  min-width: 32px;
  line-height: 1;
  margin-top: 2px;
}

.timeline-content h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--color-silver-muted);
  line-height: 1.6;
}

/* Large tablet — 1200px */
@media screen and (max-width: 1200px) {

  /* Listing rows — start compressing earlier */
  .listing-content { padding: 48px 40px; }
  .listing-row { min-height: 500px; }

  /* Process grid — compress gap */
  .process-grid { gap: 0; }
  .process-step { padding: 40px 28px; }

  /* Neighbourhood cards — reduce height */
  .neighbourhood-card { height: 380px; }

  /* Services grid — compress padding */
  .service-card { padding: 40px 32px; }

  /* Market strip — compress */
  .market-item { padding: 0 28px; }

  /* Testimonials — compress */
  .testimonial-item { padding: 30px 26px; }
}

/* Tablet — 1024px */
@media screen and (max-width: 1024px) {
  .properties-grid { grid-template-columns: 1fr; gap: 60px; }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .form-row { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .partners-grid { grid-template-columns: 1fr; }
  .modal-content-grid { grid-template-columns: 1fr; }
  .modal-gallery { height: 40vh; }
  .modal-info { padding: 40px; }
  .lead-modal-content { padding: 30px; width: 90%; }
  .property-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .property-gallery .gallery-main { grid-row: auto; }
  .card-stagger { margin-top: 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 0.5px solid rgba(184,190,199,0.08); }
  .process-step:nth-child(1),
  .process-step:nth-child(3) { border-right: 0.5px solid rgba(184,190,199,0.08); }
  .process-step:nth-child(3),
  .process-step:nth-child(4) { border-bottom: none; }
  .process-connector { display: none; }

  /* Process section — image hides, text full width */
  .process-text-grid { grid-template-columns: 1fr !important; }
  .process-text-grid > div:last-child { display: none; }
  .process-image-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .process-image-grid > div:last-child { display: none; }

  /* Neighbourhood grid — 2 columns, 3rd spans full */
  .neighbourhood-grid { grid-template-columns: 1fr 1fr; }
  .neighbourhood-card:last-child { grid-column: 1 / -1; height: 320px; }
  .neighbourhood-card { height: 360px; }

  /* Services — 2x2 */
  .services-grid { grid-template-columns: 1fr 1fr; }

  /* Market strip — 2x2 grid */
  .market-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .market-item {
    padding: 30px 20px;
    border-right: none;
    border-bottom: 0.5px solid rgba(184, 190, 199, 0.08);
  }
  .market-item:nth-child(1),
  .market-item:nth-child(2) {
    border-bottom: 0.5px solid rgba(184, 190, 199, 0.08);
  }
  .market-item:nth-child(3),
  .market-item:nth-child(4) {
    border-bottom: none;
  }
  .market-item:nth-child(odd) {
    border-right: 0.5px solid rgba(184, 190, 199, 0.08);
  }

  /* Lifestyle mosaic — single column */
  .lifestyle-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .lifestyle-mosaic .lifestyle-main { grid-row: auto; height: 320px; }
  .lifestyle-mosaic img { height: 240px; }

  /* Testimonials — single column */
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Listing rows — stack vertically */
  .listing-row,
  .listing-row.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .listing-img { height: 380px; order: 0 !important; }
  .listing-content { order: 1 !important; padding: 40px 36px; }
  .listing-ctas { flex-direction: row; gap: 12px; }
  .cta-primary,
  .cta-secondary { flex: 1; text-align: center; justify-content: center; }

  /* FAQ — single column */
  .faq-grid { grid-template-columns: 1fr; }

  /* ─── Full-screen mobile nav overlay ─── */
  .mobile-toggle {
    display: flex;
  }

  .nav-right {
    /* Slide-in panel from right */
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 380px);
    height: 100dvh;
    background: rgba(5, 8, 17, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 0.5px solid rgba(184, 190, 199, 0.08);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 48px;
    gap: 0;
    z-index: 1050;

    /* Hidden state */
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.4s ease,
                visibility 0.55s ease;

    /* Must be flex always so children animate */
    display: flex;
  }

  /* Gold accent border on left edge */
  .nav-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
    transition: height 0.7s ease 0.3s;
  }

  /* Dim backdrop when nav is open */
  .nav-right::after {
    content: '';
    position: fixed;
    inset: 0;
    right: min(85vw, 380px);
    background: rgba(5, 8, 17, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
  }

  .nav-right.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-right.active::before {
    height: 100%;
  }

  .nav-right.active::after {
    opacity: 1;
  }

  /* Nav links — staggered slide up */
  .nav-right .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: 40px;
  }

  .nav-right .nav-link {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255, 255, 255, 0.45);
    padding: 16px 0;
    border-bottom: 0.5px solid rgba(184, 190, 199, 0.06);
    width: 100%;
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease;

    /* Animate in */
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                color 0.3s ease, padding-left 0.3s ease;
  }

  .nav-right.active .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger each link */
  .nav-right.active .nav-link:nth-child(1) { transition-delay: 0.15s; }
  .nav-right.active .nav-link:nth-child(2) { transition-delay: 0.22s; }
  .nav-right.active .nav-link:nth-child(3) { transition-delay: 0.29s; }
  .nav-right.active .nav-link:nth-child(4) { transition-delay: 0.36s; }
  .nav-right.active .nav-link:nth-child(5) { transition-delay: 0.43s; }

  .nav-right .nav-link:hover,
  .nav-right .nav-link.active {
    color: var(--color-white);
    padding-left: 8px;
  }

  /* CTA button inside nav */
  .nav-right .cta-sticky {
    margin-top: 0;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease 0.48s, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.48s,
                background 0.3s ease;
  }

  .nav-right.active .cta-sticky {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Large phone — 768px */
@media screen and (max-width: 768px) {
  /* Container */
  .container { padding: 0 6%; }

  /* Buttons — full width on mobile */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; display: block; }

  /* Hero */
  .hero-content { padding-bottom: 60px; }
  .hero-subtitle { font-size: 1rem; max-width: 100%; }

  /* Properties grid */
  .properties-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-stagger { margin-top: 0 !important; }
  .card-img-wrapper { height: 340px; }

  /* Press banner */
  .press-banner { flex-direction: column; gap: 30px; padding: 40px 6%; }
  .press-item { align-items: flex-start; width: 100%; border-bottom: 0.5px solid rgba(184,190,199,0.1); padding-bottom: 20px; }
  .press-item:last-child { border-bottom: none; padding-bottom: 0; }
  .press-item { display: flex !important; }

  /* Advisory grid */
  .advisory-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; }
  .gated-card { grid-column: auto; margin-top: 30px; }
  .advisory-grid > div:last-child { display: none; }

  /* Partners */
  .partners-grid { grid-template-columns: 1fr; }
  .partner-card img { height: 280px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat-item { padding: 28px 20px; border-bottom: 0.5px solid rgba(184,190,199,0.08); border-left: none; border-right: none; }
  .stat-item:last-child { border-bottom: none; }
  .stat-item::before { display: none; }
  .stat-item::after { content: ''; display: block; width: 30px; height: 1px; background: var(--color-gold); margin: 12px auto 0; }

  /* Off-market */
  .off-market-section::before { font-size: clamp(4rem, 20vw, 8rem); overflow: hidden; }
  .off-market-section { overflow: hidden; }

  /* Case study */
  .specs-banner { flex-direction: column; gap: 20px; padding: 30px 6%; width: 100%; margin-left: 0; margin-right: 0; }
  .property-gallery { grid-template-columns: 1fr; grid-template-rows: auto; gap: 8px; }
  .property-gallery .gallery-main { grid-row: auto; }
  .property-gallery img { height: 220px; }
  .case-study-body { grid-template-columns: 1fr !important; gap: 40px !important; }
  .case-study-hero { height: 45vh; margin-top: 80px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .step-btn { font-size: 0.85rem; padding: 16px 14px; line-height: 1.4; }
  .contact-form-box { padding: 30px 24px !important; }
  .map-wrapper, .map-wrapper iframe { height: 260px; }

  /* Footer */
  .footer { padding: 60px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-form { gap: 8px; }

  /* Testimonial */
  .testimonial-card { margin: 40px 0 0; padding: 28px 20px; }
  .testimonial-quote { font-size: 1.1rem; }

  /* Lead modal */
  .lead-modal-content { padding: 28px 20px; width: 94%; }

  /* Silver rules on mobile */
  .silver-rule { display: none; }
  /* Process section */
  .process-grid { grid-template-columns: 1fr; }
  .process-step {
    border-right: none !important;
    border-bottom: 0.5px solid rgba(184,190,199,0.08);
    padding: 28px 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }
  .process-step:last-child { border-bottom: none; }
  .process-number {
    font-size: 2.2rem;
    color: rgba(207, 168, 95, 0.2);
    min-width: 50px;
    margin-bottom: 0;
    margin-top: 2px;
  }
  .process-body { flex: 1; }
  .process-title { font-size: 1rem; margin-bottom: 8px; }
  .process-desc { font-size: 0.85rem; }
  .process-image-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .process-image-grid > div:last-child { display: none; }

  /* Market strip */
  .market-strip { padding: 40px 0; }
  .market-grid { grid-template-columns: 1fr 1fr; }
  .market-val { font-size: 1.8rem; }
  .market-label { font-size: 0.65rem; }
  .market-context { font-size: 0.7rem; }
  .market-item { padding: 20px 16px; }

  /* Neighbourhood grid */
  .neighbourhood-grid { grid-template-columns: 1fr; }
  .neighbourhood-card,
  .neighbourhood-card:last-child {
    grid-column: auto;
    height: 280px;
  }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .service-card { padding: 32px 24px; }
  .service-icon { font-size: 2rem; margin-bottom: 16px; }
  .service-title { font-size: 1.15rem; }

  /* Lifestyle mosaic */
  .lifestyle-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .lifestyle-mosaic .lifestyle-main { grid-row: auto; height: 280px; }
  .lifestyle-mosaic img { height: 220px; }
  .lifestyle-text-grid { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* Testimonials */
  .testimonials-grid { gap: 12px; }
  .testimonial-item { padding: 28px 20px; }
  .testimonial-item .t-quote { font-size: 0.95rem; }

  /* Listing rows on buildings page */
  .listing-img { height: 300px; }
  .listing-content { padding: 32px 24px; }
  .listing-price { font-size: 1.8rem; }
  .listing-name { font-size: 1.3rem; }
  .listing-specs { gap: 20px; flex-wrap: wrap; }
  .listing-spec .spec-num { font-size: 1.2rem; }
  .listing-sells li { font-size: 0.88rem; padding: 8px 0; }
  .listing-ctas { flex-direction: column; gap: 10px; }
  .cta-primary,
  .cta-secondary { width: 100%; text-align: center; justify-content: center; }
  .listing-row { margin-bottom: 40px; }

  /* Contact timeline + FAQ — stack vertically */
  .timeline-faq-grid { grid-template-columns: 1fr !important; gap: 50px !important; }
  .contact-timeline { margin-top: 24px; }
  .timeline-step { gap: 18px; padding: 20px 0; }
  .timeline-num { font-size: 1.2rem; min-width: 26px; }
  .timeline-content h4 { font-size: 0.8rem; }
  .timeline-content p { font-size: 0.82rem; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; gap: 2px; }
  .faq-item { padding: 24px 20px; }
  .faq-q { font-size: 1rem; }
  .faq-a { font-size: 0.85rem; padding-left: 28px; }

  /* Trust checkmarks contact */
  .trust-checks { gap: 12px !important; margin-bottom: 28px !important; }
  .trust-check-item { padding: 12px 0 !important; }
  .trust-check-item span:last-child { font-size: 0.85rem; }
}

/* Small phone — 480px */
@media screen and (max-width: 480px) {
  /* Nav */
  .brand-logo { font-size: 1.1rem; letter-spacing: 3px; gap: 10px; }
  .brand-logo img { height: 30px; }
  .mobile-toggle {
    font-size: 1.2rem;
    padding: 10px;
    margin-right: -10px;
  }
  .navbar { padding: 18px 0; }
  .navbar.scrolled { padding: 14px 0; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding-bottom: 50px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem) !important; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; }

  /* Cards */
  .card-img-wrapper { height: 260px; }
  .price-display { font-size: 1.5rem; }
  .card-title { font-size: 1.3rem; }
  .card-specs { gap: 16px; font-size: 0.8rem; flex-wrap: wrap; }
  .private-tag { top: 16px; left: 16px; font-size: 0.65rem; padding: 6px 12px; }

  /* Press banner */
  .press-publication { font-size: 0.9rem; letter-spacing: 2px; }
  .press-quote { font-size: 0.8rem; max-width: 100%; }

  /* Stats */
  .stat-val { font-size: 2.8rem; }
  .stat-label { font-size: 0.7rem; }

  /* Sections */
  .section { padding: 60px 0; }
  .off-market-section { padding: 60px 0; }
  .editorial-heading { font-size: clamp(1.8rem, 8vw, 2.5rem) !important; }
  .editorial-sub { font-size: 0.7rem; letter-spacing: 1.5px; }

  /* Advisory */
  .partners-grid { grid-template-columns: 1fr; }
  .partner-card img { height: 240px; }
  .partner-name { font-size: 1.4rem; }

  /* Testimonial */
  .testimonial-card { padding: 24px 18px; }
  .testimonial-quote { font-size: 1rem; }

  /* Specs banner */
  .specs-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .spec-v { font-size: 1.2rem; }

  /* Gallery */
  .property-gallery img { height: 180px; }

  /* Off-market watermark */
  .off-market-section::before { display: none; }

  /* Gold line accent */
  .gold-line { height: 50px; }

  /* Buttons */
  .btn { padding: 14px 24px; font-size: 0.75rem; letter-spacing: 1.5px; }
  .btn-solid { padding: 14px 24px; }

  /* Contact form */
  .step-btn { padding: 14px 12px; font-size: 0.8rem; }
  .step-btn span { display: none; }
  .step-btn .btn-label-main,
  .step-btn .btn-label-sub { display: block; }
  .contact-form-box { padding: 24px 18px !important; }
  .step-indicator { font-size: 0.7rem; }

  /* Contact info */
  .contact-phone { font-size: 1.2rem !important; }

  /* Lead modal */
  .lead-modal-content { padding: 24px 16px; width: 96%; }
  .lead-modal-content h3 { font-size: 1.5rem; }

  /* Footer */
  .footer { padding: 50px 0 30px; }
  .footer-grid { gap: 28px; }
  .footer-col h4 { margin-bottom: 16px; }
  .footer-form input { font-size: 0.9rem; }
  .footer-bottom { gap: 12px; }
  .footer-copy { font-size: 0.7rem; }

  /* Filter bar */
  .filter-bar { flex-direction: column; gap: 16px; padding: 20px 0; }
  .filter-group { gap: 20px; flex-wrap: wrap; }
  .filter-item { font-size: 0.7rem; letter-spacing: 0.5px; }

  /* Modal close button spacing */
  .modal-close { top: 14px; right: 14px; width: 40px; height: 40px; font-size: 1.2rem; }

  /* Inner heroes */
  .hero-inner,
  .hero-inner-sm { min-height: 42vh; }

  /* Footer brand */
  .footer-brand img { height: 32px; }
  /* Market strip */
  .market-strip { padding: 32px 0; }
  .market-grid { grid-template-columns: 1fr 1fr; }
  .market-val { font-size: 1.6rem; }
  .market-label { font-size: 0.6rem; letter-spacing: 1px; }
  .market-context { display: none; }
  .market-item { padding: 16px 12px; }

  /* Process steps */
  .process-step { flex-direction: column; gap: 10px; padding: 24px 16px; }
  .process-number { font-size: 1.8rem; min-width: auto; margin-bottom: 0; }
  .process-title { font-size: 0.95rem; }
  .process-desc { font-size: 0.82rem; }

  /* Neighbourhood cards */
  .neighbourhood-card,
  .neighbourhood-card:last-child { height: 240px; }
  .neighbourhood-name { font-size: 1.3rem; }
  .neighbourhood-area { font-size: 0.65rem; }
  .neighbourhood-desc { font-size: 0.8rem; }
  .neighbourhood-tag { font-size: 0.65rem; }
  .neighbourhood-content { padding: 24px 20px; }

  /* Services */
  .service-card { padding: 28px 20px; }
  .service-title { font-size: 1.05rem; }
  .service-desc { font-size: 0.85rem; }

  /* Lifestyle mosaic */
  .lifestyle-mosaic .lifestyle-main { height: 240px; }
  .lifestyle-mosaic img { height: 180px; }

  /* Testimonials */
  .testimonial-item { padding: 24px 18px; }
  .testimonial-item .t-quote { font-size: 0.9rem; line-height: 1.65; }
  .testimonials-grid { gap: 8px; }

  /* Listing rows */
  .listing-img { height: 250px; }
  .listing-content { padding: 24px 18px; }
  .listing-price { font-size: 1.5rem; }
  .listing-name { font-size: 1.15rem; }
  .listing-specs { gap: 14px; }
  .listing-spec .spec-num { font-size: 1.1rem; }
  .listing-spec .spec-lbl { font-size: 0.6rem; }
  .listing-sells { margin-bottom: 24px; }
  .listing-sells li { font-size: 0.82rem; }
  .listing-divider { margin-bottom: 20px; }
  .cta-primary { padding: 14px 20px; font-size: 0.7rem; }
  .cta-secondary { padding: 12px 20px; font-size: 0.7rem; }

  /* Contact timeline */
  .timeline-step { gap: 14px; padding: 18px 0; }
  .timeline-num { font-size: 1.1rem; }
  .timeline-content h4 { font-size: 0.75rem; margin-bottom: 4px; }
  .timeline-content p { font-size: 0.8rem; }

  /* FAQ */
  .faq-item { padding: 20px 16px; }
  .faq-q { font-size: 0.9rem; gap: 10px; }
  .faq-q::before { font-size: 0.65rem; padding: 2px 6px; }
  .faq-a { font-size: 0.8rem; padding-left: 24px; line-height: 1.7; }
}

/* Edge case — 380px */
@media screen and (max-width: 380px) {
  .brand-logo .brand-name { display: none; }

  .hero-title { font-size: 2rem !important; }
  .card-img-wrapper { height: 230px; }
  .specs-banner { grid-template-columns: 1fr; }
  .card-specs { gap: 12px; }
  .step-btn { font-size: 0.75rem; padding: 12px 10px; }
  .press-quote { display: none; }
  .contact-form-box { padding: 20px 14px !important; }

  /* Market strip — go single column */
  .market-grid { grid-template-columns: 1fr; }
  .market-item:nth-child(odd) { border-right: none; }
  .market-item:nth-child(1),
  .market-item:nth-child(2),
  .market-item:nth-child(3) { border-bottom: 0.5px solid rgba(184,190,199,0.06); }
  .market-item { padding: 14px 0; text-align: left; }
  .market-val { font-size: 1.5rem; }

  /* Neighbourhood cards */
  .neighbourhood-card,
  .neighbourhood-card:last-child { height: 220px; }

  /* Listing rows */
  .listing-img { height: 220px; }
  .listing-content { padding: 20px 14px; }
  .listing-price { font-size: 1.3rem; }
  .listing-name { font-size: 1rem; }
  .listing-specs { gap: 10px; }

  /* Gated heading overlay */
  .gated-heading { font-size: 1.4rem !important; }

  /* Back to top on small screens */
  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 1rem; }
}

/* iOS Safari fixes */
@supports (-webkit-touch-callout: none) {
  .hero { min-height: 100svh; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  .modal-info, .lead-modal-content { -webkit-overflow-scrolling: touch; }
  a, button, .filter-item, .step-btn, .property-card {
    -webkit-tap-highlight-color: rgba(207, 168, 95, 0.15);
  }
}

/* Prevent horizontal overflow globally */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Remove default button/input styling on iOS */
input, textarea, button, select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
