:root {
  /* warm neutral ramp + one gold accent */
  --black: #12110f;
  --ink: #1f1b16;
  --ivory: #f7f4ee;
  --white: #fdfbf7;
  --text-2: #5e554a;
  --muted: #7b7266;
  --line: rgba(31, 27, 22, .1);
  --gold: #c5a253;          /* fills: buttons, the gold top edge */
  --gold-text: #8a6a24;     /* gold used as text on light surfaces (4.5:1) */
  --on-dark: #efe9de;
  --on-dark-2: #aaa398;
  --font: 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --img-edge: rgba(31, 27, 22, .1);
  /* surface steps in dark mode: header/footer #0c0b09 < page #12100d < cards #25211b < promo band #2e2820 (+ gold edge).
     In light mode the promo stays the one dark band on the cream page. */
  --band: #12110f;
  --band-edge: transparent;  /* thin frame around photos, stronger in dark mode so dark photos don't melt into the page */
  color-scheme: light;
}
/* dark mode: follows the device unless the guest picked a mode with the header switch (data-theme on <html>).
   --black stays dark: it is both the header/footer band and the text colour on gold buttons. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --black: #0c0b09; --ink: #efe9de; --ivory: #12100d; --white: #25211b; --band: #2e2820; --band-edge: rgba(197, 162, 83, .4); --text-2: #c2b9ab; --muted: #968c7f;
    --line: rgba(239, 233, 222, .12); --gold-text: #d6b46a; --img-edge: rgba(239, 233, 222, .24); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --black: #0c0b09; --ink: #efe9de; --ivory: #12100d; --white: #25211b; --band: #2e2820; --band-edge: rgba(197, 162, 83, .4); --text-2: #c2b9ab; --muted: #968c7f;
  --line: rgba(239, 233, 222, .12); --gold-text: #d6b46a; --img-edge: rgba(239, 233, 222, .24); color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.6 var(--font); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* line icons: any svg from img/icons, painted in the current text color */
.ic { flex: none; display: inline-block; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

.btn { font: 500 15px var(--font); height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 4px;
  background: transparent; color: var(--ink); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn.primary:hover { background: #b48f3f; border-color: #b48f3f; }

/* header */
.topbar { position: sticky; top: 0; z-index: 10; height: 64px; display: flex; align-items: center; gap: 32px; padding: 0 32px;
  background: var(--black); color: var(--on-dark); border-bottom: 1px solid rgba(239, 233, 222, .08); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.brand-mark { flex: none; width: 40px; height: auto; }
.footer-logo { display: block; width: 160px; height: auto; }
.brand-name span { font-weight: 400; color: var(--on-dark-2); }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--on-dark-2); transition: color .15s var(--ease); }
.nav a:hover { color: var(--on-dark); }
.prefs { display: flex; gap: 8px; margin-left: 8px; }
.prefs select { height: 32px; background: transparent; color: var(--on-dark); border: 1px solid rgba(239, 233, 222, .2); border-radius: 4px;
  padding: 0 8px; font: 400 14px var(--font); cursor: pointer; }
/* the header is dark in both modes, so its dropdown lists are always light text on the dark band */
.prefs select { color-scheme: dark; }
.prefs option { background: var(--black); color: var(--on-dark); }
/* scroll progress: gold hairline along the bottom edge of the header */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* motion: reveal on scroll (classes added by app.js, so nothing hides without JS) */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.room-price .price { display: inline-block; }

/* press feedback */
.slider .arrow:active { transform: translateY(-50%) scale(.92); }
.slider .zoom:active, .chat:active, .menu-btn:active, .viewer-head .close:active { transform: scale(.94); }
.slider .zoom, .chat, .menu-btn, .viewer-head .close { transition: opacity .15s var(--ease), transform .15s var(--ease), background-color .15s var(--ease); }
.btn.primary:hover { box-shadow: 0 4px 12px rgba(18, 17, 15, .12); }

/* light/dark switch: shows a moon in light mode, a sun in dark mode */
.theme-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: -16px;
  border: 1px solid rgba(239, 233, 222, .2); border-radius: 50%; background: transparent; color: var(--on-dark); cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease); }
