/* ==== 01-fonts.css ==== */
/* Fonts: Moneta for headings, Jost for text. Self-hosted, Latin and Latin Extended only.
   Jost is a variable font: one file per alphabet covers every weight from 300 to 700. */
@font-face {
  font-family: 'Moneta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/65da8a3d-font.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/41c1c2d0-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/f3d9b9f1-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/b2a03ef7-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/7505b7a6-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==== 02-tokens.css ==== */
/* Design tokens: every colour, size and space the site uses.
   Sizes that change with the screen are written as "phone size + growth", measured so they land exactly on
   the phone (390px) and desktop (1440px) designs and scale smoothly in between. */
:root {
  /* colour */
  --cream: #FCFAF1;      /* page */
  --sand: #E6DFD3;       /* quiet bands */
  --ink: #23261F;        /* text, dark bands */
  --muted: #5F5E58;      /* secondary text */
  --rule: #CFC6B6;       /* hairlines */
  --rule-strong: #B9B8B1;   /* row dividers in lists of facts */
  --rule-sand: #BDB3A2;     /* dividers on sand */
  --rule-soft: #D9D1C3;     /* light dividers, cookie bar edge */
  --rule-ink: rgba(35, 38, 31, .25);
  --sea: #47707F;        /* buttons, footer */
  --sea-deep: #2F5B6B;   /* text links on sand */
  --sea-light: #5F8A9A;  /* hover fills only: too light for text on cream */
  --on-sea: #F2EDE4;     /* text on the sea blue */

  /* type */
  --serif: 'Moneta', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --h1: calc(41.18px + 1.851vw);          /* 48.4 → 67.84 */
  --h2: calc(31.11px + 1.111vw);          /* 35.44 → 47.1 */
  --h3: calc(26.07px + .741vw);           /* 28.96 → 36.74, statements */
  --h4: calc(21.04px + .37vw);            /* 22.48 → 26.37 */
  --body: 19px;
  --body-lh: 1.6;
  --small: 16px;
  --small-lh: 1.5;
  --label: 13px;          /* labels above titles: one size everywhere */
  --label-track: .24em;
  --link: 11.5px;         /* underlined uppercase links */
  --link-track: .18em;
  --button: 11px;

  /* layout */
  --gutter: 2vw;                          /* page edge */
  --inset: 6vw;                           /* text inside photo sections */
  --space: calc(46.17px + 4.571vw);       /* section padding: 64 → 112 */
  --space-s: 32px;                        /* between two plain sections */
  --header-h: 102px;
  --measure: 705px;                       /* centred paragraphs */
}
@media (max-width: 767px) {
  :root {
    --body: 18px;
    --small: 15.5px;
    --label: 12px;
    --label-track: .2em;
    --gutter: 6vw;
    --inset: 6vw;
    --space-s: 18px;
    --header-h: 67px;
  }
}

/* ==== 03-base.css ==== */
/* Base: reset, type, links and buttons */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 var(--small)/var(--small-lh) var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
:is(.hero, .band, .film, .site-footer) :focus-visible { outline-color: var(--cream); }

/* Headings: Moneta, slightly tightened */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
h1, .h1 { font-size: var(--h1); line-height: 1.056; }
h2, .h2 { font-size: var(--h2); line-height: 1.1136; }
h3, .h3 { font-size: var(--h3); line-height: 1.1424; }
h4, .h4 { font-size: var(--h4); line-height: 1.171; }

/* Text */
.body, .prose p { font-size: var(--body); line-height: var(--body-lh); }
.small { font-size: var(--small); line-height: var(--small-lh); }
.label {
  font-size: var(--label); line-height: 1.5; letter-spacing: var(--label-track);
  text-transform: uppercase;
}
.measure { max-width: var(--measure); margin-inline: auto; }
.center { text-align: center; }

/* Underlined uppercase link ("Discover the villas") */
.link {
  font-size: var(--link); line-height: 24px; letter-spacing: var(--link-track); text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.link:hover { opacity: .7; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px;
  background: var(--sea); color: var(--on-sea);
  border: 0; border-radius: 0;
  font: 400 var(--button)/1.1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: opacity .2s ease;
}
.btn:hover { opacity: .85; }
.btn--outline { background: transparent; color: #fff; border: 1px solid #fff; }
/* Secondary button: outlined in ink, fills on hover */
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); opacity: 1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* Accessibility helpers */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 2000;
  padding: 12px 18px; background: var(--sea); color: var(--on-sea); text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ==== 10-header.css ==== */
/* Header: burger and "Menu" on the left, wordmark in the centre, Book on the right. Stays at the top. */
.site-header {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  background: var(--cream); color: var(--ink);
}
.site-header__logo { grid-column: 2; display: block; width: 200px; }
.site-header__logo img { width: 100%; }
.site-header__book { grid-column: 3; justify-self: end; padding: 11px 24px; }

.burger {
  grid-column: 1; justify-self: start;
  display: flex; align-items: center; gap: 16px;
  padding: 1px 6px; margin: 0; border: 0; background: none;
  font: 400 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
}
.burger__icon { position: relative; width: 28px; height: 26px; }
.burger__icon span {
  height: 2px;
  position: absolute; left: 0; width: 100%; background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.burger__icon span:nth-child(1) { top: 2px; }
.burger__icon span:nth-child(2) { top: 13px; }
.burger__icon span:nth-child(3) { top: 23px; }
.burger__label::after { content: "Menu"; }
html:not(.js) .burger { visibility: hidden; }   /* without JavaScript the footer lists every page */
.menu-open .burger__label::after { content: "Close"; }
.menu-open .burger__icon span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-open .burger__icon span:nth-child(2) { opacity: 0; }
.menu-open .burger__icon span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 767px) {
  .site-header__logo { width: 208px; }
  .site-header__book { display: none; }
  .burger { margin-left: 4px; padding: 13px 18px; }   /* 44px tap target, lines where they were */
  .burger__label { display: none; }
  .burger__icon { width: 22px; height: 18px; }
  .burger__icon span { height: 1px; }
  .burger__icon span:nth-child(1) { top: 2px; }
  .burger__icon span:nth-child(2) { top: 10px; }
  .burger__icon span:nth-child(3) { top: 17px; }
  .menu-open .burger__icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .burger__icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==== 11-menu.css ==== */
/* Menu: a cream panel from the left on desktop, the whole screen on phones */
.menu {
  position: fixed; z-index: 999; left: 0; top: calc(var(--header-h) - 10px); bottom: 0;
  width: 432px; max-width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 36px 48px 48px;
  overflow-y: auto;
  background: var(--cream); color: var(--ink);
  visibility: hidden; opacity: 0; transform: translateX(-16px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.menu-open { overflow: hidden; }   /* the page behind the menu stays put */
.menu-open .menu { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease; }
.menu:focus { outline: none; }   /* the panel itself takes focus when opened by tap or click; links keep their outline */
.menu__list a { display: inline-block; text-decoration: none; font-family: var(--serif); }
.menu__list > li > a { font-size: 25.6px; line-height: 1.2; padding: 6.4px 0; }
.menu__sub { margin: -6px 0 0; }
.menu__sub a { font-size: 21.6px; line-height: 1.2; padding: 4.32px 0 4.32px 21.6px; }
.menu__list a:hover, .menu__list a[aria-current] { opacity: .6; }
.menu__book { display: none; }

@media (max-width: 767px) {
  .menu { top: 0; width: 100%; padding: var(--header-h) var(--gutter) 23px; }
  .menu__list > li > a { font-size: 26px; padding: 6.5px 0; }
  .menu__sub { margin: 4px 0 11px; }
  .menu__sub a { font-size: 21px; padding: 4.2px 0 4.2px 21px; }
  .menu__book { display: inline-flex; align-self: flex-start; width: 210px; padding: 18px 36px; font-size: 13px; line-height: 19px; }
}
@media (prefers-reduced-motion: reduce) { .menu { transition: none; transform: none; } }

/* ==== 12-footer.css ==== */
/* Footer: deep blue; wordmark and newsletter sign-up, then the link columns */
.site-footer {
  --soft: rgba(252, 250, 241, .9);
  --line: rgba(252, 250, 241, .28);
  background: var(--sea); color: var(--cream);
  padding: clamp(56px, 6vw, 88px) max(24px, var(--gutter)) 28px;
}
.site-footer a { color: inherit; text-decoration: none; transition: opacity .2s; }
.site-footer a:hover, .site-footer button:hover { opacity: .7; }
.site-footer__top {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 40px;
  margin-bottom: clamp(48px, 5vw, 72px);
}
.site-footer__logo { display: block; width: 400px; max-width: 100%; }
.site-footer__logo img { width: 100%; filter: brightness(0) invert(1); }
.site-footer__h {
  display: block; margin: 0 0 18px;
  font-size: 11px; font-weight: 400; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; color: var(--soft);
}
.site-footer__h--next { margin-top: 40px; }
.site-footer__cols {
  display: grid; gap: 40px 32px;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)) max-content;
}
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer li { font-size: 15px; line-height: 1.45; }
.site-footer__cookie { padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.site-footer__bar {
  margin-top: clamp(48px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 12px; line-height: 1.5; color: var(--soft);
}

/* Newsletter sign-up */
.signup__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* hidden field that only spam bots fill in */
.signup { width: 400px; max-width: 100%; }
.signup .site-footer__h { line-height: 24px; }
.signup__field { display: flex; border: 1px solid var(--soft); }
.signup input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0;
  background: var(--cream); color: var(--ink); font-size: 15px;
}
.signup input::placeholder { color: #8A8475; }
.signup input:focus { outline: none; background: #fff; }
.signup__field:focus-within { box-shadow: 0 0 0 2px var(--cream); }
.signup button {
  padding: 0 22px; border: 0; border-left: 1px solid rgba(35, 38, 31, .18);
  background: var(--cream); color: var(--ink);
  font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.signup button:hover, .signup button:focus-visible, .signup.is-sent button { background: var(--sea-deep); color: var(--cream); outline: none; opacity: 1; }
.signup.is-invalid .signup__field { border-color: #F2C6B4; box-shadow: 0 0 0 1px #F2C6B4; }
.signup.is-sent .signup__field { opacity: .6; transition: opacity .3s; }
.signup__msg { min-height: 1.4em; margin-top: 10px; font-size: 13px; }

@media (max-width: 1100px) {
  .site-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__cols > div:first-child { grid-row: span 2; }
}
@media (max-width: 767px) {
  .site-footer__top { flex-direction: column; align-items: flex-start; gap: 36px; }
  .site-footer__logo { width: 280px; align-self: center; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .site-footer__cols > div:first-child { grid-column: 1 / -1; grid-row: auto; }
  .site-footer li { font-size: 14px; }
}

/* ==== 13-cookie-bar.css ==== */
/* Cookie bar (built by /assets/consent.js) */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000;
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px;
  padding: 18px 22px;
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--rule-soft); box-shadow: 0 6px 24px rgba(35, 38, 31, .12);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.cookie-bar.is-in { opacity: 1; transform: none; }
html:has(.cookie-bar.is-in) { scroll-padding-bottom: 140px; }   /* focused items scroll clear of the bar */
.cookie-bar[hidden] { display: none; }
.cookie-bar__text { flex: 1 1 320px; font-size: 14px; line-height: 1.5; }
.cookie-bar__text a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar__btns { display: flex; flex: 0 0 auto; gap: 10px; }
.cookie-bar__btn {
  min-width: 112px; height: 42px; padding: 0 18px;
  border: 1px solid var(--sea); background: transparent; color: var(--sea-deep);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.cookie-bar__btn--primary { background: var(--sea); color: var(--cream); }
.cookie-bar__btn:hover { opacity: .85; }
@media (max-width: 600px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-bar__btns { width: 100%; }
  .cookie-bar__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }

/* ==== 14-booking.css ==== */
/* Exely booking engine: the Book panel under the header, and the /booking page.
   Based on Exely's own styles from their integration kit (20 Oct 2026). */
#book-panel, #book-panel * { box-sizing: border-box; }
#be-booking-form { width: 100%; max-width: 1400px; margin: 0 auto; }
#tl-booking-cart { z-index: 1 !important; }

/* The panel drops down under the header when Book is pressed.
   It is hidden with visibility (not display: none) so Exely can draw the form while it is closed. */
.book-panel {
  position: fixed; left: 0; right: 0; top: var(--book-panel-top, var(--header-h)); z-index: 1001;
  background: var(--cream); border-bottom: 1px solid var(--sand);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.book-panel.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
.book-panel__inner { position: relative; max-width: 1300px; margin: 0 auto; padding: 20px 64px 20px 4vw; }
.book-panel__close {
  position: absolute; top: 50%; right: 16px; transform: translateY(-50%);
  padding: 8px; border: 0; background: none; color: var(--ink); font-size: 28px; line-height: 1;
}
@media (max-width: 767px) { .book-panel__inner { padding: 16px 52px 16px 16px; } }

/* /booking page: the engine and nothing to distract from it */
.booking { box-sizing: content-box; min-height: 75vh; padding: 24px 4vw 96px; }
@media (max-width: 767px) { .booking { padding: 16px 16px 64px; } }

/* Exely's floating key button: the site has its own Book buttons */
.x-tl-booking-widget-container { display: none !important; }

/* ==== 15-motion.css ==== */
/* Scroll motion (site.js; only when the visitor allows motion) */
.motion .rv {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity 1s cubic-bezier(.2, .65, .3, 1), transform 1.2s cubic-bezier(.2, .65, .3, 1);
  transition-delay: var(--rv-delay, 0ms);
}
.motion .rv.is-in { opacity: 1; transform: none; }   /* ends on "none" so text isn't left on a blurry layer */

/* photos drift: the script sets `translate`; the slight zoom keeps the edges covered */
.motion .drift { overflow: hidden; }
.motion .drift img { scale: 1.12; will-change: translate; }
.motion .drift[data-zoom="slow"] img { scale: 1; }

/* slow zoom on some photo bands */
@keyframes slow-zoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.motion [data-zoom="slow"] img { animation: slow-zoom 38s ease-in-out both; }   /* once, then it rests */

/* ==== 20-sections.css ==== */
/* Sections: the building blocks every page is made from.
   Spacing inside text blocks follows one rhythm: title → text 32px, text → link 16px. */

.section { padding: var(--space) var(--gutter); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: calc(40px + 3.2vw); }        /* 86 desktop, ~52 phone */
.section--flush-top { padding-top: 0; }

/* ---------- Photo frames ---------- */
.frame { position: relative; overflow: hidden; }
.frame > img, .frame > video, .frame > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero: full-width photo, label and title on it, bottom left ---------- */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 600px; padding: 48px var(--inset) 41px;
  background: var(--ink); color: var(--cream);
}
.hero > .frame { position: absolute; inset: 0; }
.hero > .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(35, 38, 31, .62), rgba(35, 38, 31, .12) 75%); }   /* keeps the white text readable on bright photos */
.hero__text .label { text-shadow: 0 1px 8px rgba(20, 22, 18, .45); }
.hero__text { position: relative; max-width: 860px; }
.hero__text .label { margin-bottom: 31px; }

/* ---------- Intro: centred label, statement and link ---------- */
.intro { text-align: center; padding-bottom: calc(var(--space) - 4px); }
.intro__title { max-width: 1150px; margin: 15px auto 0; }
.intro .link-line { margin-top: 32px; }

/* ---------- Text rhythm inside any text block ---------- */
.text > h2 + p, .text > h3 + p, .text > .h2 + p { margin-top: 32px; }
.text > p + p { margin-top: 16px; }
.text > .label + h2, .text > .label + h3 { margin-top: 15px; }
.link-line { font-size: var(--small); line-height: 24px; }

/* ---------- Split: photo on one half, text on the other ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 38.82vw; }
.split > .frame { min-height: 100%; }
.split > .text { align-self: center; width: 39.6vw; margin: 48px 0 48px 6vw; }
.split--photo-left > .frame { order: -1; }
.split--photo-left > .text { margin-left: 8.47vw; }

/* Framed split: a smaller photo set in from the edge, text alongside, both starting at the top */
.split--framed { min-height: 0; padding-block: var(--space); align-items: start; }
.split--framed > .frame { min-height: 0; aspect-ratio: 581 / 416; margin-left: 9.65vw; }
.split--framed > .text { align-self: start; margin-block: 0; }

/* ---------- Band: full-width photo with text over it, bottom left ---------- */
.band {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 39.8vw; padding: 64px var(--inset) 49px;
  background: var(--ink); color: var(--cream);
}
.band > .frame { position: absolute; inset: 0; }
.band > .text { position: relative; max-width: 47.6vw; }
.band--short { min-height: 34.1vw; padding-bottom: 60px; }
.band--short > .text { max-width: 51.7vw; }

/* ---------- Statement: a centred line or two with a note ---------- */
.statement { text-align: center; }
.statement > .h3 { max-width: 918px; margin-inline: auto; }
.statement > p:not(.h3) { max-width: 594px; margin-inline: auto; }
.statement > .h3 + p { margin-top: 32px; }
.statement > p + p { margin-top: 16px; }

/* ---------- Closing call to action: title, text, buttons, contact line ---------- */
.cta { text-align: center; }
.cta > h2 { max-width: 918px; margin-inline: auto; }
.cta > .body { max-width: var(--measure); margin: 18px auto 0; }
.cta > .btn-row { margin-top: 21px; justify-content: center; }
.cta > .contact-line { max-width: 594px; margin: 23px auto 0; }
.contact-line a { text-decoration: none; }

@media (max-width: 767px) {
  .hero { min-height: 374px; text-align: center; padding: 40px var(--gutter) 35px; }
  .hero__text .label { margin-bottom: 32px; }
  .intro__title { margin-top: 11px; }

  .split { grid-template-columns: 1fr; min-height: 0; }
  .split > .frame { order: -1; aspect-ratio: 390 / 304; }
  .split > .text, .split--photo-left > .text { width: auto; margin: 40px var(--gutter) 64px; }

  .split--framed { padding-top: 0; }
  .split--framed > .frame { margin-left: 0; aspect-ratio: 390 / 339; }
  .split--framed > .text { margin: 40px var(--gutter) 0; }

  .band { min-height: 427px; padding: 48px var(--gutter) 30px; }
  .band > .text, .band--short > .text { max-width: none; }
  .band--short { min-height: 0; padding-top: 65px; padding-bottom: 30px; }

  .intro { padding-bottom: calc(var(--space) + 1px); }
  .section--tight { padding-block: 64px 56px; }
  .cta > .body { margin-top: 16px; }
  .cta > .btn-row { margin-top: 17px; }
  .cta > .contact-line { margin-top: 17px; }
}

/* ==== 21-variants.css ==== */
/* Section variants used across the inner pages */

/* A plain section that follows another plain section: the gap between them is the first one's padding */
.section--continued { padding-top: var(--space-s); }

/* Closing call to action with a link instead of buttons */
.cta > .link-line { margin-top: 18px; }

/* Page intro: label, statement and an optional paragraph, 32px apart, on a narrower measure (most inner pages) */
.intro--page { padding-bottom: var(--space); }
.intro--page > .label,
.intro--page > .intro__title { max-width: 1034px; margin-inline: auto; }
.intro--page > .intro__title { margin-top: 32px; }
.intro__text { max-width: var(--measure); margin: 32px auto 0; }
@media (max-width: 767px) {
  .intro--page { padding-bottom: calc(var(--space) + 1px); }
}

/* Page split: text sits a little above centre on desktop; on phones a taller photo and a 52px gap below the text */
@media (min-width: 768px) {
  .split--page > .text { margin-block: 38px 58px; }
}
@media (max-width: 767px) {
  .split--page > .frame { aspect-ratio: 390 / 339; }
  .split--page > .text { margin-bottom: 52px; }
}

/* Split with the text running from the page edge (text left, photo right) */
@media (min-width: 768px) {
  .split--text-edge > .text { width: 43.6vw; margin-left: var(--gutter); }
}

/* Page head without a photo: centred label and title straight under the header (optional line of text below) */
.page-head { padding: 11px var(--gutter) 47px; text-align: center; }
.page-head > * { max-width: 1034px; margin-inline: auto; }
.page-head > h1 { margin-top: 32px; }
.page-head > .body { max-width: var(--measure); margin-top: 32px; }

/* Ruled rows: short facts in one or two columns, each on a hairline */
.rows { columns: 2; column-gap: .8vw; }
.rows > li {
  break-inside: avoid;
  padding: 12px 0; border-bottom: 1px solid var(--rule-strong);   /* a shade darker than --rule, as on the old site */
  font-size: var(--small); line-height: 1.45;
}
.rows-title + .rows, .rows-lede + .rows { margin-top: 11px; }

/* A filled and an outlined button side by side, centred on each other; stacked on phones */
.btn-row--stack { align-items: center; }

@media (max-width: 767px) {
  .page-head { padding-bottom: 30px; }
  .rows { columns: 1; }
  .btn-row--stack { flex-direction: column; gap: 17px; }
}

/* ==== 30-ways.css ==== */
/* Home "Ways to stay": four ways to book, the photo follows the row under the pointer */
.ways { background: var(--sand); padding: clamp(56px, 7vw, 104px) var(--gutter); }
.ways__inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px);
}
.ways__intro { display: flex; flex-direction: column; gap: 22px; }
.ways__heading { font-size: clamp(34px, 3.3vw, 47px); line-height: 1.1; text-wrap: balance; }
.ways__lede, .ways__text { font-size: var(--small); line-height: 1.6; }
.ways__lede { max-width: 38ch; }
.ways__photo { position: relative; width: 100%; margin-top: auto; aspect-ratio: 3 / 2; overflow: hidden; background: var(--rule-sand); }
.ways__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.ways__photo img.is-on { opacity: 1; }
.ways__caption {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.ways__list { border-top: 1px solid var(--ink); }
.ways__item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 14px 32px;
  padding: 34px 0 36px; border-bottom: 1px solid var(--rule-sand);
  transition: opacity .3s ease;
}
.ways__title { font-size: clamp(28px, 2.6vw, 37px); line-height: 1.12; }
.ways__text { grid-column: 1; max-width: 46ch; }
.ways__links { grid-column: 2; grid-row: 1 / 3; align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ways__link { font-size: 11px; line-height: 24px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.ways__link--primary { display: inline-flex; align-items: center; gap: 10px; color: var(--sea-deep); font-weight: 400; text-decoration: none; }
.ways__link--primary::after { content: "\2192"; font-size: 13px; letter-spacing: 0; transition: transform .25s ease; }
.ways__link--primary:hover::after { transform: translateX(4px); }
.ways__link--secondary { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (hover: hover) {
  .ways__list:hover .ways__item { opacity: .45; }
  .ways__list .ways__item:hover, .ways__list .ways__item:focus-within { opacity: 1; }
}
@media (max-width: 900px) {
  .ways__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ways__photo { display: none; }
  .ways__item { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 26px 0; }
  .ways__text, .ways__links { grid-column: 1; grid-row: auto; }
  .ways__links { flex-direction: row; flex-wrap: wrap; gap: 12px 22px; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .ways__photo img, .ways__item, .ways__link--primary::after { transition: none; } }

/* ==== 31-reviews.css ==== */
/* Reviews and awards: a slow strip that pauses under the pointer (the list is repeated once so it loops) */
.reviews { background: var(--sand); padding: var(--space) 0; text-align: center; }
.reviews--plain { background: var(--cream); }
.reviews__rating { max-width: 520px; margin: 0 auto 39px; padding: 0 24px; font-size: 14px; line-height: 1.5; }
.reviews__window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.reviews__track { display: flex; width: max-content; animation: reviews-glide 80s linear infinite; }
.reviews__track:hover, .reviews__track:active, .reviews.is-paused .reviews__track { animation-play-state: paused; }
.reviews { position: relative; }
.reviews__toggle {
  position: absolute; right: var(--gutter); bottom: 20px;
  padding: 8px 0; border: 0; background: none;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 5px;
}
.review { flex: 0 0 22vw; margin-right: 3vw; }
.review__source, .review__seal { height: 64px; margin-bottom: 20px; }
.review__source { display: flex; align-items: center; text-transform: uppercase; flex-direction: column; justify-content: flex-end; font-size: 11px; line-height: 1.7; letter-spacing: .2em; }
.review__seal img { height: 64px; width: auto; margin: 0 auto; }
.review__quote { font-family: var(--serif); font-size: 19px; line-height: 1.6; letter-spacing: -.01em; margin-bottom: 14px; }
.review__by { font-size: 11px; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; }
@keyframes reviews-glide { to { transform: translateX(-50%); } }
@media (max-width: 767px) {
  .reviews { padding-bottom: 64px; }
  .reviews__rating { margin-bottom: 36px; }
  .review { flex-basis: 72vw; margin-right: 6vw; }
  .review__quote { font-size: 18px; }
  .reviews__track { animation-duration: 70s; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews__window { overflow-x: auto; }
  .reviews__track { animation: none; }
  .reviews__toggle { display: none; }
}

/* ==== 32-awards.css ==== */
/* Awards: a row of seals with a line under each */
.awards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 21px 4.81vw; text-align: center; }
.award img { width: 124px; height: 124px; margin: 0 auto; object-fit: contain; padding: 13.6px; }
.award p { margin-top: 12px; font-size: 12.5px; line-height: 1.5; letter-spacing: .08em; }
@media (max-width: 767px) { .awards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 12px; } }

/* ==== 33-accordion.css ==== */
/* Accordion: questions or items that open in place. Plain <details>, so it works without JavaScript.
   <div class="accordion" data-accordion>
     <details class="accordion__item"><summary><h3 class="accordion__title">…</h3></summary><div class="accordion__body">…</div></details>
   </div> */
.accordion { border-bottom: 1px solid var(--ink); }
.accordion__item { border-top: 1px solid var(--ink); }
.accordion__item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 0; list-style: none; cursor: pointer;
}
.accordion__item > summary::-webkit-details-marker { display: none; }
.accordion__title { flex: 1; font-family: var(--serif); font-size: var(--h4); font-weight: 400; line-height: normal; letter-spacing: -.02em; }
.accordion__item > summary::after {   /* plus that turns into a minus */
  content: ""; flex: 0 0 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: background-size .25s;
}
.accordion__item[open] > summary::after { background-size: 100% 1px, 1px 0; }
.accordion__body { min-width: 85%; max-width: 300px; padding-bottom: 24px; font-size: var(--small); line-height: var(--small-lh); }
.accordion__body > * + * { margin-top: 1em; }
.accordion__body a { text-decoration: underline; text-underline-offset: 3px; }

/* ==== 34-places.css ==== */
/* Places: grids of photo cards (The Property, Around the Area, Celebrations, Exclusive Use) */

/* Section title above a grid, left-aligned */
.places-heading { margin-bottom: 29px; }

/* Grid: 4, 3 (default) or 2 columns on desktop, one on phones */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px .8vw; }
.places--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.places--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Card: photo, optional label, title, text, optional link */
.place__photo { display: block; height: 19.03vw; }
.places--4 .place__photo { height: 16.18vw; }
.place__label, .place__title { margin-top: 11px; }
.place__label + .place__title, .place__text { margin-top: 32px; }
.place__link { margin-top: 18px; }

/* Titles that link: no underline until hover, then one draws in */
.place__title a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s ease;
}
.place__title a:hover, .place__title a:focus-visible { background-size: 100% 1px; }

@media (max-width: 767px) {
  .places-heading { margin-bottom: 66px; }
  .places, .places--4, .places--2 { grid-template-columns: minmax(0, 1fr); row-gap: 46px; }
  .place:not(:last-child) { min-height: 409px; }      /* cards keep one rhythm down the page, longer ones grow */
  .place__photo, .places--4 .place__photo { height: auto; aspect-ratio: 343 / 234; }
}

/* ==== 40-home.css ==== */
/* Home page film hero */
.film {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start;
  min-height: calc(100vh - 67px);
  /* the headline starts halfway down the photo whatever the screen height (45px = the label above it) */
  padding: max(48px, calc((100vh - 67px) * .498 - 45px)) var(--gutter) 48px;
  background: var(--ink) url("/assets/img/sharavi-aerial-villas-coast-1600.webp") center / cover;
  color: #fff;
}
.film::after { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 18, .3); }   /* over the photo and the film */
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video[hidden] { display: none; }
.film__text { position: relative; z-index: 1; max-width: 744px; }
.film__toggle {
  position: absolute; z-index: 1; right: var(--gutter); bottom: 24px;
  padding: 8px 0; border: 0; background: none; color: #fff;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 5px;
}
.film__text h1 { margin-top: 25px; }
.film__text .btn { margin-top: 30px; }
@media (max-width: 767px) {
  .film {
    justify-content: center; align-items: center; text-align: center; padding: 48px var(--gutter);   /* text centred on the photo */
    background-image: url("/assets/img/sharavi-pool-portrait-800.webp");
  }
  .film::after { background: rgba(20, 22, 18, .32); }
  .film video { object-position: 40% 50%; }
  .film__text h1 { margin-top: 69px; }
}

/* ==== 46-offers.css ==== */
/* Offers: square photo cards with the text in a cream box on the photo.
   Home page: a heading on the left and the cards in a strip that scrolls sideways (the next card shows at the edge).
   Offers page: the same cards in a grid, then what booking direct includes, then the terms. */

/* The card */
.ocard { position: relative; display: flex; align-items: flex-end; aspect-ratio: 1 / 1; padding: 1.8vw; overflow: hidden; }
.ocard__photo { position: absolute; inset: 0; }
.ocard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.ocard:hover .ocard__photo img { transform: scale(1.03); }
.ocard__box { position: relative; width: min(100%, 25vw); padding: 26px 28px 28px; background: var(--cream); }
.ocard__when { color: var(--muted); }
.ocard__title { margin-top: 8px; }
.ocard__title a { text-decoration: none; }
.ocard__sub { margin-top: 4px; font-style: italic; font-weight: 300; font-size: 17px; line-height: 1.4; color: var(--sea-deep); }
.ocard__text { margin-top: 12px; }
.ocard__link { margin-top: 16px; }

/* Home page strip */
.hoffers { display: grid; grid-template-columns: 30vw minmax(0, 1fr); column-gap: 4vw; align-items: center; padding: var(--space) 0 var(--space) var(--gutter); overflow: hidden; }
.hoffers__head > .label + h2 { margin-top: 15px; }   /* same gap as the other photo-and-text rows */
.hoffers__intro { margin-top: 20px; max-width: 380px; }
.hoffers .hoffers__nav { justify-content: start; grid-template-columns: 28px 64px 28px; margin: 36px 0 0 -9px; }
.hoffers__all { margin-top: 24px; }
.hoffers__track { display: grid; grid-auto-flow: column; grid-auto-columns: 38vw; gap: 1.6vw; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 30vw; }
.hoffers__track::-webkit-scrollbar { display: none; }
.hoffers__track > .ocard { scroll-snap-align: start; }

/* Offers page */
.offers-contact { margin-top: 28px; }
.ocards { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 36vw)); justify-content: center; gap: 1.6vw; }
.ocards .ocard__box { width: min(100%, 24vw); }
.offers-none { text-align: center; }
.offers-none > .body { max-width: var(--measure); margin-inline: auto; }
.offers-extras { text-align: center; }
.offers-extras__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }
.offers-extras__list li { padding: 8px 24px; font-family: var(--serif); font-size: var(--h4); line-height: 1.25; }
.offers-extras__list li + li { border-left: 1px solid var(--rule); }
.offers-terms { max-width: calc(var(--measure) + var(--gutter) * 2); margin-inline: auto; text-align: center; color: var(--muted); }
.offers-terms > ul { margin-top: 16px; }
.offers-terms li + li { margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  .ocard__photo img { transition: none; }
}

@media (max-width: 1100px) and (min-width: 768px) {
  .ocards { grid-template-columns: repeat(auto-fit, minmax(0, 44vw)); }
  .ocards .ocard__box, .ocard__box { width: 100%; }
}

@media (max-width: 767px) {
  .ocard { aspect-ratio: 4 / 5; padding: 14px; }
  .ocard__box, .ocards .ocard__box { width: 100%; padding: 20px 22px 22px; }
  .ocard__sub { font-size: 16px; }
  .hoffers { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .hoffers__head { padding-right: var(--gutter); }
  .hoffers__track { grid-auto-columns: 84vw; gap: 12px; padding-right: var(--gutter); }
  .ocards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .offers-extras__list { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .offers-extras__list li { padding: 16px 0; }
  .offers-extras__list li + li { border-left: 0; border-top: 1px solid var(--rule); }
}

/* ==== 51-events.css ==== */
/* Celebrations and Exclusive Use */

/* Exclusive Use hero: a little taller than the other photo heroes on desktop */
@media (min-width: 768px) {
  .hero--tall { min-height: 44.5vw; }
}

/* Photo crops: keep the arch and the villas in view */
.img--wedding-lawn { object-position: 38% 21.6%; }
.img--evening-villas { object-position: 30% 0; }

/* Event cards under a centred intro (Celebrations) or title (Exclusive Use): the shared .places grid, left-aligned */
.places--events { margin-top: 48px; text-align: left; }

/* Exclusive Use: 4 villas · 14 rooms · 28 adults, with hairlines between */
.facts__list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  max-width: 1034px; margin-inline: auto; text-align: center;
}
.facts__item { position: relative; }
.facts__item + .facts__item::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -6px;
  border-left: 1px solid var(--rule);
}
.facts__item > .label { margin-top: 32px; }
.facts__note { margin-top: 44px; }

/* Exclusive Use: events band */
.events { text-align: center; }
.events > .label, .events__title, .events__lede { max-width: 1034px; margin-inline: auto; }
.events__title { margin-top: 31px; }
.events__lede { margin-top: 33px; }
.events__link { margin-top: 96px; }

@media (max-width: 767px) {
  .places--events { margin-top: 40px; }
  .facts__list { gap: 56px; }
  .facts__item + .facts__item::before { left: -28px; }
  .events__title { margin-top: 32px; }
  .events__lede { margin-top: 32px; }
}

/* ==== 52-contact.css ==== */
/* FAQs & Contact */

/* Questions: intro line and the shared accordion, on a 1034px column */
.faq > * { max-width: 1034px; margin-inline: auto; }
.faq__intro a { color: var(--sea-deep); text-underline-offset: 3px; }
.faq__intro + .accordion { margin-top: 22px; }

/* Get in touch: text and buttons on the left, reservations and address on the right */
.touch { display: grid; grid-template-columns: 51.67vw 1fr; column-gap: 8.82vw; align-items: start; }
.touch__main > .body { margin-top: 18px; }
.touch__btns { margin-top: 21px; }
.touch__list { margin-top: 12px; }
.touch__list > li + li { margin-top: 6px; }
.touch__list a { text-decoration: none; }
.touch__label { margin-top: 29px; }
.touch__address { margin-top: 11px; font-style: normal; }

@media (max-width: 767px) {
  .touch { grid-template-columns: minmax(0, 1fr); }
  .touch__main > .body { margin-top: 16px; }
  .touch__btns { margin-top: 31px; flex-direction: column; gap: 18px; }
  .touch__details { margin-top: 48px; }
  .touch__label { margin-top: 27px; }
  .touch__address { margin-top: 12px; }
}

/* ==== 53-getting-here.css ==== */
/* Getting Here */

/* Distances */
.routes__title { max-width: 918px; }
.routes__lede { max-width: 918px; margin-top: 32px; }

/* Google map: a placeholder (the gate) until the visitor loads it; see /assets/consent.js */
.map { position: relative; height: 43.06vw; min-height: 420px; background: var(--sand); }
.map__frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: saturate(.55) hue-rotate(-8deg) grayscale(1) sepia(.6) hue-rotate(155deg) saturate(1.2) brightness(1.1);   /* tones the map to the site's colours */
}
.map-gate {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 24px; text-align: center; background: var(--sand);
}
.map-gate__text { max-width: 360px; font-size: var(--small); line-height: 1.5; }
.map-gate__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.map-gate__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 112px; height: 42px; padding: 0 18px;
  border: 1px solid var(--sea); background: transparent; color: var(--sea-deep);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
}
.map-gate__btn--primary { background: var(--sea); color: var(--cream); }
.map-gate__btn:hover { opacity: .85; }

