/* Makulay Siargao — design system */
:root {
  --ink: #0b1517;
  --ink-2: #13262a;
  --sea: #0e4a4c;
  --lagoon: #7cc2e8; /* brand blue, sampled from their Instagram profile picture */
  --lagoon-soft: #b1d3ea;
  --lagoon-deep: #1b6a92; /* same hue, dark enough for small marks on light backgrounds */
  --foam: #e8f3fa;
  --sand: #f2eadd;
  --shell: #faf7f1;
  --sun: #f0b25a;
  --gold: #b8935f;
  --muted: #5f6f6d;
  --line: rgba(11, 21, 23, .12);
  --line-light: rgba(255, 255, 255, .18);
  --makulay: linear-gradient(90deg, var(--lagoon-soft), var(--lagoon) 55%, #4fa6d8);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --header-h: 76px;
  --badge-clear: 72px; /* Netlify's free-plan badge fills the bottom-right 202x64px. Lower this if the badge goes away. */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
html:has(.subnav) { scroll-padding-top: 116px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
img { background-size: cover; background-position: center; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lagoon-deep); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--lagoon); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font: 600 .72rem/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.on-dark .eyebrow, .eyebrow.light { color: rgba(255,255,255,.75); }
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; line-height: 1.02; margin: 0; }
.display { font-size: clamp(3rem, 8.4vw, 8.8rem); }
h2, .h2 { font-size: clamp(2.4rem, 5.4vw, 5.4rem); }
h3, .h3 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; }
em, .it { font-style: italic; }
.display em, h2 em { font-weight: 300; color: inherit; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--muted); max-width: 40em; }
.on-dark .lede { color: rgba(255,255,255,.78); }
.big-serif { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.18; font-weight: 300; }
.grad-text { background: var(--makulay); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(84px, 12vw, 180px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 100px) 0; }
.on-dark { background: var(--ink); color: #fff; }
.on-sand { background: var(--sand); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2.wide-left { grid-template-columns: 1.25fr 1fr; } }
.stack > * + * { margin-top: 1.4rem; }
.section-head { display: flex; flex-wrap: wrap; gap: 24px 64px; justify-content: space-between; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.section-head h2 { max-width: 14ch; }
.section-head .lede { max-width: 34em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .75em;
  padding: 1.05em 1.7em; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), color .4s;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--makulay);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); color: var(--ink); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.light { --bg: #fff; --fg: var(--ink); }
.btn.light:hover { color: #fff; }
.btn.ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn.ghost:hover { color: var(--ink); border-color: transparent; }
.btn.small { padding: .85em 1.3em; font-size: .72rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.airbnb-mark { width: 1.15em; height: 1.15em; flex: none; }
.text-link { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: .6em; align-items: center; padding-bottom: .4em; border-bottom: 1px solid currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; color: #fff;
  transition: background .4s, color .4s, height .4s var(--ease), box-shadow .4s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled { height: 64px; background: rgba(250, 247, 241, .86); color: var(--ink); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.page-light .site-header { color: var(--ink); }
.logo { display: inline-flex; flex: none; text-decoration: none; }
.logo svg { display: block; height: 46px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .logo svg { height: 42px; }
body:not(.page-light) .site-header:not(.scrolled) .logo svg { filter: drop-shadow(0 1px 10px rgba(5, 12, 14, .35)); }
@media (min-width: 700px) { .logo svg { height: 54px; } .site-header.scrolled .logo svg { height: 46px; } }
.nav { display: none; gap: 30px; align-items: center; }
.nav a { font: 500 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; }
.site-header .btn { --bg: #fff; --fg: var(--ink); }
.site-header.scrolled .btn, .page-light .site-header .btn { --bg: var(--ink); --fg: #fff; }
.menu-btn { background: none; border: 0; padding: 10px; margin-right: -10px; display: inline-flex; flex-direction: column; gap: 6px; }
.menu-btn span { width: 26px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
@media (min-width: 1080px) { .nav, .header-cta { display: flex; } .menu-btn { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.mobile-menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font: 300 clamp(2.4rem, 11vw, 4rem)/1.1 var(--serif); text-decoration: none; }
.mobile-menu .close { position: absolute; top: 18px; right: var(--gutter); background: none; border: 1px solid var(--line-light); border-radius: 999px; padding: 10px 16px; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.mobile-menu .btn { margin-top: 36px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; min-height: max(100svh, 640px); color: #fff; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 2.2s ease; }
.hero-media .slide.on { opacity: 1; }
.hero-media .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.hero-media .slide.on img { animation: kenburns 11s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,12,14,.5), rgba(5,12,14,0) 62%), linear-gradient(180deg, rgba(5,12,14,.55) 0%, rgba(5,12,14,.08) 28%, rgba(5,12,14,.28) 55%, rgba(5,12,14,.82) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(var(--badge-clear), 9vh, 96px); }
.hero h1 { font-size: clamp(2.85rem, min(8.4vw, 14vh), 8.8rem); text-shadow: 0 2px 40px rgba(0,0,0,.25); }
.hero .lede { color: rgba(255,255,255,.86); margin-top: 22px; max-width: 34em; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; margin-top: 36px; }
.badge-rating { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .86rem; text-decoration: none; }
.badge-rating b { font: 500 1.5rem/1 var(--serif); }
.stars { color: var(--sun); letter-spacing: .1em; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 26px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.3); border-radius: 2px; position: relative; overflow: hidden; }
.hero-dots button.on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dotfill 7s linear forwards; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 1px; height: 54px; background: rgba(255,255,255,.25); overflow: hidden; display: none; }
.scroll-cue::after { content: ""; position: absolute; inset: 0; background: #fff; animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 900px) { .scroll-cue { display: block; } }

/* Split-line reveal */
.reveal-lines .line { display: block; overflow: hidden; padding-bottom: .06em; }
.reveal-lines .line > span { display: block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.is-ready .reveal-lines .line > span, .reveal-lines.in .line > span { transform: none; }
.reveal-lines .line:nth-child(2) > span { transition-delay: .12s; }
.reveal-lines .line:nth-child(3) > span { transition-delay: .24s; }
.no-js .reveal-lines .line > span { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--shell); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font: 300 clamp(1.4rem, 2.6vw, 2.3rem)/1 var(--serif); padding: 0 .9em; white-space: nowrap; display: inline-flex; align-items: center; gap: 1.8em; }
.marquee-track span::after { content: "✦"; font-size: .5em; color: var(--lagoon-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto (scroll-lit words) ---------- */
.manifesto { font: 300 clamp(1.9rem, 4.3vw, 4.1rem)/1.16 var(--serif); max-width: 22ch; margin: 0; }
.manifesto .w { opacity: .3; transition: opacity .3s linear; }
.manifesto .w.lit { opacity: 1; }
.no-js .manifesto .w { opacity: 1; }

.parallax { overflow: hidden; border-radius: 4px; }
.parallax img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

.figure-stack { position: relative; aspect-ratio: 4/5; }
.figure-stack .a { position: absolute; inset: 0 22% 14% 0; }
.figure-stack .b { position: absolute; inset: 38% 0 0 46%; box-shadow: 0 30px 80px rgba(0,0,0,.18); border: 8px solid var(--shell); }
.figure-stack .a img, .figure-stack .b img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Villa cards ---------- */
.villa-cards { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 3vw, 48px); }
@media (min-width: 900px) { .villa-cards { grid-template-columns: 1fr 1fr; } .villa-card:nth-child(2) { margin-top: 140px; } }
.villa-card { position: relative; display: block; text-decoration: none; color: inherit; }
.villa-card .media { position: relative; overflow: hidden; aspect-ratio: 4/5; border-radius: 4px; }
.villa-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter 1s; }
.villa-card:hover .media img { transform: scale(1.06); }
.villa-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,12,14,.6)); }
.villa-card .tag { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92); font: 600 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.villa-card .over { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.villa-card .over h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.villa-card .meta { margin-top: 22px; display: grid; gap: 14px; }
.villa-card .meta p { color: var(--muted); margin: 0; max-width: 36em; }
.villa-card .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; color: var(--ink-2); }
.on-dark .chip { border-color: var(--line-light); color: rgba(255,255,255,.85); }
.circle-cta { width: 64px; height: 64px; flex: none; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s; }
.villa-card:hover .circle-cta { transform: rotate(-45deg) scale(1.08); background: var(--lagoon); }

/* ---------- Swipeable rows ---------- */
.carousel-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding-inline: var(--edge); padding-inline: var(--edge); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carousel-track.dragging a { pointer-events: none; }
.car-nav { display: none; gap: 8px; }
@media (hover: hover) { .car-nav { display: inline-flex; } }
.car-nav button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; background: none; color: inherit; border: 1px solid currentColor; border-radius: 50%; transition: background .3s, color .3s, opacity .3s; }
.car-nav button svg { width: 16px; height: 16px; }
.car-nav button:hover:not(:disabled) { background: var(--lagoon); border-color: var(--lagoon); color: var(--ink); }
.car-nav button:disabled { opacity: .28; cursor: default; }
.car-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; }

/* ---------- Walkthrough preview strip ---------- */
.hscroll { background: var(--ink); color: #fff; padding-block: clamp(72px, 9vw, 130px); }
.hscroll-head { padding-inline: var(--edge); margin-bottom: clamp(28px, 4vh, 48px); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.hscroll-head .btn-row { align-items: center; }
.hscroll-track { gap: clamp(14px, 2vw, 28px); }
.hscroll-item { position: relative; flex: none; width: clamp(240px, 30vw, 460px); text-decoration: none; }
.hscroll-item.wide { width: clamp(300px, 46vw, 720px); }
.hscroll-item .ph { overflow: hidden; height: clamp(280px, 52vh, 540px); border-radius: 3px; }
.hscroll-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); -webkit-user-drag: none; }
.hscroll-item:hover img { transform: scale(1.05); }
.hscroll-item .cap { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; font-size: .9rem; color: rgba(255,255,255,.75); }
.hscroll-item .cap b { font: 400 1.25rem/1 var(--serif); color: #fff; }
.hscroll-item .num { font: 600 .68rem/1 var(--sans); letter-spacing: .2em; color: var(--lagoon); }

/* ---------- Day at Makulay (sky shift) ---------- */
.sky { --sky: #f6e3cf; background: var(--sky); transition: background-color 1.4s ease; }
.day-steps { display: grid; gap: clamp(56px, 9vh, 110px); }
.day-step { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .day-step { grid-template-columns: 1fr 1fr; } .day-step:nth-child(even) .day-media { order: 2; } }
.day-media { aspect-ratio: 5/4; overflow: hidden; border-radius: 4px; }
.day-media img { width: 100%; height: 100%; object-fit: cover; }
.day-time { font: 600 .74rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; display: flex; gap: 14px; align-items: center; }
.day-time i { font-style: normal; font: 300 3.4rem/1 var(--serif); letter-spacing: 0; }
.sky.night { color: #fff; }
.sky.night .lede { color: rgba(255,255,255,.78); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 34px 22px 8px 0; border-bottom: 1px solid var(--line-light); }
.stat b { display: block; font: 300 clamp(3rem, 6vw, 5.6rem)/1 var(--serif); }
.stat span { font-size: .9rem; color: rgba(255,255,255,.7); }

/* ---------- Reviews ---------- */
.rating-hero { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: end; margin-bottom: 64px; }
@media (min-width: 900px) { .rating-hero { grid-template-columns: auto 1fr; gap: 90px; } }
.rating-num { font: 300 clamp(6rem, 15vw, 13rem)/.82 var(--serif); letter-spacing: -.03em; }
.rating-num small { font-size: .26em; letter-spacing: 0; color: var(--muted); }
.cat-bars { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 40px; }
.cat-bar { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: .88rem; }
.cat-bar .bar { grid-column: 1/-1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.cat-bar .bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--v)); transition: transform 1.6s var(--ease); }
.cat-bars:not(.in) .bar i { transform: scaleX(0); }
.no-js .cat-bars .bar i { transform: scaleX(var(--v)); }
.review-track { gap: 22px; padding-block: 2px; }
.review-card { width: min(420px, 82vw); flex: none; padding: 30px 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.review-card blockquote { margin: 0; font: 400 1.32rem/1.38 var(--serif); }
.review-card blockquote::before { content: "“"; display: block; font: 300 3.6rem/.6 var(--serif); color: var(--lagoon); margin-bottom: 8px; }
.review-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); margin-top: auto; }
.review-card figcaption b { color: var(--ink); font-weight: 600; }
.review-grid { columns: 1; column-gap: 22px; }
@media (min-width: 700px) { .review-grid { columns: 2; } }
@media (min-width: 1100px) { .review-grid { columns: 3; } }
.review-grid .review-card { width: auto; break-inside: avoid; margin-bottom: 22px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-bar button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: .85rem; }
.filter-bar button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Location ---------- */
.dist-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.dist-list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dist-list li b { font: 400 1.4rem/1.2 var(--serif); }
.dist-list li span { color: var(--muted); white-space: nowrap; }
.on-dark .dist-list, .on-dark .dist-list li { border-color: var(--line-light); }
.on-dark .dist-list li span { color: rgba(255,255,255,.7); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font: 400 clamp(1.3rem, 2vw, 1.75rem)/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: transform .5s var(--ease), background .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] summary .pm { background: var(--ink); color: #fff; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { padding: 0 0 28px; max-width: 46em; color: var(--muted); }

/* ---------- Booking widget ---------- */
.book-box { background: #fff; color: var(--ink); border-radius: 6px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 120px rgba(0,0,0,.18); display: grid; gap: 18px; }
.book-box h3 { font-size: 1.9rem; }
.book-villas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.book-villas label { position: relative; cursor: pointer; }
.book-villas input { position: absolute; opacity: 0; }
.book-villas .opt { display: block; padding: 14px; border: 1px solid var(--line); border-radius: 4px; transition: border-color .3s, background .3s; }
.book-villas .opt b { display: block; font: 500 1.15rem/1.2 var(--serif); }
.book-villas .opt small { color: var(--muted); font-size: .76rem; }
.book-villas input:checked + .opt { border-color: var(--ink); background: var(--foam); }
.book-villas input:focus-visible + .opt { outline: 2px solid var(--lagoon-deep); outline-offset: 2px; }
.book-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px; }
.field.full { grid-column: 1/-1; }
.field span { font: 600 .64rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { border: 0; padding: 0; font: 500 1rem/1.4 var(--sans); background: transparent; color: var(--ink); width: 100%; min-width: 0; }
.field input:focus, .field select:focus { outline: none; }
.field:focus-within { border-color: var(--ink); }
.book-box .btn { justify-content: center; width: 100%; }
.book-note { font-size: .78rem; color: var(--muted); margin: 0; text-align: center; }

.drawer { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.drawer.open { visibility: visible; }
@media (max-width: 699px) { .drawer { padding-bottom: var(--badge-clear); } .drawer .book-box { max-height: calc(100svh - 16px - var(--badge-clear)); } }
.drawer-scrim { position: absolute; inset: 0; background: rgba(5,12,14,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer .book-box { position: relative; width: min(520px, 100%); transform: translateY(40px) scale(.98); opacity: 0; transition: transform .7s var(--ease), opacity .5s; max-height: calc(100svh - 32px); overflow: auto; }
.drawer.open .book-box { transform: none; opacity: 1; }
.drawer .x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.2rem; line-height: 1; }

.mobile-book { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: max(var(--badge-clear), env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; background: rgba(11,21,23,.92); color: #fff; border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(calc(100% + var(--badge-clear) + 12px)); transition: transform .6s var(--ease); }
.mobile-book.show { transform: none; }
.mobile-book small { display: block; font-size: .72rem; color: rgba(255,255,255,.7); }
.mobile-book b { font: 500 1.1rem/1.1 var(--serif); }
.mobile-book .btn { --bg: var(--lagoon); --fg: var(--ink); }
@media (min-width: 1080px) { .mobile-book { display: none; } }

/* ---------- Villa page ---------- */
.v-hero { position: relative; min-height: 100svh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.v-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroIn 2.6s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.v-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,12,14,.5), rgba(5,12,14,0) 26%, rgba(5,12,14,.25) 42%, rgba(5,12,14,.62) 62%, rgba(5,12,14,.9)); }
.v-hero .wrap { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 28px); padding-bottom: clamp(36px, 7vh, 80px); }
@media (max-width: 699px) {
  .v-hero .display { font-size: clamp(2.8rem, 13vw, 4rem); }
  .v-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
  .v-facts div { padding: 14px 0 0; margin: 0; }
  .v-facts dd { font-size: 1rem; }
  .v-facts div:nth-child(n+4) { display: none; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .78rem; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.page-light .crumbs { color: var(--muted); }
.v-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px; border-top: 1px solid var(--line-light); }
.v-facts div { padding: 16px 28px 0 0; margin-right: 28px; }
.v-facts dt { font: 600 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.v-facts dd { margin: 0; font: 400 1.25rem/1.2 var(--serif); }
.facts-table { width: 100%; border-collapse: collapse; }
.facts-table th, .facts-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table th { font: 600 .7rem/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); width: 38%; }
.facts-table td { font: 400 1.25rem/1.3 var(--serif); }
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 32px; }
.amen li { display: flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.amen li svg { width: 18px; height: 18px; flex: none; color: var(--lagoon-deep); }
.highlights { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .highlights { grid-template-columns: repeat(3, 1fr); } }
.highlights div { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.highlights b { display: block; font: 400 1.65rem/1.15 var(--serif); margin-bottom: 10px; }
.highlights p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Villa section bar ---------- */
.subnav { position: sticky; top: 64px; z-index: 40; height: 52px; background: rgba(250, 247, 241, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.subnav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.subnav-links { display: flex; gap: clamp(18px, 2.4vw, 34px); height: 100%; overflow-x: auto; scrollbar-width: none; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a { position: relative; display: flex; align-items: center; flex: none; font: 500 .76rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .3s; }
.subnav-links a:hover, .subnav-links a[aria-current] { color: var(--ink); }
.subnav-links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--makulay); }
.subnav-side { display: none; align-items: center; gap: 20px; flex: none; }
.subnav-side > a:first-child { display: inline-flex; align-items: center; gap: .5em; font: 500 .76rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.subnav-side .btn { padding-block: .72em; }
@media (min-width: 900px) { .subnav-side { display: flex; } }

/* ---------- Cinematic walkthrough ---------- */
.wt { position: relative; background: #050a0b; color: #fff; }
.wt-head { padding-block: clamp(64px, 8vw, 110px) clamp(32px, 4vw, 52px); }
.wt-frames { display: grid; gap: 2px; }
.wt-frame { position: relative; margin: 0; overflow: hidden; }
.wt-frame img { width: 100%; height: auto; }
.wt-frame figcaption { padding: 24px var(--gutter) 48px; max-width: 40em; }
.wt-room { font: 600 .68rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--lagoon-soft); display: flex; gap: 14px; }
.wt-frame h3 { margin: 14px 0 10px; font-size: clamp(1.8rem, min(3.4vw, 6vh), 3.4rem); max-width: 16ch; }
.wt-frame p { color: rgba(255,255,255,.78); margin: 0; max-width: 32em; }
.wt-ui { display: none; }

.wt.cine .wt-stage { position: relative; height: calc(100svh - 116px); min-height: 480px; overflow: hidden; touch-action: pan-y; cursor: pointer; user-select: none; -webkit-user-select: none; }
.wt.cine .wt-frames { position: absolute; inset: 0; display: block; }
.wt.cine .wt-frame { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.wt.cine .wt-frame.prev { opacity: 1; visibility: visible; z-index: 1; transition: none; }
.wt.cine .wt-frame.active { opacity: 1; visibility: visible; z-index: 2; transition: opacity 1.2s ease; }
.wt.cine .wt-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; -webkit-user-drag: none; }
.wt.cine .wt-frame.fit::before { content: ""; position: absolute; inset: -60px; background: var(--lq) center / cover no-repeat; filter: blur(34px) brightness(.5) saturate(1.15); }
.wt.cine .wt-frame.fit img { object-fit: contain; object-position: 74% 50% !important; background-image: none !important; }
@media (max-aspect-ratio: 1/1) { .wt.cine .wt-frame.fit img { object-position: 50% 30% !important; } }
.wt.cine .wt-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,8,9,.7) 0%, rgba(3,8,9,.2) 40%, rgba(3,8,9,0) 62%, rgba(3,8,9,.35) 100%), linear-gradient(0deg, rgba(3,8,9,.65), transparent 45%), linear-gradient(180deg, rgba(3,8,9,.45), transparent 18%); pointer-events: none; }
.wt.cine .wt-frame figcaption { position: absolute; z-index: 2; left: 0; bottom: clamp(84px, 12vh, 120px); padding: 0 var(--gutter); max-width: min(46em, 70vw); }
.wt.cine .wt-frame figcaption > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.wt.cine .wt-frame.active figcaption > * { opacity: 1; transform: none; transition-delay: .25s; }
.wt.cine .wt-frame.active figcaption > *:nth-child(2) { transition-delay: .35s; }
.wt.cine .wt-frame.active figcaption > *:nth-child(3) { transition-delay: .45s; }
.wt.cine .wt-ui { display: block; }
.wt-rail { position: absolute; z-index: 4; right: var(--gutter); top: calc(50% - var(--badge-clear) / 2); transform: translateY(-50%); display: none; flex-direction: column; align-items: flex-end; gap: 0; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) { .wt-rail { display: flex; } }
.wt-rail button { background: none; border: 0; padding: clamp(2px, .75vh, 7px) 0; display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; color: rgba(255,255,255,.6); font: 500 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: right; text-shadow: 0 1px 8px rgba(0,0,0,.5); transition: color .3s; }
.wt-rail button::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.wt-rail button:hover { color: #fff; }
.wt-rail button.on { color: #fff; }
.wt-rail button.on::before { width: 34px; background: var(--lagoon-soft); }
.wt-top { position: absolute; z-index: 4; top: 20px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; pointer-events: none; }
.wt-title { font: 600 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wt-count { font: 300 1.3rem/1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wt-controls { position: absolute; z-index: 4; right: var(--gutter); bottom: var(--badge-clear); display: flex; gap: 8px; }
.wt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(5,10,11,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .3s, border-color .3s; }
.wt-btn:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.wt-btn svg { width: 14px; height: 14px; flex: none; }
.wt-btn.ic { width: 46px; padding: 0; }
.wt-btn.ic svg { width: 17px; height: 17px; }
[data-wt-play] svg:nth-of-type(2) { display: none; }
[data-wt-play].paused svg:nth-of-type(1) { display: none; }
[data-wt-play].paused svg:nth-of-type(2) { display: block; }
[data-wt-sound][aria-pressed="true"] { background: var(--lagoon); border-color: var(--lagoon); color: var(--ink); }
.wt-progress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.14); }
.wt-progress i { position: absolute; inset: 0; background: var(--makulay); transform-origin: left; transform: scaleX(0); }
@media (max-width: 999px) {
  .wt-rail { display: flex; flex-direction: row; align-items: center; gap: 18px; top: 52px; left: 0; right: 0; transform: none; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .wt-rail::-webkit-scrollbar { display: none; }
  .wt-rail li { flex: none; }
  .wt-rail button { padding-block: 10px; }
  .wt-rail button::before { display: none; }
  .wt-rail button.on { color: var(--lagoon-soft); }
}
@media (max-width: 1240px) { .wt.cine .wt-frame figcaption { bottom: calc(var(--badge-clear) + 64px); } }
@media (max-width: 699px) {
  .wt.cine .wt-frame::after { background: linear-gradient(0deg, rgba(3,8,9,.88) 0%, rgba(3,8,9,.35) 45%, rgba(3,8,9,0) 70%), linear-gradient(180deg, rgba(3,8,9,.6), transparent 22%); }
  .wt.cine .wt-frame figcaption { bottom: calc(var(--badge-clear) + 64px); max-width: none; }
  .wt-controls { left: var(--gutter); right: var(--gutter); justify-content: space-between; gap: 6px; }
  .wt-btn { padding: 0 13px; font-size: .62rem; letter-spacing: .12em; }
  [data-wt-play] span, [data-wt-sound] span { display: none; }
  [data-wt-play], [data-wt-sound] { width: 46px; padding: 0; }
}

/* ---------- Gallery + lightbox ---------- */
.gallery { columns: 2; column-gap: 12px; }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 16px; } }
.gallery a { display: block; margin-bottom: 12px; overflow: hidden; border-radius: 3px; break-inside: avoid; cursor: zoom-in; }
@media (min-width: 900px) { .gallery a { margin-bottom: 16px; } }
.gallery img { width: 100%; transition: transform 1.2s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,10,11,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; touch-action: pan-y; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 82svh; width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: .85rem; padding: 0 70px; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem; }
.lightbox .lb-x { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Guide ---------- */
.guide-list { list-style: none; padding: 0; margin: 0; counter-reset: g; border-top: 1px solid var(--line); }
.guide-list li { counter-increment: g; display: grid; grid-template-columns: 60px 1fr; gap: 6px 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .guide-list li { grid-template-columns: 90px 1.1fr 1fr 160px; align-items: baseline; } }
.guide-list li::before { content: counter(g, decimal-leading-zero); font: 300 1.6rem/1 var(--serif); color: var(--lagoon-deep); grid-row: span 3; }
@media (min-width: 900px) { .guide-list li::before { grid-row: auto; } }
.guide-list h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.guide-list p { margin: 0; color: var(--muted); }
.guide-list .k { font: 600 .68rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Prose / article ---------- */
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin: 2.2em 0 .6em; }
.prose h3 { margin: 1.8em 0 .5em; }
.prose p, .prose li { color: #2c3a3a; }
.prose ul { padding-left: 1.2em; }
.quick { border: 1px solid var(--line); border-radius: 6px; padding: 26px 30px; background: #fff; }
.quick h2 { font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 16px; color: var(--muted); }
.quick dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.quick dt { font-weight: 600; font-size: .9rem; }
.quick dd { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Page heads ---------- */
.page-head { padding: calc(var(--header-h) + clamp(60px, 10vw, 140px)) 0 clamp(50px, 7vw, 100px); }
.page-head h1 { font-size: clamp(3rem, 8vw, 7.5rem); max-width: 13ch; }
.page-head .lede { margin-top: 26px; }

/* ---------- Final CTA ---------- */
.final { position: relative; min-height: 100svh; color: #fff; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,12,14,.75), rgba(5,12,14,.25) 60%, rgba(5,12,14,.15)); }
.final .wrap { position: relative; z-index: 2; padding-block: 120px; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #93cbec, var(--lagoon) 55%, #6fbbe4); color: var(--ink); padding: clamp(72px, 9vw, 120px) 0 calc(40px + env(safe-area-inset-bottom)); font-size: .92rem; }
.footer-logo { display: block; width: clamp(230px, 30vw, 420px); margin: 0 0 clamp(44px, 6vw, 64px); color: #fff; }
.footer-logo svg { display: block; width: 100%; height: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 50px; border-bottom: 1px solid rgba(11, 21, 23, .22); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { font: 600 .68rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(11, 21, 23, .72); margin: 0 0 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(11, 21, 23, .4); color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.footer-social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; text-decoration: none; }
.footer-social a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.footer-grid address { font-style: normal; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: .78rem; color: rgba(11, 21, 23, .72); }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
}

.v-hero .display { font-size: clamp(2.8rem, min(8.4vw, 14vh), 8.8rem); }
@media (max-width: 699px) {
  .hero h1 { font-size: min(2.85rem, 12.4vw); }
}
