/* ============================================================
   REALTY MATTERS — "Ivory Editions" light luxury theme
   Cormorant Garamond (display) + Manrope (interface)
   ============================================================ */

:root {
  --bg: #faf7f1;
  --bg-2: #ffffff;
  --bg-3: #f2ecdf;
  --bg-deep: #ece4d2;
  --ink: #171a21;
  --ink-soft: #333945;
  --muted: #646b78;
  --gold: #a8843c;
  --gold-deep: #8a6a2b;
  --gold-soft: #d8c290;
  --sage: #3c6b53;
  --line: rgba(23, 26, 33, 0.1);
  --line-strong: rgba(23, 26, 33, 0.18);
  --card-shadow: 0 18px 50px -18px rgba(64, 48, 12, 0.18);
  --card-shadow-hover: 0 34px 80px -22px rgba(64, 48, 12, 0.32);
  --radius: 22px;
  --radius-lg: 34px;
  --container: min(1280px, 92vw);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', 'Segoe UI', sans-serif;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #fff; }

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

/* ---------- ambient backdrop ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(46rem 30rem at 12% -6%, rgba(216, 194, 144, 0.4), transparent 62%),
    radial-gradient(40rem 28rem at 96% 12%, rgba(60, 107, 83, 0.13), transparent 60%),
    radial-gradient(50rem 36rem at 50% 110%, rgba(168, 132, 60, 0.16), transparent 65%);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, -3.5%, 0) scale(1.06); }
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-5%); } 60% { transform: translate(-5%,-2%); }
  80% { transform: translate(4%,4%); } 100% { transform: translate(0,0); }
}

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; display: flex;
  align-items: center; justify-content: center; flex-direction: column; gap: 18px;
  background: linear-gradient(160deg, #fdfbf7, #f2ecdf);
  transition: transform 0.9s var(--ease-lux), opacity 0.6s ease;
}
.preloader.done { transform: translateY(-100%); opacity: 0.4; pointer-events: none; }
.preloader-word {
  font-family: var(--serif); font-size: clamp(2rem, 6vw, 4.2rem);
  letter-spacing: 0.32em; text-indent: 0.32em; color: var(--ink); display: flex;
}
.preloader-word span { opacity: 0; transform: translateY(24px); animation: plLetter 0.7s var(--ease-lux) forwards; }
@keyframes plLetter { to { opacity: 1; transform: translateY(0); } }
.preloader-line {
  width: min(280px, 50vw); height: 1px; background: rgba(23,26,33,0.14);
  position: relative; overflow: hidden;
}
.preloader-line::after {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  transform: translateX(-100%); animation: plBar 1.4s var(--ease-lux) 0.2s forwards;
}
@keyframes plBar { to { transform: translateX(0); } }
.preloader-sub { font-size: 0.66rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); }

/* ---------- scroll progress + cursor ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  z-index: 130; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
}
.cursor-dot, .cursor-ring { display: none; }
@media (pointer: fine) {
  .cursor-dot {
    display: block; position: fixed; z-index: 150; top: 0; left: 0;
    width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep);
    pointer-events: none; transform: translate(-50%, -50%);
  }
  .cursor-ring {
    display: block; position: fixed; z-index: 149; top: 0; left: 0;
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(168, 132, 60, 0.55);
    pointer-events: none; transform: translate(-50%, -50%);
    transition: width 0.28s var(--ease-lux), height 0.28s var(--ease-lux),
                background 0.28s ease, border-color 0.28s ease;
  }
  .cursor-ring.is-active {
    width: 64px; height: 64px;
    background: rgba(168, 132, 60, 0.1); border-color: rgba(168, 132, 60, 0.85);
  }
}

/* ---------- layout primitives ---------- */
.container { width: var(--container); margin: 0 auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-tint { background: linear-gradient(180deg, transparent, rgba(236, 228, 210, 0.55) 18%, rgba(236, 228, 210, 0.55) 82%, transparent); }

.overline {
  display: inline-flex; align-items: center; gap: 12px;
  text-transform: uppercase; letter-spacing: 0.34em; font-size: 0.68rem;
  font-weight: 700; color: var(--gold-deep);
}
.overline::before { content: ''; width: 34px; height: 1px; background: var(--gold); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2.4rem; margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
}
.section-head h2 {
  font-family: var(--serif); font-weight: 520;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; margin-top: 12px;
}
.section-head h2 em { font-style: italic; color: var(--gold-deep); }
.section-head > p { max-width: 400px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 840px) { .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  overflow: hidden; transition: color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease-lux), box-shadow 0.35s ease;
  isolation: isolate;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold));
  transform: translateY(102%); transition: transform 0.45s var(--ease-lux);
}
.btn:hover { color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(138, 106, 43, 0.55); }
.btn:hover::before { transform: translateY(0); }
.btn-primary { background: var(--ink); color: #fdfbf7; border-color: var(--ink); }
.btn-gold { background: linear-gradient(120deg, var(--gold-deep), var(--gold)); color: #fff; border-color: transparent; }
.btn-gold::before { background: var(--ink); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 120; padding: 18px 0; transition: padding 0.4s ease; }
.nav-shell {
  width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; transition: all 0.45s ease;
}
.site-header.is-scrolled { padding: 10px 0; }
.site-header.is-scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  box-shadow: 0 18px 46px -22px rgba(35, 26, 6, 0.28);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--gold-soft); box-shadow: 0 6px 18px -8px rgba(138,106,43,0.6);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-weight: 800; letter-spacing: 0.2em; font-size: 0.86rem; }
.brand-name span { color: var(--gold-deep); }
.brand-sub { display: block; font-size: 0.55rem; letter-spacing: 0.4em; color: var(--muted); font-weight: 600; margin-top: 2px; }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  position: relative; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  padding: 6px 0; transition: color 0.3s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right center;
  transition: transform 0.4s var(--ease-lux);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-deep); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left center; }
