/* ==========================================================
   Finca Villas — midnight + one accent
   ========================================================== */
:root {
  --ink: #0a0a0b;
  --ink-2: #121214;
  --ink-3: #1b1b1f;
  --cream: #f3ede4;
  --muted: rgba(243, 237, 228, .62);
  --line: rgba(243, 237, 228, .12);
  --accent: #ff7a2f;
  --accent-2: #ffb07a;
  --pool: #3fd1d0;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 5vw, 80px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
img.is-broken { opacity: 0; }
.scoop__ball, .mf, .villa__media, .chapter__float, .tunnel__item, .ring-card { background: linear-gradient(135deg, #1b2a2e, #2a1d14); }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--accent); color: var(--ink); }

.eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.display {
  font-family: var(--sans); font-weight: 800; letter-spacing: -.045em;
  font-size: clamp(44px, 8.5vw, 148px); line-height: .9; text-transform: uppercase;
}
.display em { text-transform: none; letter-spacing: -.02em; color: var(--accent); font-size: 1.08em; }
.section { padding: clamp(80px, 12vw, 180px) var(--pad); position: relative; }
.section__head { margin-bottom: clamp(40px, 6vw, 90px); }
.section__head .eyebrow { margin-bottom: 18px; max-width: 46ch; }
.fine { font-size: 12.5px; color: var(--muted); line-height: 1.6; max-width: 70ch; }
.glass {
  background: rgba(18, 18, 20, .55);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: 22px;
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; height: 52px; padding: 0 26px; border-radius: 99px; overflow: hidden;
  font-weight: 700; font-size: 14px; letter-spacing: .01em; isolation: isolate;
  transition: transform .5s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent::before { background: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light::before { background: var(--accent); }
.btn--ghost { border: 1px solid var(--line); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; gap: 8px; font-weight: 600; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink);
  display: grid; place-items: center; align-content: center; gap: 28px;
}
.loader__mark { display: flex; align-items: center; gap: 16px; }
.loader__logo { width: 64px; height: 64px; }
.loader__logo .l-v { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 1.4s var(--ease) .2s forwards; }
.loader__logo .l-w { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 1s var(--ease) .9s forwards; }
.loader__logo .l-sun { transform-origin: 32px 27px; transform: scale(0); animation: pop .9s var(--ease) .6s forwards; }
.loader__word { font-family: var(--serif); font-size: 44px; line-height: 1; }
.loader__word em { color: var(--accent); }
.loader__count { font-weight: 800; font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.loader__bar { width: min(260px, 60vw); height: 1px; background: var(--line); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--accent); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }

/* ---------- overlays ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-4%,3%)} 66%{transform:translate(3%,-5%)} 100%{transform:translate(0,0)} }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 950; }
.progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 980; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--accent); mix-blend-mode: difference;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s;
  display: grid; place-items: center;
}
.cursor span { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--ink); opacity: 0; transition: opacity .3s; text-transform: uppercase; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: var(--cream); }
.cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--accent); mix-blend-mode: normal; }
.cursor.is-label span { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--pad);
  transition: transform .6s var(--ease), background .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(10,10,11,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 26px; line-height: 1; }
.brand em { color: var(--accent); }
.nav__links { display: flex; gap: 28px; font-size: 13px; font-weight: 600; }
.nav__links a { position: relative; opacity: .8; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__cta .btn { height: 44px; padding: 0 20px; }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-content: center; gap: 6px; position: relative; z-index: 2; }
.burger i { display: block; width: 18px; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease); }
.menu-open .burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 790; pointer-events: none; }
.menu__bg { position: absolute; inset: 0; background: var(--ink-2); clip-path: circle(0% at calc(100% - 60px) 40px); transition: clip-path 1s var(--ease); }
.menu-open .menu { pointer-events: auto; }
.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 60px) 40px); }
.menu__inner { position: relative; height: 100%; overflow-y: auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 120px var(--pad) 60px; }
.menu__col { display: flex; flex-direction: column; gap: 8px; }
.menu__col a, .menu__col p { opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease); }
.menu-open .menu__col a, .menu-open .menu__col p { opacity: 1; transform: none; }
.menu__col a { color: var(--muted); transition-property: opacity, transform, color; }
.menu__col a:hover { color: var(--cream); }
.menu__gap { margin-top: 2rem; }
.menu__big {font-family: var(--serif); font-size: clamp(30px, 4.6vw, 64px); line-height: 1.1; color: var(--cream) !important; }
.menu__big:hover { color: var(--accent) !important; font-style: italic; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; perspective: 1500px; }
.hero__stage { position: absolute; inset: 0; transform-style: preserve-3d; cursor: grab; }
.hero__stage:active { cursor: grabbing; }
.ring-card {
  position: absolute; top: 50%; left: 50%;
  width: var(--cw); height: var(--ch); margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2);
  border-radius: 18px; overflow: hidden; backface-visibility: hidden; will-change: transform;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.ring-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.ring-card::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: var(--dim, 0); }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, transparent 30%, rgba(10,10,11,.75) 100%), linear-gradient(100deg, rgba(10,10,11,.7), transparent 55%), linear-gradient(to top, var(--ink) 4%, transparent 45%), linear-gradient(to bottom, rgba(10,10,11,.6), transparent 25%); }
.hero__content { position: absolute; left: var(--pad); bottom: clamp(70px, 10vh, 120px); z-index: 2; max-width: 820px; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--accent); }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; color: var(--cream); margin-bottom: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 2s infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(255,122,47,.7)} 100%{box-shadow:0 0 0 14px rgba(255,122,47,0)} }
.hero__title { font-weight: 800; text-transform: uppercase; letter-spacing: -.05em; line-height: .86; font-size: clamp(56px, 10vw, 168px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title em { text-transform: none; letter-spacing: -.02em; color: var(--accent); display: inline-block; }
.split .ch { display: inline-block; will-change: transform; }
.hero__sub { margin-top: 20px; max-width: 46ch; font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); }
.hero__tags { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.hero__tags span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; backdrop-filter: blur(8px); }
.hero__card { position: absolute; right: var(--pad); bottom: clamp(70px, 10vh, 120px); z-index: 3; width: 290px; padding: 24px; }
.price { font-family: var(--serif); font-size: 48px; line-height: 1.1; margin: 6px 0 16px; }
.price small { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 6px; }
.hero__card ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; font-size: 11px; color: var(--muted); }
.hero__card li b { display: block; font-size: 22px; color: var(--cream); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0%{transform:scaleY(0)} 50%{transform:scaleY(1)} 100%{transform:scaleY(1);opacity:0} }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px var(--pad) 36px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 92px); line-height: 1; color: var(--cream); }
.stat span { font-size: 12px; color: var(--muted); }

/* ---------- story / scoops ---------- */
.story__pin { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 0 var(--pad); }
.scoops { position: relative; height: 70vh; display: flex; align-items: center; justify-content: center; }
.scoop { position: absolute; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.scoop b { color: var(--cream); font-size: 16px; }
.scoop__ball { width: clamp(120px, 15vw, 240px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(255,122,47,.18); }
.scoop__ball img { width: 100%; height: 100%; object-fit: cover; }
.scoop__plus { font-family: var(--serif); font-size: 64px; color: var(--accent); position: absolute; top: 34%; }
.scoop__eq { position: absolute; bottom: 0; font-size: 14px; opacity: 0; text-align: center; }
.scoop__eq span { font-family: var(--serif); font-size: 36px; color: var(--accent); vertical-align: middle; margin-right: 6px; }
.story__text h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 62px); line-height: 1.08; letter-spacing: -.01em; margin: 18px 0 28px; }
.reveal-words .w { opacity: .14; transition: none; }
.story .lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 52ch; }
.story__more { columns: 3 280px; column-gap: 48px; padding: 40px var(--pad) clamp(80px, 10vw, 140px); color: var(--muted); }
.story__more p { break-inside: avoid; margin-bottom: 20px; }
.story__more p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 72px; line-height: .8; color: var(--accent); padding: 6px 10px 0 0; }

/* ---------- tour ---------- */
.tour__head { padding: 0 var(--pad) 40px; }
.tour__head .eyebrow { margin-bottom: 18px; }
.tour__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.chapter { position: absolute; inset: 0; }
.chapter__media { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.chapter__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.chapter__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,.7), transparent 60%), linear-gradient(to top, rgba(10,10,11,.6), transparent 40%); }
.chapter__float { position: absolute; right: 7vw; top: 18vh; width: clamp(160px, 20vw, 320px); aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.55); z-index: 2; will-change: transform; }
.chapter__float img { width: 100%; height: 100%; object-fit: cover; }
.chapter__copy { position: absolute; left: var(--pad); bottom: 10vh; z-index: 3; width: min(520px, calc(100% - 2 * var(--pad))); padding: 30px; }
.chapter__copy h3 { font-size: clamp(28px, 3vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 12px 0 16px; }
.chapter__copy h3 em { color: var(--accent); }
.chapter__copy p:not(.eyebrow) { font-size: 14.5px; color: rgba(243,237,228,.8); margin-bottom: 10px; }
.tour__nav { position: absolute; z-index: 5; bottom: 10vh; right: var(--pad); display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.tour__nav button { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .45; transition: opacity .4s; }
.tour__nav button i { width: 24px; height: 1px; background: currentColor; transition: width .5s var(--ease), background .4s; }
.tour__nav button.is-active { opacity: 1; }
.tour__nav button.is-active i { width: 56px; background: var(--accent); }
.tour__counter { position: absolute; z-index: 5; top: 100px; left: var(--pad); font-family: var(--serif); font-size: 22px; color: var(--muted); }
.tour__counter span { color: var(--cream); font-size: 40px; }

/* ---------- dive (webgl water) ---------- */
.dive { position: relative; height: 110vh; display: grid; place-items: center; overflow: hidden; text-align: center; }
#water { position: absolute; inset: 0; width: 100%; height: 100%; }
.dive::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, var(--ink) 92%); pointer-events: none; }
.dive__inner { position: relative; z-index: 2; padding: 0 var(--pad); max-width: 900px; }
.dive__title { font-size: clamp(80px, 18vw, 300px); margin-bottom: 30px; text-shadow: 0 10px 60px rgba(0,0,0,.35); }
.dive__title em { color: var(--cream); }
.dive__inner p { font-size: clamp(15px, 1.3vw, 19px); max-width: 58ch; margin: 0 auto 34px; color: rgba(243,237,228,.88); }

