/* ==========================================================
   Parque Cala Martina · A SURVEY OF PLACE · VOL. I
   Brand system per PCM Brand Guide (MMXXVI)
   ========================================================== */

:root {
  /* Palette — stratigraphy */
  --bone:       #F4EEE4;   /* 01 · Ibiza Bone — paper / ground */
  --bone-soft:  #EBE4D5;   /* tonal variant for alt sections */
  --olive:      #8A8A6B;   /* 02 · Olive Stone — mineral / shade */
  --pine:       #3E4A3B;   /* 03 · Pine Shadow — canopy / depth */
  --terracotta: #C46B4A;   /* 04 · Terracotta Sunset — accent rare */
  --navy:       #1F2A33;   /* 05 · Santa Eulària Navy — ink */

  --ink:       var(--navy);
  --ink-soft:  #4a5560;
  --muted:     #7c7f84;
  --line:      rgba(31, 42, 51, 0.14);
  --line-soft: rgba(31, 42, 51, 0.07);
  --paper:     var(--bone);

  /* Typography — three voices */
  --font-display: "Italiana", "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Crimson Pro", "Georgia", serif;
  --font-sans:    "Instrument Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "DM Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  font-feature-settings: "liga", "kern";
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1240px, 90%); margin: 0 auto; position: relative; }

/* ==========================================================
   Editorial chrome — coordinates strip
   ========================================================== */
.edge-strip {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 22px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  color: var(--olive);
  background: linear-gradient(180deg, transparent 0%, rgba(244, 238, 228, 0.86) 60%);
  pointer-events: none;
  text-transform: uppercase;
}
.edge-strip .plus { color: var(--olive); opacity: .7; }
.edge-strip .coord { color: var(--ink); opacity: .72; }
.edge-strip .folio { color: var(--olive); opacity: .8; }
@media (max-width: 700px) {
  .edge-strip .folio { display: none; }
  .edge-strip { padding: 8px 14px; font-size: 9px; }
}

/* Corner plus marks (decorative) */
.corner-plus {
  position: absolute; font-family: var(--font-mono); font-size: 14px;
  color: var(--olive); opacity: .6; pointer-events: none;
}
.corner-plus.tl { top: 16px; left: 22px; }
.corner-plus.tr { top: 16px; right: 22px; }

/* ==========================================================
   Loader
   ========================================================== */
.loader {
  position: fixed; inset: 0; background: var(--bone);
  z-index: 9999; display: grid; place-items: center;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.loader.gone { opacity: 0; visibility: hidden; }
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-display);
  color: var(--ink);
}
.loader-word {
  font-size: clamp(22px, 3.6vw, 36px);
  letter-spacing: .24em; text-transform: uppercase;
  opacity: 0; transform: translateY(14px);
  animation: loadIn .9s var(--ease) forwards;
}
.loader-word:nth-child(2) { animation-delay: .25s; }
.loader-word.accent { letter-spacing: .34em; }
@keyframes loadIn { to { opacity: 1; transform: translateY(0); } }

/* ==========================================================
   Navigation
   ========================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 238, 228, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.nav:not(.scrolled) { color: #fff; }
.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,.85); }
.nav:not(.scrolled) .nav-cta { border-color: rgba(255,255,255,.8); color: #fff; }
.nav:not(.scrolled) .nav-cta:hover { background: #fff; color: var(--ink); }
.nav:not(.scrolled) .nav-brand { color: #fff; }
.nav:not(.scrolled) .nav-brand .cmp-rule { background: rgba(255,255,255,.5); }
.nav:not(.scrolled) .nav-brand .cmp-bottom { color: rgba(255,255,255,.85); }

.nav-inner {
  width: min(1240px, 92%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Wordmark — per brand guide: Italiana, letterspaced */
.nav-brand {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 4px; line-height: 1;
  font-family: var(--font-display);
  color: var(--ink);
}
.nav-brand .cmp-top,
.nav-brand .cmp-bottom {
  font-size: 13px; letter-spacing: .38em; text-transform: uppercase;
  padding-left: .38em;
}
.nav-brand .cmp-bottom { color: var(--olive); letter-spacing: .44em; }
.nav-brand .cmp-rule {
  display: block; width: 52px; height: 1px;
  background: var(--ink); opacity: .55;
}

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding: 4px 0;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--terracotta); transition: right .4s var(--ease);
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a:hover::after { right: 0; }
.nav-links a.is-active { color: var(--terracotta); }
.nav-links a.is-active::after { right: 0; }
.nav:not(.scrolled) .nav-links a.is-active { color: #fff; }
.nav:not(.scrolled) .nav-links a.is-active::after { background: #fff; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink);
  padding: 10px 18px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--bone); }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative; min-height: 92vh;
  display: grid; place-items: center; overflow: hidden;
  padding: 80px 24px;
  color: #fff;
}
.hero-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 0.8s ease;
}
.hero-video.is-ready { opacity: 1; }
/* Mobile: never load/show the video — use the still image only */
@media (max-width: 900px) {
  .hero-video { display: none !important; }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(31,42,51,.2), rgba(31,42,51,.5) 60%, rgba(31,42,51,.65) 100%),
    linear-gradient(180deg, rgba(31,42,51,.25) 0%, rgba(31,42,51,.5) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 920px;
  opacity: 0; transform: translateY(18px);
  animation: heroIn 1.2s var(--ease) .9s forwards;
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255,255,255,.85); display: inline-block; margin-bottom: 28px;
}
.hero-coord {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .14em;
  color: rgba(255,255,255,.7); display: inline-block;
  margin-top: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 108px);
  line-height: 1.02; letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .accent { letter-spacing: .16em; font-size: 0.68em; display: block; margin-top: 4px; }

