/* Chryssi Akti — custom CSS for things Tailwind doesn't cover elegantly */

:root {
  --color-primary: #c5a45b;      /* gold — main brand color */
  --color-primary-dark: #a8893f;
  --color-accent: #c5a45b;        /* same as primary for cohesion */
  --color-accent-dark: #a8893f;
  --color-warm: #996633;          /* warm brown — secondary, for inline accents */
  --color-warm-dark: #7d4e22;
  --color-secondary: #b95c47;
  --color-ink: #1a1a1a;
  --color-body: #5a5a5a;
  --color-cream: #faf7f2;
  --color-sand: #f3ece1;
}

/* Footer credit: "Hype²" — gold + bold, with ² as a same-size superscript */
.hype-credit {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.hype-credit:hover,
.hype-credit:focus-visible {
  color: var(--color-accent-dark);
  outline: none;
}
.hype-credit .hype-sup {
  display: inline-block;
  font-size: 10px;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.04em;
}

/* Burger menu button — color follows header state (white on hero, dark on solid header) */
#menuToggle {
  color: rgba(255,255,255,0.95);
  transition: color 0.25s ease;
}
.site-header.is-solid #menuToggle {
  color: var(--color-ink);
}

/* Mobile-only Book Now bell button — sits to the left of the burger,
   always visible on small screens since the regular Book Now button is hidden < sm */
.btn-book-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.btn-book-mobile i {
  line-height: 1;
}
.btn-book-mobile:hover,
.btn-book-mobile:focus-visible {
  background: var(--color-primary-dark);
  color: #fff;
  outline: none;
}
.btn-book-mobile:active {
  transform: scale(0.96);
}

/* Smooth typography for serif headings */
.font-display {
  font-family: 'Tinos', Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  font-feature-settings: 'liga', 'kern';
}

.font-body {
  font-family: 'Didact Gothic', system-ui, -apple-system, sans-serif;
}

/* Pre-heading: small caps gold label */
.eyebrow {
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--color-accent);
}
.eyebrow.eyebrow-light {
  color: var(--color-accent);
}
.eyebrow.eyebrow-light::before {
  background: var(--color-accent);
}
.eyebrow.eyebrow-center {
  justify-content: center;
}
.eyebrow.eyebrow-center::after {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--color-accent);
}

/* Body text rhythm */
.prose-elegant p {
  font-family: 'Didact Gothic', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-body);
}
@media (min-width: 768px) {
  .prose-elegant p { font-size: 1.0625rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-family: 'Didact Gothic', sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
/* Uppercase + letter-spacing visually pulls the trailing icon closer to the
   last letter (the letter-spacing adds space AFTER each letter but the gap
   property doesn't account for it). When a <span> is followed by an <i> icon,
   nudge the icon right by a small amount so it doesn't crowd the text.
   Works in all modern browsers — pure adjacent-sibling selector. */
.btn > span + i {
  margin-left: 0.75rem;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
}
.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--color-ink);
  border-color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  /* Horizontal padding so the FULL box (which appears on hover when all four
     borders become visible) has comfortable breathing room around the text. */
  padding: 0.625rem 1.25rem;
  letter-spacing: 0.18em;
}
.btn-ghost:hover {
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}

/* Header */
.site-header {
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
/* Appearance: solid white look with dark logo + dark nav links */
.site-header.is-solid {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  backdrop-filter: saturate(180%) blur(10px);
}
.site-header.is-solid .nav-link,
.site-header.is-solid .lang-link {
  color: var(--color-ink);
}
.site-header.is-solid .logo-light { display: none; }
.site-header.is-solid .logo-dark { display: block; }
.site-header:not(.is-solid) .logo-dark { display: none; }
.site-header:not(.is-solid) .logo-light { display: block; }
/* Position: pinned to viewport top (after scrolling past top bar). Always combined with is-solid. */
/* `is-scrolled` is kept ONLY for position override (top: 0) — see further down in file. */

.nav-link {
  color: #fff;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
  left: 0;
}
.lang-link {
  color: #fff;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lang-link.is-active { opacity: 1; font-weight: 500; }
.lang-link:hover { opacity: 1; }

/* Hero */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }

/* Mobile: serve the smaller, mobile-specific crops from the old site (where they
   exist) to save bandwidth on phones. pool-2 has no dedicated mobile crop, so the
   desktop 1080×1620 portrait file is fine — it still has the right aspect ratio. */
@media (max-width: 767.98px) {
  .hero-slide[data-slide-key="batsi"] {
    background-image: url('../images/hero/mobile-index-slider-1-1.webp') !important;
  }
  .hero-slide[data-slide-key="beach"] {
    background-image: url('../images/hero/mobile-index-slider-2-1.webp') !important;
  }
  .hero-slide[data-slide-key="pool"] {
    background-image: url('../images/hero/mobile-index-slider-4-1.webp') !important;
  }
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.12) 55%, rgba(0,0,0,0.05) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.32) 100%);
}

