/* The Marisol — tour-first proof */
:root{
  --ink:#0a2c3e;
  --cream:#fbf5e9;
  --cream-dim:rgba(251,245,233,.74);
  --sun:#cf8a3d;
  --sun-bright:#f0b35e;
  --panel:rgba(8,36,50,.9);
  --line:rgba(251,245,233,.18);
  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Inter",-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}
body{
  font-family:var(--sans);
  background:var(--ink);
  color:var(--cream);
  overflow:hidden;
  overscroll-behavior:none;
  -webkit-font-smoothing:antialiased;
}
button{font-family:inherit;cursor:pointer;color:inherit;background:none;border:none}
[hidden]{display:none !important}

/* ---------- stage: a filmstrip you slide through ---------- */
.stage{position:fixed;inset:0;z-index:0;background:#04141d;overflow:hidden;touch-action:none;-webkit-touch-callout:none}
.track{position:absolute;inset:0;will-change:transform}
.track.anim{transition:transform .88s cubic-bezier(.22,.9,.26,1)}
.slide{
  position:absolute;top:0;left:calc(var(--i)*100%);
  width:100%;height:100%;overflow:hidden;
}
/* the walk <-> beach seam: the incoming scene stacks over the place
   you are standing in (its left is set inline to counter the track
   offset) and the two scenes crossfade through a soft dip instead
   of sliding */
.slide.seam-top{z-index:3}
.scene{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;-webkit-user-drag:none;user-select:none;
}
.slide-shade{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(6,26,38,.40) 0%,rgba(6,26,38,0) 22%,rgba(6,26,38,0) 62%,rgba(6,26,38,.52) 100%);
}

/* ---------- landing page: the front of the hotel, outside the tour ---------- */
.landing{
  position:fixed;inset:0;z-index:5;touch-action:none;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:24px;background:#04141d;
  will-change:transform;
}
.landing.anim{transition:transform .88s cubic-bezier(.22,.9,.26,1)}
.landing-shade{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(6,26,38,.30),rgba(6,26,38,.52));
}
.title-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:0}
.eyebrow{
  font-size:.78rem;letter-spacing:.32em;text-transform:uppercase;
  color:var(--sun-bright);font-weight:600;
}
/* The name pops the way morning does here: not neon, but lit.
   A warm halo breathes behind the serif, slow as light coming up. */
.landing h1{
  font-family:var(--serif);font-weight:600;
  font-size:clamp(3rem,10vw,6.2rem);line-height:1.02;
  margin:.18em 0 .22em;letter-spacing:.01em;
  color:#fffaf0;
  text-shadow:
    0 0 14px rgba(255,214,150,.55),
    0 0 42px rgba(240,179,94,.45),
    0 0 90px rgba(240,179,94,.30),
    0 2px 26px rgba(4,20,29,.5);
  animation:sun-breathe 5.2s ease-in-out infinite;
}
@keyframes sun-breathe{
  0%,100%{text-shadow:0 0 14px rgba(255,214,150,.55),0 0 42px rgba(240,179,94,.45),0 0 90px rgba(240,179,94,.30),0 2px 26px rgba(4,20,29,.5)}
  50%{text-shadow:0 0 18px rgba(255,220,165,.7),0 0 58px rgba(240,179,94,.6),0 0 120px rgba(240,179,94,.42),0 2px 26px rgba(4,20,29,.5)}
}
.tagline{font-size:clamp(1rem,2.6vw,1.25rem);line-height:1.55;color:var(--cream-dim);margin-bottom:1.05rem;text-shadow:0 1px 12px rgba(4,20,29,.6)}
/* the facts, right on the front: for the visitor who arrives decided */
.landing-info{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:.3rem .65rem;max-width:92vw;
  font-size:.86rem;font-weight:500;letter-spacing:.06em;color:var(--cream-dim);
  margin-bottom:1.9rem;text-shadow:0 1px 10px rgba(4,20,29,.6);
}
.landing-info .info-sep{color:var(--sun);font-weight:600}
.landing-info a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(240,179,94,.45);padding-bottom:1px}
.landing-info a:hover{color:var(--sun-bright)}
.fineprint{font-size:.72rem;line-height:1.6;color:rgba(251,245,233,.5);max-width:56ch}
.title-credits{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);width:min(92vw,56ch);text-align:center}