.hero-rule {
  display: block; width: 140px; height: 1px;
  background: rgba(255,255,255,.6); margin: 26px auto 22px;
}

.hero-sub {
  font-family: var(--font-body); font-style: italic; font-weight: 300;
  margin-top: 0; font-size: clamp(17px, 1.5vw, 22px);
  color: rgba(255,255,255,.92); max-width: 560px; margin-left: auto; margin-right: auto;
  line-height: 1.35;
}
.hero-sub strong { font-style: normal; font-weight: 400; display: block; }

.hero-actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 24px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  transition: all .3s var(--ease); border: 1px solid transparent;
}
.btn-primary { background: var(--terracotta); color: var(--bone); border-color: var(--terracotta); }
.btn-primary:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark {
  background: var(--ink); color: var(--bone);
  margin-top: 28px;
}
.btn-dark:hover { background: var(--terracotta); color: var(--bone); transform: translateY(-1px); }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center; color: rgba(255,255,255,.8);
}
.hero-scroll span {
  display: block; width: 1px; height: 40px; background: rgba(255,255,255,.5);
  margin: 0 auto 8px; position: relative; overflow: hidden;
}
.hero-scroll span::after {
  content: ""; position: absolute; top: -40px; left: 0; width: 100%; height: 40px;
  background: #fff; animation: scrollPulse 2.4s ease-in-out infinite;
}
.hero-scroll p {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
}
@keyframes scrollPulse { 0% { top: -40px; } 60% { top: 40px; } 100% { top: 40px; } }

/* ==========================================================
   Sections
   ========================================================== */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }

/* Section number — editorial § marker */
.sec-num {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
}
.sec-num::after {
  content: ""; flex: 1; height: 1px; background: var(--line); max-width: 240px;
}

.eyebrow {
  font-family: var(--font-mono);
  display: inline-block; font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 20px;
}
.eyebrow.light { color: rgba(255,255,255,.85); }

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.05; letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
}
.h-display em {
  font-family: var(--font-body);
  font-style: italic; font-weight: 300;
  color: var(--ink-soft); opacity: .8;
  text-transform: none; letter-spacing: 0;
  font-size: 0.62em; line-height: 1.2; display: block; margin-top: 14px;
}
.h-display.light { color: var(--bone); }
.h-display.light em { color: rgba(244,238,228,.85); }

/* Display with rule above/below (like brand guide cover) */
.h-ruled {
  text-align: center;
  padding: 0 0 4px;
}
.h-ruled::before, .h-ruled::after {
  content: ""; display: block; width: 220px; max-width: 40%; height: 1px;
  background: var(--line); margin: 18px auto;
}

.lede {
  font-family: var(--font-body); font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45; color: var(--ink); margin-bottom: 18px;
  font-weight: 400;
}
.lede em { font-style: italic; color: var(--olive); }

p { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

.grid-2 {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro {
  font-family: var(--font-body);
  font-size: 17px; color: var(--ink-soft); margin-top: 22px; max-width: 580px;
  line-height: 1.55;
}
.section-head.center .section-intro { margin-left: auto; margin-right: auto; }

/* Section backgrounds — alternating */
.intro       { background: var(--bone); }
.villas      { background: var(--bone); }
.lifestyle   { background: var(--bone-soft); }
.specs-section { background: var(--bone); }
.location    { background: var(--bone-soft); }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 40px; border-top: 1px solid var(--line);
}
.stat {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; padding-right: 0; }
.stat strong {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px); color: var(--ink); line-height: 1;
  letter-spacing: 0; text-transform: uppercase;
}
.stat span {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--olive); margin-top: 10px; display: block;
}

/* ==========================================================
   Marquee
   ========================================================== */