.theme-btn:hover { border-color: var(--gold); color: var(--gold); }
/* tap: the button presses in and a gold ring ripples out */
.theme-btn { position: relative; }
.theme-btn:active { transform: scale(.88); transition: transform .1s; }
.theme-btn::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; pointer-events: none; }
.theme-btn.pulse::after { animation: theme-ring .6s var(--ease); }
@keyframes theme-ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
.theme-btn .ic { width: 18px; height: 18px; --i: url(img/icons/moon.svg); animation: icon-swap-moon .6s var(--ease); }
.theme-btn.is-dark .ic { --i: url(img/icons/sun.svg); animation: icon-swap-sun .6s var(--ease); }
/* icon spins in from below when the mode changes (two names so the animation restarts on every switch) */
@keyframes icon-swap-moon { from { transform: rotate(-120deg) scale(.4); opacity: 0; } }
@keyframes icon-swap-sun { from { transform: rotate(120deg) scale(.4); opacity: 0; } }
/* circle-reveal theme switch (app.js animates the new view's clip-path) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; border-radius: 4px; background: transparent; color: var(--on-dark); cursor: pointer;
  align-items: center; justify-content: center; }
/* three bars that fold into an X when the menu opens */
.bars { position: relative; width: 20px; height: 14px; }
.bars i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 1px; background: currentColor;
  transition: top .3s var(--ease), transform .35s var(--ease) .05s, opacity .2s var(--ease); }
.bars i:nth-child(1) { top: 0; }
.bars i:nth-child(2) { top: 6px; }
.bars i:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] { color: var(--gold); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* hero: text on the calm left side of the photo, booking bar overlapping the bottom edge */
.hero { position: relative; isolation: isolate; min-height: calc(88vh - 64px); display: flex; align-items: center; padding: 96px 32px 128px; color: var(--on-dark); }
.hero-text { width: 100%; max-width: 1200px; margin: 0 auto; transform-origin: left center; }
.hero { overflow-x: clip; z-index: 2; } /* the zooming photo must never add a sideways scroll */
.slogans { display: grid; }
.slogans span { grid-area: 1 / 1; visibility: hidden; }
.slogans span.on { visibility: visible; }

/* hero slideshow: photos crossfade and slowly zoom out; the headline settles in on each change (app.js) */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--black); }
.hero-bg .slide { position: absolute; inset: 0; background: center / cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-bg .slide.on { opacity: 1; animation: hero-zoom 7.5s linear both; }
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 17, 15, .88) 0%, rgba(18, 17, 15, .6) 45%, rgba(18, 17, 15, .1) 100%); }
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-dots { position: absolute; top: 24px; right: 32px; display: flex; gap: 8px; }
.hero-dots i { width: 24px; height: 2px; background: rgba(239, 233, 222, .3); transition: background-color .6s var(--ease); }
.hero-dots i.on { background: var(--gold); }
.hero h1 { max-width: 640px; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -.02em; }
.hero p { max-width: 520px; margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: #d4cdc1; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.searchbar { position: absolute; bottom: -48px; left: 50%; transform: translateX(-50%); width: min(1000px, calc(100% - 64px));
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; align-items: center; gap: 0; padding: 10px; background: var(--white);
  border-top: 2px solid var(--gold); border-radius: 0 0 8px 8px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .4); color: var(--ink); }
/* dates (with nights chip) | guests | Book — each field opens its own popover */
.sb-field { position: relative; min-width: 0; }
.sb-guests { border-left: 1px solid var(--line); }
.sb-btn { display: block; width: 100%; padding: 8px 18px; border: 0; border-radius: 4px; background: none; color: var(--ink); text-align: left; cursor: pointer;
  font: inherit; transition: background-color .2s var(--ease); }
.sb-btn:hover, .sb-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--gold) 9%, transparent); }
.sb-lbl { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.sb-lbl b { font-weight: 400; }
.sb-lbl .ic { width: 14px; height: 14px; color: var(--gold-text); }
.sb-val { display: flex; align-items: center; gap: 10px; min-height: 30px; font: 500 16px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nights { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold-text);
  font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.searchbar .btn { height: 56px; margin-left: 8px; }
/* the bar sits inside .hero: undo the hero paragraph style for popover notes */
.searchbar p { max-width: none; margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* popovers unfold from the field they belong to */
.pop { position: absolute; top: calc(100% + 18px); left: 0; z-index: 20; padding: 20px; background: var(--white); color: var(--ink);
  border: 1px solid var(--img-edge); border-radius: 8px; box-shadow: 0 24px 48px -20px rgba(18, 17, 15, .45);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top left;
  transition: opacity .22s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
.pop.open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .35s var(--ease), visibility 0s; }
.sb-guests .pop { left: auto; right: 0; transform-origin: top right; }

/* calendar: one month, Sunday first; past days boxed grey, the stay drawn as joined dark squares */
.cal { width: 360px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h4 { margin: 0; font: 600 17px var(--font); }
.cal-head h4::first-letter { text-transform: uppercase; } /* "tháng 11" → "Tháng 11" */
.cal-head span { display: flex; gap: 4px; }
.cal-head button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--img-edge); border-radius: 4px; background: none; color: var(--ink); cursor: pointer;
  transition: border-color .2s var(--ease); }
.cal-head button:hover:not(:disabled) { border-color: var(--ink); }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-head .ic { width: 16px; height: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.cal-grid.slide-next { animation: m-next .35s var(--ease); }
.cal-grid.slide-prev { animation: m-prev .35s var(--ease); }
@keyframes m-next { from { opacity: 0; transform: translateX(20px); } }
@keyframes m-prev { from { opacity: 0; transform: translateX(-20px); } }
.cal-grid .dow { height: 32px; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.day { position: relative; aspect-ratio: 1; border: 0; background: none; color: var(--ink); font: 500 15px var(--font); font-variant-numeric: tabular-nums;
  cursor: pointer; isolation: isolate; transition: color .25s var(--ease); }
.day::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scale(0); transition: transform .25s var(--ease); }
.day:hover:not(:disabled):not(.in) { outline: 1px solid var(--ink); outline-offset: -1px; }
.day.in { color: var(--white); }
.day.in::before { transform: none; }
.day.today { text-decoration: underline; text-underline-offset: 4px; }
.day:disabled { margin: 1px; background: var(--ivory); color: var(--muted); font-style: italic; font-weight: 400; cursor: default; }
.cal-hint { margin: 12px 0 0; font-size: 13px; color: var(--text-2); }

/* guests: − / + steppers, the number slides when it changes */
.pick { width: 340px; }
.g-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.g-row + .g-row { border-top: 1px solid var(--line); }
.g-row b { display: block; font-weight: 500; }
.g-row small { display: block; font-size: 13px; color: var(--muted); }
.step { display: flex; align-items: center; gap: 12px; }
.step button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--img-edge); border-radius: 50%; background: none; color: var(--ink);
  cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.step button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-text); }
