/* Royal Pavilion Camps — the one stylesheet.
   Form cloned from Simplotel "Serenity" (L3); every value comes from DESIGN-SYSTEM.md.
   Edit a component in its own block. Never append override blocks at the bottom. */

/* ===== 1. Tokens ===== */
:root {
  --copper: #BA8259; --copper-txt: #7A4D2C; --btn: #8A5A35; --btn-h: #6F4627;
  --olive: #C2BE62; --olive-txt: #5F5C22;
  --ink: #2A1C12; --ink-2: #5A4636; --line: #E3D5C0;
  --ivory: #F8F3EA; --ivory-2: #F1E6D3; --white: #FFFFFF;
  --dune: #3B2717; --dune-2: #2C1C10; --sand: #E9D2B0;
  --focus: var(--copper-txt);

  --serif: "Crimson Pro", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-label: 12px; --fs-small: 14px; --fs-body: 16px; --fs-lead: 18px; --fs-h3: 24px;
  --fs-h2: clamp(30px, 3.4vw, 44px); --fs-h1: clamp(40px, 5vw, 64px);
  --tr-label: .16em; --tr-eyebrow: .24em;

  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-20: 20px; --s-24: 24px; --s-32: 32px;
  --s-40: 40px; --s-48: 48px; --s-64: 64px; --s-80: 80px; --s-96: 96px;
  --sec-pad: var(--s-64); --gap-inner: var(--s-48); --gutter: var(--s-64);
  --wrap: 1280px; --r: 2px;
  --sh-1: 0 12px 32px rgba(44, 28, 16, .10); --sh-2: 0 24px 48px rgba(44, 28, 16, .18);
  --ease: cubic-bezier(.22, .61, .36, 1); --dur: 350ms;
  --topbar-h: 44px; --hdr-h: 80px;
}
@media (max-width: 1199px) { :root { --gutter: var(--s-40); } }
@media (max-width: 1023px) { :root { --gutter: var(--s-32); --sec-pad: var(--s-48); } }
@media (max-width: 767px)  { :root { --gutter: var(--s-24); --sec-pad: var(--s-32); --gap-inner: var(--s-32); } }

/* ===== 2. Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 300 var(--fs-body)/1.65 var(--sans); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: .01em; color: var(--ink); }
h2 { font-size: var(--fs-h2); text-wrap: balance; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--s-16); }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ico { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-16); top: -64px; z-index: 100; padding: var(--s-12) var(--s-16); background: var(--dune); color: var(--white); }
.skip:focus { top: var(--s-16); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec-pad); position: relative; }

/* ===== 3. Buttons and links ===== */
.btn { display: inline-flex; white-space: nowrap; align-items: center; justify-content: center; gap: var(--s-8); min-height: 48px; padding: 0 var(--s-24);
  border: 1px solid transparent; border-radius: var(--r); font: 600 var(--fs-label)/1 var(--sans); letter-spacing: var(--tr-label);
  text-transform: uppercase; cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.btn--solid { background: var(--btn); color: var(--white); }
.btn--solid:hover { background: var(--btn-h); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 var(--s-20); }
.lnk { display: inline-flex; align-items: center; gap: var(--s-8); min-height: 44px; padding-bottom: var(--s-4); border-bottom: 1px solid var(--copper);
  font: 600 var(--fs-label)/1 var(--sans); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.inl { color: var(--copper-txt); text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 3px; }
.inl:hover { color: var(--ink); }
.lnk .ico { transition: transform var(--dur) var(--ease); }
.lnk:hover .ico { transform: translateX(4px); }

/* ===== 4. Section head (eyebrow + h2 + link) ===== */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-12); margin: 0 0 var(--s-12); font: 600 var(--fs-label)/1.3 var(--sans);
  letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--copper-txt); }
/* one lotus before every label (orn-lotus.png is a mask, so each band colours it with its own background) */
.eyebrow::before { content: ""; flex: none; width: 40px; height: 28px; background: var(--copper-txt);
  -webkit-mask: url(https://assets.simplotel.com/simplotel/image/upload/f_auto,q_auto/royal-pavilion-camps/orn-lotus_50157541.png) center / contain no-repeat; mask: url(https://assets.simplotel.com/simplotel/image/upload/f_auto,q_auto/royal-pavilion-camps/orn-lotus_50157541.png) center / contain no-repeat; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-24); margin-bottom: var(--gap-inner); }
.sec__head--center { flex-direction: column; align-items: center; text-align: center; }
.sec__head--center .eyebrow, .film__over .eyebrow { flex-direction: column; gap: var(--s-8); }
@media (max-width: 767px) { .sec__head { flex-direction: column; align-items: flex-start; } .sec__head--center { align-items: center; } }

/* ===== 5. Top bar (transparent over the hero, thin divider; hidden on phones) ===== */
.topbar { position: absolute; inset: 0 0 auto; z-index: 30; height: var(--topbar-h); border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .88); font: 300 13px/1 var(--sans); letter-spacing: .01em; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar ul { display: flex; align-items: center; gap: var(--s-24); }
.topbar li { display: inline-flex; align-items: center; gap: var(--s-8); white-space: nowrap; }
.topbar a { display: inline-flex; align-items: center; gap: var(--s-8); min-height: 44px; }
.topbar .ico { color: var(--sand); font-size: 14px; }
.topbar .btn { min-height: 34px; padding: 0 var(--s-16); }
@media (max-width: 767px) { .topbar { display: none; } }
/* Page opens on the clean hero, then the top bar and header slide down into place (owner, 5 Nov 26).
   Animate the header's children, never .hdr__in itself: a transform there would turn the fixed drawer into page overflow. */
@keyframes navIn { from { opacity: 0; transform: translateY(-16px); } }
.topbar { animation: navIn 800ms var(--ease) 700ms backwards; }
.hdr__in > :not(.nav), .nav__list { animation: navIn 800ms var(--ease) 900ms backwards; }
@media (prefers-reduced-motion: reduce) { .topbar, .hdr__in > :not(.nav), .nav__list { animation: none; } }

/* ===== 6. Header: transparent -> pinned -> solid ===== */
.hdr { position: absolute; inset: var(--topbar-h) 0 auto; z-index: 40; height: var(--hdr-h); color: var(--white);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease); }
.hdr.is-pinned { position: fixed; top: 0; background: linear-gradient(rgba(44, 28, 16, .55), rgba(44, 28, 16, 0)); }
.hdr.is-stuck, .hdr--solid { position: fixed; top: 0; background: var(--ivory); color: var(--ink); box-shadow: 0 1px 0 var(--line), var(--sh-1); }
.hdr--solid { position: sticky; }
.hdr__in { display: flex; align-items: center; gap: var(--s-32); height: 100%; }
/* header Book Now only once the top bar (which has its own) has scrolled away */
.hdr__book { display: none; }
.hdr.is-pinned .hdr__book, .hdr.is-stuck .hdr__book, .hdr--solid .hdr__book { display: inline-flex; visibility: visible; }
.logo { display: block; flex: none; }
.logo__img { width: 150px; height: auto; }
.logo__img--dark, .hdr.is-stuck .logo__img--light, .hdr--solid .logo__img--light { display: none; }
.hdr.is-stuck .logo__img--dark, .hdr--solid .logo__img--dark { display: block; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: var(--s-24); }
.nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-4); min-height: 44px; min-width: 44px;
  font: 500 var(--fs-label)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.nav a { white-space: nowrap; }
/* laptop widths: slightly tighter so the menu, burger and globe never overflow the 1280px wrap; 1600px+ keeps the full size */
@media (min-width: 1200px) and (max-width: 1599px) {
  .hdr__in { gap: var(--s-20); } .logo__img { width: 130px; }
  .nav > ul { gap: var(--s-16); } .nav a { font-size: 12px; letter-spacing: .08em; }
}
@media (min-width: 1600px) { .hdr__in { gap: var(--s-20); } .logo__img { width: 130px; } .nav > ul { gap: var(--s-20); } }
.nav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transition: transform var(--dur) var(--ease); }
.nav > ul > li > a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -16px; min-width: 200px; padding: var(--s-8) 0; background: var(--ivory); color: var(--ink);
  box-shadow: var(--sh-2); border-radius: var(--r); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; padding: 0 var(--s-16); letter-spacing: .08em; }