.marquee {
  background: var(--navy);
  color: var(--bone);
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex; gap: 30px; white-space: nowrap;
  animation: scrollX 55s linear infinite;
  font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone);
}
.marquee-track span:nth-child(odd) { color: var(--terracotta); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ==========================================================
   Villa cards (overview)
   ========================================================== */
.villa-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 900px) { .villa-cards { grid-template-columns: 1fr; } }
.villa-card {
  display: block; background: var(--bone); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
}
.villa-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(31,42,51,.1); }
.villa-card .vc-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.villa-card .vc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
  filter: saturate(1.02);
}
.villa-card:hover .vc-media img { transform: scale(1.04); }
.villa-card .vc-fig {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--bone);
  background: rgba(31,42,51,.55); padding: 5px 10px;
}
.villa-card .vc-body { padding: 24px 26px 28px; }
.villa-card .vc-tag {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 10px;
}
.villa-card h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 26px; line-height: 1.1; color: var(--ink); margin-bottom: 10px;
  letter-spacing: .06em; text-transform: uppercase;
}
.villa-card .vc-sub {
  font-family: var(--font-body); font-style: italic; font-size: 14px;
  color: var(--ink-soft); opacity: .7; margin-bottom: 10px; font-weight: 300;
}
.villa-card .vc-meta {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--olive); letter-spacing: .08em;
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
  text-transform: uppercase;
}
.villa-card .vc-meta span + span::before {
  content: "·"; margin-right: 12px; color: var(--line);
}
.villa-card .vc-desc {
  font-family: var(--font-body);
  font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 18px;
}
.villa-card .vc-price {
  font-family: var(--font-sans);
  font-size: 16px; letter-spacing: .01em; font-weight: 500;
  color: var(--ink);
  margin: 4px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  line-height: 1;
}
.villa-card .vc-link {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink);
  padding-bottom: 2px; display: inline-block;
}
.villa-card:hover .vc-link { color: var(--terracotta); border-bottom-color: var(--terracotta); }

/* ==========================================================
   Lifestyle gallery
   ========================================================== */
.gallery {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px; gap: 14px;
}
.gallery figure { overflow: hidden; background: var(--bone-soft); position: relative; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure::after {
  content: attr(data-fig);
  position: absolute; bottom: 10px; left: 14px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em;
  color: var(--bone); background: rgba(31,42,51,.55);
  padding: 4px 8px; text-transform: uppercase;
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery figure:hover::after { opacity: 1; }
.gallery .g1 { grid-column: span 4; grid-row: span 2; }
.gallery .g2 { grid-column: span 2; grid-row: span 1; }
.gallery .g3 { grid-column: span 2; grid-row: span 1; }
.gallery .g4 { grid-column: span 6; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery .g1 { grid-column: span 2; grid-row: span 1; }
  .gallery .g2, .gallery .g3 { grid-column: span 1; }
  .gallery .g4 { grid-column: span 2; grid-row: span 1; }
}

/* ==========================================================
   Spec cards
   ========================================================== */
.spec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 800px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-card {
  background: var(--bone); padding: 36px 32px;
  transition: background .3s var(--ease);
}
.spec-card:hover { background: var(--bone-soft); }
.spec-icon {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--terracotta); margin-bottom: 16px;
  letter-spacing: .22em; text-transform: uppercase;
}
.spec-card h4 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 22px; margin-bottom: 10px; color: var(--ink);
  letter-spacing: .06em; text-transform: uppercase;
}
.spec-card p {
  font-family: var(--font-body);
  color: var(--ink-soft); font-size: 14px; line-height: 1.6;
}

/* ==========================================================
   Page header (non-home pages)
   ========================================================== */
.page-header {
  position: relative;
  min-height: 58vh; display: grid; place-items: center;
  padding: 190px 24px 90px;
  color: #fff; overflow: hidden; text-align: center;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,42,51,.3) 0%, rgba(31,42,51,.55) 100%);
  z-index: 1;
}
.page-header .ph-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.page-header .ph-inner { position: relative; z-index: 2; max-width: 800px; }
.page-header .crumbs {
  display: flex; justify-content: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 22px;
}
.page-header .crumbs a:hover { color: var(--terracotta); }
.page-header .ph-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 20px; display: block;
}
.page-header h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 6vw, 78px); line-height: 1.02;
  letter-spacing: .08em; text-transform: uppercase;
}
.page-header .ph-sub {
  font-family: var(--font-mono);
  margin-top: 22px; font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.page-header .ph-coord {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .14em;
  color: rgba(255,255,255,.6); margin-top: 22px; display: inline-block;
}
.page-header .ph-price {
  font-family: var(--font-display);
  margin-top: 20px;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: .02em;
  color: #fff;
  line-height: 1;
}

/* ==========================================================
   Villa page storytelling — overture, interlude, full-bleed, closing
   ========================================================== */

/* Overture — one-line italic quote directly after page-header */
.overture {
  padding: clamp(48px, 7vw, 90px) 24px;
  text-align: center;
  background: var(--bone);
  border-bottom: 1px solid var(--line-soft);
}
.overture .ov-mark {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--terracotta);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.overture .ov-mark::before,
.overture .ov-mark::after {
  content: ""; width: 34px; height: 1px; background: var(--line);
}
.overture-quote {
  font-family: var(--font-body); font-style: italic; font-weight: 300;
  font-size: clamp(20px, 2.2vw, 30px); line-height: 1.4;
  color: var(--ink); max-width: 820px; margin: 0 auto;
  letter-spacing: 0;
}

/* Full-bleed panorama — cinematic breathing room */
.panorama {
  position: relative; overflow: hidden;
  height: clamp(320px, 60vh, 620px);
  background: var(--navy);
}
.panorama img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 20s linear;
}
.panorama.in img { transform: scale(1.06); }
.panorama::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,42,51,0) 0%, rgba(31,42,51,0) 60%, rgba(31,42,51,.35) 100%);
  pointer-events: none;
}
.panorama-caption {
  position: absolute; bottom: 22px; left: clamp(22px, 5vw, 60px);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(244,238,228,.85);
}
.panorama-caption::before {
  content: "— "; color: var(--terracotta);
}

