@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;1,500&family=Marcellus&family=Montserrat:wght@400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

/* =========================================================================
   MAYA NATURE RESORT — v8 design system
   Type     : Knockout (Sumo + Cruiserweight, self-hosted) display + Syne body
   Palette  : brand greens + gold + cream
   Motion   : "ease-premium" deceleration curve, tasteful, reduced-motion safe
   ========================================================================= */

/* --- Self-hosted Knockout (Hoefler&Co) — display + headings --- */
@font-face {
  font-family: "Knockout Sumo";
  src: url("../fonts/Knockout-Sumo.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Knockout Ultimate Sumo";
  src: url("../fonts/Knockout-UltimateSumo.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Knockout Cruiserweight";
  src: url("../fonts/Knockout-Cruiserweight.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Knockout Junior";
  src: url("../fonts/Knockout-JuniorMiddleweight.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}

:root {
  /* --- Brand greens --- */
  --green-1000: #04120b;
  --green-950:  #071a11;
  --green-900:  #0f3d25;
  --green-850:  #133f29;
  --green-800:  #155033;
  --green-700:  #1e6541;
  --green-600:  #2c7d53;
  --green-100:  #edf5ee;
  --green-50:   #f5faf6;

  /* --- Gold accents --- */
  --gold:      #d4a62a;
  --gold-2:    #f1ca55;
  --gold-soft: #f7e6b0;
  --gold-ink:  #806011; /* readable gold for light backgrounds (WCAG AA: 5.8:1 on white) */

  /* --- Cream / surface neutrals --- */
  --cream:   #fff8e8;
  --cream-2: #faf2dd;
  --text:    #102218;
  --muted:   #5f6f66;
  --white:   #ffffff;
  --line:    #e3ece1;
  --line-2:  #d6e2d6;

  /* --- Typography --- */
  --font-sans:    "Syne", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-nav:     "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Knockout Sumo", "Arial Narrow", "Helvetica Neue Condensed", "Oswald", var(--font-sans);
  --font-head:    "Knockout Cruiserweight", "Arial Narrow", "Oswald", var(--font-sans);
  --font-serif:   var(--font-head);  /* legacy alias — accent <em>s now render in Knockout */

  /* --- Shape --- */
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius:    22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --container: 1240px;

  /* --- Layered shadows --- */
  --shadow-xs: 0 1px 2px rgba(7,26,17,.05);
  --shadow-sm: 0 2px 8px rgba(7,26,17,.06), 0 12px 30px -10px rgba(7,26,17,.08);
  --shadow:    0 24px 60px -20px rgba(7,26,17,.22);
  --shadow-lg: 0 40px 100px -30px rgba(7,26,17,.45);
  --shadow-gold: 0 18px 44px -10px rgba(212,166,42,.55);
  --shadow-emerald: 0 24px 60px -16px rgba(15,61,37,.5);

  /* --- Gradients --- */
  --grad-gold:    linear-gradient(135deg, #f7e6b0 0%, #f1ca55 35%, #d4a62a 70%, #a87f17 100%);
  --grad-gold-soft: linear-gradient(135deg, #fff3cf 0%, #f4d369 60%, #d4a62a 100%);
  --grad-green:   linear-gradient(135deg, var(--green-800) 0%, var(--green-950) 100%);
  --grad-emerald: linear-gradient(135deg, var(--green-700), var(--green-900) 70%);
  --grad-divider: linear-gradient(90deg, transparent 0%, rgba(212,166,42,.0) 5%, rgba(212,166,42,.7) 50%, rgba(212,166,42,.0) 95%, transparent 100%);
  --grad-section: linear-gradient(180deg, var(--green-50) 0%, var(--cream-2) 100%);
  --grad-dark-section: linear-gradient(180deg, var(--green-900) 0%, var(--green-950) 100%);

  /* --- Motion --- */
  --ease-premium: cubic-bezier(.16, 1, .3, 1);          /* decel "luxe" curve */
  --ease-spring:  cubic-bezier(.34, 1.56, .64, 1);     /* gentle overshoot */
  --ease-snap:    cubic-bezier(.7, 0, .2, 1);          /* sharper, for taps */
  --ease:         var(--ease-premium);
  --t-fast: .18s;
  --t:      .42s;
  --t-slow: .8s;

  /* --- Rhythm --- */
  --section-y: clamp(72px, 10vw, 140px);
  --header-h:  84px;
}

/* =========================================================================
   Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;          /* kill horizontal bleed without breaking sticky/fixed */
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  font-synthesis: none;   /* Knockout has no italic/extra weights — never fake them */
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--green-950); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: min(var(--container), 92%); margin: 0 auto; }

.skip-link {
  position: absolute; left: -999px; top: 12px;
  background: var(--gold); color: var(--green-950);
  padding: 10px 16px; z-index: 9999; border-radius: 10px; font-weight: 800;
  font-family: var(--font-sans); font-size: .9rem; letter-spacing: .02em;
}
.skip-link:focus { left: 14px; }

/* =========================================================================
   Typography  —  Syne headings (wt 500–700); Knockout Sumo for display numerals
   Syne is ~40% wider than Knockout — sizes are tuned accordingly.
   ========================================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-weight: 700; font-size: clamp(1.9rem, 3.8vw, 3.6rem); letter-spacing: -.028em; line-height: 1.06; margin-bottom: 22px; }
h2 { font-weight: 700; font-size: clamp(1.55rem, 2.6vw, 2.55rem); letter-spacing: -.022em; margin-bottom: 16px; }
h3 { font-weight: 600; font-size: clamp(1.12rem, 1.4vw, 1.4rem); letter-spacing: -.01em; line-height: 1.15; }
h4 { font-weight: 600; font-size: 1.05rem; letter-spacing: -.005em; }
h5 { font-weight: 500; font-size: .95rem; letter-spacing: 0; }

/* Gold accent words inside headings via <em> — italic-free, inherits Syne weight */
h1 em, h2 em, h3 em {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: inherit;
  color: var(--gold-ink);
  letter-spacing: inherit;
  white-space: nowrap;
  position: relative;
}
.hero h1 em, .hero h2 em, .page-hero h1 em { color: var(--gold-2); }

/* "Included with every stay" note — rooms & amenity pages */
.stay-includes { display: flex; align-items: center; justify-content: center; gap: 10px;
  text-align: center; font-family: var(--font-sans); font-weight: 600; font-size: .95rem;
  color: var(--green-950); background: var(--gold-soft);
  border: 1px solid rgba(128,96,17,.28); border-radius: 14px;
  padding: 13px 20px; margin: 8px auto 0; max-width: 680px; }
.stay-includes svg { width: 20px; height: 20px; flex: none; color: var(--gold-ink); }

/* Accessible form feedback (contact form status + cart order error) */
.form-status { margin: 8px 0 0; font-size: .9rem; font-weight: 600; color: var(--green-800); min-height: 1.2em; }
.form-status:empty { margin: 0; min-height: 0; }
.cart-error { margin: 10px 0 0; font-size: .88rem; font-weight: 600; color: #fff;
  background: #c0392b; padding: 8px 12px; border-radius: 8px; }
.cart-error:empty { display: none; }
[aria-invalid="true"] { border-color: #c0392b !important; }

p { text-wrap: pretty; }
p + p { margin-top: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  color: var(--green-700);
  text-transform: uppercase;
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .22em;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.dark .eyebrow::before,
.hero .eyebrow::before,
.page-hero .eyebrow::before { color: var(--gold-2); }
.dark .eyebrow::before,
.hero .eyebrow::before,
.page-hero .eyebrow::before { background: var(--gold-2); }
.center .eyebrow { justify-content: center; }

.script {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.muted { color: var(--muted); }

/* =========================================================================
   Preloader  —  "Golden Orbit": a bead of light orbits the sun's arc,
   painting the mark from moonlit silhouette to full gold, then the
   lockup blooms in.  (v17)
   ========================================================================= */
@property --arc {
  syntax: "<angle>"; inherits: false; initial-value: 0deg;
}
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(212,166,42,.12), transparent 55%),
    radial-gradient(circle at 50% 38%, var(--green-900) 0%, var(--green-950) 58%, var(--green-1000) 100%);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease-premium), visibility .9s;
}
.preloader.is-loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader.is-loaded .preloader-inner { transform: translateY(-14px) scale(.97); opacity: 0; }
.preloader-inner {
  position: relative; z-index: 1;
  display: grid; place-items: center; gap: clamp(34px, 5.5vw, 54px);
  text-align: center;
  transition: opacity .7s var(--ease-premium), transform .7s var(--ease-premium);
}
.preloader-stage {
  position: relative;
  width: clamp(220px, 30vw, 320px);
  aspect-ratio: 1;
  display: grid; place-items: center;
}
/* dawn halo — a soft, perfectly round glow with an eased falloff that
   dissolves into the background green with no visible edge */
.pl-halo {
  position: absolute; left: 50%; top: 47%; z-index: 1;
  width: 112%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.55);
  border-radius: 50%;
  background: radial-gradient(closest-side circle,
    rgba(255,236,190,.30) 0%,
    rgba(246,215,120,.26) 12%,
    rgba(241,202,85,.21)  24%,
    rgba(236,192,72,.16)  35%,
    rgba(228,182,60,.115) 45%,
    rgba(220,174,52,.075) 54%,
    rgba(214,168,45,.045) 62%,
    rgba(212,166,42,.022) 70%,
    rgba(212,166,42,.008) 78%,
    transparent 88%);
  filter: blur(16px); opacity: 0;
  animation: plHalo 1.5s var(--ease-premium) .15s forwards,
             plHaloBreathe 4.2s ease-in-out 1.7s infinite;
}
/* the sun-over-leaves icon: moonlit silhouette + gold layer painted by the arc */
.pl-icon {
  position: absolute; left: 50%; top: 47%; z-index: 3;
  width: 58%; aspect-ratio: 512 / 475;
  transform: translate(-50%, -50%);
  animation: plIconFade .5s var(--ease-premium) 1.55s forwards;
}
.pl-base, .pl-warm {
  position: absolute; inset: 0;
  background-position: center; background-repeat: no-repeat; background-size: contain;
}
.pl-base {
  background-image: url("../images/logo/logo-icon-white.png");
  opacity: .32; filter: drop-shadow(0 0 10px rgba(255,255,255,.12));
}
.pl-warm {
  background-image: url("../images/logo/logo-icon.png");
  filter: drop-shadow(0 10px 26px rgba(212,166,42,.4));
  -webkit-mask: conic-gradient(from -112deg at 50% 58%, #000 var(--arc), transparent 0);
          mask: conic-gradient(from -112deg at 50% 58%, #000 var(--arc), transparent 0);
  animation: plPaint 1.25s cubic-bezier(.4, 0, .2, 1) .15s forwards;
}
/* the travelling bead of light + comet tail that paints the sun */
.pl-orbit {
  position: absolute; left: 50%; top: 58%; z-index: 4;
  width: 0; height: 0; transform: rotate(-112deg);
  animation: plOrbit 1.25s cubic-bezier(.4, 0, .2, 1) .15s forwards;
}
.pl-arm {
  position: absolute; left: 0; top: 0; height: 3px; width: clamp(68px, 9.4vw, 98px);
  transform-origin: 0 50%; border-radius: 3px; opacity: 0;
  background: linear-gradient(90deg, transparent 0, rgba(241,202,85,0) 40%,
    rgba(241,202,85,.55) 86%, transparent 100%);
  animation: plBead 1.25s var(--ease-premium) .15s forwards;
}
.pl-bead {
  position: absolute; left: clamp(64px, 9vw, 94px); top: -4px;
  width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, var(--gold-2) 55%, var(--gold) 100%);
  box-shadow: 0 0 12px 3px rgba(241,202,85,.85), 0 0 26px 8px rgba(212,166,42,.5);
  opacity: 0;
  animation: plBead 1.25s var(--ease-premium) .15s forwards;
}
/* the full lockup blooms in once the sun is lit, then floats */
.pl-lockup {
  position: absolute; left: 50%; top: 50%; z-index: 5;
  width: 90%; height: auto;
  transform: translate(-50%, -50%) scale(.98);
  filter: drop-shadow(0 16px 38px rgba(212,166,42,.28));
  opacity: 0;
  animation: plLockup .8s var(--ease-premium) 1.5s forwards,
             plLockupFloat 4s ease-in-out 2.5s infinite;
}
/* refined hairline progress track */
.preloader-bar {
  width: clamp(190px, 24vw, 280px); height: 2px;
  background: rgba(255,255,255,.12);
  border-radius: 999px; position: relative; overflow: visible;
}
.preloader-bar::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 62%, #fffdf4 100%);
  box-shadow: 0 0 12px rgba(241,202,85,.6), 0 0 26px rgba(212,166,42,.4);
  animation: preloaderFill 1.05s var(--ease-premium) .2s forwards;
}
.preloader-bar::before {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 10px 2px rgba(255,255,255,.9), 0 0 20px 6px rgba(241,202,85,.6);
  transform: translate(-50%, -50%); opacity: 0; z-index: 2;
  animation: preloaderSpark 1.05s var(--ease-premium) .2s forwards;
}
@keyframes plHalo {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.55); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes plHaloBreathe {
  0%, 100% { opacity: .85; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}
@keyframes plPaint  { 0% { --arc: 0deg; } 100% { --arc: 312deg; } }
@keyframes plOrbit  { 0% { transform: rotate(-112deg); } 100% { transform: rotate(200deg); } }
@keyframes plBead {
  0% { opacity: 0; } 12% { opacity: 1; } 84% { opacity: 1; } 100% { opacity: 0; }
}
@keyframes plIconFade { to { opacity: 0; } }
@keyframes plLockup {
  0%   { opacity: 0; transform: translate(-50%, -44%) scale(.94); filter: blur(6px) drop-shadow(0 16px 38px rgba(212,166,42,.28)); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1);    filter: blur(0)  drop-shadow(0 16px 38px rgba(212,166,42,.28)); }
}
@keyframes plLockupFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, calc(-50% - 6px)) scale(1.008); }
}
@keyframes preloaderFill {
  0%   { width: 0; }
  88%  { width: 100%; }
  100% { width: 100%; }
}
@keyframes preloaderSpark {
  0%   { left: 0; opacity: 0; }
  12%  { opacity: 1; }
  88%  { left: 100%; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.no-js .preloader { display: none; }

/* =========================================================================
   Header  —  glass nav with brand logo
   ========================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(7,26,17,.55) 0%, rgba(7,26,17,.32) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease), backdrop-filter var(--t) var(--ease);
}
body { padding-top: var(--header-h); }
.hero-page { padding-top: 0; }  /* hero rooms allow nav to overlay */

.site-header.scrolled {
  background: rgba(7,26,17,.92);
  box-shadow: 0 12px 40px -16px rgba(0,0,0,.6);
  border-bottom-color: rgba(255,255,255,.12);
}

.nav-wrapper {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: min-height var(--t) var(--ease);
}
.scrolled .nav-wrapper { min-height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -.015em;
  transition: transform var(--t) var(--ease);
}
.brand:hover { transform: translateY(-1px); }
.brand img {
  width: auto; height: 56px;
  transition: height var(--t) var(--ease);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.scrolled .brand img { height: 46px; }
.brand .brand-text {
  display: flex; flex-direction: column; line-height: 1.05;
}
.brand .brand-text strong {
  font-size: .9rem; font-weight: 800; letter-spacing: .04em;
  color: var(--white); text-transform: uppercase;
}
.brand .brand-text span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: .78rem;
  color: var(--gold-2);
  letter-spacing: .01em;
}

.nav-menu {
  display: flex; align-items: center; gap: 4px;
}
.nav-menu a {
  position: relative;
  font-family: var(--font-nav);
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .11em;
  opacity: .86;
  color: var(--white);
  padding: 9px 11px 11px;
  transition: color var(--t-fast) var(--ease),
              opacity var(--t-fast) var(--ease),
              transform var(--t) var(--ease);
}
/* refined hairline underline that sweeps in from the left */
.nav-menu a::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 3px;
  height: 1px; background: var(--gold-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav-menu a:hover { opacity: 1; transform: translateY(-1px); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
/* active word cast in gold foil */
.nav-menu a.active {
  opacity: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ===== Book Now — gilded 3D pill (specular + bevel + shimmer) ===== */
.nav-cta {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-nav);
  font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  color: #3e2c08;
  padding: 12px 23px; border-radius: 999px;
  margin-left: 12px; white-space: nowrap;
  background: linear-gradient(180deg, #fff3cf 0%, #f3d271 17%, #e3b53e 44%, #c8971d 70%, #a87c14 100%);
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,.9),
    inset 0 -3px 7px rgba(110,72,0,.55),
    inset 0 0 0 1px rgba(255,242,196,.7),
    0 2px 0 #5e420c,
    0 14px 28px rgba(212,166,42,.42),
    0 0 42px rgba(241,202,85,.22);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), filter var(--t) var(--ease);
}
/* top specular highlight */
.nav-cta::before {
  content: ""; position: absolute; top: 2px; left: 5px; right: 5px; height: 44%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), transparent);
  pointer-events: none;
}
/* travelling shimmer */
.nav-cta::after {
  content: ""; position: absolute; top: 0; left: -55%; width: 42%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.85), transparent);
  transform: skewX(-18deg); pointer-events: none;
  animation: navCtaSweep 4.2s ease-in-out 2.2s infinite;
}
@keyframes navCtaSweep { 0%, 55% { left: -55%; } 82%, 100% { left: 130%; } }
.nav-cta:hover {
  transform: translateY(-2px); filter: brightness(1.05);
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,.9),
    inset 0 -3px 7px rgba(110,72,0,.55),
    inset 0 0 0 1px rgba(255,242,196,.7),
    0 4px 0 #5e420c,
    0 22px 44px rgba(212,166,42,.6),
    0 0 60px rgba(241,202,85,.4);
}
.nav-cta svg { position: relative; width: 14px; height: 14px; }

/* Hamburger / close toggle */
.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  cursor: pointer;
  align-items: center; justify-content: center;
  padding: 0;
}
.menu-toggle .bars {
  display: grid; gap: 5px; pointer-events: none;
}
.menu-toggle .bars span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border: 0; cursor: pointer;
  text-transform: uppercase; letter-spacing: .06em;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 500; font-size: 1.05rem;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease),
              color var(--t) var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* Primary — deep-green "liquid glass" (universal: reads on light AND dark) */
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, rgba(24,68,44,.82), rgba(11,33,21,.9));
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), inset 0 -12px 24px rgba(0,0,0,.22), 0 16px 38px -18px rgba(0,0,0,.55);
}
.btn-primary:hover {
  border-color: rgba(241,202,85,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 22px 48px -18px rgba(0,0,0,.6), 0 0 26px -8px rgba(241,202,85,.45);
}
/* Secondary — lighter "liquid glass" (sits on dark sections) */
.btn-light {
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.32);
  -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 30px -18px rgba(0,0,0,.5);
}
.btn-light:hover { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.09)); border-color: rgba(241,202,85,.5); }
.btn-dark { background: var(--green-900); color: white; }
.btn-dark:hover { background: var(--green-800); }
.btn-outline { border: 1.5px solid var(--green-800); color: var(--green-900); background: transparent; }
.btn-outline:hover { background: var(--green-900); color: white; border-color: var(--green-900); }

/* Magnetic effect (JS-driven hover translation) */
.magnet { transition: transform .25s var(--ease-spring); will-change: transform; }

/* =========================================================================
   Hero  —  shared (page hero + home hero)
   ========================================================================= */
.hero, .page-hero {
  position: relative; isolation: isolate;
  color: white;
  overflow: hidden;
}
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2, .page-hero h3 { color: #fff; }
.hero p, .page-hero p {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  max-width: 660px;
  color: rgba(255,255,255,.92);
  line-height: 1.65;
  font-weight: 400;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px;
}

/* Page hero — for inner pages */
.page-hero {
  padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 10vw, 120px);
  background-color: var(--green-900);
  background-size: cover; background-position: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(115deg, rgba(7,26,17,.88) 0%, rgba(7,26,17,.5) 60%, rgba(7,26,17,.25) 100%),
    radial-gradient(40% 50% at 80% 20%, rgba(241,202,85,.22), transparent 60%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { max-width: 980px; }

/* Home hero  —  full-bleed background image + cinematic scrim + parallax */
.hero-home {
  min-height: 100vh;
  display: grid; align-items: center;
  padding: 120px 0 80px;
  background: var(--green-950);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-image {
  position: absolute; inset: -10% -2% -10% -2%; z-index: 0;
  background-size: cover; background-position: center 40%;
  will-change: transform;
  transform: scale(1.04);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(4,18,11,.85) 0%, rgba(7,26,17,.55) 50%, rgba(7,26,17,.25) 100%),
    linear-gradient(180deg, rgba(7,26,17,.55) 0%, rgba(7,26,17,0) 30%, rgba(7,26,17,.65) 100%);
}
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(45% 60% at 80% 25%, rgba(241,202,85,.20), transparent 65%),
    radial-gradient(50% 60% at 15% 80%, rgba(30,101,65,.40), transparent 65%);
  mix-blend-mode: screen;
  filter: blur(20px);
  animation: heroGlow 22s var(--ease) infinite alternate;
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: .45; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 5;
  max-width: 920px;
  padding: 60px 0 40px;
}
.hero-script {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 500;
  color: var(--gold-2);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  margin-bottom: 14px;
  letter-spacing: .01em;
}

.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  margin-top: 44px;
  color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 500;
}
.hero-trust .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2);
}
.hero-trust strong { color: #fff; font-weight: 700; }
.hero-stars {
  color: var(--gold-2); letter-spacing: 3px; font-size: 1rem;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%); z-index: 4;
  width: 28px; height: 46px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 16px;
  display: grid; justify-items: center; padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--gold-2);
  animation: scrollCue 1.8s var(--ease) infinite;
}

/* Word-by-word reveal (JS splits a [data-text-reveal] heading into words) */
.word { display: inline-block; opacity: 0; transform: translateY(28px); filter: blur(8px); }
.reveal-ready .word { transition: opacity .9s var(--ease-premium), transform .9s var(--ease-premium), filter .9s var(--ease-premium); }
.reveal-ready [data-text-reveal].is-visible .word {
  opacity: 1; transform: none; filter: blur(0);
}

/* =========================================================================
   Sections + dividers
   ========================================================================= */