.sub a:hover { color: var(--copper-txt); }
/* flex: none: in a tight phone header flexbox squeezed it to 31 px and the thin lines vanished (owner, 5 Nov 26) */
.burger { display: none; flex: none; width: 44px; height: 44px; margin-left: var(--s-8); padding: 13px 11px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer;
  transition: background var(--dur) var(--ease); }
/* over a photo or video (header not yet solid) a soft dark disc keeps the icon readable on a bright sky */
.hdr:not(.is-stuck):not(.hdr--solid):not(.nav-open) .burger { background: rgba(44, 28, 16, .45); }
.burger span { display: block; height: 2px; margin: 0 0 6px; border-radius: 1px; background: currentColor; transition: transform var(--dur) var(--ease), opacity var(--dur); }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* desktop: Gallery and Contact live under a burger (the drawer below 1200px already lists everything) */
.more { display: none; position: relative; flex: none; }
.nav__more { display: none; }
@media (min-width: 1200px) {
  .more { display: block; }
  /* compact burger + globe, tucked closer to the menu so the header's right side stays even */
  .more .burger { display: block; width: 38px; height: 38px; margin-left: 0; padding: 10px 9px; }
  .hdr .lang { margin-left: calc(-1 * var(--s-8)); }
  .hdr .lang__btn { width: 36px; height: 36px; font-size: 19px; }
  .more__menu { position: absolute; top: calc(100% + var(--s-8)); right: 0; z-index: 50; min-width: 180px; padding: var(--s-8) 0;
    background: var(--ivory); color: var(--ink); border-radius: var(--r); box-shadow: var(--sh-2); }
  .more__menu[hidden] { display: none; }
  .more__menu a { display: flex; align-items: center; justify-content: flex-start; min-height: 44px; padding: 0 var(--s-16);
    font: 500 var(--fs-label)/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
  .more__menu a:hover, .more__menu a.is-active { color: var(--copper-txt); }
}
@media (max-width: 1199px) { .nav__more { display: list-item; } }
/* ===== 6b. Language picker (Google Translate, driven by our own globe button) ===== */
.lang { position: relative; flex: none; margin-left: var(--s-8); }
.lang__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%;
  background: var(--btn); color: var(--white); font-size: 22px; cursor: pointer; transition: background var(--dur) var(--ease); }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background: var(--btn-h); }
.lang__menu { position: absolute; top: calc(100% + var(--s-8)); right: 0; z-index: 50; min-width: 168px; max-height: 70vh; overflow-y: auto; padding: var(--s-8) 0;
  background: var(--ivory); color: var(--ink); border-radius: var(--r); box-shadow: var(--sh-2); }
.lang__menu[hidden] { display: none; }
.lang__menu button { display: block; width: 100%; min-height: 40px; padding: 0 var(--s-16); border: 0; background: none; text-align: left; font: 400 var(--fs-small)/40px var(--sans); cursor: pointer; }
.lang__menu button:hover { background: var(--ivory-2); color: var(--copper-txt); }
.lang__menu button[aria-current="true"] { color: var(--copper-txt); font-weight: 600; }
@media (max-width: 1199px) { .lang { margin-left: var(--s-12); } }
/* hide Google's own banner, tooltip and highlight so only our globe shows */
body { top: 0 !important; }
.skiptranslate iframe, .goog-te-banner-frame, #goog-gt-tt, .goog-tooltip { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
@media (max-width: 767px) { .hdr { top: 0; } .hdr .hdr__book { visibility: visible; } }
@media (max-width: 1199px) {
  .burger { display: block; }
  /* tablet: keep the button's space while it is hidden, so the burger stays at the right edge */
  .hdr__book { display: inline-flex; visibility: hidden; margin-left: auto; }
  .nav { position: fixed; inset: 0 0 0 auto; z-index: 1; width: min(360px, 100%); padding: calc(var(--hdr-h) + var(--s-16)) var(--s-32) var(--s-32);
    background: var(--dune); color: var(--ivory); overflow-y: auto; transform: translateX(100%); visibility: hidden;
    transition: transform var(--dur) var(--ease), visibility var(--dur); }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { justify-content: flex-start; width: 100%; min-height: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-small); }
  .nav > ul > li > a::after { display: none; }
  .sub { position: static; display: none; min-width: 0; padding: 0 0 0 var(--s-16); background: none; color: inherit; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; }
  .has-sub.is-open .sub { display: block; }
  .has-sub:hover .sub { display: none; } .has-sub.is-open:hover .sub { display: block; }
  .sub a { padding: 0; font-size: var(--fs-small); letter-spacing: .12em; }
  .hdr.nav-open { color: var(--ivory); }
  .burger { position: relative; z-index: 2; }
}
/* phones: the logo leads; Book Now, globe and menu are compact so they never crowd it or run off the edge */
@media (max-width: 767px) { .hdr__in { gap: var(--s-8); } .hdr__book { min-height: 34px; padding: 0 var(--s-12); font-size: 10px; letter-spacing: .12em; }
  .lang { margin-left: 0; } .lang__btn { width: 34px; height: 34px; font-size: 18px; }
  .burger { width: 38px; height: 38px; margin-left: 0; padding: 10px 9px; } }
@media (max-width: 479px) { .logo__img { width: 116px; } }
@media (max-width: 359px) { .hdr .lang { margin-left: auto; } .hdr .lang + .burger { margin-left: 0; } }
@media (max-width: 359px) { .hdr .hdr__book { display: none; } }

/* ===== 7. Hero video ===== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--dune-2); }
.hero__media, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(rgba(44, 28, 16, .78) 0%, rgba(44, 28, 16, .6) 14%, rgba(44, 28, 16, .1) 32%, rgba(44, 28, 16, .1) 65%, rgba(44, 28, 16, .45) 100%); }
.hero__ctrl { position: absolute; right: var(--gutter); bottom: 72px; z-index: 3; display: flex; gap: var(--s-8); }
.hero__ctrl button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%;
  background: rgba(44, 28, 16, .45); color: var(--white); cursor: pointer; font-size: 18px; transition: background var(--dur) var(--ease); }
.hero__ctrl button:hover { background: rgba(44, 28, 16, .8); }
.hero__ctrl button:focus-visible { outline-color: var(--sand); }
@media (max-width: 767px) { .hero { height: 78svh; min-height: 480px; } .hero__ctrl { bottom: var(--s-24); } }

/* ===== 8. Booking card + its two popups (calendar, tents and guests) ===== */
.bookwrap { position: relative; z-index: 5; margin-top: -44px; }
.book { display: grid; grid-template-columns: repeat(3, 1fr) minmax(220px, .9fr); background: var(--white); border-radius: var(--r); box-shadow: var(--sh-2); }
.book__f { display: grid; gap: var(--s-4); padding: var(--s-20) var(--s-32); border-right: 1px solid var(--line); }
.book__l { display: flex; align-items: center; gap: var(--s-8); font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: var(--tr-label);
  text-transform: uppercase; color: var(--ink-2); }
.book__l .ico { color: var(--copper-txt); }
.book__v { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 0; border: 0; background: none;
  font: 400 var(--fs-body)/1.2 var(--sans); color: var(--ink); text-align: left; cursor: pointer; }
.book__v::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border: solid var(--copper-txt); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-3px); }
.book__v[aria-expanded="true"]::after { transform: rotate(-135deg); }
.book__go { min-height: 100%; border-radius: 0 var(--r) var(--r) 0; padding: 0 var(--s-32); }
/* Over the hero, the card's white sits only under the 3 fields (+8px tucked under the button). A white
   card background under the button showed as a 1px light line past its right edge at 90/110% zoom. */
