/* ============================================================
   Adrian Halim — Property Advisor
   Design system: editorial, premium, 2026
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Colors */
  --ivory: #f5f2ec;
  --ivory-2: #eeeae2;
  --ink: #1a1a17;
  --ink-soft: #4d4a43;
  --stone: #6b665c;     /* readable on light surfaces (5.1:1 on ivory) */
  --stone-dim: #98938a; /* muted text on dark surfaces */
  --line: #e3ded4;
  --accent: #9a7b4f;   /* muted bronze/champagne */
  --accent-deep: #7a5f3a;
  --white: #ffffff;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;

  /* Spacing */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 12vw, 9rem);

  /* Container */
  --container: 1320px;

  /* Radius */
  --r-sm: 8px;
  --r-lg: 20px;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.8s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px; /* offset fixed header for anchor jumps */
}

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 50% 30%, rgba(154,123,79,0.04), transparent 60%);
}

/* Subtle grain on dark sections for editorial depth */
.insights, .footer { position: relative; }
.insights::before, .footer::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.insights, .insights .container, .footer .container { position: relative; z-index: 1; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { font-weight: 400; line-height: 1.1; }

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1100;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible, .t-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  max-width: 18ch;
  font-variation-settings: "opsz" 100;
}

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head .section-title { max-width: 14ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  padding: 0.9rem 1.6rem;
  white-space: nowrap;
}

.btn .arrow { transition: transform 0.4s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--solid {
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  border-radius: 100px;
}
.btn--solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn--line {
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 100px;
  background: transparent;
}
.btn--line:hover { background: var(--ink); color: var(--ivory); }

.btn--text {
  padding: 0.5rem 0;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  position: relative;
}
.btn--text::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.btn--text:hover::after { transform: scaleX(1); transform-origin: left; }

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

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  background: var(--ink);
  display: grid; place-items: center;
  z-index: 1000;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__mark {
  font-family: var(--font-serif);
  color: var(--ivory);
  font-size: 2rem;
  letter-spacing: 0.1em;
  animation: pulse 1.4s ease infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot {
  display: none;
}
@media (pointer: fine) {
  .cursor, .cursor-dot {
    display: block;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
  }
  .cursor {
    width: 40px; height: 40px;
    border: 1px solid rgba(26,26,23,0.4);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
  }
  .cursor-dot {
    width: 5px; height: 5px;
    background: var(--accent);
  }
  .cursor.is-active {
    width: 64px; height: 64px;
    background: rgba(154,123,79,0.12);
    border-color: var(--accent);
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--gutter);
  color: var(--ivory);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(245,242,236,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  padding-block: 0.9rem;
  box-shadow: 0 1px 0 var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand__mark {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  line-height: 1;
}
.brand__name { font-size: 0.95rem; letter-spacing: 0.02em; font-weight: 500; }
.brand--light { color: var(--ivory); }

.site-nav { display: flex; gap: 2.2rem; }
.site-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 1.5rem; }
.header-cta {
  border-color: currentColor;
  color: inherit;
  background: transparent;
  font-size: 0.85rem;
}
.header-cta:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px; height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--ivory);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease), clip-path 0.6s var(--ease), visibility 0s linear 0.6s;
  clip-path: circle(0% at calc(100% - 3rem) 2.5rem);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: circle(150% at calc(100% - 3rem) 2.5rem);
  transition: opacity 0.5s var(--ease), clip-path 0.6s var(--ease), visibility 0s;
}
.mobile-menu__nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu__nav a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 3rem);
  padding: 0.3rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.is-open .mobile-menu__nav a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.29s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 0.43s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6) { transition-delay: 0.5s; }

.mobile-menu__foot {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  opacity: 0;
  transition: opacity 0.5s 0.5s;
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__foot span { color: var(--stone-dim); font-size: 0.85rem; letter-spacing: 0.05em; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
}
.hero__media { position: absolute; top: -120px; left: 0; right: 0; bottom: 0; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.08);
  animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,20,17,0.78) 0%, rgba(20,20,17,0.25) 40%, rgba(20,20,17,0.15) 100%);
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 5.5rem);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  max-width: 15ch;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  opacity: 0.92;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(245,242,236,0.18);
  padding-top: 1.8rem;
  max-width: 100%;
}
.hero__copy { max-width: 34ch; font-size: 1.02rem; color: rgba(245,242,236,0.88); }
.hero__actions { display: flex; align-items: center; gap: 1.5rem; }
.hero__actions .btn--text { color: var(--ivory); }
.hero__actions .btn--text::after { background: var(--ivory); }

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  text-align: right;
}
.hero__agent { display: flex; flex-direction: column; line-height: 1.5; font-size: 0.85rem; color: rgba(245,242,236,0.8); }
.hero__agent strong { font-family: var(--font-serif); font-size: 1.1rem; color: var(--ivory); font-weight: 400; }
.hero__scroll { font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(245,242,236,0.7); display: inline-flex; align-items: center; gap: 0.8rem; justify-content: flex-end; }
.scroll-line { width: 2px; height: 38px; background: rgba(245,242,236,0.4); position: relative; overflow: hidden; }
.scroll-line::after {
  content: "";
  position: absolute; top: -100%;
  left: 0; width: 100%; height: 100%;
  background: var(--ivory);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 100% { top: 100%; } }