.nav-cta { white-space: nowrap; }
.mobile-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 12px; width: 44px; height: 44px; font-size: 1.2rem;
  color: var(--ink); cursor: pointer;
}
@media (max-width: 980px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,0.97); border: 1px solid var(--line);
    border-radius: 22px; box-shadow: var(--card-shadow-hover);
    padding: 10px; display: none;
  }
  .nav-links a { padding: 14px 18px; border-radius: 14px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: var(--bg-3); }
  .nav-shell { position: relative; background: rgba(255,255,255,0.86); border-color: var(--line); backdrop-filter: blur(14px); }
  .nav-shell.open .nav-links { display: flex; }
  .mobile-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ---------- HOME hero ---------- */
.hero-full {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -3; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.6s ease;
}
.hero-slides img.active { opacity: 1; animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero-veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(250,247,241,0.42) 0%, rgba(250,247,241,0.05) 34%, rgba(250,247,241,0.55) 72%, var(--bg) 98%),
    linear-gradient(100deg, rgba(250,247,241,0.88) 0%, rgba(250,247,241,0.34) 46%, rgba(250,247,241,0.05) 75%);
}
.hero-inner { width: var(--container); margin: 0 auto; padding: 9rem 0 3rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.72); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 20px; backdrop-filter: blur(8px);
  font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-deep);
}
.hero-eyebrow .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 0 0 rgba(60,107,83,0.5); animation: pulseDot 2.2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(60,107,83,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(60,107,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(60,107,83,0); }
}
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 8.6vw, 7.2rem); line-height: 0.98;
  letter-spacing: -0.01em; margin: 26px 0 10px; max-width: 12ch;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; }
