/* =========================================================
   SHANTHI PROPERTIES — Modern Indian Editorial
   Design tokens
   ========================================================= */

:root {
  /* ---- Core palette — "Chettinad Heritage" ----
     Deep rosewood ink, sindoor terracotta, temple brass, kolam cream. */
  --ink: #1A0E0A;          /* rosewood black */
  --ink-soft: #3A241B;
  --ink-mute: #7C6553;
  --line: #E4D5BE;
  --line-soft: #F0E4D0;

  --ivory: #FDF6E9;        /* kolam cream */
  --sand: #F6E9D3;
  --cream: #FFFBF2;

  --clay: #B23A18;         /* sindoor terracotta — primary accent */
  --clay-deep: #8C2A0F;
  --clay-tint: #FBE6DC;

  --gold: #C08A2E;         /* temple brass */
  --gold-soft: #E0B361;
  --gold-tint: #F8EDD4;

  --sage: #0E5B57;         /* peacock green — secondary accent */
  --sage-tint: #DFEDEB;

  --white: #FFFFFF;

  /* Type */
  --display: "Cormorant Garamond", "Georgia", serif;
  --serif-alt: "Marcellus", "Cormorant Garamond", serif;
  --tamil: "Noto Serif Tamil", "Latha", serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Rhythm */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  --radius: 2px;
  --radius-lg: 4px;

  --shadow-sm: 0 1px 2px rgba(20, 17, 15, .05), 0 4px 12px rgba(20, 17, 15, .04);
  --shadow-md: 0 4px 12px rgba(20, 17, 15, .06), 0 18px 40px rgba(20, 17, 15, .07);
  --shadow-lg: 0 10px 30px rgba(20, 17, 15, .08), 0 40px 90px rgba(20, 17, 15, .10);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --maxw: 1280px;
}

/* =========================================================
   Reset
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

::selection { background: var(--clay); color: var(--white); }

/* =========================================================
   Utilities
   ========================================================= */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.wrap-tight { max-width: 980px; }
.wrap-wide  { max-width: 1500px; }

.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--clay);
  opacity: .55;
}

.eyebrow.center::before { display: none; }

.h-display { font-size: clamp(2.6rem, 6.2vw, 5.2rem); }
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); }

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--ink-mute);
  line-height: 1.75;
  max-width: 62ch;
}

.muted { color: var(--ink-mute); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section-sand { background: var(--sand); }
.section-cream { background: var(--cream); }
.section-ink { background: var(--ink); color: var(--ivory); }
.section-ink .lede,
.section-ink .muted { color: rgba(250, 247, 242, .62); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-bottom: var(--sp-7);
}

.section-head .h2 { margin-top: var(--sp-3); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .35s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover {
  background: var(--clay);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(169, 104, 59, .28);
}

.btn-clay { background: var(--clay); color: var(--white); }
.btn-clay:hover {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(169, 104, 59, .3);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }

.btn-light {
  border-color: rgba(250, 247, 242, .4);
  color: var(--ivory);
}
.btn-light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.btn-sm { padding: 11px 22px; font-size: 11px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  transition: all .35s var(--ease);
}
.link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover { border-color: var(--clay); color: var(--clay); }
.link-arrow:hover svg { transform: translateX(5px); }

/* =========================================================
   Header
   ========================================================= */

.topbar {
  background: var(--ink);
  color: rgba(250, 247, 242, .72);
  font-size: 12px;
  letter-spacing: .04em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 42px;
}
.topbar a:hover { color: var(--white); }
.topbar-links { display: flex; gap: var(--sp-5); align-items: center; }
.topbar-note { display: flex; align-items: center; gap: 8px; }
.topbar-note .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #7BB88A;
  box-shadow: 0 0 0 3px rgba(123, 184, 138, .2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 247, 242, .88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); background: rgba(250, 247, 242, .96); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: 80px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  border: 1px solid var(--clay);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 20px;
  color: var(--clay);
  flex: none;
}
.brand-text { line-height: 1.1; }
.brand-name {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: .01em;
  display: block;
}
.brand-sub {
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  position: relative;
  padding-block: 6px;
  color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--clay);
  transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: var(--sp-4); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: all .3s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1.5px; background: var(--ink);
  transition: all .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ivory);
  padding: 100px var(--sp-5) var(--sp-6);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: var(--sp-6); width: 100%; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
  padding-bottom: 110px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20,17,15,.88) 0%, rgba(20,17,15,.6) 45%, rgba(20,17,15,.25) 100%),
    linear-gradient(to top, rgba(20,17,15,.75), transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  color: var(--ivory);
  padding-block: clamp(72px, 10vw, 116px) 0;
  max-width: 780px;
}