/* ---------- gallery tunnel ---------- */
.gallery__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; perspective: 900px; }
.gallery__label { position: absolute; z-index: 5; left: var(--pad); top: 50%; transform: translateY(-50%); pointer-events: none; }
.gallery__label .display { margin: 16px 0 26px; }
.gallery__label button { pointer-events: auto; }
.tunnel { position: absolute; inset: 0; transform-style: preserve-3d; }
.tunnel__item { position: absolute; top: 50%; left: 50%; border-radius: 14px; overflow: hidden; cursor: pointer; will-change: transform, opacity; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.tunnel__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- video ---------- */
.video { padding: 0 var(--pad) clamp(60px, 8vw, 120px); }
.video__frame { position: relative; aspect-ratio: 16/9; border-radius: 28px; overflow: hidden; transform-origin: center top; background: var(--ink-3); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; width: 100%; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: brightness(.6); }
.play { position: absolute; top: 50%; left: 50%; width: clamp(80px, 9vw, 130px); aspect-ratio: 1; margin: 0; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; transition: transform .6s var(--ease); }
.play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255,122,47,.5); animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.play svg { width: 34%; margin-left: 6%; }
.video__poster:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.video__cap { position: absolute; left: 30px; bottom: 26px; font-family: var(--serif); font-size: clamp(22px, 3vw, 42px); }