/* ---------- Trust strip ---------- */
.trust { padding-block: clamp(3.5rem, 8vw, 6rem); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust__item { display: flex; flex-direction: column; gap: 0.4rem; }
.trust__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}
.trust__label { color: var(--stone); font-size: 0.82rem; letter-spacing: 0.06em; }

/* ---------- Reveal animation values ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal="image"] { overflow: hidden; transform: none; }
[data-reveal="image"] img { transform: scale(1.08); transition: transform 1.1s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="image"].is-visible img { transform: scale(1); }

/* ---------- Progressive image loading (LQIP) ---------- */
img[data-lqip] {
  filter: blur(16px);
  transition: filter 1s var(--ease);
}
img[data-lqip].is-loaded { filter: blur(0); }

/* ---------- Content visibility for below-fold sections ---------- */
@media (min-width: 768px) {
  .properties,
  .agent,
  .services,
  .neighborhoods,
  .insights,
  .testimonial,
  .seller,
  .contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
  }
}

/* ---------- Mobile: reset offset margin for small screens ---------- */
@media (max-width: 768px) {
  .prop--offset .prop__media { margin-right: 0; }
}

/* ---------- Properties ---------- */
.prop { margin-bottom: clamp(3rem, 8vw, 5.5rem); }
.prop:last-of-type { margin-bottom: 0; }

.prop__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ivory-2);
}
.prop__media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.prop:hover .prop__media img { transform: scale(1.03); }

.prop__tag {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  background: rgba(20,20,17,0.6);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
}
.prop__view {
  position: absolute;
  bottom: 1.4rem; left: 1.4rem;
  color: var(--ivory);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.prop:hover .prop__view { opacity: 1; transform: none; }

.prop__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-top: 1.3rem;
}
.prop__title h3 { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.prop__loc { display: block; color: var(--stone); font-size: 0.92rem; margin-top: 0.2rem; }
.prop__right { text-align: right; }
.prop__price { display: block; font-family: var(--font-serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.prop__specs { color: var(--stone); font-size: 0.85rem; margin-top: 0.3rem; }

/* Duo layout */
.prop--duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 8vw, 5.5rem);
}
.prop--duo .prop { margin-bottom: 0; }
.prop--v .prop__media img { aspect-ratio: 4/5; }

/* Offset feature */
.prop--offset .prop__media { margin-left: auto; margin-right: clamp(0rem, 8vw, 6rem); }
.prop--offset .prop__media img { aspect-ratio: 16/9; }
.prop--offset .prop__info { max-width: 900px; }

.section-foot { display: flex; justify-content: center; margin-top: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Agent ---------- */
.agent { background: var(--ivory-2); }
.agent__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.agent__portrait { position: relative; }
.agent__portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.agent__text .section-title { margin-bottom: 1.5rem; }
.agent__copy { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; color: var(--ink-soft); max-width: 52ch; }
.sig {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent-deep);
}
.agent__sig { margin-bottom: 1.8rem; }

/* ---------- Services ---------- */
.services__list { display: flex; flex-direction: column; gap: clamp(3rem, 8vw, 6rem); }
.service { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.service--right { grid-template-columns: 0.8fr 1.2fr; }
.service--right .service__media { order: 2; }
.service--right .service__body { order: 1; }
.service__media { overflow: hidden; border-radius: var(--r-lg); }
.service__media img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.service:hover .service__media img { transform: scale(1.03); }
.service__num { font-family: var(--font-serif); font-size: 1rem; color: var(--accent); display: block; margin-bottom: 1rem; }
.service__body h3 { font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.8rem; }
.service__body p { color: var(--ink-soft); max-width: 42ch; margin-bottom: 1.4rem; }

/* ---------- Neighborhoods ---------- */
.neighborhood__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.nhood {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 3/4;
}
.nhood img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.nhood:hover img { transform: scale(1.04); }
.nhood::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,17,0.72), rgba(20,20,17,0.05) 55%);
}
.nhood__name {
  position: absolute;
  left: 1.4rem; bottom: 2.6rem;
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  z-index: 2;
}
.nhood__meta {
  position: absolute;
  left: 1.4rem; bottom: 1.3rem;
  color: rgba(245,242,236,0.85);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  z-index: 2;
}
.nhood:hover .nhood__meta { opacity: 1; transform: none; }

