/* Blue Waters Inn - site styles (mobile first) */

:root {
  --teal: #00757f;
  --teal-dark: #005c64;
  --gold: #deb666;           /* small "sun" accents only */
  --navy: #00243f;
  --ink: #2b323c;
  --muted: #56606b;
  --mist: #eef6f5;           /* sea-glass: the page background and alternate sections */
  --line: #d6e6e4;
  --white: #fff;
  --wave-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'%3E%3Cpath d='M1 5 Q4.5 1 8 5 T15 5 T22 5 T29 5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --wave-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C 240 4 480 4 720 30 S 1200 58 1440 26 V60 H0 Z'/%3E%3C/svg%3E");
  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 26 C 240 56 480 56 720 30 S 1200 2 1440 34 V60 H0 Z'/%3E%3C/svg%3E");
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --radius: 22px;
  --radius-sm: 14px;
  --arch: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius); /* arch top on 4:5 photos */
  --shadow: 0 24px 50px -26px rgba(0, 58, 77, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; } /* layout rules (display: flex etc.) must not un-hide elements */
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 {
  margin: 0 0 1rem;
  font-family: var(--serif); font-weight: 400; line-height: 1.12;
  letter-spacing: -.01em; color: var(--navy);
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--white); color: var(--navy); padding: .5rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 32px; } }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1rem;
  font-family: var(--sans); font-weight: 700; font-size: .75rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before, .hero__kicker::before, .hours h2::before {
  content: ""; flex: none; width: 30px; height: 10px; background: currentColor;
  -webkit-mask: var(--wave-line) no-repeat center / contain; mask: var(--wave-line) no-repeat center / contain;
}
.section-title { font-size: clamp(2rem, 5.2vw, 3.5rem); }
.lead { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.5; color: var(--navy); }
.kicker-serif { margin: 0 0 .25rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--teal-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .75rem 1.75rem;
  font-family: var(--sans); font-weight: 700; font-size: .8125rem; line-height: 1.2;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--white); background: var(--teal);
  border: 1.5px solid var(--teal); border-radius: 999px; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn { box-shadow: 0 12px 24px -14px rgba(0, 117, 127, .8); }
.btn:hover { color: var(--white); background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.btn--ghost, .btn--outline { box-shadow: none; }
.btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); }
.btn--small { min-height: 44px; padding: .6rem 1.25rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  border-bottom: 1.5px solid rgba(0, 117, 127, .45); padding-bottom: .25rem;
}
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--teal); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(0, 36, 63, .08);
}
.site-header__inner { display: flex; align-items: center; gap: .75rem; min-height: var(--header-h); }
.site-header__logo { flex: 0 1 auto; margin-right: auto; }
.site-header__logo img { width: 150px; }
.btn--book { order: 2; min-height: 42px; padding: .5rem 1rem; font-size: .75rem; letter-spacing: .08em; }

.nav-toggle {
  order: 3;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; color: var(--navy); cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; display: block; width: 22px; height: 1.5px; background: currentColor;
  transition: transform .2s, background-color .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav: a panel under the header. Without JavaScript the toggle is hidden and the menu shows inline. */
.site-nav { order: 4; flex-basis: 100%; }
.js .site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  display: none;
}
.js .site-nav.is-open { display: block; }
.no-js .nav-toggle { display: none; }
.site-nav__list { list-style: none; padding: .5rem 16px 1rem; }
.site-nav__list > li { border-bottom: 1px solid var(--line); }
.site-nav__list > li:last-child { border-bottom: 0; }
.site-nav a {
  display: block; padding: .85rem 0;
  font-family: var(--serif); font-size: 1.375rem;
  color: var(--navy); text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); }
