@layer theme, base, components, utilities;
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,600;9..144,700&display=swap");

:root {
  --navy: #06366b;
  --deep: #002d61;
  --blue: #0075bd;
  --aqua: #20c6dd;
  --yellow: #ffc820;
  --sand: #f7f0df;
  --white: #fffefa;
}

html {
  scroll-behavior: smooth;
}

@layer base {
  body {
    margin: 0;
    color: var(--deep);
    background: var(--sand);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
  }

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

  button {
    color: inherit;
  }

  h1,
  h2,
  p {
    margin: 0;
  }
}

* {
  box-sizing: border-box;
}

.hero {
  --hero-shift: 0px;
  --copy-shift: 0px;
  position: relative;
  min-height: 830px;
  height: 100svh;
  max-height: 980px;
  overflow: hidden;
  color: white;
  background: #159cc8;
}

.hero-image,
.explore-image,
.stay-photo {
  background-image:
    linear-gradient(90deg, rgba(0, 44, 94, 0.42), transparent 57%), url("../assets/siargao-hero.png");
  background-size: cover;
  background-position: center;
}

.home-intro,
.rooms-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(50px, 10vw, 150px);
  align-items: end;
  padding: 120px 0 70px;
}

.home-intro h2,
.rooms-intro h2,
.contact-layout h2,
.room-amenities h2 {
  max-width: 670px;
  font-family: "Fraunces", serif;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
}

.home-intro h2 em,
.rooms-intro h2 em,
.room-amenities h2 em {
  display: block;
  color: var(--blue);
  font-family: "Caveat", cursive;
  font-weight: 600;
}

.home-intro > div > p:last-child,
.rooms-intro > p {
  color: #49637a;
  font-size: 16px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 140px;
}

.feature-card:nth-child(2) {
  transform: translateY(48px);
}

.feature-image {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 220px 220px 18px 18px;
  background: var(--blue);
  box-shadow: 0 20px 50px rgba(0, 69, 112, 0.16);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature-card:hover img {
  transform: scale(1.06);
}

.feature-image span {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 47px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  background: var(--yellow);
  font-size: 11px;
  font-weight: 800;
}

.feature-card h3,
.about-details h3 {
  margin: 25px 0 10px;
  font-family: "Fraunces", serif;
  font-size: 27px;
  letter-spacing: -1px;
}

.feature-card > p,
.about-details article p {
  color: #5c7184;
  font-size: 14px;
  line-height: 1.7;
}

.family-quote {
  position: relative;
  display: grid;
  min-height: 690px;
  place-items: center;
  overflow: hidden;
  color: white;
}

.family-photo {
  position: absolute;
  inset: -80px 0;
  background:
    linear-gradient(rgba(0, 41, 86, 0.56), rgba(0, 41, 86, 0.72)),
    url("../assets/property/home-beach.jpg") center / cover fixed;
}

.family-quote > div:last-child {
  position: relative;
  z-index: 2;
  width: min(880px, calc(100% - 40px));
  text-align: center;
}

.family-quote .eyebrow {
  justify-content: center;
}

.family-quote blockquote {
  margin: 0 0 36px;
  font-family: "Fraunces", serif;
  font-size: clamp(42px, 6vw, 77px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.08;
}

.family-quote blockquote em {
  color: var(--yellow);
  font-family: "Caveat", cursive;
  font-weight: 600;
}

.inner-hero {
  min-height: 650px;
  height: 78svh;
  max-height: 760px;
}

.inner-hero .hero-copy {
  padding-top: clamp(190px, 25vh, 235px);
}

.inner-hero h1 {
  max-width: 870px;
  font-size: clamp(60px, 7vw, 96px);
}

.about-hero .hero-image {
  background-image:
    linear-gradient(90deg, rgba(0, 44, 94, 0.52), transparent 70%), url("../assets/siargao-hero.png");
}

.rooms-hero .hero-image {
  background-image:
    linear-gradient(90deg, rgba(0, 35, 75, 0.66), rgba(0, 38, 74, 0.05)),
    url("../assets/property/rooms-hero.jpg");
}

.contact-hero .hero-image {
  background-image:
    linear-gradient(90deg, rgba(0, 37, 79, 0.62), rgba(0, 37, 79, 0.08)),
    url("../assets/property/home-food.png");
}

.about-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 64, 115, 0.14);
}

.about-details article {
  padding: clamp(55px, 7vw, 100px);
  background: #e9f6f4;
}

.about-details article:nth-child(2) {
  background: var(--yellow);
}

.about-details article:nth-child(3) {
  color: white;
  background: var(--blue);
}

.about-details article span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.about-details article p {
  color: inherit;
}

.rooms-intro {
  align-items: center;
  padding-bottom: 100px;
}

.room-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 310px;
  gap: 18px;
  padding-bottom: 130px;
}

.room-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #bdd8db;
}

.room-gallery .gallery-wide {
  grid-column: span 2;
}

.room-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.room-gallery figure:hover img {
  transform: scale(1.05);
}

.room-gallery figcaption {
  position: absolute;
  right: 15px;
  bottom: 15px;
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.room-amenities {
  padding: 110px 0;
  color: white;
  background: var(--deep);
}

.room-amenities .section-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.room-amenities h2 em {
  color: var(--yellow);
}

.room-amenities ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.room-amenities li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
}

.room-amenities li svg,
.form-success > svg {
  width: 42px;
  flex: 0 0 42px;
  fill: none;
  stroke: var(--aqua);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(60px, 10vw, 140px);
  padding: 130px 0;
}

.contact-layout aside > p:not(.eyebrow) {
  margin-top: 25px;
  color: #526d82;
  line-height: 1.75;
}

.contact-layout dl {
  margin: 40px 0 0;
}

.contact-layout dl div {
  padding: 20px 0;
  border-top: 1px solid rgba(0, 73, 122, 0.17);
}

.contact-layout dt {
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-layout dd {
  margin: 0;
  font-size: 14px;
}

.contact-form,
.form-success {
  padding: clamp(28px, 5vw, 60px);
  border-radius: 24px;
  background: #e4f4f2;
  box-shadow: 0 24px 65px rgba(0, 68, 110, 0.12);
}

.contact-form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 85, 134, 0.18);
  border-radius: 10px;
  outline: none;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 15px;
  text-transform: none;
  transition:
    border 180ms ease,
    box-shadow 180ms ease;
}

.contact-form input,
.contact-form select {
  height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  padding: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 117, 189, 0.12);
}

.contact-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-success {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
}

.form-success > svg {
  width: 70px;
  margin-bottom: 25px;
  stroke: var(--blue);
}

