/* ==================================================================
   CONSCIENTE — Elevated Life
   Black & white, minimal. Edit the variables below to retune the site.
================================================================== */
:root {
  --black: #0a0a0a;
  --ink: #000000;
  --white: #ffffff;
  --grey-1: #1a1a1a;   /* placeholder blocks on black */
  --grey-2: #2a2a2a;   /* hairlines on black */
  --grey-3: #8a8a86;   /* muted text */
  --grey-4: #dcdcd8;   /* hairlines on white */
  --grey-5: #ecece8;   /* placeholder blocks on white */

  --serif: 'Cormorant Garamond', 'Cormorant', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 88px);
  --section: clamp(72px, 9vw, 140px);
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* Set to grayscale(1) for fully black & white photography */
  --photo-filter: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--white); color: #000; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  display: block;
}
.eyebrow--muted { color: inherit; }
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.04;
  letter-spacing: -.01em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 2.9vw, 42px);
  line-height: 1.15;
  letter-spacing: -.005em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 1.7vw, 26px);
  line-height: 1.25;
}
.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.35;
  max-width: 26em;
}
.h2 em, .display em, .statement em { font-style: italic; font-weight: 300; }
.statement--center { margin: 0 auto clamp(56px, 7vw, 110px); text-align: center; max-width: 30em; }
.h3--italic { font-style: italic; font-weight: 300; font-size: clamp(24px, 2.1vw, 32px); margin-bottom: 22px; }
.body { max-width: 34em; color: inherit; }
.body + .body { margin-top: 1.3em; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--light { background: var(--white); color: var(--ink); }
.section--tight { padding: calc(var(--section) * .6) 0; }
.rule { height: 1px; background: var(--grey-2); border: 0; margin: 0; }
.section--light .rule { background: var(--grey-4); }

.section-head {
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .eyebrow { padding-top: .7em; }
.section-head { text-align: center; }
.section-head .h2, .section-head .statement, .section-head .body,
.section-head .villa-about__note { margin-left: auto; margin-right: auto; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}
.split--top { align-items: start; }
.split--middle { align-items: center; }

/* ---------- link / button ---------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  padding-bottom: 10px;
  position: relative;
}
.link::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.link::after {
  content: '';
  width: 28px; height: 1px; background: currentColor;
  transition: width .5s var(--ease);
}
.link:hover::after { width: 52px; }
.link:hover::before { transform: scaleX(.35); }

.btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  padding: 20px 38px;
  border: 1px solid currentColor;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--white); color: #000; }
.section--light .btn:hover { background: var(--ink); color: var(--white); }

/* ---------- image holders (photo or placeholder) ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--grey-1);
  isolation: isolate;
}
.section--light .ph { background: var(--grey-5); }
.ph__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: var(--photo-filter);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s var(--ease), transform 1.6s var(--ease);
}
.ph.has-img .ph__img { opacity: 1; transform: none; }
a:hover > .ph.has-img .ph__img,
a:hover .ph--zoom.has-img .ph__img { transform: scale(1.045); }
.ph__label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  padding: 16px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: inherit;
  word-break: break-word;
}
.ph__label::before {
  content: '';
  width: 30px; height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6px currentColor;
  opacity: .6;
}
.ph__label small { font-size: 10px; letter-spacing: .08em; text-transform: none; }
.ph.has-img .ph__label { display: none; }
.ph::after { /* fine frame so placeholders read as intentional */
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(255, 255, 255, .06);
  pointer-events: none;
}
.section--light .ph::after { border-color: rgba(0, 0, 0, .06); }
.ph.has-img::after { display: none; }

.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-tall { aspect-ratio: 3 / 4; }
.ratio-wide { aspect-ratio: 16 / 9; }
.ratio-land { aspect-ratio: 3 / 2; }
.ratio-square { aspect-ratio: 1 / 1; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding-top: 16px; padding-bottom: 16px;
  border-bottom-color: var(--grey-2);
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand svg { width: 30px; height: 30px; }
.brand span {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-top: 2px;
}
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 46px); }
.nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  opacity: 1;
  transition: opacity .3s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { border: 1px solid rgba(255, 255, 255, .5); padding: 11px 20px !important; }
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--white); color: #000; }