.hero-title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-deep) 10%, var(--gold-soft) 45%, var(--gold-deep) 85%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 5.5s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }
.hero-sub {
  font-size: clamp(0.98rem, 1.6vw, 1.16rem); color: var(--ink-soft);
  max-width: 520px; font-weight: 500;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-quicklinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-quicklinks a {
  display: inline-flex; flex-direction: column; gap: 1px;
  padding: 10px 18px; border-radius: 16px;
  background: rgba(255,255,255,0.78); border: 1px solid var(--line);
  backdrop-filter: blur(8px); transition: transform 0.3s var(--ease-lux), box-shadow 0.3s ease;
}
.hero-quicklinks a:hover { transform: translateY(-3px); box-shadow: var(--card-shadow); }
.hero-quicklinks span { font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.hero-quicklinks strong { font-size: 0.88rem; color: var(--ink); }

.hero-stats {
  display: flex; gap: clamp(1.4rem, 4vw, 3.4rem); margin-top: 42px;
  padding: 26px 0 6px; border-top: 1px solid var(--line-strong); flex-wrap: wrap;
}
.hero-stats .stat .num {
  font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1; color: var(--ink); font-weight: 560;
}
.hero-stats .stat .num b { color: var(--gold-deep); font-weight: 560; }
.hero-stats .stat p { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 8px; }

.scroll-cue {
  position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: 2.4rem;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--muted); font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: ''; width: 1px; height: 64px;
  background: linear-gradient(var(--gold), transparent);
  animation: cueDrop 2s var(--ease-lux) infinite;
}
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 840px) { .scroll-cue { display: none; } }

/* ---------- marquee ribbon ---------- */
.marquee {
  overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line);
  background: var(--bg-2); padding: 18px 0; position: relative;
}
.marquee-track { display: inline-flex; gap: 3.2rem; animation: marqueeMove 30s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 3.2rem;
  font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--ink-soft);
}
.marquee-item::after { content: '✦'; color: var(--gold); font-size: 0.9rem; font-style: normal; }
.marquee-gold { background: var(--ink); border: none; }
.marquee-gold .marquee-item { color: #efe6d2; }
.marquee-gold .marquee-item::after { color: var(--gold-soft); }

/* ---------- reveal & parallax helpers ---------- */
[data-reveal] { will-change: transform, opacity; }
html:not(.js-enabled) [data-reveal] { opacity: 1 !important; transform: none !important; }
.img-parallax-shell { overflow: hidden; border-radius: var(--radius-lg); }
.img-parallax-shell img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }

/* ---------- showcase (featured editorial rows) ---------- */
.showcase-row {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center; margin-bottom: clamp(3.4rem, 7vw, 6rem);
}
.showcase-row.flip .showcase-media { order: 2; }
.showcase-media { position: relative; }
.showcase-media .img-parallax-shell { aspect-ratio: 4 / 3; box-shadow: var(--card-shadow-hover); }
.showcase-media .index-ghost {
  position: absolute; top: -0.65em; left: -0.12em; z-index: 2;
  font-family: var(--serif); font-size: clamp(4.6rem, 9vw, 8rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(138, 106, 43, 0.5);
  pointer-events: none;
}
.showcase-row.flip .index-ghost { left: auto; right: -0.12em; }
.showcase-badge {
  position: absolute; bottom: 20px; left: 20px; z-index: 2;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 8px 18px; font-size: 0.64rem;
  letter-spacing: 0.24em; text-transform: uppercase; font-weight: 800; color: var(--gold-deep);
  border: 1px solid var(--line);
}
.showcase-copy .overline { margin-bottom: 6px; }
.showcase-copy h3 {
  font-family: var(--serif); font-weight: 530;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.06; margin: 10px 0 4px;
}
.showcase-copy .loc { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.showcase-copy .desc { color: var(--ink-soft); margin: 16px 0 22px; max-width: 46ch; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep);
}
.link-arrow .arr { transition: transform 0.35s var(--ease-lux); }
.link-arrow:hover .arr { transform: translateX(8px); }
@media (max-width: 900px) {
  .showcase-row, .showcase-row.flip { grid-template-columns: 1fr; }
  .showcase-row.flip .showcase-media { order: 0; }
}

/* ---------- project cards ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 1080px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  position: relative; background: var(--bg-2); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform 0.5s var(--ease-lux), box-shadow 0.5s ease;
  transform-style: preserve-3d;
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }
.project-card .card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.project-card .card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease-lux), filter 0.9s ease;
}
.project-card:hover .card-media img { transform: scale(1.08); }
.project-card .card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23,20,10,0.35));
  opacity: 0; transition: opacity 0.5s ease;
}
.project-card:hover .card-media::after { opacity: 1; }
.card-chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,0.92); border-radius: 999px; padding: 7px 14px;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 800; color: var(--gold-deep); border: 1px solid var(--line);
}
.project-body { padding: 22px 24px 26px; }
.project-meta { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.project-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 560; margin: 8px 0 6px; line-height: 1.12; }
.project-text { color: var(--muted); font-size: 0.9rem; min-height: 3.3em; }
.project-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
  transition: color 0.3s ease, gap 0.3s var(--ease-lux);
}
.project-link:hover { color: var(--gold-deep); gap: 14px; }

/* ---------- value / pillar cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  position: relative; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.5s var(--ease-lux), box-shadow 0.5s ease, border-color 0.4s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: var(--gold-soft); }
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-lux);
}
.value-card:hover::before { transform: scaleX(1); }
.value-card .glyph {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(216,194,144,0.35), rgba(168,132,60,0.14));
  color: var(--gold-deep); font-size: 1.3rem; margin-bottom: 18px;
  border: 1px solid rgba(168,132,60,0.25);
}
.value-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.93rem; }
.value-card .project-link { margin-top: 16px; }

/* ---------- process timeline ---------- */
.timeline-v { position: relative; max-width: 880px; margin: 0 auto; padding-left: 44px; }
.timeline-v::before {
  content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 1px;
  background: var(--line-strong);
}
.timeline-v .timeline-progress {
  position: absolute; left: 12px; top: 0; width: 1px; height: 100%;
  background: linear-gradient(var(--gold-deep), var(--gold-soft));
  transform-origin: top; transform: scaleY(0);
}
.timeline-step { position: relative; padding: 0 0 44px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: ''; position: absolute; left: -37px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(168,132,60,0.14);
}
.timeline-step .step-no {
  font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold-deep);
  letter-spacing: 0.1em;
}
.timeline-step h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 570; margin: 2px 0 8px; }
.timeline-step p { color: var(--muted); max-width: 56ch; }