.form-success h2 {
  color: var(--blue);
  font-family: "Caveat", cursive;
}

.form-success > p:not(.eyebrow) {
  max-width: 420px;
  margin: 20px 0 30px;
  color: #526d82;
  line-height: 1.7;
}

.button-blue {
  border: 0;
  color: white;
  background: var(--blue);
  cursor: pointer;
}

.hero-image {
  position: absolute;
  inset: -90px 0;
  transform: translate3d(0, var(--hero-shift), 0) scale(1.04);
  will-change: transform;
}

.hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 33, 75, 0.06) 48%, rgba(0, 45, 97, 0.58) 100%);
}

.hero-sun {
  position: absolute;
  top: 105px;
  left: 6%;
  width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.5;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0,
    rgba(255, 255, 255, 0.25) 20%,
    transparent 68%
  );
  filter: blur(4px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: clamp(190px, 24vh, 245px);
  transform: translate3d(0, var(--copy-shift), 0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 2px;
  content: "";
  background: var(--yellow);
}

.eyebrow.dark {
  color: var(--blue);
}

.hero h1 {
  max-width: 790px;
  font-family: "Fraunces", serif;
  font-size: clamp(64px, 7vw, 108px);
  font-weight: 700;
  letter-spacing: -5px;
  line-height: 0.86;
  text-wrap: balance;
  text-shadow: 0 5px 28px rgba(0, 35, 75, 0.18);
}

.hero h1 span {
  display: block;
  margin-top: 14px;
  color: var(--yellow);
  font-family: "Caveat", cursive;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: -2px;
  transform: rotate(-2deg);
  transform-origin: left;
}

.hero-intro {
  max-width: 570px;
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 27, 58, 0.35);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button svg,
.ink-link svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-yellow {
  color: var(--deep);
  background: var(--yellow);
  box-shadow: 0 12px 28px rgba(71, 49, 0, 0.2);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 45, 97, 0.22);
}

.text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 4.5%;
  bottom: 125px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right center;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 65px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: white;
  animation: scrollline 2.2s infinite ease-in-out;
}

@keyframes scrollline {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

.hero-wave {
  position: absolute;
  z-index: 2;
  right: -2%;
  bottom: -2px;
  left: -2%;
  height: 95px;
  background: var(--sand);
  clip-path: polygon(
    0 66%,
    8% 49%,
    18% 61%,
    29% 43%,
    41% 58%,
    53% 39%,
    65% 58%,
    76% 40%,
    88% 56%,
    100% 37%,
    100% 100%,
    0 100%
  );
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.story {
  --story-shift: 0px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
  min-height: 760px;
  padding: 110px 0;
}

.story-art {
  position: relative;
  height: 540px;
  transform: translate3d(0, var(--story-shift), 0);
  will-change: transform;
}

.photo-orbit {
  position: absolute;
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 25px 70px rgba(0, 70, 111, 0.18);
}

.photo-orbit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-orbit-large {
  top: 35px;
  left: 0;
  width: min(440px, 82%);
  aspect-ratio: 1;
}

.photo-orbit-large img {
  object-position: 70% center;
  transform: scale(1.12);
}

.photo-orbit-small {
  right: 0;
  bottom: 10px;
  width: 205px;
  aspect-ratio: 1;
}

.photo-orbit-small img {
  object-position: 14% center;
  transform: scale(1.75);
}

.sun-stamp {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 4%;
  display: grid;
  width: 118px;
  aspect-ratio: 1;
  place-items: center;
  padding: 25px;
  border-radius: 50%;
  color: var(--deep);
  background: var(--yellow);
  font-family: "Caveat", cursive;
  font-size: 20px;
  font-weight: 600;
  line-height: 0.95;
  text-align: center;
  transform: rotate(8deg);
}

.dotted-route {
  position: absolute;
  top: 54px;
  left: 48%;
  width: 170px;
  height: 390px;
  border: 2px dashed rgba(0, 117, 189, 0.25);
  border-right: 0;
  border-bottom: 0;
  border-radius: 60% 0 0;
  transform: rotate(20deg);
}

.story-copy h2,
.stay-copy h2,
.explore h2 {
  max-width: 610px;
  font-family: "Fraunces", serif;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
}

.story-copy h2 em,
.stay-copy h2 em {
  display: block;
  color: var(--blue);
  font-family: "Caveat", cursive;
  font-weight: 600;
}

.story-copy .lead {
  margin-top: 30px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.65;
}

.story-copy > p:not(.eyebrow):not(.lead),
.stay-copy > p:not(.eyebrow) {
  margin-top: 21px;
  color: #49637a;
  font-size: 15px;
  line-height: 1.8;
}

.ink-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--yellow);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}









.stay {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
  padding: 145px 0;
}

.stay-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.stay-copy li::before {
  margin-right: 11px;
  color: var(--aqua);
  content: "—";
}

.stay-window {
  position: relative;
  min-height: 570px;
}

.stay-photo {
  position: absolute;
  inset: 0;
  border-radius: 280px 280px 24px 24px;
  background-position: 80% center;
  box-shadow: 0 28px 70px rgba(0, 59, 100, 0.2);
}

.stay-card {
  position: absolute;
  right: -28px;
  bottom: 40px;
  min-width: 225px;
  padding: 24px 27px;
  border-radius: 15px;
  color: white;
  background: var(--deep);
  box-shadow: 0 16px 35px rgba(0, 31, 66, 0.25);
}

.stay-card span,
.stay-card small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.stay-card strong {
  display: block;
  margin: 5px 0 8px;
  color: var(--yellow);
  font-family: "Caveat", cursive;
  font-size: 34px;
  line-height: 1;
}

.explore {
  position: relative;
  display: grid;
  min-height: 700px;
  place-items: center;
  overflow: hidden;
  color: white;
}

.explore-image {
  position: absolute;
  inset: -80px 0;
  background-attachment: fixed;
  background-position: center 40%;
}

.explore-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 38, 80, 0.58);
}

.explore-overlay {
  position: relative;
  z-index: 2;
  width: min(750px, calc(100% - 40px));
  text-align: center;
}

.explore-overlay .eyebrow {
  justify-content: center;
}

.explore h2 {
  max-width: none;
}

.explore-overlay > p:not(.eyebrow) {
  max-width: 620px;
  margin: 25px auto 32px;
  line-height: 1.75;
}