.menu-toggle { display: none; width: 34px; height: 34px; position: relative; z-index: 61; }
.menu-toggle span {
  position: absolute; left: 4px; right: 4px; height: 1px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle span:first-child { top: 13px; }
.menu-toggle span:last-child { top: 21px; }
.menu-open .menu-toggle span:first-child { top: 17px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 17px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 clamp(48px, 7vw, 96px);
}
.hero--center { align-items: center; justify-content: center; text-align: center; }
.hero__media { position: absolute; inset: 0; }
.hero__media .ph__label { justify-content: flex-start; padding-top: 110px; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 35%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .82) 100%);
}
@media (max-width: 700px) { /* text covers more of the photo on phones */
  .hero:not(.hero--center) .hero__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .5) 62%, rgba(0, 0, 0, .88) 100%);
  }
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__logo { width: clamp(150px, 15vw, 210px); margin: 0 auto; }
.hero--center .hero__shade {
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, .2) 55%, rgba(0, 0, 0, .34) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .55) 100%);
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline;
  margin-bottom: clamp(18px, 2.4vw, 34px);
}
.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.hero__foot p { max-width: 30em; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 0; z-index: 2;
  width: 1px; height: 84px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
}
.scroll-cue::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--white);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ---------- philosophy / pillars ---------- */
.pillars__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 60px); }
.pillar__photo { aspect-ratio: 3 / 4; }
.pillar__num { font-family: var(--serif); font-size: 16px; font-style: italic; display: block; margin: 22px 0 6px; }
.pillar .h3 { margin-bottom: 10px; }
.pillars__count { display: none; }

/* wide screens: one photo stage on the left, the three ideas as an index on the right.
   Pointing at (or tabbing to) an idea opens it and wipes its photo in. */
@media (min-width: 1001px) {
  .pillars--live {
    --g: clamp(48px, 6.5vw, 128px);
    position: relative;
    display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--g); align-items: center;
  }
  .pillars--live::before { content: ''; grid-column: 1; grid-row: 1; aspect-ratio: 4 / 5; }
  .pillars--live .pillars__list { display: block; grid-column: 2; grid-row: 1; border-bottom: 1px solid rgba(17, 17, 17, .14); }

  .pillars--live .pillar__photo {
    position: absolute; left: 0; top: 0; z-index: 0;
    width: calc((100% - var(--g)) * 5 / 12); height: 100%;
    aspect-ratio: auto;
    clip-path: inset(100% 0 0 0);
  }
  .pillars--live .pillar.is-prev .pillar__photo { clip-path: inset(0 0 0 0); z-index: 1; }
  .pillars--live .pillar.is-active .pillar__photo { clip-path: inset(0 0 0 0); z-index: 2; transition: clip-path 1.2s var(--ease); }
  .pillars--live .pillar:not(.is-active):not(.is-prev) .ph__img { transform: scale(1.14); transition: none; }

  .pillars--live .pillar {
    display: grid; grid-template-columns: clamp(52px, 5.4vw, 92px) minmax(0, 1fr); align-items: baseline;
    padding: clamp(26px, 2.7vw, 42px) 0;
    border-top: 1px solid rgba(17, 17, 17, .14);
    background: linear-gradient(currentColor, currentColor) no-repeat left top / 0 1px;
    transition: background-size .9s var(--ease);
    outline: 0;
  }
  .pillars--live .pillar.is-active { background-size: 100% 1px; }
  .pillars--live.is-auto .pillar.is-active { background-size: 0 1px; transition: none; }
  .pillars--live.is-auto .pillar.is-active.is-timing { background-size: 100% 1px; transition: background-size 6s linear; }

  .pillars--live .pillar__num { margin: 0; transition: opacity .7s var(--ease); }
  .pillars--live .pillar .h3 {
    margin: 0;
    font-weight: 300; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.12; letter-spacing: -.005em;
    opacity: 1;
    transition: opacity .7s var(--ease), transform .9s var(--ease);
  }
  .pillars--live .pillar.is-active .pillar__num { opacity: 1; }
  .pillars--live .pillar.is-active .h3 { opacity: 1; transform: translateX(clamp(8px, 1vw, 18px)); }

  .pillars--live .pillar__more {
    display: grid; grid-template-rows: 0fr; opacity: 0;
    transition: grid-template-rows .9s var(--ease), opacity .5s var(--ease);
  }
  .pillars--live .pillar__more > div { overflow: hidden; min-height: 0; }
  .pillars--live .pillar__more .body { padding: 14px 0 4px clamp(8px, 1vw, 18px); max-width: 30em; }
  .pillars--live .pillar.is-active .pillar__more { grid-template-rows: 1fr; opacity: 1; transition-delay: 0s, .15s; }

  .pillars--live .pillars__count {
    display: flex; align-items: baseline; gap: 10px;
    position: absolute; z-index: 3; left: clamp(18px, 1.8vw, 30px); bottom: clamp(14px, 1.5vw, 24px);
    color: #fff; pointer-events: none;
    font-family: var(--serif); font-style: italic; font-size: 15px;
    text-shadow: 0 1px 18px rgba(0, 0, 0, .45);
  }
  .pillars--live .pillars__count b { font-weight: 300; font-size: clamp(34px, 3.2vw, 52px); line-height: 1; }
  .pillars--live .pillars__count span { }
}