.hero .eyebrow { color: #DCA97C; }
.hero .eyebrow::before { background: #DCA97C; }

.hero h1 {
  margin: var(--sp-5) 0 var(--sp-5);
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
}
.hero h1 em {
  font-style: italic;
  color: #DCA97C;
}

.hero p {
  color: rgba(250, 247, 242, .78);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 56ch;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-7);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(250, 247, 242, .16);
  margin-top: var(--sp-7);
}
.hero-stats div { padding: var(--sp-5) var(--sp-5) var(--sp-5) 0; }
.hero-stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ivory);
  font-weight: 400;
}
.hero-stats span {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, .55);
}

/* Search bar */

.searchbar {
  position: relative;
  z-index: 5;
  margin-top: -48px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: var(--sp-4);
  align-items: end;
}

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.field select, .field input {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 9px 0;
  font-size: 14.5px;
  border-radius: 0;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B615A' fill='none' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  transition: border-color .3s var(--ease);
}
.field input { background-image: none; }
.field select:focus, .field input:focus {
  outline: none;
  border-color: var(--clay);
}

/* =========================================================
   Marquee / trust strip
   ========================================================= */

.trust {
  border-block: 1px solid var(--line);
  background: var(--cream);
  padding-block: var(--sp-5);
  overflow: hidden;
}
.trust-track {
  display: flex;
  gap: var(--sp-9);
  align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.trust:hover .trust-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trust-item {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink-mute);
  letter-spacing: .04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.trust-item::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--clay);
  opacity: .5;
}

/* =========================================================
   Property cards
   ========================================================= */

.grid-props {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: var(--sp-6);
}

.pcard {
  background: var(--white);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  overflow: hidden;
}
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.pcard-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand), var(--clay-tint));
}
.pcard-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.pcard:hover .pcard-media img { transform: scale(1.07); }

.pcard-badges {
  position: absolute;
  top: var(--sp-4); left: var(--sp-4);
  display: flex; gap: 6px; flex-wrap: wrap;
}
.badge {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 11px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}
.badge-clay { background: var(--clay); color: var(--white); }
.badge-sage { background: var(--sage); color: var(--white); }
.badge-ink  { background: var(--ink);  color: var(--ivory); }

.pcard-fav {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, .92);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all .3s var(--ease);
}
.pcard-fav:hover { background: var(--white); transform: scale(1.08); }
.pcard-fav svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.pcard-fav.on svg { fill: var(--clay); stroke: var(--clay); }

.pcard-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }

.pcard-loc {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 6px;
}
.pcard h3 {
  font-size: 1.4rem;
  margin: 10px 0 var(--sp-4);
}
.pcard-price {
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--clay);
  margin-bottom: var(--sp-4);
}
.pcard-price small {
  font-family: var(--body);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-left: 6px;
}

.pcard-specs {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.pcard-specs span { display: inline-flex; align-items: center; gap: 6px; }
.pcard-specs svg { width: 15px; height: 15px; stroke: var(--clay); fill: none; stroke-width: 1.4; }

/* =========================================================
   Feature / split blocks
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.stat-float {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--ink);
  color: var(--ivory);
  padding: var(--sp-5) var(--sp-6);
  max-width: 230px;
}
.stat-float strong {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 400;
  display: block;
  color: #DCA97C;
}
.stat-float span { font-size: 12px; color: rgba(250,247,242,.68); line-height: 1.5; display: block; }

.check-list { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.check-list li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--clay-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.5l3 3 6-6' stroke='%23A9683B' fill='none' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}

/* =========================================================
   Services grid
   ========================================================= */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }

.scard {
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: var(--sp-6);
  transition: all .45s var(--ease);
  position: relative;
  overflow: hidden;
}
.scard::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--clay);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease);
}
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.scard:hover::before { transform: scaleY(1); }

.scard-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: var(--sp-5);
  transition: all .45s var(--ease);
}
.scard-icon svg { width: 22px; height: 22px; stroke: var(--clay); fill: none; stroke-width: 1.35; }
.scard:hover .scard-icon { background: var(--clay-tint); border-color: var(--clay-tint); }
.scard h3 { font-size: 1.3rem; margin-bottom: 10px; }
.scard p { color: var(--ink-mute); font-size: 14.5px; margin: 0; line-height: 1.7; }

.scard-num {
  position: absolute;
  right: var(--sp-5); top: var(--sp-4);
  font-family: var(--display);
  font-size: 3.4rem;
  color: var(--line-soft);
  line-height: 1;
}

/* =========================================================
   Locations
   ========================================================= */

.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.loc-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink);
  display: block;
}
.loc-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: transform .9s var(--ease), opacity .6s var(--ease);
}
.loc-card:hover img { transform: scale(1.08); opacity: .55; }
.loc-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-5);
  color: var(--ivory);
  background: linear-gradient(to top, rgba(20,17,15,.85), transparent);
}
.loc-card-body h3 { font-size: 1.5rem; }
.loc-card-body span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,247,242,.7); }

.loc-card.tall { grid-row: span 2; aspect-ratio: auto; }

/* =========================================================
   Testimonials
   ========================================================= */

.quote-track {
  display: flex;
  gap: var(--sp-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-4);
  scrollbar-width: thin;
}
.quote-track::-webkit-scrollbar { height: 3px; }
.quote-track::-webkit-scrollbar-thumb { background: var(--clay); }
.quote-track::-webkit-scrollbar-track { background: var(--line-soft); }

.qcard {
  flex: 0 0 min(430px, 84vw);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
}
.qcard .stars { color: var(--clay); letter-spacing: 3px; font-size: 13px; margin-bottom: var(--sp-4); }
.qcard blockquote {
  margin: 0 0 var(--sp-5);
  font-family: var(--display);
  font-size: 1.32rem;
  line-height: 1.5;
  color: var(--ink-soft);
  flex: 1;
}
.qcard-who { display: flex; align-items: center; gap: var(--sp-4); border-top: 1px solid var(--line-soft); padding-top: var(--sp-4); }
.qcard-av {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--clay-tint);
  color: var(--clay);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 17px;
  flex: none;
}
.qcard-who strong { display: block; font-size: 14px; font-weight: 600; }
.qcard-who span { font-size: 12px; color: var(--ink-mute); }

/* =========================================================
   CTA band
   ========================================================= */