/* ---------- amenities ---------- */
.amen-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.amen { position: relative; padding: 26px 22px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); transform-style: preserve-3d; transition: border-color .4s; overflow: hidden; }
.amen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,122,47,.18), transparent 60%); opacity: 0; transition: opacity .4s; }
.amen:hover { border-color: rgba(255,122,47,.45); }
.amen:hover::before { opacity: 1; }
.amen svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.amen b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.amen span { font-size: 13px; color: var(--muted); }
.amenities > .fine { margin-top: 26px; }
.services { margin-top: clamp(70px, 9vw, 130px); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.services h3 { font-size: clamp(36px, 4.5vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: .95; margin: 16px 0 20px; }
.services h3 em { color: var(--accent); }
.services__copy p:not(.eyebrow) { color: var(--muted); margin-bottom: 24px; max-width: 52ch; }
.services__list { list-style: none; }
.services__list li { display: grid; grid-template-columns: 60px 1fr; padding: 24px 0; border-top: 1px solid var(--line); font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.02em; transition: padding .5s var(--ease), color .3s; }
.services__list li:last-child { border-bottom: 1px solid var(--line); }
.services__list li:hover { padding-left: 14px; color: var(--accent); }
.services__list span { font-family: var(--serif); color: var(--accent); font-size: 18px; font-weight: 400; padding-top: 8px; }
.services__list small { grid-column: 2; font-size: 13px; color: var(--muted); font-weight: 400; letter-spacing: 0; }

/* ---------- nearby ---------- */
.nearby__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.map-wrap { position: relative; border-radius: 24px; overflow: hidden; min-height: 460px; border: 1px solid var(--line); }
#map { position: absolute; inset: 0; background: #111; }
#map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9) saturate(.4); }
.leaflet-container { font-family: var(--sans); }
.leaflet-control-attribution { background: rgba(10,10,11,.7) !important; color: var(--muted) !important; }
.leaflet-control-attribution a { color: var(--cream) !important; }
.map-open { position: absolute; z-index: 500; left: 16px; bottom: 30px; padding: 10px 16px; border-radius: 99px; background: var(--ink); border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.pin-marker { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255,122,47,.3), 0 0 0 16px rgba(255,122,47,.12); }
.pin-label { background: var(--ink) !important; color: var(--cream) !important; border: 1px solid var(--line) !important; border-radius: 99px !important; font-weight: 700; padding: 6px 12px !important; box-shadow: none !important; }
.pin-label::before { display: none; }
.distances { list-style: none; counter-reset: d; }
.distances li { counter-increment: d; display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); transition: background .3s, padding .4s var(--ease); }
.distances li::before { content: counter(d, decimal-leading-zero); font-size: 11px; color: var(--muted); }
.distances li:hover { padding-left: 10px; }
.distances li:first-child b { color: var(--accent); }
.distances b { font-weight: 600; }
.distances span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; }
.explore__card { padding: 26px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); transform-style: preserve-3d; }
.explore__tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); background: var(--accent); padding: 5px 10px; border-radius: 99px; }
.explore__card h4 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; margin: 18px 0 12px; }
.explore__card p { font-size: 14px; color: var(--muted); }
.nearby__outro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; color: var(--muted); max-width: 1100px; }