.has-submenu { display: flex; flex-wrap: wrap; align-items: center; }
.has-submenu > a { flex: 1; }
.submenu-toggle { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--navy); }
.submenu-toggle::before {
  content: ""; display: block; width: 8px; height: 8px; margin: 0 auto;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.submenu-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
.submenu { list-style: none; flex-basis: 100%; padding: 0 0 .75rem 1rem; }
.js .submenu { display: none; }
.js .submenu.is-open { display: block; }
.site-nav .submenu a { padding: .45rem 0; font-family: var(--sans); font-size: 1rem; color: var(--ink); }

@media (min-width: 420px) { .site-header__logo img { width: 175px; } }

@media (min-width: 1100px) {
  :root { --header-h: 84px; }
  .site-header__logo img { width: 210px; }
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav {
    order: 1; flex-basis: auto; position: static; display: block;
    max-height: none; overflow: visible; background: none; border: 0; box-shadow: none;
  }
  .site-nav__list { display: flex; gap: 2rem; padding: 0; margin-right: 1.5rem; }
  .site-nav__list > li { border: 0; position: relative; }
  .site-nav a {
    position: relative; padding: .5rem 0;
    font-family: var(--sans); font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  }
  .site-nav__list > li > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1.5px;
    background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .site-nav__list > li > a:hover::after,
  .site-nav__list > li > a[aria-current="page"]::after { transform: scaleX(1); }
  .has-submenu { flex-wrap: nowrap; }
  .submenu-toggle { width: 28px; height: 32px; margin-left: 2px; }
  .submenu, .js .submenu {
    position: absolute; top: calc(100% + .5rem); left: -1.25rem; min-width: 240px;
    padding: .75rem 1.25rem; background: var(--white);
    border-radius: var(--radius-sm); box-shadow: var(--shadow);
    display: none;
  }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; } /* hover bridge */
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu,
  .js .submenu.is-open { display: block; }
  .site-nav .submenu a { font-size: .9375rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
  .site-nav .submenu a:hover { color: var(--teal); }
  .btn--book { min-height: 46px; padding: .7rem 1.5rem; font-size: .8125rem; letter-spacing: .1em; }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section--white { background: var(--white); }
@media (min-width: 900px) { .section { padding: 7rem 0; } }

.section-intro { max-width: 46rem; margin-bottom: 3rem; }
.section-intro--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro--center .eyebrow { justify-content: center; }

/* Title on the left, intro text on the right (desktop) */
.section-head { display: grid; gap: 1rem 4rem; margin-bottom: 3rem; align-items: end; }
.section-head .section-title { margin: 0; max-width: 14ch; }
.section-head p { margin: 0; max-width: 34rem; color: var(--muted); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.1fr 1fr; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: calc(92vh - var(--header-h)); min-height: calc(92svh - var(--header-h));
  color: var(--white); background: var(--navy); overflow: hidden;
}
.hero__media, .hero__slide, .hero__slide img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
}
/* Crossfade: the active photo fades in over 2.5s and drifts slowly; main.js rotates them */
.hero__slide { opacity: 0; transition: opacity 2.5s ease-in-out; }
.hero__slide.is-active { opacity: 1; }
.hero.is-animated .hero__slide.is-active img { animation: hero-drift 9s ease-out both; }
.hero.is-paused .hero__slide img { animation-play-state: paused; }
.hero__pause {
  position: absolute; right: 16px; bottom: 76px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0,36,63,.35); border: 1px solid rgba(255,255,255,.6); color: var(--white);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__pause:hover { background: rgba(0,36,63,.6); }
.hero__pause span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.hero.is-paused .hero__pause span {
  width: 0; height: 0; margin-left: 4px; border-style: solid; border-color: transparent;
  border-width: 8px 0 8px 13px; border-left-color: currentColor;
}
@media (min-width: 900px) { .hero__pause { right: 32px; bottom: 96px; } }
@keyframes hero-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,36,63,.55) 0%, rgba(0,58,77,.08) 65%),
    linear-gradient(0deg, rgba(0,36,63,.7) 0%, rgba(0,58,77,0) 55%);
}
.hero .container { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 900px) { .hero .container { padding-bottom: 9rem; } }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1.25rem;
  font-weight: 700; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--white);
  text-shadow: 0 1px 12px rgba(0,36,63,.6);
}
.hero__kicker::before { background: var(--gold); }
/* Soft wave where the photo banners meet the page */
.hero::before, .page-hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  height: 28px; background: var(--white); pointer-events: none;
  -webkit-mask: var(--wave-edge) no-repeat center / 100% 100%; mask: var(--wave-edge) no-repeat center / 100% 100%;
}
@media (min-width: 900px) { .hero::before, .page-hero::before { height: 56px; } }
/* Captions are stacked in one grid cell; only the active one is visible */
.hero__captions { display: grid; }
.hero__caption { grid-area: 1 / 1; align-self: end; opacity: 0; visibility: hidden; transition: opacity 1.2s ease-in-out, visibility 0s 1.2s; }
.hero__caption.is-active { opacity: 1; visibility: visible; transition: opacity 1.6s ease-in-out .9s, visibility 0s; }
.hero h1, .hero__title {
  margin: 0 0 1.25rem; max-width: 15ch; color: var(--white);
  font-style: italic; font-size: clamp(2.75rem, 8vw, 5.5rem); line-height: 1.02;
  text-shadow: 0 2px 30px rgba(0,36,63,.35);
}
.hero__title { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.hero__lead { margin: 0 0 2rem; font-family: var(--serif); font-size: clamp(1.125rem, 2.6vw, 1.5rem); opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Welcome ---------- */
.welcome { display: grid; gap: 3rem; align-items: center; }
.welcome__copy p:not(.lead) { max-width: 36rem; color: var(--muted); }
.welcome__copy .lead { max-width: 30rem; margin-bottom: 1.5rem; }
@media (min-width: 900px) { .welcome { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* ---------- Stay promo (Home): panorama + write-up ---------- */
.panorama { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 70% center; border-radius: var(--radius); }
@media (min-width: 700px) { .panorama { aspect-ratio: 1280 / 340; } }
.stay-promo { display: grid; gap: 2rem 5rem; margin-top: 2.5rem; align-items: start; }
@media (min-width: 900px) { .stay-promo { grid-template-columns: 1.15fr 1fr; margin-top: 3.5rem; } }
.stay-promo__text p:not(.lead) { color: var(--muted); max-width: 36rem; }
.stay-promo__points { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.stay-promo__points li {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.1875rem; line-height: 1.35; color: var(--navy);
}
.stay-promo__points li::before {
  content: ""; flex: none; width: 30px; height: 10px; background: var(--teal);
  -webkit-mask: var(--wave-line) no-repeat center / contain; mask: var(--wave-line) no-repeat center / contain;
}

.rooms-actions {
  display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; justify-content: center;
  margin-top: 3rem; text-align: center;
}
@media (min-width: 1000px) { .rooms-actions { justify-content: flex-start; margin-top: 2.5rem; } }
.rooms-actions__or { font-family: var(--serif); font-style: italic; color: var(--muted); }
.rooms-actions__rates { display: contents; } /* "or" + rates button; hidden together if the PDF is missing */
@media (max-width: 599px) { .rooms-actions { flex-direction: column; gap: .5rem; } }

/* ---------- Info strip (Home): card overlapping the bottom of the hero ---------- */
.info-strip {
  --overlap: 3rem; /* how far the card reaches up into the hero */
  position: relative; z-index: 2; margin-top: calc(var(--overlap) * -1);
  background: linear-gradient(transparent var(--overlap), var(--white) var(--overlap)); /* white below the hero, photo above */
}
.info-strip__card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  padding: 1.25rem 1.5rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.info-strip__list { list-style: none; display: grid; grid-template-columns: repeat(3, auto); gap: .5rem 1rem; flex: 1; justify-content: space-between; }
.info-strip__list li { display: flex; flex-direction: column; line-height: 1.3; }
.info-strip__list strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.0625rem, 2.4vw, 1.625rem); color: var(--teal-dark); white-space: nowrap; }
.info-strip__list span { font-size: .8125rem; color: var(--muted); }
@media (min-width: 600px) { .info-strip__list span { font-size: .875rem; } }
@media (max-width: 599px) { .info-strip__card .btn { width: 100%; } }
@media (min-width: 900px) {
  .info-strip { --overlap: 4.5rem; }
  .info-strip__card { padding: 1.75rem 2.5rem; }
  .info-strip__list { gap: .5rem 3rem; }
  .info-strip__list li + li { padding-left: 3rem; border-left: 1px solid var(--line); }
}

/* ---------- Welcome (Home) ---------- */
.text-columns { max-width: 44rem; margin: 0 auto; color: var(--muted); }
.signature { margin: 2rem 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.375rem, 3vw, 1.875rem); color: var(--teal-dark); }

/* ---------- Feature band (Home dining): photo with an overlapping card, within the page width ---------- */
.feature-band__media img { width: 100%; aspect-ratio: 1000 / 855; object-fit: cover; border-radius: var(--radius); }
.feature-band__card {
  position: relative; margin: -4rem 1rem 0; padding: 2rem 1.5rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.feature-band__card p:not(.kicker-serif) { color: var(--muted); }
.feature-band__card .btn { margin-top: .5rem; }
@media (min-width: 900px) {
  .feature-band__inner { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
  .feature-band__media { grid-column: 1 / 9; grid-row: 1; }
  .feature-band__card { grid-column: 8 / 13; grid-row: 1; margin: 0; padding: 3rem; }
}

.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

/* ---------- Experience cards (bento) ---------- */
.experience-grid { display: grid; gap: 12px; list-style: none; grid-template-columns: repeat(2, 1fr); }
.experience-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.experience-card img {
  width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform .8s var(--ease);
}
.experience-card:hover img, .experience-card:focus-within img { transform: scale(1.05); }
.experience-card a {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding: .9rem; color: var(--white); text-decoration: none;
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.25;
  background: linear-gradient(0deg, rgba(0,36,63,.8) 0%, rgba(0,36,63,0) 50%);
}
.experience-card a:focus-visible { outline-offset: -4px; }
@media (min-width: 640px) { .experience-card a { padding: 1.5rem; font-size: 1.5rem; } }
@media (min-width: 1000px) {
  .experience-grid { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
  .experience-card img { aspect-ratio: auto; }
  .experience-card:first-child { grid-row: span 2; }
  .experience-card:first-child a { font-size: 2rem; padding: 2rem; }
  .experience-card:last-child { grid-column: span 2; }
}
.section-more { margin-top: 2.5rem; text-align: center; }

/* ---------- CTA banner (inset card) ---------- */
.cta-banner {
  position: relative; isolation: isolate; overflow: hidden;
  width: calc(100% - 32px); max-width: 1176px; margin: 0 auto 4.5rem;
  padding: 5rem 0; border-radius: calc(var(--radius) + 10px);
  text-align: center; color: var(--white); background: var(--navy);
}
@media (min-width: 700px) { .cta-banner { width: calc(100% - 64px); padding: 6.5rem 0; } }
@media (min-width: 900px) { .cta-banner { margin-bottom: 7rem; } }
.cta-banner picture, .cta-banner img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
}
.cta-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(0,36,63,.78), rgba(0,92,100,.62)); }
.cta-banner .eyebrow { color: var(--gold); justify-content: center; }
.cta-banner .eyebrow::before { display: none; }
.cta-banner h2 { font-size: clamp(2rem, 5.5vw, 3.5rem); font-style: italic; max-width: 18ch; margin: 0 auto 2rem; color: var(--white); }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
/* After a white section, leave a gap of page background above the banner */
.section--white + .cta-banner { margin-top: 4.5rem; }
@media (min-width: 900px) { .section--white + .cta-banner { margin-top: 7rem; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 340px; height: 55vh; max-height: 560px;
  color: var(--white); background: var(--navy);
}
.page-hero picture, .page-hero img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(0,36,63,.72) 0%, rgba(0,58,77,.08) 62%);
}
.page-hero .container { padding-bottom: 3.5rem; }
@media (min-width: 900px) { .page-hero .container { padding-bottom: 5rem; } }
/* Keep faces in frame on the wide, short banner */
.page-hero img.page-hero__img--top { object-position: center 25%; }
.page-hero img.page-hero__img--low { object-position: center 78%; }
/* Shift the crop towards the subject when a landscape photo is cut to a portrait frame */
.experience__media img.focus-right { object-position: 72% center; }
.page-hero h1 { margin: 0; color: var(--white); font-size: clamp(3rem, 9vw, 6rem); font-style: italic; line-height: 1; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0 0 1rem; padding: 0; font-size: .8125rem; letter-spacing: .06em; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--gold); }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Venue intro + opening hours ---------- */
.venue { display: grid; gap: 3rem; align-items: start; }
.venue__logo { width: 220px; margin-bottom: 2rem; }
.venue__copy p { max-width: 36rem; }
.venue__copy p:not(.lead) { color: var(--muted); }
.venue__copy .btn { margin-top: 1rem; }
@media (min-width: 900px) { .venue { grid-template-columns: 1.3fr 1fr; gap: 6rem; } }