/* ---------- amenities: photo tiles, description on hover ---------- */
.amenities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.amenity { position: relative; aspect-ratio: 4 / 5; overflow: hidden; color: var(--white); cursor: default; outline: 0; }
.amenity .ph { position: absolute; inset: 0; }
.amenity .ph__img { transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); }
.amenity::after { /* shade: light at rest for the name, deeper when the description opens */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 10, 10, .72), rgba(10, 10, 10, 0) 46%);
  transition: background-color .7s var(--ease);
}
.amenity__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 2.2vw, 34px); }
.amenity__num { font-family: var(--serif); font-size: 16px; font-style: italic; display: block; margin-bottom: 6px; }
.amenity__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--ease), opacity .5s var(--ease); }
.amenity__more p { overflow: hidden; min-height: 0; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6; max-width: 30em; }
.amenity__more p::before { content: ''; display: block; width: 36px; height: 1px; background: currentColor; opacity: .6; margin: 16px 0; }
.amenity:hover::after, .amenity:focus::after, .amenity.is-open::after { background-color: rgba(10, 10, 10, .62); }
.amenity:hover .ph.has-img .ph__img, .amenity:focus .ph.has-img .ph__img, .amenity.is-open .ph.has-img .ph__img { transform: scale(1.045); }
.amenity:hover .amenity__more, .amenity:focus .amenity__more, .amenity.is-open .amenity__more { grid-template-rows: 1fr; opacity: 1; }

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.35;
  padding-left: 28px;
  border-left: 1px solid currentColor;
  margin-top: 44px;
  max-width: 20em;
}

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--grey-2); }
.section--light .facts { border-color: var(--grey-4); }
.fact { padding: 30px 24px 0 0; }
.fact dt { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 10px; }
.fact dd { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); font-weight: 300; line-height: 1.1; }

/* ---------- locations ---------- */
.locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.location {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: min(78vh, 760px);
  padding: clamp(28px, 4vw, 64px);
  overflow: hidden;
}
.location .ph { position: absolute; inset: 0; }
.location::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 30%, rgba(0, 0, 0, .8) 100%);
  transition: opacity .8s var(--ease);
}
.location:hover::before { opacity: .7; }
.location__body { position: relative; z-index: 2; width: 100%; }
.location__top {
  position: absolute; z-index: 2; top: clamp(28px, 4vw, 64px); left: clamp(28px, 4vw, 64px); right: clamp(28px, 4vw, 64px);
  display: flex; justify-content: space-between;
}
.location__name { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; margin: 12px 0 26px; }
.location__name em { font-style: italic; }
.badge { border: 1px solid currentColor; padding: 6px 12px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }

/* ---------- villa gallery grid ---------- */
.villa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.4vw, 68px) clamp(12px, 1.2vw, 20px); }
.villa-card { display: block; }
.villa-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.villa-card__name { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; }
.villa-card__price { font-size: 13px; letter-spacing: .08em; white-space: nowrap; }
.villa-card__specs { font-size: 13px; letter-spacing: .04em; margin-top: 4px; }
.center-row { display: flex; justify-content: center; margin-top: clamp(56px, 8vw, 120px); }