.section { padding: var(--section-y) 0; position: relative; }
/* fade v97 (site-wide): .section has no background of its own (inherits the
   page's flat white), so every .section.alt used to meet it as a genuine
   hard cut at both edges — worst at the cream-2 foot, where warm cream met
   pure white with no transition at all. Since .section/.section.alt are
   shared globally, fixing it here (once) resolves the seam on every page
   that uses them: rooms, events, experiences, gallery, directions, contact,
   and all 11 amenities pages. The colors here (white/green-50/cream-2) are
   all close in lightness, so — unlike the much bigger green-900->cream-2
   jump fixed for the homepage triptych — a short 2-stop bookend fade at each
   edge is enough; no intermediate stops needed to avoid banding. */
.section.alt {
  background: linear-gradient(180deg,
    #fff 0%,
    var(--green-50) clamp(56px, 6vw, 96px),
    var(--cream-2) calc(100% - clamp(56px, 6vw, 96px)),
    #fff 100%);
}
.section.dark {
  background: var(--grad-dark-section);
  color: white;
}
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p, .section.dark .muted { color: rgba(255,255,255,.78); }

/* Gradient divider — gold seam between sections */
.divider {
  position: relative; height: 1px; width: 100%;
  background: var(--grad-divider);
  margin: 0;
}
.divider-thick {
  height: 60px;
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(212,166,42,.0), rgba(212,166,42,0)),
    linear-gradient(180deg, transparent, var(--green-50));
  position: relative;
}
.divider-thick::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--grad-divider);
}
.divider-dark {
  background: linear-gradient(90deg, transparent 0%, rgba(241,202,85,.35) 50%, transparent 100%);
}

/* Decorative section header */
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 28px; margin-bottom: 52px; flex-wrap: wrap;
}
.section-head > div { max-width: 660px; }
.section-head p { max-width: 460px; color: var(--muted); }
.center { text-align: center; max-width: 800px; margin: 0 auto 56px; }

/* =========================================================================
   Grid
   ========================================================================= */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* =========================================================================
   Cards
   ========================================================================= */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0;
  height: 4px; width: 0;
  background: var(--grad-gold);
  transition: width .6s var(--ease);
}
.card.lift:hover, .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: #e6dcc0;
}
.card:hover::before { width: 100%; }

.card-media {
  position: relative; overflow: hidden;
  border-radius: 16px; margin-bottom: 22px;
  background: var(--green-100);
}
.card-media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform .8s var(--ease);
}
.card:hover .card-media img { transform: scale(1.07); }

.tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(7,26,17,.7); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--font-sans); font-weight: 600;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .14em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
}

.card img, .feature-img {
  border-radius: 16px;
  margin-bottom: 20px;
  width: 100%; object-fit: cover;
}
.card h3 { margin-bottom: 4px; }
.card p { color: var(--muted); margin-top: 10px; }
.card .link {
  color: var(--green-800); font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-size: .92rem;
  transition: gap var(--t) var(--ease), color var(--t) var(--ease);
}
.card .link:hover { gap: 14px; color: var(--green-900); }
.card .link::after {
  content: "→"; transition: transform var(--t) var(--ease);
}
.card .link:hover::after { transform: translateX(3px); }

.icon-badge {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  color: var(--green-800);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.icon-badge svg { width: 26px; height: 26px; }
.card:hover .icon-badge {
  background: var(--grad-gold);
  color: var(--green-950);
  transform: rotate(-5deg);
}

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill {
  background: var(--cream); color: var(--green-900);
  border: 1px solid #eadfbf;
  padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: .84rem;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.pill:hover { transform: translateY(-2px); background: var(--cream-2); }

/* =========================================================================
   Split feature
   ========================================================================= */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.feature-img { box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li {
  list-style: none;
  display: flex; gap: 12px; align-items: flex-start;
  font-weight: 500;
}
.check-list li::before {
  content: "✓"; width: 24px; height: 24px; flex: 0 0 24px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--green-950);
  display: grid; place-items: center;
  font-weight: 900; font-size: .8rem;
  margin-top: 2px;
}

/* =========================================================================
   Stats
   ========================================================================= */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-top: 42px;
}
.stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 28px 24px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold-2);
  font-size: clamp(2.6rem, 3.6vw, 3.6rem);
  line-height: .92;
  font-weight: 500;
  letter-spacing: .005em;
}
.stat span {
  color: rgba(255,255,255,.78);
  font-size: .9rem; margin-top: 10px; display: block;
  font-weight: 500;
}
.section:not(.dark) .stat {
  background: var(--white); border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.section:not(.dark) .stat strong { color: var(--green-800); }
.section:not(.dark) .stat span { color: var(--muted); }

/* =========================================================================
   Stats band — "Foil on Emerald"  (homepage "Why choose Maya")
   A true dark island floating on the light canvas, not a color-blocked
   section. The ::before "ink wash" is alpha-only (transparent -> solid
   green-950 -> transparent) rather than interpolated between hex colours —
   at 0% and 100% it is mathematically transparent, so it is pixel-identical
   to whatever flat canvas colour sits above and below it on ANY page this
   pattern is reused on, with zero risk of banding or a colour-matching
   guess. .stats-foil itself carries no background of its own (bare
   .section already renders transparent), so the seam cannot show even if
   the surrounding canvas colour ever changes.
   ========================================================================= */
.stats-foil {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(150px, 19vw, 240px) 0;
  text-align: center; color: #fff;
}
.stats-foil-ink {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 55% at 50% 38%, rgba(30,101,65,.4), transparent 68%),
    linear-gradient(180deg,
      rgba(7,26,17,0) 0,
      rgba(7,26,17,.5) clamp(30px, 4.5vw, 58px),
      rgba(7,26,17,.94) clamp(72px, 9vw, 118px),
      var(--green-950) clamp(118px, 14.5vw, 186px),
      var(--green-950) calc(100% - clamp(118px, 14.5vw, 186px)),
      rgba(7,26,17,.94) calc(100% - clamp(72px, 9vw, 118px)),
      rgba(7,26,17,.5) calc(100% - clamp(30px, 4.5vw, 58px)),
      rgba(7,26,17,0) 100%);
}
.stats-foil-inner { position: relative; z-index: 1; max-width: 640px; }
.stats-foil .eyebrow { color: var(--gold-2); }
.stats-foil .eyebrow::before { background: var(--gold-2); }
.stats-foil h2 { color: #fff; }
.stats-foil .muted { color: rgba(255,255,255,.72); max-width: 52ch; margin-left: auto; margin-right: auto; }

.stat-row-foil { margin-top: clamp(38px, 5vw, 54px); text-align: left; }
.stat-foil {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: clamp(16px, 2.6vw, 26px);
  padding: clamp(20px, 2.6vw, 26px) clamp(4px, 1vw, 10px);
  border-bottom: 1px solid rgba(241,202,85,.16);
}
.stat-foil:last-child { border-bottom: 0; }
.stat-foil-mark {
  flex: none; width: clamp(48px, 5.6vw, 56px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-2);
  border: 1px solid rgba(241,202,85,.4); background: rgba(241,202,85,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.stat-foil-mark svg { width: 54%; height: 54%; }
.stat-foil-txt { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.stat-foil .stat-pop {
  font-family: var(--font-sans); font-size: clamp(2rem, 2.9vw, 2.75rem);
  line-height: 1; font-weight: 700; letter-spacing: -.025em;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.4));
}
.stat-foil-txt span:last-child {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.68);
}
.stat-foil-ghost {
  position: absolute; z-index: -1; right: -4%; top: 50%; transform: translateY(-50%);
  width: clamp(90px, 12vw, 140px); height: clamp(90px, 12vw, 140px);
  color: rgba(241,202,85,.08); pointer-events: none;
}
@media (max-width: 640px) {
  .stats-foil { text-align: left; }
  .stats-foil-inner { max-width: none; }
  .stats-foil .muted { margin-left: 0; margin-right: 0; }
  .stat-foil { align-items: flex-start; }
  .stat-foil-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce), (hover: none) {
  .stats-foil .stat-pop { filter: none; }
}

/* =========================================================================
   Testimonials
   ========================================================================= */
.quote-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote-card::before {
  content: "“"; position: absolute; top: 18px; right: 26px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 5rem; line-height: 1; color: var(--gold);
  opacity: .35;
}
.quote-card .stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; }
.quote-card blockquote {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text);
}
.quote-card .who {
  display: flex; align-items: center; gap: 12px; margin-top: auto;
}
.quote-card .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-emerald); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-family: var(--font-sans);
  font-size: 1rem;
}
.quote-card .who b {
  display: block; font-weight: 700;
  font-family: var(--font-sans); font-size: .95rem;
}
.quote-card .who span { color: var(--muted); font-size: .85rem; }

/* =========================================================================
   Marquee
   ========================================================================= */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600; white-space: nowrap;
  color: var(--green-900);
  font-size: .9rem;
}
.marquee .chip .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--grad-emerald); color: white;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 120% at 85% 10%, rgba(241,202,85,.3), transparent 60%),
    radial-gradient(40% 90% at 12% 100%, rgba(30,101,65,.5), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; }

/* =========================================================================
   Rooms
   ========================================================================= */
.room-card .price {
  color: var(--green-900); font-weight: 800;
  font-family: var(--font-sans); font-size: 1.25rem;
  margin-top: 14px;
}
.room-inclusion {
  margin-top: 16px; padding: 12px 16px;
  background: var(--green-100); border-radius: 14px;
  color: var(--green-900); font-weight: 600; font-size: .88rem;
}

/* =========================================================================
   Gallery
   ========================================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-item {
  min-height: 250px;
  border-radius: 22px;
  background: var(--green-100);
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid; place-items: end start;
  padding: 22px;
  color: white;
  background-size: cover; background-position: center;
  position: relative; isolation: isolate;
  transition: transform var(--t) var(--ease);
}
.gallery-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent, rgba(7,26,17,.85));
  z-index: -1;
  transition: opacity var(--t) var(--ease);
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item:nth-child(1), .gallery-item:nth-child(6) {
  grid-column: span 6; min-height: 360px;
}
.gallery-item:nth-child(2), .gallery-item:nth-child(3),
.gallery-item:nth-child(4), .gallery-item:nth-child(5) {
  grid-column: span 3;
}
.gallery-item strong { font-size: 1.2rem; font-family: var(--font-sans); }

/* =========================================================================
   Menu
   ========================================================================= */
.menu-list { display: grid; gap: 14px; }
.menu-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.menu-row:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.menu-row span { color: var(--muted); }
.menu-row .price { color: var(--green-800); font-weight: 700; }

/* =========================================================================
   Contact / forms
   ========================================================================= */
.contact-card a {
  color: var(--green-800); font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
}
.map-box {
  min-height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #dfe8df, #fff8e8);
  display: grid; place-items: center;
  padding: 30px; text-align: center;
  border: 1px solid var(--line);
}
.form { display: grid; gap: 16px; }
.input, textarea, select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  min-height: 54px;
  padding: 14px 18px;
  font: inherit;
  background: var(--white); color: var(--text);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(30,101,65,.12);
}
textarea { min-height: 150px; resize: vertical; }
label { font-weight: 600; font-size: .9rem; }

/* =========================================================================
   Footer — premium multi-column
   ========================================================================= */
.site-footer {
  background: linear-gradient(180deg, var(--green-950) 0%, var(--green-1000) 100%);
  color: white;
  padding: clamp(72px, 9vw, 110px) 0 28px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-gold);
  opacity: .9;
}
.site-footer::after {
  content: ""; position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 50% at 90% 15%, rgba(212,166,42,.07), transparent 60%),
    radial-gradient(45% 60% at 5% 95%, rgba(30,101,65,.18), transparent 60%);
  pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.footer-brand-block { max-width: 380px; }
.footer-logo {
  display: inline-flex; align-items: center; gap: 16px;
  margin-bottom: 22px;
}
.footer-logo img {
  height: 64px; width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
  transition: transform var(--t) var(--ease-spring);
}
.footer-logo:hover img { transform: rotate(-6deg) scale(1.04); }
.footer-wordmark {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
  max-width: 7ch;
}
.footer-brand-block .footer-tagline {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 500;
  color: var(--gold-2);
  font-size: 1.05rem;
  margin-bottom: 18px;
  letter-spacing: .005em;
}
.footer-brand-block p {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  line-height: 1.65;
}
.footer-socials {
  display: flex; gap: 12px; margin-top: 24px;
}
.footer-socials a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  color: rgba(255,255,255,.8);
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.footer-socials a:hover {
  background: var(--gold);
  color: var(--green-950);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer-socials svg { width: 18px; height: 18px; }

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold-2);
  margin-bottom: 18px;
  font-weight: 800;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.78);
  margin: 11px 0;
  font-size: .95rem;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--gold-2); padding-left: 5px; }
.footer-col p { color: rgba(255,255,255,.7); font-size: .9rem; }

.footer-contact-line {
  display: flex; align-items: center; gap: 10px;
  margin: 11px 0;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
}
.footer-contact-line svg {
  width: 16px; height: 16px; flex: 0 0 16px;
  color: var(--gold-2);
}
.footer-contact-line a {
  display: inline; margin: 0; padding: 0;
  color: inherit;
}
.footer-contact-line a:hover { color: var(--gold-2); padding-left: 0; }

.footer-bottom {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  color: rgba(255,255,255,.62);
  font-size: .88rem;
}
.footer-bottom a { color: var(--gold-2); font-weight: 600; }

.mini { font-size: .85rem; opacity: .72; margin-top: 12px; }

/* =========================================================================
   Design credit — 97 Design (Neeza Amani Shyaka)
   ========================================================================= */
.footer-credit {
  margin-top: 46px;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 26px);
  flex-wrap: wrap;
}
.footer-credit .fc-logo { display: inline-flex; flex: 0 0 auto; }
.footer-credit .fc-logo img {
  width: clamp(78px, 11vw, 108px); height: auto; display: block;
  opacity: .9;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer-credit .fc-logo:hover img { opacity: 1; transform: translateY(-2px); }
.footer-credit .fc-meta { min-width: 200px; }
.footer-credit .fc-lead {
  color: rgba(255,255,255,.9);
  font-size: .98rem; line-height: 1.4; margin: 0 0 5px;
}
.footer-credit .fc-lead strong { color: var(--gold-2); font-weight: 700; }
.footer-credit .fc-sub {
  color: rgba(255,255,255,.58);
  font-size: .83rem; line-height: 1.5; margin: 0; letter-spacing: .015em;
}
.footer-credit .fc-sub a { color: rgba(255,255,255,.74); font-weight: 600; }
.footer-credit .fc-sub a:hover { color: var(--gold-2); }
@media (max-width: 600px) {
  .footer-credit { margin-top: 36px; gap: 14px; }
  .footer-credit .fc-meta { min-width: 0; }
}

/* =========================================================================
   Floating WhatsApp — redesigned premium FAB
   ========================================================================= */
.floating-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 60px; height: 60px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #25d366 0%, #1eb353 100%);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 16px 36px -8px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.0);
  transition: width var(--t) var(--ease-spring),
              border-radius var(--t) var(--ease-spring),
              transform var(--t) var(--ease-spring),
              box-shadow var(--t) var(--ease),
              padding var(--t) var(--ease-spring);
  font-family: var(--font-sans); font-weight: 700;
  overflow: hidden;
}
.floating-whatsapp svg {
  width: 26px; height: 26px;
  flex: 0 0 26px;
  transition: transform var(--t) var(--ease);
}
.floating-whatsapp .wa-label {
  max-width: 0; opacity: 0;
  overflow: hidden; white-space: nowrap;
  font-size: .92rem; letter-spacing: .01em;
  transition: max-width var(--t) var(--ease-spring), opacity var(--t) var(--ease), margin-left var(--t) var(--ease-spring);
}
.floating-whatsapp:hover, .floating-whatsapp:focus-visible {
  width: auto;
  border-radius: 999px;
  padding: 0 22px 0 18px;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 50px -10px rgba(37,211,102,.6);
}
.floating-whatsapp:hover .wa-label,
.floating-whatsapp:focus-visible .wa-label {
  max-width: 200px; opacity: 1; margin-left: 10px;
}
.floating-whatsapp::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.55);
  animation: waPing 2.6s var(--ease) infinite;
  pointer-events: none;
}

/* =========================================================================
   Mobile menu overlay — premium full-screen
   ========================================================================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-950) 70%, var(--green-1000) 100%);
  display: flex; flex-direction: column;
  padding: clamp(90px, 14vh, 130px) 6% 40px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), visibility var(--t) var(--ease), transform var(--t) var(--ease);
  overflow-y: auto;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(45% 50% at 85% 12%, rgba(212,166,42,.18), transparent 60%),
    radial-gradient(50% 60% at 5% 95%, rgba(30,101,65,.4), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.mobile-menu.is-open {
  opacity: 1; visibility: visible; transform: none;
}
.mobile-menu-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
  width: 100%; max-width: 600px; margin: 0 auto;
}
.mobile-menu .mm-eyebrow {
  font-family: var(--font-sans); font-weight: 700;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--gold-2); font-size: .72rem;
  margin-bottom: 26px;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease) .15s, transform .5s var(--ease) .15s;
}
.mobile-menu.is-open .mm-eyebrow { opacity: 1; transform: none; }

.mobile-menu a.mm-link {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  letter-spacing: -.02em;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0; transform: translateX(-22px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), color var(--t-fast) var(--ease);
}
.mobile-menu a.mm-link::after {
  content: "→"; font-weight: 400; color: var(--gold-2);
  transition: transform var(--t-fast) var(--ease);
  font-size: .85em;
}
.mobile-menu a.mm-link:hover, .mobile-menu a.mm-link:focus-visible { color: var(--gold-2); }
.mobile-menu a.mm-link:hover::after { transform: translateX(6px); }
.mobile-menu a.mm-link.active { color: var(--gold-2); }

.mobile-menu.is-open a.mm-link { opacity: 1; transform: none; }
.mobile-menu.is-open a.mm-link:nth-child(1) { transition-delay: .15s; }
.mobile-menu.is-open a.mm-link:nth-child(2) { transition-delay: .22s; }
.mobile-menu.is-open a.mm-link:nth-child(3) { transition-delay: .29s; }
.mobile-menu.is-open a.mm-link:nth-child(4) { transition-delay: .36s; }
.mobile-menu.is-open a.mm-link:nth-child(5) { transition-delay: .43s; }
.mobile-menu.is-open a.mm-link:nth-child(6) { transition-delay: .50s; }
.mobile-menu.is-open a.mm-link:nth-child(7) { transition-delay: .57s; }
.mobile-menu.is-open a.mm-link:nth-child(8) { transition-delay: .64s; }

.mobile-menu .mm-cta {
  margin-top: 36px;
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: var(--grad-gold); color: var(--green-950);
  font-weight: 800; font-size: 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease) .72s, transform .5s var(--ease) .72s;
}
.mobile-menu.is-open .mm-cta { opacity: 1; transform: none; }

.mobile-menu .mm-meta {
  margin-top: auto; padding-top: 40px;
  display: flex; flex-direction: column; gap: 8px;
  color: rgba(255,255,255,.65); font-size: .88rem;
  opacity: 0;
  transition: opacity .6s var(--ease) .82s;
}
.mobile-menu.is-open .mm-meta { opacity: 1; }
.mobile-menu .mm-meta a { color: var(--gold-2); font-weight: 600; }

/* =========================================================================
   Scroll reveal
   ========================================================================= */
.reveal-ready [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-premium),
              transform .9s var(--ease-premium),
              filter .9s var(--ease-premium);
}
.reveal-ready [data-reveal="left"]   { transform: translateX(-32px); }
.reveal-ready [data-reveal="right"]  { transform: translateX(32px); }
.reveal-ready [data-reveal="scale"]  { transform: scale(.96); filter: blur(8px); }
.reveal-ready [data-reveal].is-visible {
  opacity: 1; transform: none; filter: none;
}

/* =========================================================================
   Keyframes
   ========================================================================= */
@keyframes heroGlow {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(3%, -2%) scale(1.08); }
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes waPing {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
}

/* =========================================================================
   Cross-page View Transitions (progressive — ignored where unsupported)
   ========================================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .4s var(--ease-premium) both; }
::view-transition-new(root) { animation: vtIn .5s var(--ease-premium) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn  { from { opacity: 0; transform: translateY(12px); } }

/* =========================================================================
   Cursor glow (desktop, pointer:fine only — added by JS)
   ========================================================================= */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 8000;
  width: 26px; height: 26px; border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(241,202,85,.55), rgba(241,202,85,0) 70%);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), opacity .3s var(--ease);
  opacity: 0;
}
.cursor-glow.is-active { opacity: 1; }
.cursor-glow.is-hot { width: 64px; height: 64px; }

/* =========================================================================
   Day → Night cinematic journey (homepage)
   The .journey sets a tall scroll track; .journey-stage is sticky 100vh.
   JS lerps sky colours, arcs the sun, cross-fades chapters, fades stars.
   ========================================================================= */