@media (max-width: 900px) {

  .story {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-art {
    width: min(560px, 100%);
    margin: 0 auto;
  }




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

  .stay-copy {
    max-width: 620px;
  }

  .home-intro,
  .rooms-intro,
  .room-amenities .section-shell,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:nth-child(2) {
    transform: none;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    justify-self: center;
  }

  .about-details {
    grid-template-columns: 1fr;
  }

  .room-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {

  .hero {
    min-height: 760px;
    max-height: 860px;
  }

  .hero-image {
    background-position: 59% center;
  }

  .hero-copy {
    width: calc(100% - 34px);
    padding-top: 185px;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 68px);
    letter-spacing: -3px;
  }

  .hero-intro {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .scroll-cue {
    display: none;
  }

  .hero-wave {
    height: 65px;
  }

  .section-shell {
    width: calc(100% - 34px);
  }

  .story {
    min-height: 0;
    padding: 80px 0;
  }

  .story-art {
    height: 385px;
  }

  .photo-orbit-large {
    width: 82%;
  }

  .photo-orbit-small {
    width: 135px;
  }

  .sun-stamp {
    width: 92px;
    padding: 18px;
    font-size: 16px;
  }

  .story-copy h2,
  .stay-copy h2,
  .explore h2 {
    font-size: 44px;
    letter-spacing: -2px;
  }

  .story-copy .lead {
    font-size: 17px;
  }






  .stay {
    padding: 90px 0;
  }

  .stay-window {
    min-height: 450px;
  }

  .stay-card {
    right: -8px;
    bottom: 25px;
  }

  .explore {
    min-height: 610px;
  }

  .explore-image {
    background-attachment: scroll;
    background-position: 60% center;
  }

  .home-intro,
  .rooms-intro {
    padding: 80px 0 55px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    padding-bottom: 90px;
  }

  .feature-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .feature-image {
    height: 350px;
  }

  .family-photo {
    background-attachment: scroll;
  }

  .inner-hero {
    min-height: 690px;
    height: 85svh;
  }

  .inner-hero h1 {
    font-size: clamp(49px, 15vw, 68px);
  }

  .room-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
    padding-bottom: 80px;
  }

  .room-gallery .gallery-wide {
    grid-column: auto;
  }

  .room-amenities {
    padding: 80px 0;
  }

  .room-amenities ul,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    padding: 90px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.amenities-hero .hero-image {
  background-image:
    linear-gradient(90deg, rgba(0, 38, 80, 0.62), rgba(0, 38, 80, 0.06)),
    url("../assets/property/about.png");
}

.book-hero .hero-image {
  background-image:
    linear-gradient(90deg, rgba(0, 35, 75, 0.62), rgba(0, 38, 74, 0.06)),
    url("../assets/property/home-beach.jpg");
}

.amenities-grid {
  padding-bottom: 140px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 130px;
}

.blog-card {
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 69, 112, 0.12);
  transition: transform 220ms ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
}

.blog-card > div {
  padding: 26px 26px 30px;
}

.blog-card time {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 12px 0 10px;
  font-family: "Fraunces", serif;
  font-size: 25px;
  line-height: 1.15;
}

.blog-card p {
  color: #49637a;
  font-size: 15px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Make the hidden attribute win over component display rules (e.g. .form-success) */
[hidden] {
  display: none !important;
}

/* The first image (hero) stays fixed in place; the content below scrolls over it */
main#top > .hero {
  position: sticky;
  top: 0;
  z-index: 0;
}

:where(main#top) > :where(:not(.hero)) {
  position: relative;
  z-index: 1;
  background-color: var(--sand);
}

/* Let width-limited sections still cover the fixed hero edge to edge */
main#top > .section-shell::before {
  position: absolute;
  z-index: -1;
  top: -1px;
  right: calc(50% - 50vw);
  bottom: -1px;
  left: calc(50% - 50vw);
  content: "";
  background: var(--sand);
}

/* Homepage hero slideshow: auto-swapping backgrounds + circular picker */
.hero-slides {
  background-image: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-thumbs {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.hero-thumb {
  width: 62px;
  height: 62px;
  padding: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(0, 35, 75, 0.35);
  cursor: pointer;
  opacity: 0.85;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    opacity 200ms ease;
}

.hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-thumb:hover {
  transform: translateY(-3px) scale(1.06);
  opacity: 1;
}

.hero-thumb:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}

.hero-thumb.is-active {
  width: 72px;
  height: 72px;
  border-color: var(--yellow);
  opacity: 1;
}

@media (max-width: 620px) {
  .hero-thumbs {
    gap: 10px;
    margin-top: 28px;
  }

  .hero-thumb {
    width: 48px;
    height: 48px;
  }

  .hero-thumb.is-active {
    width: 56px;
    height: 56px;
  }
}

.contact-layout dd a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Chat support (contact page) ---------- */
.chat-card {
  display: flex;
  height: min(640px, 80vh);
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #e4f4f2;
  box-shadow: 0 30px 70px rgba(0, 69, 112, 0.16);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--navy));
}

.chat-header strong {
  display: block;
  font-size: 16px;
}

.chat-header span {
  font-size: 13px;
  opacity: 0.85;
}

.chat-avatar {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.chat-avatar svg {
  width: 26px;
  fill: none;
  stroke: white;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: #3ddc84;
}

.chat-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 12px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.chat-day {
  align-self: center;
  margin-bottom: 4px;
  color: #6a8296;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.chat-msg {
  display: flex;
  max-width: 82%;
  flex-direction: column;
  gap: 4px;
  animation: chat-in 240ms ease both;
}

.chat-msg p {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.chat-msg time {
  color: #6a8296;
  font-size: 11px;
}

.chat-msg.staff {
  align-self: flex-start;
}

.chat-msg.staff p {
  color: var(--deep);
  border-radius: 18px 18px 18px 4px;
  background: white;
  box-shadow: 0 4px 14px rgba(0, 69, 112, 0.08);
}

.chat-msg.me {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-msg.me p {
  color: white;
  border-radius: 18px 18px 4px 18px;
  background: var(--blue);
}

.chat-typing {
  display: flex;
  align-self: flex-start;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 18px 18px 18px 4px;
  background: white;
  box-shadow: 0 4px 14px rgba(0, 69, 112, 0.08);
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8aa3b5;
  animation: chat-dot 1s infinite ease-in-out;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 22px 14px;
}

.chat-quick button {
  padding: 8px 14px;
  border: 1.5px solid rgba(0, 117, 189, 0.35);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.chat-quick button:hover {
  color: white;
  background: var(--blue);
}

.chat-form {
  display: flex;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(0, 85, 134, 0.1);
  background: rgba(255, 255, 255, 0.55);
}

.chat-form input {
  min-width: 0;
  height: 50px;
  flex: 1;
  padding: 0 18px;
  border: 1px solid rgba(0, 85, 134, 0.18);
  border-radius: 999px;
  outline: none;
  color: var(--deep);
  background: white;
  font: inherit;
  font-size: 15px;
  transition:
    border 180ms ease,
    box-shadow 180ms ease;
}

.chat-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 117, 189, 0.12);
}

.chat-form button {
  display: grid;
  width: 50px;
  height: 50px;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--deep);
  background: var(--yellow);
  cursor: pointer;
  transition: transform 180ms ease;
}

.chat-form button:hover {
  transform: translateY(-2px) scale(1.05);
}

.chat-form button svg {
  width: 22px;
  fill: currentColor;
}

@keyframes chat-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes chat-dot {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (max-width: 620px) {
  .chat-card {
    min-height: 480px;
  }

  .chat-msg {
    max-width: 90%;
  }
}

/* ---------- Animations ---------- */
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 34px;
  }
}