/* Editorial interlude — prose paragraph on bone background */
.interlude {
  padding: clamp(80px, 11vw, 140px) 24px;
  background: var(--bone-soft);
  text-align: center;
}
.interlude-inner { max-width: 760px; margin: 0 auto; }
.interlude .sec-mark {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--olive);
  margin-bottom: 26px; display: inline-flex; align-items: center; gap: 14px;
}
.interlude .sec-mark::before,
.interlude .sec-mark::after {
  content: ""; width: 34px; height: 1px; background: var(--line);
}
.interlude-text {
  font-family: var(--font-body); font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55; color: var(--ink); margin-bottom: 14px;
}
.interlude-text em {
  font-style: italic; color: var(--ink-soft);
}

/* Closing quote — centered italic moment before CTA */
.closing-quote {
  padding: clamp(70px, 9vw, 110px) 24px;
  background: var(--bone); text-align: center;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.closing-quote p {
  font-family: var(--font-body); font-style: italic; font-weight: 300;
  font-size: clamp(18px, 2vw, 26px); line-height: 1.45;
  color: var(--ink); max-width: 640px; margin: 0 auto;
}
.closing-quote .cq-dot {
  display: block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--terracotta); margin: 22px auto 0;
}

/* Next villa — rich visual card instead of plain links */
.next-villa {
  position: relative; min-height: clamp(320px, 48vh, 480px);
  overflow: hidden;
  display: block;
  border-top: 1px solid var(--line-soft);
}
.next-villa-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform 1.5s var(--ease);
}
.next-villa:hover .next-villa-bg { transform: scale(1.04); }
.next-villa-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(31,42,51,.35) 0%, rgba(31,42,51,.7) 100%);
}
.next-villa-content {
  position: relative; z-index: 2;
  min-height: inherit; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: clamp(50px, 7vw, 90px) 24px;
  color: var(--bone);
}
.next-villa .nv-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .32em;
  text-transform: uppercase; color: rgba(244,238,228,.75);
  margin-bottom: 16px;
}
.next-villa .nv-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 14px;
}
.next-villa .nv-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02;
  letter-spacing: .06em; text-transform: uppercase;
}
.next-villa .nv-sub {
  font-family: var(--font-body); font-style: italic; font-weight: 300;
  font-size: 16px; color: rgba(244,238,228,.85); margin-top: 14px;
  max-width: 480px;
}
.next-villa .nv-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 26px; padding: 13px 22px;
  border: 1px solid rgba(244,238,228,.6);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.next-villa:hover .nv-arrow { border-color: var(--bone); background: rgba(244,238,228,.08); }

/* ==========================================================
   Floor plans — tabbed display with room list
   ========================================================== */
.floorplans {
  background: var(--bone-soft);
  padding: clamp(70px, 9vw, 110px) 0;
}
.fp-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: clamp(30px, 4vw, 48px); flex-wrap: wrap;
}
.fp-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4vw, 54px); line-height: 1.05;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
}
.fp-tabs {
  display: flex; gap: 0; border: 1px solid var(--line);
  background: var(--bone);
}
.fp-tab {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  padding: 14px 22px;
  background: transparent; color: var(--ink-soft);
  border: none; cursor: pointer;
  border-right: 1px solid var(--line);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.fp-tab:last-child { border-right: none; }
.fp-tab:hover { color: var(--ink); }
.fp-tab.is-active { background: var(--ink); color: var(--bone); }

.fp-stage {
  display: grid; grid-template-columns: 2.2fr 1fr; gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 900px) { .fp-stage { grid-template-columns: 1fr; } }

.fp-image-wrap {
  position: relative;
  background: var(--bone);
  border: 1px solid var(--line);
  overflow: hidden; cursor: zoom-in;
  aspect-ratio: 3/2;
}
.fp-image-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  display: block;
  opacity: 0; transition: opacity .4s var(--ease);
}
.fp-image-wrap img.is-visible { opacity: 1; }
.fp-zoom-hint {
  position: absolute; bottom: 14px; right: 14px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(31,42,51,.75);
  color: var(--bone);
  pointer-events: none;
  transition: background .3s var(--ease);
}
.fp-image-wrap:hover .fp-zoom-hint { background: var(--terracotta); }
.fp-zoom-hint svg { width: 16px; height: 16px; }

.fp-info .fp-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 8px;
}
.fp-info h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 20px;
  font-weight: 400;
}
.fp-rooms {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink);
  border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none;
}
.fp-rooms li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.fp-rooms li .ct {
  font-family: var(--font-display); font-size: 15px;
  color: var(--ink); letter-spacing: .06em;
}
.fp-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: 24px; border-top: 1px solid var(--line);
}
.fp-stats > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}
.fp-stats > div:nth-child(even) {
  border-right: none; padding-left: 16px;
}
.fp-stats dt {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--olive); margin-bottom: 6px;
}
.fp-stats dd {
  font-family: var(--font-display);
  font-size: 17px; letter-spacing: .05em; color: var(--ink);
}

/* ==========================================================
   Interiors — editorial mosaic grid
   ========================================================== */