.journey {
  position: relative;
  /* tall scroll track — JS reads progress through it. 5 chapters. */
  height: 500vh;
  background: var(--green-950);
}
.journey-stage {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden; isolation: isolate;
  /* CSS vars driven by JS */
  --sky-top: #0a1f3a;
  --sky-mid: #163a5f;
  --sky-bot: #f6c45a;
  --sun-x: 50%;
  --sun-y: 78%;
  --sun-op: 1;
  --star-op: 0;
  --land: #0a2417;
}
.journey-sky {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 48%, var(--sky-bot) 100%);
  transition: background .12s linear;
}
.journey-stars {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: var(--star-op);
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 28% 32%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 47% 12%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 63% 26%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 78% 14%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 88% 30%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 38% 8%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 71% 6%, #fff, transparent);
  transition: opacity .3s linear;
}
.journey-sun {
  position: absolute; z-index: 2;
  left: var(--sun-x); top: var(--sun-y);
  width: clamp(120px, 16vw, 220px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: var(--sun-op);
  border-radius: 50%;
  background: radial-gradient(circle, #fff7e0 0%, #f7d774 30%, #f1ca55 50%, rgba(241,202,85,.25) 70%, transparent 78%);
  box-shadow: 0 0 80px 30px rgba(241,202,85,.45), 0 0 160px 70px rgba(212,166,42,.25);
  transition: top .12s linear, left .12s linear, opacity .25s linear;
}
.journey-haze {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(60% 40% at var(--sun-x) var(--sun-y), rgba(255,236,180,.28), transparent 60%);
  transition: background .2s linear;
}
/* layered hills (parallax via JS translate) */
.journey-hills { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none; }
.journey-hill {
  position: absolute; left: -5%; right: -5%; bottom: 0;
  width: 110%;
  will-change: transform;
}
.journey-hill svg { width: 100%; height: auto; display: block; }
.journey-hill-3 { bottom: 0; }
.journey-hill-2 { bottom: 0; }
.journey-hill-1 { bottom: 0; }
.journey-foreground {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 22vh;
  background: linear-gradient(180deg, transparent, var(--land));
  pointer-events: none;
}

/* chapter content cross-fades */
.journey-chapters {
  position: absolute; inset: 0; z-index: 6;
  display: grid; place-items: center; text-align: center;
  padding: 0 6%;
}
.chapter {
  position: absolute; max-width: 720px;
  opacity: 0; transform: translateY(30px) scale(.98); filter: blur(6px);
  transition: opacity .6s var(--ease-premium), transform .6s var(--ease-premium), filter .6s var(--ease-premium);
  color: #fff;
  pointer-events: none;
}
.chapter.is-active { opacity: 1; transform: none; filter: blur(0); pointer-events: auto; }
.chapter .chapter-time {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--gold-2); margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.chapter h2 {
  color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.4rem); margin-bottom: 16px;
  text-shadow: 0 6px 40px rgba(0,0,0,.45);
}
.chapter p {
  color: rgba(255,255,255,.92); font-size: clamp(1rem, 1.5vw, 1.22rem);
  max-width: 560px; margin: 0 auto 26px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.chapter .btn { pointer-events: auto; }
/* progress rail of dots on the right */
.journey-progress {
  position: absolute; right: clamp(16px, 3vw, 40px); top: 50%; z-index: 7;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
}
.journey-progress button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.3);
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.journey-progress button.is-active { background: var(--gold-2); transform: scale(1.35); }
.journey-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 7;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.journey-cue::after {
  content: ""; width: 1px; height: 30px;
  background: linear-gradient(var(--gold-2), transparent);
  animation: journeyCue 1.8s var(--ease) infinite;
}
@keyframes journeyCue { 0% { opacity:0; transform: scaleY(.3); transform-origin: top; } 40% { opacity:1; } 100% { opacity: 0; transform: scaleY(1); transform-origin: top; } }

/* Fallback when JS off / reduced motion / mobile: stack chapters as time-of-day bands */
.journey.is-static { height: auto; }
.journey.is-static .journey-stage { position: relative; height: auto; }
.journey.is-static .journey-sky,
.journey.is-static .journey-stars,
.journey.is-static .journey-haze,
.journey.is-static .journey-hills,
.journey.is-static .journey-foreground,
.journey.is-static .journey-sun,
.journey.is-static .journey-progress,
.journey.is-static .journey-cue { display: none; }
.journey.is-static .journey-chapters { position: relative; display: block; padding: 0; }
.journey.is-static .chapter {
  position: relative; isolation: isolate;
  opacity: 1; transform: none; filter: none;
  max-width: none; width: 100%; margin: 0;
  padding: clamp(64px,11vw,120px) 6%;
  display: flex; flex-direction: column; align-items: center;
}
.journey.is-static .chapter > * { max-width: 700px; }
.journey.is-static .chapter::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(7,26,17,.32), rgba(7,26,17,.5));
}
.journey.is-static .chapter:nth-child(1) { background: linear-gradient(165deg, #163a6b, #4d6a8f 55%, #f3b65a); }
.journey.is-static .chapter:nth-child(2) { background: linear-gradient(165deg, #2f6fb0, #6ba6d8 55%, #cfe6f7); }
.journey.is-static .chapter:nth-child(3) { background: linear-gradient(165deg, #1f5fa8, #e0894a 55%, #f7d27a); }
.journey.is-static .chapter:nth-child(4) { background: linear-gradient(165deg, #3a2a5e, #9c4f74 55%, #e88a52); }
.journey.is-static .chapter:nth-child(5) { background: linear-gradient(165deg, #050a1f, #0e1f3a 55%, #243a54); }

/* =========================================================================
   Lightbox (gallery)
   ========================================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(4,12,8,.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 5vw;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-premium), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: scale(.96); transition: transform .4s var(--ease-spring);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.lightbox-close { top: 4vh; right: 5vw; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 3vw; } .lightbox-next { right: 3vw; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: var(--green-950); }
.lightbox-nav svg, .lightbox-close svg { width: 22px; height: 22px; }
.gallery-item { cursor: zoom-in; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1020px) {
  .nav-menu, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split, .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; max-width: 540px; }
}
@media (min-width: 1021px) {
  .brand .brand-text { display: none; }
  .brand img { height: 52px; }
}
@media (max-width: 680px) {
  :root { --header-h: 72px; }
  body { font-size: 1rem; }
  .brand .brand-text { display: none; }
  .brand img { height: 46px; }
  .hero-home { min-height: 92vh; padding: 100px 0 60px; }
  .hero-content { padding: 32px 0; }
  .grid-4, .grid-3, .grid-2, .stat-row { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: auto; min-height: 240px; }
  .floating-whatsapp { right: 18px; bottom: 18px; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { flex: 1 0 100%; width: 100%; }
  .footer-wordmark { font-size: 1.2rem; }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  /* reveal-ready is never added under reduced motion, so these must not
     depend on it — otherwise split headings stay hidden entirely */
  [data-reveal],
  [data-text-reveal] .word,
  .word {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
  .pl-halo, .pl-icon, .pl-warm, .pl-orbit, .pl-arm, .pl-bead, .pl-lockup,
  .nav-cta::after,
  .hero-glow, .marquee-track,
  .scroll-cue span, .floating-whatsapp::before, .journey-cue::after {
    animation: none !important;
  }
  /* keep the full lockup visible & sharp with no motion */
  .pl-icon { opacity: 0 !important; }
  .pl-lockup { opacity: 1 !important; transform: translate(-50%, -50%) scale(1) !important; filter: drop-shadow(0 16px 38px rgba(212,166,42,.28)) !important; }
  .pl-halo { opacity: 1 !important; transform: translate(-50%, -50%) scale(1) !important; }
  .preloader-bar::after { width: 100% !important; }
  .chapter { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* =========================================================================
   MENU PAGE  —  web-native food & drinks  (v5)
   Equally polished on mobile + desktop. transform/opacity motion only.
   ========================================================================= */
.menu-page { background: var(--cream); }

/* ---- Intro band under the hero ---- */
.menu-intro { padding: clamp(46px,6vw,76px) 0 0; }
.menu-intro .container { max-width: 760px; text-align: center; }
.menu-intro h2 {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--green-900); line-height: 1.08;
}
.menu-intro p { color: var(--muted); margin-top: 14px; font-size: clamp(1rem,1.4vw,1.1rem); }
.menu-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px;
  margin-top: 22px;
}
.menu-meta span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--green-800);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; box-shadow: var(--shadow-xs);
}
.menu-meta svg { width: 15px; height: 15px; color: var(--gold); }

/* ---- Sticky control bar: tabs + search + category chips ---- */
.menu-bar {
  position: sticky; top: var(--header-h); z-index: 40;
  margin-top: clamp(34px,5vw,56px);
  background: rgba(255,248,232,.82);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.menu-bar-top {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 0; justify-content: space-between;
}

/* Tab switch with sliding indicator */
.menu-tabs {
  position: relative; display: inline-grid; grid-auto-flow: column;
  grid-auto-columns: 1fr; gap: 0; padding: 5px;
  background: var(--green-50); border: 1px solid var(--line);
  border-radius: 999px; isolation: isolate;
}
.menu-tab {
  position: relative; z-index: 1; border: 0; background: transparent;
  font: 600 .92rem var(--font-sans); letter-spacing: .01em;
  padding: 11px 28px; border-radius: 999px; color: var(--muted);
  cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  white-space: nowrap; transition: color var(--t) var(--ease);
}
.menu-tab svg { width: 17px; height: 17px; }
.menu-tab[aria-selected="true"] { color: #fff; }
.menu-tab-ind {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px); border-radius: 999px;
  background: var(--grad-emerald); box-shadow: var(--shadow-sm);
  transform: translateX(calc(var(--tab, 0) * 100%));
  transition: transform .5s var(--ease-spring);
}

/* Live search */
.menu-search { position: relative; flex: 1 1 220px; max-width: 360px; min-width: 0; }
.menu-search svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--muted); pointer-events: none;
}
.menu-search input {
  width: 100%; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 12px 18px 12px 42px; font: 500 .9rem var(--font-sans);
  background: #fff; color: var(--text); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.menu-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,166,42,.15); }
.menu-search .clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--green-50); color: var(--green-800); display: none;
  align-items: center; justify-content: center; font-size: 15px; line-height: 1;
}
.menu-search.has-value .clear { display: inline-flex; }

/* Category chips (scrollspy) */
.menu-chips-wrap { position: relative; padding-bottom: 12px; }
.menu-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 0;
  scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.menu-chips::-webkit-scrollbar { display: none; }
.menu-chip {
  flex: 0 0 auto; scroll-snap-align: start;
  border: 1px solid var(--line-2); background: #fff; color: var(--green-800);
  font: 600 .8rem var(--font-sans); padding: 9px 16px; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.menu-chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.menu-chip.is-active { background: var(--green-900); color: #fff; border-color: var(--green-900); }

/* ---- Panels ---- */
.menu-panel { display: none; }
.menu-panel.is-active { display: block; animation: menuFade .55s var(--ease) both; }
@keyframes menuFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Category section ---- */
.menu-cat {
  padding: clamp(40px,6vw,76px) 0; border-top: 1px solid var(--line);
  scroll-margin-top: clamp(150px, 20vw, 190px);
}
.menu-cat:first-child { border-top: 0; }
.menu-cat-head { display: flex; align-items: center; gap: clamp(12px,2vw,20px); margin-bottom: clamp(22px,3vw,40px); }
.menu-cat-kicker {
  font: 700 .78rem var(--font-sans); color: var(--gold-ink); letter-spacing: .22em;
  flex: 0 0 auto; padding-top: 6px;
}
.menu-cat-head h2 {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(1.8rem, 4.4vw, 3rem); color: var(--green-900); line-height: 1;
  flex: 0 0 auto;
}
.menu-sun {
  flex: 1 1 auto; height: 1px; min-width: 24px;
  background: var(--grad-divider);
}
.menu-cat-sub { margin: -14px 0 26px; color: var(--muted); font-size: .92rem; max-width: 60ch; }

/* Items list */
.menu-items { list-style: none; display: grid; gap: clamp(15px,2vw,22px) clamp(34px,5vw,72px); grid-template-columns: 1fr; }
@media (min-width: 880px) { .menu-items.cols-2 { grid-template-columns: 1fr 1fr; } }

.m-item { padding-bottom: clamp(13px,1.6vw,17px); border-bottom: 1px solid var(--line); }
.menu-items.cols-2 .m-item { align-self: start; }
.m-row { display: flex; align-items: baseline; gap: 10px; }
.m-name { font-weight: 600; color: var(--text); font-size: clamp(1rem,1.4vw,1.07rem); }
.m-tag {
  font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700); background: var(--green-100); border-radius: 5px;
  padding: 2px 6px; margin-left: 8px; vertical-align: middle;
}
.m-tag.spicy { color: #a8410f; background: #fbe6da; }
.m-tag.veg { color: #2c7d53; background: #e2f3e8; }
.m-dots { flex: 1 1 auto; min-width: 16px; transform: translateY(-4px); border-bottom: 1px dotted rgba(212,166,42,.5); } /* gold price leaders — print-menu convention */
.m-price { font-weight: 700; color: var(--green-800); white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-price i { font-style: normal; color: var(--muted); font-weight: 600; font-size: .72em; margin-left: 1px; }
.m-desc { margin-top: 6px; color: var(--muted); font-size: .85rem; line-height: 1.55; max-width: 56ch; }

/* Dual price (tots / bottle) */
.m-price-dual { display: inline-flex; gap: 16px; text-align: right; }
.m-price-dual > span { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.m-price-dual b { font-weight: 700; color: var(--green-800); font-variant-numeric: tabular-nums; }
.m-price-dual i {
  font-style: normal; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.m-price-head {
  display: flex; justify-content: flex-end; gap: 16px; margin-bottom: 4px;
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700;
}
.m-price-head span { width: 64px; text-align: right; }

/* Section note (prep time etc.) */
.menu-note {
  margin-top: clamp(18px,2.4vw,26px);
  font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--green-700);
  display: flex; align-items: flex-start; gap: 10px;
}
.menu-note svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; margin-top: 3px; }

/* Buffet / signature package cards */
.menu-packs { display: grid; gap: clamp(16px,2.4vw,24px); grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.pack {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px,3vw,32px); box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.pack:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pack.feature { background: var(--grad-emerald); color: #fff; border-color: transparent; }
.pack.feature .pack-name, .pack.feature .pack-price { color: #fff; }
.pack.feature .pack-list li { color: rgba(255,255,255,.85); }
.pack.feature .pack-list svg { color: var(--gold-2); }
.pack-badge {
  align-self: flex-start; font: 800 .62rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-950); background: var(--grad-gold); padding: 6px 12px; border-radius: 999px;
}
.pack-name { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 1.55rem; color: var(--green-900); line-height: 1.05; }
.pack-price { font-weight: 800; font-size: 1.7rem; color: var(--green-800); font-variant-numeric: tabular-nums; }
.pack-price i { font-style: normal; font-size: .55em; color: var(--muted); font-weight: 600; margin-left: 2px; }
.pack-list { list-style: none; display: grid; gap: 9px; }
.pack-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.pack-list svg { width: 15px; height: 15px; color: var(--green-600); flex: 0 0 auto; margin-top: 2px; }
.pack-note { font-size: .76rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.pack.feature .pack-note { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }

/* No-results state */
.menu-empty { display: none; text-align: center; padding: clamp(50px,8vw,90px) 0; }
.menu-empty.show { display: block; }
.menu-empty p { color: var(--muted); font-size: 1.05rem; }
.menu-empty strong { color: var(--green-900); }

/* In-page reservation strip */
.menu-reserve {
  margin-top: clamp(30px,4vw,50px);
  background: var(--grad-dark-section); border-radius: var(--radius-lg);
  padding: clamp(30px,4vw,52px); text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.menu-reserve::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(241,202,85,.18), transparent 65%);
  pointer-events: none;
}
.menu-reserve > * { position: relative; z-index: 1; }
.menu-reserve h3 { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: clamp(1.6rem,3.4vw,2.4rem); color: #fff; }
.menu-reserve p { color: rgba(255,255,255,.8); max-width: 480px; margin: 12px auto 26px; }

/* Mobile tuning */
@media (max-width: 600px) {
  .menu-bar-top { gap: 12px; }
  .menu-tabs { width: 100%; }
  .menu-tab { flex: 1; justify-content: center; padding: 12px 10px; }
  .menu-search { flex: 1 1 100%; max-width: none; order: 3; }
  .menu-cat-head { flex-wrap: wrap; gap: 10px; }
  .menu-cat-head h2 { order: 2; }
  .menu-cat-kicker { order: 1; padding-top: 0; }
  .menu-sun { order: 3; }
}

/* =========================================================================
   HOMEPAGE V5  —  new components (v5)
   ========================================================================= */

/* Two-line CTA pill */
.btn-2line {
  flex-direction: column; gap: 3px;
  padding: 14px 34px; min-height: 62px; line-height: 1.15;
}
.btn-2line b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.18rem; letter-spacing: .05em; }
.btn-2line em { display: block; font-family: var(--font-sans); text-transform: none; font-style: normal; font-size: .72rem; font-weight: 500; opacity: .85; letter-spacing: .01em; }

/* Hero scroll-cue anchor target */
.scroll-cue[href="#day"] { /* keep default styles */ }

/* Brand triptych  —  zone A (dark forest) */
.hp-triptych {
  background: var(--grad-dark-section);
  padding: clamp(60px,8vw,104px) 0;
  position: relative; overflow: hidden;
}
.hp-triptych::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 80% at 50% 0%, rgba(241,202,85,.14), transparent 60%);
}
.hp-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(2px,0.3vw,4px);
}
.hp-pillar {
  position: relative; z-index: 1;
  padding: clamp(32px,4vw,52px) clamp(24px,3vw,40px);
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 14px;
}
.hp-pillar:last-child { border-right: 0; }
@media (max-width:767px) { .hp-pillar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); } }
.hp-pillar-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  color: var(--gold-2);
}
.hp-pillar-icon svg { width: 26px; height: 26px; }
.hp-pillar-num {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(2.4rem,5vw,4rem); font-weight: 600;
  color: rgba(255,255,255,.12); line-height: 1; margin-bottom: -8px;
}
.hp-pillar h3 {
  font-size: clamp(1.15rem,2vw,1.4rem); font-weight: 700;
  color: #fff; line-height: 1.2;
}
.hp-pillar p { font-size: .9rem; color: rgba(255,255,255,.68); line-height: 1.6; }
.hp-pillar a.link { color: var(--gold-2); font-size: .86rem; font-weight: 600; }
.hp-pillar a.link::after { background: var(--gold-2); }

/* A Day at Maya  —  photo-driven strip (replaces journey) */
/* fade v97: same bookend treatment as .section.alt above - experiences.html
   uses this flat-cream section between a white .page-hero-faded-to-white
   and a plain white .section below, so it needs its own white-in/white-out
   edges rather than a flat cut. */
.hp-day {
  padding: clamp(60px,8vw,100px) 0;
  /* the .day-sky child (below) is its own inset:0 gradient at mix-blend-mode:
     multiply, tinting this fade slightly as it plays out; an extra near-
     white stop right before the edge absorbs that interaction so the last
     few pixels don't jump — verified by sampling actual rendered pixels,
     not just eyeballing the swatch. */
  background: linear-gradient(180deg,
    #fff 0%,
    var(--cream) clamp(72px, 8vw, 130px),
    var(--cream) calc(100% - clamp(72px, 8vw, 130px)),
    #fdfbf7 calc(100% - 14px),
    #fff 100%);
}

/* === A DAY AT MAYA — "Golden Thread" day-timeline === */
.day-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px,1.8vw,22px);
  margin-top: clamp(40px,5vw,64px);
}
@media (min-width: 900px) {
  .day-timeline { grid-template-columns: repeat(4, minmax(0,1fr)); padding-top: 38px; }
}

/* horizontal gold rail (desktop) — draws on reveal, then rests */
.day-rail { display: none; }
@media (min-width: 900px) {
  .day-rail {
    display: block; position: absolute; top: 18px; left: 7%; right: 7%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-2) 12%, var(--gold) 88%, transparent);
    transform: scaleX(0); transform-origin: left center; opacity: 0;
  }
  .day-timeline.is-visible .day-rail { animation: railDraw 1.05s var(--ease-premium) forwards; }
}
@keyframes railDraw { to { transform: scaleX(1); opacity: 1; } }

/* plain grid variant — same premium cards, no time-of-day rail (e.g. experiences) */
.day-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(14px,1.8vw,22px);
  margin-top: clamp(40px,5vw,64px);
}
@media (min-width: 620px) { .day-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1000px) { .day-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }

.day-card { position: relative; }

.day-card-link {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(300px,40vw,440px);
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  text-decoration: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 44px -26px rgba(4,18,11,.7);
  transition: transform .5s var(--ease-premium), box-shadow .5s var(--ease-premium), border-color .4s var(--ease);
}
.day-card-link:hover { transform: translateY(-5px); box-shadow: 0 32px 60px -28px rgba(4,18,11,.8); border-color: rgba(241,202,85,.5); }
.day-card-link:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* node sitting on the rail above each card (desktop) */
.day-node { display: none; }
@media (min-width: 900px) {
  .day-node {
    display: block; position: absolute; top: -21px; left: 50%; transform: translateX(-50%) scale(0);
    width: 13px; height: 13px; border-radius: 50%; z-index: 4;
    background: var(--grad-gold);
    box-shadow: 0 0 0 4px rgba(241,202,85,.16), 0 4px 10px -2px rgba(212,166,42,.6);
  }
  .day-timeline.is-visible .day-node { animation: nodePop .5s var(--ease-premium) forwards; }
  .day-timeline.is-visible .day-card:nth-of-type(1) .day-node { animation-delay: .52s; }
  .day-timeline.is-visible .day-card:nth-of-type(2) .day-node { animation-delay: .70s; }
  .day-timeline.is-visible .day-card:nth-of-type(3) .day-node { animation-delay: .88s; }
  .day-timeline.is-visible .day-card:nth-of-type(4) .day-node { animation-delay: 1.06s; }
}
@keyframes nodePop { 0% { transform: translateX(-50%) scale(0); } 60% { transform: translateX(-50%) scale(1.25); } 100% { transform: translateX(-50%) scale(1); } }

.day-card-img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform .9s var(--ease-premium);
}
.day-card-link:hover .day-card-img { transform: scale(1.05); }

/* one consistent legibility scrim + a whisper of per-moment time-tint at the top */
.day-card-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--moment-tint, transparent), transparent 42%),
    linear-gradient(0deg, rgba(4,18,11,.94) 0%, rgba(5,20,13,.72) 34%, rgba(6,22,14,.22) 66%, rgba(6,22,14,0) 100%);
}
.day-card[data-moment="sunrise"] { --moment-tint: rgba(255,186,112,.14); }
.day-card[data-moment="midday"]  { --moment-tint: rgba(150,210,255,.10); }
.day-card[data-moment="golden"]  { --moment-tint: rgba(255,172,84,.16); }
.day-card[data-moment="dusk"]    { --moment-tint: rgba(122,112,210,.16); }

.day-card-body {
  position: relative; z-index: 2; padding: clamp(16px,2vw,24px);
  display: flex; flex-direction: column; gap: 7px;
  transform: translateY(12px); opacity: 0;
  transition: transform .6s var(--ease-premium), opacity .6s var(--ease-premium);
}
.day-card.is-visible .day-card-body { transform: none; opacity: 1; }