@keyframes slide-left {
  from {
    opacity: 0;
    translate: -48px 0;
  }
}

@keyframes slide-right {
  from {
    opacity: 0;
    translate: 48px 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    scale: 0.86;
    translate: 0 18px;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes zoom-settle {
  from {
    scale: 1.14;
  }
}

@keyframes drift {
  to {
    scale: 1.08;
  }
}

@keyframes sway {
  50% {
    translate: -1.5% 0;
  }
}

@keyframes bob {
  50% {
    translate: 0 -6px;
  }
}

/* Hero entrance: text rises in one line at a time, the picture settles in */
.hero-copy > * {
  animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.hero-copy > :nth-child(1) {
  animation-delay: 150ms;
}

.hero-copy > :nth-child(2) {
  animation-delay: 280ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 410ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 540ms;
}

.hero-copy > :nth-child(5) {
  animation-delay: 670ms;
}

.hero-sun {
  animation: fade 2200ms ease-out backwards;
}

.hero-image:not(.hero-slides) {
  animation: zoom-settle 2400ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.hero-slide {
  animation: drift 14s ease-in-out infinite alternate;
}

.hero-wave {
  animation: sway 9s ease-in-out infinite;
}

.hero-thumb {
  animation: pop 700ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.hero-thumb:nth-child(1) {
  animation-delay: 800ms;
}

.hero-thumb:nth-child(2) {
  animation-delay: 900ms;
}

.hero-thumb:nth-child(3) {
  animation-delay: 1000ms;
}

.hero-thumb:nth-child(4) {
  animation-delay: 1100ms;
}

.hero-thumb:nth-child(5) {
  animation-delay: 1200ms;
}

/* Little details */



.button svg {
  transition: translate 200ms ease;
}

.button:hover svg {
  translate: 4px 0;
}



@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-sun,
  .hero-image,
  .hero-slide,
  .hero-wave,
  .hero-thumb {
    animation: none;
  }
}

/* Homepage: the highlights bar sits right below the hero image, inside the first screen */
main#top > .hero:has(+ .island-ribbon) {
  height: calc(100svh - 112px);
  min-height: 700px;
  max-height: none;
}

main#top > .hero:has(+ .island-ribbon) .hero-copy {
  padding-top: clamp(150px, 19vh, 200px);
}

main#top > .hero:has(+ .island-ribbon) .hero-wave {
  display: none;
}

/* Let the ribbon's wavy top edge overlap the hero picture instead of showing the page background */
main#top > .hero + .island-ribbon {
  margin-top: -14px;
}

@media (max-width: 900px) {
  main#top > .hero + .island-ribbon {
    margin-top: -42px;
  }
}

/* =====================================================================
   Homepage poster-style hero + highlights bar
   ===================================================================== */
.paint-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.hero-home {
  color: var(--navy);
}

.hero-home .hero-image::after {
  background: linear-gradient(180deg, transparent 60%, rgba(0, 40, 95, 0.28) 100%);
}

.hero-home .hero-sun {
  display: none;
}

.hero-home .hero-copy {
  width: min(1300px, calc(100% - 64px));
  padding-top: clamp(92px, 12vh, 124px);
}

/* --- Title: Discover / Siargao / Philippines --- */
.hero-home .poster-title {
  position: relative;
  display: block;
  width: fit-content;
  max-width: none;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(62px, min(8.4vw, 15vh), 138px);
  letter-spacing: 0;
  line-height: 1;
  text-shadow: none;
  text-wrap: nowrap;
}

.hero-home .poster-title .pt-discover,
.hero-home .poster-title .pt-name {
  margin: -0.12em 0 0 0;
  font-family: "Kaushan Script", cursive;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  padding: 0 0.08em 0.3em 0;
  margin-bottom: -0.3em;
  color: transparent;
  background: linear-gradient(to top, #052f63 0%, #1f5799 55%, #4a7cb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.7));
}

.hero-home .poster-title .pt-discover {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 0 0 0.1em;
  font-family: "Yellowtail", cursive;
  font-size: 0.4em;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: none;
}

.hero-home .poster-title .pt-discover::after {
  position: absolute;
  right: -2.6em;
  bottom: 0.08em;
  left: 0.15em;
  height: 0.06em;
  content: "";
  border-radius: 50%;
  background: var(--navy);
  transform: rotate(-1.5deg);
}

.pt-sun {
  position: absolute;
  top: -0.12em;
  left: 0.1em;
  width: 0.62em;
  overflow: visible;
  transform: rotate(-3deg);
}

.pt-sun path:first-child {
  display: none;
}

.pt-wave {
  position: absolute;
  top: -0.02em;
  right: -0.18em;
  width: 1.2em;
  filter: drop-shadow(0 6px 10px rgba(0, 40, 95, 0.18));
}

.hero-home .poster-title .pt-country {
  display: block;
  position: relative;
  left: 2.6em;
  margin: -0.1em 0 0 0;
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: 0.15em;
  font-weight: 700;
  letter-spacing: 0.42em;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
  transform: none;
}

/* --- Painted banner: SURF • EXPLORE • UNWIND --- */
.poster-tag {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  width: fit-content;
  margin: clamp(4px, 1vh, 12px) 0 0 clamp(40px, 5vw, 90px);
  padding: 14px 52px 15px;
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.poster-tag::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: #fff;
  border-radius: 6px 40% 12px 50% / 30% 50% 40% 30%;
  filter: url(#brush-rough);
  transform: rotate(-0.8deg);
}

.poster-tag i {
  font-style: normal;
  letter-spacing: 0;
}

/* --- Circle photos with painted rings and captions --- */
.dest-circles {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2.2vw, 36px);
  margin: clamp(6px, 1.6vh, 18px) 0 0 0;
  padding: 0;
  list-style: none;
}

.dest {
  position: relative;
  width: clamp(138px, min(14.6vw, 23vh), 250px);
  transition: transform 260ms ease;
}

.dest:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.dest-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  filter: drop-shadow(0 12px 22px rgba(0, 40, 95, 0.28));
}