/* ---------- rules ---------- */
.clocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 50px; }
.clock { display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); }
.clock p { font-size: 13px; color: var(--muted); line-height: 1.4; }
.clock p b { font-size: 24px; color: var(--cream); letter-spacing: -.02em; }
.clock__face { position: relative; flex: none; width: 70px; height: 70px; border-radius: 50%; border: 1.5px solid var(--line); }
.clock__face::after { content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--accent); }
.clock__face i { position: absolute; left: 50%; bottom: 50%; width: 2px; margin-left: -1px; background: var(--cream); transform-origin: bottom center; border-radius: 2px; }
.clock__face .h { height: 18px; }
.clock__face .m { height: 27px; background: var(--accent); }
.clock--txt { flex-direction: column; align-items: flex-start; gap: 6px; }
.clock--txt b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--accent); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -.02em; transition: color .3s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--accent); transition: transform .5s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--accent); }
.accordion details > div { padding: 0 0 26px; max-width: 75ch; color: var(--muted); }
.accordion details > div p + p { margin-top: 10px; }
.cancel { margin-top: clamp(70px, 9vw, 120px); }
.cancel__track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; padding-top: 40px; }
.cancel__line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.cancel__line i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #6ee7a8, var(--accent)); transform-origin: left; transform: scaleX(0); }
.cancel__step { position: relative; }
.cancel__step::before { content: ""; position: absolute; top: -46px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--accent); }
.cancel__step h4 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; margin: 14px 0 10px; }
.cancel__step p { color: var(--muted); font-size: 14.5px; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); }
.pill--good { border-color: rgba(110,231,168,.5); color: #6ee7a8; }
.pill--accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* ---------- reviews ---------- */
.reviews { padding-bottom: clamp(80px, 10vw, 140px); overflow: hidden; }
.reviews .section__head { padding-bottom: 0; }
.scores { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 34px; }
.scores > * { display: block; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--ink-2); transition: border-color .3s, transform .5s var(--ease); }
.scores > a:hover { border-color: var(--accent); transform: translateY(-4px); }
.scores b { font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1; color: var(--accent); display: block; }
.scores span { font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.scores .fine { max-width: 36ch; }
.marquee { display: flex; gap: 16px; width: max-content; padding: 8px 0; }
.marquee + .marquee { margin-top: 8px; }
.rcard { width: 380px; flex: none; padding: 26px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .5s var(--ease); }
.rcard:hover { border-color: rgba(255,122,47,.5); transform: translateY(-6px); }
.rcard__top { display: flex; align-items: center; gap: 12px; }
.rcard__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--ink); background: var(--accent-2); flex: none; }
.rcard__top b { display: block; font-size: 15px; }
.rcard__top small { font-size: 12px; color: var(--muted); }
.rcard p { font-size: 14px; color: rgba(243,237,228,.82); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__more { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent); }
.rcard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.rcard__chips span { font-size: 11px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.reviews__cta { display: flex; align-items: center; gap: 30px; padding-top: 50px; padding-bottom: 0; }

/* ---------- booking ---------- */
.book { overflow: hidden; }
.book__bg { position: absolute; inset: 0; z-index: -1; }
.book__bg img { width: 100%; height: 120%; object-fit: cover; filter: brightness(.32) saturate(.8); }
.book__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--ink), transparent 25%, transparent 75%, var(--ink)); }
.book__grid { display: grid; grid-template-columns: 1fr 520px; gap: 60px; align-items: center; }
.book__intro p:not(.eyebrow) { color: rgba(243,237,228,.8); max-width: 46ch; margin: 26px 0; }
.book__intro .display { margin-top: 16px; }
.book__perks { list-style: none; display: grid; gap: 10px; }
.book__perks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.book__perks li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; }
.booker { padding: 28px; display: grid; gap: 14px; }
.booker__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booker label, .stepper > span { display: grid; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.booker input, .booker textarea {
  width: 100%; font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--cream);
  background: rgba(243,237,228,.06); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .3s, background .3s; color-scheme: dark; resize: vertical;
}
.booker input:focus, .booker textarea:focus { border-color: var(--accent); background: rgba(243,237,228,.09); }
.booker input.is-bad { border-color: #ff5a5a; }
.stepper { display: grid; gap: 6px; }
.stepper small { color: #6ee7a8; letter-spacing: .05em; }
.stepper > div { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; padding: 4px; background: rgba(243,237,228,.06); }
.stepper button { width: 38px; height: 38px; border-radius: 9px; font-size: 20px; transition: background .3s; }
.stepper button:hover { background: rgba(243,237,228,.1); }
.stepper output { font-weight: 800; font-size: 17px; }
.booker__warn { font-size: 12px; color: var(--accent); }
.estimate { border-radius: 14px; padding: 16px; background: rgba(255,122,47,.08); border: 1px solid rgba(255,122,47,.25); display: grid; gap: 8px; }
.estimate > div { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.estimate b { color: var(--cream); }
.estimate__total { padding-top: 8px; border-top: 1px solid var(--line); }
.estimate__total span { color: var(--cream) !important; font-weight: 700; }
.estimate__total b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--accent); line-height: 1; }
.estimate .fine { font-size: 11.5px; }
.booker__alt { text-align: center; font-size: 13px; color: var(--muted); }
.booker__alt:hover { color: var(--cream); }

/* ---------- similar ---------- */
.similar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.vcard { display: block; border-radius: 22px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); transform-style: preserve-3d; }
.vcard__img { aspect-ratio: 4/3; overflow: hidden; }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vcard:hover .vcard__img img { transform: scale(1.08); }
.vcard__body { padding: 22px 24px 26px; }
.vcard__body h4 { font-size: 24px; letter-spacing: -.02em; line-height: 1.15; margin: 10px 0 8px; }
.vcard__tags { font-size: 12.5px; color: var(--muted); }
.vcard__price { margin-top: 14px; font-size: 14px; color: var(--muted); }
.vcard__price b { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--accent); }

