/* ============================================================
   Marchetti Estates — Private Brokerage, Mumbai
   Dark luxe editorial system
   ============================================================ */

:root {
  /* Palette */
  --ink:        #1C1B19;
  --ink-deep:   #141311;
  --ink-soft:   #24221F;
  --ink-line:   #322E28;
  --gold:       #A9853F;
  --gold-bright:#C6A05A;
  --gold-glow:  rgba(169,133,63,0.16);
  --cream:      #F2ECE1;
  --cream-dim:  #B4ABA0;
  --cream-faint:#8B8479;
  --white:      #FCFAF6;

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.25rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--gold);
  color: var(--ink-deep);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 1px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
main { display: block; }

section { position: relative; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 1.3rem + 3.3vw, 3.5rem);
  color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold-bright); }

.lede {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem);
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 46ch;
  font-weight: 300;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 1rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
              color 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  color: var(--ink-deep);
  box-shadow: 0 12px 30px -12px rgba(169,133,63,0.55);
}
.btn--gold:hover { background: var(--gold-bright); box-shadow: 0 18px 40px -12px rgba(169,133,63,0.7); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(242,236,225,0.28);
}
.btn--ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.btn--full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20,19,17,0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(18,17,15,0.94);
  border-bottom-color: var(--ink-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
}
.brand__mark { flex: none; color: var(--gold); }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand__tag {
  font-size: 0.56rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 0.35rem;
  font-weight: 500;
}

.primary-nav { display: flex; align-items: center; gap: 2.2rem; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
}
.primary-nav__link {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease);
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold-bright);
  transition: width 0.35s var(--ease);
}
.primary-nav__link:hover,
.primary-nav__link:focus-visible { color: var(--white); }
.primary-nav__link:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--cream);
  margin-inline: auto;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,19,17,0.55) 0%, rgba(20,19,17,0.2) 30%, rgba(20,19,17,0.78) 78%, var(--ink) 100%),
    radial-gradient(120% 80% at 15% 90%, rgba(20,19,17,0.85) 0%, rgba(20,19,17,0) 55%);
}
.hero__inner {
  padding-top: clamp(6rem, 16vh, 12rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
}
.hero__content { max-width: 40rem; }
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.3rem + 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--white);
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.hero__title em { font-style: italic; color: var(--gold-bright); }
.hero__sub {
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1rem + 0.55vw, 1.3rem);
  color: var(--cream-dim);
  font-weight: 300;
  max-width: 40ch;
  line-height: 1.7;
}
.hero__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__note {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--cream-faint);
}
.hero__note::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.5rem, 8vh, 6rem);
  writing-mode: vertical-rl;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream-faint);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 3rem;
  background: linear-gradient(var(--gold-bright), transparent);
}
@media (max-width: 880px) { .hero__scroll { display: none; } }

/* ---------- Story ---------- */
.story { padding-block: var(--section-y); }
.story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.story__body p + p { margin-top: 1.25rem; }
.story__body .lede { margin-bottom: 1.75rem; }
.story__figure {
  position: relative;
  border: 1px solid var(--ink-line);
  padding: 0.75rem;
  background: var(--ink-soft);
}
.story__figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.story__figure figcaption {
  position: absolute;
  bottom: 1.6rem; left: 1.6rem; right: 1.6rem;
  background: rgba(18,17,15,0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--ink-line);
  padding: 0.9rem 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream);
}
.story__sign {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-bright);
}
.story__sign span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-top: 0.4rem;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stat {
  background: var(--ink);
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
}
.stat__num sup { font-size: 0.5em; vertical-align: super; }
.stat__label {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

/* ---------- Section header block ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head__title { max-width: 20ch; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head__aside {
  max-width: 34ch;
  color: var(--cream-dim);
  font-weight: 300;
  font-size: 0.98rem;
}

/* ---------- Residences ---------- */
.residences { padding-block: var(--section-y); background: var(--ink-deep); }
.residences__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.residence {
  position: relative;
  border: 1px solid var(--ink-line);
  background: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
              box-shadow 0.5s var(--ease);
}
.residence:hover {
  transform: translateY(-6px);
  border-color: rgba(169,133,63,0.5);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
}
.residence__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.residence__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.residence:hover .residence__media img { transform: scale(1.06); }
.residence__status {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-deep);
  background: var(--gold-bright);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
}
.residence__status--muted {
  background: rgba(18,17,15,0.82);
  color: var(--gold-bright);
  border: 1px solid var(--gold-bright);
  backdrop-filter: blur(4px);
}
.residence__body {
  padding: 1.6rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.residence__locality {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.residence__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-top: 0.5rem;
  line-height: 1.15;
}
.residence__desc {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--cream-dim);
  font-weight: 300;
}
.residence__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--ink-line);
  list-style: none;
  padding-left: 0;
}
.residence__specs li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.residence__specs .k {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.residence__specs .v {
  font-size: 0.95rem;
  color: var(--cream);
  font-weight: 500;
}
.residence__foot {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.residence__price {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-bright);
}
.residence__price small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-top: 0.15rem;
}
.residence__cta {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.residence__cta:hover { color: var(--gold-bright); gap: 0.7rem; }

.residences__foot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--cream-dim);
  font-weight: 300;
}
.residences__foot strong { color: var(--cream); font-weight: 500; }