.dest-photo img {
  position: absolute;
  inset: 8.5%;
  width: 83%;
  height: 83%;
  border-radius: 50%;
  object-fit: cover;
}

.dest-photo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.dest-photo .ring-a,
.dest-photo .ring-b {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  filter: url(#ring-rough);
}

.dest-photo .ring-a {
  z-index: 2;
  stroke-width: 11;
}

.dest-photo .ring-b {
  stroke-width: 3.2;
  stroke-dasharray: 170 440;
  stroke-dashoffset: -60;
  opacity: 0.95;
  transform: translate(-3px, -4px);
}

.dest-label {
  position: relative;
  z-index: 2;
  width: 112%;
  margin: -17% 0 0 -6%;
  padding: 13px 10px 14px;
  color: var(--navy);
  text-align: center;
  line-height: 1.1;
}

.dest-label::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: #fff;
  border-radius: 8% 30% 10% 40% / 40% 30% 50% 30%;
  filter: url(#brush-rough);
  transform: rotate(-1.5deg);
}

.dest-label strong {
  display: block;
  font-family: "Yellowtail", cursive;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.dest-label small {
  display: block;
  margin-top: 2px;
  font-size: clamp(10px, 0.9vw, 13px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* --- Right-hand slogan --- */
.poster-slogan {
  position: absolute;
  right: 5%;
  bottom: clamp(24px, 6vh, 70px);
  font-family: "Yellowtail", cursive;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.02;
  text-align: center;
  color: var(--navy);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.9);
  transform: rotate(-9deg);
}

.poster-slogan span {
  display: inline-block;
  margin-left: 0.7em;
}

.poster-slogan svg {
  display: block;
  width: 75%;
  height: auto;
  margin: -0.05em 0 0 auto;
}

/* --- Hero height now that the highlights bar is taller --- */
main#top > .hero.hero-home:has(+ .island-ribbon) {
  height: max(calc(100svh - 150px), 780px);
  min-height: 780px;
}

main#top > .hero.hero-home:has(+ .island-ribbon) .hero-copy {
  padding-top: clamp(92px, 12vh, 124px);
}

/* --- Blue highlights bar --- */
.island-ribbon {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 26px 0 22px;
  color: #fff;
  background: linear-gradient(100deg, #06306a, #04295e 60%, #06306a);
}

main#top > .hero + .island-ribbon {
  margin-top: 0;
}

.ribbon-waves {
  position: absolute;
  top: -68px;
  left: 0;
  width: 100%;
  height: 70px;
  pointer-events: none;
}

.ribbon-inner {
  width: min(1300px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(300px, 1.1fr);
  align-items: center;
}

.ribbon-inner article {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.1vw, 16px);
  min-height: 74px;
  padding: 0 clamp(8px, 1.3vw, 22px);
  border-right: 1px solid rgba(255, 255, 255, 0.85);
}

.ribbon-inner article:first-child {
  padding-left: clamp(8px, 1.5vw, 24px);
}

.ribbon-inner article svg {
  width: clamp(42px, 4vw, 58px);
  flex: 0 0 clamp(42px, 4vw, 58px);
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ribbon-inner article p {
  font-size: clamp(10px, 0.92vw, 13px);
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.65;
  white-space: nowrap;
  text-transform: uppercase;
}

.ribbon-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-left: clamp(8px, 1.4vw, 24px);
}

.ribbon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px 0 26px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 12, 40, 0.35);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.ribbon-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 12, 40, 0.45);
}

.ribbon-button svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate 200ms ease;
}

.ribbon-button:hover svg {
  translate: 4px 0;
}

.ribbon-place {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ribbon-place::before,
.ribbon-place::after {
  flex: 1;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.55);
}

.ribbon-inner article svg {
  animation: bob 3.4s ease-in-out infinite;
}

.ribbon-inner article:nth-child(2) svg {
  animation-delay: 0.4s;
}

.ribbon-inner article:nth-child(3) svg {
  animation-delay: 0.8s;
}

.ribbon-inner article:nth-child(4) svg {
  animation-delay: 1.2s;
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-inner article svg {
    animation: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .ribbon-inner {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 26px;
  }

  .ribbon-cta {
    grid-column: 1 / -1;
    padding-left: 0;
  }

  .ribbon-place {
    max-width: 420px;
  }

  .poster-slogan {
    display: none;
  }
}

@media (max-width: 760px) {
  main#top > .hero.hero-home:has(+ .island-ribbon) {
    height: auto;
    min-height: 0;
    padding-bottom: 60px;
  }

  .hero-home .hero-copy {
    width: calc(100% - 32px);
    padding-top: 96px;
  }

  .hero-home .poster-title {
    font-size: clamp(44px, 14vw, 78px);
  }

  .hero-home .poster-title .pt-country {
    left: 0;
    margin-top: 0.02em;
    font-size: 0.12em;
    letter-spacing: 0.3em;
    text-shadow:
      0 0 8px #fff,
      0 0 16px #fff;
  }

  .ribbon-inner article p {
    white-space: normal;
    letter-spacing: 0.1em;
  }

  .poster-tag {
    width: 100%;
    margin-left: 0;
    padding: 11px 12px 12px;
    letter-spacing: 0.22em;
  }

  .dest-circles {
    flex-wrap: nowrap;
    gap: 8px;
    margin-right: -16px;
    padding-bottom: 6px;
    overflow-x: auto;
  }

  .dest {
    flex: 0 0 44vw;
    width: 44vw;
  }

  .ribbon-waves {
    top: -34px;
    height: 36px;
  }

  .ribbon-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 6px;
  }

  .ribbon-inner article {
    gap: 12px;
    padding: 12px 8px;
    border-right: 0;
  }

  .ribbon-inner article svg {
    width: 44px;
    flex-basis: 44px;
  }

  .ribbon-button {
    padding: 0 24px;
    font-size: 13px;
  }
}

/* Poster brush-script fonts, bundled locally so they always load */
@font-face {
  font-family: "Kaushan Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/kaushan-script-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Yellowtail";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/yellowtail-latin-400-normal.woff2") format("woff2");
}

@media (max-width: 1100px) {
  main#top > .hero.hero-home:has(+ .island-ribbon) {
    height: auto;
    min-height: 700px;
    padding-bottom: 90px;
  }

  .ribbon-inner article:nth-child(4) {
    border-right: 0;
  }
}