.hours { padding: 2rem; background: var(--mist); border-radius: var(--radius); }
.hours h2 {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1.25rem; font-family: var(--sans); font-weight: 700; font-size: .75rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--teal);
}
.hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .75rem 1.5rem; }
.hours dt { font-family: var(--serif); font-size: 1.125rem; color: var(--navy); }
.hours dd { margin: 0; align-self: center; }
.hours__note { margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }

/* ---------- Gallery grid + lightbox ---------- */
.gallery-grid { list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: scale(1.05); }
.gallery-grid a:focus-visible { outline-offset: 2px; }

.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(0, 20, 36, .95); color: var(--white);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; padding: 4rem 16px 1rem; max-width: 1200px; text-align: center; }
.lightbox img { max-height: calc(100vh - 9rem); width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { margin-top: .75rem; font-size: .9375rem; color: #c9d2db; }
.lightbox button {
  position: absolute; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: var(--white); font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: var(--teal); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 699px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
}

/* ---------- Menu downloads ---------- */
.menu-list { list-style: none; display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
@media (min-width: 700px) { .menu-list { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.menu-list a {
  display: flex; align-items: center; gap: 1rem; min-height: 84px; padding: 1.25rem 1.5rem;
  background: var(--mist); border: 1px solid transparent; border-radius: var(--radius);
  color: var(--navy); font-family: var(--serif); font-size: 1.1875rem; line-height: 1.3;
  text-decoration: none; transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.menu-list a:hover { background: var(--white); border-color: var(--teal); color: var(--navy); transform: translateY(-2px); }
.menu-list svg { flex: none; color: var(--teal); }
.menu-list small {
  display: block; margin-top: .2rem; font-family: var(--sans); font-weight: 700; font-size: .6875rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Jump links (in-page navigation) ---------- */
.jump-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.jump-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.15rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  color: var(--navy); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; transition: border-color .25s, color .25s;
}
.jump-nav a:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Experience sections (Explore) ---------- */
.experience { display: grid; gap: 2.5rem; align-items: center; }
.experience__media { position: relative; }
.experience__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); }
.experience__media--landscape img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.experience__media--inset { padding-bottom: 2.5rem; }
.experience__media .experience__inset {
  position: absolute; right: .75rem; bottom: 0; width: 42%; aspect-ratio: 390 / 449;
  border: 6px solid var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.section:not(.section--white) .experience__inset { border-color: var(--mist); }
.experience__media .experience__inset--landscape { width: 55%; aspect-ratio: 3 / 2; }
.experience__copy p:not(.kicker-serif) { color: var(--muted); max-width: 36rem; }
.experience__copy .section-title { margin-bottom: 1.5rem; }
.experience__contact {
  margin-top: 1.75rem; padding: 1.25rem 1.5rem; border-radius: var(--radius-sm);
  background: var(--mist); font-size: .9375rem; max-width: 36rem;
}
.section:not(.section--white) .experience__contact { background: var(--white); }
.experience__contact h3 {
  margin: 0 0 .5rem; font-family: var(--sans); font-weight: 700; font-size: .75rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
}
.experience__contact p { margin: 0; color: var(--ink) !important; }
.experience__contact a { overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .experience { grid-template-columns: 1fr 1fr; gap: 6rem; }
  .experience--reverse .experience__media { order: 2; }
  .experience__media .experience__inset { right: -2rem; }
  .experience--reverse .experience__media .experience__inset { right: auto; left: -2rem; }
}
.experience-gallery { margin-top: 3.5rem; }
@media (min-width: 1000px) { .gallery-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery-grid--5 { grid-template-columns: repeat(5, 1fr); } }
.wide-photo { margin-top: 3.5rem; }
.wide-photo img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 699px) { .wide-photo img { aspect-ratio: 16 / 7; } }

/* ---------- Facts row (About) ---------- */
.facts { list-style: none; display: grid; gap: 1px; margin-top: 3.5rem; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts li { padding: 1.75rem 1.5rem; background: var(--white); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1.1; color: var(--teal); }
.facts span { display: block; margin-top: .5rem; color: var(--muted); font-size: .9375rem; }

/* ---------- Find us (About) ---------- */
.find-us { display: grid; gap: 2rem 4rem; align-items: start; }
@media (min-width: 900px) { .find-us { grid-template-columns: 1fr 1fr; } }
.find-us address { font-style: normal; }
.find-us dl { margin: 0 0 2rem; display: grid; grid-template-columns: auto 1fr; gap: .75rem 1.5rem; }
.find-us dt { font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); padding-top: .3rem; }
.find-us dd { margin: 0; }
.find-us__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.gallery-grid .placeholder { flex-direction: column; aspect-ratio: 1; border-radius: var(--radius-sm); font-size: .75rem; }
.gallery-grid .placeholder small { display: block; margin-top: .35rem; font-weight: 400; letter-spacing: 0; text-transform: none; }

/* ---------- Room cards (Stay) ---------- */
.stay-grid { list-style: none; display: grid; gap: 2.5rem 2rem; }
@media (min-width: 900px) { .stay-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem 3rem; } }
.stay-card { display: flex; flex-direction: column; height: 100%; }
.stay-card__media { display: block; overflow: hidden; border-radius: var(--radius); }
.stay-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.stay-card__media:hover img, .stay-card__media:focus-visible img { transform: scale(1.04); }
.stay-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 1.5rem; }
.stay-card h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: .75rem; }
.stay-card h2 a { color: inherit; text-decoration: none; }
.stay-card h2 a:hover { color: var(--teal); }
.stay-card p { color: var(--muted); }
.stay-card__note { padding: .75rem 1rem; border-left: 2px solid var(--gold); background: var(--white); font-size: .9375rem; }
.stay-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: auto; padding-top: .5rem; }