.hero-dot {
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.4);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease;
}
.hero-dot.is-active { background: #fff; }

/* ===================================================
   HOME HEADER VARIANT (.site-header-split): always shows dark logo + dark hamburger
   on the LEFT cluster (over the white text panel) while keeping the right cluster
   (lang + Book Now) in its default light state over the photo.
   When the page is scrolled, .is-solid kicks in and the standard solid header
   rules take over (white background, dark text everywhere).
   =================================================== */

/* At rest (not scrolled): transparent background but force the LEFT cluster to use
   the dark logo + dark hamburger icon since they sit over the white text panel. */
.site-header-split:not(.is-scrolled) {
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
/* lg+ (split hero with white text panel on the left): force the dark logo +
   dark hamburger since both sit over the WHITE panel.
   Below lg the photo goes full-width behind the header, so keep the default
   light logo + light hamburger — handled by the base .site-header rules.
   !important needed to beat ".site-header:not(.is-solid) .logo-dark" specificity. */
@media (min-width: 1024px) {
  .site-header-split .logo-light { display: none !important; }
  .site-header-split .logo-dark  { display: block !important; }
  .site-header-split #menuToggle { color: var(--color-ink); }
}

/* Below lg: photo is full-width behind the header. Drop a subtle dark gradient
   at the top of the hero so the white logo + white hamburger stay readable
   against bright photo content. z-index 2 keeps it ABOVE the photo (z-0/auto)
   but BELOW the gold-reveal curtain (z-3) so it doesn't tint the gold sweep. */
@media (max-width: 1023.98px) {
  .hero-split-photo::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 200px;
    /* Mid-gray → transparent so multiply darkens highlights without crushing shadows.
       mix-blend-mode: multiply makes the gradient interact with the photo colors so
       the darkening reads as a natural sky/photo dimming rather than a flat overlay. */
    background: linear-gradient(180deg, rgba(60,60,60,0.95) 0%, rgba(80,80,80,0.55) 45%, rgba(120,120,120,0) 100%);
    mix-blend-mode: multiply;
    z-index: 2;
    pointer-events: none;
  }
  /* The light hamburger has a high-contrast subtle drop-shadow so it stays
     readable even against bright sky areas of the hero photo. */
  .site-header-split:not(.is-scrolled) #menuToggle {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  }
}


/* ===================================================
   HERO SPLIT (home page only): white text panel left, photo right with curved divider
   On <lg breakpoint, falls back to overlay layout (photo full + text on top)
   =================================================== */

/* Curved SVG sits on the LEFT edge of the photo panel, white-filled,
   producing an organic boundary between white text panel and photo */
.hero-curve {
  position: absolute;
  top: 0;
  bottom: 0;
  /* The SVG width creates the bulge depth — 120px max — positioned to overlap
     into the photo from the left edge */
  left: -1px;
  height: 100%;
  width: 120px;
  z-index: 5;
  pointer-events: none;
}

/* Gold reveal: covers the photo panel on load, then sweeps right to expose the
   photo. Sits at z-3 so the curve (z-5) and the UI (z-10) stay above it. */
.hero-gold-reveal {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  z-index: 3;
  pointer-events: none;
  transform: translateX(0%);
  animation: heroGoldReveal 1.3s cubic-bezier(0.83, 0, 0.17, 1) 0.15s forwards;
  will-change: transform;
}
@keyframes heroGoldReveal {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(101%); }
}

/* Hero choreography (in order):
   1. Gold curtain sweep (0.15s → 1.45s)
   2. Headline word-by-word (starts 0.95s)               ← the hero moment
   3. Eyebrow fade-up (after headline mostly done)
   4. Button fade-up                                     ← last call-to-action
   5. Slide counter / dots fade in
*/

/* Stagger the supporting elements AFTER the heading completes its reveal */
.hero-split-text .eyebrow,
.hero-split-text .btn {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-split-text .eyebrow      { animation-delay: 2.15s; }
.hero-split-text .btn          { animation-delay: 2.45s; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Word-by-word reveal for the hero heading: each word lives in an inline-block
   container with overflow:hidden, and the inner span slides up from 110% to 0%.
   Words are staggered via the --i custom property on each .word element. */
.hero-headline-animated .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;   /* leaves room for descenders / italic flourishes */
  margin-bottom: -0.12em;
  line-height: 1.05;
}
.hero-headline-animated .word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroWordReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.95s + var(--i, 0) * 0.085s);
}
@keyframes heroWordReveal {
  0%   { transform: translateY(110%); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0%);  opacity: 1; }
}

/* Slide counter and dots fade in last, after the button */
#slideCurrent, #slideProgress, .slide-counter .total,
#heroDots .hero-dot {
  opacity: 0;
  animation: heroFadeIn 0.8s ease-out 2.7s forwards;
}
@keyframes heroFadeIn {
  to { opacity: 1; }
}