.cta-band {
  background: var(--ink);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -12%; top: -40%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169,104,59,.30), transparent 68%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band .h1 { max-width: 18ch; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: #0E0C0B;
  color: rgba(250, 247, 242, .62);
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: var(--sp-7);
  padding-block: var(--sp-9) var(--sp-8);
}
.site-footer .brand-name { color: var(--ivory); }
.site-footer .brand-mark { border-color: #DCA97C; color: #DCA97C; }
.site-footer h4 {
  color: var(--ivory);
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.site-footer li { margin-bottom: 11px; }
.site-footer a:hover { color: #DCA97C; }
.footer-bottom {
  border-top: 1px solid rgba(250,247,242,.1);
  padding-block: var(--sp-5);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: 12.5px;
}
.socials { display: flex; gap: 10px; margin-top: var(--sp-5); }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(250,247,242,.16);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: all .3s var(--ease);
}
.socials a:hover { background: var(--clay); border-color: var(--clay); color: var(--white); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

/* =========================================================
   Page header (inner pages)
   ========================================================= */

.page-head {
  background: var(--ink);
  color: var(--ivory);
  padding-block: clamp(64px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { margin: var(--sp-4) 0 var(--sp-4); }
.page-head p { color: rgba(250,247,242,.7); max-width: 60ch; }
.crumbs { font-size: 12px; color: rgba(250,247,242,.55); letter-spacing: .06em; }
.crumbs a:hover { color: #DCA97C; }

/* =========================================================
   Listings page
   ========================================================= */

.listing-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: var(--sp-7);
  align-items: start;
}

.filters {
  border: 1px solid var(--line);
  background: var(--white);
  padding: var(--sp-5);
  position: sticky;
  top: 104px;
}
.filters h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 var(--sp-4);
}
.filter-group { padding-block: var(--sp-5); border-top: 1px solid var(--line-soft); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 12px;
  border-radius: 100px;
  transition: all .3s var(--ease);
  color: var(--ink-mute);
}
.chip:hover { border-color: var(--clay); color: var(--clay); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.range-out {
  font-size: 13px;
  color: var(--clay);
  font-weight: 600;
  margin-top: 8px;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--clay);
  margin-top: var(--sp-3);
}

.listing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.listing-count { font-size: 14px; color: var(--ink-mute); }
.listing-count strong { color: var(--ink); font-weight: 600; }

.empty-state {
  border: 1px dashed var(--line);
  padding: var(--sp-9) var(--sp-5);
  text-align: center;
  color: var(--ink-mute);
}

/* =========================================================
   Property detail
   ========================================================= */

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: min(62vh, 560px);
}
.gallery a, .gallery div { overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery > *:hover img { transform: scale(1.05); }
.gallery > *:first-child { grid-row: span 2; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-7);
  align-items: start;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-block: var(--sp-6);
}
.spec-grid div { background: var(--cream); padding: var(--sp-5); }
.spec-grid span {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute);
  display: block; margin-bottom: 6px;
}
.spec-grid strong { font-family: var(--display); font-size: 1.35rem; font-weight: 400; }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-4) var(--sp-5); }
.amenity-grid li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-soft); }
.amenity-grid li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); flex: none;
}

.sticky-card {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.sticky-card-head { padding: var(--sp-5); border-bottom: 1px solid var(--line-soft); background: var(--cream); }
.sticky-card-head .price { font-family: var(--display); font-size: 2.1rem; color: var(--clay); }
.sticky-card-body { padding: var(--sp-5); display: grid; gap: var(--sp-4); }

.agent-row { display: flex; gap: var(--sp-4); align-items: center; padding: var(--sp-5); border-top: 1px solid var(--line-soft); }
.agent-av {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--sage-tint); color: var(--sage);
  display: grid; place-items: center; font-family: var(--display); font-size: 19px; flex: none;
}

/* =========================================================
   Forms
   ========================================================= */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 13px 15px;
  font-size: 14.5px;
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(169, 104, 59, .1);
}
.form-note { font-size: 12.5px; color: var(--ink-mute); }

.form-msg {
  display: none;
  padding: 14px 16px;
  background: var(--sage-tint);
  border-left: 2px solid var(--sage);
  color: var(--sage);
  font-size: 14px;
  margin-top: var(--sp-4);
}
.form-msg.show { display: block; }

/* =========================================================
   Accordion (FAQ)
   ========================================================= */

.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%;
  text-align: left;
  padding: var(--sp-5) var(--sp-6) var(--sp-5) 0;
  font-family: var(--display);
  font-size: 1.28rem;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  align-items: center;
  position: relative;
}
.acc-q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--clay);
  transition: transform .35s var(--ease);
  flex: none;
}
.acc-item.open .acc-q::after { transform: rotate(45deg); }
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.acc-a p { margin: 0 0 var(--sp-5); color: var(--ink-mute); max-width: 72ch; }

/* =========================================================
   Team
   ========================================================= */

.tcard { text-align: center; }
.tcard-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
  margin-bottom: var(--sp-4);
}
.tcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: grayscale(1); }
.tcard:hover .tcard-media img { transform: scale(1.05); filter: grayscale(0); }
.tcard h3 { font-size: 1.25rem; }
.tcard span { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); }

/* =========================================================
   Timeline
   ========================================================= */