.btn-primary{
  background:var(--sun);color:#2a1a04;border:none;
  font-weight:600;font-size:1rem;letter-spacing:.02em;
  padding:.95rem 2.1rem;border-radius:999px;
  transition:background .25s ease,transform .25s ease;
  box-shadow:0 8px 28px rgba(4,20,29,.4);
}
.btn-primary:hover{background:var(--sun-bright);transform:translateY(-1px)}
.btn-quiet{
  margin-top:1rem;font-size:.88rem;color:var(--cream-dim);
  text-decoration:underline;text-underline-offset:4px;
}
.btn-quiet:hover{color:var(--cream)}

/* ---------- tour chrome ---------- */
.chrome{position:fixed;left:0;right:0;z-index:20;display:flex;align-items:center;touch-action:none}
.chrome-top{
  top:0;justify-content:space-between;
  padding:calc(14px + env(safe-area-inset-top)) 20px 14px;
}
.wordmark{font-family:var(--serif);font-weight:600;font-size:1.15rem;letter-spacing:.02em;text-shadow:0 1px 12px rgba(4,20,29,.65)}
.skip-link{
  font-size:.85rem;font-weight:500;color:var(--cream);
  border:1px solid var(--line);border-radius:999px;padding:.5rem 1rem;
  background:rgba(7,28,40,.5);backdrop-filter:blur(6px);
}
.skip-link:hover{border-color:var(--sun);color:var(--sun-bright)}
.chrome-bottom{
  bottom:0;justify-content:center;gap:16px;
  padding:16px 20px calc(16px + env(safe-area-inset-bottom));
}
.progress{display:flex;align-items:center;gap:10px}
.pstop{
  display:flex;align-items:center;gap:8px;
  font-size:.85rem;font-weight:500;color:var(--cream-dim);
  padding:.45rem .2rem;white-space:nowrap;
}
.pdot{width:9px;height:9px;border-radius:50%;border:1.5px solid var(--cream-dim);display:inline-block;transition:all .3s}
.pstop.is-current{color:var(--cream)}
.pstop.is-current .pdot{background:var(--sun);border-color:var(--sun)}
.pstop.is-done{color:var(--cream-dim)}
.pstop.is-done .pdot{background:var(--cream-dim);border-color:var(--cream-dim)}
.plink{width:22px;height:1px;background:var(--line)}

/* one-time gesture hint: teaches the slide, then gets out of the way */
.slide-hint{
  position:fixed;z-index:22;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  font-size:.85rem;font-weight:600;letter-spacing:.05em;color:var(--cream);
  background:rgba(7,28,40,.6);border:1px solid var(--line);border-radius:999px;
  padding:.55rem 1.15rem;backdrop-filter:blur(6px);
  white-space:nowrap;pointer-events:none;
  animation:hint-sway 2.2s ease-in-out infinite;
}
.slide-hint::before{content:"←  "}
.slide-hint::after{content:"  →"}
@keyframes hint-sway{
  0%,100%{transform:translateX(calc(-50% - 6px))}
  50%{transform:translateX(calc(-50% + 6px))}
}

/* ---------- hotspot ---------- */
.hotspot{
  position:fixed;z-index:25;transform:translate(-50%,-50%);touch-action:none;
  display:flex;flex-direction:column;align-items:center;gap:7px;
  padding:18px; /* generous tap target */
  animation:hs-in .6s ease both;
}
@keyframes hs-in{from{opacity:0}to{opacity:1}}
.hs-rings{position:relative;width:78px;height:78px;display:block}
/* The dot itself: back to the original 16px, a plain sun-accent
   core with a modest white ring and a soft glow in the site's
   palette. */