/* ---------- footer ---------- */
.footer { padding: clamp(80px, 10vw, 140px) var(--pad) 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 80px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer__cols .eyebrow { margin-bottom: 10px; }
.footer__cols a { color: var(--muted); transition: color .3s; }
.footer__cols a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.socials svg { width: 17px; height: 17px; }
.footer__giant { font-family: var(--serif); font-size: clamp(90px, 25vw, 420px); line-height: .8; letter-spacing: -.03em; text-align: center; margin: 80px 0 30px; white-space: nowrap; }
.footer__giant em { color: var(--accent); }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.footer__legal p:first-child { max-width: 70ch; }

/* ---------- brand wordmark ---------- */
.brand span, .loader__word { display: flex; flex-direction: column; line-height: .9; }
.brand small, .loader__word small { font-family: var(--sans); font-size: 9px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.loader__word small { font-size: 12px; }

/* ---------- the two villas ---------- */
.villas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; perspective: 1600px; }
.villa { position: relative; border-radius: 28px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .4s, transform .6s var(--ease); }
.villa:hover { border-color: rgba(255,122,47,.5); transform: translateY(-6px); }
.villa--tidal:hover { border-color: rgba(63,209,208,.55); }
.villa__media { aspect-ratio: 16/11; overflow: hidden; }
.villa__media img { width: 100%; height: 116%; object-fit: cover; transition: transform 1.4s var(--ease); }
.villa:hover .villa__media img { transform: scale(1.05); }
.villa__body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.villa__top { display: flex; justify-content: space-between; align-items: center; }
.villa__badge { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: var(--accent); color: var(--ink); }
.villa--tidal .villa__badge { background: var(--pool); }
.villa__rating { font-weight: 800; font-size: 15px; }
.villa__rating small { font-weight: 500; font-size: 12px; color: var(--muted); margin-left: 4px; }
.villa h3 { font-size: clamp(40px, 4.6vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: .9; text-transform: uppercase; }
.villa h3 em { text-transform: none; color: var(--accent); letter-spacing: -.02em; }
.villa--tidal h3 em { color: var(--pool); }
.villa__tag { color: var(--muted); max-width: 44ch; }
.villa__specs { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; margin: 6px 0; }
.villa__specs li { background: var(--ink-2); padding: 14px 12px; }
.villa__specs b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.villa__specs span { font-size: 11px; color: var(--muted); }
.villa__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.villa__price { color: var(--muted); font-size: 13px; }
.villa__price b { font-family: var(--serif); font-weight: 400; font-size: 32px; color: var(--cream); margin-left: 4px; }
.villa__price small { font-size: 12px; }
.villa--tidal .btn--accent { background: var(--pool); }
.villas__both { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 28px; border-radius: 20px; border: 1px dashed var(--line); color: var(--muted); }
.villas__both b { color: var(--cream); }

/* ---------- film player ---------- */
.player { position: relative; aspect-ratio: 16/9; border-radius: 28px; overflow: hidden; background: #000; outline: none; isolation: isolate; box-shadow: 0 60px 120px rgba(0,0,0,.5); }
.player:fullscreen { border-radius: 0; aspect-ratio: auto; }
.player__stage { position: absolute; inset: 0; cursor: pointer; }
.player__stage video { width: 100%; height: 100%; object-fit: cover; }
.shot { position: absolute; inset: 0; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.35)); }
.shot__title { position: absolute; z-index: 2; left: 6%; bottom: 18%; }
.shot__title .eyebrow { color: var(--accent); }
.shot__title h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 110px); line-height: .95; }
.player__big { position: absolute; z-index: 3; top: 50%; left: 50%; width: clamp(76px, 8vw, 116px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(243,237,228,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(243,237,228,.3); display: grid; place-items: center; transition: opacity .4s, transform .6s var(--ease), background .3s; }
.player__big svg { width: 34%; margin-left: 6%; }
.player__big:hover { background: var(--accent); color: var(--ink); transform: translate(-50%, -50%) scale(1.08); }
.player.is-playing .player__big { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.8); }
.player__bar {
  position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; border-radius: 99px; background: rgba(10,10,11,.55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(243,237,228,.14);
  transition: opacity .5s, transform .6s var(--ease);
}
.player.is-playing:not(.is-active):not(:focus-within) .player__bar { opacity: 0; transform: translateY(14px); }
.player__btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: background .3s; }
.player__btn:hover { background: rgba(243,237,228,.12); }
.player__btn svg { width: 18px; height: 18px; }
.player .i-pause, .player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.player__time { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.player__track { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(243,237,228,.18); }
.player__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.player__chapters i { position: absolute; top: -3px; width: 2px; height: 10px; border-radius: 2px; background: var(--cream); opacity: .6; }
.player__track input { position: absolute; inset: -10px 0; width: 100%; opacity: 0; cursor: pointer; margin: 0; }
.player__chapter { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; min-width: 110px; text-align: right; }

/* ---------- map tabs + places panel ---------- */
.map-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; border: 1px solid var(--line); background: var(--ink-2); margin-bottom: 20px; }
.map-tabs button { padding: 10px 20px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--muted); transition: background .4s var(--ease), color .3s; }
.map-tabs button.is-active { background: var(--accent); color: var(--ink); }
.map-tabs button[data-map="tidal"].is-active { background: var(--pool); }
.map-card { position: absolute; z-index: 500; top: 16px; left: 16px; padding: 16px 18px; border-radius: 16px; max-width: 280px; }
.map-card h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.05; margin: 6px 0 4px; }
.map-card p:last-child { font-size: 12.5px; color: var(--muted); }
.pin-marker { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--ink); background: var(--accent); box-shadow: 0 0 0 5px rgba(255,122,47,.25); transform: scale(.8); opacity: .75; transition: transform .5s var(--ease), opacity .3s, box-shadow .4s; }
.pin-tidal { background: var(--pool); box-shadow: 0 0 0 5px rgba(63,209,208,.25); }
.pin-marker.is-on { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(255,122,47,.25), 0 0 0 20px rgba(255,122,47,.1); }
.pin-tidal.is-on { box-shadow: 0 0 0 8px rgba(63,209,208,.25), 0 0 0 20px rgba(63,209,208,.1); }
.places { display: flex; flex-direction: column; min-height: 0; }
.places__filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.places__filters button { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); transition: all .3s; }
.places__filters button.is-active { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.pin-place { width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--accent); }
.places__list { list-style: none; display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
/* Visible by default; the slide-in only plays once the list scrolls into view. */
.places__list.is-in .place { animation: placeIn .9s var(--ease) var(--d, 0s) backwards; }
@keyframes placeIn { from { opacity: 0; translate: 24px 0; } to { opacity: 1; translate: 0 0; } }
.place { min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); cursor: default; outline: none; transition: border-color .4s, background .4s, transform .5s var(--ease); }
.place:hover, .place:focus { border-color: rgba(255,122,47,.45); background: linear-gradient(120deg, rgba(255,122,47,.09), var(--ink-2) 60%); transform: translateX(-4px); }
.place__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(243,237,228,.06); color: var(--accent); transition: background .4s, color .4s, transform .5s var(--ease); }
.place:hover .place__icon, .place:focus .place__icon { background: var(--accent); color: var(--ink); transform: rotate(-8deg) scale(1.05); }
.place__icon svg { width: 22px; height: 22px; }
.place__main { padding-top: 2px; }
.place__main b { font-weight: 700; font-size: 15px; display: block; }
.place__brief { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease), opacity .4s, margin .4s; opacity: 0; }
.place__brief > span { overflow: hidden; font-size: 13px; color: var(--muted); line-height: 1.55; }
.place:hover .place__brief, .place:focus .place__brief { grid-template-rows: 1fr; opacity: 1; margin-top: 6px; }
.place__dist { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; padding: 6px 10px; border-radius: 99px; background: rgba(243,237,228,.06); color: var(--muted); margin-top: 6px; }
.place__dist svg { width: 14px; height: 14px; }
.place[data-cat="walk"] .place__dist, .place:first-child .place__dist { color: #6ee7a8; }
.tunnel__item span { position: absolute; left: 10px; bottom: 10px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: rgba(10,10,11,.6); backdrop-filter: blur(6px); }
.footer__addr { color: var(--muted); margin-top: 8px; }

/* ---------- booking villa picker ---------- */
.villa-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vp input, .vp-both input { position: absolute; opacity: 0; pointer-events: none; }
.vp span { display: block; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(243,237,228,.04); cursor: pointer; transition: border-color .3s, background .3s; text-transform: none; letter-spacing: 0; }
.vp b { display: block; font-size: 15px; color: var(--cream); }
.vp small { font-size: 12px; color: var(--muted); font-weight: 500; }
.vp small i { font-style: normal; }
.vp input:checked + span { border-color: var(--accent); background: rgba(255,122,47,.1); }
.vp input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.villa-pick.is-both .vp span { border-color: var(--accent); background: rgba(255,122,47,.1); }
.booker .vp-both { position: relative; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); cursor: pointer; }
.vp-both::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--line); flex: none; transition: background .3s, border-color .3s; }
.vp-both:has(input:checked)::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--ink-2); }
.vp-both:has(input:checked) { color: var(--cream); }