@media (min-width: 1024px) {
  .book { position: relative; isolation: isolate; background: none; box-shadow: none; }
  .book::before { content: ""; position: absolute; inset: 0 -8px 0 0; grid-column: 1 / 4; grid-row: 1; z-index: -1;
    background: var(--white); border-radius: var(--r) 0 0 var(--r); }
  /* The shadow is cut out exactly at its own box edge, which left a 1px unshaded strip beside the card at
     80/90/110% zoom. Drawn 1px inside the card instead, that cut edge sits under the card. */
  .book::after { content: ""; position: absolute; inset: 1px; z-index: -2; border-radius: var(--r); box-shadow: var(--sh-2); pointer-events: none; }
}
.book__msg { margin: var(--s-12) 0 0; padding: var(--s-12) var(--s-16); background: var(--ivory-2); border-left: 2px solid var(--copper); font-size: var(--fs-small); }
.book__msg a { color: var(--copper-txt); font-weight: 600; }
@media (max-width: 1023px) {
  .bookwrap { margin-top: 0; padding-top: var(--s-24); }
  .book { grid-template-columns: 1fr 1fr; }
  .book__f:nth-child(2) { border-right: 0; }
  .book__f:nth-child(3) { border-top: 1px solid var(--line); }
  .book__go { min-height: 64px; border-radius: 0 0 var(--r) 0; border-top: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .book { grid-template-columns: 1fr; }
  .book__f { border-right: 0; border-bottom: 1px solid var(--line); padding: var(--s-12) var(--s-20); }
  .book__go { border-radius: 0 0 var(--r) var(--r); }
}
/* popups: fixed, placed by JS where the viewport has room; their own scroll if still too tall */
.pop { position: fixed; z-index: 70; width: 320px; max-width: calc(100vw - 16px); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--s-16); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-8); }
.cal__head strong { font: 500 18px/1 var(--serif); }
.cal__head button, .gstep button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); color: var(--ink); cursor: pointer; font-size: 18px; }
.cal__head button:disabled, .gstep button:disabled { opacity: .35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__grid span { padding: var(--s-4) 0; font-size: var(--fs-label); font-weight: 600; color: var(--ink-2); }
.cal__grid button { height: 40px; border: 0; border-radius: var(--r); background: none; font: 400 var(--fs-small)/1 var(--sans); color: var(--ink); cursor: pointer; }
.cal__grid button:hover:not(:disabled) { background: var(--ivory-2); }
.cal__grid button:disabled { color: #9C8B76; text-decoration: line-through; cursor: default; }
.cal__grid button.in-range { background: var(--ivory-2); border-radius: 0; }
.cal__grid button.is-sel { background: var(--btn); color: var(--white); }
.cal__hint { margin: var(--s-8) 0 0; font-size: var(--fs-label); color: var(--ink-2); text-align: center; }
.grow { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); padding: var(--s-8) 0; border-bottom: 1px solid var(--line); }
.grow b { display: block; font-weight: 600; font-size: var(--fs-small); }
.grow small { font-size: var(--fs-label); color: var(--ink-2); }
.gstep { display: flex; align-items: center; gap: var(--s-8); }
.gstep output { min-width: 24px; text-align: center; font-weight: 600; }
.gage { display: flex; align-items: center; justify-content: space-between; padding: var(--s-8) 0; font-size: var(--fs-small); }
.gage select { min-height: 44px; min-width: 120px; padding: 0 var(--s-8); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.gtent { margin-top: var(--s-8); font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--copper-txt); }
/* tents and guests: fixed Tents row on top, scrolling tent list, fixed Done button; height is capped by JS */
.gpop { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.gpop[hidden] { display: none; }
.gpop__head { flex: none; padding: var(--s-8) var(--s-16) 0; border-bottom: 1px solid var(--line); }
.gpop__head .grow { border-bottom: 0; }
.gpop__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--s-16); -webkit-overflow-scrolling: touch; }
.gpop__foot { flex: none; padding: var(--s-12) var(--s-16) var(--s-16); border-top: 1px solid var(--line); background: var(--white); }
.gpop__done { width: 100%; }

/* ===== 9. Desert art layers (replaces Serenity's mountain watercolour) ===== */
/* The painting keeps its own proportions (never cover-scaled, so an opening FAQ cannot zoom it),
   sits at the bottom of the section and drifts with the scroll (--py, set by site.js). */
/* build.py gives every light section a painting, alternating desert-a and desert-b; the wrap smudges its top and bottom into the page */
.art { position: relative; isolation: isolate; }
.art__wrap { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%); }
.art__bg { position: absolute; left: 50%; bottom: 0; width: max(100%, 1100px); max-width: none; height: auto;
  transform: translate3d(-50%, var(--py, 0px), 0); opacity: .4; pointer-events: none; will-change: transform; }
@media (max-width: 767px) { .art__bg { width: 1000px; opacity: .35; } }
/* sand and wind canvas (src/js/sandwind.js): over the painting, under the content */
.sw-host { position: relative; isolation: isolate; }  /* set by sandwind.js on every light section */
.sandwind { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; pointer-events: none; }
.medallion { display: block; width: 96px; height: auto; margin: 0 auto var(--s-16); }

/* ===== 10. About (intro, holds the page H1) ===== */
.about__top { max-width: 840px; margin: 0 auto var(--gap-inner); text-align: center; }
.about__top h1 { font-size: var(--fs-h2); text-wrap: balance; }
.about__quote { max-width: 520px; margin: var(--s-16) auto 0; font: italic 400 var(--fs-lead)/1.55 var(--serif); color: var(--copper-txt); }
.about__split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-48); align-items: start; }
.about__copy > p:first-child::before { content: ""; display: block; width: 48px; height: 1px; margin-bottom: var(--s-16); background: var(--copper); }
.about__copy p { color: var(--ink-2); }
.about__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease); }
.about__more > div { overflow: hidden; }
.about__copy.is-open .about__more { grid-template-rows: 1fr; }
.readmore { display: inline-flex; align-items: center; gap: var(--s-8); min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--copper);
  background: none; font: 600 var(--fs-label)/1 var(--sans); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink); cursor: pointer; }
.readmore .ico { transition: transform var(--dur) var(--ease); }
.about__copy.is-open .readmore .ico { transform: rotate(180deg); }
.about__marks { display: grid; gap: var(--s-12); margin: var(--s-24) 0; }
.about__marks li { display: flex; align-items: center; gap: var(--s-12); font-size: var(--fs-small); color: var(--ink-2); }
.amen { width: 64px; height: 64px; flex: none; object-fit: contain; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: var(--s-24); border-top: 1px solid var(--line); }
.about__stats li { padding-right: var(--s-16); }
.about__stats li + li { padding-left: var(--s-24); border-left: 1px solid var(--line); }
.about__stats strong { display: block; font: 500 32px/1 var(--serif); color: var(--copper-txt); }
.about__stats span { display: block; margin-top: var(--s-8); font-size: var(--fs-label); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-2); line-height: 1.4; }
.about__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .about__split { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .about__stats li + li { padding-left: var(--s-12); } .about__stats strong { font-size: 26px; } }

/* ===== 11. Room cards ===== */
.rgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-24); }
.rgrid--one { grid-template-columns: minmax(0, 620px); }
.room { position: relative; display: block; aspect-ratio: 3 / 4; max-height: min(560px, 70vh); max-height: min(560px, 70svh); width: 100%; overflow: hidden; border-radius: var(--r); color: var(--white); background: var(--dune); }
.room__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.room:hover .room__img { transform: scale(1.04); }
.room__scrim { position: absolute; inset: 0; background: linear-gradient(rgba(44, 28, 16, 0) 35%, rgba(44, 28, 16, .88) 100%); }
.room__tag { position: absolute; top: var(--s-16); left: var(--s-16); padding: var(--s-8) var(--s-12); background: rgba(44, 28, 16, .82); border-radius: var(--r);
  font: 600 var(--fs-label)/1 var(--sans); letter-spacing: var(--tr-label); text-transform: uppercase; }
