:root {
  --ivory: #ece9e3;
  --paper: #f5f2ec;
  --ink: #242321;
  --brown: #665e55;
  --line: rgba(36, 35, 33, 0.2);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans), sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
em {
  font-family: var(--font-serif), serif;
  font-style: normal;
  font-weight: 300;
}
::selection {
  background: #827c70;
  color: #fff;
}
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px 3.2vw;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition:
    padding 0.45s ease,
    background 0.45s ease,
    color 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
  backdrop-filter: blur(0);
}
.site-header.is-scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
  background: #ece9e3eb;
  color: var(--ink);
  border-color: #2423211f;
  box-shadow: 0 10px 35px #18181612;
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 600;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 20px;
  text-transform: none;
  transition: transform 0.45s ease;
}
.site-header.is-scrolled .brand-mark {
  transform: scale(0.9);
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
.site-header nav a,
.book-link {
  transition: opacity 0.25s;
}
.site-header nav a:hover,
.book-link:hover {
  opacity: 0.6;
}
.book-link {
  justify-self: end;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  display: flex;
  gap: 12px;
}
.hero {
  position: relative;
  min-height: 100svh;
  background-size: cover;
  background-position: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a0f0e29, #0a0f0e17 45%, #0a0f0ead);
}
.hero-copy {
  position: absolute;
  inset: auto 3.2vw 4.5vh;
  color: #fff;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.21em;
  font-size: 10px;
  font-weight: 600;
  margin: 0 0 28px;
}
.eyebrow.light {
  color: #ffffffc7;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(58px, 8vw, 124px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 1100px;
}
.hero h1 em {
  margin-left: 7vw;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 55px;
}
.hero-foot p {
  font-size: 14px;
  line-height: 1.65;
  color: #ffffffd1;
}
.circle-link {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 20px;
  transition: 0.3s;
}
.circle-link:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(4px);
}
.section-pad {
  padding: clamp(90px, 12vw, 180px) 6vw;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.65fr;
  gap: 12vw;
  align-items: end;
}
.intro h2,
.story h2,
.amenities h2,
.closing h2 {
  font-family: var(--font-serif);
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.intro h2 em,
.story h2 em,
.amenities h2 em,
.closing h2 em {
  color: var(--brown);
}
.intro-copy {
  padding-bottom: 8px;
}
.intro-copy p,
.editorial-copy p,
.location-copy > p {
  font-size: 16px;
  line-height: 1.8;
  color: #58534d;
  margin: 0 0 35px;
}
.text-link {
  display: inline-flex;
  gap: 18px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  border-bottom: 1px solid;
  padding-bottom: 8px;
}
.feature-image {
  height: 90vh;
  position: relative;
  overflow: hidden;
  margin: 0 3vw;
}
.feature-image img {
  transition: transform 1.2s ease;
}
.feature-image:hover img {
  transform: scale(1.02);
}
.feature-image p {
  position: absolute;
  bottom: 28px;
  left: 30px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  gap: 3vw;
}
.facts div {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  padding-right: 3vw;
}
.facts div:last-child {
  border: 0;
}
.facts strong {
  font-family: var(--font-serif);
  font-size: clamp(56px, 6vw, 90px);
  font-weight: 400;
  line-height: 1;
}
.facts span {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10px;
  margin-top: 16px;
  color: #716a62;
}
.story-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin-bottom: 80px;
}
.story-heading h2 {
  grid-column: 2;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw 4vw;
  align-items: start;
}
.editorial-grid figure {
  margin: 0;
}
.editorial-grid figcaption {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.17em;
  margin-top: 14px;
}
.portrait {
  height: 720px;
  width: 78%;
}
.landscape {
  height: 430px;
  margin-top: 100px !important;
}
.wide {
  grid-column: 1/3;
  height: 75vh;
}
.editorial-copy {
  max-width: 360px;
  padding: 11vw 2vw 0;
}
.amenities {
  background: #d8d1c7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}
.amenities ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.amenities li {
  display: grid;
  grid-template-columns: 50px 1fr;
  padding: 22px 0;
  border-bottom: 1px solid rgba(36, 35, 33, 0.3);
  font-family: var(--font-serif);
  font-size: 25px;
}
.amenities li span {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding-top: 8px;
}
.location {
  min-height: 95vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #272c29;
  color: #fff;
}
.location-image {
   background: url("../images/map.png") center / cover no-repeat;
}
.location-copy {
  padding: 11vw 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location h2 {
  font-family: var(--font-serif);
  font-size: clamp(46px, 5.3vw, 80px);
  font-weight: 400;
  line-height: 0.95;
  margin: 0 0 50px;
}
.location h2 em {
  color: #cfc5b8;
}
.location-copy > p {
  color: #ffffffad;
  max-width: 520px;
}
.distances {
  display: flex;
  gap: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 30px;
  margin-top: 25px;
}
.distances span {
  font-family: var(--font-serif);
  font-size: 38px;
}
.distances small {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff8c;
  margin-top: 8px;
}
.closing {
  text-align: center;
  background: var(--paper);
}
.closing .eyebrow {
  margin-bottom: 45px;
}
.closing-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
}
.primary-button,
.secondary-button {
  padding: 20px 28px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 10px;
  display: flex;
  gap: 35px;
  transition: 0.3s;
}
.primary-button {
  background: var(--ink);
  color: #fff;
}
.secondary-button {
  border: 1px solid var(--ink);
}
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-3px);
}
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  padding: 50px 4vw;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
footer p:nth-child(2) {
  text-align: center;
}
footer p:last-child {
  text-align: right;
}
.footer-brand {
  justify-self: start;
}
@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }
  .site-header nav {
    display: none;
  }
  .book-link {
    font-size: 9px;
  }
  .hero-copy {
    left: 20px;
    right: 20px;
    bottom: 28px;
  }
  .hero h1 {
    font-size: clamp(62px, 20vw, 100px);
    line-height: 0.84;
  }
  .hero h1 em {
    margin-left: 0;
  }
  .hero-foot {
    margin-top: 38px;
  }
  .hero-foot p {
    font-size: 12px;
  }
  .section-pad {
    padding: 90px 22px;
  }
  .intro-grid,
  .amenities,
  .location {
    grid-template-columns: 1fr;
  }
  .intro-grid {
    gap: 45px;
  }
  .feature-image {
    height: 70vh;
    margin: 0;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 45px 0;
  }
  .facts div:nth-child(2) {
    border: 0;
    padding-left: 20px;
  }
  .facts strong {
    font-size: 64px;
  }
  .story-heading {
    display: block;
  }
  .story-heading h2 {
    margin-top: 30px;
  }
  .editorial-grid {
    gap: 70px 14px;
  }
  .portrait {
    height: 460px;
    width: 100%;
  }
  .landscape {
    height: 260px;
    margin-top: 80px !important;
  }
  .wide {
    height: 55vh;
  }
  .editorial-copy {
    padding: 35px 5px 0;
  }
  .editorial-copy p {
    font-size: 14px;
  }
  .amenities {
    gap: 65px;
  }
  .location-image {
    height: 62vh;
  }
  .location-copy {
    padding: 90px 24px;
  }
  .distances {
    gap: 35px;
  }
  .closing-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .primary-button,
  .secondary-button {
    justify-content: space-between;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }
  footer p:nth-child(2),
  footer p:last-child {
    text-align: left;
    margin: 0;
  }
}