/* ---------- reviews marquee ---------- */
.reviews-marquee { overflow: hidden; position: relative; padding: 8px 0 14px; }
.reviews-marquee::before, .reviews-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.reviews-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.reviews-marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.reviews-track { display: flex; gap: 24px; width: max-content; animation: marqueeMove 46s linear infinite; }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
.review-card {
  width: 360px; flex: none; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.4s var(--ease-lux), border-color 0.4s ease;
}
.review-card:hover { transform: translateY(-6px); border-color: var(--gold-soft); }
.review-stars { color: var(--gold); letter-spacing: 4px; font-size: 0.95rem; }
.review-head { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.review-card h4 { font-family: var(--serif); font-size: 1.25rem; font-weight: 620; }
.review-card p { color: var(--ink-soft); font-size: 0.92rem; font-style: italic; }
.review-card .quote-mark { font-family: var(--serif); font-size: 2.6rem; line-height: 0.6; color: var(--gold-soft); }
@media (max-width: 560px) { .review-card { width: 300px; } }

/* ---------- map ---------- */
.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--card-shadow-hover); position: relative;
  filter: saturate(0.92);
}
.map-frame iframe { width: 100%; height: 460px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(120deg, #14171e, #23283a 55%, #1b1509);
  color: #f4efe3; padding: clamp(3rem, 7vw, 5.4rem) clamp(1.6rem, 5vw, 4.4rem);
  text-align: center; isolation: isolate;
}
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%; z-index: -1; filter: blur(60px);
}
.cta-band::before { width: 380px; height: 380px; background: rgba(168,132,60,0.4); top: -160px; right: -80px; animation: blobFloat 12s ease-in-out infinite alternate; }
.cta-band::after { width: 300px; height: 300px; background: rgba(60,107,83,0.35); bottom: -140px; left: -60px; animation: blobFloat 14s ease-in-out infinite alternate-reverse; }
@keyframes blobFloat { to { transform: translate(30px, 26px) scale(1.15); } }
.cta-band .overline { color: var(--gold-soft); justify-content: center; }
.cta-band .overline::before { background: var(--gold-soft); }
.cta-band h2 { font-family: var(--serif); font-weight: 520; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; margin: 14px auto 12px; max-width: 22ch; }
.cta-band h2 em { font-style: italic; color: var(--gold-soft); }
.cta-band p { color: rgba(244,239,227,0.72); max-width: 56ch; margin: 0 auto; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn { color: #f4efe3; border-color: rgba(244,239,227,0.35); }
.cta-band .btn-gold { border-color: transparent; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(9rem, 16vw, 12rem) 0 clamp(2.4rem, 5vw, 4rem); position: relative; }
.page-hero .overline { margin-bottom: 8px; }
.page-title {
  font-family: var(--serif); font-weight: 510;
  font-size: clamp(2.6rem, 6.6vw, 5.2rem); line-height: 1.02; max-width: 16ch;
}
.page-title em { font-style: italic; color: var(--gold-deep); }
.page-hero .lead { margin-top: 18px; color: var(--muted); max-width: 62ch; font-size: 1.02rem; }

/* ---------- filters ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.filter-chip {
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--bg-2); color: var(--ink-soft); font-size: 0.72rem;
  font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: all 0.35s var(--ease-lux);
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.filter-chip.active {
  background: var(--ink); color: #fdfbf7; border-color: var(--ink);
  box-shadow: 0 12px 26px -12px rgba(23,26,33,0.5);
}

/* ---------- project detail ---------- */
.detail-hero { padding: clamp(8rem, 14vw, 10.5rem) 0 0; }
.detail-hero-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: end;
}
@media (max-width: 900px) { .detail-hero-grid { grid-template-columns: 1fr; } }
.detail-hero .img-parallax-shell { aspect-ratio: 16 / 11; box-shadow: var(--card-shadow-hover); }
.detail-title { font-family: var(--serif); font-weight: 520; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.02; margin: 10px 0 8px; }
.detail-tagline { color: var(--muted); font-size: 1.02rem; max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  border: 1px solid var(--line-strong); background: var(--bg-2); border-radius: 999px;
  padding: 8px 16px; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 800; color: var(--ink-soft);
}
.tag.tag-gold { border-color: var(--gold-soft); color: var(--gold-deep); background: rgba(216,194,144,0.16); }

.facts-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: clamp(2rem, 5vw, 3.4rem);
  box-shadow: var(--card-shadow);
}
.facts-strip .fact { background: var(--bg-2); padding: 22px 24px; }
.facts-strip .fact span { display: block; font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 6px; }
.facts-strip .fact b { font-family: var(--serif); font-size: 1.1rem; font-weight: 640; color: var(--ink); }
@media (max-width: 840px) { .facts-strip { grid-template-columns: repeat(2, 1fr); } }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 840px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-list { list-style: none; margin-top: 14px; display: grid; gap: 12px; }
.detail-list li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.detail-list li::before { content: '✦'; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 0.8rem; }