.step button:active:not(:disabled) { transform: scale(.9); }
.step button:disabled { opacity: .3; cursor: default; }
.step .ic { width: 16px; height: 16px; }
.step output { min-width: 2ch; overflow: hidden; text-align: center; font: 500 17px var(--font); font-variant-numeric: tabular-nums; }
.pop .done { width: 100%; height: 44px; margin-top: 14px; }
label > span { display: block; font-size: 13px; color: var(--muted); }
input { font: 500 16px var(--font); color: var(--ink); width: 100%; border: 0; background: transparent; padding: 4px 0; }
input:focus { outline: none; }
input[type=date] { cursor: pointer; }
input[type=date]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }

/* sections */
.section { max-width: 1264px; margin: 0 auto; padding: 96px 32px; }
#rooms { padding-top: 144px; }
.head { margin-bottom: 32px; }
.head h2 { font-size: 32px; }
.head p { margin: 8px 0 0; color: var(--text-2); }
.fine { margin: 24px 0 0; font-size: 13px; color: var(--muted); }

/* rooms */
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.room { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--img-edge); border-top: 2px solid var(--gold);
  border-radius: 0 0 8px 8px; overflow: hidden; }
/* touch screens: the card sinks a little while pressed, and a soft gold ripple spreads from the finger on a tap (app.js) */
@media (hover: none) {
  .room, .room.reveal.in { transition: transform .2s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), opacity .5s var(--ease); }
  .room.pressed { transform: scale(.975); border-color: var(--gold); box-shadow: 0 10px 24px -12px rgba(138, 106, 36, .55); }
}
.tap-ripple { position: absolute; z-index: 3; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  background: rgba(197, 162, 83, .28); pointer-events: none; animation: tap-ripple .7s ease-out forwards; }
@keyframes tap-ripple { from { transform: scale(0); opacity: 1; } to { transform: scale(28); opacity: 0; } }
/* photo slider (room cards + full-screen viewer) */
.slider { position: relative; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; user-select: none; }
.slider .arrow, .slider .zoom { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: color-mix(in srgb, var(--white) 92%, transparent); color: var(--ink); cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1); transition: opacity .15s var(--ease), transform .15s var(--ease); }
.slider .arrow { top: 50%; transform: translateY(-50%); }
.slider .prev { left: 12px; }
.slider .next { right: 12px; }
.slider .zoom { top: 12px; right: 12px; }
.slider .arrow:disabled { opacity: 0; pointer-events: none; }
.slider .count { position: absolute; left: 12px; bottom: 12px; padding: 2px 8px; border-radius: 4px; font-size: 13px;
  font-variant-numeric: tabular-nums; color: #fff; background: rgba(18, 17, 15, .6); }

/* dvh = the screen actually visible, so phone browser toolbars never cover a dialog; vh stays as the fallback */
#viewer { width: min(1100px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 8px; background: var(--black); color: var(--on-dark); }
#viewer::backdrop { background: rgba(18, 17, 15, .8); }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; padding: 0 8px 0 20px; }
.viewer-head h3 { font-size: 17px; }
.viewer-head .close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 4px;
  background: transparent; color: var(--on-dark); cursor: pointer; }