.timeline { border-left: 1px solid var(--line); padding-left: var(--sp-6); display: grid; gap: var(--sp-7); }
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--sp-6) - 5px);
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--clay);
}
.tl-year { font-family: var(--display); font-size: 1.9rem; color: var(--clay); }

/* =========================================================
   Reveal animation
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

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

/* =========================================================
   Floating WhatsApp
   ========================================================= */

.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 80;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .38);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 27px; height: 27px; fill: currentColor; }

/* =========================================================
   ══════════ INDIAN ORNAMENT LAYER ══════════
   Kolam grounds, temple arches, jaali borders, toran garlands,
   brass rules and Tamil typography.
   ========================================================= */

/* ---- Kolam ground ------------------------------------- */

.section-sand {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23B23A18' stroke-opacity='.08'%3E%3Cpath d='M32 4 L60 32 L32 60 L4 32 Z'/%3E%3C/g%3E%3Cg fill='%23C08A2E' fill-opacity='.20'%3E%3Ccircle cx='32' cy='32' r='2'/%3E%3Ccircle cx='32' cy='0' r='1.4'/%3E%3Ccircle cx='0' cy='32' r='1.4'/%3E%3Ccircle cx='64' cy='32' r='1.4'/%3E%3Ccircle cx='32' cy='64' r='1.4'/%3E%3Ccircle cx='0' cy='0' r='1.4'/%3E%3Ccircle cx='64' cy='64' r='1.4'/%3E%3Ccircle cx='64' cy='0' r='1.4'/%3E%3Ccircle cx='0' cy='64' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
}

.section-cream {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='54' viewBox='0 0 54 54'%3E%3Cg fill='%23C08A2E' fill-opacity='.22'%3E%3Ccircle cx='27' cy='27' r='1.6'/%3E%3Ccircle cx='0' cy='0' r='1.6'/%3E%3Ccircle cx='54' cy='0' r='1.6'/%3E%3Ccircle cx='0' cy='54' r='1.6'/%3E%3Ccircle cx='54' cy='54' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
}

.section-ink {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23E0B361' stroke-opacity='.09'%3E%3Cpath d='M32 4 L60 32 L32 60 L4 32 Z'/%3E%3C/g%3E%3Cg fill='%23E0B361' fill-opacity='.14'%3E%3Ccircle cx='32' cy='32' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---- Jaali crest on dark bands ------------------------ */

.section-ink, .cta-band, .page-head, .site-footer { position: relative; }

.section-ink::before,
.cta-band::after,
.page-head::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 22px;
  z-index: 3;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'%3E%3Cg fill='none' stroke='%23C08A2E' stroke-width='1.3' stroke-opacity='.7'%3E%3Cpath d='M0 22 Q11 -2 22 22 Q33 -2 44 22'/%3E%3C/g%3E%3Cg fill='%23C08A2E' fill-opacity='.85'%3E%3Ccircle cx='11' cy='5' r='1.7'/%3E%3Ccircle cx='33' cy='5' r='1.7'/%3E%3C/g%3E%3C/svg%3E") repeat-x top center;
}

/* ---- Toran garland over the hero ---------------------- */

.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 30px;
  z-index: 4;
  opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30' viewBox='0 0 60 30'%3E%3Cpath d='M0 0 Q15 24 30 0 Q45 24 60 0' fill='none' stroke='%23C08A2E' stroke-width='1.4' stroke-opacity='.75'/%3E%3Cg fill='%23E0B361'%3E%3Ccircle cx='15' cy='12' r='3'/%3E%3Ccircle cx='45' cy='12' r='3'/%3E%3C/g%3E%3Cg fill='%23B23A18'%3E%3Ccircle cx='15' cy='12' r='1.2'/%3E%3Ccircle cx='45' cy='12' r='1.2'/%3E%3C/g%3E%3C/svg%3E") repeat-x top center;
}

/* ---- Temple arches on imagery ------------------------- */

.split-media,
.loc-card,
.tcard-media {
  border-radius: 50% 50% 5px 5px / 28% 28% 5px 5px;
}

.split-media { box-shadow: 0 0 0 1px var(--line), 0 26px 60px rgba(26, 14, 10, .12); }