/* meta row — index + time badge, one neat line */
.day-card-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.day-index {
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
  letter-spacing: .14em; color: rgba(255,255,255,.5); flex: none;
}
.day-card-time {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--grad-gold); color: var(--green-950);
  font: 500 .78rem var(--font-head); letter-spacing: .07em; text-transform: uppercase;
  box-shadow: 0 8px 18px -8px rgba(212,166,42,.7);
}
.day-ic { width: 14px; height: 14px; flex: none; }

/* title may wrap to two lines (cards are bottom-anchored, so CTAs stay aligned) */
.day-card-title {
  font-family: var(--font-head); font-weight: 500; color: #fff;
  font-size: clamp(1.08rem,1.4vw,1.4rem); line-height: 1.12; letter-spacing: .01em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden;
}
.day-card-line {
  font: 400 .8rem var(--font-sans); color: rgba(255,255,255,.78); line-height: 1.3;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
  overflow: hidden;
}
.day-card-cta {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 3px; white-space: nowrap;
  font: 500 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .07em; color: var(--gold-2);
}
.day-card-cta svg { width: 16px; height: 16px; flex: none; transition: transform var(--t-fast) var(--ease); }
.day-card-link:hover .day-card-cta svg { transform: translateX(4px); }

/* Final full-bleed CTA (dark zone) */
.hp-cta-full {
  padding: clamp(64px,9vw,120px) 0;
  background: var(--grad-dark-section);
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.hp-cta-full::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(241,202,85,.22), transparent 65%),
    radial-gradient(50% 60% at 15% 100%, rgba(30,101,65,.4), transparent 60%);
}
.hp-cta-full > .container { position: relative; z-index: 1; }
.hp-cta-full h2 { color: #fff; font-size: clamp(2rem,5vw,3.4rem); max-width: 600px; margin: 0 auto 20px; }
.hp-cta-full p { color: rgba(255,255,255,.78); max-width: 520px; margin: 0 auto 38px; font-size: clamp(1rem,1.4vw,1.15rem); }
.hp-cta-full .cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hp-cta-contact {
  margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 44px;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 32px;
}
.hp-cta-contact a {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .9rem var(--font-sans); color: rgba(255,255,255,.75); text-decoration: none;
  transition: color var(--t-fast);
}
.hp-cta-contact a:hover { color: #fff; }
.hp-cta-contact svg { width: 18px; height: 18px; color: var(--gold-2); flex: 0 0 auto; }

@media (max-width: 720px) {
  /* A Day at Maya — vertical day-timeline of neat single-line mini-cards */
  .day-timeline { padding-left: 26px; gap: 14px; }
  .day-timeline::before {
    content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, var(--gold-2), var(--gold) 84%, transparent);
  }
  .day-rail { display: none; }

  .day-timeline .day-card::before {
    content: ""; position: absolute; left: -23px; top: 27px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--grad-gold); z-index: 2;
    box-shadow: 0 0 0 4px rgba(241,202,85,.15);
  }

  .day-card-link {
    flex-direction: row; align-items: stretch; min-height: 0;
    background: #fff; border: 1px solid rgba(20,40,28,.09);
    border-radius: 16px; box-shadow: 0 10px 24px -16px rgba(4,18,11,.4);
  }
  .day-card-link:hover { transform: none; box-shadow: 0 10px 24px -16px rgba(4,18,11,.4); border-color: rgba(20,40,28,.09); }
  .day-card-img { position: relative; inset: auto; flex: none; width: 92px; align-self: stretch; }
  .day-card-scrim, .day-node { display: none; }

  .day-card-body {
    flex: 1 1 auto; min-width: 0; justify-content: center;
    padding: 11px 14px; gap: 5px; transform: none; opacity: 1;
  }
  .day-card-meta { gap: 8px; }
  .day-index { color: rgba(20,40,28,.42); font-size: .82rem; }
  .day-card-time { font-size: .66rem; padding: 4px 10px 4px 8px; }
  .day-card-title { color: var(--green-900); font-size: 1.02rem; }
  .day-card-line { color: var(--green-700); font-size: .76rem; }
  .day-card-cta { color: #7c5f10; font-size: .72rem; margin-top: 2px; }
  .day-card-cta svg { width: 14px; height: 14px; }
}
@media (max-width: 380px) {
  .day-card-img { width: 78px; }
  .day-card-title { font-size: .96rem; }
  .day-card-body { padding: 10px 12px; }
}

/* =========================================================================
   ROOMS V5  —  featured split · spec chips · enhanced cards · stay grid
   ========================================================================= */

/* Full-bleed backdrop for the rooms.html stat strip — "image 2". Mirrors
   the .page-hero pattern (full-width <section>, .container child) rather
   than living inside .rooms-intro, so it can sit flush against the hero
   above without the max-width gutter. --stat-banner-img is a CSS custom
   property, not a plain background-image, so a real generated photo can be
   dropped in later via an inline `style="--stat-banner-img: url(...)"` on
   the section without touching this rule — until then the gradient layer
   underneath renders alone as a tasteful placeholder, never a missing-image
   gap. Kept deliberately light/warm (not deep emerald) so it fades cleanly
   into the white .page-hero above and the white .section below with no new
   hard seam to solve, and so the existing dark-green .ri-stat text needs no
   color-scheme fork to stay readable. */
/* opt-in real photo behind the stat strip — url() lives here (not inline)
   so it resolves against this stylesheet's folder, not the HTML page */
.stat-banner.stat-banner--photo { --stat-banner-img: url('../images/home/gardens-slider.jpg'); }
.stat-banner {
  position: relative;
  --stat-banner-img: none;
  background-image: var(--stat-banner-img),
    radial-gradient(120% 140% at 50% 30%, rgba(241,202,85,.22), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--cream) 32%, var(--cream) 68%, #fff 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
}
/* scrim: guarantees the stat row's dark-green text stays readable no matter
   what the real generated photo turns out to look like once supplied, and
   is where that photo's own baked-in top/bottom fade gets a CSS backstop. */
.stat-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg,
    #fff 0%, rgba(255,255,255,.35) clamp(48px,6vw,84px),
    rgba(255,255,255,.1) 50%,
    rgba(255,255,255,.35) calc(100% - clamp(48px,6vw,84px)), #fff 100%);
}
.stat-banner > .container { position: relative; z-index: 1; }

/* Intro stat strip under the hero — v13 "Hallmark Rail"
   An engraved plate: emerald-ink values, gold demoted to the frame only
   (two fading hairlines + one maker's-mark lozenge), № ordinals, and a
   single dawn shimmer on reveal. Shared by rooms / events / experiences. */
.rooms-intro {
  position: relative;
  counter-reset: ord;
  display: flex; flex-wrap: wrap; gap: clamp(20px,4vw,52px);
  padding: clamp(28px,4vw,40px) 0; align-items: center; justify-content: center;
  background:
    linear-gradient(90deg, rgba(212,166,42,0) 0%, rgba(212,166,42,.55) 12%, rgba(212,166,42,.55) 88%, rgba(212,166,42,0) 100%) top / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(212,166,42,0) 0%, rgba(212,166,42,.55) 12%, rgba(212,166,42,.55) 88%, rgba(212,166,42,0) 100%) bottom / 100% 1px no-repeat;
}
/* the struck hallmark: the plate's only bright-gold flourish */
.rooms-intro::before {
  content: ""; position: absolute; top: -3px; left: 50%; z-index: 1;
  width: 6px; height: 6px; transform: translateX(-50%) rotate(45deg);
  background: var(--gold-2);
}
/* one dawn-gold band crosses the plate exactly once on first view */
.rooms-intro::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(241,202,85,.16) 50%, transparent 58%);
  background-size: 250% 100%; background-position: 150% 0; background-repeat: no-repeat;
}
.rooms-intro.is-visible::after { animation: riDawn 1.1s var(--ease-premium) .35s 1 forwards; }
@keyframes riDawn { to { background-position: -50% 0; } }

.rooms-intro .ri-stat {
  position: relative; z-index: 1; text-align: center; min-width: 96px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  counter-increment: ord;
}
/* № ordinal — the editorial ledger index */
.rooms-intro .ri-stat::before {
  content: "\2116\00A0" counter(ord, decimal-leading-zero);
  font-family: var(--font-sans); font-weight: 700; font-size: .62rem;
  letter-spacing: .18em; color: var(--gold-ink);
}
/* shared value zone: numerals, leaves, hall art and tents all seat on
   one optical baseline */
.rooms-intro .ri-stat > :first-child {
  min-height: clamp(46px, 5.5vw, 56px); max-width: 100%;
  display: flex; align-items: flex-end; justify-content: center;
}
.rooms-intro .ri-stat strong {
  display: block; font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(1.5rem,3vw,2.1rem); color: var(--green-900); line-height: 1;
}
.rooms-intro .ri-stat > span:last-child {
  font-family: var(--font-head); text-transform: uppercase;
  font-size: .92rem; color: var(--muted); letter-spacing: .1em;
}
/* unified hairline divider (replaces gold dots + flat rules) */
.rooms-intro .ri-div, .rooms-intro .ri-dot {
  width: 1px; height: 44px; flex: none; border-radius: 0; box-shadow: none;
  background: linear-gradient(180deg, rgba(212,166,42,0), rgba(212,166,42,.7) 50%, rgba(212,166,42,0));
}
@media (max-width: 600px) {
  .rooms-intro .ri-div, .rooms-intro .ri-dot { display: none; }
  /* the ledger survives the stack as a 2×2 plate with 1px gridlines
     (.intro-premium included so its larger flex gap can't override) */
  .rooms-intro, .rooms-intro.intro-premium {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1px; background-color: var(--line);
    padding: 1px 0;
    align-items: stretch; /* cells must fill their row or the gridline background bleeds through */
  }
  .rooms-intro .ri-stat {
    background: var(--white); padding: 18px 10px; min-width: 0;
    justify-content: center;
  }
  /* the actual overflow bug: .ri-stat > :first-child is a flex row, and a
     flex ITEM's default min-width is auto (= its unwrapped content width),
     which overrides overflow-wrap and lets long words like "SIMULTANEOUS"
     or "WELCOME" push past the grid cell and bleed across the gridline.
     min-width:0 lets the item actually shrink and wrap. */
  .rooms-intro .ri-stat > :first-child { min-width: 0; }
  .rooms-intro .ri-num, .rooms-intro .ri-num-serif {
    min-width: 0; max-width: 100%;
    overflow-wrap: break-word; word-break: break-word; hyphens: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rooms-intro::after { display: none; }
}

/* Featured room — large alternating split */
.room-feature {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(26px,4vw,56px); align-items: center;
}
@media (min-width: 880px) {
  .room-feature { grid-template-columns: 1.05fr .95fr; }
  .room-feature.reverse .room-feature-media { order: 2; }
}
.room-feature-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); isolation: isolate; background: var(--green-100);
}
.room-feature-media img {
  width: 100%; height: 100%; min-height: clamp(280px,42vw,480px);
  object-fit: cover; display: block;
  transition: transform .9s var(--ease-premium);
}
.room-feature:hover .room-feature-media img { transform: scale(1.05); }
.room-feature-tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--grad-gold); color: var(--green-950);
  font-weight: 700; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .14em; padding: 8px 15px; border-radius: 999px;
  box-shadow: var(--shadow-gold);
}
.room-feature-body h2 { margin-bottom: 12px; }
.room-feature-body > p { color: var(--muted); max-width: 46ch; }

/* Spec chips (shared by feature + cards) */
.room-specs {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin: clamp(18px,2.4vw,24px) 0;
}
.room-spec {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 600; color: var(--green-900);
  background: var(--green-100); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 13px;
}
.room-spec svg { width: 15px; height: 15px; color: var(--green-700); flex: 0 0 auto; }

/* Gold price line */
.room-price-tag {
  display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
  margin-bottom: clamp(18px,2.4vw,24px);
}
.room-price-tag b {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(1.3rem,2.4vw,1.7rem); color: var(--green-900);
}
.room-price-tag span { font-size: .85rem; color: var(--muted); }

/* Enhanced room cards (the secondary grid) */
.room-card .room-specs { margin: 14px 0 0; }
.room-card .room-spec { font-size: .74rem; padding: 6px 11px; }
.room-card .price { margin-top: 16px; }

/* "Every stay includes" — icon feature grid */
.stay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(12px,1.6vw,18px);
  margin-top: clamp(34px,4vw,52px);
}
.stay-item {
  text-align: center; padding: clamp(26px,3vw,34px) clamp(16px,2vw,22px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.stay-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: #e6dcc0; }
.stay-item .icon-badge { margin: 0 auto 16px; }
.stay-item h3 { font-size: 1rem; font-weight: 700; color: var(--green-900); }
.stay-item p { font-size: .82rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* Booking CTA card on dark */
.room-book-card {
  background: var(--grad-emerald); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(28px,4vw,44px);
  box-shadow: var(--shadow-emerald); position: relative; overflow: hidden;
}
.room-book-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 100% 0%, rgba(241,202,85,.18), transparent 60%);
}
.room-book-card > * { position: relative; z-index: 1; }
.room-book-card h3 { color: #fff; font-size: clamp(1.4rem,2.4vw,1.9rem); }
.room-book-card p { color: rgba(255,255,255,.82); margin-top: 10px; }
.room-book-card .footer-contact-line { color: rgba(255,255,255,.85); }

/* =========================================================================
   EVENTS V5  —  numbered planning steps
   ========================================================================= */
.event-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px,2vw,22px);
  margin-top: clamp(34px,4vw,52px);
}
.event-step {
  position: relative; padding: clamp(26px,3vw,34px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.event-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: #e6dcc0; }
.event-step-num {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(2.2rem,4vw,3rem); color: #9a7b16; line-height: 1;
  margin-bottom: 2px;
}
.event-step h3 { font-size: 1.08rem; font-weight: 700; color: var(--green-900); }
.event-step p { font-size: .88rem; color: var(--muted); line-height: 1.6; }
/* connecting line between steps on wide screens */
@media (min-width: 980px) {
  .event-step:not(:last-child)::after {
    content: ""; position: absolute; top: clamp(40px,5vw,52px); right: -11px;
    width: 22px; height: 2px; background: var(--line-2); z-index: 1;
  }
}

/* =========================================================================
   GALLERY V5  —  responsive masonry (handles any image count)
   ========================================================================= */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-auto-rows: clamp(150px, 22vw, 210px);
  gap: clamp(12px, 1.4vw, 16px);
}
.gallery-masonry .gallery-item {
  min-height: 0; height: 100%; margin: 0;
}
/* accent tiles for rhythm — collapse to normal on small screens */
@media (min-width: 720px) {
  .gallery-masonry .g-tall { grid-row: span 2; }
  .gallery-masonry .g-wide { grid-column: span 2; }
}

/* =========================================================================
   CONTACT / DIRECTIONS V5  —  live map embed · enhanced contact cards
   ========================================================================= */
.map-embed {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  min-height: clamp(320px, 42vw, 460px);
  background: var(--green-100); position: relative;
}
.map-embed iframe {
  display: block; width: 100%; height: 100%;
  min-height: clamp(320px, 42vw, 460px); border: 0;
}
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Contact method cards with icon badges */
.contact-card { text-align: left; }
.contact-card .icon-badge { margin-bottom: 16px; }
.contact-card h3 { font-size: 1.05rem; color: var(--green-900); }
.contact-card p { font-size: .88rem; }
.contact-card a {
  margin-top: 14px; font-size: 1rem;
  transition: gap var(--t) var(--ease), color var(--t) var(--ease);
}
.contact-card a:hover { color: var(--green-900); gap: 12px; }

/* Hours / quick-info list */
.info-list { display: grid; gap: 2px; margin-top: 6px; }
.info-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row span:first-child { color: var(--muted); font-size: .9rem; }
.info-row span:last-child { font-weight: 600; color: var(--green-900); font-size: .9rem; }

/* =========================================================================
   AMENITY PAGES V5  —  utilities + icon-badge on dark hero
   ========================================================================= */
.text-center { text-align: center; }
.text-center .eyebrow { margin-left: auto; margin-right: auto; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted); margin-bottom: 28px;
}
.breadcrumb a { color: var(--green-700); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-900); text-decoration: underline; }
.breadcrumb span { color: var(--muted); }

/* Icon badge inside dark hero — override to white-on-transparent */
.page-hero .icon-badge {
  background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.25);
  color: #fff; margin-bottom: 16px;
}
.page-hero .icon-badge svg { color: var(--gold-2); }

/* Amenity feature section helpers */
.amenity-perks { margin-top: 28px; }
.amenity-perks li { font-size: .92rem; }
.room-feature-body .icon-badge { background: var(--grad-gold); color: var(--green-950); border: 0; margin-bottom: 14px; }
.room-feature-body .icon-badge svg { color: var(--green-950); }

/* =========================================================================
   HOME V6  —  hero logo, trust pills + happy face, stat pop, amenity cards
   ========================================================================= */

/* --- Hero: logo as the heading mark --- */
.hero-logo {
  display: block; width: auto; height: auto;
  max-width: clamp(210px, 40vw, 360px);
  margin-bottom: clamp(18px, 3vw, 28px);
  filter: drop-shadow(0 16px 42px rgba(0,0,0,.45));
}

/* --- Hero trust strip: glass pills (stars removed) --- */
.hero-trust { gap: 12px 14px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.92);
  font-size: .86rem; font-weight: 500; white-space: nowrap;
}
.trust-num {
  color: var(--gold-2); font-weight: 800;
  font-size: 1.04rem; letter-spacing: -.01em;
}

/* --- Animated happy face: draws in, then gently bobs --- */
.happy-face {
  width: 22px; height: 22px; color: var(--gold-2);
  display: inline-flex;
  animation: hfBob 3.2s var(--ease-premium) 1.7s infinite;
}
.happy-face svg { width: 100%; height: 100%; overflow: visible; }
.hf-ring {
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: hfRing .85s var(--ease-premium) .15s forwards;
}
.hf-eye {
  opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: hfEye .4s var(--ease-premium) .72s forwards;
}
.hf-eye-r { animation-delay: .84s; }
.hf-smile {
  stroke-dasharray: 30; stroke-dashoffset: 30;
  animation: hfSmile .5s var(--ease-premium) .98s forwards;
}
@keyframes hfRing { to { stroke-dashoffset: 0; } }
@keyframes hfEye { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes hfSmile { to { stroke-dashoffset: 0; } }
@keyframes hfBob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-2px) rotate(-5deg); }
}

/* --- Showpiece "6+" stat: gold gradient + spring pop --- */
.stat-pop {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent !important;
  display: inline-block;
}
.stat-feature.is-visible .stat-pop {
  animation: statPop 1s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes statPop {
  0%   { opacity: 0; transform: scale(1.65) translateY(8px); filter: blur(5px); }
  55%  { text-shadow: 0 0 44px rgba(241,202,85,.95); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0);
         text-shadow: 0 0 0 rgba(241,202,85,0); }
}

/* --- Amenity cards: icon-led, premium hover --- */
.amenity-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.amenity-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px;
  padding: clamp(30px, 4vw, 46px) clamp(22px, 3vw, 30px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-premium), box-shadow .5s var(--ease-premium), border-color .5s var(--ease-premium);
}
.amenity-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(80% 62% at 50% 0%, rgba(241,202,85,.16), transparent 72%);
  opacity: 0; transition: opacity .5s var(--ease-premium);
}
.amenity-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,166,42,.5);
  box-shadow: 0 26px 60px -22px rgba(212,166,42,.5), var(--shadow);
}
.amenity-card:hover::before { opacity: 1; }
.amenity-card > * { position: relative; z-index: 1; }
.amenity-icon {
  width: clamp(64px, 8vw, 76px); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--grad-gold); color: var(--green-950);
  box-shadow: 0 10px 26px -8px rgba(212,166,42,.6);
  transition: transform .55s var(--ease-premium);
}
.amenity-icon svg { width: 46%; height: 46%; }
.amenity-card:hover .amenity-icon { transform: translateY(-2px) rotate(-6deg) scale(1.08); }
.amenity-card h3 { font-size: clamp(1.1rem, 1.6vw, 1.25rem); margin-top: 4px; }
.amenity-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.amenity-cta {
  margin-top: 6px;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-800); font-weight: 700; font-size: .9rem;
  transition: gap .4s var(--ease-premium), color .4s var(--ease-premium);
}
.amenity-cta svg { width: 16px; height: 16px; }
.amenity-card:hover .amenity-cta { gap: 11px; color: var(--gold); }

@media (max-width: 1020px) { .amenity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .amenity-grid { grid-template-columns: 1fr; } }

/* --- Two-line CTA pills: keep each line unbroken on mobile --- */
.btn-2line b, .btn-2line em { white-space: nowrap; }
@media (max-width: 680px) {
  .btn-2line { padding: 13px 20px; }
  .btn-2line b  { font-size: clamp(.9rem, 4.2vw, 1rem); }
  .btn-2line em { font-size: clamp(.66rem, 3vw, .72rem); }
}

/* Reduced-motion: show happy face fully drawn, no bob/pop */
@media (prefers-reduced-motion: reduce) {
  .happy-face { animation: none !important; }
  .hf-ring, .hf-smile { stroke-dashoffset: 0 !important; }
  .hf-eye { opacity: 1 !important; transform: none !important; }
}

/* =========================================================================
   V7  —  trust ticker, day cards, premium stat strips, room CTAs,
          follow cards, directions redesign, menu ordering cart
   ========================================================================= */

/* --- Hero trust ticker (flip-board) --- */
.trust-pill-ticker { padding-top: 6px; padding-bottom: 6px; }
.trust-ticker {
  display: inline-grid; height: 1.25em; overflow: hidden;
  vertical-align: bottom; min-width: 13.5em; text-align: left;
}
.trust-ticker > span {
  grid-area: 1 / 1; white-space: nowrap;
  animation: trustFlip 7.5s var(--ease-premium) infinite;
}
.trust-ticker > span:nth-child(2) { animation-delay: 2.5s; }
.trust-ticker > span:nth-child(3) { animation-delay: 5s; }
@keyframes trustFlip {
  0%   { transform: translateY(110%); opacity: 0; }
  4%   { transform: translateY(0);    opacity: 1; }
  29%  { transform: translateY(0);    opacity: 1; }
  34%  { transform: translateY(-110%); opacity: 0; }
  100% { transform: translateY(-110%); opacity: 0; }
}

/* --- Premium intro stat strip (rooms + events + experiences) ---
   v13: values are emerald INK; gold lives only in the frame. */
