@font-face {
  font-family: "Vanity";
  src: url("../fonts/vanity-light.woff") format("woff");
  font-style: normal;
  font-weight: 100 400;
  font-display: swap;
}

@font-face {
  font-family: "Vanity";
  src: url("../fonts/vanity-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-100.ttf") format("truetype");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-200.ttf") format("truetype");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-300.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Operetta";
  src: url("../fonts/operetta-regular.woff2") format("woff2");
  font-weight: 100 500;
  font-display: swap;
}

@font-face {
  font-family: "Operetta";
  src: url("../fonts/operetta-bold.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #111111;
  --charcoal: #1b1b1b;
  --beige: #f0e7d3;
  --beige-strong: #ebe0c6;
  --beige-line: #dfd1b3;
  --taupe: #655643;
  --olive: #8a9069;
  --white: #ffffff;
  --container: 1140px;
  --header-height: 135px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open,
body.is-lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  border-radius: 0;
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only,
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.icon {
  display: block;
  width: 1em;
  height: 1em;
}

[hidden] {
  display: none !important;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-header {
  position: relative;
  z-index: 20;
  height: var(--header-height);
  background: var(--white);
  animation: header-enter 0.8s var(--ease) both;
}

.site-header-home {
  position: absolute;
  inset: 0 0 auto;
  height: 87px;
  color: var(--white);
  background: transparent;
}

@keyframes header-enter {
  from { opacity: 0; transform: translate3d(0, -32px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.site-header-inner {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  width: min(var(--container), calc(100% - 40px));
  height: 100%;
  margin-inline: auto;
}

.brand {
  width: 152px;
  transition: transform 0.35s var(--ease);
}

.brand:hover {
  transform: scale(1.04);
}

.brand img {
  width: 100%;
  height: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 44px;
  padding-right: 42px;
}

.main-navigation a,
.reservation-link,
.mobile-navigation a {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-navigation a {
  position: relative;
  white-space: nowrap;
}

.main-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.main-navigation a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.reservation-link {
  min-width: 238px;
  padding: 12px 28px;
  border-block: 1px solid currentColor;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
}

.reservation-link:hover {
  transform: scale(1.035);
}

.reservation-link:active,
.outline-button:active,
.form-submit:active {
  transform: translateY(1px) scale(0.99);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 28px;
}

.menu-icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

.mobile-navigation {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: flex;
  z-index: 19;
  flex-direction: column;
  padding: 18px 20px 22px;
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid #ececec;
  box-shadow: 0 18px 30px rgb(17 17 17 / 8%);
}

.mobile-navigation a {
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
}

.home-hero {
  position: relative;
  display: grid;
  min-height: 90vh;
  margin-top: -3px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(rgb(10 16 20 / 12%), rgb(10 16 20 / 10%)), url("../images/home/hero.jpg") center center / cover no-repeat;
}

.home-hero-content {
  width: min(1080px, calc(100% - 80px));
  text-align: center;
  transform: translateY(-29px);
}

.home-hero h2 {
  margin: 0 0 40px;
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 2px;
  line-height: 32px;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0;
  color: rgb(255 255 255 / 58%);
  font-family: "Vanity", serif;
  font-size: 250px;
  font-weight: 100;
  letter-spacing: normal;
  line-height: 1;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 42px 0 28px;
  border-bottom: 1px solid rgb(17 17 17 / 42%);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-label span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.residence-section {
  overflow: hidden;
  background: var(--white);
}

.residence-section .section-label {
  margin-top: 40px;
  padding: 0 0 30px;
  line-height: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 100px 0 50px;
}

.feature {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  border-right: 1px solid var(--beige-line);
}

.feature:first-child {
  padding-left: 10px;
}

.feature h2 {
  margin: 0;
  font-family: "Operetta", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.feature p {
  max-width: 36ch;
  margin: 0 0 14.4px;
  font-size: 14px;
  line-height: 21px;
}

.residence-collage {
  display: grid;
  width: min(1120px, 100%);
  margin: 10px auto 0;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 300px 277px;
  gap: 20px;
  height: 600px;
}

.residence-collage img {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.residence-collage .residence-main {
  grid-row: 1 / 3;
  height: 600px;
}

.residence-collage .residence-pinarellu {
  object-fit: fill;
}

.marquee {
  position: relative;
  height: 240px;
  margin-top: -90px;
  overflow: hidden;
}

.marquee-track {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  width: max-content;
  color: #e6e6e6;
  font-family: "Operetta", sans-serif;
  font-size: 200px;
  font-weight: 400;
  line-height: 1.1;
  animation: marquee 50s linear infinite;
  will-change: transform;
}

.marquee-track span {
  padding: 0 100px;
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

.villas-section {
  padding: 0 0 105px;
  background: var(--beige);
}

.villas-section .section-label {
  padding-top: 48px;
}

.villa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 98px;
}

.villa-card {
  position: relative;
  display: flex;
  min-height: 450px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 22px 12px 20px;
  color: var(--white);
  background: var(--card-image) center / cover no-repeat;
  isolation: isolate;
}

.villa-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to bottom, rgb(17 17 17 / 5%) 40%, rgb(17 17 17 / 44%));
  content: "";
  transition: background 0.45s var(--ease), transform 0.8s var(--ease);
}

.villa-card::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: inherit;
  content: "";
  transition: transform 0.8s var(--ease);
}

.villa-card:hover::after {
  transform: scale(1.045);
}

.villa-card-number {
  margin-bottom: 6px;
  font-size: 70px;
  font-weight: 400;
  line-height: 1;
}

.villa-card-title {
  font-family: "Operetta", serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.02;
}

.area-section {
  overflow-x: clip;
  background: var(--white);
}

.area-stage {
  position: relative;
  min-height: 1050px;
  overflow: hidden;
}

.area-map {
  position: absolute;
  top: 135px;
  right: 0;
  width: 650px;
  height: 885px;
  object-fit: contain;
}

.area-photo-stack {
  position: absolute;
  top: 290px;
  left: 10px;
  width: 560px;
  height: 570px;
  will-change: transform;
}

.area-photo-stack img {
  position: absolute;
  object-fit: cover;
}

.area-home {
  bottom: 38px;
  left: 0;
  width: 550px;
  height: 365px;
}

.area-village {
  top: 0;
  left: 25px;
  width: 300px;
  height: 225px;
}

.area-cavu {
  top: -100px;
  left: 205px;
  width: 312px;
  height: 234px;
}

.area-stage h2 {
  position: absolute;
  z-index: 2;
  top: 660px;
  left: 10px;
  margin: 0;
  font-family: "Operetta", serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 0.96;
}

.home-reservation {
  background: var(--beige);
}

.home-reservation .section-label {
  padding-top: 48px;
}

.home-reservation-visual {
  position: relative;
  height: min(1080px, 75vw);
  min-height: 760px;
  margin-top: 80px;
  overflow: hidden;
}

.home-reservation-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-reservation-content {
  position: absolute;
  inset: 16% 8% auto;
  text-align: center;
}

.home-reservation-content h2 {
  max-width: 980px;
  margin: 0 auto 42px;
  color: var(--white);
  font-family: "Operetta", serif;
  font-size: 90px;
  font-weight: 400;
  line-height: 1;
}

.outline-button {
  display: inline-block;
  min-width: 160px;
  padding: 11px 28px;
  border-block: 1px solid currentColor;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
}

.outline-button:hover {
  transform: scale(1.035);
}

.outline-button-dark {
  color: var(--ink);
}

.site-footer {
  position: relative;
}

.footer-main {
  display: flex;
  min-height: 245px;
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 55px;
  align-items: center;
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.footer-brand {
  width: 152px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-contact h2,
.footer-social h2 {
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  text-transform: lowercase;
}

.footer-contact p {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 290px;
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.35;
}

.footer-contact p:first-of-type {
  align-items: flex-start;
}

.footer-icon {
  margin-top: 2px;
  color: var(--beige-line);
  font-size: 16px;
}

.social-list {
  display: flex;
  gap: 12px;
}

.social-list a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--beige-line);
  color: var(--charcoal);
  font-size: 17px;
  transition: transform 0.3s var(--ease);
}

.social-list a:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  width: min(1070px, calc(100% - 40px));
  margin-inline: auto;
  font-size: 12px;
  color: #777;
}

.footer-bottom p {
  margin: 0;
}

.internal-hero,
.programme-hero {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(rgb(17 17 17 / 12%), rgb(17 17 17 / 16%)), var(--hero-image) center / cover no-repeat;
}

.internal-hero-inner {
  display: flex;
  width: min(var(--container), calc(100% - 40px));
  height: 450px;
  align-items: flex-end;
  margin-inline: auto;
  padding-bottom: 38px;
}

.internal-hero h1 {
  max-width: 840px;
  margin: 0;
  font-family: "Operetta", serif;
  font-size: 90px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

.programme-hero .container {
  display: flex;
  height: 450px;
  align-items: flex-end;
  padding-bottom: 22px;
}

.programme-hero h1 {
  margin: 0;
  font-size: 128px;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 2px 10px rgb(17 17 17 / 18%);
}

.programme-intro {
  padding: 100px 0 180px;
  background: var(--white);
}

.programme-intro-grid,
.pricing-grid,
.form-layout {
  display: grid;
  grid-template-columns: 406px 1fr;
  gap: 60px;
  align-items: start;
}

.programme-kicker {
  margin-bottom: 38px;
  font-size: 15px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.programme-copy h2,
.pricing-copy h2,
.form-copy h2 {
  margin-bottom: 40px;
  font-family: "Operetta", serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
}

.programme-copy ul,
.pricing-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.programme-copy li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid rgb(17 17 17 / 18%);
  font-size: 14px;
  line-height: 1.45;
}

.programme-copy li::before {
  position: absolute;
  top: 10px;
  left: 2px;
  content: "›";
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.programme-intro-grid > img,
.pricing-grid > img,
.form-layout > img {
  width: 100%;
  height: 700px;
  border-radius: 0 0 7px 7px;
  object-fit: cover;
}

.video-section {
  padding: 0 0 100px;
  background: var(--white);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--charcoal);
}

.video-frame img,
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-frame::after {
  position: absolute;
  inset: 0;
  background: rgb(17 17 17 / 20%);
  content: "";
  pointer-events: none;
}

.video-frame button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  min-width: 104px;
  min-height: 104px;
  place-items: center;
  padding: 16px;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 50%;
  background: rgb(17 17 17 / 30%);
  color: var(--white);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.35s;
}

.video-frame button:hover {
  background: rgb(17 17 17 / 55%);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-frame button .icon {
  font-size: 34px;
}

.video-frame button span {
  position: absolute;
  top: calc(100% + 12px);
  width: max-content;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-section {
  padding: 80px 0 120px;
  background: var(--beige-strong);
}

.gallery-grid {
  columns: 3;
  column-gap: 10px;
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #d8cfbc;
  break-inside: avoid;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.65s var(--ease), opacity 0.45s;
}

.gallery-item:hover img {
  opacity: 0.86;
  transform: scale(1.025);
}

.pricing-section {
  padding: 115px 0 140px;
  background: var(--white);
}

.pricing-copy li {
  padding: 12px 0;
  border-bottom: 1px solid rgb(17 17 17 / 18%);
  font-size: 15px;
}

.pricing-copy .outline-button {
  margin-top: 42px;
}

.beige-section {
  background: var(--beige-strong);
}

.form-section {
  padding: 165px 0 62px;
}

.form-layout {
  align-items: start;
}

.form-layout > img {
  height: 800px;
}

.site-form {
  width: 100%;
}

.form-field {
  margin-bottom: 10px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid #9d9d9d;
  background: var(--white);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field textarea {
  min-height: 90px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--taupe);
  box-shadow: 0 0 0 2px rgb(101 86 67 / 12%);
}

.form-field input:user-invalid,
.form-field textarea:user-invalid,
.form-field select:user-invalid {
  border-color: #8f3f35;
}

.form-submit {
  width: 100%;
  min-height: 42px;
  border: 0;
  background: rgb(255 255 255 / 18%);
  font-size: 14px;
  transition: background 0.3s, transform 0.25s;
}

.form-submit:hover {
  background: rgb(255 255 255 / 55%);
}

.form-status {
  min-height: 0;
  margin: 5px 0;
  font-size: 12px;
}

.listing-page,
.archive-page {
  min-height: 650px;
  padding: 95px 0 130px;
}

.listing-page h1,
.archive-page h1,
.legal-page h1,
.empty-page h1,
.message-page h1 {
  margin-bottom: 65px;
  font-family: "Operetta", serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.post-card-image {
  display: block;
  aspect-ratio: 3 / 2;
  margin-bottom: 25px;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.post-card-image:hover img {
  transform: scale(1.03);
}

.post-card h2,
.post-card h3 {
  margin-bottom: 14px;
  font-family: "Operetta", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.08;
}

.post-card p {
  max-width: 58ch;
  font-size: 14px;
}

.read-more {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.archive-list {
  display: grid;
  gap: 75px;
}

.archive-list .post-card {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 40px;
}

.archive-list .post-card-image {
  grid-row: 1 / 5;
  margin: 0;
}

.single-post {
  padding-bottom: 120px;
}

.post-header {
  padding: 100px 0 70px;
}

.post-header h1 {
  max-width: 920px;
  margin: 0;
  font-family: "Cormorant", "Operetta", serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 1;
}

.post-featured {
  width: min(var(--container), calc(100% - 40px));
  max-height: 720px;
  margin: 0 auto 80px;
  object-fit: cover;
}

.post-content {
  max-width: 850px;
  font-size: 16px;
  line-height: 1.75;
}

.post-content h2 {
  margin: 55px 0 22px;
  font-family: "Cormorant", "Operetta", serif;
  font-size: 43px;
  font-weight: 400;
  line-height: 1.1;
}

.post-content h3 {
  margin: 34px 0 12px;
  font-family: "Cormorant", "Operetta", serif;
  font-size: 31px;
  font-weight: 500;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 75px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.share-post {
  margin-top: 35px;
  font-size: 13px;
  font-weight: 500;
}

.legal-page {
  padding: 95px 0 130px;
}

.legal-page .container {
  max-width: 900px;
}

.legal-page > .container > p,
.legal-page section p {
  font-size: 15px;
  line-height: 1.7;
}

.legal-page section {
  margin-top: 44px;
}

.legal-page h2 {
  margin-bottom: 14px;
  font-family: "Operetta", serif;
  font-size: 36px;
  font-weight: 400;
}

.empty-page {
  min-height: 570px;
  padding: 110px 0;
}

.message-page {
  display: grid;
  min-height: 620px;
  place-items: center;
  padding: 100px 0;
  text-align: center;
  background: var(--beige);
}

.message-page h1 {
  margin-bottom: 26px;
}

.message-page p:not(.programme-kicker):not(.error-code) {
  max-width: 620px;
  margin: 0 auto 35px;
}

.error-code {
  margin-bottom: 10px;
  font-size: 120px;
  font-weight: 100;
  line-height: 1;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(22 22 22 / 96%);
  color: var(--white);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgb(0 0 0 / 70%);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  grid-template-rows: 60px 1fr;
}

.lightbox-toolbar {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgb(27 27 27 / 92%);
  font-size: 13px;
}

.lightbox-toolbar > div {
  display: flex;
  gap: 5px;
}

.lightbox-toolbar button,
.lightbox-nav {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 23px;
}

.lightbox-nav {
  align-self: center;
  justify-self: center;
  font-size: 38px;
}

.lightbox-figure {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 22px 0 38px;
  flex-direction: column;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 125px);
  object-fit: contain;
  transition: transform 0.25s var(--ease);
}

.lightbox.is-zoomed .lightbox-figure {
  overflow: auto;
}

.lightbox.is-zoomed .lightbox-figure img {
  max-width: none;
  max-height: none;
  transform: scale(1.6);
}

.lightbox figcaption {
  min-height: 20px;
  margin-top: 10px;
  font-size: 12px;
}

.consent-banner {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  width: min(520px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  padding: 30px;
  overflow: auto;
  background: var(--white);
  box-shadow: 0 16px 50px rgb(17 17 17 / 24%);
}

.consent-banner h2 {
  margin-bottom: 15px;
  font-family: "Operetta", serif;
  font-size: 30px;
  font-weight: 400;
}

.consent-banner > p {
  font-size: 13px;
  line-height: 1.55;
}

.consent-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 0;
  background: transparent;
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.consent-actions button,
.consent-save {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
}

.consent-actions button:last-child {
  grid-column: 1 / -1;
  background: var(--white);
  color: var(--ink);
}

.consent-preferences {
  margin-top: 20px;
}

.consent-category {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 13px 0;
  border-top: 1px solid #ddd;
}

.consent-category span {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.consent-category strong {
  font-size: 13px;
}

.consent-category em {
  font-size: 10px;
  font-style: normal;
  color: var(--olive);
}

.consent-category small {
  display: block;
  grid-column: 1 / -1;
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.45;
}

.consent-save {
  width: 100%;
  margin-top: 12px;
}

.consent-reopen {
  position: fixed;
  z-index: 80;
  bottom: 0;
  left: 0;
  padding: 7px 11px;
  border: 0;
  background: var(--charcoal);
  color: var(--white);
  font-size: 10px;
}

@media (max-width: 1100px) {
  :root { --header-height: 92px; }

  .site-header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-right: 14px;
  }

  .programme-intro-grid,
  .pricing-grid,
  .form-layout {
    grid-template-columns: minmax(300px, 0.75fr) 1.25fr;
    gap: 36px;
  }

  .villa-card-title {
    font-size: 34px;
  }

  .gallery-grid {
    columns: 2;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .home-hero h2 {
    font-size: 15px;
  }

  .home-hero h1 {
    font-size: 130px;
  }
}

@media (min-width: 768px) and (max-width: 1160px) {
  .residence-section > .container {
    width: calc(100% - 20px);
  }
}

@media (max-width: 767px) {
  :root { --header-height: 63px; }

  html { scroll-padding-top: 62px; }

  body { font-size: 14px; }

  .container {
    width: calc(100% - 40px);
  }

  .site-header-inner {
    grid-template-columns: 1fr 44px auto;
    width: calc(100% - 20px);
  }

  .brand {
    width: 96px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    margin-right: 7px;
    font-size: 25px;
  }

  .reservation-link {
    min-width: 0;
    padding: 7px 8px;
    font-size: 12px;
    letter-spacing: 0.6px;
  }

  .site-header-home .menu-toggle[aria-expanded="true"] {
    border: 2px solid var(--beige-line);
    color: var(--white);
  }

  .site-header-home {
    height: 73px;
  }

  .mobile-navigation {
    padding: 8px 20px 12px;
  }

  .mobile-navigation a {
    font-size: 12px;
  }

  .home-hero {
    min-height: 80vh;
    margin-top: -17px;
    background-position: 42% center;
  }

  .home-hero-content {
    width: calc(100% - 30px);
    padding-top: 2px;
    transform: translateY(-15px);
  }

  .home-hero h2 {
    width: calc(100% - 10px);
    max-width: none;
    margin: 0 0 20px 10px;
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 1.3;
  }

  .home-hero h1 {
    font-size: 70px;
    line-height: 1;
  }

  .section-label {
    padding: 24px 0 27px;
    font-size: 13px;
  }

  .feature-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 20px 0 10px;
    padding: 20px 0;
  }

  .feature {
    min-height: 0;
    padding: 10px;
    border-right: 1px solid var(--beige-line);
  }

  .feature:first-child {
    padding-left: 10px;
  }

  .feature h2 {
    margin: 0;
    font-size: 30px;
  }

  .residence-section .section-label {
    margin-top: 20px;
    padding: 0 0 30px;
    line-height: 24px;
  }

  .residence-collage {
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
    grid-template-columns: 1fr;
    grid-template-rows: 300px 300px 277px;
    height: auto;
  }

  .residence-collage .residence-main {
    grid-row: auto;
    height: 100%;
  }

  .villa-grid {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .villa-card {
    min-height: 420px;
  }

  .villa-card-number {
    font-size: 58px;
  }

  .villa-card-title {
    font-size: 37px;
  }

  .villas-section {
    padding-bottom: 70px;
  }

  .area-stage {
    display: flex;
    min-height: 850px;
    flex-direction: column;
    padding-top: 65px;
    overflow: visible;
  }

  .area-map {
    position: absolute;
    top: 280px;
    right: -160px;
    width: 500px;
    height: 600px;
    opacity: 0.65;
  }

  .area-photo-stack {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 430px;
  }

  .area-home {
    width: 82%;
    height: 260px;
  }

  .area-village {
    width: 55%;
    height: 155px;
  }

  .area-cavu {
    top: -35px;
    left: 39%;
    width: 58%;
    height: 160px;
  }

  .area-stage h2 {
    position: relative;
    top: auto;
    left: auto;
    z-index: 3;
    margin-top: -15px;
    font-size: 49px;
  }

  .home-reservation-visual {
    height: 780px;
    min-height: 0;
    margin-top: 52px;
  }

  .home-reservation-visual > img {
    object-position: center;
  }

  .home-reservation-content {
    inset: 13% 20px auto;
  }

  .home-reservation-content h2 {
    font-size: 55px;
  }

  .footer-main {
    min-height: 440px;
    padding: 55px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    width: calc(100% - 40px);
  }

  .footer-contact h2,
  .footer-social h2 {
    margin-bottom: 18px;
  }

  .footer-bottom {
    min-height: 96px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }

  .internal-hero,
  .programme-hero,
  .internal-hero-inner,
  .programme-hero .container {
    min-height: 315px;
    height: 315px;
  }

  .internal-hero h1 {
    font-size: 58px;
  }

  .programme-hero h1 {
    font-size: 86px;
  }

  .programme-intro {
    padding: 65px 0 90px;
  }

  .programme-intro-grid,
  .pricing-grid,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .programme-copy h2,
  .pricing-copy h2,
  .form-copy h2 {
    font-size: 45px;
  }

  .programme-intro-grid > img,
  .pricing-grid > img,
  .form-layout > img {
    height: 470px;
  }

  .gallery-section {
    padding: 40px 0 70px;
  }

  .gallery-grid {
    columns: 1;
  }

  .pricing-section {
    padding: 80px 0 95px;
  }

  .video-section {
    padding-bottom: 65px;
  }

  .video-frame button {
    min-width: 76px;
    min-height: 76px;
  }

  .form-section {
    padding: 75px 0 55px;
  }

  .form-layout > img {
    grid-row: 1;
  }

  .form-copy {
    grid-row: 2;
  }

  .listing-page,
  .archive-page,
  .legal-page {
    padding: 70px 0 90px;
  }

  .listing-page h1,
  .archive-page h1,
  .legal-page h1,
  .empty-page h1,
  .message-page h1 {
    margin-bottom: 45px;
    font-size: 52px;
  }

  .post-grid,
  .archive-list .post-card {
    grid-template-columns: 1fr;
  }

  .archive-list .post-card-image {
    grid-row: auto;
  }

  .post-header {
    padding: 70px 0 45px;
  }

  .post-header h1 {
    font-size: 55px;
  }

  .post-featured {
    width: calc(100% - 40px);
    margin-bottom: 50px;
  }

  .post-content {
    font-size: 15px;
  }

  .lightbox[open] {
    grid-template-columns: 44px 1fr 44px;
  }

  .lightbox-toolbar {
    padding: 0 10px;
  }

  .lightbox-toolbar button {
    width: 34px;
  }

  .consent-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 24px 20px;
  }

  .consent-actions {
    grid-template-columns: 1fr;
  }

  .consent-actions button:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