.room__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: var(--s-8); padding: var(--s-32); }
.room__meta { font: 500 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--sand); }
.room__name { font: 400 clamp(26px, 2.6vw, 34px)/1.1 var(--serif); }
.room__count { font-size: var(--fs-small); color: rgba(255, 255, 255, .9); }
.room__price { font-size: var(--fs-small); color: var(--sand); }
.room__price strong, .price-from strong { font-weight: 600; }
.room__price strong { color: var(--white); }
.price-from { margin: var(--s-16) 0; font-size: var(--fs-small); color: var(--copper-txt); }
.price-from strong { font: 400 var(--fs-h3)/1 var(--serif); color: var(--ink); }
.room__cta { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease); }
.room__cta > span { display: inline-flex; align-items: center; gap: var(--s-8); overflow: hidden; font: 600 var(--fs-label)/1 var(--sans);
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--sand); }
.room:hover .room__cta, .room:focus-visible .room__cta { grid-template-rows: 1fr; }
.room:hover .room__cta > span, .room:focus-visible .room__cta > span { padding-top: var(--s-8); }
@media (hover: none) { .room__cta { grid-template-rows: 1fr; } .room__cta > span { padding-top: var(--s-8); } }
@media (max-width: 767px) { .rgrid { grid-template-columns: 1fr; } .room { aspect-ratio: 4 / 5; } .room__body { padding: var(--s-24); } }

/* ===== 12. Dining cards ===== */
.dgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-24); }
.dine { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.dine__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.dine__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.dine:hover .dine__img img { transform: scale(1.04); }
.dine__hrs { position: absolute; left: var(--s-16); bottom: var(--s-16); display: inline-flex; align-items: center; gap: var(--s-8); padding: var(--s-8) var(--s-12);
  background: var(--dune); border-radius: var(--r); color: var(--white); font: 600 var(--fs-label)/1 var(--sans); letter-spacing: .06em; }
.dine__body { display: grid; gap: var(--s-8); padding: var(--s-24); }
.dine__kind { font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--copper-txt); }
.dine__body p { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
@media (max-width: 767px) { .dgrid { grid-template-columns: 1fr; } }

/* ===== 13. Banner with stamp (Serenity "offer") ===== */
.offer { padding-bottom: var(--sec-pad); }
.offer__banner { position: relative; display: flex; align-items: center; min-height: 360px; padding: var(--s-48) var(--s-64); overflow: hidden; border-radius: var(--r); color: var(--white); background: var(--dune-2); }
.offer__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer__banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(44, 28, 16, .92) 0%, rgba(44, 28, 16, .72) 45%, rgba(44, 28, 16, .2) 100%); }
.offer__copy { position: relative; z-index: 2; max-width: 520px; }
.offer .eyebrow { color: var(--olive); }
.offer .eyebrow::before { background: var(--olive); }
.offer h2 { color: var(--white); font-size: clamp(28px, 3vw, 38px); }
.offer .ticks { display: grid; gap: var(--s-8); margin: var(--s-16) 0 var(--s-24); }
.offer .ticks li { display: flex; align-items: center; gap: var(--s-12); font-size: var(--fs-small); color: rgba(255, 255, 255, .92); }
.offer .ticks .ico { color: var(--olive); }
.stamp { position: absolute; z-index: 2; right: var(--s-64); top: 50%; display: grid; place-items: center; align-content: center; width: 136px; height: 136px;
  margin-top: -68px; padding: var(--s-12); border: 1px solid var(--olive); border-radius: 50%; background: rgba(44, 28, 16, .6); text-align: center; }
.stamp::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(194, 190, 98, .55); border-radius: 50%; }
.stamp small { font: 600 var(--fs-label)/1.2 var(--sans); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--sand); }
.stamp strong { font: 400 34px/1.05 var(--serif); }
@media (max-width: 767px) {
  .offer__banner { flex-direction: column; align-items: flex-start; padding: var(--s-32) var(--s-24); }
  .offer__banner::before { background: rgba(44, 28, 16, .78); }
  .stamp { position: relative; right: auto; top: auto; margin: var(--s-24) 0 0; width: 120px; height: 120px; }
}

/* ===== 14. Dark split band (Serenity "wellness") ===== */
/* full-width band: top and bottom melt into the ivory page like the camel film does into the footer (owner, 5 Nov 26) */
.well { position: relative; color: var(--white); overflow: hidden; --focus: var(--sand); --fade: 96px;
  padding-block: calc(var(--fade) + var(--s-24));
  /* fade runs ivory > sand > copper > dune: a straight ivory-to-dune blend passes through a cold grey band */
  background: linear-gradient(to bottom, var(--ivory) 0, var(--sand) calc(var(--fade) * .3), var(--copper-txt) calc(var(--fade) * .7), var(--dune) var(--fade),
    var(--dune) calc(100% - var(--fade)), var(--copper-txt) calc(100% - var(--fade) * .7), var(--sand) calc(100% - var(--fade) * .3), var(--ivory) 100%); }
@media (max-width: 767px) { .well { --fade: 64px; } }
.well__foot { position: relative; display: flex; align-items: center; }
/* the dancer floats beside the button, so she adds no height to the band */
.well__art { position: absolute; left: 250px; bottom: calc(-1 * var(--s-24)); width: 110px; height: auto; opacity: .55; pointer-events: none; }  /* in the gap between the list's two columns */
@media (max-width: 479px) { .well__art { left: 244px; bottom: -40px; width: 80px; } }
.well__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-64); align-items: center; }
.well .eyebrow { color: var(--olive); }
.well .eyebrow::before { background: var(--olive); }
.well h2 { color: var(--white); }
.offer h2, .well h2 { margin-bottom: var(--s-4); }
.well__lead { margin: var(--s-12) 0 var(--s-16); color: rgba(255, 255, 255, .86); }
.well__list { margin-bottom: var(--s-24); border-top: 1px solid rgba(255, 255, 255, .14); }
.well__list li { display: flex; justify-content: space-between; gap: var(--s-20); padding: var(--s-8) 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: var(--fs-small); }
.well__list span:last-child { color: var(--olive); white-space: nowrap; }
.well__media { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter))); align-self: stretch; min-height: 380px; max-height: 72vh; }
.well__media img { width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); }
.well .btn--solid { background: var(--copper); color: var(--dune-2); }
.well .btn--solid:hover { background: var(--sand); }
@media (max-width: 1023px) { .well__in { grid-template-columns: 1fr; gap: var(--s-32); } .well__media { margin: 0 calc(-1 * var(--gutter)); min-height: 0; aspect-ratio: 4 / 3; } }

/* ===== 15. Gallery mosaic + lightbox ===== */
.ggrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: var(--s-16); }
.gcell { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--line); cursor: zoom-in; padding: 0; border: 0; }
.gcell img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.gcell:hover img { transform: scale(1.05); }
.gcell--w2 { grid-column: span 2; }
.gcell--h2 { grid-row: span 2; }
.gcell__zoom { position: absolute; right: var(--s-12); bottom: var(--s-12); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(248, 243, 234, .92); color: var(--ink); opacity: 0; transition: opacity var(--dur) var(--ease); }
.gcell:hover .gcell__zoom, .gcell:focus-visible .gcell__zoom { opacity: 1; }
@media (max-width: 1023px) { .ggrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 479px) { .ggrid { grid-auto-rows: 140px; gap: var(--s-8); } }
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--s-64) var(--s-80); background: rgba(28, 18, 10, .94);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur); --focus: var(--sand); }
.lb.is-open { opacity: 1; visibility: visible; }
.lb figure { margin: 0; display: grid; gap: var(--s-12); justify-items: center; }
.lb__img { max-height: 80vh; width: auto; border-radius: var(--r); }
.lb__cap { color: var(--sand); font-size: var(--fs-small); text-align: center; }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
  background: none; color: var(--white); font-size: 22px; cursor: pointer; }
.lb__x { top: var(--s-16); right: var(--s-16); }
.lb__prev { left: var(--s-16); top: 50%; margin-top: -24px; }
.lb__next { right: var(--s-16); top: 50%; margin-top: -24px; }
body.lb-open { overflow: hidden; }
@media (max-width: 767px) { .lb { padding: var(--s-64) var(--s-16); } .lb__prev, .lb__next { top: auto; bottom: var(--s-16); margin: 0; } }