/* ---------- made for ---------- */
.madefor__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; perspective: 1200px; }
.mf { position: relative; display: block; text-align: left; aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); transform-style: preserve-3d; }
.mf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.9); transition: transform 1.2s var(--ease), filter .6s; }
.mf:hover img { transform: scale(1.08); filter: brightness(.4) saturate(1); }
.mf__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(transparent, rgba(10,10,11,.85) 45%); }
.mf h4 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.mf p { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.3; margin: 8px 0 4px; }
.mf small { font-size: 12px; color: var(--muted); }
.mf__cta { display: block; margin-top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ---------- booking trust ---------- */
.quote { margin: 30px 0 24px; padding-left: 20px; border-left: 2px solid var(--accent); }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; }
.quote figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.book__alt { display: flex; gap: 10px; flex-wrap: wrap; }
.book__alt .btn { height: 46px; padding: 0 20px; font-size: 13px; }
#shareMsg { margin-top: 10px; color: #6ee7a8; }

/* ---------- read more ---------- */
.more-content { display: none !important; }
.teaser { font-size: 15px !important; color: rgba(243,237,228,.85) !important; }
.read-more {
  display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 4px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.read-more::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-size: 14px; letter-spacing: 0; transition: transform .5s var(--ease), background .3s, color .3s; }
