html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* 7 Star Lodges — desktop/tablet. Liquid-glass editorial (Dave, 2026-08-23):
   magazine typography over a living aurora backdrop, frosted-glass panels
   with specular edges, and immediate response on every interactive element.
   Framework-free, no external requests: the type stack is system serif, the
   backdrop is CSS, the grain is an inline SVG. */

:root {
  --ink: #0c0e13;
  --paper: #f4efe6;
  --paper-dim: rgba(244, 239, 230, 0.62);
  --gold: #d8b46a;
  --gold-deep: #b28a3c;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-edge: rgba(255, 255, 255, 0.18);
  --serif: "Didot", "Bodoni MT", "Playfair Display", "Georgia", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
/* The [hidden] attribute must beat every display: flex/grid below — the
   classic trap: a rule that sets display wins over the UA's [hidden]. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------------------------------------------------------- the backdrop */
.aura { position: fixed; inset: 0; z-index: 0; overflow: hidden; filter: blur(70px) saturate(130%); }
.aura-blob { position: absolute; border-radius: 50%; opacity: 0.55; will-change: transform; }
.aura-blob.a {
  width: 55vw; height: 55vw; left: -12vw; top: -18vw;
  background: radial-gradient(circle at 35% 35%, #3d5a63, transparent 65%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aura-blob.b {
  width: 46vw; height: 46vw; right: -10vw; top: 8vh;
  background: radial-gradient(circle at 60% 40%, #8a6a33, transparent 65%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.aura-blob.c {
  width: 60vw; height: 60vw; left: 22vw; bottom: -30vh;
  background: radial-gradient(circle at 50% 50%, #23303f, transparent 62%);
  animation: drift-c 38s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(9vw, 7vh) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-7vw, 12vh) scale(0.92); } }
@keyframes drift-c { to { transform: translate(-10vw, -8vh) scale(1.08); } }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

main, .masthead, .foot, .summary { position: relative; z-index: 2; }
/* main above the footer: the calendar (inside main) can overlap the footer's
   band on a short page, and equal z with later DOM order let the footer eat
   the calendar's clicks — Dave hit this live on the month arrows. */
main { z-index: 3; }

/* ------------------------------------------------------------- the glass */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-edge);
  border-radius: 22px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* ------------------------------------------------------------- masthead */
.masthead {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px clamp(24px, 5vw, 64px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { max-height: 44px; max-width: 200px; display: block; }
.brand-star { color: var(--gold); font-size: 14px; }
.brand-name {
  font-family: var(--serif); font-size: 19px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot a {
  color: var(--paper-dim); font-size: 12.5px; letter-spacing: 0.08em;
  text-decoration: none; border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.foot a:hover { color: var(--gold); border-color: var(--gold); }

/* ----------------------------------------------------------------- hero */
.hero {
  padding: clamp(40px, 9vh, 110px) clamp(24px, 5vw, 64px) 34px;
  max-width: 1100px; margin: 0 auto; text-align: center;
}
.kicker {
  margin: 0 0 18px; font-size: 12px; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold);
}
.hero-title {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7.5vw, 104px); line-height: 1.04; letter-spacing: 0.01em;
}
.hero-title span { display: block; }
/* The second headline line reads as the supporting thought, not a repeat of
   the display size — two full-size lines swallowed the screen (Dave,
   2026-08-24). */
.hero-title .hero-line {
  font-size: clamp(28px, 4.4vw, 60px);
  line-height: 1.18;
  margin-top: 12px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  margin: 26px auto 0; max-width: 68ch; color: var(--paper-dim);
  font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7;
}

/* entrance choreography */
.reveal { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease-out) forwards; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.22s; }
.reveal.d3 { animation-delay: 0.4s; }
.reveal.d4 { animation-delay: 0.58s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* --------------------------------------------------- the booking bar */
/* z-index 30: the form's backdrop-filter makes it a stacking context, so the
   calendar inside can never out-stack a LATER sibling (the state cards) on
   its own — the whole bar must sit above the content below it. */
.bar-wrap {
  max-width: 1240px; margin: 26px auto 0; padding: 0 clamp(24px, 5vw, 64px);
  position: relative; z-index: 30;
}
/* The bar sits ABOVE the advanced panel that follows it: the glass select
   popovers (Nights, Adults…) live inside the bar's labels, and a later
   glass sibling would otherwise paint over them (Dave, 2026-09-04: "with
   advanced open the number of night dropdown has the wrong z order"). */
.bar {
  display: flex; align-items: stretch; gap: 4px;
  padding: 12px; flex-wrap: nowrap; position: relative; z-index: 2;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.bar .cta { flex: 0 0 auto; align-self: center; }
/* Every field keeps at least its label's width; when the row cannot hold
   them all, it wraps rather than squeezing labels into each other
   (Dave, 2026-09-04: "rendering is screwed up" — ADULTS/CHILDREN/INFANTS
   overprinted). */
@media (max-width: 1140px) {
  .bar { flex-wrap: wrap; }
}
.bar:focus-within {
  border-color: rgba(216, 180, 106, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 4px rgba(216, 180, 106, 0.12);
}
.bar-field {
  flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px;
  padding: 8px 10px; border-radius: 14px; cursor: pointer;
  transition: background 0.18s var(--ease-out);
}
.bar-field:hover { background: rgba(255, 255, 255, 0.06); }
.bar-field.slim { flex: 0 0 auto; }
/* The date must never clip (Dave, 2026-09-04: "2027-05-" was all that
   showed) — it keeps the width a full ISO date needs. */
.bar-field.date { flex: 0 0 auto; }
.bar-field.date input { width: 142px; min-width: 0; }
/* Advanced mode: the single party leaves the bar; the rooms below own it. */
body.adv-on .bar-field.party, body.adv-on .bar-field.party + .bar-sep { display: none; }
.bar-go-row { display: flex; align-items: center; gap: 6px; }
/* The advanced-search handle on the button's right, with its hover tip. */
.cta-adv {
  position: relative; flex: none; width: 34px; min-height: 54px; cursor: pointer;
  border: 1px solid rgba(216, 180, 106, 0.45); border-radius: 14px; background: rgba(216, 180, 106, 0.1);
  color: var(--gold); font: 700 18px/1 var(--sans);
  transition: background 0.2s, border-color 0.2s, transform 0.22s var(--spring);
}
.cta-adv:hover, .cta-adv:focus-visible { background: rgba(216, 180, 106, 0.22); border-color: var(--gold); transform: translateY(-1px); outline: none; }
body.adv-on .cta-adv { background: var(--gold); color: #16120a; }
.cta-adv::after {
  content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%) translateY(-4px);
  white-space: nowrap; font: 500 11.5px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper); background: rgba(12, 14, 19, 0.92); border: 1px solid rgba(216, 180, 106, 0.4);
  padding: 7px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s; z-index: 5;
}
.cta-adv:hover::after, .cta-adv:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- the advanced search panel (advanced.js) ---- */
.adv-panel { margin-top: 12px; padding: 22px 26px 24px; animation: rise 0.4s var(--ease-out); position: relative; z-index: 1; }
.adv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.adv-title { margin: 2px 0 4px; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.adv-sub { margin: 0; color: var(--paper-dim); font-size: 13.5px; line-height: 1.5; max-width: 60ch; }
.adv-close { flex: none; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; background: transparent; color: var(--paper); cursor: pointer; font: 500 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 16px; }
.adv-close:hover { border-color: var(--gold); color: var(--gold); }
.adv-rooms { display: flex; flex-direction: column; gap: 8px; }
.adv-room { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.adv-room-name { min-width: 72px; font-family: var(--serif); font-size: 18px; }
.adv-fields { display: flex; gap: 10px; flex: 1 1 auto; }
.adv-field { display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border-radius: 14px; min-width: 88px; font: 500 16px/1.4 var(--sans); color: var(--paper); cursor: pointer; }
/* The rooms' glass lists open DOWN over the result blocks: the form half
   stacks above the results half (same fix as the bar over the panel). */
.adv-rooms { position: relative; z-index: 2; }
.adv-results { position: relative; z-index: 1; }
.adv-field:hover { background: rgba(255, 255, 255, 0.06); }
.adv-field > span { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper-dim); white-space: nowrap; }
.adv-sel { appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: none; color: var(--paper); font: 500 16px/1.4 var(--sans); cursor: pointer; color-scheme: dark; }
.adv-sel option { color: #111; }
.adv-remove { border: 0; background: transparent; color: var(--paper-dim); cursor: pointer; font: 500 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 6px; }
.adv-remove:hover { color: var(--gold); }
.adv-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.adv-add { border: 1px dashed rgba(216, 180, 106, 0.55); border-radius: 999px; background: transparent; color: var(--gold); cursor: pointer; font: 500 12.5px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 11px 18px; }
.adv-add:disabled { opacity: 0.55; cursor: default; }
.adv-hint { color: var(--paper-dim); font-size: 13px; }
.adv-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 18px; }
.adv-results:empty { display: none; }
.adv-block { padding: 16px 18px 14px; }
.adv-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.adv-block-party { color: var(--paper-dim); font-size: 13px; }
.adv-note { margin: 6px 0 0; color: var(--paper-dim); font-size: 13.5px; line-height: 1.5; }
/* A room sharing a suite, and the "rooms together" blocks (2026-09-04). */
.adv-block.shared { border-color: rgba(216, 180, 106, 0.4); }
.adv-share-note { color: var(--gold); margin-bottom: 8px; }
.adv-block-shared { border-style: dashed; }
.adv-share-lead { margin: 0 0 10px; }
/* The running total under the result blocks (2026-09-04). */
.adv-total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; margin-top: 4px; }
.adv-total-text { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.adv-total-note { font-size: 12.5px; color: var(--paper-dim); }
.adv-total-amount { font-family: var(--serif); font-size: 26px; color: var(--gold); white-space: nowrap; }
.adv-list { display: flex; flex-direction: column; gap: 6px; }
.adv-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.adv-opt:hover { border-color: rgba(216, 180, 106, 0.5); }
.adv-opt.on { border-color: var(--gold); background: rgba(216, 180, 106, 0.1); }
.adv-opt input { accent-color: #d8b46a; width: 18px; height: 18px; flex: none; }
.adv-opt-main { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
/* Two click zones on an option (2026-09-04): the pad around the radio
   chooses; the name and rate open the suite's lightbox. */
.adv-opt { padding: 0; overflow: hidden; }
.adv-opt-pick { display: flex; align-items: center; justify-content: center; align-self: stretch; padding: 0 12px 0 14px; cursor: pointer; border-right: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.15s; }
.adv-opt-pick:hover { background: rgba(216, 180, 106, 0.14); }
.adv-opt-main { flex: 1 1 auto; display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; background: transparent; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background 0.15s; }
.adv-opt-main:hover { background: rgba(255, 255, 255, 0.05); }
.adv-opt-main:hover .adv-opt-name { color: var(--gold); }
.adv-opt-text { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.adv-opt-main .adv-opt-price { margin-left: auto; }
.adv-opt-name { font-family: var(--serif); font-size: 18px; }
.adv-opt-meta { color: var(--paper-dim); font-size: 12px; }
.adv-opt-price { color: var(--gold); font-family: var(--serif); font-size: 18px; white-space: nowrap; }
.adv-foot { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 16px; }
.adv-foot:has(.adv-continue[hidden]) { display: none; }
.adv-continue-note { color: var(--paper-dim); font-size: 13px; }
.adv-continue:disabled { opacity: 0.55; cursor: default; }
@media (max-width: 860px) {
  .adv-fields { flex-wrap: wrap; }
}
.bar-field > span {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper-dim); white-space: nowrap;
}
.bar-field input, .bar-field select {
  appearance: none; -webkit-appearance: none;
  background: transparent; border: 0; outline: none; color: var(--paper);
  font: 500 16px/1.4 var(--sans); padding: 2px 0; cursor: pointer;
  color-scheme: dark;
}
.bar-field select option { color: #111; }
/* The code is read character by character — O vs 0 on a voucher is a support
   call — so it gets a mono face, tracking, and shows upper-case as typed.
   The FIELD SIZES TO ITS LABEL (flex-basis auto, label nowrap): "DISCOUNT
   CODE" with the bar's letter-spacing is wider than the old fixed basis and
   was wrapping onto two lines (Dave, 2026-08-25). The flexible fields either
   side give up the few pixels instead. */
.bar-field.code { flex: 0 0 auto; }
.bar-field.code > span { white-space: nowrap; }
.bar-field.code input {
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px;
}
.bar-sep { width: 1px; background: rgba(255, 255, 255, 0.12); margin: 10px 0; }

/* the liquid button */
.cta {
  position: relative; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(216, 180, 106, 0.6); border-radius: 16px;
  background: linear-gradient(140deg, rgba(216, 180, 106, 0.92), rgba(178, 138, 60, 0.92));
  color: #16120a; font: 600 15px/1 var(--sans); letter-spacing: 0.04em;
  padding: 0 30px; min-height: 54px;
  transition: transform 0.22s var(--spring), box-shadow 0.25s var(--ease-out), filter 0.2s;
  box-shadow: 0 10px 26px rgba(216, 180, 106, 0.22);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(216, 180, 106, 0.34); filter: brightness(1.05); }
.cta:active { transform: translateY(0) scale(0.97); transition-duration: 0.07s; }
.cta:disabled { opacity: 0.6; cursor: default; transform: none; }
.cta::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.cta:hover::after { transform: translateX(120%); }
.cta-label { position: relative; z-index: 1; }

.form-note { margin: 14px 6px 0; color: #e2a48c; font-size: 14px; text-align: center; }

/* ----------------------------------------------------------------- states */
.state { max-width: 1060px; margin: 44px auto 0; padding: 0 clamp(24px, 5vw, 64px); }
.state-card { padding: 40px 44px; text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; animation: rise 0.5s var(--ease-out); }
.state-title { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.state-card p { margin: 0 auto; max-width: 46ch; color: var(--paper-dim); line-height: 1.7; }
.state-note { text-align: center; color: var(--paper-dim); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 22px; }

.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.skeleton { height: 320px; position: relative; overflow: hidden; }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.09) 50%, transparent 70%);
  animation: shimmer 1.6s var(--ease-out) infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------------------------------------------------------------- results */
#results { max-width: 1240px; margin: 64px auto 0; padding: 0 clamp(24px, 5vw, 64px) 40px; }
.results-head { text-align: center; margin-bottom: 34px; }
.results-title { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 38px); }

.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 26px; }
/* the first suite runs wide — the magazine spread */
.room-grid .room:first-child { grid-column: 1 / -1; }
.room-grid .room:first-child .room-photo { aspect-ratio: 21 / 9; }

.room {
  position: relative; overflow: hidden; cursor: pointer;
  opacity: 0; transform: translateY(30px);
  animation: rise 0.7s var(--ease-out) forwards;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.room:hover { transform: translateY(-6px); box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.room.soldout { cursor: default; opacity: 0.82; }
.room.soldout:hover { transform: none; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.room.soldout .room-photo img, .room.soldout .room-photo .room-art { filter: grayscale(0.55) brightness(0.85); }
.room.soldout:hover .room-photo img, .room.soldout:hover .room-photo .room-art { transform: none; }
.room.selected { border-color: var(--gold); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(216, 180, 106, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22); }

.room-photo {
  aspect-ratio: 4 / 3; overflow: hidden; position: relative;
  border-radius: 21px 21px 0 0; background: #1a1f28;
}
.room-photo img, .room-photo .room-art {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.room:hover .room-photo img, .room:hover .room-photo .room-art { transform: scale(1.06); }
.room-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 19, 0.72), transparent 55%);
}
.room-scarce {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(12, 14, 19, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 180, 106, 0.5); color: var(--gold);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
}

.room-body { padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.room-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.room-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: 0.01em; }
.room-price { text-align: right; flex: none; }
.room-total { display: block; font-family: var(--serif); font-size: 24px; color: var(--gold); }
.room-taxnote { display: block; font-size: 11.5px; color: var(--paper-dim); margin-top: 3px; font-style: italic; }
.room-pn { display: block; font-size: 12px; color: var(--paper-dim); margin-top: 2px; }
.room-desc {
  margin: 0; color: var(--paper-dim); font-size: 14px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Rate Engine plan options (0.1.26): pills switching the card's plan. */
.room-plans { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 2px; }
.room-plan {
  font: inherit; font-size: 12px; color: var(--paper-dim); cursor: pointer;
  background: transparent; letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; padding: 6px 14px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.room-plan:hover { border-color: rgba(201, 168, 106, 0.55); color: var(--paper); }
/* The compare button rides the pill row it compares — dashed so it never
   reads as another plan, gold so it reads as an invitation. The pulse fires
   each time the guest switches plans: that is the moment comparing helps. */
.rate-compare {
  padding: 7px 14px; cursor: pointer; border-radius: 999px;
  border: 1px dashed rgba(201, 168, 106, 0.6); background: none;
  font: 500 12.5px/1.4 var(--sans); color: #c9a86a; white-space: nowrap;
}
.rate-compare:hover { color: #e2c583; border-color: #e2c583; border-style: solid; }
@keyframes rc-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 168, 106, 0.45); }
  40% { transform: scale(1.09); box-shadow: 0 0 0 7px rgba(201, 168, 106, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201, 168, 106, 0); }
}
.rate-compare.pulse { animation: rc-pulse 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (prefers-reduced-motion: reduce) { .rate-compare.pulse { animation: none; } }
.room-plan.on {
  color: var(--gold); border-color: rgba(201, 168, 106, 0.65);
  background: rgba(201, 168, 106, 0.1);
}
/* The cheapest plan's tag (0.1.29) — legible whether or not it is the
   selected pill, so the guest can see the best price at a glance. */
.room-plan.best { border-color: rgba(201, 168, 106, 0.4); }
.plan-best {
  display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #1b1a17;
  background: var(--gold); border-radius: 999px; padding: 2px 7px;
  vertical-align: 1px;
}
.room-ror { display: block; font-size: 13px; color: var(--paper-dim); font-style: italic; }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.room-tag {
  font-size: 11.5px; color: var(--paper-dim); letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 5px 12px;
}
.room-tag.room-promo { color: var(--gold); border-color: rgba(201, 168, 106, 0.55); }
/* Replicated Guest Suites settings: amenity chips + extra-guest costs. */
.room-amenities { display: flex; flex-wrap: wrap; gap: 6px; }
.room-am {
  font-size: 11px; color: var(--paper-dim);
  background: rgba(255, 255, 255, 0.06); border-radius: 999px; padding: 4px 11px;
}
.room-extra { margin: 0; font-size: 12px; color: var(--paper-dim); font-style: italic; }
.stay-note { margin: 6px 0 0; font-size: 12.5px; color: var(--paper-dim); font-style: italic; }

/* The chat widget (embed.js) mounts as #oa-web-chat, fixed bottom-right with
   inline styles — hence !important. Lift it clear of the floating summary
   where the two would meet (the summary is centered, so only narrower
   viewports collide). */
#oa-web-chat { transition: bottom 0.3s ease; }
@media (max-width: 1100px) {
  #summary:not([hidden]) ~ #oa-web-chat { bottom: 132px !important; }
}
.room-cta {
  margin-top: 6px; align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px;
  background: transparent; color: var(--paper); cursor: pointer;
  font: 500 13.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 26px;
  transition: background 0.2s var(--ease-out), border-color 0.2s, color 0.2s, transform 0.22s var(--spring);
}
.room:hover .room-cta { border-color: var(--gold); color: var(--gold); }
.room-cta:active { transform: scale(0.95); transition-duration: 0.07s; }
.room.selected .room-cta { background: var(--gold); border-color: var(--gold); color: #16120a; }
.room-qty { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.room-qty-btn {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25); background: transparent;
  color: var(--paper); font: 500 18px/1 var(--sans);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--spring), background 0.2s;
}
.room-qty-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(216, 180, 106, 0.08); }
.room-qty-btn:active { transform: scale(0.9); transition-duration: 0.07s; }
.room-qty-n { font-size: 13px; color: var(--paper-dim); letter-spacing: 0.06em; min-width: 60px; text-align: center; }

/* ----------------------------------------------------- floating summary */
.summary {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(140%);
  width: min(920px, calc(100vw - 40px));
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 16px 16px 16px 28px; flex-wrap: wrap;
  background: rgba(20, 23, 30, 0.66);
  transition: transform 0.55s var(--spring);
  z-index: 10;
}
.summary.on { transform: translateX(-50%) translateY(0); }
.summary[hidden] { display: none; }
.summary-text { display: flex; flex-direction: column; gap: 2px; min-width: 200px; }
.summary-room { font-family: var(--serif); font-size: 21px; }
.summary-meta { color: var(--paper-dim); font-size: 13px; }
.summary-right { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.summary-total { font-family: var(--serif); font-size: 26px; color: var(--gold); }
.summary-note { flex-basis: 100%; margin: 4px 12px 6px; color: var(--paper-dim); font-size: 13px; }

/* ------------------------------------------------------------------ foot */
.foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 44px clamp(24px, 5vw, 64px) 34px; color: var(--paper-dim); font-size: 12.5px;
  letter-spacing: 0.06em;
}

@media (prefers-reduced-motion: reduce) {
  .aura-blob, .skeleton::after { animation: none; }
  .reveal, .room { animation-duration: 0.01s; animation-delay: 0s; }
  * { transition-duration: 0.01s !important; }
}

/* The itemised note's day-by-day hover card. */
.room-taxnote.has-tip { cursor: help; text-decoration: underline dotted rgba(201, 168, 106, 0.6); text-underline-offset: 3px; }
.bk-breakdown {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
  min-width: 240px; max-height: 260px; overflow-y: auto;
  padding: 12px 14px; border-radius: 14px; text-align: left; font-style: normal;
  background: rgba(18, 21, 28, 0.96); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  scrollbar-width: thin; scrollbar-color: rgba(201, 168, 106, 0.5) transparent;
}
.bk-row { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--paper-dim); padding: 2px 0; }
.bk-row span:last-child { color: var(--paper); }
.bk-total { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 6px; padding-top: 6px; }
.bk-total span { color: var(--gold); font-size: 13px; }
/* The discount line a code earned: gold, like the good news it is. */
.bk-disc span { color: var(--gold); }

.bk-free { color: var(--gold); font-style: normal; font-size: 10px; margin-left: 7px; letter-spacing: 0.04em; }
/* A rate-rule message tag, beside the night it belongs to (0.1.42). */
.bk-msg { color: var(--gold); font-style: normal; font-size: 10px; margin-left: 7px; letter-spacing: 0.04em; border: 1px solid var(--gold); border-radius: 999px; padding: 0 6px; opacity: 0.85; }
.bk-stay-msgs { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.bk-stay-msg { color: var(--gold); font-size: 10.5px; letter-spacing: 0.03em; }
.bk-refund { font-size: 10.5px; margin-top: 5px; opacity: 0.9; }

/* Sold-out cards: the CTA leads to the suite's own availability calendar,
   kept gold at rest so it reads on the dimmed card. */
.room-cta.room-cta-avail { border-color: rgba(216, 180, 106, 0.55); color: var(--gold); }
.room.soldout .room-cta-avail:hover { background: rgba(216, 180, 106, 0.12); }

/* The itemised statement: labels may carry their arithmetic, values never
   wrap, and the subtotal rules off the nightly rows. */
.bk-breakdown { min-width: 300px; max-height: min(60vh, 480px); }
.bk-row span:first-child { flex: 1 1 auto; }
.bk-row span:last-child { white-space: nowrap; }
.bk-sub { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 6px; padding-top: 6px; }

/* Summary bar: the grand total reads large, the base + extras split small
   under it. And iOS must not "boost" the bar's text (it inflated the long
   amount line to display size on an iPhone). */
.summary-total { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; }
.summary-total .sum-split {
  font-family: var(--sans); font-size: 12px; color: var(--paper-dim);
  text-align: right; letter-spacing: 0.02em;
}

/* Bottom-left of the page: the brand with the copyright under it. */
.foot-left { display: flex; flex-direction: column; gap: 4px; }
.foot-copy { font-size: 11px; color: var(--paper-dim); opacity: 0.75; letter-spacing: 0.04em; }

/* With a logo the masthead is a centred lockup: the mark large and alone —
   the logo IS the brand, so the name under it goes (Dave, 2026-08-24) — and
   the spacing tightens so the hero + booking bar still clear the fold. */
.masthead.logo-mode { justify-content: center; position: relative; }
.masthead.logo-mode .brand { flex-direction: column; text-align: center; }
.masthead.logo-mode .brand-logo { max-height: 120px; max-width: min(360px, 70vw); }
.masthead.logo-mode .brand-name { display: none; }
body.has-logo .masthead { padding: 16px clamp(24px, 5vw, 64px) 0; }
body.has-logo .hero { padding-top: clamp(14px, 3vh, 36px); }
/* Short screens: a smaller mark buys the fold back. */
@media (max-height: 840px) {
  .masthead.logo-mode .brand-logo { max-height: 84px; }
  body.has-logo .hero { padding-top: 10px; }
  body.has-logo .hero-sub { margin-top: 16px; }
  body.has-logo .bar-wrap { margin-top: 18px; }
}

/* What the rate rules said about the stay (2026-08-31): stay messages,
   an earned discount, inclusion changes, the refund policy - on the card,
   visible without the hover statement, in both display modes. */
.room-callouts { display: flex; flex-direction: column; gap: 3px; margin: 8px 0 2px; }
.room-callout { font-size: 12px; line-height: 1.45; color: var(--paper-dim); }
.room-callout-msg { color: var(--gold); }
.room-callout-discount { color: var(--gold); font-weight: 600; }
/* The additional guests inside the price (engine 027) — plain, factual. */
.room-callout-extras { color: var(--paper); }
.room-callout-inc { color: var(--paper); }
.room-callout-exc { color: var(--paper-dim); }
.room-callout-refund { font-style: italic; }

/* ---- the flashlight + query-response debugger (2026-08-31) ---- */
.room-debug {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  width: 30px; height: 30px; padding: 0; line-height: 1;
  font-size: 15px; cursor: pointer;
  background: rgba(0, 0, 0, 0.35); color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px;
  opacity: 0.45; transition: opacity 0.2s;
}
.room-debug:hover { opacity: 1; }
.dbg-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.65);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.dbg-box {
  width: min(860px, 96vw); max-height: 88vh;
  display: flex; flex-direction: column;
  background: #211d17; color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6);
}
.dbg-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.dbg-close {
  background: none; border: none; color: var(--paper); cursor: pointer;
  font-size: 16px; padding: 4px 8px;
}
.dbg-body {
  overflow: auto; padding: 12px 16px 16px;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.55;
}
.dbg-meta {
  color: var(--paper-dim); margin-bottom: 10px; word-break: break-all;
  padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
.dbg-node { margin-left: 0; }
.dbg-kids { margin-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: 8px; }
.dbg-node > summary { cursor: pointer; list-style-position: outside; }
.dbg-node > summary:hover { color: var(--gold); }
.dbg-k { color: var(--gold); }
.dbg-shape { color: var(--paper-dim); }
.dbg-str { color: #b8d8a8; word-break: break-word; }
.dbg-num { color: #9fc6e8; }
.dbg-null { color: var(--paper-dim); font-style: italic; }
.dbg-leaf { word-break: break-word; }
.foot-build { display: block; margin-top: 6px; font-size: 11px; color: var(--paper-dim); opacity: 0.75; letter-spacing: 0.04em; }

/* Per-guest pricing said per person (2026-08-31): the card's average line
   and the breakdown's per-person night tag. */
.room-ppn { color: var(--gold); opacity: 0.85; }
.bk-pp { color: var(--paper-dim); font-style: normal; font-size: 10px; margin-left: 7px; letter-spacing: 0.04em; }

/* C7 (2026-09-07): keyboard and screen-reader affordances. The skip link
   sits off-screen until it is tabbed to; the live region is read aloud
   when the results change and never painted. */
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 999px; background: #1d1a16; color: #f3ede1; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; outline: 2px solid #c8a45f; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