.hero-home .hero-thumbs {
  margin-top: clamp(22px, 4vh, 38px);
}

@media (max-width: 760px) {
  .poster-tag {
    width: 100%;
    padding: 11px 14px 12px;
    letter-spacing: 0.1em;
    text-align: center;
  }
}

/* Bigger circle pickers with a painted white backdrop */
.hero-home .hero-thumbs {
  gap: 26px;
  margin-top: clamp(26px, 4.5vh, 44px);
  padding-left: 10px;
}

.hero-home .hero-thumb,
.hero-home .hero-thumb.is-active {
  position: relative;
  width: 88px;
  height: 88px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-home .hero-thumb.is-active {
  width: 96px;
  height: 96px;
}

.hero-home .hero-thumb::before {
  position: absolute;
  inset: -4px;
  content: "";
  border-radius: 50%;
  background: #fff;
  filter: url(#ring-rough) drop-shadow(0 8px 14px rgba(0, 40, 95, 0.3));
}

.hero-home .hero-thumb img {
  position: relative;
  border-radius: 50%;
  box-shadow: 0 0 0 3px transparent;
  transition: box-shadow 200ms ease;
}

.hero-home .hero-thumb.is-active img {
  box-shadow: 0 0 0 2px var(--yellow);
}

@media (max-width: 760px) {
  .hero-home .hero-thumbs {
    gap: 18px;
    flex-wrap: wrap;
    padding-left: 8px;
  }

  .hero-home .hero-thumb,
  .hero-home .hero-thumb.is-active {
    width: 54px;
    height: 54px;
  }

  .hero-home .hero-thumb.is-active {
    width: 62px;
    height: 62px;
  }
}

/* Amenities page: "What we offer" grid */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 28px;
  padding-bottom: 130px;
}

.offer-grid .feature-card:nth-child(2) {
  transform: none;
}

.offer-grid .feature-image {
  height: 330px;
}

@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .offer-grid {
    grid-template-columns: 1fr;
    padding-bottom: 90px;
  }

  .offer-grid .feature-image {
    height: 300px;
  }
}

.booking-page {
  padding: 90px 0 130px;
}

/* Home hero, mobile only: sit the title, tagline and picture circles lower, with more room above than below */
@media (max-width: 760px) {
  main#top > .hero.hero-home:has(+ .island-ribbon) {
    padding-bottom: 40px;
  }

  main#top > .hero.hero-home:has(+ .island-ribbon) .hero-copy,
  .hero-home .hero-copy {
    padding-top: 230px;
  }
}

/* Our Services page */
.services-hero .hero-image {
  background-image:
    linear-gradient(90deg, rgba(0, 38, 80, 0.62), rgba(0, 38, 80, 0.06)),
    url("../assets/amenities/island-hopping.jpg");
}

/* Amenity cards that show an icon instead of a photo */
.feature-image.is-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--aqua), var(--blue) 60%, var(--navy));
}

.feature-image.is-icon svg {
  width: 38%;
  height: auto;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature-card:hover .feature-image.is-icon svg {
  transform: scale(1.08);
}

/* Amenities & Services: alternating image / details rows */
.zigzag {
  display: grid;
  gap: 0;
  padding-bottom: 90px;
}

.zigzag-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 56px 0;
}

/* 1st, 3rd, 5th... row: a slightly lighter full-width band behind it */
.zigzag-row:nth-child(odd)::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  content: "";
  background: #fcf9f0;
}

/* 2nd, 4th, 6th... row: image on the right, details on the left */
.zigzag-row:nth-child(even) .zigzag-media {
  order: 2;
}

.zigzag-media {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: 0;
  background: var(--blue);
  box-shadow: 0 20px 50px rgba(0, 69, 112, 0.16);
}

.zigzag-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.zigzag-row:hover .zigzag-media img {
  transform: scale(1.05);
}

.zigzag-media span {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 47px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  background: var(--yellow);
  font-size: 11px;
  font-weight: 800;
}

.zigzag-row:nth-child(even) .zigzag-media span {
  top: auto;
  bottom: 22px;
}

.zigzag-copy {
  max-width: 460px;
}

.zigzag-row:nth-child(even) .zigzag-copy {
  justify-self: end;
}

.zigzag-copy .eyebrow {
  margin: 0 0 4px;
}

.zigzag-copy h3 {
  margin: 0 0 14px;
  font-family: "Fraunces", serif;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -1.5px;
}

.zigzag-copy p:not(.eyebrow) {
  color: #5c7184;
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .zigzag-row {
    gap: 36px;
  }

  .zigzag-media {
    height: 340px;
  }
}

@media (max-width: 700px) {
  .zigzag {
    padding-bottom: 60px;
  }

  .zigzag-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .zigzag-row:nth-child(even) .zigzag-media {
    order: 0;
  }

  .zigzag-row:nth-child(even) .zigzag-copy {
    justify-self: start;
  }

  .zigzag-media {
    height: 300px;
  }
}

/* Homepage, laptop screens: size the hero to the screen so the highlights bar
   (Stunning Beaches ... Plan your trip now) sits fully inside the first view */
@media (min-width: 1101px) {
  main#top > .hero.hero-home:has(+ .island-ribbon) {
    height: calc(100svh - 128px);
    min-height: 470px;
    padding-bottom: 0;
  }
}

/* Very short laptop windows: tighten the hero content a little */
@media (min-width: 1101px) and (max-height: 700px) {
  main#top > .hero.hero-home:has(+ .island-ribbon) .hero-copy {
    padding-top: 84px;
  }

  .hero-home .hero-thumbs {
    margin-top: 16px;
  }

  .hero-home .hero-thumb,
  .hero-home .hero-thumb.is-active {
    width: 72px;
    height: 72px;
  }

  .hero-home .hero-thumb.is-active {
    width: 80px;
    height: 80px;
  }
}

/* =====================================================================
   Scroll animation (js/main.js adds .sr; .sr-in is on while it is on screen).
   Uses the separate `translate` / `scale` properties so it never fights an
   element's own `transform`.
   ===================================================================== */
.sr {
  --sx: 0px;
  --sy: 52px;
  transition:
    opacity 800ms ease,
    translate 950ms cubic-bezier(0.2, 0.7, 0.2, 1),
    scale 950ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, translate;
}

/* hidden / reset state: no delay, so it is ready to play again */
.sr:not(.sr-in) {
  opacity: 0;
  translate: var(--sx) var(--sy);
  transition-delay: 0ms;
}

.sr.sr-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  transition-delay: var(--d, 0ms);
}

/* it left through the top: when scrolling back up it drops in from above */
.sr[data-from="up"]:not(.sr-in) {
  --sy: -52px;
}