/* Editorial guest reviews */
.reviews {
  background: #f5f2ec;
  overflow: hidden;
}
.reviews-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
  margin-bottom: 72px;
}
.reviews h2 {
  margin: 0;
  font: 400 clamp(48px, 6vw, 88px)/.98 "Raleway", Arial, sans-serif;
  letter-spacing: -.035em;
}
.booking-score {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 280px;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.booking-score span,
.booking-score small {
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.booking-score strong {
  grid-row: span 2;
  font: 400 48px/1 "Raleway", Arial, sans-serif;
}
.booking-score small {
  margin-top: 8px;
  color: #716a62;
}
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
}
.reviews-track:active { cursor: grabbing; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  background: rgba(255,255,255,.34);
}
.review-meta,
.review-card footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 9px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.review-card blockquote {
  margin: 52px 0;
  max-width: 510px;
  font: 400 clamp(27px, 2.2vw, 38px)/1.22 "Raleway", Arial, sans-serif;
  letter-spacing: -.025em;
}
.review-card footer {
  align-items: end;
  background: none;
  border: 0;
  padding: 0;
}
.review-card footer span { color: #716a62; }
.reviews-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.reviews-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.reviews-controls a {
  margin-left: auto;
  padding-bottom: 5px;
  border-bottom: 1px solid;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
@media (max-width: 820px) {
  .reviews-heading { grid-template-columns: 1fr; gap: 42px; margin-bottom: 48px; }
  .booking-score { width: 100%; }
  .reviews-track {
    grid-auto-columns: 88%;
    scroll-padding-inline: 0 12%;
    padding-bottom: 6px;
  }
  .review-card { min-height: 310px; }
  .review-card footer { flex-direction: column; align-items: flex-start; }
}

/* Compact 31-photo square gallery */
.photo-grid.gallery-grid-31 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: auto;
  gap: 10px;
}
.photo-grid.gallery-grid-31 .gallery-grid-item,
.photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(n) {
  grid-column: span 1;
  grid-row: span 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.photo-grid.gallery-grid-31 .gallery-grid-item span {
  right: 11px;
  bottom: 9px;
  font-size: 8px;
}
.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.55;
}
.form-status[data-type="success"] {
  color: #d8f0df;
}
.form-status[data-type="error"] {
  color: #ffd0ca;
}
.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 820px) {
  .photo-grid.gallery-grid-31 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 6px;
  }
  .photo-grid.gallery-grid-31 .gallery-grid-item,
  .photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
    height: auto;
    aspect-ratio: 1;
  }
}