.split-media .stat-float {
  border-radius: 4px 0 0 0;
  box-shadow: 0 0 0 1px var(--gold);
}

.tcard-media { box-shadow: 0 0 0 1px var(--line); }

/* Arched window inside the property card */

.pcard {
  border-radius: 8px 8px 3px 3px;
  box-shadow: inset 0 0 0 1px transparent;
}
.pcard-media {
  margin: 9px 9px 0;
  border-radius: 50% 50% 3px 3px / 62px 62px 3px 3px;
  box-shadow: 0 0 0 1px var(--gold-tint);
}
.pcard:hover { box-shadow: var(--shadow-md), inset 0 0 0 1px var(--gold-tint); }
/* badges sit under the arch curve, not across it */
.pcard-badges { top: auto; bottom: var(--sp-4); left: var(--sp-4); }
.pcard-fav { top: auto; bottom: var(--sp-4); right: var(--sp-4); }
.badge { border-radius: 2px; box-shadow: 0 2px 8px rgba(26, 14, 10, .18); }
.badge-clay { background: var(--clay); }
.badge-ink { background: var(--ink); color: var(--gold-soft); }
.badge-sage { background: var(--sage); }

/* ---- Brass eyebrow motif ------------------------------ */

.eyebrow {
  color: var(--clay);
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 2.5px var(--gold-tint);
}
.eyebrow.center::before { display: inline-block; }
.section-ink .eyebrow::before,
.cta-band .eyebrow::before,
.hero .eyebrow::before,
.page-head .eyebrow::before { box-shadow: 0 0 0 2.5px rgba(224, 179, 97, .18); }

/* ---- Ornamental divider ------------------------------- */

.orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--gold);
}
.orn::before, .orn::after {
  content: "";
  height: 1px;
  width: clamp(40px, 12vw, 120px);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.orn::after { background: linear-gradient(90deg, var(--gold), transparent); }
.orn span {
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px var(--gold-tint);
  flex: none;
}
.section-ink .orn span,
.cta-band .orn span { box-shadow: 0 0 0 3px rgba(224, 179, 97, .16); }

/* ---- Tamil typography --------------------------------- */

.tamil {
  font-family: var(--tamil);
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.55;
}
.tamil-lede {
  font-family: var(--tamil);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  color: var(--gold-soft);
  margin: 0 0 var(--sp-4);
}

/* ---- Brand mark as a brass medallion ------------------ */

.brand-mark {
  border-color: var(--gold);
  color: var(--gold);
  background:
    radial-gradient(circle at 50% 50%, var(--gold-tint) 0 40%, transparent 41%),
    var(--white);
  font-family: var(--serif-alt);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: .38;
}
.brand-name { font-family: var(--serif-alt); letter-spacing: .02em; }
.brand-sub { color: var(--clay); }
.site-footer .brand-mark {
  background: radial-gradient(circle at 50% 50%, rgba(224,179,97,.16) 0 40%, transparent 41%), transparent;
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}
.site-footer .brand-sub { color: var(--gold-soft); }

/* ---- Brass-edged buttons ------------------------------ */

.btn-clay {
  background: var(--clay);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.btn-primary { box-shadow: inset 0 0 0 1px rgba(224, 179, 97, .28); }
.btn-primary:hover { background: var(--clay); box-shadow: 0 12px 26px rgba(178, 58, 24, .3); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }

/* ---- Trust marquee: brass diamonds -------------------- */

.trust {
  background: var(--ink);
  border-color: rgba(224, 179, 97, .25);
}
.trust-item {
  color: var(--gold-soft);
  font-family: var(--serif-alt);
  font-size: 1.12rem;
  letter-spacing: .06em;
}
.trust-item::after {
  width: 7px; height: 7px;
  border-radius: 0;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: .8;
}

/* ---- Service cards: kolam corner ---------------------- */

.scard { border-radius: 4px 4px 4px 4px; }
.scard::after {
  content: "";
  position: absolute;
  right: -26px; bottom: -26px;
  width: 92px; height: 92px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: .16;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.scard:hover::after { transform: scale(1.15); opacity: .32; }
.scard::before { background: linear-gradient(var(--clay), var(--gold)); }
.scard-icon { border-color: var(--gold); }
.scard-icon svg { stroke: var(--clay); }
.scard:hover .scard-icon { background: var(--gold-tint); border-color: var(--gold); }
.scard-num { color: var(--gold); opacity: .22; font-family: var(--serif-alt); }

/* ---- Quote cards -------------------------------------- */

.qcard { border-radius: 4px; box-shadow: inset 0 0 0 1px var(--gold-tint); }
.qcard .stars { color: var(--gold); }
.qcard blockquote::first-letter { color: var(--clay); }
.qcard-av { background: var(--gold-tint); color: var(--clay); font-family: var(--serif-alt); }

/* ---- Filters, chips, forms ---------------------------- */

.chip { border-color: var(--line); }
.chip.active { background: var(--clay); border-color: var(--clay); }
.filters { box-shadow: inset 0 0 0 1px var(--gold-tint); }
.field select:focus, .field input:focus { border-color: var(--clay); }
input[type="range"] { accent-color: var(--clay); }

/* ---- Accordion + timeline ----------------------------- */

.acc-q::after { color: var(--gold); }
.acc-q { font-family: var(--display); font-weight: 500; }
.tl-year { font-family: var(--serif-alt); color: var(--clay); }
.tl-item::before { border-color: var(--gold); background: var(--gold-tint); }
.timeline { border-color: var(--gold-tint); }

/* ---- Check list: brass tick --------------------------- */

.check-list li::before {
  background: var(--gold-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.5l3 3 6-6' stroke='%23B23A18' fill='none' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}

/* ---- Spec grid + amenities ---------------------------- */

.spec-grid strong { font-family: var(--serif-alt); }
.amenity-grid li::before { transform: rotate(45deg); border-radius: 0; background: var(--gold); }

/* ---- Header / footer rules ---------------------------- */

.site-header { border-bottom-color: var(--gold-tint); }
.topbar { background: var(--ink); }
.topbar .dot { background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(224, 179, 97, .22); }
.site-footer { background: #150B08; }
.site-footer::before { top: 0; }
.site-footer h4 { color: var(--gold-soft); }
.site-footer a:hover { color: var(--gold-soft); }
.socials a:hover { background: var(--clay); border-color: var(--clay); }

.nav-links a::after { background: var(--clay); }
.page-head::before { z-index: 3; }

/* ---- Search bar --------------------------------------- */

.searchbar {
  border-radius: 4px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--gold-tint);
  border-color: var(--line);
}

/* ---- Sticky card / gallery ---------------------------- */

.sticky-card { box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--gold-tint); border-radius: 4px; }
.sticky-card-head .price { color: var(--clay); }
.agent-av { background: var(--gold-tint); color: var(--clay); font-family: var(--serif-alt); }
.gallery > *:first-child { border-radius: 50% 50% 4px 4px / 110px 110px 4px 4px; }
.gallery > *:not(:first-child) { border-radius: 4px; }

/* ---- Selection ---------------------------------------- */

::selection { background: var(--clay); color: var(--ivory); }

@media (max-width: 900px) {
  .gallery > *:first-child { border-radius: 50% 50% 4px 4px / 70px 70px 4px 4px; }
  .split-media { border-radius: 50% 50% 5px 5px / 90px 90px 5px 5px; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-card.tall { grid-row: auto; aspect-ratio: 3 / 4; }
  .searchbar { grid-template-columns: repeat(2, 1fr); }
  .searchbar .btn { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-media { aspect-ratio: 4 / 3; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .topbar-links { display: none; }
  .topbar .wrap { justify-content: center; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .gallery > *:first-child { grid-row: auto; aspect-ratio: 16/10; }
  .gallery > *:not(:first-child) { aspect-ratio: 16/10; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--sp-6); }
  .searchbar { grid-template-columns: 1fr; margin-top: 0; }
  .hero-stats { border-top: 0; }
  .hero-stats div { border-top: 1px solid rgba(250,247,242,.16); padding-inline: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
}