/* When to come: three seasons side by side, hairlines between */
.seasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 39px; }
.season { padding-inline: 32px; }
.season:first-child { padding-left: 0; }
.season:last-child { padding-right: 0; }
.season + .season { border-left: 1px solid var(--rule); }
.season > h3 { margin-top: 5px; }
.season > .body { margin-top: 15px; }

@media (max-width: 767px) {
  .map { height: 420px; margin-inline: calc(var(--gutter) * -1); }
  .seasons { grid-template-columns: minmax(0, 1fr); margin-top: 11px; }
  .season, .season:first-child, .season:last-child { padding: 0; }
  .season + .season { border-left: 0; margin-top: 22px; }
  .season > .body { margin-top: 16px; padding-bottom: 1.4em; border-bottom: 1px solid var(--rule-ink); }
}
@media (max-width: 767px) {
  .map-gate__btns { flex-wrap: nowrap; width: 100%; }
  .map-gate__btn { flex: 1; }
}

/* ==== 54-legal.css ==== */
/* Privacy & Cookies: a single column of policy text */
.legal > * { max-width: 918px; margin-inline: auto; }
.legal .legal__meta { font-size: 14.5px; line-height: 1.5; }
.legal > .legal__meta + p { margin-top: 16px; }
.legal > p + p { margin-top: 16px; }
.legal > p + h2, .legal > h2 + p { margin-top: 32px; }
.legal strong { font-weight: 700; }
.legal a { color: var(--sea-deep); text-underline-offset: 3px; }