/* ---------- Insights ---------- */
.insights { background: var(--ink); color: var(--ivory); }
.insights .section-title { color: var(--ivory); }
.insights .eyebrow { color: var(--stone-dim); }
.insights__list { display: flex; flex-direction: column; }
.insight {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  border-top: 1px solid rgba(245,242,236,0.14);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.insight:last-of-type { border-bottom: 1px solid rgba(245,242,236,0.14); }
.insight:hover { background: rgba(245,242,236,0.03); padding-inline: 1rem; }
.insight__index { font-family: var(--font-serif); font-size: 1.1rem; color: var(--accent); }
.insight__cat { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone-dim); }
.insight__body h3 { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin: 0.5rem 0; color: var(--ivory); }
.insight__body p { color: rgba(245,242,236,0.6); max-width: 56ch; font-size: 0.95rem; }
.insight__arrow { font-size: 1.4rem; color: var(--accent); transition: transform 0.4s var(--ease); }
.insight:hover .insight__arrow { transform: translateX(6px); }

/* ---------- Testimonial ---------- */
.testimonial__inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--accent);
  height: 60px;
  display: block;
  margin-bottom: 1rem;
}
.testimonial__inner blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  line-height: 1.3;
  font-weight: 300;
  transition: opacity 0.4s var(--ease);
}
.testimonial__inner figcaption {
  margin-top: 2rem;
  color: var(--ink-soft);
}
.testimonial__inner figcaption strong { display: block; font-weight: 500; color: var(--ink); }
.testimonial__inner figcaption span { font-size: 0.9rem; }
.testimonial__nav { display: flex; gap: 0.6rem; justify-content: center; margin-top: 2.5rem; }
.t-nav {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--stone);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.4s, transform 0.4s, border-color 0.4s;
}
.t-nav[aria-current="true"], .t-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}

/* ---------- Seller ---------- */
.seller { background: var(--ivory-2); }
.seller__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.seller__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); }
.seller__text .section-title { margin-bottom: 1.3rem; }
.seller__copy { color: var(--ink-soft); max-width: 46ch; font-size: 1.05rem; margin-bottom: 2rem; }
.seller__actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1;
  max-width: 10ch;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__options { display: flex; flex-direction: column; }
.contact__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  transition: padding 0.4s var(--ease);
}
.contact__row:last-of-type { border-bottom: 1px solid var(--line); }
.contact__row:hover { padding-inline: 0.8rem; }
.contact__label { color: var(--stone); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.contact__value { font-size: clamp(1rem, 2vw, 1.3rem); font-family: var(--font-serif); display: inline-flex; align-items: center; gap: 0.7rem; }
.contact__value .arrow { color: var(--accent); }
.contact__id { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--ink); color: var(--ivory); border-radius: var(--r-lg); }
.contact__id .sig { color: var(--accent); font-size: 2rem; }
.contact__id p { color: rgba(245,242,236,0.8); margin: 1rem 0 2rem; line-height: 1.6; }
.contact__id .btn--solid { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.contact__id .btn--solid:hover { background: var(--accent); color: var(--ivory); border-color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  position: relative;
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 2rem;
  padding-bottom: 4rem;
}
.footer__brand p { color: rgba(245,242,236,0.6); max-width: 34ch; margin-top: 1.2rem; font-size: 0.92rem; }
.footer__nav, .footer__social { display: flex; flex-direction: column; gap: 0.9rem; }
.footer__nav a, .footer__social a { color: rgba(245,242,236,0.8); font-size: 0.95rem; width: fit-content; }
.footer__nav a:hover, .footer__social a:hover { color: var(--accent); }
.footer__legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(245,242,236,0.14);
  padding-top: 1.6rem;
  color: rgba(245,242,236,0.5);
  font-size: 0.8rem;
}
.footer__name {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 18vw, 15rem);
  line-height: 0.8;
  color: rgba(245,242,236,0.06);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  transform: translateY(8%);
  pointer-events: none;
}

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ivory);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 80;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.4s;
}
.float-wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-wa:hover { background: var(--accent-deep); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal="image"], [data-reveal] img { opacity: 1 !important; transform: none !important; }
  .hero__media img { animation: none; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-header { color: var(--ivory); }
  .site-header.is-scrolled { color: var(--ink); }

  .hero__bottom { flex-wrap: wrap; }
  .hero__meta { text-align: left; align-items: flex-start; }

  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .agent__grid { grid-template-columns: 1fr; }
  .agent__portrait { max-width: 420px; }

  .neighborhood__grid { grid-template-columns: repeat(2, 1fr); }

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

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

@media (max-width: 768px) {
  .service, .service--right { grid-template-columns: 1fr; }
  .service--right .service__media { order: 0; }
  .service--right .service__body { order: 1; }
  .seller__grid { grid-template-columns: 1fr; }

  .prop--duo { grid-template-columns: 1fr; }
  .prop--offset .prop__media { margin-right: 0; }

  .hero__title { letter-spacing: 0; }
}

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

  .footer__grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__legal { flex-direction: column; }

  .hero__actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
}