/* ---------- villa slideshow ---------- */
.slider {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  min-height: min(86vh, 860px);
  border-top: 1px solid var(--grey-2);
  border-bottom: 1px solid var(--grey-2);
}
.slider__media { position: relative; overflow: hidden; display: block; min-height: 420px; background: var(--grey-1); }
.slider__layer {
  position: absolute; inset: 0;
  opacity: 0;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.3s var(--ease), opacity .2s linear;
}
.slider__layer.is-active { opacity: 1; clip-path: inset(0 0 0 0); }
.slider__layer.is-back { clip-path: inset(0 100% 0 0); }
.slider__layer.is-back.is-active { clip-path: inset(0 0 0 0); }
.slider__info {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 3.6vw, 60px);
  border-left: 1px solid var(--grey-2);
}
.slider__count { display: flex; justify-content: space-between; align-items: baseline; }
.slider__count b { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 76px); line-height: 1; }
.slider__count span { font-size: 11px; letter-spacing: .3em; }
.slider__text { transition: opacity .35s ease, transform .6s var(--ease); padding: 40px 0; }
.slider__text.is-changing { opacity: 0; transform: translateY(12px); }
.slider__name { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4.2vw, 68px); line-height: 1.02; margin: 16px 0 34px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-bottom: 40px; }
.specs div { padding: 14px 0; border-top: 1px solid var(--grey-2); }
.section--light .specs div { border-color: var(--grey-4); }
.specs dt { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; }
.specs dd { font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.slider__nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.slider__next { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; text-align: right; }
.slider__next b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: 0; text-transform: none; opacity: 1; }
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 56px; height: 56px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.arrow:hover { background: var(--white); color: #000; border-color: var(--white); }
.arrow svg { width: 18px; height: 18px; }
.slider__progress { height: 1px; background: var(--grey-2); position: relative; margin-top: -1px; }
.slider__progress span { position: absolute; left: 0; top: 0; height: 1px; background: var(--white); transition: width .9s var(--ease); }

/* ---------- looping video ---------- */
.clip {
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--grey-5);
  filter: var(--photo-filter);
}

/* ---------- the place: text column matched to a vertical video ---------- */
.place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 31vw, 460px);
  gap: clamp(40px, 7vw, 120px);
  align-items: stretch;
}
.place__text { display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 2.6vw, 40px); }
.place__head .eyebrow { margin-bottom: clamp(28px, 3vw, 44px); }
.place__head .statement { font-size: clamp(27px, 3.1vw, 46px); line-height: 1.18; max-width: 15em; }
.place__copy { columns: 2; column-gap: clamp(28px, 3vw, 48px); margin-bottom: clamp(40px, 4.5vw, 64px); max-width: 44em; }
.place__copy .body { max-width: none; break-inside: avoid; }
.place__copy .body + .body { margin-top: 0; }
.place .facts .fact { padding-top: 24px; }
.place .facts dd { font-size: clamp(20px, 1.7vw, 26px); }
.place__video { max-width: none; margin: 0; }
@media (max-width: 1100px) {
  .place__copy { columns: 1; }
  .place__copy .body + .body { margin-top: 1.3em; }
  .place .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
}
@media (max-width: 760px) {
  .place { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .place__text { display: contents; }
  .place__video { order: 1; }
  .place__foot { order: 2; }
}

/* ---------- centred note ---------- */
.note { max-width: 620px; margin: 0 auto; text-align: center; }
.note .h2 { margin-bottom: 26px; }
.note .body { margin-left: auto; margin-right: auto; }
.note--wide { max-width: 860px; }
.note .statement { max-width: none; font-size: clamp(21px, 2vw, 30px); }

/* ---------- team ---------- */
.team { --gap: clamp(24px, 3.4vw, 60px); display: flex; flex-wrap: wrap; justify-content: center; gap: 56px var(--gap); max-width: 1180px; margin: 0 auto; }
.member { text-align: center; flex: 0 1 calc((100% - 2 * var(--gap)) / 3); min-width: 0; }
.member .h3 { margin: 24px 0 10px; }
@media (max-width: 700px) {
  .team { max-width: 380px; gap: 48px; }
  .member { flex-basis: 100%; }
}

/* ---------- photo gallery ---------- */
.section-title { text-align: center; margin-bottom: clamp(36px, 4.5vw, 64px); }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, .8vw, 12px); }
.photo-grid__item { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey-3, #e6e6e2); cursor: zoom-in; }
.photo-grid__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* mosaic: ten photos in three bands of different sizes (Sacred Valley) */
.photo-grid--mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(44px, 6.4vw, 104px); gap: clamp(8px, 1vw, 16px); }
.photo-grid--mosaic .photo-grid__item { aspect-ratio: auto; height: 100%; }
.photo-grid--mosaic .photo-grid__item:nth-child(1)  { grid-area: 1 / 1 / 6 / 9; }
.photo-grid--mosaic .photo-grid__item:nth-child(2)  { grid-area: 1 / 9 / 3 / 13; }
.photo-grid--mosaic .photo-grid__item:nth-child(4)  { grid-area: 3 / 9 / 6 / 13; }
.photo-grid--mosaic .photo-grid__item:nth-child(5)  { grid-area: 6 / 1 / 10 / 6; }
.photo-grid--mosaic .photo-grid__item:nth-child(6)  { grid-area: 6 / 6 / 10 / 9; }
.photo-grid--mosaic .photo-grid__item:nth-child(3)  { grid-area: 6 / 9 / 10 / 13; }
.photo-grid--mosaic .photo-grid__item:nth-child(8)  { grid-area: 10 / 1 / 13 / 4; }
.photo-grid--mosaic .photo-grid__item:nth-child(10) { grid-area: 13 / 1 / 15 / 4; }
.photo-grid--mosaic .photo-grid__item:nth-child(9)  { grid-area: 10 / 4 / 15 / 10; }
.photo-grid--mosaic .photo-grid__item:nth-child(7)  { grid-area: 10 / 10 / 15 / 13; }
.note .h3 { margin-bottom: 18px; }
.note + .photo-grid { margin-top: clamp(36px, 4.5vw, 64px); }
.photo-grid__item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: var(--photo-filter);
  transition: transform 1.4s var(--ease), opacity .6s ease;
}
.photo-grid__item:hover img { transform: scale(1.04); opacity: .9; }
.section--light .arrow { border-color: rgba(0, 0, 0, .28); }
.section--light .arrow:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- villa index (list) ---------- */
.index { border-top: 1px solid var(--grey-2); }
.index__row {
  display: grid;
  grid-template-columns: 70px minmax(0, 2.4fr) repeat(4, minmax(0, 1fr)) 40px;
  align-items: baseline;
  gap: 16px;
  padding: 22px 12px;
  border-bottom: 1px solid var(--grey-2);
  transition: background .35s var(--ease), color .35s var(--ease), padding .5s var(--ease);
}
a.index__row:hover { background: var(--white); color: #000; padding-left: 28px; }
.index__row span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.index__row .index__name { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); letter-spacing: 0; text-transform: none; opacity: 1; line-height: 1.15; }
.index__row--head { padding-top: 0; padding-bottom: 14px; }
.index__row--head span { font-size: 10px; letter-spacing: .28em; }
.index__arrow { text-align: right; }