.intro-premium { gap: clamp(16px, 3.5vw, 44px); }
.intro-premium .ri-stat {
  position: relative; min-width: 96px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.intro-premium .ri-num {
  display: inline-block;
  font-family: var(--font-sans); font-weight: 700; line-height: 1;
  font-size: clamp(1.8rem, 3.8vw, 2.4rem); letter-spacing: -.025em;
  color: var(--green-900);
}
.intro-premium .ri-num-word { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.intro-premium .ri-num-serif {
  font-family: var(--font-sans); font-style: normal; font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.85rem); text-transform: none; letter-spacing: -.01em;
  line-height: 1.05; color: var(--green-900);
}
.intro-premium .ri-stat > span:last-child {
  font-family: var(--font-sans); text-transform: uppercase; font-weight: 600;
  font-size: .74rem; color: var(--muted); letter-spacing: .14em;
}
@media (max-width: 600px) {
  .intro-premium .ri-num-serif {
    font-size: clamp(1.15rem, 4vw, 1.5rem); line-height: 1.1;
    overflow-wrap: break-word; word-break: break-word; hyphens: auto;
  }
}

/* five gold stars, fill in sequence on reveal */
.ri-stars { display: inline-flex; gap: 3px; }
.ri-stars svg { width: 22px; height: 22px; color: var(--gold-2); opacity: 0; transform: scale(.4); }
.is-visible .ri-stars svg { animation: starPop .5s var(--ease-premium) forwards; }
.is-visible .ri-stars svg:nth-child(1) { animation-delay: .05s; }
.is-visible .ri-stars svg:nth-child(2) { animation-delay: .15s; }
.is-visible .ri-stars svg:nth-child(3) { animation-delay: .25s; }
.is-visible .ri-stars svg:nth-child(4) { animation-delay: .35s; }
.is-visible .ri-stars svg:nth-child(5) { animation-delay: .45s; }
@keyframes starPop {
  0% { opacity: 0; transform: scale(.4) rotate(-25deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* ripple retired in v13 — an infinite pulse fights the plate's calm */
.ri-num-ripple { position: relative; }
.ri-num-ripple::before { display: none; }
/* --- Room spec icons + per-card WhatsApp CTA + mobile grid --- */
.room-spec .rs-ic {
  width: 15px; height: 15px; color: var(--gold); flex: none;
  margin-right: 5px; vertical-align: -2px;
}
.room-card .room-spec { display: inline-flex; align-items: center; }
.room-inclusion { margin-bottom: 16px; }
.btn-wa-card {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-top: auto; padding: 13px 16px; border-radius: 16px;
  background: #25D366; color: #053d23; text-decoration: none;
  box-shadow: 0 12px 26px -12px rgba(37,211,102,.8);
  transition: transform .4s var(--ease-premium), box-shadow .4s var(--ease-premium), background .3s;
}
.btn-wa-card > svg:first-child { width: 26px; height: 26px; flex: none; }
.btn-wa-card .wa-card-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn-wa-card .wa-card-text b { font-weight: 800; font-size: .92rem; }
.btn-wa-card .wa-card-text em { font-style: normal; font-size: .72rem; opacity: .8; }
.btn-wa-card .wa-card-arrow { width: 18px; height: 18px; margin-left: auto; flex: none; transition: transform .4s var(--ease-premium); }
.btn-wa-card:hover { transform: translateY(-3px); background: #1ebe5b; box-shadow: 0 18px 34px -12px rgba(37,211,102,.9); }
.btn-wa-card:hover .wa-card-arrow { transform: translateX(4px); }
.room-card { display: flex; flex-direction: column; }

@media (max-width: 680px) {
  /* The flagship room grid now follows the global .grid-3 rule (single column
     on phones). The old 2-col !important override here squeezed the cinematic
     .rcard cards two-up on phones; its .card-media/.room-card/.room-spec rules
     were dead (the only .room-grid holds .rcard markup, not legacy cards). */
  .btn-wa-card { padding: 11px 12px; gap: 9px; }
  .btn-wa-card .wa-card-text b { font-size: .8rem; }
  .btn-wa-card .wa-card-text em { font-size: .64rem; }
  .btn-wa-card > svg:first-child { width: 22px; height: 22px; }
}

/* --- Follow Maya cards --- */
.follow-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 20px); margin-top: clamp(2rem, 4vw, 3rem);
}
.follow-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); text-decoration: none; color: var(--green-900);
  transition: transform .45s var(--ease-premium), box-shadow .45s var(--ease-premium), border-color .45s;
}
.follow-icon {
  display: grid; place-items: center; width: 50px; height: 50px; flex: none;
  border-radius: 14px; color: #fff;
}
.follow-icon svg { width: 26px; height: 26px; }
.follow-ig .follow-icon { background: linear-gradient(45deg, #f09433, #e6683c 30%, #dc2743 50%, #cc2366 70%, #bc1888); }
.follow-tt .follow-icon { background: #111; }
.follow-wa .follow-icon { background: #25D366; }
.follow-meta { display: flex; flex-direction: column; line-height: 1.25; }
.follow-meta b { font-weight: 800; font-size: 1rem; }
.follow-meta em { font-style: normal; font-size: .82rem; color: var(--muted); }
.follow-arrow { width: 18px; height: 18px; margin-left: auto; color: var(--muted); transition: transform .4s var(--ease-premium), color .4s; }
.follow-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(212,166,42,.4); }
.follow-card:hover .follow-arrow { transform: translate(3px,-3px); color: var(--gold); }
@media (max-width: 760px) { .follow-grid { grid-template-columns: 1fr; } }

/* --- Directions: 4-step guide --- */
.dir-steps {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 26px); margin-top: clamp(2rem, 4vw, 3rem);
}
.dir-step {
  position: relative; display: flex; gap: 18px; align-items: flex-start;
  padding: clamp(22px, 3vw, 30px); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.dir-step-num {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; background: var(--green-900); color: var(--gold-2);
  font-weight: 800; font-size: 1.05rem;
}
.dir-step-ic {
  position: absolute; top: clamp(22px,3vw,30px); right: clamp(22px,3vw,30px);
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 14px; background: var(--green-100); color: var(--green-800);
}
.dir-step-ic svg { width: 24px; height: 24px; }
.dir-step-body h3 { font-size: clamp(1.1rem,1.6vw,1.25rem); margin-bottom: 6px; padding-right: 44px; }
.dir-step-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.btn-wa-inline {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 10px 18px; border-radius: 999px; background: #25D366; color: #053d23;
  font-weight: 700; font-size: .86rem; text-decoration: none;
  box-shadow: 0 12px 26px -12px rgba(37,211,102,.8);
  transition: transform .4s var(--ease-premium);
}
.btn-wa-inline svg { width: 18px; height: 18px; }
.btn-wa-inline:hover { transform: translateY(-2px); }
@media (max-width: 720px) { .dir-steps { grid-template-columns: 1fr; } }

/* --- Directions: full-width map --- */
.dir-map-section { padding: 0; }
.dir-map-wrap { position: relative; width: 100%; height: clamp(320px, 50vw, 460px); }
.dir-map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(1.05); }
.dir-map-btn {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--green-900); color: #fff; font-weight: 700; font-size: .9rem;
  text-decoration: none; box-shadow: 0 18px 40px -14px rgba(7,26,17,.7);
  transition: transform .4s var(--ease-premium), background .3s;
}
.dir-map-btn svg { width: 18px; height: 18px; color: var(--gold-2); }
.dir-map-btn:hover { transform: translateX(-50%) translateY(-3px); background: var(--green-950); }

/* --- Directions: quick facts --- */
.dir-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 20px); margin-top: clamp(2rem, 4vw, 3rem);
}
.dir-fact {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: clamp(22px, 3vw, 30px) 18px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.dir-fact-ic {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 4px;
  border-radius: 50%; background: var(--grad-gold); color: var(--green-950);
  box-shadow: 0 8px 20px -8px rgba(212,166,42,.6);
}
.dir-fact-ic svg { width: 24px; height: 24px; }
.dir-fact strong { font-size: 1.15rem; color: var(--green-900); }
.dir-fact span { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .dir-facts { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   MENU ORDERING  —  add buttons, floating cart, drawer, order form
   ========================================================================= */
.menu-add {
  flex: none; width: 30px; height: 30px; margin-left: 8px;
  display: grid; place-items: center; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--grad-gold); color: var(--green-950);
  box-shadow: 0 6px 16px -6px rgba(212,166,42,.7);
  transition: transform .3s var(--ease-premium), filter .3s;
}
.menu-add svg { width: 16px; height: 16px; }
.menu-add:hover { transform: scale(1.12); }
.menu-add.added { animation: addPop .45s var(--ease-premium); }
@keyframes addPop { 0% { transform: scale(1); } 45% { transform: scale(1.4); } 100% { transform: scale(1); } }
.m-row .menu-add { align-self: center; }

/* Floating cart button */
.cart-fab {
  position: fixed; right: 20px; bottom: 92px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--green-900); color: #fff; font-weight: 700; font-size: .9rem;
  box-shadow: 0 18px 40px -12px rgba(7,26,17,.6);
  transform: translateY(120px); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease-premium), opacity .4s;
}
.cart-fab.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cart-fab svg { width: 20px; height: 20px; color: var(--gold-2); }
.cart-fab .cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--grad-gold); color: var(--green-950);
  display: inline-grid; place-items: center; font-size: .78rem; font-weight: 800;
}

/* Overlay + drawer */
.cart-overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(7,26,17,.55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; z-index: 80;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--cream, #fff8e8); box-shadow: -20px 0 60px -20px rgba(7,26,17,.5);
  transform: translateX(100%); visibility: hidden;
  transition: transform .5s var(--ease-premium), visibility 0s .5s;
}
.cart-drawer.open { transform: translateX(0); visibility: visible; transition: transform .5s var(--ease-premium), visibility 0s; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line); background: var(--white);
}
.cart-head h3 { font-size: 1.2rem; }
.cart-close { background: none; border: 0; cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--muted); }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-empty { text-align: center; color: var(--muted); padding: 40px 0; font-style: italic; }
.cart-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name { font-weight: 600; font-size: .92rem; color: var(--green-900); }
.cart-line-price { font-size: .8rem; color: var(--muted); }
.cart-qty { display: inline-flex; align-items: center; gap: 8px; }
.cart-qty button {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; font-size: 1rem; line-height: 1; color: var(--green-900);
}
.cart-qty span { min-width: 18px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-foot { padding: 18px 22px; border-top: 1px solid var(--line); background: var(--white); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total b { font-size: 1.3rem; color: var(--green-900); }
.cart-total span { color: var(--muted); font-size: .9rem; }

/* Order form fields */
.order-form { display: grid; gap: 12px; }
.order-form label { font-size: .8rem; font-weight: 700; color: var(--green-800); display: block; margin-bottom: 4px; }
.order-form input[type="text"], .order-form input[type="time"], .order-form textarea {
  width: 100%; padding: 11px 13px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white);
  font: inherit; font-size: .92rem; color: var(--text);
}
.order-form textarea { resize: vertical; min-height: 56px; }
.order-type { display: flex; gap: 8px; }
.order-type label {
  flex: 1; margin: 0; cursor: pointer; text-align: center;
  padding: 11px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); font-weight: 700; font-size: .86rem; color: var(--muted);
  transition: all .25s;
}
.order-type input { position: absolute; opacity: 0; pointer-events: none; }
.order-type input:checked + label, .order-type label.active {
  border-color: var(--green-800); background: var(--green-100); color: var(--green-900);
}
.cart-send {
  display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  padding: 14px; border-radius: 14px; border: 0; cursor: pointer;
  background: #25D366; color: #053d23; font-weight: 800; font-size: .95rem;
  box-shadow: 0 14px 30px -12px rgba(37,211,102,.8); transition: transform .4s var(--ease-premium);
}
.cart-send svg { width: 20px; height: 20px; }
.cart-send:hover { transform: translateY(-2px); }
.cart-send[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.cart-back { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .85rem; margin-bottom: 10px; }

@media (prefers-reduced-motion: reduce) {
  .trust-ticker > span { animation: none !important; }
  .trust-ticker > span:not(:first-child) { display: none; }
  .ri-stars svg { opacity: 1 !important; transform: none !important; }
  .ri-num-ripple::before { display: none; }
}

/* =========================================================================
   V7b  —  mobile overflow lock · orchestrated hero entrance ·
           giant 6+ + amenity mini-pills · cinematic day-of-time cards
   ========================================================================= */

/* --- 1. Mobile overflow: no element may exceed the viewport --- */
main, section, .container, .hero, .hero-content,
.hp-day-grid, .amenity-grid, .grid, .stat-row, .hp-pillars, .split,
.hero-actions, .hero-trust, .footer-grid, .gallery-grid {
  max-width: 100%;
}
/* 1fr tracks default to min-width:auto and can push past the viewport — pin them to 0 */
.hp-day-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .hp-day-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.amenity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1020px) { .amenity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .amenity-grid { grid-template-columns: 1fr; } }
.split { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px)  { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.feature-img, .day-card, .amenity-card { max-width: 100%; }

/* --- 2. Hero entrance: logo first, then the words follow, on open --- */
.hero-content.hero-intro { padding-top: clamp(40px, 6vw, 64px); }
/* Hide the cast only once JS is driving the show (keeps no-JS fully visible) */
html.reveal-ready .hero-intro > .hero-logo,
html.reveal-ready .hero-intro > h1,
html.reveal-ready .hero-intro > p,
html.reveal-ready .hero-intro > .hero-actions,
html.reveal-ready .hero-intro > .hero-trust { opacity: 0; }

html.intro-ready .hero-intro > .hero-logo    { animation: heroLogoIn 1.1s var(--ease-premium) both; }
html.intro-ready .hero-intro > h1            { animation: heroRise .85s var(--ease-premium) .55s both; }
html.intro-ready .hero-intro > p             { animation: heroRise .85s var(--ease-premium) .92s both; }
html.intro-ready .hero-intro > .hero-actions { animation: heroRise .85s var(--ease-premium) 1.22s both; }
html.intro-ready .hero-intro > .hero-trust   { animation: heroRise .85s var(--ease-premium) 1.46s both; }

@keyframes heroLogoIn {
  0%   { opacity: 0; transform: translateY(-34px) scale(.82); filter: blur(8px); }
  58%  { opacity: 1; transform: translateY(5px) scale(1.025); filter: blur(0); }
  100% { opacity: 1; transform: none; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* --- 3. Trust strip: giant animated 6+, amenity mini-pills --- */
.hero-trust { gap: 14px 16px; align-items: stretch; }

.trust-stat {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 8px 20px 8px 17px; border-radius: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.trust-stat-num {
  font-family: var(--font-display); font-weight: 500; line-height: .8;
  font-size: clamp(2.8rem, 10vw, 4rem); letter-spacing: .01em;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.intro-ready .trust-stat-num {
  animation: numPop 1s cubic-bezier(.34, 1.56, .64, 1) 1.7s both;
}
@keyframes numPop {
  0%   { opacity: 0; transform: scale(.35) translateY(12px); filter: blur(5px); }
  55%  { filter: drop-shadow(0 0 24px rgba(241,202,85,.85)); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
.trust-stat-label {
  font: 500 .9rem var(--font-head); text-transform: uppercase; letter-spacing: .13em;
  color: rgba(255,255,255,.85); line-height: 1.12;
}

.trust-amenities { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ta-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ta-pill svg { width: 16px; height: 16px; color: var(--gold-2); flex: none; }
.ta-pill b {
  font: 500 .86rem var(--font-head); text-transform: uppercase; letter-spacing: .09em;
  color: rgba(255,255,255,.92);
}
html.intro-ready .ta-pill { animation: taPop .55s var(--ease-premium) both; }
html.intro-ready .ta-pill:nth-child(1) { animation-delay: 1.72s; }
html.intro-ready .ta-pill:nth-child(2) { animation-delay: 1.84s; }
html.intro-ready .ta-pill:nth-child(3) { animation-delay: 1.96s; }
html.intro-ready .ta-pill:nth-child(4) { animation-delay: 2.08s; }
html.intro-ready .ta-pill:nth-child(5) { animation-delay: 2.20s; }
@keyframes taPop {
  from { opacity: 0; transform: translateY(10px) scale(.9); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  /* Give the amenity pills their own row so they wrap inside the viewport */
  .trust-amenities { display: flex; flex-basis: 100%; width: 100%; gap: 7px; }
}
@media (max-width: 480px) {
  .trust-stat-num { font-size: clamp(2.2rem, 13vw, 2.8rem); }
  .ta-pill { padding: 6px 11px 6px 9px; }
  .ta-pill b { font-size: .62rem; letter-spacing: .08em; }
}

/* --- 5. Motion-safe fallbacks --- */
@media (prefers-reduced-motion: reduce) {
  html.intro-ready .hero-intro > * { animation: none !important; opacity: 1 !important; }
  .trust-stat-num, .ta-pill { animation: none !important; opacity: 1 !important; }
  .day-rail, .day-node { animation: none !important; opacity: 1 !important; transform: none !important; }
  .day-timeline.is-visible .day-rail { transform: scaleX(1); opacity: 1; }
  .day-timeline.is-visible .day-node { transform: translateX(-50%) scale(1); }
  .day-card-body { transform: none !important; opacity: 1 !important; }
}

/* =========================================================================
   MAYA MOTION SYSTEM v9  —  next-level scroll/pointer choreography
   (all composited; JS-gated; reduced-motion safe at the bottom)
   ========================================================================= */

/* --- 1 · Scroll progress bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9000;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 14px rgba(241,202,85,.65);
  pointer-events: none; will-change: transform;
}

/* --- 2 · Hero depth: image plane parallaxes on scroll(--py) + pointer/gyro(--mx,--my) --- */
.hero-home .hero-bg { --py: 0px; --mx: 0px; --my: 0px; }
.hero-home .hero-image {
  transform: translate3d(var(--mx), calc(var(--py) + var(--my)), 0) scale(1.06);
  animation: heroKen 26s var(--ease) infinite alternate;
}
/* Ken-Burns as a composited transform (no per-frame repaint); the live
   parallax vars ride along so both run on the GPU. */
@keyframes heroKen {
  0%   { transform: translate3d(var(--mx), calc(var(--py) + var(--my)), 0) scale(1.06); }
  100% { transform: translate3d(var(--mx), calc(var(--py) + var(--my)), 0) scale(1.18); }
}
/* hero content cinematic hand-off as you scroll away */
.hero-home .hero-content { --ho: 1; --hy: 0px; --hb: 0px; }
html.reveal-ready .hero-home .hero-content {
  opacity: var(--ho);
  transform: translateY(var(--hy));
  filter: blur(var(--hb));
  will-change: transform, opacity;
}

/* --- 3 · "A day at Maya" sky-scrub overlay + travelling sun --- */
.hp-day { position: relative; isolation: isolate; --sun-x: 50%; --sun-y: 30%; --sun-op: .85; }
.day-sky {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .2; transition: opacity .5s var(--ease);
  mix-blend-mode: multiply;
  /* fade v97: this tint has no edges of its own - unmasked, it multiplies
     evenly right up to the element boundary, so no matter how carefully the
     background gradient above fades to white, the composited result never
     actually reaches white and a seam reappears against the plain section
     below. Fade it out in lockstep with the same band the background uses. */
  -webkit-mask-image: linear-gradient(180deg,
    transparent 0, #000 clamp(72px, 8vw, 130px),
    #000 calc(100% - clamp(72px, 8vw, 130px)), transparent 100%);
          mask-image: linear-gradient(180deg,
    transparent 0, #000 clamp(72px, 8vw, 130px),
    #000 calc(100% - clamp(72px, 8vw, 130px)), transparent 100%);
}
.hp-day::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: clamp(90px, 12vw, 156px); aspect-ratio: 1; border-radius: 50%;
  left: var(--sun-x); top: var(--sun-y); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,238,176,.95), rgba(255,205,95,.4) 44%, transparent 70%);
  opacity: var(--sun-op); filter: blur(2px); mix-blend-mode: screen;
}
.hp-day > .container { position: relative; z-index: 1; }

/* --- 4 · 3D card tilt + specular gloss (desktop) / press (touch) --- */
.tilt3d { --rx: 0deg; --ry: 0deg; transform-style: preserve-3d; }
.card.tilt3d.is-tilting,
.amenity-card.tilt3d.is-tilting,
.hp-pillar.tilt3d.is-tilting {
  transform: perspective(950px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
  transition: transform .14s var(--ease);
}
.card.tilt3d::after, .amenity-card.tilt3d::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(150px 150px at var(--gx,50%) var(--gy,50%), rgba(255,255,255,.22), transparent 62%);
}
.card.tilt3d.is-tilting::after, .amenity-card.tilt3d.is-tilting::after { opacity: 1; }
.tilt3d.is-press { transform: scale(.972); transition: transform .22s var(--ease); }

/* --- 5 · Clip-path "unveil" reveals (editorial wipe) --- */
.reveal-ready [data-reveal="wipe"],
.reveal-ready [data-reveal="wipe-r"] {
  opacity: 1; transform: none; filter: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.05s var(--ease-premium);
}
.reveal-ready [data-reveal="wipe-r"] { clip-path: inset(0 0 0 100%); }
.reveal-ready [data-reveal="wipe"].is-visible,
.reveal-ready [data-reveal="wipe-r"].is-visible { clip-path: inset(0 0 0 0); }

/* --- 6 · Pillar icon springs in on reveal --- */
.reveal-ready .hp-pillar .hp-pillar-icon {
  opacity: 0; transform: scale(.55) rotate(-14deg);
  transition: opacity .6s var(--ease-premium) .12s, transform .7s var(--ease-spring) .12s;
}
.reveal-ready .hp-pillar.is-visible .hp-pillar-icon { opacity: 1; transform: none; }

/* --- 7 · Ambient gradient mesh in dark sections --- */
.section.dark { position: relative; overflow: hidden; }
.section.dark::before {
  content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 48% at 18% 28%, rgba(44,125,83,.55), transparent 60%),
    radial-gradient(40% 50% at 82% 72%, rgba(212,166,42,.20), transparent 62%);
  filter: blur(44px);
  animation: meshDrift 26s var(--ease) infinite alternate;
}
.section.dark > * { position: relative; z-index: 1; }
@keyframes meshDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(5%,4%) scale(1.12); }
}

/* --- 8 · Motion-safe fallbacks for everything above --- */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .hero-home .hero-image { animation: none; transform: scale(1.04); }
  html.reveal-ready .hero-home .hero-content { opacity: 1 !important; transform: none !important; filter: none !important; }
  .day-sky, .hp-day::before { display: none; }
  .tilt3d.is-tilting, .tilt3d.is-press { transform: none !important; }
  .card.tilt3d.is-tilting::after, .amenity-card.tilt3d.is-tilting::after { opacity: 0 !important; }
  .reveal-ready [data-reveal="wipe"], .reveal-ready [data-reveal="wipe-r"] { clip-path: none !important; }
  .reveal-ready .hp-pillar .hp-pillar-icon { opacity: 1 !important; transform: none !important; }
  .section.dark::before { animation: none; }
}

/* =========================================================================
   v10 "Artistic Identity"
   A: Preloader (real-logo sunrise reveal — see top preloader block)
   B: Nav (Marcellus masthead)  C: CTA Syne+foil  D: Amenity scenes
   E: Stat art  F: Rooms polish  G: Menu photos  ★→leaf sitewide
   ========================================================================= */

/* ─── B · Desktop nav — Montserrat, refined (icons removed) ───── */
@media (min-width: 1021px) {
  .nav-menu { gap: clamp(2px, .7vw, 10px); }
  .nav-menu a {
    font-size: .82rem;
    letter-spacing: .12em;
    padding: 9px 8px 11px;
  }
  /* gentle gold tint creeps in on hover before the underline lands */
  .nav-menu a:hover { color: var(--gold-soft); }
}
/* legacy nav-art icon span — neutralised (no longer injected) */
.nav-ic { display: none !important; }

/* ─── C · CTA Buttons — Syne font + ticket-stub + foil shimmer ─────────── */
/* Override base btn font → Syne */
.btn { font-family: var(--font-sans); }

/* btn-primary: refined type + a gold accent bar (glass fill defined above) */
.btn-primary {
  font-weight: 700; font-size: 1rem;
  border-radius: 14px;
  letter-spacing: .02em;
}
.btn-primary svg { color: var(--gold-2); }
/* gold accent bar (replaces the old foil shimmer) */
.btn-primary::before {
  content: "";
  position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  pointer-events: none;
}

/* btn-light "Explore Experiences": refined glass */
.btn-light {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .97rem;
  border-radius: 14px;
  letter-spacing: .03em;
}

/* btn-2line: two-tier layout — left-aligned to pair with the gold accent bar */
.btn-2line {
  flex-direction: column; gap: 3px;
  padding: 13px 24px;
  text-transform: none; letter-spacing: 0;
  align-items: flex-start; text-align: left;
}
.btn-2line b {
  font-family: var(--font-sans); font-weight: 700; font-size: .98rem;
  letter-spacing: -.01em; line-height: 1;
}
.btn-2line em {
  font-style: normal; font-size: .74rem; font-weight: 400;
  letter-spacing: .03em; opacity: .8; line-height: 1; white-space: nowrap;
}

/* ===== D · Amenity photo cards (v16) =====
   Real photography, full-bleed, one calm gradient scrim — no per-scene
   animation. Cards without photography yet (.is-reserved) get a single
   unified engraved-emerald field + hairline gold ring icon instead of a
   mismatched "coming soon" placeholder, so the grid reads as one
   deliberate system regardless of which cards have photos. The chapter
   numeral (::before, further down) is untouched — it was already static. ===== */
.amenity-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4/3;
  align-self: start; /* don't let the grid stretch us flat — let aspect-ratio set height */
  background: #06140d; border: 0;
  border-radius: var(--radius);
  text-decoration: none; color: #fff;
  box-shadow: 0 22px 50px -26px rgba(0,0,0,.8);
  transition: transform .5s var(--ease-premium), box-shadow .5s var(--ease-premium);
  isolation: isolate;
}
.amenity-card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -28px rgba(0,0,0,.9); }
.amenity-card::before { content: none; } /* kill legacy v9 radial pseudo; the chapter numeral re-enables it below at higher specificity */

.amenity-card .am-photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .6s var(--ease-premium); will-change: transform;
}
.amenity-card:hover .am-photo { transform: scale(1.045); }
/* both source photos are portrait (608x1080); a plain center crop into a
   4:3 card misses the subject — nudge the visible window to keep it in frame */
.amenity-breakfast .am-photo { object-position: center 62%; }
.amenity-zip .am-photo { object-position: center 92%; }

.amenity-card.is-reserved .am-field {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(212,166,42,.12), transparent 60%),
    linear-gradient(165deg, var(--green-900) 0%, var(--green-950) 100%);
}
.amenity-card.is-reserved .am-mark {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%); z-index: 1;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(250,242,221,.05); border: 1px solid rgba(241,202,85,.4);
  color: var(--gold-2);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.amenity-card.is-reserved .am-mark svg { width: 26px; height: 26px; }