.read-more:hover::after { transform: rotate(90deg); background: var(--accent); color: var(--ink); }
.dive__ctas { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.dive__ctas .read-more { color: var(--cream); }
.services__copy .read-more { margin: -8px 0 22px; display: flex; }
.nearby__outro { display: block; margin-top: 40px; }
.accordion summary small { margin-left: auto; margin-right: 18px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }

.reader { position: fixed; inset: 0; z-index: 970; pointer-events: none; }
.reader__scrim { position: absolute; inset: 0; background: rgba(10,10,11,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s var(--ease); }
.reader__panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(560px, calc(100% - 24px));
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; padding: 60px 40px 40px;
  display: flex; flex-direction: column; transform: translateX(110%); transition: transform .8s var(--ease);
}
.reader.is-open { pointer-events: auto; }
.reader.is-open .reader__scrim { opacity: 1; }
.reader.is-open .reader__panel { transform: none; }
.reader__panel h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; margin: 12px 0 24px; }
.reader__body { overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; color: rgba(243,237,228,.82); font-size: 16px; line-height: 1.75; }
.reader__body p + p { margin-top: 16px; }
.reader__body p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 64px; line-height: .8; color: var(--accent); padding: 6px 10px 0 0; }
.reader__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); font-size: 24px; }
@media (max-width: 760px) {
  .reader__panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 82vh; padding: 56px 22px 28px; transform: translateY(110%); }
}