#viewer .track img { aspect-ratio: auto; height: min(72vh, 720px); height: min(72dvh, 720px); object-fit: contain; background: #000; cursor: default; }
.room-body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.room-name { font-size: 20px; }
.room-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: 8px 0 16px; font-size: 14px; color: var(--text-2); }
.room-cap > span { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.room-cap .ic { width: 16px; height: 16px; color: var(--muted); }
.amen { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.more { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin: 0 0 20px; padding: 4px 0; border: 0;
  background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--gold-text); cursor: pointer; }
.more .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.more:hover .ic { transform: translateX(3px); }
.more:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

#details { width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 8px;
  background: var(--white); color: var(--ink); border-top: 2px solid var(--gold); }
#details::backdrop { background: rgba(18, 17, 15, .6); }
#details .viewer-head { height: auto; padding: 20px 12px 16px 24px; align-items: flex-start; border-bottom: 1px solid var(--line); }
#details .viewer-head h3 { font-size: 20px; }
#details .viewer-head .close { color: var(--ink); }
.details-cap { margin: 4px 0 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.details-body { display: grid; gap: 24px; padding: 24px; }
.details-body h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.details-body ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.details-body li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.details-body .ic { flex: none; width: 22px; height: 22px; color: var(--ink); }
.details-body section + section { padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .details-body { padding: 20px; } .details-body ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.amen li { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 8px; font-size: 13px; color: var(--text-2);
  background: var(--ivory); border-radius: 4px; }
.amen .ic { width: 16px; height: 16px; color: var(--muted); }
.room-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding-top: 16px; border-top: 1px solid var(--line); }
/* a multi-night total can be long (e.g. in VND): the price line may wrap, and the button then drops below it */
.room-price { margin: 0; min-width: 0; }
.room-price > * { white-space: nowrap; }
.room-foot .btn { margin-left: auto; }
@media (max-width: 600px) { .room-foot .btn { flex: 1 0 100%; } }
.room-price .price { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.room-price small { font-size: 13px; color: var(--muted); }
.room-price .was { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* long-stay promo: offer card; the status line follows the dates the guest picked */
.promo { margin: 0 0 32px; background: var(--white); color: var(--ink); border: 1px solid var(--img-edge); border-top: 2px solid var(--gold);
  border-radius: 0 0 8px 8px; overflow: hidden; }
.promo-body { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 24px 28px; min-width: 0; }
.promo-tag { align-self: flex-start; padding: 3px 10px; border-radius: 4px; background: var(--black); color: var(--gold);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.promo h3 { margin-top: 6px; font-size: 22px; }
.promo-text { margin: 0; color: var(--text-2); }
.promo-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.promo-state { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 500; color: var(--gold-text); }
.promo-state .ic { width: 16px; height: 16px; }
.promo-state.ok { color: #3f7a4a; }
:root[data-theme="dark"] .promo-state.ok { color: #9fd3a8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .promo-state.ok { color: #9fd3a8; } }
.promo .btn { background: var(--gold); border-color: var(--gold); color: var(--black); white-space: nowrap; }
@media (max-width: 640px) {
  .promo-body { padding: 20px; }
  .promo .btn { width: 100%; }
}

/* policy */
#policy { padding-top: 0; }
/* text-led like real hotel policy pages: hairlines, no boxes or icons */
.pol-head { text-align: center; }
.pol-head p { max-width: 720px; margin-inline: auto; text-wrap: balance; }
.pol-links { display: block; margin-top: 8px; font-size: 18px; color: var(--muted); }
.pol-head a { color: var(--gold-text); font-weight: 500; text-underline-offset: 4px; }
/* times row and the list share the same 2 columns, so everything lines up */
.pol-facts, .pol-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
/* framed check-in / check-out card: label on top, then a small capital FROM/BY and the time */
.pol-facts { column-gap: 0; margin-bottom: 8px; background: var(--white); border: 1px solid var(--img-edge); border-top: 2px solid var(--gold); border-radius: 8px; }
.pol-facts > div { padding: 24px 28px; text-align: center; }
.pol-facts > div + div { border-left: 1px solid var(--line); }
.pol-label { display: block; font-size: 20px; font-weight: 500; }
.pol-time { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 10px; margin: 8px 0 0; }
.pol-time .pre { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.pol-time strong { font-size: 32px; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pol-list { margin: 0; }
.pol-list div { padding: 16px 0; border-top: 1px solid var(--line); }
.pol-list dt { font-size: 15px; font-weight: 500; }
.pol-list dd { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* room filter: sliding gold pill behind the active option */
.filter { position: relative; display: inline-flex; padding: 4px; margin-bottom: 24px; background: var(--white); border: 1px solid var(--img-edge); border-radius: 8px; }
.filter button { position: relative; z-index: 1; height: 36px; padding: 0 16px; border: 0; background: transparent; font: 500 14px var(--font);
  color: var(--text-2); cursor: pointer; transition: color .2s var(--ease); }
.filter button.on { color: var(--black); }
.filter .pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 4px; background: var(--gold);
  transition: transform .35s var(--ease), width .35s var(--ease); }

/* FAQ accordion: height animates through grid rows 0fr -> 1fr */
#faq { padding-top: 0; }
/* FAQ: centred like the policy section; topic chips filter the cards; the open card gets a gold edge */
.faq-head { text-align: center; }
.faq-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -8px 0 24px; }
.faq-chips button { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--img-edge); background: var(--white);
  font: 500 14px var(--font); color: var(--text-2); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.faq-chips button:hover { border-color: var(--gold); }
.faq-chips button.on { background: var(--gold); border-color: var(--gold); color: var(--black); }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--img-edge); border-radius: 8px; padding: 0 20px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-item.open { border-color: var(--gold); box-shadow: 0 8px 24px -16px rgba(138, 106, 36, .6); }
.faq-item button { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0;
  border: 0; background: none; font: 500 16px var(--font); color: var(--ink); text-align: left; cursor: pointer; }
.faq-item button .ic { color: var(--muted); transition: transform .35s var(--ease), color .25s var(--ease); }
.faq-item.open button .ic { transform: rotate(180deg); color: var(--gold-text); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 18px; color: var(--text-2); max-width: 680px; }
.faq-more { margin: 24px 0 0; text-align: center; color: var(--text-2); }
.faq-more a { color: var(--gold-text); font-weight: 500; text-underline-offset: 3px; }

/* copy buttons + toast */
.copy { margin-left: auto; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px;
  background: transparent; color: var(--muted); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease); }
.copy:hover { background: var(--white); color: var(--ink); }
.copy:active { transform: scale(.92); }
.copy .ic { width: 16px; height: 16px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 4px;
  background: var(--black); color: var(--on-dark); font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .16); white-space: nowrap;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4cc38a; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* desktop hover: gold underline on menu links, room cards lift */
@media (hover: hover) and (min-width: 901px) {
  .nav a { position: relative; }
  .nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav a:hover::after { transform: scaleX(1); }
  .room { transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .5s var(--ease); }
  .room:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(18, 17, 15, .12); }
}

/* services: the 3 most asked-about get a photo, the rest sit in one quiet row */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--line); box-shadow: 0 0 0 1px var(--img-edge); }
.svc-card h3 { margin: 16px 0 4px; font-size: 18px; }
.svc-card p { margin: 0; font-size: 14px; color: var(--text-2); }
.svc-card .meta { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--gold-text); }

/* gallery */
.gal-tabs { display: flex; gap: 24px; margin: 0 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.gal-tabs::-webkit-scrollbar { display: none; }
.gal-tabs button { position: relative; flex: none; padding: 0 0 12px; background: none; border: 0; font: 500 15px var(--font);
  color: var(--muted); cursor: pointer; transition: color .2s var(--ease); }
.gal-tabs button:hover, .gal-tabs button.on { color: var(--ink); }
.gal-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gal-item { display: block; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: var(--line); cursor: zoom-in; box-shadow: 0 0 0 1px var(--img-edge); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .gal-item:hover img { transform: scale(1.03); } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; padding-top: 0; }
/* min-width 0: the Lao address has no spaces to break at, so on a 320px phone it pushed the page sideways */
.contact > * { min-width: 0; }
.contact-list li > :not(.ci, .copy, .dir) { min-width: 0; overflow-wrap: anywhere; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; min-height: 60px; border-bottom: 1px solid var(--line); }
/* round icon; on hover (or keyboard focus) it pops up with a small overshoot and turns gold */
.ci { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); color: var(--muted);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background-color .25s var(--ease), border-color .25s var(--ease),
    color .25s var(--ease), box-shadow .25s var(--ease); }
.ci .ic { width: 16px; height: 16px; }
.contact-list li:focus-within .ci { transform: translateY(-3px) scale(1.12); background: var(--gold); border-color: var(--gold); color: var(--black);
  box-shadow: 0 8px 16px -8px rgba(138, 106, 36, .7); }
@media (hover: hover) {
  .contact-list li:hover .ci { transform: translateY(-3px) scale(1.12); background: var(--gold); border-color: var(--gold); color: var(--black);
    box-shadow: 0 8px 16px -8px rgba(138, 106, 36, .7); }
}
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold-text); }
.contact iframe { width: 100%; height: 400px; border: 0; border-radius: 8px; }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 32px; background: var(--black); color: var(--on-dark-2); font-size: 14px; }
.footer .brand { color: var(--on-dark); }
.footer p { margin: 0; }