/* ==== 55-not-found.css ==== */
/* 404: a short centred note with ways back */
.not-found {
  max-width: calc(640px + 12vw); margin-inline: auto;
  padding: calc(22vh + 16px) 6vw calc(18vh + 16px);
  text-align: center;
}
.not-found__label { font-size: 12px; letter-spacing: .2em; opacity: .7; }
.not-found > h1 { margin: .4em 0 .6em; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5em; margin-top: 2em; }
.not-found__links a { color: var(--sea-deep); text-underline-offset: .3em; }

/* ==== 61-dining.css ==== */
/* Dining page: "Where you eat" cards and the tabbed menus (tabs: /assets/menus.js) */

/* ---------- Where you eat: three cards with a photo, label, title and a line ---------- */
.venues { padding-block: var(--space-s) calc(var(--space) - 20px); }
.venues__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 29px; }
.venue__photo { aspect-ratio: 453 / 274; margin-bottom: 11px; }
.venue > h3 { margin-top: 32px; }
.venue > h3 + p { margin-top: 32px; }
.venue > .link-line { margin-top: 18px; }

/* ---------- Menus: title, tabs, price note + PDF, then one panel per menu ---------- */
.menus {
  padding: 8px max(16px, var(--gutter)) clamp(56px, 7vw, 104px);
  font-size: 16px; line-height: 1.55;
  scroll-margin-top: 120px;
}
.menus__inner { border-top: 1px solid var(--rule); padding-top: clamp(32px, 3.5vw, 48px); }
.menus__title { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }

/* Tabs: uppercase words, the open one underlined */
.menus__tabs { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 40px; }
.menus__tabs a {
  padding: 6px 0; border-bottom: 1px solid transparent;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--muted);
}
.menus__tabs a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.menus__tabs a:hover { color: var(--ink); }
.menus__tabs a:focus-visible { outline: 1px solid var(--sea-deep); outline-offset: 4px; }

/* Price note and the PDF download, on one line */
.menus__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px;
  margin-top: 32px; font-size: 13px; line-height: 1.5; color: var(--muted);
}
.menus__pdf { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.menus__pdf:hover { color: var(--sea-deep); }

/* Panels: with the script running only the chosen menu shows; without it every menu shows */
.menus--tabs [data-menu-hidden] { display: none; }
.menus__panel { scroll-margin-top: 120px; }
.menus__intro { max-width: 46ch; margin-top: 44px; font: 300 clamp(20px, 2vw, 24px)/1.35 var(--serif); text-wrap: balance; }
.menus__cols { columns: 2; column-gap: clamp(40px, 6vw, 96px); margin-top: 44px; }

/* A group of dishes ("Small plates"); featured groups carry a "House specialities" tag */
.menu-group { break-inside: avoid-column; margin-bottom: 52px; }
.menu-group__title { margin-bottom: 6px; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.015em; }
.menu-group__tag { margin: 2px 0 6px; font-size: 10px; line-height: 1.15; letter-spacing: .22em; text-transform: uppercase; color: var(--sea-deep); }
.menu-group__note { max-width: 48ch; margin-bottom: 14px; font-size: 14px; color: var(--muted); }

/* One dish: name, diet tags and price on a line, then description or options */
/* A line above and below each group only; dishes are separated by space, not lines */
.dishes { padding-block: 8px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dish { padding: 10px 0; }
.dish__row { display: flex; align-items: baseline; gap: 16px; }
.dish__name { flex: 1; min-width: 0; font-weight: 400; }
.dish__tags { margin-left: 4px; font-size: 10.5px; letter-spacing: .12em; white-space: nowrap; color: var(--sea-deep); }
.dish__price { font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish__desc, .dish__options { max-width: 46ch; margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.dish__options { font-variant-numeric: tabular-nums; }
.dish__options span + span::before { content: " · "; }

/* Key to the diet tags, and the closing note */
.menus__key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.menus__key b { margin-right: 6px; font-size: 11px; font-weight: 400; letter-spacing: .12em; color: var(--sea-deep); }
.menus__foot {
  margin-top: 14px; padding-bottom: clamp(32px, 3.5vw, 48px); border-bottom: 1px solid var(--rule);
  font-size: 13px; color: var(--muted);
}

@media (max-width: 767px) {
  .venues { padding-bottom: var(--space); }
  .venues__list { grid-template-columns: 1fr; grid-auto-rows: 1fr; row-gap: 34px; margin-top: 66px; }
  .venue__photo { aspect-ratio: 343 / 234; }

  .menus { padding-inline: 6vw; }
  .menus__cols { columns: 1; }
  .menus__tabs { gap: 6px 18px; }
  .menus__tabs a { font-size: 11px; letter-spacing: .14em; }
}

/* ==== 62-spa.css ==== */
/* Spa page: the treatment menu (label, title, accordion of treatment groups, price note) */

/* Treatment menu section: one centred column */
.spa-menu__inner { max-width: 1034px; margin-inline: auto; }
.spa-menu__inner > h2 { margin-top: 32px; }
.spa-menu__note { margin-top: 31px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Accordion: sits 12px under the title; the open panel uses the full column */
.accordion--spa { margin-top: 12px; }
.accordion--spa .accordion__body { min-width: 0; max-width: none; }

/* One treatment: name, description in italics, then its durations and prices */
.treatment { padding: 1.1em 0 .95em; border-bottom: 1px solid var(--rule-ink); font-size: 15px; }
.treatment__name { line-height: 1.4; color: var(--ink); }
.treatment__desc { margin: .2em 0 .35em; font-size: 13px; line-height: 1.5; font-style: italic; color: var(--muted); }
.treatment__prices { margin: 0; }
.treatment__price {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; line-height: 1.7; letter-spacing: .02em; color: var(--muted);
}
.treatment__price dd { margin: 0; color: var(--ink); }

/* ==== 70-stay.css ==== */
/* Rooms & Suites, the Villas and the four room pages */

/* Hero: text sits lower on phones; room pages have a slightly taller photo */
@media (min-width: 768px) {
  .stay-hero--room { min-height: 641px; }
}

/* Centred opening statement (rooms, villas): a narrower title, set further from its label */
.stay-lead .intro__title { max-width: 1034px; margin-top: 0; }
.stay-lead .label + .intro__title { margin-top: 32px; }
.stay-lead .intro__title + .body { margin-top: 32px; }

/* Jump links to each room type: dots between them, one per line on phones */
.stay-jump {
  display: flex; flex-wrap: wrap; justify-content: center;
  max-width: 560px; margin: 1.6em auto 0;
  font-size: 14.5px; line-height: 2.4; letter-spacing: var(--link-track); text-transform: uppercase;
}
.stay-jump li:not(:last-child)::after { content: "·"; display: inline-block; width: 35px; text-align: center; }
.stay-jump a { display: inline-block; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* "Plan your stay" bar */
.stay-bar {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 24px;
  padding: 0 var(--gutter); background: var(--sand);
}
.stay-bar__text { padding: 22px 0 38px; }
.stay-bar .label + .body { margin-top: 16px; }

/* Photo-and-text rows: the text group is centred above the Book button, which keeps to the bottom */
.stay-row__text {
  align-self: stretch; display: grid; grid-template-rows: 1fr auto;
  width: 39.6vw; margin-left: 8.47vw; padding-bottom: 56px;
}
.stay-row__text > .text { align-self: center; }
@media (min-width: 768px) {
  /* equal space above and below keeps the text centred, and stops it touching the top on narrower windows */
  .stay-row__text > .text { margin-block: 56px; }
}
.stay-row__text--plain { grid-template-rows: 1fr; padding-bottom: 16px; }
.stay-row--text-left .stay-row__text { width: 43.6vw; margin-left: var(--gutter); }
.stay-row .label + h2 { margin-top: 32px; }

/* Label/value rows (room facts, compare the rooms) and the plain rows of "In every room" */
.stay-facts { font-size: var(--small); line-height: 1.45; }
.stay-facts > div, .stay-amenities__list li { padding: 12px 0; border-bottom: 1px solid var(--rule-strong); }
.stay-facts dd { font-size: 14.5px; line-height: calc(var(--small) * 1.45); }

/* Compare the rooms: four columns */
.stay-compare__rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-top: 11px; }
.stay-compare__room h3 { margin-bottom: 32px; }

/* In every room: three columns, filled top to bottom */
.stay-amenities { padding-top: var(--space-s); }
.stay-amenities__list {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, auto); grid-auto-flow: column;
  column-gap: 11px; margin-top: 11px; font-size: var(--small); line-height: 1.45;
}

/* Villas: the exclusive-use invitation */
.stay-exclusive > .label + h2 { margin-top: 32px; }
.stay-exclusive > .link-line { margin-top: 18px; }

/* Room page: heading and text beside the facts */
.stay-intro {
  display: grid; grid-template-columns: 51.67vw 39.6vw; justify-content: space-between; align-items: start;
  padding-bottom: calc(var(--space) - 9px);                 /* the gallery sits a little closer than a full section */
}
.stay-intro__facts .btn-row { margin-top: 11px; }

/* Room page gallery: one photo at a time, arrows and a count below (behaviour in site.js) */
.room-gallery { padding-bottom: 86px; }
.room-gallery .gallery__track {
  display: flex; gap: 40px;
  width: 900px; max-width: calc(100% - 58px); margin: 0 auto;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.room-gallery .gallery__track::-webkit-scrollbar { display: none; }
.room-gallery .gallery__slide { flex: 0 0 100%; aspect-ratio: 3 / 2; scroll-snap-align: center; }
.room-gallery__nav { display: grid; grid-template-columns: 28px 108px 28px; justify-content: center; align-items: center; margin-top: 22px; }
.room-gallery__arrow {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none;
}
.room-gallery__arrow svg { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.room-gallery__arrow--next svg { transform: scaleX(-1); }
.room-gallery__arrow[aria-disabled="true"] { opacity: .25; cursor: default; }
.room-gallery__count { font-size: 13px; line-height: 1; letter-spacing: .14em; text-align: center; }

/* Room page floor plan */
.stay-floor { padding: clamp(56px, 7vw, 104px) var(--gutter); text-align: center; }
.stay-floor__inner { max-width: 720px; margin: 0 auto; }
.stay-floor .label { margin-bottom: 14px; }
.stay-floor__title { font-size: clamp(30px, 3.3vw, 47px); line-height: 1.1; margin-bottom: 12px; }
.stay-floor__meta { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin-bottom: 32px; }
.stay-floor__plan { display: block; background: #fff; border: 1px solid var(--sand); }
.stay-floor__plan img { width: 100%; }
.stay-floor__note { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.stay-floor .link-line { margin-top: 14px; }

/* Room page: the other rooms as cards */
.stay-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 29px; }
.stay-card__photo { aspect-ratio: 453 / 274; }
.stay-card .label { margin-top: 11px; }
.stay-card h3, .stay-card .link-line { margin-top: 32px; }

@media (max-width: 767px) {

  .stay-jump { flex-direction: column; align-items: center; font-size: 15.8px; line-height: 2.9; margin-top: 1.6em; }
  .stay-jump li { margin-bottom: 4px; }
  .stay-jump li:not(:last-child)::after { content: none; }

  .stay-bar { grid-template-columns: 1fr; padding-block: 22px; }
  .stay-bar__text { padding: 0; }
  .stay-bar__action { margin-top: 27px; text-align: center; }

  .stay-row > .frame { aspect-ratio: 390 / 339; }
  .stay-row__text, .stay-row--text-left .stay-row__text { display: block; width: auto; margin: 40px var(--gutter) 74px; padding: 0; }
  .stay-row__text .btn-row { justify-content: center; margin-top: 56px; }
  .stay-row .text > p + p { margin-top: 17px; }
  .stay-row__text--plain, .stay-row--text-left .stay-row__text--plain { margin-bottom: 48px; }

  .stay-compare__rooms { grid-template-columns: 1fr; row-gap: 53px; }
  .stay-compare__room h3 { margin-bottom: 9px; }
  .stay-amenities__list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }

  .stay-intro { grid-template-columns: 1fr; padding-bottom: calc(var(--space) - 17px); }
  .stay-intro__facts { margin-top: 12px; }
  .stay-intro__facts .btn-row { justify-content: center; }

  .room-gallery { padding-bottom: 43px; }
  .room-gallery .gallery__track { gap: 24px; max-width: calc(100% - 46px); }
  .room-gallery .gallery__slide { aspect-ratio: 4 / 3; }
  .room-gallery__nav { margin-top: 14px; }

  .stay-floor__meta { margin-bottom: 22px; }

  .stay-cards { grid-template-columns: 1fr; row-gap: 76px; margin-top: 66px; }
  .stay-card__photo { aspect-ratio: 343 / 234; }
}
@media (min-width: 768px) {
  .stay-lead { padding-bottom: var(--space); }
}

/* ==== 81-property.css ==== */
/* The Property: title, illustrated map and its numbered key */

/* Title block: sits straight under the header, no photo */
.estate { padding-top: 0; padding-bottom: calc(23.6px + 1.7vw); }      /* 30 phone → 48 desktop */
.estate__head { max-width: 918px; margin-inline: auto; text-align: center; }
.estate__head h1 { margin-top: 32px; }
.estate__head .body { max-width: var(--measure); margin: 31px auto 0; }

/* Map: the top of the illustration, cropped to a fixed shape (wide on desktop, tall on phones) */
.estate__map { max-width: 1080px; margin: 51px auto 0; }
.estate__map img { width: 100%; aspect-ratio: 2400 / 1450; object-fit: cover; object-position: 50% 0; }

/* Key: three numbered lists under a hairline */
.legend {
  --topaz: #C29A5B; --amethyst: #8A7A93; --aquamarine: #8FAFAA; --peridot: #9AA068; --spa-green: #84A28E;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px;
  margin-top: 58px; padding-top: 40px; border-top: 1px solid var(--rule-soft);   /* lighter than --rule, as on the old page */
  counter-reset: legend;
}
.legend__title { grid-row: 1; margin-bottom: 22px; font-size: 24px; line-height: 1.171; }
.legend__list { grid-row: 2; list-style: none; margin: 0; padding: 0; }
.legend__list li {
  display: flex; align-items: center; gap: 14px; margin-bottom: 13px; counter-increment: legend;
  font-size: var(--link); line-height: 1.4; letter-spacing: .2em; text-transform: uppercase;
}
.legend__list li::before {     /* the number, in a ring: counts on across the three lists, 1–14 (the lists' start="…" says the same to screen readers) */
  content: counter(legend);
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%;
  font-size: 10.5px; line-height: 1; letter-spacing: 0;
}
/* Villas: filled rings in each villa's colour, as on the map */
.legend__list--villas li::before { color: #fff; background: var(--dot); border-color: var(--dot); }
.legend__item--topaz { --dot: var(--topaz); }
.legend__item--amethyst { --dot: var(--amethyst); }
.legend__item--aquamarine { --dot: var(--aquamarine); }
.legend__item--peridot { --dot: var(--peridot); }
.legend__item--spa { --dot: var(--spa-green); }
.legend__note {
  grid-column: 1 / -1; grid-row: 3; margin-top: 18px; text-align: right;
  font-size: 10.5px; line-height: 1.5; letter-spacing: .24em; text-transform: uppercase;
}

@media (max-width: 767px) {
  .estate__head h1 { margin-top: 32px; }
  .estate__head .body { margin-top: 32px; }
  .estate__map { margin-top: 36px; }
  .estate__map img { aspect-ratio: 1170 / 1946; }
  .legend { display: block; margin-top: 48px; padding-top: 26px; }
  .legend__title { margin-bottom: 16px; font-size: 21px; }
  .legend__list + .legend__title { margin-top: 28px; }
  .legend__note { margin-top: 24px; text-align: left; }
}

/* ==== 83-sustainability.css ==== */
/* Sustainability: the five pillars and the photo banner */

/* Five pillars: title and accordion in a centred column */
.pillars > * { max-width: 1034px; margin-inline: auto; }
.pillars__list { margin-top: 11px; }

/* One full-width photo between the pillars and "Our promise" */
.eco-banner > .frame { height: 39.8vw; }
.eco-banner img { object-position: 50% 30%; }   /* keeps the solar panels on the roofs in view */

@media (max-width: 767px) {
  .eco-banner > .frame { height: auto; aspect-ratio: 390 / 300; }
}

/* ==== 84-area-map.css ==== */
/* Area map (Around the Area): our own map of the south, with a details panel beside it.
   Desktop: heading and details on the left, map on the right. Phones: heading, map (swipe sideways), details. */

.area-map {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  column-gap: 5vw;
  align-items: start;
}
.area-map__head { grid-column: 1; grid-row: 1; }
.area-map__detail { grid-column: 1; grid-row: 2; margin-top: 48px; }
.area-map__map { grid-column: 2; grid-row: 1 / 3; }
.area-map__hint { display: none; }

.area-map__intro { margin-top: 24px; }
.area-map__stats { display: flex; gap: 40px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule-sand); }
.area-map__stats dt { font-family: var(--serif); font-size: var(--h4); line-height: 1.2; }
.area-map__stats dd { margin: 4px 0 0; font-size: var(--small); line-height: var(--small-lh); color: var(--muted); }

/* Details of the place in view */
.area-map__photo { height: auto; aspect-ratio: 3 / 2; margin-bottom: 22px; }
.area-map__panel > .label + .area-map__name { margin-top: 11px; }
.area-map__meta { margin-top: 8px; color: var(--sea-deep); }
.area-map__text { margin-top: 14px; max-width: 460px; }
.area-map__more { margin-top: 16px; }
.area-map__panel:not([hidden]) { animation: area-map-in .35s ease both; }
@keyframes area-map-in { from { opacity: 0; transform: translateY(6px); } }

/* The map itself */
.area-map__svg { display: block; width: 100%; height: auto; overflow: hidden; font-family: var(--sans); }
.area-map__land { fill: var(--cream); stroke: var(--rule-sand); stroke-width: 1; }
.area-map__towns { fill: var(--muted); font-size: 14px; letter-spacing: .02em; }
.area-map__towns circle { fill: var(--muted); }

.area-map__place { cursor: pointer; outline: none; }
.area-map__line { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; transition: stroke .2s; }
.area-map__label rect { fill: var(--ink); transition: fill .2s; }
.area-map__label text { fill: var(--cream); font-size: 15px; letter-spacing: .02em; }
.area-map__pin { fill: var(--ink); stroke: var(--cream); stroke-width: 1.5; transition: fill .2s; }
.area-map__ring { fill: none; stroke: var(--sea); stroke-width: 1.5; opacity: 0; transition: opacity .2s; }

/* Sri Sharavi: always in the sea blue, a little larger */
.area-map__place--home .area-map__label rect, .area-map__place--home .area-map__pin { fill: var(--sea); }
.area-map__place--home .area-map__label text { fill: var(--on-sea); font-size: 17px; text-anchor: middle; }
.area-map__place--home .area-map__line { stroke: var(--sea); stroke-dasharray: none; }

/* Pointed at, or chosen */
.area-map__place:hover .area-map__label rect, .area-map__place:focus-visible .area-map__label rect,
.area-map__place.is-active .area-map__label rect { fill: var(--sea-deep); }
.area-map__place:hover .area-map__pin, .area-map__place:focus-visible .area-map__pin,
.area-map__place.is-active .area-map__pin { fill: var(--sea-deep); }
.area-map__place:hover .area-map__line, .area-map__place.is-active .area-map__line { stroke: var(--sea-deep); }
.area-map__place.is-active .area-map__ring, .area-map__place:focus-visible .area-map__ring { opacity: 1; }
.area-map__place:focus-visible .area-map__label rect { stroke: var(--ink); stroke-width: 2; }

/* Places the map cards link to sit clear of the header */
.place[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

@media (prefers-reduced-motion: reduce) {
  .area-map__panel:not([hidden]) { animation: none; }
}

@media (max-width: 767px) {
  .area-map { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .area-map__head, .area-map__map, .area-map__hint, .area-map__detail { grid-column: 1; grid-row: auto; }
  .area-map__stats { gap: 28px; }

  /* the map is drawn wider than the screen so the names can be read: swipe sideways to see all of it */
  .area-map__map { margin: 32px calc(var(--gutter) * -1) 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .area-map__map::-webkit-scrollbar { display: none; }
  .area-map__svg { width: 680px; max-width: none; }
  .area-map__label text { font-size: 17px; }
  .area-map__place--home .area-map__label text { font-size: 19px; }
  .area-map__towns { font-size: 16px; }
  .area-map__hint { display: block; margin-top: 12px; color: var(--muted); }
  .area-map__detail { margin-top: 32px; }
}