/* ---------- floating ---------- */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 850; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 40px rgba(37,211,102,.35); }
.wa svg { width: 30px; height: 30px; }
.mbar { display: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 960; background: rgba(10,10,11,.96); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .5s; overflow-y: auto; padding: 80px var(--pad) 40px; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lb__close { position: fixed; top: 20px; right: 24px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); font-size: 26px; background: var(--ink); }
.lb__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.lb__filters button { padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: background .3s, color .3s; }
.lb__filters button.is-active { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.lb__grid { columns: 4 240px; column-gap: 12px; }
.lb__grid img { width: 100%; margin-bottom: 12px; border-radius: 12px; cursor: zoom-in; transition: opacity .3s, transform .5s var(--ease); }
.lb__grid img:hover { transform: scale(.98); opacity: .85; }
.lb__single { position: fixed; inset: 0; z-index: 2; background: var(--ink); display: grid; place-items: center; padding: 70px 80px; }
.lb__single[hidden] { display: none; }
.lb__single img { max-width: 100%; max-height: 82vh; border-radius: 12px; object-fit: contain; }
.lb__single p { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); }
.lb__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); font-size: 30px; line-height: 1; background: var(--ink); }
.lb__arrow[data-dir="-1"] { left: 18px; }
.lb__arrow[data-dir="1"] { right: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .amen-grid { grid-template-columns: repeat(3, 1fr); }
  .explore { grid-template-columns: repeat(2, 1fr); }
  .madefor__grid { grid-template-columns: repeat(2, 1fr); }
  .villas__grid { grid-template-columns: 1fr; }
  .nearby__grid { grid-template-columns: 1fr; }
  .clocks { grid-template-columns: repeat(2, 1fr); }
  .book__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .nav { padding: 14px 16px; }
  .nav__cta .btn { display: none; }
  .brand { font-size: 22px; }
  .brand img { width: 34px; height: 34px; }
  .hero__card { display: none; }
  .hero__content { left: 16px; right: 16px; bottom: 90px; }
  .hero__scroll { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 16px; border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0 !important; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:last-child { grid-column: span 2; border-right: 0 !important; }
  .story__pin { grid-template-columns: 1fr; gap: 10px; padding-top: 70px; }
  .scoops { height: 42vh; }
  .scoop__ball { width: 130px; }
  .tour__nav { display: none; }
  .tour__counter { top: 76px; left: 16px; }
  .chapter__float { right: 16px; top: 120px; width: 120px; }
  .chapter__copy { left: 16px; right: 16px; bottom: 82px; width: auto; padding: 20px; }
  .chapter__copy p:not(.eyebrow) { font-size: 13px; }
  .chapter__copy p:nth-of-type(3) { display: none; }
  .gallery__label { left: 16px; right: 16px; }
  .amen-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amen { padding: 20px 16px; }
  .services, .nearby__grid, .nearby__outro { grid-template-columns: 1fr; gap: 30px; }
  .map-wrap { min-height: 340px; }
  .explore { grid-template-columns: 1fr; }
  .madefor__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .mf { flex: 0 0 72%; scroll-snap-align: start; }
  .villa__body { padding: 22px 18px 22px; }
  .villa__specs { grid-template-columns: repeat(2, 1fr); }
  .villa__foot .btn { width: 100%; }
  .villas__both { padding: 18px; }
  .player { aspect-ratio: 4/5; border-radius: 18px; }
  .player__bar { left: 8px; right: 8px; bottom: 8px; gap: 8px; padding: 6px 10px; }
  .player__chapter { display: none; }
  .player.is-playing:not(.is-active):not(:focus-within) .player__bar { opacity: 1; transform: none; }
  .shot__title { left: 18px; bottom: 80px; }
  .map-tabs { display: flex; }
  .map-tabs button { flex: 1; padding: 10px 8px; }
  .map-card { left: 10px; right: 10px; top: 10px; max-width: none; padding: 12px 14px; }
  .map-card h4 { font-size: 20px; }
  .places__list { max-height: none; overflow: visible; }
  .place__brief { grid-template-rows: 1fr; opacity: 1; margin-top: 4px; }
  .place { grid-template-columns: 38px 1fr; }
  .place__icon { width: 38px; height: 38px; }
  .place__dist { grid-column: 2; justify-self: start; margin-top: 0; }
  .villa-pick { grid-template-columns: 1fr; }
  .clocks { grid-template-columns: 1fr; }
  .cancel__track { grid-template-columns: 1fr; padding-top: 0; padding-left: 30px; gap: 40px; }
  .cancel__line { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .cancel__line i { transform-origin: top; transform: scaleY(0); background: linear-gradient(#6ee7a8, var(--accent)); }
  .cancel__step::before { top: 4px; left: -31px; }
  .rcard { width: 300px; }
  .reviews__cta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .booker { padding: 20px; }
  .booker__row { grid-template-columns: 1fr; }
  .similar__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer { padding-bottom: 100px; }
  .video__frame { border-radius: 18px; }
  .video__cap { left: 18px; bottom: 16px; }
  .wa { bottom: 84px; right: 16px; width: 52px; height: 52px; }
  .mbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 850; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 99px; background: rgba(18,18,20,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); }
  .mbar small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
  .mbar b { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1; }
  .mbar .btn { height: 46px; padding: 0 20px; }
  .menu__inner { grid-template-columns: 1fr; padding-top: 100px; }
  .lb__single { padding: 70px 10px; }
  .lb__arrow { top: auto; bottom: 20px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