/* ---------- mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 24px); }

/* ---------- villa page ---------- */
.villa-specs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-bottom: 1px solid var(--grey-2); }
.villa-specs div[hidden] { display: none; }
.villa-specs div { padding: 34px var(--gutter) 34px 0; }
.villa-specs div + div { padding-left: clamp(16px, 2.4vw, 40px); border-left: 1px solid var(--grey-2); }
.villa-specs dt { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 8px; }
.villa-specs dd { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; line-height: 1.1; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 26px); }
.gallery__item { aspect-ratio: 3 / 2; cursor: default; display: block; width: 100%; }
.gallery__item.has-img { cursor: zoom-in; }
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery--plans .gallery__item { aspect-ratio: 16 / 9; background: var(--black); }
.gallery--plans .gallery__item--center { grid-column: 1 / -1; width: calc(50% - clamp(6px, .8vw, 13px)); margin: 0 auto; }
.ph--contain .ph__img { background-size: contain; background-repeat: no-repeat; }
.ph--top .ph__img { background-position: center top; }
.villa-about__text { margin-top: clamp(26px, 3vw, 44px); }
.villa-about__text .body { max-width: 38em; }
.villa-about__note { margin-top: clamp(26px, 3vw, 44px); padding-top: 18px; border-top: 1px solid var(--grey-2); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; max-width: 46em; }
.villa-about__cta { margin-top: clamp(30px, 3.4vw, 48px); }
.villa-map { background: #e9eaea; color: var(--ink); }
.villa-map__head { display: flex; justify-content: center; text-align: center; align-items: baseline; gap: 24px 48px; flex-wrap: wrap; padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(8px, 1.4vw, 20px); }
.villa-map__head .body { max-width: 30em; font-size: clamp(16px, 1.25vw, 19px); }
.villa-map img { display: block; width: 100%; height: auto; }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--grey-2); }
.pager a { padding: clamp(40px, 6vw, 96px) var(--gutter); transition: background .5s var(--ease), color .5s var(--ease); }
.pager a + a { border-left: 1px solid var(--grey-2); text-align: right; }
.pager a:hover { background: var(--white); color: #000; }
.pager b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; margin-top: 10px; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 5, .97);
  display: none; align-items: center; justify-content: center;
  padding: 72px clamp(16px, 7vw, 110px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; filter: var(--photo-filter); }