.gallery-masonry { columns: 3 300px; column-gap: 22px; }
.gallery-masonry figure {
  break-inside: avoid; margin: 0 0 22px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--card-shadow); cursor: zoom-in;
  position: relative;
}
.gallery-masonry img { width: 100%; transition: transform 0.8s var(--ease-lux); }
.gallery-masonry figure:hover img { transform: scale(1.06); }
.gallery-masonry figcaption {
  position: absolute; inset: auto 0 0; padding: 30px 16px 12px;
  background: linear-gradient(transparent, rgba(20,17,8,0.62));
  color: #f4efe3; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
  opacity: 0; transition: opacity 0.4s ease;
}
.gallery-masonry figure:hover figcaption { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 160; display: none;
  align-items: center; justify-content: center; padding: 4vmin;
  background: rgba(18, 15, 8, 0.9); backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; animation: lbIn 0.35s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 14px; box-shadow: 0 40px 120px rgba(0,0,0,0.6); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px; background: none; border: none;
  color: #f4efe3; font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------- about ---------- */
.owner-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.4rem);
  align-items: center;
}
@media (max-width: 900px) { .owner-grid { grid-template-columns: 1fr; } }
.owner-portrait { position: relative; }
.owner-portrait .img-parallax-shell { aspect-ratio: 4 / 5; box-shadow: var(--card-shadow-hover); }
.owner-portrait .img-parallax-shell img { object-position: center 22%; }
.owner-portrait::before {
  content: ''; position: absolute; inset: 26px -26px -26px 26px; z-index: -1;
  border: 1px solid var(--gold-soft); border-radius: var(--radius-lg);
}
.owner-exp-chip {
  position: absolute; bottom: -22px; left: -14px; z-index: 3;
  background: var(--ink); color: #f4efe3; border-radius: 18px; padding: 16px 22px;
  box-shadow: var(--card-shadow-hover);
}
.owner-exp-chip b { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-soft); display: block; line-height: 1; }
.owner-exp-chip span { font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 700; opacity: 0.75; }
.owner-copy h2 { font-family: var(--serif); font-weight: 520; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.05; margin: 10px 0 4px; }
.owner-copy .role { color: var(--gold-deep); letter-spacing: 0.26em; text-transform: uppercase; font-size: 0.7rem; font-weight: 800; }
.owner-copy p { color: var(--ink-soft); margin-top: 16px; line-height: 1.8; }
.quote-band {
  border-left: 3px solid var(--gold); background: var(--bg-2);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 26px 30px; margin-top: 26px;
  font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink);
  box-shadow: var(--card-shadow);
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info, .form {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--card-shadow);
}
.contact-info h2, .form h3 { font-family: var(--serif); font-weight: 560; font-size: 1.9rem; margin-bottom: 8px; }
.contact-item {
  display: flex; flex-direction: column; gap: 3px; padding: 18px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.contact-item:last-child { border-bottom: none; }
.contact-item span { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.contact-item a, .contact-item b { font-size: 1.05rem; font-weight: 700; color: var(--ink); transition: color 0.3s ease; }
.contact-item a:hover { color: var(--gold-deep); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.form input, .form select, .form textarea {
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 15px 18px; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(168,132,60,0.14);
}
.form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted); }

/* ---------- footer ---------- */
.footer { margin-top: clamp(3rem, 7vw, 5rem); }
.footer-shell {
  border-top: 1px solid var(--line-strong);
  padding: clamp(2.6rem, 6vw, 4.4rem) 0 2rem;
}
.footer-word {
  font-family: var(--serif); font-weight: 500; line-height: 0.94;
  font-size: clamp(3rem, 10vw, 8rem); letter-spacing: 0.02em;
  color: rgba(23,26,33,0.09); user-select: none; white-space: nowrap; overflow: hidden;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; }
@media (max-width: 840px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-note { color: var(--muted); font-size: 0.92rem; max-width: 40ch; margin-top: 10px; }
.footer h5 { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--ink-soft); font-size: 0.92rem; transition: color 0.3s ease, transform 0.3s ease; display: inline-block; }
.footer-links a:hover { color: var(--gold-deep); transform: translateX(4px); }
.footer-base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.4rem;
  color: var(--muted); font-size: 0.78rem;
}

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 125;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1faa53; color: #fff; border-radius: 999px; padding: 14px 22px;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em;
  box-shadow: 0 18px 40px -12px rgba(23, 128, 63, 0.6);
  transition: transform 0.35s var(--ease-lux), box-shadow 0.35s ease;
}
.wa-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 26px 54px -14px rgba(23,128,63,0.7); }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(31,170,83,0.45); animation: pulseDot 2.4s infinite;
}

/* ---------- perf & motion safety ---------- */
.perf-lite .aurora, .perf-lite .grain, .perf-lite .cursor-dot, .perf-lite .cursor-ring { display: none !important; }
.perf-lite .hero-slides img.active { animation: none; transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.15s !important; }
  .marquee-track, .reviews-track { animation: none !important; transform: none !important; flex-wrap: wrap; }
  .preloader { display: none; }
  html { scroll-behavior: auto; }
}