/* Respect reduced-motion preference: instant reveal, no sweep, no stagger */
@media (prefers-reduced-motion: reduce) {
  .hero-gold-reveal {
    animation: none;
    transform: translateX(101%);
  }
  .hero-split-text .eyebrow,
  .hero-split-text .hero-headline,
  .hero-split-text .btn,
  #slideCurrent, #slideProgress, .slide-counter .total,
  #heroDots .hero-dot {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* On <lg: text overlay sits on top of full photo — keep dark gradient on hero-slide,
   light text colors, light eyebrow. On lg+: photo is on the right, text panel is white. */
@media (min-width: 1024px) {
  /* Remove the dark gradient on hero-slide when used in split mode (photo doesn't
     need darkening since text is on the white panel beside it). Keep a softer one. */
  .hero-split .hero-slide::after {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.08) 100%);
  }

  /* Eyebrow & button color tweaks for the white left panel.
     Override the .eyebrow-light defaults: become dark-on-white. */
  .hero-split .eyebrow-light {
    color: var(--color-accent-dark);
  }
  .hero-split .eyebrow-light::before {
    background: var(--color-accent);
  }

  /* Button: on the white panel, the outline-light button needs an "outline-dark" treatment */
  .hero-split .btn-outline-light {
    color: var(--color-ink);
    border-color: var(--color-primary);
  }
  .hero-split .btn-outline-light:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
  }

  /* Headline color in the white panel — dark instead of white, with gold italic accent on <em>.
     Kill the photo-era text-shadow (designed for white text over a photo) since the
     split-hero headline sits on a white background. */
  .hero-split .hero-headline {
    color: var(--color-ink);
    text-shadow: none;
  }
  .hero-split .hero-headline em {
    color: var(--color-accent-dark);
  }
}

/* Quick book form */
.quick-book {
  background: #fff;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.25);
}

/* Section dividers - subtle decorative gold rule */
.divider-gold {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-accent);
  margin: 1.25rem 0;
}
.divider-gold.center {
  margin-left: auto;
  margin-right: auto;
}

/* Room card */
.room-card {
  background: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.18);
}
.room-card .room-image {
  overflow: hidden;
  aspect-ratio: 7 / 5;
}
.room-card .room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.room-card:hover .room-image img {
  transform: scale(1.05);
}
.room-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-body);
  letter-spacing: 0.05em;
}
.room-chip i { color: var(--color-accent-dark); font-size: 1rem; }

/* Awards strip grayscale subtle */
.awards-strip img {
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.3s ease;
  max-height: 70px;
  width: auto;
  object-fit: contain;
}
.awards-strip img:hover {
  filter: grayscale(0%) opacity(1);
}

/* Footer awards keep colored */
.footer-awards img {
  max-height: 88px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
}

/* Reviews */
.review-card {
  background: var(--color-cream);
  padding: 2.5rem 2rem;
  border-left: 2px solid var(--color-accent);
  position: relative;
}
.review-card .quote-mark {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: 'Tinos', serif;
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.25;
  line-height: 1;
}
.review-stars {
  color: var(--color-accent);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
}