.hs-core{
  position:absolute;left:50%;top:50%;width:16px;height:16px;
  transform:translate(-50%,-50%);border-radius:50%;
  background:var(--sun);
  border:2px solid rgba(255,255,255,.92);
  box-shadow:0 2px 10px rgba(4,20,29,.45),0 0 14px rgba(240,179,94,.5);
}
/* One standing ping: born at the dot, swelling to about three
   times the core and thinning as it goes, on a 2.2s cycle. It
   keeps pinging gently whether the stop has been opened or not. */
.hs-ring{
  position:absolute;left:50%;top:50%;width:16px;height:16px;border-radius:50%;
  border:2px solid rgba(240,179,94,.9);
  transform:translate(-50%,-50%) scale(1);
  animation:sonar 2.2s ease-out infinite;
}
@keyframes sonar{
  0%{transform:translate(-50%,-50%) scale(1);opacity:.85}
  70%{opacity:.28}
  100%{transform:translate(-50%,-50%) scale(3);opacity:0}
}
.hs-label{
  font-size:.82rem;font-weight:600;letter-spacing:.04em;
  background:rgba(7,28,40,.72);border:1px solid var(--line);
  padding:.45rem .85rem;border-radius:999px;backdrop-filter:blur(6px);
  white-space:nowrap;
}
/* The instruction line over the title: eyebrow-styled, in the accent.
   On this site the scenes run bright (sky, sand), so the line carries a
   soft dark backing pill in the label's own language to stay readable. */
.hs-hint{
  font-size:.66rem;font-weight:600;letter-spacing:.26em;line-height:1;
  color:var(--sun-bright);white-space:nowrap;margin:-2px 0;
  background:rgba(7,28,40,.55);border:1px solid var(--line);
  padding:.32rem .65rem .32rem .85rem;border-radius:999px;backdrop-filter:blur(6px);
}
.hotspot:hover .hs-core{filter:brightness(1.12)}

/* ---------- cards ---------- */
.scrim{
  position:fixed;inset:0;z-index:30;background:rgba(4,18,27,.45);
  backdrop-filter:blur(2px);animation:hs-in .35s ease both;
}
.card{
  position:fixed;z-index:31;left:50%;top:50%;touch-action:pan-y;
  transform:translate(-50%,-50%);
  width:min(480px,calc(100vw - 32px));
  max-height:calc(100dvh - 130px);overflow-y:auto;
  background:var(--panel);border:1px solid var(--line);border-radius:20px;
  padding:30px 30px 26px;backdrop-filter:blur(14px);
  box-shadow:0 30px 80px rgba(2,12,19,.6);
  animation:card-in .45s cubic-bezier(.2,.9,.25,1) both;
}
@keyframes card-in{from{opacity:0;transform:translate(-50%,-46%)}to{opacity:1;transform:translate(-50%,-50%)}}
.card-x{
  position:absolute;top:12px;right:12px;width:38px;height:38px;border-radius:50%;
  color:var(--cream-dim);font-size:.95rem;line-height:1;
  display:flex;align-items:center;justify-content:center;
}
.card-x:hover{color:var(--cream);background:rgba(251,245,233,.08)}
.card-eyebrow{font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;color:var(--sun-bright);font-weight:600;margin-bottom:.7rem}
.card h2{font-family:var(--serif);font-weight:600;font-size:1.9rem;line-height:1.1;margin-bottom:.4rem}
.card h3{font-family:var(--serif);font-weight:600;font-size:1.25rem;color:var(--sun-bright);margin-bottom:.6rem}
.card p{line-height:1.6;color:var(--cream-dim);font-size:.97rem}
.card p + p{margin-top:.7rem}
.card-note{font-size:.8rem !important;color:rgba(251,245,233,.45) !important;margin-top:.9rem}
.btn-card{margin-top:1.4rem;width:100%}
/* the beach card tells it plainly, then lists the week's days */
.story-lines{margin-top:.2rem}
.story-lines p{
  font-family:var(--serif);font-style:italic;
  font-size:1.1rem;line-height:1.55;color:var(--cream);
  margin-bottom:.85rem;
}
.story-lines p:last-child{margin-bottom:0}
.drink-list{list-style:none;margin-top:.4rem}
.drink-list li{padding:.65rem 0;border-bottom:1px solid var(--line)}
.drink-list li:last-child{border-bottom:none}
.drink-list strong{font-family:var(--serif);font-size:1.08rem;display:block}
.drink-list span{color:var(--cream-dim);font-size:.9rem;line-height:1.5}