/* ===== 15a. Section separators (build.py paint_sections): watercolour strips and the block-print band ===== */
.sep { position: relative; z-index: 1; margin-block: calc(var(--sec-pad) * -.5); text-align: center; line-height: 0; pointer-events: none; }
.sep img { display: inline-block; width: min(860px, 92%); height: auto; }
.sep--print { height: 52px; margin-block: calc(var(--sec-pad) * -.2); background: url(https://assets.simplotel.com/simplotel/image/upload/f_auto,q_auto/royal-pavilion-camps/orn-print_e039a448.png) center / auto 52px repeat-x; }

/* ===== 15b. Awards (Tripadvisor badges, site.json awards) + Around Jaisalmer (reuses .bcards) ===== */
.awards { text-align: center; }
.awards__list { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: center; gap: var(--s-24); margin: var(--s-32) 0 var(--s-24); padding: 0; list-style: none; }
.awards__cell { display: grid; place-items: center; width: 100%; height: 100%; padding: var(--s-12); border: 0; background: var(--white); border-radius: var(--r); box-shadow: var(--sh-1); cursor: zoom-in; transition: transform var(--dur) var(--ease); }
.awards__cell:hover { transform: translateY(-4px); }
.awards__list img { display: block; width: 100%; height: auto; }
.awards__note { max-width: 560px; margin: 0 auto var(--s-12); color: var(--ink-2); }
/* phone: three across would be 105px each, so one large badge at a time, next one peeking */
@media (max-width: 767px) { .awards__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%; justify-content: start; gap: var(--s-12); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-16); } .awards__list li { scroll-snap-align: center; } }
.explore .bcard__title { font-size: var(--fs-h3); }

/* ===== 16. FAQ accordion ===== */
.faq__in { max-width: 820px; }
.faq__list { display: grid; gap: var(--s-12); }
.qa { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); min-height: 64px; padding: var(--s-16) var(--s-24);
  list-style: none; font: 400 20px/1.35 var(--serif); color: var(--ink); cursor: pointer; }
.qa__q::-webkit-details-marker { display: none; }
.qa__q .ico { color: var(--copper-txt); transition: transform var(--dur) var(--ease); }
.qa[open] .qa__q .ico { transform: rotate(45deg); }
.qa__a p { margin: 0; padding: 0 var(--s-24) var(--s-24); font-size: var(--fs-small); color: var(--ink-2); }
.qa__a .ticks { margin: 0; padding: 0 var(--s-24) var(--s-24); }
.faq__more { margin-top: var(--s-32); text-align: center; }