/* ---------- Palm frond decoration ---------- */
.has-frond { position: relative; isolation: isolate; overflow: hidden; }
.has-frond::before {
  content: ""; position: absolute; top: -30px; right: -90px; z-index: -1; width: 340px; height: 340px;
  background: var(--teal); opacity: .09; pointer-events: none; transform: rotate(8deg);
  -webkit-mask: url("/assets/img/frond.svg") no-repeat center / contain; mask: url("/assets/img/frond.svg") no-repeat center / contain;
}
@media (min-width: 900px) { .has-frond::before { width: 520px; height: 520px; top: -60px; right: -120px; } }

/* ---------- Highlight cards (About) ---------- */
.highlight-grid { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .highlight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .highlight-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.highlight-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.highlight-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.highlight-card img.highlight-card__img--top { object-position: center 8%; }
.highlight-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.75rem; }
.highlight-card h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.highlight-card p { color: var(--muted); font-size: .9688rem; }
.highlight-card .link-arrow { align-self: flex-start; margin-top: auto; }

/* ---------- Room detail pages ---------- */
.room-detail { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1000px) { .room-detail { grid-template-columns: minmax(0, 1fr) 360px; gap: 5rem; } }
.room-detail__main > p:not(.lead) { color: var(--muted); max-width: 42rem; }
.room-detail__heading { margin: 2.5rem 0 1rem; font-size: 1.625rem; }
.room-photo { width: 100%; max-width: 420px; margin-top: 1.5rem; border-radius: var(--arch); }
.amenities { list-style: none; display: grid; gap: .25rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
.amenities li { display: flex; align-items: center; gap: .85rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.amenities li::before {
  content: ""; flex: none; width: 26px; height: 9px; background: var(--teal);
  -webkit-mask: var(--wave-line) no-repeat center / contain; mask: var(--wave-line) no-repeat center / contain;
}
.room-detail__note { margin-top: 2.5rem; padding: 1.5rem 1.75rem; background: var(--mist); border-radius: var(--radius); }
.room-detail__note .room-detail__heading { margin-top: 0; font-size: 1.375rem; }
.room-detail__note p { color: var(--muted); font-size: .9688rem; }
.room-detail__note p:last-child { margin-bottom: 0; }

.booking-card {
  display: grid; gap: .75rem; padding: 2rem; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
@media (min-width: 1000px) { .booking-card { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.booking-card dl { margin: 0 0 1rem; }
.booking-card dt {
  font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
}
.booking-card dd { margin: .2rem 0 1rem; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); line-height: 1.35; }
.booking-card dd:last-child { margin-bottom: 0; }
.booking-card__call { margin: .5rem 0 0; text-align: center; font-size: .9375rem; color: var(--muted); }

.room-links { list-style: none; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .room-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .room-links { grid-template-columns: repeat(3, 1fr); } }
.room-link a { display: block; text-decoration: none; color: var(--navy); }
.room-link img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); transition: transform .6s var(--ease), box-shadow .3s; }
.room-link a:hover img, .room-link a:focus-visible img { transform: translateY(-4px); box-shadow: var(--shadow); }
.room-link__name { display: block; margin-top: 1rem; font-family: var(--serif); font-size: 1.5rem; }
.room-link a:hover .room-link__name { color: var(--teal); }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 3.5rem 0 2.5rem; background: var(--mist); }
@media (min-width: 900px) { .legal-hero { padding: 5rem 0 3.5rem; } }
.legal-hero .section-title { margin-bottom: .5rem; }
.legal-hero__updated { margin: 0; color: var(--muted); font-size: .9375rem; }
.breadcrumb--dark a { color: var(--teal-dark); }
.breadcrumb--dark li { color: var(--muted); }
.legal { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1000px) { .legal { grid-template-columns: 280px minmax(0, 1fr); gap: 5rem; } }
.legal__toc details { padding: 1.25rem 1.5rem; background: var(--mist); border-radius: var(--radius); }
@media (min-width: 1000px) { .legal__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; } }
.legal__toc summary { cursor: pointer; font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.legal__toc ol { margin: 1rem 0 0; padding-left: 1.25rem; font-size: .9063rem; line-height: 1.5; }
.legal__toc li { padding: .2rem 0; }
.legal__toc a { color: var(--ink); text-decoration: none; }
.legal__toc a:hover { color: var(--teal); text-decoration: underline; }
.legal__text { max-width: 46rem; color: var(--muted); overflow-wrap: anywhere; }
.legal__text h2 { margin: 2.5rem 0 .75rem; font-size: clamp(1.375rem, 2.6vw, 1.75rem); color: var(--navy); overflow-wrap: normal; }
.legal__text h2:first-child { margin-top: 0; }
.legal__text h2 span { color: var(--teal); }
.legal__text ol, .legal__text ul { margin: 0 0 1rem; padding-left: 1.5rem; }
.legal__text h3 { margin: 2rem 0 .5rem; font-size: 1.25rem; color: var(--navy); }
.legal__text h4 { margin: 1.5rem 0 .5rem; font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--navy); }
.legal__text strong { color: var(--ink); }
.legal__text li { margin-bottom: .5rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; margin-top: 40px; background: var(--navy); color: #c9d2db; font-size: .9375rem; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 40px; background: var(--navy);
  -webkit-mask: var(--wave-top) no-repeat center / 100% 100%; mask: var(--wave-top) no-repeat center / 100% 100%;
}
.site-footer::after {
  content: ""; position: absolute; right: 0; bottom: 30px; z-index: -1; width: min(360px, 80vw); height: 360px;
  background: var(--teal); opacity: .35; pointer-events: none;
  -webkit-mask: url("/assets/img/frond.svg") no-repeat center / contain; mask: url("/assets/img/frond.svg") no-repeat center / contain;
}
@media (min-width: 900px) { .site-footer { margin-top: 60px; } .site-footer::before { height: 60px; } }
.site-footer a { color: var(--white); text-decoration-color: rgba(222,182,102,.6); }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-top: 4.5rem; padding-bottom: 3rem; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr 1.3fr 1fr 1fr; } }
.site-footer__brand img { width: 208px; margin-bottom: 1rem; }
.site-footer__tagline { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.25rem; }
.site-footer__heading {
  margin: 0 0 1rem; font-family: var(--sans); font-weight: 700; font-size: .75rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.site-footer address { font-style: normal; }
a[href^="tel:"] { white-space: nowrap; }
.site-footer__links { list-style: none; }
.site-footer__links a { display: inline-block; padding: .3rem 0; text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.social { list-style: none; display: flex; gap: .5rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  transition: border-color .25s, background-color .25s;
}
.social a:hover { border-color: var(--gold); background: rgba(255,255,255,.06); }
.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  padding-top: 1.5rem; padding-bottom: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem;
}
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { list-style: none; display: flex; gap: 1.5rem; }

/* ---------- Placeholder for images not supplied yet ---------- */
.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 3 / 2; padding: 1rem;
  background: repeating-linear-gradient(45deg, #e8f2f1, #e8f2f1 12px, #dcebe9 12px, #dcebe9 24px);
  color: var(--muted); font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