/* ---------- Advisory (signature block) ---------- */
.advisory {
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden;
}
.advisory::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 85% 20%, var(--gold-glow) 0%, transparent 60%);
  pointer-events: none;
}
.advisory__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.advisory__panel {
  border: 1px solid var(--ink-line);
  background: linear-gradient(160deg, var(--ink-soft), var(--ink-deep));
  padding: clamp(1.75rem, 4vw, 3rem);
}
.advisory__steps { list-style: none; padding: 0; margin-top: 2rem; }
.advisory__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--ink-line);
}
.advisory__step:first-child { border-top: 0; padding-top: 0; }
.advisory__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-bright);
  line-height: 1;
  padding-top: 0.2rem;
}
.advisory__step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--white);
}
.advisory__step p {
  margin-top: 0.4rem;
  font-size: 0.94rem;
  color: var(--cream-dim);
  font-weight: 300;
}
.advisory__note {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.55;
}
.advisory__seal {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ---------- Gallery ---------- */
.gallery { padding-block: var(--section-y); background: var(--ink-deep); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(140px, 22vw, 230px);
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
}
.gallery__item {
  overflow: hidden;
  position: relative;
  border: 1px solid var(--ink-line);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
  filter: saturate(0.92) brightness(0.94);
}
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.gallery__item--wide { grid-column: span 4; grid-row: span 2; }
.gallery__item--tall { grid-column: span 2; grid-row: span 2; }
.gallery__item--std  { grid-column: span 2; grid-row: span 1; }
.gallery__cap {
  position: absolute;
  left: 1rem; bottom: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(18,17,15,0.7);
  border: 1px solid var(--ink-line);
  padding: 0.4rem 0.7rem;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }

/* ---------- Team ---------- */
.team { padding-block: var(--section-y); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.advisor {
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
  padding: 2rem 1.75rem;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.advisor:hover { border-color: rgba(169,133,63,0.5); transform: translateY(-4px); }
.advisor__mono {
  width: 58px; height: 58px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold-bright);
  margin-bottom: 1.4rem;
}
.advisor__name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
}
.advisor__role {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 0.4rem;
}
.advisor__bio {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  color: var(--cream-dim);
  font-weight: 300;
}

/* ---------- Testimonials ---------- */
.voices { padding-block: var(--section-y); background: var(--ink-deep); }
.voices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.voice {
  border: 1px solid var(--ink-line);
  background: var(--ink);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
}
.voice__quote-mark {
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.6;
  height: 1.4rem;
}
.voice__text {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--cream);
  margin-top: 1.25rem;
}
.voice__by {
  margin-top: auto;
  padding-top: 1.5rem;
}
.voice__name { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.voice__meta {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-top: 0.3rem;
}

/* ---------- Contact ---------- */
.contact { padding-block: var(--section-y); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.contact__aside .lede { margin-bottom: 2rem; }

.contact-lines { list-style: none; padding: 0; }
.contact-lines li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ink-line);
  align-items: start;
}
.contact-lines li:first-child { border-top: 0; }
.contact-lines .ico {
  color: var(--gold-bright);
  margin-top: 0.15rem;
  flex: none;
}
.contact-lines .k {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-faint);
  display: block;
  margin-bottom: 0.3rem;
}
.contact-lines .v { color: var(--cream); font-weight: 400; }
.contact-lines a.v:hover { color: var(--gold-bright); }