/* ---------- the pool card: the box stays put, the drinks scroll inside ----------
   The card keeps its height and width; the header and the button
   stay pinned, and only the drinks list scrolls, with no visible
   scrollbar. A soft fade at the foot of the list says there is
   more below; it lifts when the last drink is reached. */
#card-pool{display:flex;flex-direction:column;overflow:hidden}
#card-pool .drink-scroll{
  position:relative;flex:1 1 auto;min-height:0;
  display:flex;flex-direction:column;
}
#card-pool .drink-list{
  flex:1 1 auto;min-height:0;overflow-y:auto;
  margin-top:0;  /* the h2's margin already sets the gap; flex does not collapse margins */
  overscroll-behavior:contain;touch-action:pan-y;
  scrollbar-width:none;-ms-overflow-style:none;
}
#card-pool .drink-list::-webkit-scrollbar{display:none;width:0;height:0}
#card-pool .drink-scroll::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:38px;
  background:linear-gradient(to bottom,rgba(8,36,50,0),rgba(8,36,50,.95));
  pointer-events:none;transition:opacity .35s ease;
}
#card-pool .drink-scroll.at-end::after{opacity:0}

/* ---------- the beach card: the setup, then what's on this week ----------
   Story and happenings ride one scroll area with the same
   invisible rule as the drinks list, so the card never outgrows
   the other cards. */
#card-beach{display:flex;flex-direction:column;overflow:hidden}
#card-beach .story-scroll{
  position:relative;flex:1 1 auto;min-height:0;
  display:flex;flex-direction:column;
}
#card-beach .story-body{
  flex:1 1 auto;min-height:0;overflow-y:auto;
  overscroll-behavior:contain;touch-action:pan-y;
  scrollbar-width:none;-ms-overflow-style:none;
}
#card-beach .story-body::-webkit-scrollbar{display:none;width:0;height:0}
#card-beach .story-scroll::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:38px;
  background:linear-gradient(to bottom,rgba(8,36,50,0),rgba(8,36,50,.95));
  pointer-events:none;transition:opacity .35s ease;
}
#card-beach .story-scroll.at-end::after{opacity:0}
.story-events{margin-top:1.35rem;border-top:1px solid var(--line);padding-top:1.1rem}
.card .events-head{
  font-size:.7rem;letter-spacing:.28em;text-transform:uppercase;
  color:var(--sun-bright);font-weight:600;line-height:1.5;margin-bottom:.35rem;
}
.event-list{list-style:none}
.event-list li{border-bottom:1px solid var(--line)}
.event-list li:last-child{border-bottom:none}
/* Each dated happening is a quiet door into booking: tap one and
   you land on the booking screen with that arrival day chosen. */