/* ===== 17. Location split ===== */
.loc__in { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-64); align-items: center; }
.loc__map { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--ivory-2); }
.loc__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.loc__copy h2 { margin-bottom: var(--s-16); }
.loc__copy > p { color: var(--ink-2); }
.dist { margin: var(--s-24) 0 var(--s-32); border-top: 1px solid var(--line); }
.dist li { display: flex; align-items: center; gap: var(--s-12); padding: var(--s-12) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.dist .amen { width: 40px; height: 40px; }
.dist b { margin-left: auto; font-weight: 600; color: var(--ink); white-space: nowrap; }
@media (max-width: 1023px) { .loc__in { grid-template-columns: 1fr; gap: var(--s-32); } }

/* ===== 17b. Film before the footer (homepage; site.js film block): looping video, top blended into the page, bottom into the footer ===== */
.film { position: relative; height: 100vh; height: 100svh; margin-bottom: -2px; overflow: hidden;  /* footer overlaps 2px: no sub-pixel seam */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 35%); mask-image: linear-gradient(to bottom, transparent 0, #000 35%); }
.film::after { content: ""; position: absolute; inset: auto 0 0; height: 30vh; background: linear-gradient(to bottom, transparent, var(--dune)); pointer-events: none; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__over { position: absolute; z-index: 1; left: 0; right: 0; bottom: 12vh; padding-inline: var(--gutter); text-align: center; }
.film__over .eyebrow { color: var(--sand); }
.film__over .eyebrow::before { background: var(--sand); }
.film__over h2 { color: var(--ivory); }

/* ===== 18. Inner pages: photo hero, split rows, amenity grid, key facts, prose ===== */
/* Photo hero: image only (no hero text, the H1 sits in the intro below), same veil as the home video. */
.phero { position: relative; height: 62vh; height: 62svh; min-height: 420px; overflow: hidden; background: var(--dune-2); }
.phero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .phero { height: 52svh; min-height: 340px; } }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-8); margin-bottom: var(--s-16); font-size: var(--fs-label); letter-spacing: .06em; color: var(--ink-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--copper-txt); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-8); color: var(--line); }
.crumbs li { display: inline-flex; align-items: center; }
/* Split rows: image and copy side by side, every second row flipped */
.splits { display: grid; gap: var(--s-80); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-64); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy h2 { margin-bottom: var(--s-16); }
.split__copy p { color: var(--ink-2); }
.split__copy .btn { margin-top: var(--s-16); }
.ticks { display: grid; gap: var(--s-8); margin: var(--s-16) 0; }
.ticks li { display: flex; gap: var(--s-12); font-size: var(--fs-small); color: var(--ink-2); }
.ticks .ico { flex: none; margin-top: 3px; color: var(--copper-txt); }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; gap: var(--s-24); } .split--flip .split__media { order: 0; } .splits { gap: var(--s-48); } }
/* Amenity grid: ornamental icon over a label */
.amgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-32) var(--s-24); text-align: center; }
.amgrid li { display: grid; justify-items: center; gap: var(--s-12); font-size: var(--fs-small); color: var(--ink-2); }
.amgrid .amen { width: 88px; height: 88px; }
@media (max-width: 767px) { .amgrid { grid-template-columns: repeat(2, 1fr); } .amgrid .amen { width: 72px; height: 72px; } }
/* Key facts: label / value rows (tent size, guests, bed...) */
.kv { border-top: 1px solid var(--line); }
.kv li { display: flex; justify-content: space-between; gap: var(--s-16); padding: var(--s-12) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-2); }
.kv b { font-weight: 600; color: var(--ink); text-align: right; }
/* Amenity grid with a short last row: centre the items instead of leaving gaps on the right (3, 6 or 7 items) */
.amgrid.pa-center { display: flex; flex-wrap: wrap; justify-content: center; }
.amgrid.pa-center li { flex: 0 0 calc((100% - 3 * var(--s-24)) / 4); }
@media (max-width: 767px) { .amgrid.pa-center li { flex-basis: calc((100% - var(--s-24)) / 2); } }
/* Key facts on their own, centred under a section head (group bookings: equipment on request) */
.kv.pa-narrow { max-width: 520px; margin: 0 auto; }
/* Prose: long text (terms, blog posts) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: var(--s-40) 0 var(--s-16); font-size: clamp(26px, 2.6vw, 34px); }
.prose h3 { margin: var(--s-32) 0 var(--s-12); font-size: var(--fs-h3); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 var(--s-16); padding-left: var(--s-24); }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: var(--s-8); }
/* Contact cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-24); }
.ccard { display: grid; gap: var(--s-8); align-content: start; padding: var(--s-32); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.ccard .amen { width: 72px; height: 72px; }
.ccard h2 { font-size: var(--fs-h3); }
.ccard p, .ccard a { font-size: var(--fs-small); color: var(--ink-2); }
.ccard a { display: inline-flex; min-height: 44px; align-items: center; color: var(--copper-txt); font-weight: 600; }
@media (max-width: 1023px) { .cards3 { grid-template-columns: 1fr; } }

/* Closing band: centred eyebrow, h2, line and one button; reuses .about__top for the type */
.cta-end .about__top { margin-bottom: 0; }
.cta-end .btn { margin-top: var(--s-24); }
/* Gallery page: one labelled mosaic per group, space between groups */
.ggroup + .ggroup { margin-top: var(--s-80); }
@media (max-width: 1023px) { .ggroup + .ggroup { margin-top: var(--s-48); } }
/* Location / partner: card row under a split */
.cards3 + .btn, .split + .cards3, .loc__in + .cards3 { margin-top: var(--s-48); }
.ccard .btn { justify-self: start; margin-top: var(--s-8); color: var(--white); }
/* Sitemap: two-level link list inside .prose */
.prose .smap a { display: inline-flex; min-height: 44px; align-items: center; color: var(--copper-txt); }
/* Overlapping photo pair inside a split row (Dine on Dunes): tall main photo, smaller framed inset overlapping its lower corner */
.split__media--duo { position: relative; aspect-ratio: auto; overflow: visible; padding-bottom: var(--s-64); }
.duo__main { display: block; width: 80%; margin-left: auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.duo__inset { position: absolute; left: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; overflow: hidden; border: 8px solid var(--ivory); border-radius: var(--r); }
.duo__main img, .duo__inset img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .split__media--duo { max-width: 560px; margin-inline: auto; } }
/* Note under the highlights grid */
.hl-note { margin-top: var(--s-48); max-width: 640px; }
/* Footer bar links (Sitemap, Simplotel credit) */
.ftr__bar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ftr__bar a:hover { color: var(--sand); }
.ftr__sep { margin-inline: var(--s-8); opacity: .5; }
/* Influencer page: button pair, four cards, numbered steps */
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-16); margin: var(--s-32) 0 0; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-24); }
.cards4 .ccard h3 { font-size: var(--fs-h3); }
@media (max-width: 1023px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .cards4 { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-32); counter-reset: none; }
.steps li { display: grid; gap: var(--s-8); justify-items: center; text-align: center; padding: 0 var(--s-16); }
.step__n { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--copper-txt); border-radius: 50%; font: 500 28px/1 var(--serif); color: var(--copper-txt); }
.steps h3 { font-size: var(--fs-h3); }
.steps p { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } }
/* Application form: numbered fieldsets, fields, choice chips */
.frm { max-width: 860px; margin: 0 auto; display: grid; gap: var(--s-32); }
.fstep { margin: 0; padding: var(--s-32); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
/* legend floated so it sits inside the card instead of straddling its top border */
.fstep legend { float: left; width: 100%; display: flex; align-items: baseline; gap: var(--s-12); padding: 0; margin: 0 0 var(--s-8); }
.fstep legend + * { clear: both; }
.fstep legend ~ .fstep__s { margin-top: 0; }
.fstep__n { font: 500 var(--fs-label)/1 var(--sans); letter-spacing: var(--tr-label); color: var(--copper-txt); }
.fstep__t { font: 400 var(--fs-h3)/1.2 var(--serif); color: var(--ink); }
.fstep__s { margin: 0 0 var(--s-20); font-size: var(--fs-small); color: var(--ink-2); }
.fstep__h { margin: var(--s-8) 0 var(--s-12); font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--copper-txt); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16) var(--s-24); margin-bottom: var(--s-16); }
.fld { display: grid; gap: var(--s-4); align-content: start; min-width: 0; }
.fld--wide { grid-column: 1 / -1; margin-bottom: var(--s-16); }
.fld label { font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.req { color: var(--copper-txt); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: var(--s-12) var(--s-16); border: 1px solid var(--line); border-radius: var(--r); background: var(--ivory); color: var(--ink); font-size: var(--fs-body); }
.fld textarea { resize: vertical; font-family: inherit; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--copper-txt); outline-offset: 0; }
.chips { margin: 0 0 var(--s-16); padding: 0; border: 0; min-width: 0; }
.chips legend { float: left; width: 100%; margin-bottom: var(--s-8); padding: 0; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hint { font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.chips__list { clear: both; display: flex; flex-wrap: wrap; gap: var(--s-8); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-16); border: 1px solid var(--line); border-radius: 999px; background: var(--ivory); font-size: var(--fs-small); color: var(--ink-2); transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.chip input:checked + span { background: var(--btn); border-color: var(--btn); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.chk { display: flex; align-items: flex-start; gap: var(--s-12); margin-top: var(--s-8); font-size: var(--fs-small); color: var(--ink-2); cursor: pointer; }
.chk input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--btn); }
.chk small { display: block; font-size: var(--fs-label); color: var(--ink-2); opacity: .85; }
.fgrid--3 { grid-template-columns: repeat(3, 1fr); }
.frm__more summary { list-style: none; }
.frm__more summary::-webkit-details-marker { display: none; }
.frm__more summary::before { content: "+"; margin-right: var(--s-8); font-size: 18px; line-height: 1; }
.frm__more[open] summary::before { content: "\2212"; }
.frm__more summary { display: inline-flex; align-items: center; min-height: 44px; font: 600 var(--fs-label)/1 var(--sans); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--copper-txt); cursor: pointer; }
.frm__more[open] summary { margin-bottom: var(--s-8); }
.frm__foot { margin-top: var(--s-24); }
.frm__status { margin-top: var(--s-16); padding: var(--s-12) var(--s-16); border-radius: var(--r); font-size: var(--fs-small); }
@media (max-width: 767px) { .fstep { padding: var(--s-24) var(--s-16); } .fgrid, .fgrid--3 { grid-template-columns: 1fr; } .fstep__t { font-size: 22px; } }
/* Photo carousel (Dine on Dunes): scroll-snap track, arrow buttons, no autoplay */
.car { position: relative; }
.car__track { display: flex; gap: var(--s-16); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car__track::-webkit-scrollbar { display: none; }
.car__slide { flex: 0 0 calc((100% - 2 * var(--s-16)) / 3); aspect-ratio: 4 / 3; scroll-snap-align: start; overflow: hidden; border-radius: var(--r); }
.car__slide img { width: 100%; height: 100%; object-fit: cover; }
.car__btn { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 1px solid var(--line); border-radius: 50%;
  background: rgba(248, 243, 234, .94); color: var(--ink); font-size: 22px; cursor: pointer; box-shadow: var(--sh-1); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.car__btn:hover { background: var(--btn); color: var(--white); }
.car__prev { left: var(--s-16); } .car__next { right: var(--s-16); }
@media (max-width: 1023px) { .car__slide { flex-basis: calc((100% - var(--s-16)) / 2); } }
@media (max-width: 767px) { .car__slide { flex-basis: 100%; } .car__btn { width: 44px; height: 44px; margin-top: -22px; } .car__prev { left: var(--s-8); } .car__next { right: var(--s-8); } }

/* ===== 18b. Blog: index cards, post extras ===== */
/* ===== Blog: card grid (index + "More From the Blog"), post body extras ===== */
.bcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-48) var(--s-32); }
.bcard { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.bcard__media { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); margin-bottom: var(--s-16); background: var(--ivory-2); }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.bcard:hover .bcard__media img { transform: scale(1.04); }
.bcard__date { margin: 0 0 var(--s-8); font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--copper-txt); }
.bcard__title { margin-bottom: var(--s-12); font-size: var(--fs-h3); }
.bcard__title a:hover { color: var(--copper-txt); }
.bcard__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  margin-bottom: var(--s-12); font-size: var(--fs-small); color: var(--ink-2); }
.bcard .lnk { margin-top: auto; }
@media (max-width: 1023px) { .bcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .bcards { grid-template-columns: 1fr; gap: var(--s-40); } }
.blog .about__top, .post .about__top { margin-bottom: var(--gap-inner); }
.post .prose { overflow-wrap: break-word; }
.post__more { background: var(--ivory-2); }
.post__table { overflow-x: auto; margin: 0 0 var(--s-24); }
.post__table table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); color: var(--ink-2); }
.post__table th, .post__table td { padding: var(--s-12) var(--s-16); border-bottom: 1px solid var(--line); text-align: left; }
.post__table th { font-weight: 600; color: var(--ink); }