/* floating chat buttons keep their own brand colors so guests recognise them */
.chat-float { position: fixed; right: 16px; bottom: 16px; z-index: 9; display: flex; flex-direction: column; gap: 8px; transition: opacity .2s, visibility .2s; }
/* while the calendar or guest picker is open the chat buttons step aside, or on phones they cover the Saturday column */
body:has(.pop.open) .chat-float { opacity: 0; visibility: hidden; }
.chat { position: relative; display: block; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transition: opacity .15s var(--ease), transform .15s var(--ease); }
/* back to top: sits above the chat buttons, fades up once the guest has scrolled well down the page */
.to-top { position: relative; align-self: center; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; padding: 0;
  border: 0; border-radius: 50%; background: var(--black); color: var(--gold); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.6);
  transition: opacity .3s var(--ease), transform .45s cubic-bezier(.34, 1.56, .64, 1), visibility .45s, background-color .2s var(--ease), color .2s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
/* gold ring fills up as the guest scrolls down (--p = 0…1, set in app.js) */
.to-top::before { content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p, 0) * 360deg), rgba(197, 162, 83, .25) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); }
.to-top .ic { width: 18px; height: 18px; }
@media (hover: hover) {
  .to-top:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
  .to-top:hover .ic { animation: arrow-bob .9s ease-in-out infinite; }
}
.to-top.go .ic { animation: arrow-fly .5s var(--ease); }
@keyframes arrow-bob { 50% { transform: translateY(-3px); } }
@keyframes arrow-fly { 45% { transform: translateY(-16px); opacity: 0; } 46% { transform: translateY(14px); opacity: 0; } }
/* entrance: the two buttons pop in one after the other once the page has loaded */
.chat { animation: chat-in .6s cubic-bezier(.34, 1.56, .64, 1) .6s backwards; }
.chat.whatsapp { animation-delay: .75s; }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px) scale(.4); } }
/* a soft ring ripples out every few seconds so guests notice them, without blinking */
.chat::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: inherit;
  animation: chat-ring 4s ease-out 2s infinite; opacity: 0; }