.sr[data-sr="left"]:not(.sr-in) {
  --sx: -80px;
  --sy: 0px;
}

.sr[data-sr="right"]:not(.sr-in) {
  --sx: 80px;
  --sy: 0px;
}

.sr[data-sr="zoom"]:not(.sr-in) {
  --sy: 36px;
  scale: 0.9;
}

.sr[data-sr="zoom"][data-from="up"]:not(.sr-in) {
  --sy: -36px;
}

@media (max-width: 700px) {
  .sr[data-sr="left"]:not(.sr-in),
  .sr[data-sr="right"]:not(.sr-in) {
    --sx: 0px;
    --sy: 40px;
  }

  .sr[data-sr="left"][data-from="up"]:not(.sr-in),
  .sr[data-sr="right"][data-from="up"]:not(.sr-in) {
    --sy: -40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr,
  .sr:not(.sr-in) {
    opacity: 1;
    translate: none;
    scale: none;
    transition: none;
  }
}

/* Rooms page: checkerboard of room cards (text and photo alternate) */
.room-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 130px;
}

.room-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 69, 112, 0.12);
}

.room-card:nth-child(3n + 2) {
  flex-direction: column-reverse;
}

.room-card-photo {
  height: 280px;
  flex: 0 0 280px;
  overflow: hidden;
  background: #bdd8db;
}

.room-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.room-card:hover .room-card-photo img {
  transform: scale(1.05);
}

.room-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 34px;
  text-align: center;
}

.room-card-body h3 {
  margin: 0 0 14px;
  font-family: "Fraunces", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}

.room-card-body p {
  max-width: 330px;
  margin: 0 0 22px;
  color: #49637a;
  font-size: 15px;
  line-height: 1.75;
}

.room-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.room-card-price {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.room-card-book {
  padding: 10px 17px;
  border: 1px solid rgba(0, 45, 97, 0.18);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.room-card-book:hover {
  border-color: var(--yellow);
  background: var(--yellow);
}

.room-card-book:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .room-cards {
    grid-template-columns: 1fr 1fr;
  }

  /* two columns: the right-hand card flips so the checkerboard holds */
  .room-card:nth-child(3n + 2) {
    flex-direction: column;
  }

  .room-card:nth-child(even) {
    flex-direction: column-reverse;
  }
}

@media (max-width: 620px) {
  .room-cards {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }

  .room-card,
  .room-card:nth-child(even),
  .room-card:nth-child(3n + 2) {
    flex-direction: column;
  }

  .room-card-photo {
    height: 240px;
    flex-basis: 240px;
  }

  .room-card-body {
    padding: 32px 24px;
  }
}

/* =====================================================================
   Chat support widget: floating button + chat modal (every page)
   ===================================================================== */
.chat-fab {
  position: fixed;
  z-index: 1250;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, var(--blue), var(--navy));
  box-shadow:
    0 14px 34px rgba(0, 45, 97, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.chat-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 18px 40px rgba(0, 45, 97, 0.46),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.chat-fab:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.chat-fab::before {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 0 rgba(32, 198, 221, 0.55);
  animation: chat-pulse 2.4s ease-out 1.2s 3;
}

.chat-fab svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-fab-close {
  display: none;
}

.chat-fab[aria-expanded="true"] .chat-fab-open {
  display: none;
}

.chat-fab[aria-expanded="true"] .chat-fab-close {
  display: block;
}

.chat-fab-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  padding: 0 6px;
  border: 2px solid var(--sand);
  border-radius: 999px;
  color: var(--deep);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.chat-fab-tip {
  position: absolute;
  right: 76px;
  padding: 9px 14px;
  border-radius: 8px;
  color: white;
  background: var(--deep);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  translate: 8px 0;
  transition:
    opacity 180ms ease,
    translate 180ms ease;
}

.chat-fab:hover .chat-fab-tip,
.chat-fab:focus-visible .chat-fab-tip {
  opacity: 1;
  translate: 0 0;
}

.chat-fab[aria-expanded="true"] .chat-fab-tip {
  display: none;
}

.chat-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 24px 104px;
}

.chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 28, 60, 0.38);
  opacity: 0;
  transition: opacity 240ms ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.chat-modal.is-open .chat-backdrop {
  opacity: 1;
}