.amenity-card.is-reserved:hover .am-mark { border-color: rgba(241,202,85,.7); background: rgba(250,242,221,.09); }

.amenity-card .am-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, rgba(7,26,17,.92) 0%, rgba(7,26,17,.55) 40%, rgba(7,26,17,.06) 66%, transparent 100%);
}
.amenity-card.is-reserved .am-scrim {
  background: linear-gradient(0deg, rgba(7,26,17,.82) 0%, rgba(7,26,17,.3) 44%, transparent 74%);
}

.amenity-card .am-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: clamp(16px, 2.4vw, 22px) clamp(16px, 2.2vw, 20px) clamp(14px, 2vw, 18px);
}
.amenity-card .am-cap h3 {
  color: #fff; font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); margin: 0 0 3px; letter-spacing: .01em;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.amenity-card .am-cap p { color: rgba(255,255,255,.8); font-size: .8rem; line-height: 1.35; margin: 0 0 9px; }
.am-cta { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-2);
  font-family: var(--font-sans); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.am-cta svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.amenity-card:hover .am-cta svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .amenity-card .am-photo { transition: none; }
  .amenity-card:hover .am-photo { transform: none; }
}

/* ── legacy v10 per-scene rules below are inert (classes removed) ── */

/* ── Pool: deep-blue wave-glow ── */
.amenity-pool .amenity-scene { background: linear-gradient(165deg, #04568a 0%, #0880b8 45%, #1aaad6 100%); }
.pool-caustic {
  position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background:
    radial-gradient(ellipse 55% 35% at 30% 40%, rgba(120,220,255,.55), transparent 65%),
    radial-gradient(ellipse 45% 28% at 70% 60%, rgba(80,200,245,.45), transparent 60%);
  animation: causticShift 5s ease-in-out infinite alternate;
}
@keyframes causticShift {
  from { opacity: .35; transform: scale(1) rotate(-2deg); }
  to   { opacity: .6; transform: scale(1.1) rotate(2deg); }
}
.pool-wave-el {
  position: absolute; left: -10%; right: -10%; height: 3px;
  border-radius: 3px; background: rgba(255,255,255,.45);
}
.pool-wave-el:nth-child(1) { top: 42%; animation: waveMove 3.2s ease-in-out infinite; --wd:.1s; }
.pool-wave-el:nth-child(2) { top: 52%; animation: waveMove 2.8s ease-in-out infinite .85s; }
.pool-wave-el:nth-child(3) { top: 61%; animation: waveMove 3.5s ease-in-out infinite 1.7s; }
.pool-wave-el:nth-child(4) { top: 70%; height: 2px; animation: waveMove 2.5s ease-in-out infinite 2.4s; }
.pool-wave-el:nth-child(5) { top: 78%; height: 2px; animation: waveMove 3s ease-in-out infinite 3.1s; }
@keyframes waveMove {
  0%   { transform: scaleX(.88) translateX(-6%); opacity: .25; }
  50%  { transform: scaleX(1.12) translateX(6%); opacity: .65; }
  100% { transform: scaleX(.88) translateX(-6%); opacity: .25; }
}

/* ── Gym: stickman doing bicep curl ── */
.amenity-gym .amenity-scene { background: linear-gradient(165deg, #0b2a14 0%, #142d1c 50%, #1a3a22 100%); }
.gym-stickman {
  position: absolute; left: 50%; top: 45%; width: 68px; height: 88px;
  transform: translate(-50%, -50%); opacity: .85;
}
.stick-arm-r {
  transform-origin: 55% 37%;
  animation: armCurl 1.35s ease-in-out infinite alternate;
}
@keyframes armCurl {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-88deg); }
}
.stick-leg-l {
  transform-origin: 46% 72%;
  animation: legSway 2.7s ease-in-out infinite alternate;
}
.stick-leg-r {
  transform-origin: 54% 72%;
  animation: legSway 2.7s ease-in-out infinite alternate-reverse;
}
@keyframes legSway {
  from { transform: rotate(0deg); }
  to   { transform: rotate(6deg); }
}
/* Glow rings in background */
.gym-bg-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(46,125,83,.35);
  animation: gymRingPulse 3.5s ease-in-out infinite;
}
.gym-bg-ring:nth-child(1) { width: 80px; height: 80px; top: 30%; left: 35%; animation-delay: 0s; }
.gym-bg-ring:nth-child(2) { width: 120px; height: 120px; top: 20%; left: 25%; animation-delay: 1.2s; opacity: .5; }
@keyframes gymRingPulse {
  0%,100% { opacity: .2; transform: scale(1); }
  50%     { opacity: .55; transform: scale(1.12); }
}

/* ── Sauna: amber glow + rising steam ── */
.amenity-sauna .amenity-scene { background: linear-gradient(165deg, #3d1a04 0%, #5c2a08 50%, #7a3d10 100%); }
.sauna-rocks {
  position: absolute; bottom: 30%; left: 50%; transform: translateX(-50%);
  width: 52px; opacity: .75;
}
.sauna-glow {
  position: absolute; bottom: 24%; left: 50%; transform: translateX(-50%);
  width: 64px; height: 24px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,120,30,.7), transparent 70%);
  animation: saunaGlow 2.2s ease-in-out infinite alternate;
}
@keyframes saunaGlow {
  from { opacity: .55; transform: translateX(-50%) scaleX(.9); }
  to   { opacity: 1; transform: translateX(-50%) scaleX(1.1); }
}
.steam-wisp {
  position: absolute; bottom: 32%; pointer-events: none;
}
.steam-wisp path { fill: none; stroke: rgba(255,255,255,.5); stroke-linecap: round; stroke-width: 2; }
.steam-wisp:nth-child(1) { left: 38%; animation: steamUp 2.6s ease-out infinite; }
.steam-wisp:nth-child(2) { left: 50%; animation: steamUp 2.6s ease-out infinite .9s; }
.steam-wisp:nth-child(3) { left: 58%; animation: steamUp 2.6s ease-out infinite 1.8s; }
@keyframes steamUp {
  0%   { transform: translateY(0) scaleX(1); opacity: 0; }
  15%  { opacity: .75; }
  75%  { opacity: .2; }
  100% { transform: translateY(-55px) scaleX(.35); opacity: 0; }
}

/* ── Breakfast: warm golden steam ── */
.amenity-breakfast .amenity-scene {
  background: linear-gradient(165deg, #6b3500 0%, #9b5a10 50%, #c07820 100%);
}
.breakfast-steam {
  position: absolute; bottom: 35%; left: 50%; transform: translateX(-50%);
}
.breakfast-steam span {
  display: block; width: 3px; height: 20px;
  border-radius: 3px; background: rgba(255,255,255,.45);
  animation: brkSteam 2.2s ease-out infinite;
}
.breakfast-steam span:nth-child(1) { margin-left: -10px; animation-delay: 0s; }
.breakfast-steam span:nth-child(2) { margin-left: 7px; animation-delay: .75s; }
.breakfast-steam span:nth-child(3) { margin-left: -4px; animation-delay: 1.5s; }
@keyframes brkSteam {
  0%   { transform: translateY(0) scaleX(1); opacity: 0; }
  15%  { opacity: .7; }
  100% { transform: translateY(-40px) scaleX(.2); opacity: 0; }
}
.breakfast-plate {
  position: absolute; bottom: 28%; left: 50%; transform: translateX(-50%);
  opacity: .6;
}

/* ── Dancing Fountain: blue arcs ── */
.amenity-fountain .amenity-scene {
  background: linear-gradient(165deg, #041525 0%, #082444 50%, #0d3563 100%);
}
.fountain-arc {
  position: absolute; bottom: 24%; left: 50%; transform: translateX(-50%);
}
.fountain-arc path {
  fill: none; stroke-linecap: round;
  animation: arcShoot 1.8s ease-out infinite;
}
.fountain-arc path:nth-child(1) { stroke: rgba(100,200,255,.7); stroke-width: 2; animation-delay: 0s; }
.fountain-arc path:nth-child(2) { stroke: rgba(80,170,255,.55); stroke-width: 1.5; animation-delay: .35s; }
.fountain-arc path:nth-child(3) { stroke: rgba(120,220,255,.45); stroke-width: 1.5; animation-delay: .7s; }
@keyframes arcShoot {
  0%   { opacity: 0; stroke-dashoffset: 120; }
  10%  { opacity: 1; }
  80%  { opacity: .6; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}
.fountain-arc path { stroke-dasharray: 120; }
.fountain-base { position: absolute; bottom: 22%; left: 50%; transform: translateX(-50%); opacity: .5; }

/* ── Zip-line: traveller on a line ── */
.amenity-zip .amenity-scene {
  background: linear-gradient(165deg, #0a2810 0%, #123518 50%, #1a4822 100%);
}
.zip-line-el {
  position: absolute; left: 10%; right: 5%; top: 40%;
  height: 2px; background: rgba(255,255,255,.35);
  transform: rotate(14deg); transform-origin: left center;
}
.zip-rider {
  position: absolute; top: calc(40% - 4px); left: 10%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 12px rgba(241,202,85,.8);
  animation: zipRide 2.2s var(--ease-premium) infinite;
}
@keyframes zipRide {
  from { left: 12%; top: calc(40% - 4px); }
  to   { left: 83%; top: calc(56% - 4px); }
}
.zip-trees {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(0deg, rgba(10,40,16,.9) 0%, transparent 100%);
}

/* ===== events.html "image 3" — fresh Syne-led typographic showcase,
   replacing the illustrated hall-art/tent-icon containers formerly here
   (.ri-stat-hall-art / .hall-bg / .hall-floor / .hall-num / .stat-tents /
   .stat-compass — all removed, none had any remaining HTML references).
   Distinct from rooms/experiences' .rooms-intro plate on purpose: bigger
   scale, a warm gold-tinted panel, Syne pushed harder since this is the
   events page's own showcase moment rather than a shared component. ===== */
.ev-showcase {
  position: relative;
  padding: clamp(48px, 7vw, 76px) 0;
  background: linear-gradient(180deg,
    #fff 0%, rgba(247,230,176,.34) clamp(48px, 6vw, 84px),
    rgba(247,230,176,.34) calc(100% - clamp(48px, 6vw, 84px)), #fff 100%);
}
.ev-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}
.ev-stat { position: relative; text-align: center; padding: 0 clamp(8px, 1.5vw, 18px); }
.ev-stat + .ev-stat::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212,166,42,.55), transparent);
}
.ev-stat strong {
  display: block; font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -.025em;
  color: var(--green-900); line-height: 1;
}
.ev-stat span {
  display: block; margin-top: 9px; font-family: var(--font-sans);
  text-transform: uppercase; font-size: .72rem; letter-spacing: .14em;
  font-weight: 600; color: var(--muted); line-height: 1.35;
}
/* the two word-based stats (vs. numeral-based) read at a calmer size -
   "Simultaneous" set at the numeral scale would either overflow a quarter-
   width column or force an awkward 2-line wrap under a line-height tuned
   for single-line numerals. */
.ev-stat-word strong { font-size: clamp(1.25rem, 2.8vw, 1.8rem); letter-spacing: -.01em; text-transform: none; }
@media (max-width: 760px) {
  .ev-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(28px, 6vw, 40px); }
  .ev-stat:nth-child(odd)::before { display: none; }
}

/* ─── F · Rooms page: btn-wa-card fix + leaf stars ──────────────────────── */
/* Fix stretched wording on room reserve buttons */
.btn-wa-card {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--green-900);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff; text-decoration: none;
  transition: background .22s var(--ease), transform .18s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 4px 18px rgba(15,61,37,.25);
}
.btn-wa-card:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(15,61,37,.35); }
.btn-wa-card > svg:first-child { width: 20px; height: 20px; flex: none; color: #25D366; }
.wa-card-text {
  flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.wa-card-text b {
  font-family: var(--font-sans); font-weight: 700; font-size: .88rem;
  white-space: normal; word-break: break-word; line-height: 1.2;
  color: #fff;
}
.wa-card-text em {
  font-family: var(--font-sans); font-style: normal;
  font-size: .72rem; color: rgba(255,255,255,.65); font-weight: 400;
}
.wa-card-arrow { width: 16px; height: 16px; flex: none; opacity: .55; }

/* Brand leaf mark — replaces ★ stars sitewide */
.leaf-stars {
  display: inline-flex; align-items: center; gap: 4px;
  line-height: 0;
}
.leaf-stars svg { width: 14px; height: 14px; color: var(--gold); }
.hero-page .stars .leaf-stars svg,
.quote-card .stars .leaf-stars svg { color: var(--gold-2); }

/* Rooms ri-stars leaf marks */
.ri-stars { display: inline-flex; align-items: center; gap: 5px; }
.ri-stars svg { width: 16px; height: 16px; color: var(--gold); }

/* ─── G · Menu photo sections ───────────────────────────────────────────── */
.menu-cat-hero {
  width: 100%; border-radius: var(--radius-sm);
  margin-bottom: 28px; display: block;
  object-fit: cover; object-position: center;
  height: clamp(180px, 26vw, 300px);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease);
}
.menu-cat-hero:hover { transform: scale(1.015); }

/* Desktop: 2-col layout — photo sticky left, content right */
@media (min-width: 860px) {
  .menu-cat.has-photo {
    display: grid;
    grid-template-columns: clamp(260px, 36%, 400px) 1fr;
    gap: 36px 44px;
    align-items: start;
  }
  .menu-cat.has-photo .menu-cat-hero {
    height: clamp(280px, 42vw, 480px);
    margin-bottom: 0;
    grid-row: 1 / span 4;
    position: sticky; top: 106px;
  }
  .menu-cat.has-photo .menu-cat-head { grid-column: 2; }
  .menu-cat.has-photo .menu-items { grid-column: 2; }
  .menu-cat.has-photo .menu-cat-sub { grid-column: 2; }
  .menu-cat.has-photo .menu-note { grid-column: 2; }
  .menu-cat.has-photo .menu-packs { grid-column: 2; }
}

/* Drinks panel: cocktail hero banner */
.drinks-photo-banner {
  width: 100%; border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 36px; position: relative;
  height: clamp(200px, 30vw, 360px);
}
.drinks-photo-banner img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}
.drinks-photo-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(4,18,11,.7) 100%);
}
.drinks-banner-title {
  position: absolute; bottom: 24px; left: 28px; z-index: 2;
  color: #fff; font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -.02em;
}
.drinks-banner-title em { color: var(--gold-2); font-style: normal; }

/* ─── Reduced-motion fallbacks ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .btn-primary::before { animation: none !important; }
  .pool-caustic, .pool-wave-el { animation: none !important; opacity: .35; }
  .stick-arm-r, .stick-leg-l, .stick-leg-r { animation: none !important; }
  .gym-bg-ring { animation: none !important; }
  .sauna-glow, .steam-wisp { animation: none !important; }
  .breakfast-steam span { animation: none !important; }
  .fountain-arc path { animation: none !important; opacity: .6; stroke-dashoffset: 0; }
  .zip-rider { animation: none !important; }
  .menu-cat-hero { transition: none; }
}

/* v10 arm-pivot fix: rotate around shoulder joint (fill-box 0,0) */
.stick-arm-r { transform-box: fill-box; transform-origin: 0% 0%; }

/* ════════════════════════════════════════════════════════════════════════
   ROOMS — flagship cinematic room cards (v12, universal component)
   ════════════════════════════════════════════════════════════════════════ */
.room-grid { align-items: start; }
.rcard {
  position: relative; display: block; align-self: start;
  aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: #0a0f0c; color: #fff; text-decoration: none;
  box-shadow: 0 40px 80px -44px rgba(0,0,0,.9);
  transition: transform .6s var(--ease-premium), box-shadow .6s var(--ease-premium);
}
.rcard:hover { transform: translateY(-8px); box-shadow: 0 56px 100px -46px rgba(0,0,0,1); }
.rcard:focus-within { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.rc-ph { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.rc-img { position: absolute; inset: -6%; background-size: cover; background-position: center;
  animation: rcKen 20s ease-in-out infinite alternate; transition: transform .8s var(--ease-premium); }
.rcard:hover .rc-img { transform: scale(1.07); }
@keyframes rcKen { 0% { transform: scale(1.05); } 100% { transform: scale(1.15) translate(-2%,-2%); } }

.rc-grade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,22,14,.30) 0%, rgba(6,16,10,.05) 32%, rgba(4,12,8,.62) 66%, rgba(3,9,6,.96) 100%),
              radial-gradient(120% 80% at 50% 0%, rgba(241,202,85,.10), transparent 55%); }
.rc-grain { position: absolute; inset: 0; z-index: 2; opacity: .06; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* perf: a radial-gradient scrim reads the same as the vignette it replaced
   (darkened corners framing the photo) but is far cheaper to rasterize than
   a 120px-blur inset box-shadow repeated across 6 cards. */
.rc-vig { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 45%, transparent 38%, rgba(0,0,0,.5) 100%); }
.rc-frame { position: absolute; inset: 13px; z-index: 5; border-radius: 16px; pointer-events: none;
  border: 1px solid rgba(241,202,85,.24); animation: rcBreathe 6s ease-in-out infinite; transition: border-color .5s var(--ease); }
@keyframes rcBreathe { 0%,100% { border-color: rgba(241,202,85,.2); } 50% { border-color: rgba(241,202,85,.4); } }
.rcard:hover .rc-frame { border-color: rgba(241,202,85,.7); }