.interiors {
  background: var(--bone);
  padding: clamp(70px, 9vw, 110px) 0;
}
.interiors-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 20px; margin-bottom: clamp(30px, 4vw, 48px);
}
.interiors-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4vw, 54px); line-height: 1.05;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
}
.interiors-head .lead {
  font-family: var(--font-body); font-style: italic; font-weight: 300;
  font-size: 15px; color: var(--ink-soft); max-width: 360px; line-height: 1.5;
  text-align: right;
}
@media (max-width: 700px) {
  .interiors-head { flex-direction: column; align-items: flex-start; }
  .interiors-head .lead { text-align: left; }
}
.interiors-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px; gap: 14px;
}
.interiors-grid figure { overflow: hidden; position: relative; background: var(--bone-soft); }
.interiors-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.interiors-grid figure:hover img { transform: scale(1.04); }
.interiors-grid figure::after {
  content: attr(data-fig);
  position: absolute; bottom: 10px; left: 12px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--bone);
  background: rgba(31,42,51,.65); padding: 4px 8px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.interiors-grid figure:hover::after { opacity: 1; }

/* Responsive layout spans */
.interiors-grid .i1 { grid-column: span 4; grid-row: span 2; }
.interiors-grid .i2 { grid-column: span 2; grid-row: span 2; }
.interiors-grid .i3 { grid-column: span 2; grid-row: span 2; }
.interiors-grid .i4 { grid-column: span 2; grid-row: span 1; }
.interiors-grid .i5 { grid-column: span 2; grid-row: span 1; }
.interiors-grid .i6 { grid-column: span 3; grid-row: span 2; }
.interiors-grid .i7 { grid-column: span 3; grid-row: span 2; }
.interiors-grid .i8 { grid-column: span 3; grid-row: span 2; }

@media (max-width: 900px) {
  .interiors-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .interiors-grid > figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .interiors-grid .i1 { grid-column: span 2 !important; }
}

/* ==========================================================
   Adjacent section spacing — consistent rhythm across site
   Strategy: strong padding only when the BG actually changes
   ========================================================== */

/* Pairs of same / similar background — one breath of space between */
.section.villas + .section.aerial,
.section.aerial + .section.lifestyle,
.section.lifestyle + .colophon,
.overture + .section,
.section + .section.aerial,
.section.aerial + .floorplans,
.floorplans + .interiors,
.interiors + .section.specs-section,
.floorplans + .section.specs-section,
.interiors + .interiors {
  padding-top: clamp(70px, 8vw, 110px);
}

.section.villas:has(+ .section.aerial),
.section.aerial:has(+ .floorplans),
.section.aerial:has(+ .section.lifestyle),
.floorplans:has(+ .interiors),
.floorplans:has(+ .section.specs-section),
.interiors:has(+ .section.specs-section) {
  padding-bottom: clamp(70px, 8vw, 110px);
}

/* Overture: breathing room on both sides */
.overture {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

/* ==========================================================
   Aerial site plan — interactive satellite photo
   ========================================================== */
.aerial {
  position: relative; padding: clamp(60px, 9vw, 110px) 0;
  background: var(--bone);
}
.aerial .sec-num { margin-bottom: 24px; }
.aerial-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 20px; margin-bottom: 28px;
}
.aerial-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink);
}
.aerial-head h2 em {
  font-family: var(--font-body); font-style: italic; font-weight: 300;
  color: var(--ink-soft); opacity: .8;
  text-transform: none; letter-spacing: 0;
  font-size: 0.56em; display: block; margin-top: 10px;
}
.aerial-caption {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive); max-width: 280px; text-align: right;
}
@media (max-width: 700px) {
  .aerial-head { flex-direction: column; align-items: flex-start; }
  .aerial-caption { text-align: left; }
}

.aerial-frame {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bone-soft);
  aspect-ratio: 16 / 9;
}
.aerial-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease), filter .6s var(--ease);
}
.aerial-frame:hover img { transform: scale(1.01); }

/* Villa hotspots — pinpoint markers */
.aerial-hotspot {
  position: absolute;
  width: 40px; height: 40px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  cursor: pointer;
  text-decoration: none;
  z-index: 2;
}
/* Pulse ring must not block adjacent taps */
.aerial-hotspot::before { pointer-events: none; }
.aerial-hotspot::after { pointer-events: none; }
/* Mobile: shrink tap target so the three houses don't overlap */
@media (max-width: 700px) {
  .aerial-hotspot { width: 26px; height: 26px; }
  .aerial-hotspot::after { width: 10px; height: 10px; }
}
/* Pulse ring */
.aerial-hotspot::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  animation: pulseRing 2.4s var(--ease) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(.6); opacity: .9; }
  80% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
/* Core dot */
.aerial-hotspot::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: var(--terracotta);
  border: 2px solid var(--bone);
  box-shadow: 0 0 0 1px var(--terracotta), 0 2px 8px rgba(31,42,51,.35);
  transition: transform .3s var(--ease);
  position: relative; z-index: 1;
}
.aerial-hotspot:hover::after { transform: scale(1.35); }
.aerial-hotspot.is-active::after {
  background: var(--terracotta);
  box-shadow: 0 0 0 2px var(--bone), 0 0 0 3px var(--terracotta), 0 2px 12px rgba(196,107,74,.6);
  transform: scale(1.2);
}