.contact__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cream);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.chip svg { flex: none; }
.chip--wa { color: var(--cream); }
.chip--wa svg { color: #37b653; }
.chip:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.chip--wa:hover { border-color: #37b653; color: #4fd06e; }

/* Form */
.enquiry {
  border: 1px solid var(--ink-line);
  background: linear-gradient(160deg, var(--ink-soft), var(--ink-deep));
  padding: clamp(1.6rem, 4vw, 2.75rem);
}
.enquiry__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 500;
  color: var(--white);
}
.enquiry__sub {
  margin-top: 0.6rem;
  color: var(--cream-dim);
  font-size: 0.95rem;
  font-weight: 300;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
  margin-top: 1.75rem;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.55rem;
  font-weight: 600;
}
.field label .req { color: var(--gold-bright); }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-bright) 50%),
                    linear-gradient(135deg, var(--gold-bright) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--cream-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
  background: var(--ink-soft);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 1px; }

.enquiry__submit { margin-top: 1.6rem; }
.enquiry__reassure {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--cream-faint);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.5;
}
.enquiry__reassure svg { flex: none; color: var(--gold-bright); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--ink-line);
}
.footer__brand .brand { margin-bottom: 1.25rem; }
.footer__blurb {
  color: var(--cream-dim);
  font-weight: 300;
  max-width: 42ch;
  font-size: 0.95rem;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.footer__col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer__col a, .footer__col span {
  color: var(--cream-dim);
  font-size: 0.9rem;
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: var(--cream); }

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer__social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  color: var(--cream-dim);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__social a:hover { border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-3px); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--cream-faint);
}
.footer__credit a {
  color: var(--cream-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer__credit a:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .residence:hover, .advisor:hover, .footer__social a:hover { transform: none; }
  * { animation: none !important; }
}

/* ---------- Thank-you page ---------- */
.thanks {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(4rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}
.thanks::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 50% 30%, var(--gold-glow), transparent 65%);
}
.thanks__inner { position: relative; max-width: 44rem; }
.thanks__seal {
  width: 74px; height: 74px;
  margin: 0 auto 2rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-bright);
}
.thanks__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.5rem + 3.5vw, 4rem);
  line-height: 1.05;
  color: var(--white);
}
.thanks__title em { font-style: italic; color: var(--gold-bright); }
.thanks__text {
  margin-top: 1.5rem;
  color: var(--cream-dim);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 300;
  max-width: 40ch;
  margin-inline: auto;
}
.thanks__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Sub-page hero band (contact page) */
.pagehead {
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--ink-line);
  position: relative;
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 90% 0%, var(--gold-glow), transparent 55%);
}
.pagehead__inner { position: relative; max-width: 52rem; }
.pagehead h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.4rem + 4vw, 4rem);
  line-height: 1.04;
  color: var(--white);
  margin-top: 1.25rem;
}
.pagehead h1 em { font-style: italic; color: var(--gold-bright); }
.pagehead p {
  margin-top: 1.4rem;
  color: var(--cream-dim);
  font-weight: 300;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  max-width: 46ch;
}
.crumb {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--cream-faint);
}
.crumb a:hover { color: var(--gold-bright); }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 760px) {
  .story__grid { grid-template-columns: 1.15fr 0.85fr; }
  .advisory__grid { grid-template-columns: 0.9fr 1.1fr; }
  .contact__grid { grid-template-columns: 0.92fr 1.08fr; }
}

@media (max-width: 900px) {
  .primary-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(18,17,15,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ink-line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-140%);
    transition: transform 0.5s var(--ease);
    max-height: calc(100vh - 82px);
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateY(0); }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .primary-nav__link {
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--ink-line);
    font-size: 1rem;
  }
  .primary-nav__link::after { display: none; }
  .primary-nav .btn { margin-top: 1.25rem; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
  .gallery__item--tall { grid-column: span 1; grid-row: span 2; }
  .gallery__item--std  { grid-column: span 1; grid-row: span 1; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .residence__foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .brand__tag { display: none; }
}