.event-row{
  display:flex;align-items:center;gap:14px;width:100%;
  text-align:left;padding:.65rem .1rem .65rem 0;border-radius:8px;
}
.event-row .ev-main{flex:1 1 auto;min-width:0}
.event-row strong{font-family:var(--serif);font-size:1.05rem;display:block;color:var(--cream)}
.event-row .ev-day{color:var(--sun-bright)}
.event-row .ev-desc{display:block;color:var(--cream-dim);font-size:.9rem;line-height:1.5}
.event-row .ev-arrow{
  flex:0 0 auto;color:var(--sun);font-size:1.05rem;line-height:1;
  opacity:.7;transition:transform .25s ease,opacity .25s ease,color .25s ease;
}
.event-row:hover .ev-arrow,.event-row:focus-visible .ev-arrow{
  opacity:1;color:var(--sun-bright);transform:translateX(3px);
}
.event-row:focus-visible{outline:2px solid var(--sun);outline-offset:2px}
.card .events-foot{
  font-family:var(--serif);font-style:italic;
  font-size:.88rem;color:rgba(251,245,233,.5);margin-top:.85rem;
}

.field-label{font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;color:var(--sun-bright);font-weight:600;margin:1.1rem 0 .55rem}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  border:1px solid var(--line);border-radius:999px;
  padding:.6rem 1rem;font-size:.9rem;font-weight:500;color:var(--cream-dim);
  transition:all .2s ease;min-height:44px;
}
.chip:hover{border-color:var(--sun)}
.chip.is-on{background:var(--sun);border-color:var(--sun);color:#2a1a04;font-weight:600}
.party-row{display:flex;align-items:center;gap:18px}
.stepper{
  width:46px;height:46px;border-radius:50%;
  border:1px solid var(--line);font-size:1.35rem;line-height:1;color:var(--cream);
  display:flex;align-items:center;justify-content:center;
}
.stepper:hover{border-color:var(--sun);color:var(--sun-bright)}
.party-count{font-size:1rem;color:var(--cream-dim)}
.party-count strong{color:var(--cream);font-size:1.15rem}
.done-mark{
  width:52px;height:52px;border-radius:50%;margin-bottom:1rem;
  background:var(--sun);color:#2a1a04 !important;
  display:flex;align-items:center;justify-content:center;
  font-size:1.5rem;font-weight:700;
}
#bookDone h3{margin-bottom:.5rem}

/* ---------- rooms & rates: the last slide but one on the strip ---------- */
.rates{
  position:fixed;inset:0;z-index:40;overflow-y:auto;touch-action:pan-y;
  background:
    radial-gradient(120% 90% at 50% 0%,#14425a 0%,#0c3049 55%,#082536 100%);
  transform:translateX(100%);visibility:hidden;will-change:transform;
}
.rates.anim{transition:transform .88s cubic-bezier(.22,.9,.26,1)}
.rates-inner{max-width:1060px;margin:0 auto;padding:64px 24px 56px;text-align:center}
.rates .eyebrow{margin-bottom:1rem}
.rates-head{
  font-family:var(--serif);font-weight:600;
  font-size:clamp(2rem,6vw,3.4rem);line-height:1.15;margin-bottom:3rem;
}
.rates-cols{
  display:grid;grid-template-columns:repeat(3,1fr);gap:44px;
  text-align:left;margin-bottom:3.4rem;
}
.rates-sec h3{
  font-family:var(--serif);font-weight:600;font-size:1.35rem;
  color:var(--sun-bright);
  border-bottom:1px solid var(--line);padding-bottom:.55rem;margin-bottom:1rem;
}
.rates-sec ul{list-style:none}
.rates-sec li{display:flex;justify-content:space-between;gap:14px;padding:.55rem 0}
.rates-sec li strong{display:block;font-weight:600;font-size:.98rem}
.rates-sec li span{display:block;color:var(--cream-dim);font-size:.84rem;line-height:1.45;margin-top:.15rem}
.rates-sec li em{font-family:var(--serif);font-style:normal;color:var(--sun-bright);font-size:1.3rem}
.rate-note{font-size:.78rem;color:rgba(251,245,233,.45);margin-top:.4rem}
/* the facts again, under the rooms, before anyone books:
   check-in, parking, what's included, cancelling, in one place */
.rates-info{max-width:660px;margin:0 auto 3.2rem;text-align:left}
.rates-info-head{
  font-family:var(--serif);font-weight:600;font-size:1.5rem;text-align:center;
  color:var(--cream);margin-bottom:1.4rem;
}
.info-list{border-top:1px solid var(--line)}
.info-row{
  display:grid;grid-template-columns:110px 1fr;gap:18px;
  padding:.8rem 0;border-bottom:1px solid var(--line);
}
.info-row dt{
  font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;
  color:var(--sun-bright);font-weight:600;padding-top:.28rem;
}
.info-row dd{color:var(--cream-dim);font-size:.95rem;line-height:1.6}
.info-row dd a{color:var(--cream);text-decoration:none;border-bottom:1px solid rgba(240,179,94,.45);padding-bottom:1px}
.info-row dd a:hover{color:var(--sun-bright)}
@media (max-width:640px){
  .info-row{grid-template-columns:1fr;gap:.25rem;padding:.75rem 0}
  .info-row dt{padding-top:0}
}
.rates-foot{display:flex;flex-direction:column;align-items:center;gap:1.1rem}
.rates-foot .fineprint{text-align:center}

/* ---------- booking: the final slide, after the rooms ---------- */
.booking{
  position:fixed;inset:0;z-index:40;overflow-y:auto;touch-action:pan-y;
  background:
    radial-gradient(120% 90% at 50% 0%,#14425a 0%,#0c3049 55%,#082536 100%);
  transform:translateX(100%);visibility:hidden;will-change:transform;
}
.booking.anim{transition:transform .88s cubic-bezier(.22,.9,.26,1)}
.booking-inner{max-width:620px;margin:0 auto;padding:64px 24px 56px;text-align:center}
.booking .eyebrow{margin-bottom:1rem}
.booking-head{
  font-family:var(--serif);font-weight:600;
  font-size:clamp(2rem,6vw,3.2rem);line-height:1.15;margin-bottom:2.6rem;
}
.book-panel{
  background:var(--panel);border:1px solid var(--line);border-radius:20px;
  padding:30px;text-align:left;backdrop-filter:blur(14px);
  box-shadow:0 30px 80px rgba(2,12,19,.6);margin-bottom:2.4rem;
}
.book-lede{line-height:1.6;color:var(--cream-dim);font-size:.97rem}
.book-panel h3{font-family:var(--serif);font-weight:600;font-size:1.3rem;color:var(--sun-bright);margin-bottom:.5rem}
#bookDone p{line-height:1.6;color:var(--cream-dim);font-size:.97rem}
.booking-foot{display:flex;flex-direction:column;align-items:center;gap:1.1rem}
.booking-foot .fineprint{text-align:center}

/* ---------- phones ---------- */
@media (max-width:640px){
  .card{
    left:0;right:0;top:auto;bottom:0;transform:none;width:auto;
    border-radius:22px 22px 0 0;border-bottom:none;
    max-height:82dvh;padding:26px 22px calc(22px + env(safe-area-inset-bottom));
    animation:sheet-in .45s cubic-bezier(.2,.9,.25,1) both;
  }
  @keyframes sheet-in{from{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}
  .rates-cols{grid-template-columns:1fr;gap:34px}
  .progress{gap:8px}
  .progress .pstop{font-size:0;gap:0}            /* dots only… */
  .progress .pstop.is-current{font-size:.78rem;gap:6px}  /* …except the leg you are on */
  .plink{display:none}
  .chrome-bottom{padding-left:14px;padding-right:14px}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  .hs-ring{animation:none;opacity:0}  /* no pulse under reduced motion: the small static dot stays */
  .slide-hint{animation:none}
  .landing h1{animation:none}
  .track,.landing{transition:opacity .19s ease}  /* slides become a quick crossfade */
  .track.anim,.rates.anim,.booking.anim,.landing.anim{transition:none}
  .card,.scrim,.hotspot{animation:none}
}