/* House name tag above hotspot — shown on hover / when active */
.aerial-hotspot .hs-tag {
  position: absolute;
  bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone); background: rgba(31,42,51,.9);
  padding: 7px 12px; white-space: nowrap;
  opacity: 0; transition: opacity .3s var(--ease);
  pointer-events: none;
}
.aerial-hotspot:hover .hs-tag,
.aerial-hotspot.is-active .hs-tag { opacity: 1; }
.aerial-hotspot.is-active .hs-tag { background: var(--terracotta); }

/* Zoom button in bottom-right of aerial frame */
.aerial-zoom {
  position: absolute; bottom: 20px; right: 20px; z-index: 3;
  height: 56px; padding: 0 22px 0 20px;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(31,42,51,.88);
  color: var(--bone);
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
  border: none;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.aerial-zoom:hover { background: var(--terracotta); transform: scale(1.04); }
.aerial-zoom svg { width: 24px; height: 24px; display: block; flex: none; }
.aerial-zoom .zoom-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--bone);
  white-space: nowrap;
  opacity: 1;
}

/* Lightbox modal */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(11, 12, 14, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; transition: opacity .35s var(--ease);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox-img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: scale(.97); transition: transform .45s var(--ease);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 22px; right: 24px;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid rgba(244,238,228,.3);
  color: var(--bone); cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.lightbox-close:hover { border-color: var(--terracotta); background: rgba(196,107,74,.2); }
.lightbox-close svg { width: 16px; height: 16px; }
.lightbox-caption {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(244,238,228,.65);
  text-align: center;
}

/* Prev / Next buttons */
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: transparent; border: 1px solid rgba(244,238,228,.25);
  color: var(--bone); cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  z-index: 2;
}
.lightbox-nav:hover { border-color: var(--terracotta); background: rgba(196,107,74,.15); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-nav svg { width: 18px; height: 18px; }
.lightbox-counter {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(244,238,228,.7);
}
@media (max-width: 700px) {
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
}

/* Make gallery and villa-hero-gallery figures clickable */
.gallery figure,
.villa-hero-gallery > figure,
.villa-hero-gallery .vhg-side figure { cursor: zoom-in; }

.aerial-legend {
  display: flex; gap: 24px; margin-top: 22px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-soft);
}
.aerial-legend span { display: flex; align-items: center; gap: 8px; }
.aerial-legend .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta);
  display: inline-block;
}
.aerial-footer {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em;
  color: var(--olive); margin-top: 16px; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ==========================================================
   Site plan — "Fig. 01 · The Three Houses"
   Shows the villa's position among its siblings
   ========================================================== */
.site-plan {
  background: var(--bone-soft);
  padding: 42px 24px 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.site-plan-inner { max-width: 880px; margin: 0 auto; position: relative; }
.site-plan-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.site-plan-label::after {
  content: ""; flex: 1; height: 1px; background: var(--line); max-width: 260px;
}
.site-plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  position: relative; padding: 18px 0 6px;
}
.site-plan-grid::before {
  content: ""; position: absolute; top: 36px; left: 17%; right: 17%; height: 1px;
  background: var(--ink); opacity: .35;
}
.site-plan-grid a {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative;
  padding: 0 6px;
  transition: opacity .3s var(--ease);
  text-decoration: none;
}
.site-plan-grid a:not(.is-active) { opacity: .45; }
.site-plan-grid a:not(.is-active):hover { opacity: .8; }
.sp-square {
  width: 28px; height: 28px; border: 1px solid var(--ink);
  display: grid; place-items: center;
  background: var(--bone-soft);
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.sp-square::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink);
}
.is-active .sp-square { border-color: var(--terracotta); border-width: 1px; }
.is-active .sp-square::after { background: var(--terracotta); }
.sp-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 4px;
}
.is-active .sp-label { color: var(--terracotta); }
.sp-name {
  font-family: var(--font-display); font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink);
}
.is-active .sp-name { color: var(--ink); }

/* ==========================================================
   Villa detail pages
   ========================================================== */
.villa-hero-gallery {
  display: grid; grid-template-columns: 2fr 1fr; gap: 14px;
  margin-bottom: clamp(50px, 7vw, 80px);
  align-items: stretch;
}
@media (max-width: 800px) { .villa-hero-gallery { grid-template-columns: 1fr; } }
.villa-hero-gallery > figure { overflow: hidden; aspect-ratio: 3/2; position: relative; }
.villa-hero-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.villa-hero-gallery .vhg-side {
  display: grid; grid-template-rows: 1fr 1fr; gap: 14px;
  height: 100%;
}
.villa-hero-gallery .vhg-side figure {
  overflow: hidden; position: relative;
  aspect-ratio: auto; height: 100%; min-height: 0;
}
@media (max-width: 800px) {
  .villa-hero-gallery .vhg-side figure { aspect-ratio: 3/2; height: auto; }
}