/* Scroll snap horizontal carousels (mobile) */
.snap-row {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.snap-row::-webkit-scrollbar { display: none; }
.snap-row > * { scroll-snap-align: start; }

/* ============== PEEK SLIDER (rooms & reviews) ============== */
.peek-slider {
  position: relative;
}

/* Entry reveal — dedicated rule for the rooms slider (parent #rooms[data-stagger]
   carries .is-visible after IntersectionObserver fires). We bypass the generic
   [data-reveal-child] system because slider JS clones cards & sets inline
   styles that collide with stagger transition-delays. */
.peek-slider-reveal {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.55s,
    transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
  will-change: opacity, transform;
}
[data-stagger].is-visible .peek-slider-reveal,
.is-visible .peek-slider-reveal {
  opacity: 1;
  transform: translateY(0);
}

.peek-viewport {
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0 2rem;
}
.peek-track {
  display: flex;
  gap: 2rem;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.peek-track > * {
  flex: 0 0 88%;
  transition: opacity 0.5s ease, filter 0.5s ease;
}
@media (min-width: 768px) {
  .peek-track > * {
    flex: 0 0 64%;
  }
}
@media (min-width: 1280px) {
  .peek-track {
    gap: 2.5rem;
  }
  .peek-track > * {
    flex: 0 0 58%;
  }
}

/* ========= SIDE CARDS — cinematic preview (peek next/prev rooms) =========
   Side cards show the room's *image* (dimmed) and a large *title overlay*
   centered over the photo, paired with the slider arrow. Below-image content
   (chips, excerpt) is hidden so the side card reads as an editorial teaser. */
.peek-track > *.is-side {
  opacity: 1;
  filter: none;
  pointer-events: auto;       /* allow click and hover on side cards */
}
.peek-track > *.is-side .room-image {
  position: relative;
}
.peek-track > *.is-side .room-image img {
  opacity: 0.45;
  filter: grayscale(35%) brightness(0.85) contrast(1.05);
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.8s ease;
}
.peek-track > *.is-side .room-image::before {
  /* Dark gradient overlay to make the title legible */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
/* Title overlay on side cards */
.peek-track > *.is-side .room-side-title {
  display: flex;
}
/* Hide non-image content (chips, excerpt) on side cards — but keep the room-number badge */
.peek-track > *.is-side > a > .p-6,
.peek-track > *.is-side > .p-6 {
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.peek-track > *.is-center {
  opacity: 1;
  filter: none;
  pointer-events: auto;
}
.peek-track > *.is-center .room-side-title {
  display: none;
}

/* Title overlay element (hidden by default — only revealed when card is .is-side).
   In a peek slider only the inner edge of each side card is visible (the peek strip
   ≈ (viewport - card width) / 2 minus half the gap). Width is bounded so the title
   stays inside that visible peek strip — never bleeds into the off-screen card body.
   Mobile peek strip is only ~6vw → too narrow for any readable text, so the overlay
   is hidden under 768px. */
.room-side-title {
  display: none;
  position: absolute;
  /* Sit in the lower portion of the image so the title sits BELOW the slider
     arrow (which is at top: 38% of the slider). Arrow circle ≈ 56px tall, so
     keep the title's top below ~62% of card height. */
  top: 62%;
  bottom: 0;
  align-items: flex-start;
  z-index: 2;
  pointer-events: none;
  font-family: 'Tinos', Georgia, serif;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0,0,0,0.6);
  line-height: 1.18;
  letter-spacing: -0.01em;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}
/* Mobile: hide entirely — peek strip is too narrow to fit any readable text */
@media (max-width: 767.98px) {
  .peek-track > *.is-side .room-side-title {
    display: none !important;
  }
}
/* Tablet: 64vw cards, peek ≈ 18vw, gap eats ~2vw → safe title width ≈ 15vw */
@media (min-width: 768px) {
  .room-side-title {
    width: 15vw;
    padding: 1rem 0.85rem;
    font-size: clamp(0.95rem, 1.55vw, 1.25rem);
  }
}
/* Desktop: 58vw cards, peek ≈ 21vw → safe title width ≈ 18vw */
@media (min-width: 1280px) {
  .room-side-title {
    width: 18vw;
    max-width: 280px;
    padding: 1.25rem 1.25rem;
    font-size: clamp(1.1rem, 1.55vw, 1.5rem);
  }
}
.peek-track > *.is-side-left .room-side-title {
  right: 0;
  justify-content: flex-end;
  text-align: right;
}
.peek-track > *.is-side-right .room-side-title {
  left: 0;
  justify-content: flex-start;
  text-align: left;
}

/* STRONG HOVER: deeper image zoom on both center and side cards.
   Side cards also lighten and lose some grayscale on hover (preview of being active). */
.peek-track > *.is-center:hover .room-image img,
.peek-track > *.is-side:hover .room-image img {
  transform: scale(1.10);
}
.peek-track > *.is-side:hover .room-image img {
  opacity: 0.7;
  filter: grayscale(10%) brightness(0.95) contrast(1.05);
}
.peek-track > *.is-side:hover .room-image::before {
  opacity: 0.55;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--color-ink);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.18);
}
@media (min-width: 768px) {
  .slider-arrow { display: flex; }
}
.slider-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.slider-arrow.is-prev { left: 1rem; }
.slider-arrow.is-next { right: 1rem; }
.slider-arrow i { font-size: 1.5rem; }
/* Cloned slider items hidden from a11y tree but visible visually */
.peek-track > .is-clone {
  /* visually present, just marked as clone */
}

/* Slider progress dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.slider-dot {
  width: 32px;
  height: 2px;
  background: rgba(0,0,0,0.15);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s;
}
.slider-dot.is-active { background: var(--color-accent); }


/* ============== LAYERED CARD OVERLAP (Welcome / Facilities) ============== */
.layered {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.layered-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.layered-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layered-card {
  background: #fff;
  padding: 2rem;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.18);
}
@media (min-width: 768px) {
  .layered-card { padding: 2.5rem; }
}

@media (min-width: 1024px) {
  .layered {
    display: flex;
    align-items: center;       /* vertically center the card */
    position: relative;
    min-height: 760px;          /* taller than card so photo extends above & below */
    gap: 0;
  }
  .layered-photo {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70%;
    height: auto;
    aspect-ratio: auto;
  }
  .layered-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 540px;
    padding: 3.5rem;
    margin: 0;                 /* flex centering handles vertical positioning */
    box-shadow: 0 30px 80px -30px rgba(0,0,0,0.25);
  }
  .layered-card h2 {
    line-height: 1.1;           /* tighter heading for shorter card */
  }

  /* Welcome (layered-right): photo on right, card on left, card overlaps photo's left edge */
  .layered.layered-right .layered-photo {
    right: 0;
  }
  .layered.layered-right .layered-card {
    margin-right: auto;        /* sit at left edge */
  }

  /* Facilities (layered-left): photo on left, card on right, card overlaps photo's right edge */
  .layered.layered-left .layered-photo {
    left: 0;
  }
  .layered.layered-left .layered-card {
    margin-left: auto;         /* sit at right edge */
  }
}

@media (min-width: 1280px) {
  .layered { min-height: 800px; }
  .layered-photo { width: 72%; }
  .layered-card { max-width: 560px; padding: 4rem; }
}

/* History section subtle background */
.history-bg {
  background:
    linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand) 100%);
}

/* =====================================================================
   REVEAL SYSTEM (scroll-triggered)
   Use one of:
     <section data-reveal="fade-up">           ← default (40px slide up + fade)
     <section data-reveal="fade-down">         (slide from above)
     <section data-reveal="fade-left">         (slide from right edge)
     <section data-reveal="fade-right">        (slide from left edge)
     <section data-reveal="scale-fade">        (subtle 0.94 → 1 scale + fade)
   Optional modifiers:
     data-delay="200"        per-element extra delay (ms)
     data-stagger="80"       on a parent — animates its [data-reveal-child]
                             children with 80ms cascade
   ===================================================================== */

