:root {
  --ink: #071416;
  --ink-2: #102226;
  --foam: #f4efe6;
  --paper: #faf7f1;
  --water: #148a96;
  --water-deep: #0b4c54;
  --gold: #c4a36a;
  --line: rgba(7,20,22,.12);
  --white: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--ink); color: var(--foam); }
body {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.serif { font-family: "Cormorant Garamond", serif; }
.kicker {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
}

/* loader */
#loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: grid; place-items: center;
  transition: opacity .8s ease, visibility .8s;
}
#loader.gone { opacity: 0; visibility: hidden; }
#loader .count {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(64px, 16vw, 180px);
  font-weight: 400; line-height: .8; letter-spacing: -.04em;
}
#loader small { display: block; text-align: center; letter-spacing: .4em; font-size: 11px; margin-top: 18px; color: var(--gold); }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  mix-blend-mode: difference;
  color: #fff;
}
.nav.solid {
  mix-blend-mode: normal;
  background: rgba(7,20,22,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.logo { letter-spacing: .28em; font-size: 12px; font-weight: 400; }
.logo em { font-family: "Cormorant Garamond", serif; font-style: italic; letter-spacing: .08em; display: block; font-size: 13px; opacity: .8; }
.nav-r { display: flex; gap: 28px; align-items: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.book {
  border: 1px solid currentColor; padding: 10px 18px; letter-spacing: .18em;
  font-size: 11px; text-transform: uppercase; background: transparent; color: inherit; cursor: pointer;
}
.book.filled { background: var(--foam); color: var(--ink); border-color: var(--foam); }

/* hero */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; }
.hero video, .hero .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero .veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,20,22,.35) 0%, rgba(7,20,22,.05) 38%, rgba(7,20,22,.78) 100%);
}
.hero-copy {
  position: absolute; left: 48px; right: 48px; bottom: 72px; z-index: 2;
  max-width: 980px;
}
.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(52px, 9.2vw, 128px);
  line-height: .86;
  letter-spacing: -.035em;
}
.hero h1 em { font-style: italic; color: #e8d7b0; }
.hero-sub {
  margin-top: 22px; max-width: 420px; font-size: 16px; opacity: .88;
}
.scroll-hint {
  position: absolute; right: 36px; bottom: 40px; z-index: 2;
  writing-mode: vertical-rl; letter-spacing: .28em; font-size: 10px; text-transform: uppercase; opacity: .7;
}

/* ticker */
.ticker {
  display: flex; gap: 56px; padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden; white-space: nowrap;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.ticker b { animation: marquee 28s linear infinite; display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* chapters */
.chapter { padding: 120px 0; }
.chapter.foam { background: var(--foam); color: var(--ink); }
.chapter.paper { background: var(--paper); color: var(--ink); }
.chapter.deep { background: #061011; }
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: .95; letter-spacing: -.03em;
}
.lede { margin-top: 18px; max-width: 560px; color: inherit; opacity: .72; font-size: 17px; }

/* answer / GEO */
.answer {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.answer h2 { max-width: 12ch; }
.answer p { font-size: 18px; line-height: 1.65; max-width: 640px; }
.factgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 36px; }
.fact { background: var(--foam); padding: 22px 20px; }
.fact strong {
  display: block; font-family: "Outfit", system-ui, sans-serif;
  font-size: 32px; font-weight: 400; font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.02em;
}
.fact span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }

/* villa filmstrip */
.film-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.film {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; -webkit-overflow-scrolling: touch;
}
.film::-webkit-scrollbar { height: 4px; }
.film::-webkit-scrollbar-thumb { background: var(--water); }
.villa {
  flex: 0 0 min(78vw, 420px); scroll-snap-align: start;
  background: #fff; color: var(--ink); cursor: pointer;
  transition: transform .45s ease;
}
.villa:hover { transform: translateY(-6px); }
.villa img { width: 100%; height: 280px; object-fit: cover; }
.villa-b { padding: 20px 22px 26px; }
.villa h3 { font-family: "Cormorant Garamond", serif; font-size: 28px; font-weight: 500; }
.villa .m { font-size: 13px; opacity: .55; margin: 6px 0 12px; }

/* reef immersion */
.reef {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  overflow: hidden;
}
.reef img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05);
}
.reef .wash {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,18,28,.35), rgba(3,30,40,.55) 50%, rgba(3,12,16,.82));
}
.reef .inner { position: relative; z-index: 2; padding: 80px 24px; }
.reef h2 { font-size: clamp(48px, 10vw, 140px); }
.meters {
  display: flex; justify-content: center; gap: 48px; margin-top: 40px; flex-wrap: wrap;
}
.meters div { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.meters b { display: block; font-family: "Outfit", system-ui, sans-serif; font-size: 36px; letter-spacing: -.02em; font-weight: 400; font-variant-numeric: lining-nums; }

/* split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; min-height: 80vh; }
.split img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.split .txt { padding: clamp(40px, 7vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.list { list-style: none; margin-top: 28px; }
.list li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; font-size: 15px;
}

/* dining mosaic */
.mosaic { display: grid; grid-template-columns: 1.4fr .8fr; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 640px; }
.mosaic .big { grid-row: 1 / 3; position: relative; overflow: hidden; }
.mosaic figure { position: relative; overflow: hidden; min-height: 220px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  font-family: "Cormorant Garamond", serif; font-size: 32px;
}
.mosaic figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55));
}

/* awards */
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.award { background: var(--paper); padding: 40px 28px; }
.award b { display: block; font-family: "Cormorant Garamond", serif; font-size: 28px; font-weight: 400; margin-top: 8px; }

/* reviews */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
blockquote {
  padding: 36px; background: #fff; color: var(--ink);
}
blockquote p {
  font-family: "Cormorant Garamond", serif; font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3; font-style: italic;
}
blockquote cite { display: block; margin-top: 18px; font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .5; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-size: 18px; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary:after { content: "+"; color: var(--water); }
details[open] summary:after { content: "–"; }
details p { margin-top: 10px; opacity: .7; max-width: 720px; }

/* book panel */
.bookpanel {
  display: grid; grid-template-columns: 1.1fr .9fr; min-height: 70vh;
}
.bookpanel .visual { min-height: 420px; background-size: cover; background-position: center; }
.bookform { padding: clamp(40px, 7vw, 80px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .55; margin-bottom: 6px; }
input, select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; color: inherit; font: inherit; font-size: 16px;
}
.foam input, .foam select, .paper input, .paper select { color: var(--ink); }

footer { padding: 56px 0 28px; border-top: 1px solid rgba(255,255,255,.08); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.tiny { margin-top: 40px; font-size: 11px; opacity: .4; }

/* modal */
.modal {
  position: fixed; inset: 0; z-index: 120; background: rgba(4,10,12,.72);
  display: none; place-items: center; padding: 24px;
}
.modal.on { display: grid; }
.sheet { background: var(--paper); color: var(--ink); width: min(720px, 100%); padding: 36px; position: relative; }
.sheet img { width: 100%; height: 280px; object-fit: cover; margin-bottom: 18px; }
.x { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 24px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.film-head.reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-r a:not(.book) { display: none; }
  .hero-copy { left: 24px; right: 24px; bottom: 56px; }
  .answer, .split, .mosaic, .awards, .quotes, .bookpanel, .foot, .fields, .factgrid { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: auto; }
  .mosaic .big { grid-row: auto; min-height: 320px; }
  .chapter { padding: 80px 0; }
  .split img { min-height: 280px; }
}