.chat.whatsapp::before { animation-delay: 4s; }
@keyframes chat-ring { 0% { opacity: .45; transform: scale(1); } 35%, 100% { opacity: 0; transform: scale(1.7); } }
/* hover / keyboard focus: the button lifts and a label slides out to the left */
.chat:hover, .chat:focus-visible { transform: translateY(-2px) scale(1.06); transition-duration: .3s; transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
.chat-label { position: absolute; right: calc(100% + 12px); top: 50%; padding: 6px 12px; border-radius: 4px; background: var(--white); color: var(--ink);
  font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, .14); pointer-events: none;
  opacity: 0; transform: translate(8px, -50%); transition: opacity .2s var(--ease), transform .3s var(--ease); }
.chat:hover .chat-label, .chat:focus-visible .chat-label { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) { .chat-label { display: none; } }
.chat::after { content: ''; position: absolute; inset: 12px; background: #fff; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.chat.whatsapp { background: #25d366; --icon: url('img/whatsapp.svg'); }
.chat.zalo { background: #0068ff; --icon: url('img/zalo.svg'); }

@media (max-width: 900px) {
  /* phone header: switch | name centred | menu */
  .topbar { display: grid; grid-template-columns: 40px 1fr 40px; padding: 0 16px; gap: 8px; }
  .topbar .brand { grid-column: 2; grid-row: 1; justify-self: center; gap: 8px; font-size: 16px; }
  .topbar .brand-mark { width: 30px; }
  .theme-btn { grid-column: 1; grid-row: 1; margin-left: 0; }
  .menu-btn { grid-column: 3; grid-row: 1; }
  .menu-btn { display: inline-flex; }
  .prefs { margin: 8px 0 0; }
  .prefs select { flex: 1; height: 40px; font-size: 16px; } /* under 16px iPhone Safari zooms the page on tap */
  /* mobile menu slides down and fades; visibility keeps closed links out of tab order */
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px 16px 16px; background: var(--black); border-bottom: 1px solid rgba(239, 233, 222, .08);
    clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none;
    transition: clip-path .3s var(--ease), visibility 0s linear .3s; }
  /* panel unrolls from the header, then each link slides in one after another */
  .nav.open { clip-path: inset(0 0 -20px 0); visibility: visible; pointer-events: auto;
    transition: clip-path .4s var(--ease), visibility 0s; }
  .nav > * { opacity: 0; transform: translateX(-12px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav.open > * { opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .nav.open > :nth-child(2) { transition-delay: .05s; }
  .nav.open > :nth-child(3) { transition-delay: .1s; }
  .nav.open > :nth-child(4) { transition-delay: .15s; }
  .nav.open > :nth-child(5) { transition-delay: .2s; }
  .nav.open > :nth-child(6) { transition-delay: .25s; }
  .nav a { height: 48px; display: flex; align-items: center; font-size: 16px; border-bottom: 1px solid rgba(239, 233, 222, .08); }
  .nav a:active { color: var(--gold); }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding: 64px 16px 24px; }
  .hero-bg::after { background: linear-gradient(rgba(18, 17, 15, .55), rgba(18, 17, 15, .85)); }
  .hero-dots { top: 16px; right: 16px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; margin-top: 16px; }
  .searchbar { position: static; transform: none; width: 100%; margin-top: 40px; grid-template-columns: minmax(0, 1fr); padding: 8px; }
  /* phone: dates, guests, button stacked; popovers sit full width under their field */
  .sb-guests { border-left: 0; border-top: 1px solid var(--line); }
  .sb-btn { padding: 8px 12px; }
  .pop, .sb-guests .pop { left: -8px; right: -8px; width: auto; top: calc(100% + 8px); padding: 16px; transform-origin: top center; }
  .searchbar .btn { margin: 8px 0 0; }
  .cal > * { max-width: 420px; margin-inline: auto; }
  .section { padding: 64px 16px; }
  #rooms { padding-top: 64px; }
  .head h2 { font-size: 28px; }
  .rooms { grid-template-columns: 1fr; }
  .filter { display: flex; }
  .filter button { flex: 1; padding: 0 8px; }
  .pol-facts > div { padding: 18px 16px; }
  .pol-label { font-size: 17px; }
  .pol-time strong { font-size: 26px; }
  .pol-list { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; gap: 32px; }
  .svc-card img { aspect-ratio: 16 / 9; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact iframe { height: 300px; }
  .footer { padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---- polish pass: hotel typography + quieter chrome ---- */
/* display serif for headings, names, times and prices; Be Vietnam Pro stays for reading text.
   Thai / CJK glyphs fall through to the sans stack. */
:root { --serif: 'Cormorant Garamond', 'Be Vietnam Pro', Georgia, serif; }
h1, h2, .room-name, .promo h3, .svc-card h3, #details .viewer-head h3, .pol-label, .pol-time strong, .room-price .price {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; }
.hero h1 { font-size: clamp(46px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.head { margin-bottom: 40px; }
.head h2 { font-size: clamp(36px, 3.6vw, 48px); line-height: 1.05; }
.head p { font-size: 17px; }
.room-name { font-size: 28px; line-height: 1.1; }
.room-price .price { font-size: 32px; font-weight: 600; }
.promo h3 { font-size: 30px; line-height: 1.1; }
.svc-card h3 { font-size: 26px; }
#details .viewer-head h3 { font-size: 28px; }
.pol-label { font-size: 26px; }
.pol-time strong { font-size: 44px; font-weight: 500; }

/* one gold edge on the page (the booking bar); every other box is a plain hairline frame */
.room, .promo, .pol-facts { border-top: 1px solid var(--img-edge); border-radius: 6px; }
#details { border-top: 0; }
.room:hover { border-color: color-mix(in srgb, var(--gold) 45%, var(--img-edge)); }

/* amenities read as a quiet inline list, not a cloud of tags */
.amen { gap: 8px 18px; margin-bottom: 16px; }
.amen li { height: auto; padding: 0; background: none; border-radius: 0; font-size: 14px; }

/* FAQ: open card marked by its border only */
.faq-item.open { box-shadow: none; border-color: color-mix(in srgb, var(--gold) 70%, transparent); }

/* browser surfaces */
::selection { background: color-mix(in srgb, var(--gold) 35%, transparent); color: var(--ink); }
html { scrollbar-color: color-mix(in srgb, var(--ink) 30%, transparent) var(--ivory); }
input, textarea { caret-color: var(--gold); }
a { text-underline-offset: 3px; }

@media (max-width: 900px) {
  .hero h1 { font-size: 42px; }
  .head h2 { font-size: 34px; }
  .pol-label { font-size: 21px; }
  .pol-time strong { font-size: 34px; }
}
/* Cormorant defaults to old-style figures; times and prices need full-height digits */
.pol-time strong, .room-price .price { font-variant-numeric: lining-nums tabular-nums; }

/* ---- about: centred welcome under the booking bar ---- */
#rooms { padding-top: 0; }
.about { padding-top: 160px; }
.about-in { max-width: 680px; margin: 0 auto; text-align: center; }
.about-mark { width: 72px; height: auto; margin: 0 auto 24px; }
.about h2 { font-size: clamp(36px, 3.6vw, 48px); line-height: 1.05; text-wrap: balance; }
.about-text { margin: 16px auto 0; max-width: 60ch; font-size: 17px; color: var(--text-2); text-wrap: pretty; }
.about-quote { margin: 32px auto 0; max-width: 520px; font: 500 italic 26px/1.35 var(--serif); color: var(--ink); text-wrap: balance; }
.about-since { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; font-size: 13px; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-text); }
.about-since::before, .about-since::after { content: ''; width: 56px; height: 1px; background: var(--gold); }
/* entrance, played once when it scrolls in: the flower opens, lines settle in turn, the gold rules draw outwards from the words */
.about-in.reveal { opacity: 1; transform: none; }
.about-in.reveal > * { transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.about-in.reveal:not(.in) > * { opacity: 0; transform: translateY(14px); }
.about-in.reveal:not(.in) .about-mark { transform: scale(.6) rotate(-30deg); filter: blur(4px); }
.about-in.in .about-mark { transition-duration: 1.1s; }
.about-in.in > :nth-child(2) { transition-delay: .15s; }
.about-in.in > :nth-child(3) { transition-delay: .25s; }
.about-in.in > :nth-child(4) { transition-delay: .4s; }
.about-in.in > :nth-child(5) { transition-delay: .55s; }
.about-since::before, .about-since::after { transition: transform .9s var(--ease) .7s; }
.about-since::before { transform-origin: right; }
.about-since::after { transform-origin: left; }
.about-in.reveal:not(.in) .about-since::before, .about-in.reveal:not(.in) .about-since::after { transform: scaleX(0); }

/* ---- reviews: one large quote at a time ---- */
.rev-head { text-align: center; }
.rev-stage { display: grid; max-width: 760px; margin: 0 auto; text-align: center; }
.rev { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s linear .7s; }
.rev.on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease) .1s, transform .7s var(--ease) .1s, visibility 0s; }
.rev-stars { display: inline-flex; gap: 4px; color: var(--gold); }
.rev-stars .ic { width: 16px; height: 16px; }
/* stars pop in one by one each time a quote appears */
.rev.on .rev-stars .ic { animation: star-in .5s var(--ease) backwards; }
.rev.on .rev-stars .ic:nth-child(2) { animation-delay: .08s; }
.rev.on .rev-stars .ic:nth-child(3) { animation-delay: .16s; }
.rev.on .rev-stars .ic:nth-child(4) { animation-delay: .24s; }
.rev.on .rev-stars .ic:nth-child(5) { animation-delay: .32s; }
@keyframes star-in { from { opacity: 0; transform: scale(.3) rotate(-40deg); } }
.rev blockquote { margin: 20px 0 0; font: 500 clamp(24px, 2.6vw, 32px)/1.35 var(--serif); color: var(--ink); text-wrap: balance; }
.rev figcaption { margin-top: 20px; font-size: 14px; color: var(--muted); }
.rev figcaption b { display: block; font-weight: 500; color: var(--ink); }
.rev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.rev-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.rev-dots button::before { content: ''; width: 20px; height: 2px; background: var(--line); transition: background-color .3s var(--ease), width .3s var(--ease); }
.rev-dots button.on::before { width: 32px; background: var(--gold); }
.rev-dots button.on { width: 36px; }

.footer-link { color: var(--on-dark); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: background-size .3s var(--ease), color .2s var(--ease); }
.footer-link:hover, .footer-link:focus-visible { color: var(--gold); background-size: 100% 1px; }

@media (max-width: 900px) {
  .about { padding-top: 64px; }
  .about h2 { font-size: 34px; }
  .about-quote { font-size: 22px; }
}

/* contact: "Directions" opens Google Maps routing to the hotel's pin */
.contact-list .dir { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 2px; padding: 6px 4px 6px 12px;
  font-size: 14px; font-weight: 500; color: var(--gold-text); white-space: nowrap; }
.contact-list .dir .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.contact-list .dir:hover .ic, .contact-list .dir:focus-visible .ic { transform: translateX(3px); }

/* phones: footer stacks on the left, clear of the floating chat buttons on the right */
@media (max-width: 900px) {
  .footer { flex-direction: column; align-items: flex-start; gap: 20px; padding-right: 88px; }
}

/* no room takes that many adults */
.rooms-empty { display: grid; justify-items: center; gap: 12px; max-width: 560px; margin: 0 auto; padding: 48px 24px; border: 1px dashed var(--img-edge); border-radius: 8px; text-align: center; }
.rooms-empty[hidden] { display: none; }
.rooms-empty > .ic { width: 28px; height: 28px; color: var(--gold-text); }
.rooms-empty p { margin: 0; color: var(--text-2); }

/* small phones (iPhone SE, 320px): the nights chip drops under the dates instead of being cut off */
@media (max-width: 380px) { .sb-dates .sb-val { flex-wrap: wrap; row-gap: 6px; } }