[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal="fade-up"]     { transform: translateY(40px); }
[data-reveal="fade-down"]   { transform: translateY(-40px); }
[data-reveal="fade-left"]   { transform: translateX(40px); }
[data-reveal="fade-right"]  { transform: translateX(-40px); }
[data-reveal="scale-fade"]  { transform: scale(0.94); }

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

/* Staggered children inside a [data-stagger] parent.
   Each [data-reveal-child] can also opt-in to a direction:
     data-reveal-child="fade-up"      (default)
     data-reveal-child="fade-left"
     data-reveal-child="fade-right"
     data-reveal-child="gold-sweep"   (gold curtain wipes right)
*/
[data-stagger] [data-reveal-child] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-stagger] [data-reveal-child="fade-left"]  { transform: translateX(40px); }
[data-stagger] [data-reveal-child="fade-right"] { transform: translateX(-40px); }
[data-stagger].is-visible [data-reveal-child] {
  opacity: 1;
  transform: translate(0, 0);
}

/* Gold sweep reveal: a gold curtain covers the element until it scrolls into view,
   then the curtain slides off to the right exposing the image/photo underneath.
   Used on home page section photos (Welcome, Facilities, etc.) — NOT on the rooms
   carousel cards. Apply as: <div data-reveal-child="gold-sweep">...</div>
   We intentionally DO NOT force position/overflow because the target element
   (e.g. .layered-photo) already provides them with values needed by its own layout. */
[data-stagger] [data-reveal-child="gold-sweep"] {
  opacity: 1;
  transform: none;
}
[data-stagger] [data-reveal-child="gold-sweep"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  z-index: 5;
  transform: translateX(0%);
  transition: transform 1.2s cubic-bezier(0.83, 0, 0.17, 1);
  pointer-events: none;
}
[data-stagger].is-visible [data-reveal-child="gold-sweep"]::after {
  transform: translateX(101%);
}

/* Standalone gold sweep (no parent data-stagger needed) — same considerate
   approach: don't force layout properties on the target. */
[data-reveal="gold-sweep"] {
  opacity: 1 !important;
  transform: none !important;
}
[data-reveal="gold-sweep"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  z-index: 5;
  transform: translateX(0%);
  transition: transform 1.2s cubic-bezier(0.83, 0, 0.17, 1);
  pointer-events: none;
}
[data-reveal="gold-sweep"].is-visible::after {
  transform: translateX(101%);
}

/* Backwards-compatible: keep the legacy .reveal/.is-visible style for any
   element still using the old class-based system. */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ken Burns slow zoom on the active hero slide so the photo "breathes" */
.hero-slide.is-active {
  animation: kenburns 14s ease-out forwards;
}
@keyframes kenburns {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.10); }
}
/* But hide the kenburns transform during the initial gold-reveal so it doesn't
   compete with the sweep entrance. */
.hero-gold-reveal ~ .hero-slide.is-active,
.hero-slide.is-active:first-of-type:nth-of-type(1) {}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-stagger] [data-reveal-child],
  .peek-slider-reveal,
  .reveal,
  .hero-slide,
  .room-card .room-image img,
  .room-card {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
}

/* ============== EDITORIAL REFINEMENTS ============== */

/* Top info bar — slim hotel signature line above main nav */
.top-bar {
  background: #4d4d4d;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  padding: 0.625rem 1rem;
  text-transform: uppercase;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 49;
  transition: transform 0.4s ease;
}
.top-bar.is-hidden {
  transform: translateY(-100%);
}
/* Sticky header sits on top of bar; when scrolled, bar slides up and header pins to viewport top */
.site-header.is-scrolled {
  top: 0 !important;
}
.top-bar a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.top-bar a:hover { color: var(--color-accent); }
.top-bar .top-bar-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.2);
  display: inline-block;
  margin: 0 0.875rem;
  vertical-align: middle;
}

/* Slide counter (replaces dots) */
.slide-counter {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: rgba(255,255,255,0.9);
  font-family: 'Tinos', serif;
}
.slide-counter .current {
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  font-feature-settings: 'lnum';
}
.slide-counter .total {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
}
.slide-progress {
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.slide-progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: slide-progress 6s linear infinite;
}
@keyframes slide-progress {
  to { transform: scaleX(1); }
}

/* Italic display accent */
.font-display em,
.italic-accent {
  font-family: 'Tinos', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--color-accent-dark);
}

/* Drop cap — first letter of welcome paragraph */
.drop-cap::first-letter {
  font-family: 'Tinos', serif;
  font-weight: 300;
  font-style: italic;
  float: left;
  font-size: 4.5rem;
  line-height: 0.85;
  margin: 0.4rem 0.65rem -0.15rem 0;
  color: var(--color-primary);
}

/* Editorial room number badge */
.room-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-ink);
  padding: 0.45rem 0.85rem;
  font-family: 'Tinos', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.room-number::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 1px;
  background: var(--color-accent);
}

/* Pull-quote review card (editorial enhancement) */
.review-card .review-body {
  font-family: 'Tinos', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #3a3a3a;
}
.review-card .quote-mark {
  font-size: 6rem;
  font-family: 'Tinos', serif;
  font-weight: 400;
  font-style: italic;
}

/* Decorative wave divider — small Cycladic motif */
.section-divider {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  color: var(--color-accent);
  opacity: 0.85;
}
.section-divider svg { width: 64px; height: auto; }