.rc-idx { position: absolute; top: 22px; left: 24px; z-index: 6; font-family: "Marcellus", serif;
  font-size: clamp(24px,2.4vw,30px); color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.rc-idx::after { content: ""; display: block; width: 30px; height: 1px; margin-top: 7px;
  background: linear-gradient(90deg, var(--gold-2), transparent); }

.rc-seal { position: absolute; top: 22px; right: 22px; z-index: 6; overflow: hidden;
  font-family: "Syne", sans-serif; font-weight: 700; font-size: 11px; color: #3e2c08;
  background: linear-gradient(180deg,#fff3cf,#f3d271 17%,#e3b53e 44%,#c8971d 70%,#a87c14); padding: 8px 13px; border-radius: 999px;
  box-shadow: 0 10px 22px rgba(212,166,42,.5), inset 0 1px 0 rgba(255,255,255,.8); }
.rc-seal::after { content: ""; position: absolute; top: 0; left: -60%; width: 46%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.9), transparent); transform: skewX(-18deg); animation: rcSheen 4s ease-in-out infinite; }
@keyframes rcSheen { 0%,60% { left: -60%; } 85%,100% { left: 140%; } }

.rc-dots { position: absolute; left: 26px; z-index: 6; display: flex; gap: 6px; bottom: clamp(176px, 24vw, 210px); }
.rc-dots i { width: 18px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.32); }
.rc-dots i.on { background: var(--gold-2); width: 26px; }

.rc-glass { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 6; padding: 17px 17px 16px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(12,26,18,.30), rgba(6,16,11,.74));
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 20px 40px -20px rgba(0,0,0,.7);
  transition: transform .5s var(--ease-premium); }
.rcard:hover .rc-glass { transform: translateY(-4px); }
.rc-kick { display: block; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 10px;
  text-transform: uppercase; letter-spacing: .18em; color: var(--gold-2); margin-bottom: 6px; }
.rcard h3 { position: relative; display: inline-block; font-family: "Marcellus", serif; font-weight: 400;
  font-size: clamp(22px,2.1vw,27px); line-height: 1; color: #fff; margin: 0 0 7px; }
.rcard h3::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: linear-gradient(90deg, var(--gold-2), transparent); transition: width .5s var(--ease); }
.rcard:hover h3::after { width: 100%; }
.rc-tl { display: block; font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500;
  font-size: 15px; color: rgba(255,255,255,.82); margin-bottom: 12px; line-height: 1.25; }
.rc-price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 12px; }
.rc-price b { font-family: var(--font-sans); font-weight: 800; font-size: 1.15rem; color: var(--gold-2); }
.rc-price span { font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.rc-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.rc-chip { display: inline-flex; align-items: center; gap: 5px; font-family: "Montserrat", sans-serif;
  font-size: 10.5px; font-weight: 500; color: #eaf3ec; background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15); padding: 5px 9px; border-radius: 8px; }
.rc-chip svg { width: 12px; height: 12px; color: var(--gold-2); }
.rc-act { display: flex; gap: 9px; }
.rc-reserve { position: relative; overflow: hidden; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Syne", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: -.01em; color: #3e2c08;
  padding: 13px 16px; border-radius: 11px;
  background: linear-gradient(180deg,#fff3cf,#f3d271 17%,#e3b53e 44%,#c8971d 70%,#a87c14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -2px 5px rgba(110,72,0,.45), 0 12px 24px rgba(212,166,42,.42);
  transition: filter .3s var(--ease), transform .2s var(--ease); }
.rc-reserve:hover { filter: brightness(1.05); transform: translateY(-1px); }
.rc-reserve svg { width: 15px; height: 15px; }
.rc-reserve::after { content: ""; position: absolute; top: 0; left: -55%; width: 42%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.85), transparent); transform: skewX(-18deg); animation: rcSheen 3.6s ease-in-out 1s infinite; }
.rc-round { flex: none; width: 46px; border-radius: 11px; display: grid; place-items: center; color: var(--gold-2);
  background: rgba(255,255,255,.06); border: 1px solid rgba(241,202,85,.45); transition: background .3s var(--ease), transform .25s var(--ease); }
.rc-round:hover { background: rgba(241,202,85,.16); transform: translateY(-1px); }
.rc-round svg { width: 17px; height: 17px; }

@media (max-width: 680px) {
  /* ── Mobile: NEAT STACKED CARD ───────────────────────────────────────────
     Desktop is a full-bleed cinematic photo with a glass panel floating over
     it; on phones that overlay reads as cramped + low-contrast. Here the same
     parts (shared markup) re-flow into a clean vertical stack: cinematic photo
     on top (index + "Best rate" seal + a soft grade kept), then a tidy SOLID
     info panel below. Reuses the desktop gold/type tokens to stay on-brand.   */
  .rcard {
    aspect-ratio: auto;                 /* grow with content instead of 4/5 */
    display: flex; flex-direction: column;
    border-radius: 20px; border: 1px solid rgba(241,202,85,.14);
  }
  .rcard:hover { transform: none; }     /* no lift on touch */

  /* photo → real top block (was an absolute full-bleed background) */
  .rc-ph  { position: relative; aspect-ratio: 16 / 10; flex: none; }
  .rc-img { inset: 0; }
  /* confine the soft grade to the photo; drop fine grain/vignette/frame here */
  .rc-grade { bottom: auto; aspect-ratio: 16 / 10;
    background: linear-gradient(180deg, rgba(4,12,8,0) 50%, rgba(3,9,6,.5) 100%); }
  .rc-grain, .rc-vig, .rc-frame, .rc-dots { display: none; }
  .rc-idx  { top: 14px; left: 16px; font-size: 22px; }
  .rc-seal { top: 14px; right: 14px; }

  /* info panel → in-flow, solid, tidy */
  .rc-glass {
    position: relative; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 16px 17px 18px; border-radius: 0;
    border: 0; border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .rcard .rc-glass { background: #0c1712; }   /* solid — beats the ≤760 perf gradient */
  .rc-kick    { margin-bottom: 6px; }
  .rcard h3   { font-size: 22px; margin-bottom: 8px; }
  .rcard h3::after { width: 34px; }           /* static gold underline (no hover on touch) */
  .rc-tl      { font-size: 16px; line-height: 1.35; margin-bottom: 14px; color: rgba(255,255,255,.82); }
  .rc-chips   { flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .rc-chip    { font-size: 11.5px; padding: 6px 10px; }
  .rc-chip:nth-child(3) { display: inline-flex; }   /* room for all specs now */
  .rc-act     { gap: 10px; }
  .rc-reserve { padding: 14px 16px; font-size: 14.5px; }   /* ≥44px touch target */
  .rc-round   { width: 50px; }                             /* ≥44px touch target */
}
@media (prefers-reduced-motion: reduce) {
  .rc-img { animation: none !important; transform: scale(1.05); }
  .rc-frame, .rc-seal::after, .rc-reserve::after { animation: none !important; }
}

/* ── perf: pause room-card animations while the card is off-screen ── */
.rcard.is-paused .rc-img,
.rcard.is-paused .rc-frame { animation-play-state: paused !important; }
.rcard.is-paused .rc-seal::after,
.rcard.is-paused .rc-reserve::after { animation-play-state: paused !important; }
/* will-change only while the Ken-Burns/breathe animations are actually
   running - hinting the compositor for cards that are sitting still (off-
   screen) just costs memory for nothing. */
.rcard:not(.is-paused) .rc-img,
.rcard:not(.is-paused) .rc-frame { will-change: transform; }
/* backdrop-filter is one of the most expensive properties in this stylesheet;
   with 6 cards in the room grid it's the single biggest cost on this page.
   Off-screen cards don't need the live glass blur - drop it to a solid
   fallback (still fully readable) and restore it the moment the card is
   back in view, cutting simultaneous blur regions from a constant 6 down to
   whatever's actually on screen. */
.rcard.is-paused .rc-glass {
  backdrop-filter: none; -webkit-backdrop-filter: none;
  background: linear-gradient(180deg, rgba(10,22,15,.88), rgba(5,13,9,.95));
}

/* ── D · mobile performance: cheaper glass + no continuous zoom (phones) ── */
@media (max-width: 760px) {
  /* backdrop-filter is costly on mobile GPUs — swap for a solid fill */
  .rc-glass {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    background: linear-gradient(180deg, rgba(7,18,12,.5), rgba(5,13,9,.88));
  }
  /* stop the continuous Ken-Burns zoom on phones (still composited, but idle) */
  .rc-img { animation: none !important; transform: scale(1.05); }
  .hero-home .hero-image { animation: none !important; }
}

/* =========================================================================
   GALLERY v11 — "The Maya Folio"
   Editorial numbered-plate gallery. Real <figure><img> layer (CLS-proof,
   accessible), a numbered "Contents" index that filters + re-numbers the
   plates live, and a "reserved plate" that turns a content gap into
   deliberate curation. Extends the shared .lightbox module (see main.js).
   ========================================================================= */
.folio-head { align-items: end; }
.folio-editor {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  color: var(--green-700); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 46ch;
}
.folio-rule { height: 2px; border: 0; margin: 22px 0 0; background: var(--grad-divider); }

/* --- Contents index (the filter, styled as an editorial masthead) --- */
.folio-contents {
  position: sticky; top: calc(var(--header-h) - 8px); z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin: clamp(20px, 3vw, 34px) 0 clamp(28px, 4vw, 44px);
  padding: 12px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.fc-label {
  font: 500 .74rem var(--font-head); text-transform: uppercase; letter-spacing: .18em;
  color: var(--muted); padding: 0 8px 0 6px;
}
.fc-item {
  display: inline-flex; align-items: baseline; gap: 7px; cursor: pointer;
  padding: 8px 15px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--green-900);
  font: 600 .84rem var(--font-sans); letter-spacing: .005em;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.fc-item:hover { background: var(--green-100); }
.fc-item .fc-count {
  /* --font-head (Knockout) renders digits with tall, ambiguous strokes —
     "18/13/1" reads as Roman numerals ("I8/I3/I"). Syne's digits are
     unambiguous, and tabular-nums keeps counts from jittering in width. */
  font: 700 .72rem var(--font-sans); font-variant-numeric: tabular-nums;
  letter-spacing: .01em; color: var(--gold-ink); transform: translateY(-1px);
}
.fc-item .fc-count:empty { display: none; }
.fc-item .fc-count.is-soon {
  font: 700 .6rem var(--font-head); letter-spacing: .1em; text-transform: uppercase;
}
.fc-item[aria-pressed="true"] {
  background: var(--green-900); color: #fff; border-color: var(--green-900);
}
.fc-item[aria-pressed="true"] .fc-count { color: var(--gold-2); }
.fc-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* Narrow screens: seven wrapped chips inflated the 999px-radius masthead
   into a ~300px-tall cream blob of borderless floating text (owner
   screenshot IMG_6075). Collapse it to the same one-row scroll rail the
   menu chips use — chips gain button chrome, the pill is honest again at
   one row tall, and the mid-pill cut of the last visible chip is the
   scroll affordance (an edge-fade mask would erode the sticky pill's own
   background, so the menu's mask trick doesn't transfer here). */
@media (max-width: 900px) {
  .folio-contents {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    gap: 8px; padding: 10px 12px;
    scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  .folio-contents::-webkit-scrollbar { display: none; }
  .fc-label { display: none; }
  .fc-item {
    flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap;
    padding: 10px 16px;
    border-color: var(--line-2); background: #fff;
  }
  .fc-item[aria-pressed="true"] { background: var(--green-900); border-color: var(--green-900); }
}

/* --- The folio grid --- */
.folio {
  display: grid; gap: clamp(16px, 2vw, 28px) clamp(14px, 1.8vw, 24px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.plate { margin: 0; display: flex; flex-direction: column; }
.plate[data-hidden] { display: none; }
@media (min-width: 780px) {
  .plate--feature { grid-column: span 2; }
}
.plate-media {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--green-900); /* token-color LQIP so nothing flashes white */
  border: 1px solid var(--line); cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.plate--feature .plate-media { aspect-ratio: 16 / 11; }
.plate-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 1; /* visible by default so it works with JS off */
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.plate-media img.pre { opacity: 0; transform: scale(1.015); } /* JS-only blur-up start */
.plate-media img.is-loaded { opacity: 1; transform: none; }
.plate-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7,26,17,.42));
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.plate-media:hover img { transform: scale(1.055); }
.plate-media:hover::after { opacity: 1; }
.plate-media:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* the focusable element is the <figure>; hug the image, not the caption */
.plate:focus-visible { outline: none; }
.plate:focus-visible .plate-media { outline: 3px solid var(--gold); outline-offset: 3px; }

.plate-cap {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline;
  column-gap: 12px; row-gap: 2px; padding: 14px 4px 0;
}
.plate-num {
  grid-row: span 2; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: .8; color: var(--gold-ink);
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.plate-kicker {
  font: 500 .68rem var(--font-head); text-transform: uppercase; letter-spacing: .16em;
  color: var(--green-600);
}
.plate-title {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--green-900); line-height: 1.15;
}

/* --- Interleaf pull-quote band (only in the "All" view) --- */
.folio-interleaf {
  grid-column: 1 / -1; margin: clamp(8px, 1.4vw, 18px) 0;
  padding: clamp(30px, 5vw, 58px) clamp(20px, 4vw, 40px);
  border-radius: var(--radius-lg); text-align: center;
  background: var(--grad-dark-section); color: #fff; position: relative; overflow: hidden;
}
.folio-interleaf::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 80% 0%, rgba(241,202,85,.22), transparent 60%);
}
.folio-interleaf p {
  position: relative; margin: 0 auto; max-width: 22ch;
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.1; color: #fff;
}
.folio-interleaf span {
  position: relative; display: block; margin-top: 14px;
  font: 500 .74rem var(--font-head); text-transform: uppercase; letter-spacing: .22em;
  color: var(--gold-2);
}
.folio-interleaf[data-hidden] { display: none; }

/* --- Reserved plate (Rooms — photography in progress) --- */
.plate--reserved[data-hidden] { display: none; }
.plate--reserved .plate-media {
  aspect-ratio: 4 / 5; cursor: default; display: grid; place-items: center;
  background: var(--green-50); border: 1px dashed var(--line-2);
  box-shadow: none; padding: clamp(22px, 3vw, 34px); text-align: center;
}
.plate--feature.plate--reserved .plate-media { aspect-ratio: 16 / 11; }
.reserved-inner { max-width: 32ch; display: grid; gap: 10px; justify-items: center; }
.reserved-mark {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); color: var(--green-700);
  box-shadow: var(--shadow-xs);
}
.reserved-mark svg { width: 22px; height: 22px; }
.reserved-inner h3 { font-size: 1.15rem; color: var(--green-900); }
.reserved-inner p { font-size: .9rem; color: var(--muted); margin: 0; }
.reserved-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }

/* --- Lightbox v11 additions: caption bar + counter (non-focusable text) --- */
.lightbox-figcap {
  position: absolute; left: 0; right: 0; bottom: max(3vh, 18px);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0 6vw; text-align: center; pointer-events: none;
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.lightbox.is-open .lightbox-figcap { opacity: 1; }
.lightbox-count {
  font: 700 .72rem var(--font-head); letter-spacing: .18em; color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.lightbox-title {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.3rem); color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
.lightbox img.is-loading { opacity: .35; }
@media (prefers-reduced-motion: reduce) {
  .plate-media img { opacity: 1; transform: none; transition: none; }
  .plate-media:hover img { transform: none; }
}

/* =========================================================================
   DIRECTIONS v11 — "The Approach"
   A precise arrival instrument. One source of truth (window.MAYA_PLACE in
   directions.html) hydrates the tell-driver line, copyable locate chips,
   the map iframe, the four-app deep-link rail and the JSON-LD. Honest
   "provisional pin" state until real coordinates are confirmed.
   ========================================================================= */
.dir-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(22px, 3.2vw, 44px); align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.dir-instrument {
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px);
}

/* mode-of-transport tabs */
.dir-modetabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--green-50); border: 1px solid var(--line); }
.dir-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 12px; border: 0; border-radius: 999px; cursor: pointer; background: transparent;
  color: var(--green-800); font: 600 .82rem var(--font-sans); white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.dir-tab svg { width: 17px; height: 17px; }
.dir-tab:hover { color: var(--green-950); }
.dir-tab[aria-selected="true"] { background: var(--green-900); color: #fff; box-shadow: var(--shadow-sm); }
.dir-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.dir-tabpanel { margin-top: 18px; }
.dir-tabpanel[hidden] { display: none; }
.dir-eta { display: inline-flex; align-items: center; gap: 8px; font: 800 1.05rem var(--font-sans); color: var(--green-900); }
.dir-eta span { font: 500 .78rem var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--gold-ink); }
.dir-guide { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }

/* copyable strings (tell-driver + locate chips) */
.dir-copy-mono { font-family: ui-monospace, SFMono-Regular, Menlo, "Cascadia Mono", monospace; } /* scoped only; NOT a :root token */
.dir-tell {
  margin-top: 20px; padding: 14px 14px 14px 16px; border-radius: var(--radius-sm);
  background: var(--cream-2); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
}
.dir-tell-label { grid-column: 1 / -1; font: 500 .68rem var(--font-head); text-transform: uppercase; letter-spacing: .16em; color: var(--gold-ink); }
.dir-tell code {
  font-size: .92rem; color: var(--text); letter-spacing: .01em; line-height: 1.35; word-break: break-word;
}
.dir-copy {
  flex: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--white); color: var(--green-900); font: 600 .78rem var(--font-sans);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.dir-copy svg { width: 15px; height: 15px; }
.dir-copy .ic-check { display: none; }
.dir-copy:hover { background: var(--green-50); border-color: var(--green-600); }
.dir-copy:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.dir-copy.is-copied { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.dir-copy.is-copied .ic-copy { display: none; }
.dir-copy.is-copied .ic-check { display: inline; }

.dir-locate { margin-top: 14px; display: grid; gap: 8px; }
.dir-locate-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 11px 12px 11px 14px; border-radius: var(--radius-sm);
  background: var(--green-50); border: 1px solid var(--line);
}
.dir-locate-k { font: 500 .66rem var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.dir-locate-v { font-size: .88rem; color: var(--green-900); word-break: break-word; }
.dir-locate-v.is-pending { color: var(--muted); font-style: italic; font-family: var(--font-serif); }
.dir-signoff { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-serif); font-style: italic; color: var(--green-700); }
.dir-signoff b { display: block; font-style: normal; font-family: var(--font-head); font-weight: 500; letter-spacing: .04em; color: var(--green-900); }

/* map card (right column) */
.dir-mapcard { display: grid; gap: 14px; }
.dir-mapframe {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--green-100);
  height: clamp(300px, 42vw, 460px);
}
.dir-mapframe iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(1.05); }
.dir-ribbon {
  position: absolute; top: 14px; left: 14px; right: 14px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 92%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(212,166,42,.5); box-shadow: var(--shadow-sm);
  font: 600 .78rem var(--font-sans); color: var(--gold-ink);
}
.dir-ribbon[hidden] { display: none; }
.dir-status-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212,166,42,.22); }
.is-confirmed .dir-status-dot { background: var(--green-600); box-shadow: 0 0 0 4px rgba(44,125,83,.22); }
.dir-map-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dir-navigate {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px; border-radius: 999px; background: var(--green-900); color: #fff;
  font: 700 .9rem var(--font-sans); text-decoration: none; box-shadow: var(--shadow-emerald);
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.dir-navigate svg { width: 18px; height: 18px; color: var(--gold-2); }
.dir-navigate:hover { background: var(--green-950); }

/* four-app deep-link rail */
.dir-nav-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dir-app {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; border-radius: var(--radius-sm); text-decoration: none;
  background: var(--white); border: 1px solid var(--line); color: var(--green-900);
  font: 600 .72rem var(--font-sans); text-align: center;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.dir-app svg { width: 20px; height: 20px; }
.dir-app:hover { transform: translateY(-2px); border-color: var(--green-600); box-shadow: var(--shadow-sm); }
@media (max-width: 520px) { .dir-nav-apps { grid-template-columns: repeat(2, 1fr); } }

/* the route ladder (semantic <ol> with one gold "recommended" spine) */
.dir-route { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; max-width: 720px; }
.dir-route-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 14px; border-radius: 999px; background: var(--green-100);
  font: 600 .74rem var(--font-sans); color: var(--green-800);
}
.dir-route-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.dir-route li { position: relative; padding: 0 0 30px 52px; }
.dir-route li:last-child { padding-bottom: 0; }
.dir-route-spine {
  position: absolute; left: 15px; top: 6px; bottom: -6px; width: 3px; border-radius: 3px;
  background: var(--line-2); overflow: hidden;
}
.dir-route-spine::after {
  content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--grad-gold);
  transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease-premium);
}
.dir-route.is-visible .dir-route-spine::after { transform: scaleY(1); }
.dir-route li:last-child .dir-route-spine { display: none; }
.dir-route-node {
  position: absolute; left: 6px; top: 2px; width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-900); color: var(--gold-2);
  font: 800 .72rem var(--font-sans); z-index: 1;
}
.dir-route h3 { font-size: clamp(1.05rem, 1.6vw, 1.2rem); margin: 0 0 5px; color: var(--green-900); }
.dir-route p { margin: 0; color: var(--muted); font-size: .92rem; }

/* redundant-contact fallback band */
.dir-fallback { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.dir-fallback-card {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--green-900);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.dir-fallback-card:hover { transform: translateY(-2px); border-color: var(--green-600); }
.dir-fallback-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); }
.dir-fallback-ic svg { width: 20px; height: 20px; }
.dir-fallback-card b { display: block; font: 700 .92rem var(--font-sans); }
.dir-fallback-card span { font-size: .8rem; color: var(--muted); }

/* visually-hidden live region */
.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;
}