/* Alternative full photo grid */
.gallery-grid-31 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 90px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery-grid-31 .gallery-grid-item {
  grid-column: span 4;
  grid-row: span 3;
  width: 100%;
  height: 100%;
  margin: 0;
}
.gallery-grid-31 .gallery-grid-item:nth-child(8n + 1) {
  grid-column: span 8;
  grid-row: span 5;
}
.gallery-grid-31 .gallery-grid-item:nth-child(8n + 2) {
  grid-column: span 4;
  grid-row: span 5;
}
.gallery-grid-31 .gallery-grid-item:nth-child(8n + 5),
.gallery-grid-31 .gallery-grid-item:nth-child(8n + 6) {
  grid-column: span 6;
  grid-row: span 4;
}
.gallery-grid-31 .gallery-grid-item img {
  transition: transform 0.7s ease, filter 0.7s ease;
}
.gallery-grid-31 .gallery-grid-item:hover img {
  transform: scale(1.025);
  filter: brightness(0.92);
}
.gallery-grid-31 .gallery-grid-item span {
  left: 17px;
  bottom: 15px;
  z-index: 2;
}

/* Cleaner, more contemporary headline treatment */
.hero h1 {
  max-width: 1250px;
  font-size: clamp(54px, 7.3vw, 112px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.032em;
}
.intro h2,
.story h2,
.all-amenities h2,
.location-copy h2,
.destination-heading h2,
.inquiry h2 {
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

@media (max-width: 820px) {
  .gallery-grid-31 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 9px;
  }
  .gallery-grid-31 .gallery-grid-item,
  .gallery-grid-31 .gallery-grid-item:nth-child(8n + 1),
  .gallery-grid-31 .gallery-grid-item:nth-child(8n + 2),
  .gallery-grid-31 .gallery-grid-item:nth-child(8n + 5),
  .gallery-grid-31 .gallery-grid-item:nth-child(8n + 6) {
    grid-column: span 1;
    grid-row: span 1;
    height: 100%;
  }
  .gallery-grid-31 .gallery-grid-item:nth-child(7n + 1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .hero h1 {
    font-size: clamp(48px, 14vw, 72px);
    line-height: 0.98;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Villa Vibella editorial identity + motion */
.site-header .logo-brand {
  position: relative;
  display: block;
  width: clamp(172px, 15vw, 232px);
  height: 43px;
}
.site-header .logo-brand img {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.site-header .logo-dark {
  opacity: 0;
}
.site-header.is-scrolled .logo-light {
  opacity: 0;
  transform: translateY(-2px);
}
.site-header.is-scrolled .logo-dark {
  opacity: 1;
}
.footer-brand.logo-brand {
  display: block;
  width: min(238px, 100%);
}
.footer-brand.logo-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-video {
  animation: heroImageIn 1.8s cubic-bezier(0.2, 0.75, 0.15, 1) both;
  transform-origin: 50% 52%;
}
@keyframes heroImageIn {
  from { transform: scale(1.055); filter: brightness(0.82); }
  to { transform: scale(1); filter: brightness(1); }
}
.js .story:not(.is-visible) .gallery-grid-item {
  opacity: 0;
  transform: translateY(22px);
}
.js .story.is-visible .gallery-grid-item {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--stagger, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--stagger, 0ms);
}
.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color 0.35s ease;
}
.photo-tile:hover::after {
  border-color: rgba(255,255,255,.55);
}
.lightbox figure img.is-changing {
  animation: lightboxImageIn 0.42s cubic-bezier(0.2, 0.75, 0.15, 1) both;
}
@keyframes lightboxImageIn {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 820px) {
  .site-header .logo-brand {
    width: 158px;
    height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .lightbox figure img.is-changing {
    animation: none !important;
  }
  .js .story:not(.is-visible) .gallery-grid-item {
    opacity: 1;
    transform: none;
  }
}
.reveal-section .reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-section.is-visible .reveal-item {
  opacity: 1;
  transform: none;
}
.reveal-section.is-visible .reveal-item:nth-child(2) {
  transition-delay: 0.09s;
}
.reveal-section.is-visible .reveal-item:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-section.is-visible .reveal-item:nth-child(4) {
  transition-delay: 0.23s;
}
.reveal-section.is-visible .reveal-item:nth-child(5) {
  transition-delay: 0.3s;
}
.reveal-section.is-visible .reveal-item:nth-child(6) {
  transition-delay: 0.37s;
}
.reveal-media {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.25s cubic-bezier(0.2, 0.75, 0.15, 1);
}
.reveal-media.is-visible {
  clip-path: inset(0 0 0 0);
}
.hero-copy .eyebrow {
  animation: heroRise 0.8s 0.15s both;
}
.hero-copy h1 {
  animation: heroRise 1.05s 0.28s both;
}
.hero-foot {
  animation: heroRise 0.9s 0.52s both;
}
@keyframes heroRise {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.text-link span,
.book-link span,
.primary-button span,
.secondary-button span,
.submit-button span,
.direct-links span {
  transition: transform 0.3s ease;
}
.text-link:hover span,
.book-link:hover span,
.primary-button:hover span,
.secondary-button:hover span,
.submit-button:hover span,
.direct-links a:hover span {
  transform: translate(3px, -3px);
}
.video-hero {
  background: #17201f;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-label {
  position: absolute;
  right: 3.2vw;
  bottom: 5vh;
  color: #ffffffa6;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px #ffffff26;
}
button {
  font: inherit;
}
.gallery-trigger {
  display: block;
  width: calc(100% - 6vw);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}
.image-caption {
  position: absolute;
  bottom: 28px;
  left: 30px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
}
.view-gallery {
  position: absolute;
  right: 28px;
  bottom: 25px;
  background: #f5f2eceb;
  padding: 15px 18px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 9px;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 370px 370px 520px;
  gap: 18px;
}
.photo-tile {
  position: relative;
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #ccc;
}
.photo-tile img {
  transition: transform 0.8s ease;
}
.photo-tile:hover img {
  transform: scale(1.025);
}
.photo-tile span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.15em;
}
.tile-1 {
  grid-row: 1/3;
}
.tile-2,
.tile-3 {
  grid-column: 2;
}
.tile-4 {
  grid-column: 1;
}
.tile-5 {
  grid-column: 2;
}
.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: #111211f5;
  display: grid;
  place-items: center;
  padding: 45px 10vw;
  color: #fff;
}
.lightbox figure {
  margin: 0;
  width: min(1200px, 78vw);
  height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox figure img {
  object-fit: contain;
}
.lightbox figcaption {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.lightbox button {
  position: absolute;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  cursor: pointer;
  font-size: 20px;
}
.lightbox-close {
  right: 28px;
  top: 25px;
}
.lightbox-prev {
  left: 3vw;
  top: 50%;
}
.lightbox-next {
  right: 3vw;
  top: 50%;
}
.all-amenities {
  background: #d8d1c7;
}
.amenities-intro {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
  margin-bottom: 85px;
}
.amenities-intro .eyebrow {
  grid-row: 1/3;
}
.amenities-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(52px, 6.8vw, 100px);
  line-height: 0.91;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 0;
}
.amenities-intro h2 em {
  color: var(--brown);
}
.amenities-intro > p:last-child {
  grid-column: 2;
  max-width: 520px;
  line-height: 1.8;
  color: #5a554f;
  margin-top: 35px;
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(36, 35, 33, 0.28);
  border-left: 1px solid rgba(36, 35, 33, 0.28);
}
.amenity-card {
  padding: 38px;
  border-right: 1px solid rgba(36, 35, 33, 0.28);
  border-bottom: 1px solid rgba(36, 35, 33, 0.28);
}
.amenity-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(36, 35, 33, 0.55);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 21px;
  margin-bottom: 55px;
}
.amenity-card h3 {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  margin: 0 0 25px;
}
.amenity-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.amenity-card li {
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid rgba(36, 35, 33, 0.12);
  color: #5a554f;
}
.amenities-note {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin: 24px 0 0;
  color: #6e665e;
}
.inquiry {
  background: #252b28;
  color: #fff;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 12vw;
}
.inquiry-copy {
  position: sticky;
  top: 70px;
  align-self: start;
}
.inquiry h2 {
  font-family: var(--font-serif);
  font-size: clamp(54px, 6.4vw, 92px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0 0 45px;
}
.inquiry h2 em {
  color: #cfc5b8;
}
.inquiry-copy > p:not(.eyebrow) {
  max-width: 450px;
  color: #ffffff9e;
  line-height: 1.8;
}
.direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 45px;
}
.direct-links a {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 7px;
}
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.inquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 9px;
  color: #ffffffa1;
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: 400 17px var(--font-serif);
  padding: 10px 0 15px;
  outline: none;
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: #fff;
}
.inquiry-form select option {
  color: #222;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.consent {
  flex-direction: row !important;
  align-items: flex-start;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
}
.consent input {
  width: 15px;
  margin: 2px 8px 0 0;
}
.submit-button {
  align-self: flex-start;
  background: #f1ede6;
  color: #222;
  border: 0;
  padding: 20px 27px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 9px;
  display: flex;
  gap: 55px;
  cursor: pointer;
}
.form-success {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 55px;
}
.form-success > span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ffffff8c;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  margin: 24px 0 14px;
}
.form-success p {
  color: #ffffff9e;
  line-height: 1.7;
}
.form-success button {
  color: #fff;
  background: none;
  border: 0;
  border-bottom: 1px solid white;
  padding: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
  cursor: pointer;
}
.footer-social {
  display: flex;
  gap: 18px;
  font-size: 9px;
}
footer {
  grid-template-columns: 1fr auto 1fr 1fr;
  gap: 35px;
}
@media (max-width: 820px) {
  .video-label {
    display: none;
  }
  .gallery-trigger {
    width: 100%;
  }
  .view-gallery {
    right: 14px;
    bottom: 14px;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 210px 210px;
  }
  .tile-1 {
    grid-row: 1;
    grid-column: 1/3;
  }
  .tile-2,
  .tile-3,
  .tile-4,
  .tile-5 {
    grid-column: auto;
  }
  .lightbox {
    padding: 70px 12px;
  }
  .lightbox figure {
    width: 100%;
    height: 75vh;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox button {
    width: 44px;
    height: 44px;
    background: #14141480;
  }
  .amenities-intro {
    display: block;
  }
  .amenities-intro h2 {
    margin-top: 30px;
  }
  .amenities-intro > p:last-child {
    margin-top: 30px;
  }
  .amenity-grid {
    grid-template-columns: 1fr;
  }
  .amenity-card {
    padding: 30px 24px;
  }
  .amenity-icon {
    margin-bottom: 30px;
  }
  .inquiry {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .inquiry-copy {
    position: static;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .submit-button {
    width: 100%;
    justify-content: space-between;
  }
  .footer-social {
    flex-wrap: wrap;
  }
  footer {
    grid-template-columns: 1fr;
  }
}
.reveal-section .reveal-item {
  transform: translateY(55px);
  filter: blur(5px);
  transition-duration: 1s;
}
.reveal-section.is-visible .reveal-item {
  filter: blur(0);
}
.gallery-wide {
  position: relative;
  width: 100%;
  height: 70vh;
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  background: #aaa;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-wide img {
  transition: transform 1.1s ease;
}
.gallery-wide:hover img {
  transform: scale(1.02);
}
.gallery-wide span {
  position: absolute;
  left: 25px;
  bottom: 23px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 9px;
}
.photo-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: none;
}
.photo-tile {
  height: 330px;
}
.photo-tile:nth-child(1),
.photo-tile:nth-child(7) {
  grid-column: span 2;
}
.photo-tile:nth-child(1),
.photo-tile:nth-child(3),
.photo-tile:nth-child(7),
.photo-tile:nth-child(9) {
  height: 470px;
}
.extra-credit {
  display: inline-block;
  margin-top: 10px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  opacity: 0.62;
  transition: opacity 0.25s;
}
.extra-credit:hover {
  opacity: 1;
}
.distances {
  flex-wrap: wrap;
}
@media (max-width: 820px) {
  .gallery-wide {
    height: 55vh;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .photo-tile,
  .photo-tile:nth-child(1),
  .photo-tile:nth-child(3),
  .photo-tile:nth-child(7),
  .photo-tile:nth-child(9) {
    height: 230px;
    grid-column: auto;
  }
  .photo-tile:nth-child(1),
  .photo-tile:nth-child(6),
  .photo-tile:nth-child(11) {
    grid-column: 1/3;
    height: 370px;
  }
}
.reveal-section.is-visible .gallery-wide {
  clip-path: inset(0 0 0 0);
}
.reveal-section.is-visible .gallery-wide.reveal-item {
  opacity: 1;
  transform: none;
  filter: none;
}
.always-visible-wide {
  opacity: 1 !important;
  clip-path: none !important;
  transform: none !important;
  visibility: visible !important;
}
.always-visible-wide img {
  animation: wideImageIn 1.15s cubic-bezier(0.2, 0.75, 0.15, 1) both;
}
@keyframes wideImageIn {
  0% {
    opacity: 0.2;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.main-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  align-items: start;
  gap: 5vw;
  padding: 70px 4vw 30px;
}
.footer-identity p {
  margin: 26px 0 0;
  line-height: 1.8;
  color: #6b655e;
  text-align: left !important;
}
.locate-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.locate-link span {
  transition: transform 0.35s ease;
}
.locate-link:hover span {
  transform: translate(3px, -3px);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-contact > span {
  font-size: 9px;
  opacity: 0.5;
  margin-bottom: 12px;
}
.footer-contact a {
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}
.footer-contact a:hover {
  border-color: currentColor;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom p:nth-child(2) {
  text-align: center;
  opacity: 0.48;
  font-size: 8px;
}
.footer-bottom .extra-credit {
  grid-column: 3;
  text-align: right;
  justify-self: end;
}
@media (max-width: 820px) {
  .main-footer {
    grid-template-columns: 1fr 1fr;
    padding: 55px 22px 28px;
    gap: 45px 24px;
  }
  .footer-identity {
    grid-column: 1/-1;
  }
  .footer-contact:nth-of-type(4) {
    grid-column: 1/-1;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 15px;
  }
  .footer-bottom p:nth-child(2),
  .footer-bottom .extra-credit {
    text-align: left;
    justify-self: start;
  }
  .feature-image.always-visible-wide {
    height: 58vh;
  }
  .hero-video {
    min-width: 100%;
    min-height: 100%;
  }
  .hero h1 {
    overflow-wrap: normal;
  }
  .distances span {
    font-size: 31px;
  }
}
.destination {
  background: var(--paper);
}
.destination-heading {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  column-gap: 7vw;
  margin-bottom: 80px;
}
.destination-heading .eyebrow {
  grid-row: 1/3;
}
.destination-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(55px, 7vw, 105px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0;
}
.destination-heading h2 em {
  color: var(--brown);
}
.destination-heading > p:last-child {
  grid-column: 2;
  max-width: 620px;
  line-height: 1.8;
  color: #5c5750;
  margin: 35px 0 0;
}
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.destination-card {
  background: var(--ivory);
}
.destination-card > img {
  height: 420px;
}
.destination-card > div {
  padding: 30px;
}
.destination-card span {
  font-size: 9px;
  letter-spacing: 0.17em;
  opacity: 0.5;
}
.destination-card h3 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  margin: 20px 0 15px;
}
.destination-card p {
  font-size: 12px;
  line-height: 1.75;
  color: #625d56;
  margin: 0;
}
.back-to-top {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(36, 35, 33, 0.22);
  border-radius: 50%;
  background: #f5f2eceb;
  color: var(--ink);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: 0.35s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  background: var(--ink);
  color: #fff;
}
.back-to-top span {
  font-size: 17px;
  line-height: 1;
}
.back-to-top small {
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.whatsapp-chat {
  position: fixed;
  z-index: 91;
  right: 31px;
  bottom: 96px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(36, 35, 33, 0.18);
  border-radius: 999px;
  background: #f5f2ecef;
  color: var(--ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(36, 35, 33, 0.09);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
  animation: whatsappEntrance 0.8s 1.4s both;
}
.whatsapp-chat svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.whatsapp-chat:hover {
  transform: translateY(-3px);
  background: var(--ink);
  color: #fff;
}
@keyframes whatsappEntrance {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 820px) {
  .destination-heading {
    display: block;
  }
  .destination-heading h2 {
    margin-top: 30px;
  }
  .destination-heading > p:last-child {
    margin-top: 30px;
  }
  .destination-grid {
    grid-template-columns: 1fr;
  }
  .destination-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .destination-card > img {
    height: 280px;
  }
  .destination-card > div {
    padding: 24px;
  }
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-chat {
    right: 19px;
    bottom: 76px;
    width: 42px;
    height: 42px;
  }
  .whatsapp-chat svg { width: 18px; height: 18px; }
}
.lightbox[hidden] {
  display: none !important;
}
:root {
  --font-sans: "Noto Sans", Arial, sans-serif;
  --font-serif: "Raleway", Arial, sans-serif;
}

/* Gallery foundations */
.gallery-slider {
  position: relative;
  width: 100%;
}
.gallery-stage {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(420px, 68vh, 760px);
  padding: 0;
  border: 0;
  background: #d7d4ce;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(8, 12, 13, 0.5));
  pointer-events: none;
}
.gallery-stage img {
  transition: opacity 0.28s ease, transform 0.8s ease;
}
.gallery-stage:hover img {
  transform: scale(1.015);
}
.gallery-counter,
.gallery-fullscreen {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.gallery-counter {
  left: 26px;
}
.gallery-counter strong {
  font-weight: 600;
}
.gallery-fullscreen {
  right: 26px;
}
.gallery-navigation {
  position: relative;
  margin-top: 18px;
}
.gallery-thumbnails {
  display: flex;
  gap: 18px;
  min-width: 0;
  padding: 0 72px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.gallery-thumbnails::-webkit-scrollbar {
  display: none;
}
.gallery-thumbnails.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.gallery-thumb {
  position: relative;
  flex: 0 0 clamp(270px, 30vw, 420px);
  height: clamp(185px, 22vw, 290px);
  padding: 0;
  border: 0;
  background: #d7d4ce;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  opacity: 1;
}
.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid rgba(255, 255, 255, 0.92);
  transition: border-width 0.25s ease;
}
.gallery-thumb.is-active {
  opacity: 1;
}
.gallery-thumb.is-active::after {
  border-width: 4px;
}
.gallery-thumb img {
  pointer-events: none;
  transition: transform 0.65s ease;
}
.gallery-thumb:hover img {
  transform: scale(1.025);
}
.gallery-thumb span {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font: 500 9px var(--font-sans);
  letter-spacing: 0.16em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.48);
}
.gallery-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  background: rgba(245, 242, 236, 0.94);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(25, 28, 27, 0.15);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.gallery-arrow-prev {
  left: 14px;
}
.gallery-arrow-next {
  right: 14px;
}
.gallery-arrow:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.gallery-view-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 22px;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 500 11px var(--font-sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 820px) {
  .gallery-stage {
    height: min(62vh, 520px);
  }
  .gallery-navigation {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .gallery-thumbnails {
    gap: 12px;
    padding: 0 8vw 6px;
  }
  .gallery-thumb {
    flex-basis: 78vw;
    height: 54vw;
    max-height: 330px;
  }
  .gallery-arrow {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
  .gallery-arrow-prev {
    left: 3vw;
  }
  .gallery-arrow-next {
    right: 3vw;
  }
  .gallery-counter,
  .gallery-fullscreen {
    bottom: 17px;
    font-size: 8px;
  }
  .gallery-counter {
    left: 16px;
  }
  .gallery-fullscreen {
    right: 16px;
  }
}

/* Keep the alternative grid above legacy gallery rules. */
.photo-grid.gallery-grid-31 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: 90px;
  grid-auto-flow: dense;
  gap: 16px;
}
.photo-grid.gallery-grid-31 .gallery-grid-item {
  grid-column: span 4;
  grid-row: span 3;
  width: 100%;
  height: 100%;
}
.photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(8n + 1) {
  grid-column: span 8;
  grid-row: span 5;
}
.photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(8n + 2) {
  grid-column: span 4;
  grid-row: span 5;
}
.photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(8n + 5),
.photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(8n + 6) {
  grid-column: span 6;
  grid-row: span 4;
}

@media (max-width: 820px) {
  .photo-grid.gallery-grid-31 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 9px;
  }
  .photo-grid.gallery-grid-31 .gallery-grid-item,
  .photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(8n + 1),
  .photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(8n + 2),
  .photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(8n + 5),
  .photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(8n + 6) {
    grid-column: span 1;
    grid-row: span 1;
    height: 100%;
  }
  .photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(7n + 1) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Final compact grid override: 30 square images, minimal scroll. */
.photo-grid.gallery-grid-31 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: auto;
  gap: 10px;
}

/* Final editorial motion tuning */
.hero h1,
.intro h2,
.story h2,
.all-amenities h2,
.location-copy h2,
.destination-heading h2,
.inquiry h2 {
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.reveal-section .reveal-item {
  transform: translateY(50px);
  transition-duration: 1.35s;
  transition-timing-function: cubic-bezier(.16,.72,.22,1);
}
.reveal-media {
  transition-duration: 1.8s;
}
.hero-copy .eyebrow { animation-duration: 1.15s; }
.hero-copy h1 { animation-duration: 1.55s; animation-delay: .32s; }
.hero-foot { animation-duration: 1.35s; animation-delay: .68s; }
.hero-video { animation-duration: 2.6s; }
.js .story:not(.is-visible) .gallery-grid-item {
  transform: translateY(38px);
}
.js .story.is-visible .gallery-grid-item {
  transition-duration: 1.05s;
}
.photo-grid.gallery-grid-31 .gallery-grid-item,
.photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(n) {
  grid-column: span 1;
  grid-row: span 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

@media (max-width: 820px) {
  .photo-grid.gallery-grid-31 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 6px;
  }
  .photo-grid.gallery-grid-31 .gallery-grid-item,
  .photo-grid.gallery-grid-31 .gallery-grid-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
    height: auto;
    aspect-ratio: 1;
  }
}


/* Good to know / House rules */
.stay-info {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.6fr);
  gap: 8vw;
  background: #dedbd4;
  border-top: 1px solid var(--line);
}

.stay-info-heading h2 {
  margin: 28px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.stay-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.stay-info-item {
  min-height: 145px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

.stay-info-item:nth-child(2n) {
  border-right: 0;
}

.stay-info-item span {
  display: block;
  margin-bottom: 35px;
  font-size: 8px;
  letter-spacing: 0.16em;
  opacity: 0.5;
}

.stay-info-item p {
  margin: 0 0 7px;
  color: #716a62;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stay-info-item strong {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.2;
}

.house-rules {
  border-bottom: 1px solid var(--ink);
}

.house-rules summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  cursor: pointer;
  list-style: none;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.house-rules summary::-webkit-details-marker {
  display: none;
}

.house-rules-icon {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.4s ease;
}

.house-rules[open] .house-rules-icon {
  transform: rotate(45deg);
}

.house-rules-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px 55px;
  padding: 15px 0 45px;
}

.house-rules-details h3 {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.house-rules-details p {
  max-width: 460px;
  margin: 0;
  color: #625d56;
  font-size: 12px;
  line-height: 1.75;
}

@media (max-width: 820px) {
  .stay-info {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .stay-info-grid {
    grid-template-columns: 1fr;
  }

  .stay-info-item {
    min-height: 125px;
    border-right: 0;
  }

  .stay-info-item span {
    margin-bottom: 25px;
  }

  .house-rules-details {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Floating actions: keep controls clear of the footer credit */
.back-to-top {
  bottom: 84px;
}

.whatsapp-chat {
  bottom: 152px;
}



@media (max-width: 820px) {
  .back-to-top {
    bottom: 72px;
  }

  .whatsapp-chat {
    bottom: 132px;
  }

  
}