/* Subtle paper grain — applies via SVG noise filter */
.grain {
  position: relative;
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Hero text refinement */
.hero-headline {
  font-family: 'Tinos', serif;
  font-weight: 300;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-headline em {
  font-style: italic;
  color: #e6c98a;
  font-weight: 400;
}

/* Refined header backdrop (applied with is-solid) */
.site-header.is-solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

/* Eyebrow subtle refinement */
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
}

/* Number-card hover refinement */
.room-card:hover .room-number {
  background: var(--color-primary);
  color: #fff;
}
.room-card:hover .room-number::before {
  background: var(--color-accent);
}

/* Booking form refinement */
.quick-book {
  border-top: 3px solid var(--color-accent);
}

/* (Booking banner grain previously here — replaced by parallax overlay) */

/* History section deeper atmosphere */
.history-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(197, 164, 91, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(153, 102, 51, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.history-bg { position: relative; }
.history-bg > * { position: relative; }

/* Footer credit refinement */
.footer-credit a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit a:hover { color: var(--color-accent); }

/* Improved focus rings (a11y) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============== ROOM PAGE COMPONENTS ============== */

/* Amenity grid item */
.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(197, 164, 91, 0.18);
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-ink);
  letter-spacing: 0.01em;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.amenity-item i {
  font-size: 1.5rem;
  color: var(--color-accent-dark);
  flex-shrink: 0;
  width: 1.75rem;
  text-align: center;
}
.amenity-item:hover {
  color: var(--color-warm);
  border-bottom-color: var(--color-accent);
}
.amenity-item small {
  font-size: 0.75rem;
  font-weight: 400;
  display: block;
  color: var(--color-body);
}

/* Service card */
.service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.18);
}
.service-card {
  position: relative;
}
.service-corner-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--color-accent);
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.service-card:hover .service-corner-icon {
  opacity: 1;
  color: var(--color-accent-dark);
  transform: scale(1.1);
}

/* ============== ROOM GALLERY (horizontal scrollable strip) ============== */
.room-gallery {
  position: relative;
  background: var(--color-ink);
  overflow: hidden;
}
.gallery-viewport {
  overflow: hidden;
  height: 56vh;
  min-height: 480px;
  max-height: 720px;
}
.gallery-strip {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* smooth scroll only for explicit programmatic scrolls (arrows) — wheel/drag set behavior:auto inline */
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip.is-grabbing { cursor: grabbing; }
.gallery-strip:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -4px;
}

.gallery-slide {
  flex: 0 0 50%;
  height: 100%;
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--color-ink);
  cursor: zoom-in;
  scroll-snap-align: start;
  overflow: hidden;
  user-select: none;
}
@media (min-width: 768px) {
  .gallery-slide { flex: 0 0 38%; }
}
@media (min-width: 1280px) {
  .gallery-slide { flex: 0 0 34%; }
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  pointer-events: none;
  user-select: none;
}
.gallery-slide:hover img {
  transform: scale(1.04);
}

/* Gallery overlay arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 0;
  color: var(--color-ink);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.3);
}
@media (min-width: 768px) {
  .gallery-arrow { display: flex; }
}
.gallery-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.gallery-arrow.prev { left: 1.5rem; }
.gallery-arrow.next { right: 1.5rem; }
.gallery-arrow i { font-size: 1.4rem; }

/* "View gallery" expand button bottom-right */
.gallery-expand {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 5;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.625rem 1rem;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.25s, color 0.25s;
}
.gallery-expand:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}


/* ============== LIGHTBOX ============== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 8, 5, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox-content img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-counter {
  font-family: 'Tinos', serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.15em;
}
.lightbox-counter #lightboxCounter {
  font-size: 1.5rem;
  color: var(--color-accent);
}
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 110;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.lightbox-close:hover,
.lightbox-arrow:hover {
  background: var(--color-primary);
  transform: scale(1.05);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-arrow.prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-arrow.next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-arrow.prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-arrow.next:hover { transform: translateY(-50%) scale(1.05); }
@media (max-width: 767px) {
  .lightbox-close { top: 1rem; right: 1rem; }
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-arrow.prev { left: 0.75rem; }
  .lightbox-arrow.next { right: 0.75rem; }
}
.lightbox i { font-size: 1.4rem; }

/* Booking sidebar card */
.booking-card {
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.12);
}
.booking-card input[type="date"],
.booking-card select {
  appearance: none;
  -webkit-appearance: none;
  font-family: 'Didact Gothic', sans-serif;
}
.booking-card select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c5a45b'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.25rem;
}

/* Room hero: ensure hero overlay text readable + breadcrumb visible over photo */
.room-hero .hero-slide::after {
  background:
    linear-gradient(120deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.2) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 100%);
}