.chat-modal .chat-card {
  position: relative;
  width: min(396px, 100%);
  height: min(620px, calc(100svh - 136px));
  min-height: 0;
  border-radius: 22px;
  box-shadow: 0 34px 80px rgba(0, 28, 60, 0.45);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition:
    opacity 240ms ease,
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.chat-modal.is-open .chat-card {
  opacity: 1;
  transform: none;
}

.chat-who {
  min-width: 0;
  flex: 1;
}

.chat-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background 180ms ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.chat-close:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.chat-close svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.chat-modal .chat-quick {
  flex-wrap: nowrap;
  padding: 6px 18px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chat-modal .chat-quick button {
  flex: none;
  white-space: nowrap;
}

body.chat-open {
  overflow: hidden;
}

@keyframes chat-pulse {
  70% {
    box-shadow: 0 0 0 20px rgba(32, 198, 221, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(32, 198, 221, 0);
  }
}

@media (max-width: 620px) {
  .chat-fab {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .chat-fab-tip {
    display: none;
  }

  .chat-modal {
    padding: 0;
  }

  .chat-modal .chat-card {
    width: 100%;
    height: min(100svh - 12px, 720px);
    border-radius: 22px 22px 0 0;
    transform: translateY(40px);
  }

  .chat-fab[aria-expanded="true"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-fab::before {
    animation: none;
  }

  .chat-backdrop,
  .chat-modal .chat-card,
  .chat-fab {
    transition: none;
  }
}

/* =====================================================================
   Contact page: concierge look (deep navy, champagne gold, ivory, serif)
   ===================================================================== */
.luxe-contact,
.luxe-band {
  --gold: #d8b96e;
  --gold-ink: #8a6a22;
  --ivory: #fffaf0;
}

.luxe-contact {
  padding: 130px 0;
  color: var(--deep);
  background: var(--sand);
}

.luxe-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.luxe-intro h2 {
  max-width: 560px;
  font-family: "Fraunces", serif;
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.08;
}

.luxe-intro > p {
  max-width: 470px;
  margin-top: 26px;
  color: #526d82;
  font-size: 16px;
  line-height: 1.85;
}

.luxe-channels {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.luxe-channels li {
  display: flex;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid rgba(138, 106, 34, 0.35);
}

.luxe-channels li:last-child {
  border-bottom: 1px solid rgba(138, 106, 34, 0.35);
}

.luxe-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(138, 106, 34, 0.55);
  border-radius: 50%;
}

.luxe-icon svg {
  width: 22px;
  fill: none;
  stroke: var(--gold-ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.luxe-channels h3 {
  margin: 0 0 6px;
  font-family: "Fraunces", serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.3px;
}

.luxe-channels p {
  margin: 0;
  color: #526d82;
  font-size: 14.5px;
  line-height: 1.7;
}

.luxe-link {
  display: inline-block;
  margin-top: 14px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--gold-ink);
  color: var(--gold-ink);
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.luxe-link:hover {
  color: var(--deep);
  border-color: var(--deep);
}

.luxe-link:focus-visible,
.luxe-pill:focus-visible,
.luxe-submit:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 4px;
}

.luxe-card {
  position: relative;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 4px;
  color: var(--deep);
  background: var(--white);
  box-shadow: 0 30px 70px rgba(0, 69, 112, 0.14);
}

/* fine gold keyline set inside the card edge */
.luxe-card::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(184, 148, 60, 0.55);
  border-radius: 2px;
  content: "";
  pointer-events: none;
}

.luxe-card .contact-form,
.luxe-card .form-success {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.luxe-card .contact-form {
  gap: 26px;
}

.luxe-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.1;
}

.luxe-card .contact-form label {
  gap: 4px;
  color: #5a4a22;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: none;
}

.luxe-card .contact-form input,
.luxe-card .contact-form select,
.luxe-card .contact-form textarea {
  border: 0;
  border-bottom: 1px solid rgba(6, 54, 107, 0.3);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  font-weight: 400;
}

.luxe-card .contact-form input,
.luxe-card .contact-form select {
  height: 46px;
  padding: 0;
}

.luxe-card .contact-form textarea {
  padding: 10px 0;
}

.luxe-card .contact-form input:focus,
.luxe-card .contact-form select:focus,
.luxe-card .contact-form textarea:focus {
  border-bottom-color: var(--gold-ink);
  box-shadow: 0 1px 0 var(--gold-ink);
}

.luxe-submit {
  justify-self: start;
  min-height: 56px;
  padding: 0 40px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: #f3dfa8;
  background: var(--deep);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition:
    color 200ms ease,
    background 200ms ease;
}

.luxe-submit:hover {
  color: var(--deep);
  background: var(--gold);
}

.luxe-card .form-success {
  min-height: 380px;
}

.luxe-card .form-success > svg {
  width: 58px;
  fill: none;
  stroke: var(--gold-ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.luxe-card .form-success > p {
  max-width: 380px;
  margin: 16px 0 6px;
  color: #4a5f72;
  line-height: 1.75;
}

.luxe-card .luxe-link {
  color: var(--gold-ink);
  border-color: var(--gold-ink);
}

.luxe-card .luxe-link:hover {
  color: var(--deep);
  border-color: var(--deep);
}

.luxe-band {
  display: grid;
  min-height: 540px;
  place-items: center;
  padding: 90px 20px;
  background:
    linear-gradient(rgba(0, 28, 60, 0.45), rgba(0, 28, 60, 0.6)),
    url("../assets/property/home-beach.jpg") center / cover;
}

.luxe-band-card {
  max-width: 560px;
  padding: clamp(36px, 6vw, 60px);
  border: 1px solid rgba(216, 185, 110, 0.65);
  color: var(--ivory);
  background: rgba(0, 32, 70, 0.62);
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.luxe-quote {
  font-family: "Fraunces", serif;
  font-size: clamp(27px, 3.4vw, 36px);
  font-weight: 300;
  letter-spacing: -0.6px;
  line-height: 1.25;
}

.luxe-pill {
  margin-top: 32px;
  padding: 15px 34px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition:
    color 200ms ease,
    background 200ms ease;
}

.luxe-pill:hover {
  color: var(--deep);
  background: var(--gold);
}

@media (max-width: 980px) {
  .luxe-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .luxe-contact {
    padding: 80px 0;
  }

  .luxe-channels li {
    gap: 18px;
  }

  .luxe-card {
    padding: 36px 26px;
  }

  .luxe-card .form-row {
    grid-template-columns: 1fr;
  }

  .luxe-band {
    min-height: 460px;
  }
}

.luxe-pill:focus-visible {
  outline-color: var(--gold);
}

/* Home hero scroll parallax: js/main.js sets --py (pixels scrolled). Each layer moves up at its
   own speed (lower layers slower than the ones above, so they never overlap). Uses the separate `translate` property so intro animations and hovers still work. */
.hero-home .poster-title,
.hero-home .poster-tag,
.hero-home .hero-thumb,
.hero-home .poster-slogan {
  will-change: translate;
}

.hero-home .poster-title {
  translate: 0 calc(var(--py, 0) * -0.34px);
}

.hero-home .poster-tag {
  translate: 0 calc(var(--py, 0) * -0.3px);
}

.hero-home .hero-thumb:nth-child(1) {
  translate: 0 calc(var(--py, 0) * -0.12px);
}

.hero-home .hero-thumb:nth-child(2) {
  translate: 0 calc(var(--py, 0) * -0.16px);
}

.hero-home .hero-thumb:nth-child(3) {
  translate: 0 calc(var(--py, 0) * -0.2px);
}

.hero-home .hero-thumb:nth-child(4) {
  translate: 0 calc(var(--py, 0) * -0.24px);
}

.hero-home .hero-thumb:nth-child(5) {
  translate: 0 calc(var(--py, 0) * -0.28px);
}

.hero-home .poster-slogan {
  translate: 0 calc(var(--py, 0) * -0.18px);
}

/* Home hero: the same zoom-out as the other pages when the page loads.
   It sits on the slideshow wrapper, so it never fights the slides' own slow drift. */
.hero-image.hero-slides {
  animation: zoom-settle 2400ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-image.hero-slides {
    animation: none;
  }
}

/* Inner pages (About, Rooms, Amenities, Our Services, Contact, Book): same scroll parallax.
   Text layers rise at their own speed; layers lower down move slower than those above. */
.inner-hero .eyebrow,
.inner-hero h1,
.inner-hero .hero-intro,
.inner-hero .hero-actions {
  will-change: translate;
}

.inner-hero .eyebrow {
  translate: 0 calc(var(--py, 0) * -0.38px);
}

.inner-hero h1 {
  translate: 0 calc(var(--py, 0) * -0.32px);
}

.inner-hero .hero-intro {
  translate: 0 calc(var(--py, 0) * -0.26px);
}

.inner-hero .hero-actions {
  translate: 0 calc(var(--py, 0) * -0.2px);
}