/* ===== 19. Footer ===== */
.ftr { position: relative; padding-top: var(--s-80);
  background: radial-gradient(90% 60% at 85% 100%, rgba(186, 130, 89, .16), transparent 70%), linear-gradient(to bottom, var(--dune) 0, #452D1A 45%, var(--dune-2) 100%); color: rgba(248, 243, 234, .82); font-size: var(--fs-small); --focus: var(--sand); }
.ftr { overflow: hidden; }
.ftr__art { display: block; width: 150px; height: auto; margin-top: var(--s-24); opacity: .45; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-40); padding-bottom: var(--s-48); }
.ftr__brand img { width: 170px; margin-bottom: var(--s-16); }
.ftr__h { margin-bottom: var(--s-20); font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--white); }
.ftr__links { display: grid; gap: 0; }
.ftr__links a, .ftr__contact a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; transition: color var(--dur) var(--ease); }
.ftr a:hover { color: var(--sand); }
.ftr__contact { display: grid; gap: var(--s-8); }
.ftr__contact li { display: flex; align-items: flex-start; gap: var(--s-12); }
.ftr__contact .ico { margin-top: 8px; color: var(--copper); }
.ftr__social { display: flex; gap: var(--s-8); margin-top: var(--s-16); }
.ftr__award { display: inline-flex; align-items: center; gap: var(--s-12); min-height: 44px; margin-top: var(--s-16); }
.ftr__award .ico { flex: none; font-size: 28px; color: var(--sand); }
.ftr__award b { display: block; font-weight: 600; color: var(--ivory); }
.ftr__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(248, 243, 234, .3); border-radius: 50%; font-size: 18px; }
.ftr__bar { padding: var(--s-20) 0; border-top: 1px solid rgba(248, 243, 234, .12); text-align: center; font-size: var(--fs-label); color: rgba(248, 243, 234, .72); }
@media (max-width: 1023px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
/* phones: brand row puts the bird beside the text, the two link lists sit side by side, contact spans the width */
@media (max-width: 767px) {
  .ftr { padding-top: var(--s-48); }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: var(--s-32) var(--s-20); padding-bottom: var(--s-32); }
  .ftr__brand, .ftr__grid > :last-child { grid-column: 1 / -1; }
  .ftr__brand { display: grid; grid-template-columns: 1fr auto; column-gap: var(--s-16); align-items: start; }
  .ftr__brand > :not(.ftr__art) { grid-column: 1; }
  .ftr__art { grid-column: 2; grid-row: 1 / span 3; align-self: end; width: 96px; margin: 0; }
  .ftr__h { margin-bottom: var(--s-8); }
}

/* ===== 20. Floating WhatsApp ===== */
.wa { position: fixed; right: var(--s-20); bottom: var(--s-20); z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #1F7A4D; color: var(--white); font-size: 30px; box-shadow: var(--sh-2); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility var(--dur);
  opacity: 0; visibility: hidden; }
.wa.is-on { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .wa { transition: none; } }
.wa:hover { transform: scale(1.06); }

/* ===== 21. Scroll reveal ===== */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ===== Continue-booking nudge (Simplotel-Support/continue-booking-nudge) ===== */
/* Continue-booking nudge — structural CSS with design tokens.
   THE TOKEN BLOCK IS THE ONLY PART YOU EDIT PER SITE. Derive every value
   from the target site's own CSS (see SKILL.md STEP 2); the structure below
   is proven and stays as-is. Scoped to .booking-nudge — no :root pollution. */

.booking-nudge {
  /* ---- design tokens: fill from the target site ---- */
  --cbn-surface: #F8F3EA;            /* card/panel background */
  --cbn-border: #E3D5C0;
  --cbn-ink: #2A1C12;                /* heading text */
  --cbn-muted: #5A4636;              /* secondary text */
  --cbn-accent: #7A4D2C;             /* brand accent: property name, price */
  --cbn-accent-2: #BA8259;           /* second accent for the top strip */
  /* CTA — copy EVERY value from the site's own primary booking button
     (the "Book Now" that opens the engine), not from these examples.
     It must stay FILLED: a solid background, never ghost/outline/text-link,
     because it sends the guest to the booking engine (SKILL.md STEP 2). */
  --cbn-cta-bg: #8A5A35;             /* solid fill — never transparent */
  --cbn-cta-ink: #FFFFFF;            /* label — AA >= 4.5:1 vs --cbn-cta-bg */
  --cbn-cta-border: #8A5A35;         /* site's button border, or = --cbn-cta-bg */
  --cbn-cta-hover: #6F4627;          /* hover fill — must also be solid */
  --cbn-cta-hover-ink: #FFFFFF;      /* hover label — AA >= 4.5:1 vs --cbn-cta-hover */
  --cbn-cta-hover-border: #6F4627;
  --cbn-cta-font: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif; /* site button font stack */
  --cbn-cta-size: 12px;              /* site button font-size */
  --cbn-cta-weight: 600;             /* site button font-weight */
  --cbn-cta-padding: 0 24px;      /* site button padding */
  --cbn-font-display: "Crimson Pro", Georgia, serif;         /* site heading font stack */
  --cbn-font-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif; /* site body font stack */
  --cbn-radius: 2px;                /* match the site's card radius */
  --cbn-cta-radius: 2px;             /* site button border-radius */
  --cbn-cta-transform: uppercase;    /* site button text-transform */
  --cbn-cta-tracking: .16em;         /* site button letter-spacing */
  --cbn-ease: cubic-bezier(.25, .8, .25, 1);
  /* ---- end tokens ---- */

  overflow: hidden;
  background: var(--cbn-surface);
  border: 1px solid var(--cbn-border);
  border-radius: var(--cbn-radius);
  box-shadow: 0 20px 60px -16px rgba(0, 0, 0, .25), 0 2px 8px rgba(0, 0, 0, .06);
  display: none;
  opacity: 0;
  position: fixed;
  right: 24px;
  top: 340px; /* adjust so it never covers the site's booking bar / header CTAs */
  transform: translateY(-20px);
  transition: transform .45s var(--cbn-ease), opacity .45s var(--cbn-ease);
  width: min(380px, calc(100vw - 48px));
  z-index: 2900; /* above page chrome, below any cookie-consent overlay */
}
.booking-nudge.show { display: block; }
.booking-nudge.in { opacity: 1; transform: translateY(0); }

.bn-accent { background: linear-gradient(90deg, var(--cbn-accent), var(--cbn-accent-2)); height: 3px; left: 0; position: absolute; right: 0; top: 0; }