.lightbox__close { position: absolute; top: 24px; right: var(--gutter); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.lightbox__count { position: absolute; top: 24px; left: var(--gutter); font-size: 11px; letter-spacing: .3em; }
.lightbox .arrow { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .arrow--prev { left: clamp(8px, 2vw, 32px); }
.lightbox .arrow--next { right: clamp(8px, 2vw, 32px); }

/* ---------- enquire ---------- */
.cta { text-align: center; }
.cta .h2 { max-width: 16em; margin: 18px auto 36px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.field { display: block; margin-bottom: 28px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; display: block; }
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  font: inherit; font-family: var(--serif); font-size: 22px;
  padding: 10px 0 12px;
  outline: none;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select option { color: #000; }
.form button { justify-self: start; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--grey-2); padding: clamp(40px, 4.5vw, 64px) 0; }
.footer__min { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer__email { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; transition: opacity .3s; }
.footer__email:hover { opacity: 1; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__logo { width: 110px; }
.footer__col h4 { font-family: var(--sans); font-size: 10px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col a { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.7; transition: opacity .3s; }
.footer__col a:hover { opacity: 1; font-style: italic; }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(56px, 7vw, 110px); padding-top: 24px;
  border-top: 1px solid var(--grey-2);
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
}

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-delay='1'] { transition-delay: .12s; }
.js [data-reveal][data-delay='2'] { transition-delay: .24s; }
.js [data-reveal][data-delay='3'] { transition-delay: .36s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 60;
    background: var(--black);
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 22px;
    padding: 0 var(--gutter);
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 36px; letter-spacing: 0; text-transform: none; opacity: 1; }
  .nav__cta { border: 0; padding: 6px 0 !important; }
  .nav__cta:hover { background: none; color: inherit; }
  .brand { position: relative; z-index: 61; }

  .section-head, .split { grid-template-columns: minmax(0, 1fr); }
  .section-head .eyebrow { padding-top: 0; }
  .pillars__list { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .pillar { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; }
  .pillar__photo { grid-column: 1 / -1; aspect-ratio: 5 / 4; margin-bottom: 24px; }
  .pillar__num { margin: 0; }
  .pillar .h3 { font-weight: 300; font-size: clamp(22px, 4.2vw, 27px); line-height: 1.15; margin-bottom: 10px; }
  .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .locations { grid-template-columns: minmax(0, 1fr); }
  .location { min-height: 72vh; }
  .villa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slider { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .slider__media { aspect-ratio: 4 / 3; min-height: 0; }
  .slider__info { border-left: 0; border-top: 1px solid var(--grey-2); }
  .index__row { grid-template-columns: 44px minmax(0, 1fr) 70px 30px; }
  .index__row > :nth-child(3), .index__row > :nth-child(5), .index__row > :nth-child(6) { display: none; }
  .villa-specs { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .villa-specs div:nth-child(n) { padding: 24px 16px 24px 0; border-left: 0; border-top: 1px solid var(--grey-2); }
  .villa-specs div:first-child { grid-column: 1 / -1; border-top: 0; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .mosaic { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .brand span { font-size: 17px; }
  .villa-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .amenities { grid-template-columns: minmax(0, 1fr); }
  .gallery--plans .gallery__item--center { width: 100%; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager a + a { border-left: 0; border-top: 1px solid var(--grey-2); text-align: left; }
  .slider__next { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 700px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid__item:first-child { grid-row: auto; aspect-ratio: 3 / 2; }
  .photo-grid--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .photo-grid--mosaic .photo-grid__item:nth-child(n) { grid-area: auto; height: auto; aspect-ratio: 4 / 5; }
  .photo-grid--mosaic .photo-grid__item:nth-child(1),
  .photo-grid--mosaic .photo-grid__item:nth-child(6),
  .photo-grid--mosaic .photo-grid__item:nth-child(9) { grid-column: span 2; aspect-ratio: 4 / 3; }
  .photo-grid--mosaic .photo-grid__item:nth-child(10) { grid-column: span 2; aspect-ratio: 2 / 1; }
}

/* ---------- Sacred Valley ---------- */
.fact .fact__note { font-family: var(--sans); font-size: 13px; line-height: 1.5; margin-top: 10px; max-width: 18em; }
.topo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; margin-top: clamp(56px, 6vw, 96px); }
.topo__map { margin: 0; }
.topo__map svg { display: block; width: 100%; height: auto; }
.topo__sub { font-size: 14px; line-height: 1.6; margin: 12px 0 clamp(28px, 3vw, 44px); max-width: 30em; }
.topo__k { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 8px; }
.topo__d, .topo__r { list-style: none; margin: 0 0 34px; padding: 0; }
.topo__d li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--grey-4); font-size: 15px; }
.topo__r li { font-size: 14px; padding: 3px 0; }
.valley-map { margin: clamp(8px, 1vw, 16px) 0 0; }
.valley-map svg { display: block; width: 100%; height: auto; }
.valley-map figcaption { font-size: 13px; line-height: 1.6; text-align: center; max-width: 46em; margin: 18px auto 0; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--grey-2); }
.trio .h3 { margin-bottom: 14px; }
.photo-grid--valley { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(44px, 6.4vw, 104px); gap: clamp(8px, 1vw, 16px); }
.photo-grid--valley .photo-grid__item { aspect-ratio: auto; height: 100%; grid-column: span 6; grid-row: span 4; }
.photo-grid--valley .photo-grid__item:nth-child(1) { grid-column: 1 / 9; grid-row: span 6; }
.photo-grid--valley .photo-grid__item:nth-child(2) { grid-column: 9 / 13; grid-row: span 6; }
.photo-grid__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; gap: 4px; text-align: left;
  padding: 48px clamp(14px, 1.6vw, 24px) clamp(14px, 1.6vw, 22px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6));
  color: var(--white); pointer-events: none;
}
.photo-grid__cap b { font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; }
.photo-grid__cap small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.valley-text { margin-top: clamp(56px, 6vw, 96px); }
.valley-text .h3 { margin-bottom: 18px; }
.credits { font-size: 11px; line-height: 1.6; margin-top: clamp(40px, 4.5vw, 64px); text-align: center; max-width: 60em; margin-left: auto; margin-right: auto; }
.sv-villas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); max-width: 1180px; margin: 0 auto; }
.sv-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; border-top: 1px solid var(--grey-2); }
.sv-specs div { padding: 16px 12px 0 0; }
.sv-specs dt { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 6px; }
.sv-specs dd { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 24px); font-weight: 300; line-height: 1.1; }
.sv-soon { display: flex; align-items: center; justify-content: center; border: 1px solid var(--grey-2); background: transparent; }
.sv-soon span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.sv-soon__text { margin-top: 18px; font-size: 15px; }
.walkthrough { margin: clamp(64px, 7vw, 120px) 0 0; }
.walkthrough video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 100svh; object-fit: cover; background: var(--grey-1); }
.walkthrough figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
@media (max-width: 900px) {
  .topo { grid-template-columns: minmax(0, 1fr); }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .sv-villas { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 700px) {
  .photo-grid--valley { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .photo-grid--valley .photo-grid__item:nth-child(n) { grid-column: auto; grid-row: auto; height: auto; aspect-ratio: 4 / 5; }
  .photo-grid--valley .photo-grid__item:nth-child(1) { grid-column: span 2; aspect-ratio: 4 / 3; }
  .walkthrough video { aspect-ratio: 4 / 5; }
}

/* Homepage hero video */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Homepage track record */
.record { max-width: 1280px; margin: 0 auto; border-top: 1px solid var(--grey-2); }
.record__row { display: grid; grid-template-columns: minmax(150px, 15em) 1fr; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--grey-2); }
.record dt { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.record dd { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; }
@media (max-width:700px){ .record__row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; } }

/* ---------- responsive polish: centred layouts on tablets and phones ---------- */
@media (max-width: 1000px) {
  .nav { align-items: center; text-align: center; }

  .hero:not(.hero--center) .hero__inner { text-align: center; }
  .hero__meta { justify-content: center; }
  .hero__foot { align-items: center; }
  .hero__foot p { margin: 0 auto; }

  .split { text-align: center; }
  .split .body, .split .statement { margin-left: auto; margin-right: auto; }
  .split .form { text-align: left; width: 100%; max-width: 560px; margin: 0 auto; }
  .form button { justify-self: center; }

  .pillar { display: block; text-align: center; }
  .pillar__num { margin: 0 0 6px; }
  .pillar .body { margin: 0 auto; }

  .location__body { text-align: center; }

  .place__head, .place__foot { text-align: center; }
  .place__head .statement, .place__copy { margin-left: auto; margin-right: auto; }

  .fact { padding: 26px 10px 0; text-align: center; }
  .fact .fact__note { margin-left: auto; margin-right: auto; }

  .topo__side { text-align: center; }
  .topo__sub { margin-left: auto; margin-right: auto; }
  .topo__d li { text-align: left; }

  .trio > div, .valley-text { text-align: center; }
  .trio .body, .valley-text .body { margin-left: auto; margin-right: auto; }

  .villa-specs div:first-child { grid-column: auto; border-top: 1px solid var(--grey-2); }
  .villa-specs div:nth-child(-n+2) { border-top: 0; }
  .villa-specs div:nth-child(n) { padding: 24px 8px; text-align: center; }
  .villa-about__cta { text-align: center; }
}
@media (max-width: 700px) {
  .team { max-width: 320px; }
  .record__row { text-align: center; }
  .photo-grid--valley .photo-grid__item:nth-child(6):last-child { grid-column: span 2; aspect-ratio: 4 / 3; }
  .photo-grid__cap small { letter-spacing: .12em; }
  .valley-map { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .valley-map svg { min-width: 680px; }
  .valley-map figcaption { position: sticky; left: 0; width: calc(100vw - 2 * var(--gutter)); }
}
@media (max-width: 600px) {
  .pager a, .pager a + a { text-align: center; }
}
@media (max-width: 900px) {
  .sv-villas .villa-card { text-align: center; }
  .sv-villas .villa-card__meta { flex-direction: column; align-items: center; gap: 4px; }
  .sv-villas .sv-soon__text { margin-left: auto; margin-right: auto; }
}
/* figure rows centred at every size, to sit under the centred headings */
.fact { text-align: center; padding-left: 12px; padding-right: 12px; }
.fact .fact__note { margin-left: auto; margin-right: auto; }
.trio > div { text-align: center; }
.trio .body { margin-left: auto; margin-right: auto; }
@media (min-width: 1001px) { .place .fact { text-align: left; padding-left: 0; } } /* Riviera intro: text column is left-aligned beside the video */

/* ---------- Sacred Valley hero: the house builds with the cursor (js/build-hero.js) ---------- */
.hero--build { overflow: hidden; touch-action: pan-y; }
.hero--build .hero__media img, .build__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.build__canvas { opacity: 0; transition: opacity .5s ease; }
.hero--build.is-live .build__canvas { opacity: 1; }
.hero--build .hero__logo { margin-bottom: clamp(22px, 3vw, 40px); }
.build__sub { max-width: 30em; margin: clamp(16px, 2vw, 26px) auto 0; }
.build__hint {
  position: absolute; left: 50%; bottom: clamp(30px, 4.4vw, 56px); z-index: 2;
  transform: translateX(-50%); pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  font-family: var(--sans); text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.build__hint-text { font-size: 12px; letter-spacing: .3em; white-space: nowrap; transition: opacity .8s ease; }
.build__hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .build__hint-mouse { display: none; } .build__hint-touch { display: inline; } }
.hero--build.is-used .build__hint-text { opacity: 0; }
.build__track { display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: .28em; }
.build__rail { position: relative; width: clamp(140px, 16vw, 220px); height: 1px; background: rgba(255, 255, 255, .5); }
.build__knob {
  position: absolute; left: 0; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .18);
  animation: build-demo 2.8s ease-in-out infinite;
}
.hero--build.is-used .build__knob { animation: none; }
@keyframes build-demo { 0%, 12% { left: 0; } 50%, 62% { left: 100%; } 100% { left: 0; } }
@media (max-width: 600px) {
  .build__hint-text { font-size: 11px; letter-spacing: .22em; }
  .build__hint { bottom: 34px; }
}
.build__load { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 1px; background: rgba(255, 255, 255, .18); transition: opacity .8s ease .3s; }
.build__load span { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.hero--build.is-loaded .build__load { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .build__hint, .build__load, .build__canvas { display: none; } }
.footer__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