/* ============== INNER PAGE HERO (shorter banner) ============== */
.page-hero {
  position: relative;
  min-height: 360px;
  height: 50vh;
  max-height: 540px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.page-hero > * {
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow {
  margin-bottom: 1rem;
}

/* ============== TWO-COL SECTION (image gallery + text) ============== */
.section-twocol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .section-twocol {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .section-twocol.image-left .section-image { order: 1; }
  .section-twocol.image-left .section-text  { order: 2; }
  .section-twocol.image-right .section-image { order: 2; }
  .section-twocol.image-right .section-text  { order: 1; }
}

/* ============== SECTION GALLERY (small carousel within section) ============== */
.section-gallery {
  position: relative;
  overflow: hidden;
}
.section-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  aspect-ratio: 4/3;
  touch-action: pan-y;
}
.section-gallery-track::-webkit-scrollbar { display: none; }
.section-gallery-track.is-grabbing { cursor: grabbing; }
.section-gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--color-ink);
}
.section-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.section-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 0;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.3);
}
.section-gallery-arrow:hover { background: var(--color-primary); color: #fff; }
.section-gallery-arrow.prev { left: 0.75rem; }
.section-gallery-arrow.next { right: 0.75rem; }
.section-gallery-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 5;
}
.section-gallery-dot {
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s;
}
.section-gallery-dot.is-active { background: #fff; }

/* ============== FAQ ACCORDION (contact page) ============== */
.faq-item {
  border-bottom: 1px solid var(--color-sand);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  font-family: 'Tinos', serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'Didact Gothic', sans-serif;
  font-size: 1.75rem;
  color: var(--color-accent);
  font-weight: 200;
  transition: transform 0.3s ease, color 0.3s ease;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--color-warm);
}
.faq-item summary:hover { color: var(--color-primary-dark); }
.faq-item .faq-body {
  padding: 0 0 1.5rem;
  color: var(--color-body);
  line-height: 1.85;
  font-family: 'Didact Gothic', sans-serif;
  font-weight: 300;
  font-size: 0.9375rem;
}
.faq-item .faq-body p + p { margin-top: 0.875rem; }

/* ============== CONTACT FORM ============== */
.contact-form label {
  display: block;
  margin-bottom: 1.25rem;
}
.contact-form .label-text {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-warm);
  margin-bottom: 0.5rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #fff;
  border: 1px solid var(--color-sand);
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.95rem;
  color: var(--color-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(197, 164, 91, 0.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form .form-status {
  margin-top: 1rem;
  font-size: 0.875rem;
  display: none;
}
.contact-form .form-status.success {
  display: block;
  color: #2d7a3a;
  background: rgba(45, 122, 58, 0.08);
  padding: 0.75rem 1rem;
  border-left: 3px solid #2d7a3a;
}
.contact-form .form-status.error {
  display: block;
  color: #a83232;
  background: rgba(168, 50, 50, 0.08);
  padding: 0.75rem 1rem;
  border-left: 3px solid #a83232;
}

/* ============== MAP EMBED ============== */
.map-embed {
  aspect-ratio: 4 / 3;
  width: 100%;
  border: 0;
}

/* ============== FILTER BUTTONS (rooms hub) ============== */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-body);
  background: transparent;
  border: 1px solid var(--color-sand);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
}
.filter-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Print refinements not needed but reserved */

/* Booking CTA banner — parallax with overlay */
.booking-banner {
  isolation: isolate; /* contain stacking */
}
.parallax-section {
  position: relative;
  overflow: hidden;
}
.parallax-bg {
  position: absolute;
  top: -15%;
  left: 0;
  right: 0;
  bottom: -15%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(20, 14, 8, 0.55) 0%, rgba(15, 10, 6, 0.45) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .parallax-bg {
    top: 0;
    bottom: 0;
    transform: none !important;
  }
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.mobile-menu.is-open {
  transform: translateX(0);
}

/* Footer */
.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.9;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-link:hover { color: var(--color-accent); }
.footer-heading {
  font-family: 'Tinos', serif;
  font-weight: 300;
  color: #fff;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(197, 164, 91, 0.3);
}

/* Inline content logo */
.about-inline-logo {
  max-width: 160px;
  height: auto;
}
@media (min-width: 768px) {
  .about-inline-logo {
    float: right;
    margin: 0.25rem 0 0.75rem 1.5rem;
    max-width: 180px;
  }
  .about-inline-logo.float-left {
    float: left;
    margin: 0.25rem 1.5rem 0.75rem 0;
  }
}


/* ===================================================
   DESKTOP NAV — Dropdown submenus
   =================================================== */

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-link-with-caret {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-caret {
  font-size: 0.65em;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-group:hover .nav-caret,
.nav-group:focus-within .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 0.5rem;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #fff;
  box-shadow: 0 24px 48px -16px rgba(26,26,26,0.22), 0 4px 12px -4px rgba(26,26,26,0.08);
  border-top: 2px solid var(--color-accent);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.25s;
  z-index: 50;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0; right: 0;
  height: 1rem;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}
.nav-dropdown-link {
  display: block;
  padding: 0.625rem 1.4rem;
  color: var(--color-body);
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, padding 0.25s ease;
}
.nav-dropdown-link:hover,
.nav-dropdown-link:focus {
  color: var(--color-primary);
  background: var(--color-cream);
  padding-left: 1.7rem;
}


/* ===================================================
   MOBILE MENU — Numbered accordion
   =================================================== */

#mobileMenu.mobile-menu {
  color: #fff;
  padding-top: 6.5rem;
}
.mobile-menu .lang-link {
  color: rgba(255,255,255,0.7);
}
.mobile-menu .lang-link.is-active {
  color: #fff;
  opacity: 1;
}

#menuClose {
  color: rgba(255,255,255,0.85);
}
#menuClose:hover {
  color: var(--color-primary);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}