.spec-table {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line); margin-top: 28px;
}
.spec-table > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  padding-right: 24px;
}
.spec-table > div:nth-child(even) { padding-left: 24px; padding-right: 0; }
@media (max-width: 700px) {
  .spec-table { grid-template-columns: 1fr; }
  .spec-table > div { padding: 12px 0 !important; }
}
.spec-table dt {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--olive);
}
.spec-table dd {
  font-family: var(--font-mono); font-size: 13px; color: var(--ink);
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
/* Price row — spans both columns, subtle emphasis */
.spec-table .spec-price {
  grid-column: 1 / -1;
  padding: 18px 0 !important;
  align-items: center;
}
.spec-table .spec-price dt {
  color: var(--terracotta);
}
.spec-table .spec-price dd {
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--ink);
  font-weight: 500;
}

/* Navigate to next villa */
.villa-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin-top: clamp(50px, 6vw, 80px);
}
@media (max-width: 700px) { .villa-nav { grid-template-columns: 1fr; } }
.villa-nav a {
  background: var(--bone); padding: 26px 28px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background .3s var(--ease);
}
.villa-nav a:hover { background: var(--bone-soft); }
.villa-nav a.align-right { align-items: flex-end; text-align: right; }
.villa-nav .vn-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--olive);
}
.villa-nav .vn-title {
  font-family: var(--font-display); font-size: 20px; color: var(--ink);
  letter-spacing: .06em; text-transform: uppercase;
}

/* ==========================================================
   Location page
   ========================================================== */
.loc-list { margin-top: 28px; border-top: 1px solid var(--line); }
.loc-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.loc-list span {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--olive);
}
.loc-list strong {
  font-family: var(--font-display); font-size: 17px; font-weight: 400;
  color: var(--ink); letter-spacing: .04em; text-transform: uppercase;
}

.map-card {
  background: var(--bone); border: 1px solid var(--line);
  overflow: hidden;
}
.map-card iframe {
  width: 100%; height: 420px; border: 0; display: block;
}
.map-meta { padding: 20px 24px; border-top: 1px solid var(--line); }
.map-meta p {
  font-family: var(--font-mono);
  margin: 2px 0; color: var(--olive); font-size: 11px; letter-spacing: .1em;
}
.map-meta strong {
  color: var(--ink); font-family: var(--font-display); font-size: 17px;
  letter-spacing: .05em; text-transform: uppercase;
}

/* ==========================================================
   Neighbourhood — video + photo mosaic (location page)
   ========================================================== */
.neighbourhood {
  background: var(--bone);
  padding: clamp(80px, 10vw, 130px) 0;
}
.nb-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: clamp(30px, 4vw, 48px); flex-wrap: wrap;
}
.nb-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4vw, 54px); line-height: 1.05;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
}
.nb-head .lead {
  font-family: var(--font-body); font-style: italic; font-weight: 300;
  font-size: 15px; color: var(--ink-soft); max-width: 380px; line-height: 1.5;
  text-align: right;
}
@media (max-width: 700px) {
  .nb-head { flex-direction: column; align-items: flex-start; }
  .nb-head .lead { text-align: left; }
}

.nb-feature {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bone-soft); border: 1px solid var(--line);
}
.nb-feature video,
.nb-feature img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.4s var(--ease);
}
.nb-feature:hover img { transform: scale(1.04); }
.nb-feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,42,51,0) 50%, rgba(31,42,51,.55) 100%);
  pointer-events: none;
}

/* Mosaic grid — video + 3 places */
.nb-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.nb-grid .nb-feature { aspect-ratio: auto; }
.nb-grid .nb-video    { grid-column: span 4; grid-row: span 2; }
.nb-grid .nb-atzaro   { grid-column: span 2; grid-row: span 1; }
.nb-grid .nb-fumeral  { grid-column: span 2; grid-row: span 1; }
.nb-grid .nb-market   { grid-column: span 6; grid-row: span 1; }
@media (max-width: 900px) {
  .nb-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .nb-grid .nb-video { grid-column: span 2; grid-row: span 2; }
  .nb-grid .nb-atzaro { grid-column: span 1; grid-row: span 1; }
  .nb-grid .nb-fumeral { grid-column: span 1; grid-row: span 1; }
  .nb-grid .nb-market { grid-column: span 2; grid-row: span 1; }
}
.nb-caption {
  position: absolute; bottom: 22px; left: clamp(22px, 4vw, 40px);
  z-index: 2; color: var(--bone);
}
.nb-caption .nb-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 6px; display: block;
}
.nb-caption h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 36px); line-height: 1.05;
  letter-spacing: .06em; text-transform: uppercase;
}
.nb-caption .nb-meta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(244,238,228,.85);
  margin-top: 6px; display: block;
}

.media-wide { margin: clamp(50px, 7vw, 90px) 0; position: relative; }
.media-wide img { width: 100%; height: clamp(320px, 55vw, 600px); object-fit: cover; }
.media-wide .fig-caption {
  position: absolute; bottom: 18px; left: 24px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bone);
  background: rgba(31,42,51,.7); padding: 6px 10px;
}

/* ==========================================================
   CTA
   ========================================================== */