@media (max-width: 900px) {
  .dir-panel { grid-template-columns: 1fr; }
  .dir-fallback { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .dir-route-spine::after { transition: none; }
}

/* =========================================================================
   HOME v12 — "One Canvas" seamless scroll
   One continuous background field behind the whole home page: deep emerald
   at the top (the hero photo mask-dissolves into it), a warm ivory body for
   ~90% of the page, and an emerald/gold dusk close at the CTA + footer.
   Sections go transparent and are separated by air + hairlines, not color
   bands. Scoped to body.home-canvas — no other page is affected. All
   transitions use pixel stops tied to element edges, so the blends hold at
   every viewport. Accents kept: "A day at Maya" sky, soft quote band, CTA.
   ========================================================================= */
body.home-canvas { background: var(--cream-2); }

/* --- Hero melts into the canvas: a LONG dissolve — the photo starts
       dying halfway down the hero and only fully disappears at its foot,
       so section 2 begins while the image is still breathing behind it --- */
/* Root cause of the original ghosting bug: the JS scroll-parallax fade
   (--ho custom property, drives .hero-content's opacity) only runs when
   `.reveal-ready` is on <html>, which JS withholds under
   prefers-reduced-motion — by design, correctly. But the photo's dissolve
   below was an UNCONDITIONAL static mask with no such gate, so on a
   reduce-motion device the photo vanished while the trust chips/buttons
   stayed at full opacity, "ghosting" through the incoming heading.
   Fix: gate the photo's fancy dissolve to the SAME condition as the
   content's fade (motion allowed). Under reduce-motion, the photo simply
   stays visible (no dissolve) — content also stays visible (no fade) —
   nothing can ever mismatch, and a static hero is the correct accessible
   fallback anyway. (An earlier attempt masked hero-content directly as a
   "safety net," but that clipped the trust row on ordinary page load
   because it sits low enough in hero-content's own box to fall inside
   the fade zone — removed.) */
@media (prefers-reduced-motion: no-preference) {
  .home-canvas .hero-home .hero-bg {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 46%, rgba(0,0,0,.55) 72%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 46%, rgba(0,0,0,.55) 72%, transparent 100%);
  }
}
/* the scroll cue would float mid-blend now — retire it on the canvas home */
.home-canvas .scroll-cue { display: none; }

/* reserve a bottom band inside the hero for the crossfade, so the incoming
   section-2 heading never collides with the hero's trust chips. Generous on
   purpose: real devices wrap the h1/trust-row taller than any fixed test
   viewport, so this must survive worst-case content height, not just the
   average case. */
.home-canvas .hero-home { padding-bottom: clamp(260px, 34vh, 440px); }
.home-canvas .hero-home .hero-trust { margin-bottom: clamp(20px, 4vh, 44px); }

/* --- v15 · Generated hero artwork. The image is painted to dissolve into
       var(--green-950) across its lowest fifth (baked into the file), so the
       hero→triptych melt no longer depends on the mask alone: reduce-motion
       (mask off) now gets the same painted fade. --- */
.home-canvas .hero-home .hero-image {
  background-image: url("../images/hero/home-hero-mobile.webp");
  /* pin the baked dissolve to the hero's foot: no bottom overscan, and the
     Ken-Burns scale grows up/sideways only, never past the painted fade */
  inset: -10% -2% 0 -2%;
  background-position: center bottom;
  transform-origin: 50% 100%;
}
@media (min-width: 761px) {
  .home-canvas .hero-home .hero-image {
    background-image: url("../images/hero/home-hero-desktop.webp");
  }
}
/* the artwork carries its own dusk-dark left flank and painted foot — ease
   the cinematic scrim so the painting reads; keep enough left-side weight
   for the headline and drop the bottom darkener (the file paints its own) */
.home-canvas .hero-home .hero-scrim {
  background:
    linear-gradient(115deg, rgba(4,18,11,.62) 0%, rgba(7,26,17,.30) 50%, rgba(7,26,17,.10) 100%),
    linear-gradient(180deg, rgba(7,26,17,.50) 0%, rgba(7,26,17,0) 32%, rgba(7,26,17,0) 100%);
}

/* --- Triptych = the crossfade. It rises DEEP into the hero so its
       eyebrow + heading render over the fading photo itself; its own
       emerald only completes below the heading, then exhales into the
       ivory canvas at its foot. No point where one surface "ends". --- */
.home-canvas .hp-triptych {
  position: relative; z-index: 2;
  /* the overlap band must not swallow clicks on hero content beneath it */
  pointer-events: none;
  margin-top: clamp(-240px, -18vw, -130px);
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(130px, 15vw, 210px);
  /* fade v97: the foot-of-triptych melt into cream. A 2-stop jump straight
     from green-900 to cream-2 crosses too much lightness/hue in too few
     pixels — sRGB linear interpolation between a saturated dark green and a
     pale warm cream dips through a desaturated "muddy" grey-sage dead zone
     partway through, which reads as a visible band, not a melt. Fixed two
     ways: (1) widened the band itself (340px -> up to 620px) so the same
     total color change is spread over more pixels, and (2) walked the path
     through 8 stops instead of 2 - the existing brand green scale for the
     dark half (900->800->700->600), two hand-tuned sage bridge tones (HSL-
     interpolated, saturation kept up on purpose so the midpoint reads as
     living foliage rather than grey) for the big remaining gap, then the
     existing green-100 before landing on cream-2. On shorter renders of this
     section the wide fade band can crowd right up against the earlier
     "become opaque" stop above, compressing that small green-950->green-900
     step into just a few pixels and reintroducing a mini-seam of its own —
     `max()` guarantees at least 72px of breathing room between the two
     so they never collide regardless of viewport height. */
  --triptych-fade: clamp(500px, 46vw, 640px);
  --triptych-fade-start: max(calc(clamp(260px, 22vw, 380px) + 72px), calc(100% - var(--triptych-fade)));
  /* fade v98: mobile stacks the pillars so the section is much taller,
     which compressed the old 420px melt and re-exposed the grey-sage dead
     zone. Two fixes: (1) a wider band (min 420->500px) so the same colour
     change spreads over more pixels on tall/narrow renders; (2) a warmer,
     13-stop path — the pale bridges (#a6d4b1, green-100) were desaturated
     enough to read grey, so they're replaced by tones that carry a little
     warmth/chroma the whole way down (green -> soft green -> warm sage ->
     warm haze -> cream), keeping the midpoint reading as sunlit foliage. */
  background:
    linear-gradient(180deg,
      rgba(7,26,17,0) 0px,
      rgba(7,26,17,.45) clamp(110px, 10vw, 180px),
      var(--green-950) clamp(260px, 22vw, 380px),
      var(--green-900) var(--triptych-fade-start),
      var(--green-800) calc(var(--triptych-fade-start) + (100% - var(--triptych-fade-start)) * .10),
      var(--green-700) calc(var(--triptych-fade-start) + (100% - var(--triptych-fade-start)) * .22),
      var(--green-600) calc(var(--triptych-fade-start) + (100% - var(--triptych-fade-start)) * .34),
      #4f9d6e calc(var(--triptych-fade-start) + (100% - var(--triptych-fade-start)) * .46),
      #7bbd8f calc(var(--triptych-fade-start) + (100% - var(--triptych-fade-start)) * .57),
      #a7d4ab calc(var(--triptych-fade-start) + (100% - var(--triptych-fade-start)) * .68),
      #cbe4bf calc(var(--triptych-fade-start) + (100% - var(--triptych-fade-start)) * .78),
      #e6ecd0 calc(var(--triptych-fade-start) + (100% - var(--triptych-fade-start)) * .87),
      #f4efd9 calc(var(--triptych-fade-start) + (100% - var(--triptych-fade-start)) * .94),
      var(--cream-2) 100%),
    /* backstop layer: body.home-canvas is CREAM, and the crossfade gradient
       above only completes at 260-380px in, while the hero (the only emerald
       paint behind us) ends at the overlap line, clamp(130px,18vw,240px) —
       the exact inverse of our margin-top. Between those two lines cream
       leaked through the half-opaque emerald as a grey band across the melt.
       This layer goes solid green-950 from the hero-bottom line down; the
       2px ramp absorbs sub-pixel rounding drift between margin and stop. */
    linear-gradient(180deg,
      rgba(7,26,17,0) 0px,
      rgba(7,26,17,0) calc(clamp(130px, 18vw, 240px) - 2px),
      var(--green-950) clamp(130px, 18vw, 240px),
      var(--green-950) 100%);
}
.home-canvas .hp-triptych .container { pointer-events: auto; }

/* the zone-A gold halo (::before) is anchored at the element's top edge, so
   at full strength from row zero it draws a faint full-width hairline right
   across the photo melt. Fade it in below the hero-bottom line instead —
   the cards keep their halo, the melt keeps its continuity. */
.home-canvas .hp-triptych::before {
  -webkit-mask-image: linear-gradient(to bottom,
    transparent clamp(130px, 18vw, 240px), #000 clamp(300px, 26vw, 430px));
          mask-image: linear-gradient(to bottom,
    transparent clamp(130px, 18vw, 240px), #000 clamp(300px, 26vw, 430px));
}

/* --- Body sections float on the canvas --- */
.home-canvas .section.alt,
.home-canvas .hp-day { background: transparent; }

/* the JS-injected day-sky tint must dissolve at its edges like every other
   canvas transition — unmasked it snaps on as a hard full-width rectangle */
.home-canvas .day-sky {
  -webkit-mask-image: linear-gradient(180deg,
    transparent 0, #000 clamp(120px, 14vw, 180px),
    #000 calc(100% - clamp(120px, 14vw, 180px)), transparent 100%);
          mask-image: linear-gradient(180deg,
    transparent 0, #000 clamp(120px, 14vw, 180px),
    #000 calc(100% - clamp(120px, 14vw, 180px)), transparent 100%);
}

/* Stats band: dark → ink-on-ivory (mirrors the existing light .stat variant) */
.home-canvas .section.dark { background: transparent; color: var(--text); }
/* the dark-section ambient mesh was invisible on emerald but shows as a
   hard-clipped drifting blob on ivory — retire it here */
.home-canvas .section.dark::before { display: none; }
.home-canvas .section.dark h1,
.home-canvas .section.dark h2,
.home-canvas .section.dark h3 { color: var(--green-900); }
.home-canvas .section.dark p,
.home-canvas .section.dark .muted { color: var(--muted); }
.home-canvas .section.dark .eyebrow,
.home-canvas .section.dark .eyebrow::before { color: var(--gold-ink); }
.home-canvas .section.dark .eyebrow::before { background: var(--gold-ink); }
/* editorial figures in the Hallmark register: hairline-separated ink
   numerals, no card boxes (boxed stats read as dashboard, not provenance) */
.home-canvas .section.dark .stat {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: 6px 22px;
  border-left: 1px solid rgba(212,166,42,.35);
}
.home-canvas .section.dark .stat:first-child { border-left: 0; padding-left: 0; }
.home-canvas .section.dark .stat strong { color: var(--green-900); font-variant-numeric: tabular-nums; }
.home-canvas .section.dark .stat span {
  color: var(--muted); font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .1em; font-size: .8rem;
}
@media (max-width: 1020px) {
  /* 2-col grid: no hairline on each row's first column */
  .home-canvas .section.dark .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  /* single column: horizontal hairlines instead */
  .home-canvas .section.dark .stat { border-left: 0; padding: 14px 0; }
  .home-canvas .section.dark .stat:not(:first-child) { border-top: 1px solid rgba(212,166,42,.3); }
}

/* --- Testimonials: a soft emerald wash with dissolved edges (no band seam).
       Must out-rank .home-canvas .section.alt's transparent background. --- */
.home-canvas .section.alt.home-quotes {
  background: linear-gradient(180deg,
    rgba(237,245,238,0) 0%,
    var(--green-100) 18%,
    var(--green-100) 82%,
    rgba(237,245,238,0) 100%);
}

/* --- Dusk close: the canvas descends into the CTA's emerald night;
       the CTA then meets the footer at the same --green-950. --- */
.home-canvas .hp-cta-full {
  padding-top: clamp(170px, 20vw, 250px);
  background: linear-gradient(180deg,
    var(--cream-2) 0px,
    var(--green-850) clamp(130px, 16vw, 200px),
    var(--green-950) 100%);
}
/* the gold radial glow must fade in, not start on a hard section edge */
.home-canvas .hp-cta-full::before {
  -webkit-mask-image: linear-gradient(180deg, transparent 0px, #000 clamp(160px, 19vw, 240px));
          mask-image: linear-gradient(180deg, transparent 0px, #000 clamp(160px, 19vw, 240px));
}

/* =========================================================================
   NAV v12 — cinematic wordmark menu
   The 8 gold wordmark images ARE the navigation. The text .nav-menu retires
   from the header (kept in DOM for crawlers); the menu toggle is promoted to
   every breakpoint and opens the existing .mobile-menu overlay on desktop
   too — now laid out as a two-column stage for the wordmarks. Images are
   hydrated from data-src on first interaction (see main.js), so no page
   pays their weight on first paint.
   ========================================================================= */
.nav-menu { display: none !important; }
.menu-toggle {
  display: inline-flex;
  /* the toggle is now the ONLY nav affordance — it must hold its own on
     any backdrop (WCAG 3:1 non-text UI) */
  border-color: rgba(255,255,255,.45);
  background: rgba(7,26,17,.35);
}
@media (min-width: 1021px) {
  .nav-cta { margin-left: auto; } /* brand left · CTA + toggle right */
}

/* interior pages (no full-bleed hero behind the bar): the translucent glass
   header rendered as a washed-out pale band over the ivory body — give it a
   reliably dark first-paint state instead */
body:not(.hero-page) .site-header {
  background: linear-gradient(180deg, rgba(7,26,17,.94), rgba(7,26,17,.85));
}

/* while the overlay is open, the header's tint/border read as a 1px seam
   across the stage — dissolve the chrome so the two read as one plane */
.site-header:has(#menuToggle[aria-expanded="true"]) {
  background: transparent; border-bottom-color: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* menu page: the sticky category bar must kiss the SCROLLED header height
   (68px + 1px border), not the resting --header-h — closes the see-through
   slit food photos scrolled through */
.menu-bar { top: 68px; }

/* overlay can scroll if a short viewport can't fit all eight wordmarks */
.mobile-menu {
  overflow-y: auto;
  padding-bottom: max(32px, env(safe-area-inset-bottom, 32px));
}

.mm-nav { display: flex; flex-direction: column; gap: clamp(10px, 2vh, 20px); }

/* wordmark links (replaces the old text rows).
   --mms compensates per-image decoration so the LETTERFORMS read at one
   optical size (each PNG carries a different share of foliage/icon art). */
.mm-link[href$="index.html"]       { --mms: .8;  }
.mm-link[href$="rooms.html"]       { --mms: 1.12; }
.mm-link[href$="events.html"]      { --mms: 1.06; }
.mm-link[href$="experiences.html"] { --mms: 1.16; }
.mm-link[href$="menu.html"]        { --mms: 1.04; }
.mm-link[href$="gallery.html"]     { --mms: .78; }
.mm-link[href$="directions.html"]  { --mms: 1.12; }
.mm-link[href$="contact.html"]     { --mms: 1.12; }
.mobile-menu a.mm-link { justify-content: flex-start; padding: 2px 0; }
.mobile-menu a.mm-link::after { content: none; } /* retire the "→" — the art is the row */
.mm-link picture { display: block; line-height: 0; }
.mm-link img {
  display: block; width: auto; max-width: 100%;
  height: calc(clamp(44px, 6vh, 62px) * var(--mms, 1));
  object-fit: contain; object-position: left center;
  filter: drop-shadow(0 12px 28px rgba(4,18,11,.6));
  transition: transform var(--t) var(--ease), filter var(--t) var(--ease);
}
.mobile-menu a.mm-link:hover img,
.mobile-menu a.mm-link:focus-visible img {
  transform: translateX(8px) scale(1.02);
  filter: drop-shadow(0 14px 34px rgba(241,202,85,.4)) brightness(1.1);
}
.mobile-menu a.mm-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 10px; }

/* current page: steady gold aura + a vertical gold rule on the left edge
   (a proportional marker — the old 46px dash read as a stray tick) */
.mobile-menu a.mm-link.active { position: relative; }
.mobile-menu a.mm-link.active img { filter: drop-shadow(0 0 24px rgba(241,202,85,.55)); }
.mobile-menu a.mm-link.active::before {
  content: ""; position: absolute; left: -14px; top: 10%; bottom: 10%;
  width: 3px; border-radius: 3px;
  background: var(--grad-gold);
}

/* short phones: tighten the budget so CTA + contact meta fit on screen */
@media (max-width: 1020px) and (max-height: 840px) {
  .mobile-menu { padding-top: clamp(72px, 10vh, 104px); }
  .mm-nav { gap: clamp(7px, 1.4vh, 13px); }
  .mm-link img { height: calc(clamp(34px, 4.7vh, 48px) * var(--mms, 1)); }
  .mobile-menu .mm-cta { margin-top: 20px; }
  .mobile-menu .mm-meta { padding-top: 20px; }
}

/* desktop: the overlay becomes a two-column stage, vertically centred,
   closed by a full-width base row (CTA left · contact meta right) */
@media (min-width: 1021px) {
  .mobile-menu { padding: clamp(90px, 12vh, 140px) 8% 48px; justify-content: center; }
  .mobile-menu-inner {
    max-width: 1100px;
    display: grid; grid-template-columns: 1fr auto; align-items: center;
  }
  .mobile-menu .mm-eyebrow, .mobile-menu .mm-nav { grid-column: 1 / -1; }
  .mm-nav {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3.4vh, 34px) clamp(48px, 6vw, 96px);
    align-items: center;
  }
  .mm-link img { height: calc(clamp(56px, 8vh, 84px) * var(--mms, 1)); }
  .mobile-menu .mm-cta { grid-column: 1; justify-self: start; align-self: center; margin-top: 44px; }
  .mobile-menu .mm-meta {
    grid-column: 2; justify-self: end; align-self: center;
    margin-top: 44px; padding-top: 0;
    align-items: flex-end; text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-link img { transition: none; }
  .mobile-menu a.mm-link:hover img { transform: none; }
}

/* =========================================================================
   v13 — Elevation pass (site-wide polish from the design panel)
   ========================================================================= */

/* Interior page-heroes dissolve into the page instead of ending on a hard
   edge — the One Canvas grammar extended to every page. The fade sits above
   the photo but below the hero's own content (which carries z-index 1). */
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  height: clamp(60px, 8vw, 110px);
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--white));
  pointer-events: none;
}

/* Home amenity grid: chapter numerals 01–06, echoing the Folio plates and
   the Hallmark ordinals (one numbering voice across the whole estate). */
.amenity-grid { counter-reset: amenity; }
.amenity-grid .amenity-card { counter-increment: amenity; }
.amenity-grid .amenity-card::before {
  content: counter(amenity, decimal-leading-zero);
  /* inset: 12px auto auto 16px — must fully reset the legacy inset:0 or the
     numeral becomes a full-width centered box */
  position: absolute; inset: 12px auto auto 16px; z-index: 3;
  background: none; opacity: .85; transition: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  letter-spacing: .06em; color: var(--gold-2);
  text-shadow: 0 1px 8px rgba(4,18,11,.55);
  pointer-events: none;
}
/* the first stat's gold-foil pop joins the ink register on the canvas
   (its base rule carries !important, so this must too) */
.home-canvas .section.dark .stat-pop {
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
  color: var(--green-900) !important;
}

/* Menu category chips: edge fade signals horizontal scrollability on mobile */
@media (max-width: 760px) {
  .menu-chips {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }
}

/* Floating WhatsApp: brand-concierge ring + safe-area-aware placement */
.floating-whatsapp {
  border: 1.5px solid rgba(241,202,85,.65);
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
}
/* =========================================================================
   BOOKING SHEET  —  v18 "fill in details" prompt before WhatsApp handoff.
   One JS-injected dialog for every booking CTA (data-book). Bottom sheet on
   mobile, centred card on desktop. Reuses .input / .btn-primary / .form-status.
   ========================================================================= */
.booksheet {
  position: fixed; inset: 0; z-index: 9600; /* above lightbox (9500), below preloader */
  display: grid; place-items: end center;
  visibility: hidden; pointer-events: none;
}
.booksheet.is-open { visibility: visible; pointer-events: auto; }
.bs-backdrop {
  position: absolute; inset: 0;
  background: rgba(4,12,8,.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s var(--ease-premium);
}
.booksheet.is-open .bs-backdrop { opacity: 1; }
.bs-panel {
  position: relative; width: 100%; max-width: 520px;
  max-height: min(92dvh, 92vh); overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, #fffdf6 0%, #faf6ea 100%);
  border-radius: 26px 26px 0 0;
  padding: 26px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -18px 60px -20px rgba(0,0,0,.55);
  transform: translateY(102%);
  transition: transform .5s var(--ease-premium);
}
.booksheet.is-open .bs-panel { transform: translateY(0); }
/* gold sunrise hairline across the top of the sheet */
.bs-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-2) 30%, var(--gold) 70%, transparent);
  border-radius: 26px 26px 0 0;
}
.bs-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; color: var(--green-900); cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.bs-close:hover { background: var(--green-900); color: #fff; transform: rotate(90deg); }
.bs-close svg { width: 18px; height: 18px; }
.bs-eyebrow {
  margin: 0 0 6px; font-size: .68rem; font-weight: 800;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold-ink);
}
.bs-title { margin: 0 0 4px; font-size: clamp(1.35rem, 4.5vw, 1.7rem); color: var(--green-900); line-height: 1.1; padding-right: 48px; }
.bs-sub { margin: 0 0 18px; font-size: .92rem; color: #5c6b60; }
.bs-form { display: grid; gap: 14px; }
.bs-field label {
  display: block; margin-bottom: 5px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--green-800);
}
.bs-field label span { font-weight: 500; color: #8a978d; letter-spacing: 0; }
.bs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bs-form .input { min-height: 50px; padding: 12px 14px; }
.bs-form input[type="date"].input { -webkit-appearance: none; appearance: none; }
.bs-form .input.bs-invalid { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.10); }
.bs-submit { width: 100%; justify-content: center; margin-top: 4px; }
.bs-note {
  margin: 2px 0 0; text-align: center;
  font-size: .78rem; color: #8a978d;
}
/* desktop: centred card */
@media (min-width: 761px) {
  .booksheet { place-items: center; padding: 4vh 20px; }
  .bs-panel {
    border-radius: 26px; padding: 30px 30px 26px;
    transform: translateY(18px) scale(.96); opacity: 0;
    transition: transform .45s var(--ease-premium), opacity .45s var(--ease-premium);
    box-shadow: 0 40px 90px -30px rgba(0,0,0,.65);
  }
  .bs-panel::before { border-radius: 26px 26px 0 0; }
  .booksheet.is-open .bs-panel { transform: translateY(0) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bs-backdrop, .bs-panel { transition: none !important; }
  .bs-panel { transform: none !important; opacity: 1 !important; }
}