.bn-header { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; padding: 20px 24px 0; }
.bn-name { color: var(--cbn-ink); font-family: var(--cbn-font-display); font-size: 22px; font-weight: 400; letter-spacing: .01em; line-height: 1.25; }
.bn-close { align-items: center; background: transparent; border: 1px solid var(--cbn-border); border-radius: 50%; color: var(--cbn-muted); cursor: pointer; display: flex; flex-shrink: 0; height: 32px; justify-content: center; transition: all .3s var(--cbn-ease); width: 32px; }
.bn-close:hover { background: var(--cbn-ink); border-color: var(--cbn-ink); color: #fff; transform: rotate(90deg); }
.bn-close svg { height: 12px; width: 12px; }

.bn-body { padding: 12px 24px 20px; }
.bn-subtitle { color: var(--cbn-muted); font-family: var(--cbn-font-body); font-size: 14px; font-weight: 300; line-height: 1.6; margin-bottom: 4px; }
.bn-property { color: var(--cbn-accent); font-family: var(--cbn-font-display); font-size: 18px; font-weight: 400; letter-spacing: .01em; }
.bn-meta { color: var(--cbn-muted); font-family: var(--cbn-font-body); font-size: 13px; font-weight: 300; line-height: 1.5; margin-top: 8px; }
.bn-meta:empty { display: none; }
.bn-price { color: var(--cbn-muted); display: none; font-family: var(--cbn-font-body); font-size: 12px; font-weight: 300; line-height: 1.5; margin-top: 8px; }
.bn-price.loaded { display: block; }
.bn-price .price-msg { color: var(--cbn-accent); font-family: var(--cbn-font-display); font-size: 20px; font-weight: 500; }
.bn-price .general-msg { color: var(--cbn-muted); font-size: 12px; }

.bn-actions { align-items: center; display: flex; gap: 12px; padding: 0 24px 20px; }
.bn-cta { align-items: center; background: var(--cbn-cta-bg); border: 1px solid var(--cbn-cta-border); border-radius: var(--cbn-cta-radius); color: var(--cbn-cta-ink); display: inline-flex; font-family: var(--cbn-cta-font); font-size: var(--cbn-cta-size); font-weight: var(--cbn-cta-weight); letter-spacing: var(--cbn-cta-tracking); padding: var(--cbn-cta-padding); text-decoration: none; text-transform: var(--cbn-cta-transform); transition: all .35s var(--cbn-ease); }
.bn-cta:hover { background: var(--cbn-cta-hover); border-color: var(--cbn-cta-hover-border); color: var(--cbn-cta-hover-ink); }

@media (max-width: 600px) {
  .booking-nudge { border-radius: 8px; left: auto; right: 12px; top: 320px; width: calc(100vw - 24px); }
  .bn-header { padding: 16px 18px 0; }
  .bn-body { padding: 10px 18px 16px; }
  .bn-actions { padding: 0 18px 16px; }
  .bn-name { font-size: 19px; }
  .bn-property { font-size: 16px; }
}

/* == remarketing-nudge == "Get these prices emailed to you!" (namespaced .pi-)
   THE TOKEN BLOCK IS THE ONLY PART YOU EDIT PER SITE. Derive every value from the
   target site's own CSS (SKILL.md STEP 3); the structure below is proven on The Hans
   Hotels (Sep 2026) and stays as-is. Scoped to .pi-modal — no :root pollution.

   This is the only true modal on most sites: it takes the whole screen and locks body
   scroll, so nothing else may paint above it except a skip link. Set --rmn-z above the
   site's drawer/cookie notice and below its skip link. */
.pi-modal {
  /* ---- design tokens: fill from the target site ---- */
  --rmn-z: 95;                                     /* above lightbox (90), popovers (70), WhatsApp (60), header (40); below skip link (100) */
  --rmn-backdrop: rgba(44, 28, 16, .62);           /* site's --dune-2 at ~.6 alpha */
  --rmn-surface: var(--dune);                      /* panel: the site's dark band / footer colour */
  --rmn-shadow: 0 24px 60px rgba(44, 28, 16, .16);
  --rmn-ink: var(--white);                         /* title + success title on --rmn-surface (AA >= 4.5:1) */
  --rmn-muted: var(--sand);                        /* note, success sub-line, error (AA >= 4.5:1 on surface) */
  --rmn-accent: var(--sand);                       /* property name on success, focus ring */
  --rmn-field-bg: var(--white);
  --rmn-field-ink: var(--ink);
  --rmn-field-placeholder: var(--ink-2);           /* AA >= 4.5:1 on --rmn-field-bg */
  --rmn-cta-bg: var(--btn);                        /* site's primary booking CTA background (.btn--solid) */
  --rmn-cta-ink: var(--white);                     /* CTA label — AA >= 4.5:1 vs --rmn-cta-bg */
  --rmn-cta-hover: var(--btn-h);
  --rmn-close-bg: rgba(255, 255, 255, .10);
  --rmn-close-hover: rgba(255, 255, 255, .22);
  --rmn-font-display: var(--serif);                /* site heading font */
  --rmn-font-body: var(--sans);                    /* site body font */
  --rmn-font-cta: var(--sans);                     /* site button font */
  --rmn-display-weight: 400;                       /* site h1-h3 are 400 */
  --rmn-cta-transform: uppercase;                  /* match the site's .btn typography */
  --rmn-cta-tracking: var(--tr-label);
  --rmn-radius: var(--r);                          /* panel corners — match the site's cards */
  --rmn-field-radius: var(--r);                    /* input + button corners — match the site's forms */
  --rmn-t: var(--dur) var(--ease);                 /* site's transition token */
  /* ---- end tokens ---- */

  position: fixed; inset: 0; z-index: var(--rmn-z); display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.pi-modal.show { display: flex; }
.pi-backdrop { position: absolute; inset: 0; background: var(--rmn-backdrop);
  opacity: 0; transition: opacity var(--rmn-t); }
.pi-modal.in .pi-backdrop { opacity: 1; }

/* A dark card reads as an offer rather than an error, and the CTA carries all the
   contrast it needs against it. */
.pi-panel { position: relative; z-index: 1; width: min(460px, 100%);
  background: var(--rmn-surface); box-shadow: var(--rmn-shadow); border-radius: var(--rmn-radius);
  padding: 44px 44px 34px; text-align: center;
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity var(--rmn-t), transform var(--rmn-t); }
.pi-modal.in .pi-panel { opacity: 1; transform: none; }

.pi-view { display: flex; flex-direction: column; align-items: stretch; }

.pi-title { font-family: var(--rmn-font-display); font-size: 1.95rem; font-weight: var(--rmn-display-weight); line-height: 1.18;
  color: var(--rmn-ink); margin: 0 0 26px; }

.pi-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
/* 17px keeps iOS from zooming the viewport when the field takes focus. */
.pi-field { width: 100%; min-height: 52px; padding: 14px 18px; box-sizing: border-box;
  background: var(--rmn-field-bg); color: var(--rmn-field-ink); border: 1px solid transparent;
  border-radius: var(--rmn-field-radius);
  font-family: var(--rmn-font-body); font-size: 17px; line-height: 1.4; }
.pi-field::placeholder { color: var(--rmn-field-placeholder); }
.pi-field:focus-visible { outline: 2px solid var(--rmn-accent); outline-offset: 2px; }

.pi-error[hidden] { display: none; }
/* Muted accent, not red: it has to clear 4.5:1 on the dark surface, which a warning
   red does not. The role="alert" is what carries the urgency. */
.pi-error { font-family: var(--rmn-font-body); font-size: .78rem; line-height: 1.4;
  color: var(--rmn-muted); text-align: left; margin: -4px 0 0; }

.pi-submit { width: 100%; min-height: 52px; padding: 14px 22px;
  background: var(--rmn-cta-bg); color: var(--rmn-cta-ink); border: none; cursor: pointer;
  border-radius: var(--rmn-field-radius);
  font-family: var(--rmn-font-cta); font-weight: 600; font-size: .95rem;
  text-transform: var(--rmn-cta-transform); letter-spacing: var(--rmn-cta-tracking);
  transition: background var(--rmn-t); }
.pi-submit:hover, .pi-submit:focus-visible { background: var(--rmn-cta-hover); }

.pi-note { font-family: var(--rmn-font-body); font-size: .8rem; line-height: 1.4;
  color: var(--rmn-muted); margin: 16px 0 0; }

/* 44px hit area, small glyph. */
.pi-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; padding: 0;
  background: var(--rmn-close-bg); border: none; border-radius: 50%;
  color: var(--rmn-ink); cursor: pointer; transition: background var(--rmn-t); }
.pi-close:hover, .pi-close:focus-visible { background: var(--rmn-close-hover); }
.pi-close svg { width: 14px; height: 14px; }

/* ---- success view ---- */
.pi-success { align-items: center; gap: 0; }
.pi-success-icon { display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin: 0 0 18px; border-radius: 50%;
  background: var(--rmn-cta-bg); color: var(--rmn-cta-ink); }
.pi-success-icon svg { width: 22px; height: 22px; }
.pi-success-title { font-family: var(--rmn-font-display); font-size: 1.7rem; font-weight: var(--rmn-display-weight);
  line-height: 1.2; color: var(--rmn-ink); margin: 0 0 10px; }
.pi-success-sub { font-family: var(--rmn-font-body); font-size: .82rem; line-height: 1.5;
  color: var(--rmn-muted); margin: 0 0 6px; }
.pi-success-prop { font-family: var(--rmn-font-display); font-size: 1.22rem; font-weight: var(--rmn-display-weight);
  line-height: 1.25; color: var(--rmn-accent); margin: 0 0 24px; }
.pi-success-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 48px; padding: 12px 22px; box-sizing: border-box;
  background: var(--rmn-cta-bg); color: var(--rmn-cta-ink); text-decoration: none;
  border-radius: var(--rmn-field-radius);
  font-family: var(--rmn-font-cta); font-weight: 600; font-size: .72rem; letter-spacing: 1.6px;
  text-transform: uppercase; transition: background var(--rmn-t); }
.pi-success-cta:hover, .pi-success-cta:focus-visible { background: var(--rmn-cta-hover); color: var(--rmn-cta-ink); }
.pi-success-cta svg { width: 14px; height: 14px; transition: transform var(--rmn-t); }
.pi-success-cta:hover svg { transform: translateX(4px); }

@media (max-width: 600px) {
  .pi-modal { padding: 16px; }
  .pi-panel { padding: 38px 24px 28px; }
  .pi-title { font-size: 1.6rem; }
  .pi-success-title { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pi-panel { transform: none; transition: opacity .3s; }
  .pi-backdrop { transition: opacity .3s; }
  .pi-submit, .pi-close, .pi-success-cta, .pi-success-cta svg { transition: none; }
  .pi-success-cta:hover svg { transform: none; }
}
/* == /remarketing-nudge == */