.cta {
  background: var(--navy); color: var(--bone);
  position: relative; overflow: hidden;
}
.cta .eyebrow { color: var(--terracotta); }
.cta .h-display { color: var(--bone); }
.cta .h-display em { color: rgba(244,238,228,.7); }
.cta-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center; }
.cta-sub {
  font-family: var(--font-body); font-style: italic;
  font-size: 17px; color: rgba(244,238,228,.75); max-width: 560px;
  margin: 20px auto 42px;
  line-height: 1.5;
}
.cta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(244,238,228,.12);
  border: 1px solid rgba(244,238,228,.12);
}
@media (max-width: 700px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-card {
  background: var(--navy);
  padding: 26px 22px; text-align: left; display: grid; gap: 6px;
  transition: background .3s var(--ease);
}
.cta-card:hover { background: #151d24; }
.cta-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--terracotta);
}
.cta-value {
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.3;
  color: var(--bone);
  letter-spacing: 0;
  font-weight: 400;
  text-transform: none;
}

/* ==========================================================
   Contact page
   ========================================================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  background: var(--bone); border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
}
.contact-form .fld { display: grid; gap: 6px; margin-bottom: 20px; }
.contact-form label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--olive);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  border: none; border-bottom: 1px solid var(--line);
  background: transparent; padding: 10px 0;
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  font-weight: 400;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none; border-bottom-color: var(--terracotta);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form button {
  margin-top: 12px; background: var(--ink); color: var(--bone);
  border: none; padding: 15px 30px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  cursor: pointer; transition: background .3s var(--ease);
}
.contact-form button:hover { background: var(--terracotta); }

.contact-aside .c-block { margin-bottom: 30px; }
.contact-aside h4 {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 10px;
}
.contact-aside p, .contact-aside a {
  font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  line-height: 1.65; letter-spacing: .01em; font-weight: 400;
}
.contact-aside a:hover { color: var(--terracotta); }

/* ==========================================================
   Colophon / quote banner
   ========================================================== */
.colophon {
  padding: clamp(50px, 7vw, 90px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bone);
}
.colophon-quote {
  font-family: var(--font-body); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--ink); line-height: 1.35;
  max-width: 720px; margin: 0 auto 22px;
}
.colophon-rule {
  width: 120px; height: 1px; background: var(--line);
  margin: 0 auto 22px;
}
.colophon-meta {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive);
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--navy); color: rgba(244,238,228,.7);
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: 44px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.1fr 2fr;
  gap: clamp(30px, 5vw, 70px); padding-bottom: 60px;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand { display: grid; gap: 20px; align-content: start; }
.footer-monogram {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-display);
  color: var(--bone);
  border: 1px solid rgba(244,238,228,.2);
  padding: 22px 28px; align-items: center;
  width: fit-content;
}
.footer-monogram .fm-cmp {
  font-size: 30px; letter-spacing: .38em; padding-left: .38em;
  color: var(--bone); font-weight: 400;
}
.footer-monogram .fm-rule {
  width: 56px; height: 1px; background: var(--terracotta); margin: 6px 0 4px;
}
.footer-monogram .fm-dot { width: 4px; height: 4px; background: var(--bone); border-radius: 50%; opacity: .9; }

.footer-logo { width: 90px; opacity: .92; filter: brightness(0) invert(1); }
.footer-exclusive {
  font-family: var(--font-body);
  font-size: 14px; color: var(--bone); line-height: 1.55;
}
.footer-exclusive strong {
  color: var(--terracotta); font-weight: 400; font-style: italic;
}

.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-cols h5 {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 14px; font-weight: 500;
}
.footer-cols li, .footer-cols p, .footer-cols a {
  font-family: var(--font-body);
  font-size: 14px; margin-bottom: 6px; line-height: 1.7; color: rgba(244,238,228,.75);
}
.footer-cols a:hover { color: var(--terracotta); }

.footer-bottom {
  border-top: 1px solid rgba(244,238,228,.14); padding-top: 22px;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; color: rgba(244,238,228,.5); letter-spacing: .14em;
  text-transform: uppercase;
}

/* ==========================================================
   Reveal
   ========================================================== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================
   Responsive
   ========================================================== */
/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; padding: 0;
  flex-direction: column; justify-content: center; gap: 5px;
  margin-left: 14px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); margin: 0 auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-brand .cmp-top, .nav-brand .cmp-bottom { font-size: 11px; letter-spacing: .3em; }

  /* Mobile menu overlay — slides from right */
  .nav-links {
    position: fixed; top: 0; right: 0;
    width: min(320px, 88vw); height: 100vh;
    background: var(--ink);
    flex-direction: column; justify-content: flex-start;
    padding: 100px 36px 40px; gap: 0;
    transform: translateX(100%);
    transition: transform .38s var(--ease);
    z-index: 90;
    box-shadow: -10px 0 40px rgba(0,0,0,.18);
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links li { list-style: none; border-bottom: 1px solid rgba(238,232,222,.12); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block; padding: 20px 0;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(238,232,222,.82) !important;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover,
  .nav-links a.is-active { color: var(--terracotta) !important; }

  /* Dim overlay behind the menu */
  body.nav-open::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(31,42,51,.5); z-index: 80;
  }
  /* Lock body scroll when menu is open */
  body.nav-open { overflow: hidden; }
}