.mobile-nav-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: 'Tinos', Georgia, serif;
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.15;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}
.mobile-nav-item:hover { color: var(--color-primary); }
.mobile-nav-toggle {
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  /* border-bottom inherited from .mobile-nav-item — keeps separator line */
  margin: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
  /* font-family/size/weight all come from .mobile-nav-item — don't reset them */
}
.mobile-nav-num {
  display: inline-block;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  font-feature-settings: 'lnum';
  align-self: flex-start;
  padding-top: 0.55rem;
  min-width: 1.75rem;
}
.mobile-nav-label {
  flex: 1;
}
.mobile-nav-chevron {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  transition: transform 0.3s ease, color 0.25s ease;
  align-self: center;
}
.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}
.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-label {
  color: var(--color-primary);
}
.mobile-nav-sub {
  padding: 0.25rem 0 1rem 2.95rem;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.mobile-nav-sub[hidden] {
  display: none;
}
.mobile-nav-sublink {
  display: block;
  font-family: 'Tinos', Georgia, serif;
  font-weight: 300;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.88);
  padding: 0.6rem 0;
  letter-spacing: -0.003em;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-sublink:hover {
  color: var(--color-primary);
  padding-left: 0.35rem;
}


/* ===================================================
   ROOMS HUB — Editorial Redesign
   =================================================== */

/* Intro photo, portrait composition */
.rooms-intro-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-sand);
  box-shadow: 0 30px 60px -25px rgba(26,26,26,0.25);
}
.rooms-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rooms-intro-photo-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.96);
  padding: 1rem 1.25rem;
  font-family: 'Tinos', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--color-ink);
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.rooms-intro-photo-tag::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--color-accent);
  vertical-align: middle;
  margin-right: 0.75rem;
  transform: translateY(-3px);
}
@media (min-width: 1024px) {
  .rooms-intro-photo {
    margin-top: -1rem;
    margin-bottom: -1rem;
  }
}

/* Intro stats strip */
.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid #ece5d4;
}
.intro-stat-num {
  font-family: 'Tinos', Georgia, serif;
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.01em;
  font-feature-settings: 'lnum';
}
.intro-stat-num .unit {
  font-size: 1rem;
  margin-left: 0.1em;
  color: var(--color-warm);
  font-weight: 400;
}
.intro-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-body);
  opacity: 0.75;
  margin-top: 0.85rem;
  font-weight: 500;
}

/* Collection header row */
.collection-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 2.5rem 0;
  margin-bottom: 3rem;
  border-top: 1px solid #ece5d4;
  border-bottom: 1px solid #ece5d4;
}

/* Refined gold underline tabs */
.rooms-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.rooms-tab {
  position: relative;
  background: none;
  border: 0;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-body);
  font-family: 'Didact Gothic', sans-serif;
  font-weight: 400;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.rooms-tab .count {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.62rem;
  color: var(--color-body);
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'lnum';
  transition: color 0.25s ease, opacity 0.25s ease;
}
.rooms-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.rooms-tab:hover { color: var(--color-ink); }
.rooms-tab:hover::after { transform: scaleX(0.6); }
.rooms-tab.is-active { color: var(--color-ink); font-weight: 500; }
.rooms-tab.is-active::after { transform: scaleX(1); }
.rooms-tab.is-active .count { color: var(--color-accent); opacity: 1; }

/* Editorial room cards */
.rooms-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 1.5rem;
}
@media (min-width: 768px) {
  .rooms-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 3.5rem 2rem; }
}
@media (min-width: 1024px) {
  .rooms-grid-v2 { grid-template-columns: repeat(3, 1fr); gap: 4rem 2.5rem; }
}

.room-card-v2 { position: relative; }
.room-card-v2 a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.room-card-v2-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-sand);
}
.room-card-v2-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.room-card-v2 a:hover .room-card-v2-photo img { transform: scale(1.06); }
.room-card-v2-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.22));
  pointer-events: none;
}
.room-card-v2-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: 'Tinos', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.96);
  background: rgba(0,0,0,0.32);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.75rem;
  font-feature-settings: 'lnum';
  z-index: 2;
}
.room-card-v2-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 1.5rem;
  font-weight: 500;
}
.room-card-v2-title {
  font-family: 'Tinos', Georgia, serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--color-ink);
  margin: 0.55rem 0 1.1rem;
  transition: color 0.25s ease;
  letter-spacing: -0.01em;
}
.room-card-v2 a:hover .room-card-v2-title { color: var(--color-primary); }
.room-card-v2-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--color-body);
  margin-bottom: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.room-card-v2-specs > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.room-card-v2-specs > span i {
  color: var(--color-primary);
  font-size: 0.95rem;
}
.room-card-v2-specs .sep {
  display: inline-block;
  width: 1px;
  height: 11px;
  background: #d8cdb6;
  margin: 0 0.9rem;
}
.room-card-v2-excerpt {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-body);
  margin-bottom: 1.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.room-card-v2-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-primary);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-primary);
  transition: gap 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.room-card-v2 a:hover .room-card-v2-link {
  gap: 1rem;
  color: var(--color-warm);
  border-bottom-color: var(--color-warm);
}
