/* Yamala Bali — site styles.
   Colour, type, radius and motion come from tokens.css (loaded first). This file only
   uses its variables and .t-* classes; no raw hex, px font sizes or durations here. */

:root {
  --scrim-hero: rgba(24, 25, 24, .35);
  --scrim-cta: rgba(24, 25, 24, .65);   /* darker over the rooftop bar (user 2026-10-07) */

  --container: 1504px;   /* content width; container box = 1504 + 2 × 48 = 1600 (user direction 2026-10-01) */
  --split-gap: 96px;     /* photo → text distance in every split */
  --gutter: 48px;        /* left/right page padding; 24px at ≤640 (user direction 2026-10-02) */
  --section-y: 160px;    /* top/bottom padding of every marketing section (user direction 2026-10-02: more air) */
  --funnel-y: 120px;     /* funnel pages keep the tighter rhythm */
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");   /* ui.js arrowR as a mask: hover arrows on pills and footer links */
  --hdr-h: 88px;         /* header bar, same height at the top and once filled (user direction 2026-10-06); 88 (2026-10-07, was 104); 64px at ≤640 */
}

@media (max-width: 1024px) { :root { --section-y: 96px; --funnel-y: 88px; } }   /* tablet register (antislop audit 001 #7, was 120) */
@media (max-width: 640px)  { :root { --section-y: 64px; --funnel-y: 64px; --gutter: 24px; --hdr-h: 64px; } }   /* phone register (was 88) */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }   /* Lenis animates anchor jumps itself */
body {
  margin: 0;
  font: var(--weight-light) var(--fs-body)/var(--lh-body) var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4, h5 { font-weight: var(--weight-regular); }
b, strong { font-weight: var(--weight-medium); }

/* ── type: families + sizes live in tokens.css (.t-*) ─── */
.muted   { color: var(--text-muted); }
.tabular { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
/* gold type only on dark grounds (4.8:1 on navy, 6.3:1 on charcoal); light grounds keep charcoal */
.section--dark .t-eyebrow, .site-footer .t-eyebrow { color: var(--gold); }

/* ── focus: charcoal ring on light grounds, gold inside dark ones ── */
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.site-header, .site-footer, .section--dark, .search, .dp-pop, .gp-pop { --focus-ring: var(--charcoal); }

/* ── layout ───────────────────────────────────────────── */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
section[id] { scroll-margin-top: var(--hdr-h); }   /* clear the sticky header on anchor jumps */

/* text link (content-flow: uppercase, 1px underline, 4px offset; gold underline on dark only).
   Hover (BelArosa text-link, user direction 2026-10-06): the label rolls up and its copy rolls in from below; the line
   slides out to the right while a new one draws in from the left a beat later. The copy is a text-shadow, so screen
   readers hear the label once. Markup: <a class="link"><span>Label</span></a>. */
.link { --link-line: currentColor; --link-beat: calc(var(--duration) / 3);
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  padding: calc(20px - .7em) 0 calc(24px - .7em); margin: calc(.7em - 20px) 0 calc(.7em - 19px);   /* 44px tap area at any label size (1.4em line + padding = 44); the negative margin gives the space back, so the label and its line sit where they did (antislop audit 001 #3) */
  font: var(--weight-medium) var(--fs-label)/var(--lh-ui) var(--font-sans); text-transform: uppercase; letter-spacing: .1667em;
  background: none; border: 0; color: inherit; cursor: pointer; }
.link > span { display: block; text-shadow: 0 2em currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 1.4em, 0 1.4em);   /* the clip moves with the label so text never crosses the line */
  transition: transform var(--duration) var(--ease-out), clip-path var(--duration) var(--ease-out); }
.link::before, .link::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(19px - .7em); height: 1px; background: var(--link-line);
  transition: transform var(--duration) var(--ease-out); }
.link::before { transition-delay: var(--link-beat); }   /* rest line: on the way back it returns after the new one leaves */
.link::after { transform: translateX(-101%); }          /* the incoming line waits off to the left */
:is(.link:hover, .link:focus-visible, .room-card:hover .link) > span { transform: translateY(-2em); clip-path: polygon(0 2em, 100% 2em, 100% 3.4em, 0 3.4em); }
:is(.link:hover, .link:focus-visible, .room-card:hover .link)::before { transform: translateX(101%); transition-delay: 0s; }
:is(.link:hover, .link:focus-visible, .room-card:hover .link)::after { transform: none; transition-delay: var(--link-beat); }
.section--dark .link, .site-footer .link { --link-line: var(--gold); }
/* page grounds are white or navy only (user direction 2026-10-02); sand tint stays for small fills: placeholders, hovers, calendar range */
.section--dark { background: var(--bg-deep); color: var(--text-on-deep); }
/* centred section head (BelArosa scale): caps eyebrow over a 64px serif headline, short intro */
.center-head { display: grid; gap: 20px; justify-items: center; text-align: center; max-width: 960px; margin: 0 auto 80px; }
.center-head p { max-width: 640px; }
.section--dark .center-head p { opacity: .8; }
.center-cta { display: flex; justify-content: center; margin-top: 56px; }
@media (max-width: 640px) { .center-head { margin-bottom: 48px; gap: 16px; } .center-cta { margin-top: 40px; } }
.stack-8  { display: grid; gap: 8px; }
.stack-16 { display: grid; gap: 16px; }
.stack-24 { display: grid; gap: 24px; }
.stack-8, .stack-16, .stack-24 { grid-template-columns: minmax(0, 1fr); }   /* never wider than the parent, even with long unbreakable content */

/* ── button ───────────────────────────────────────────── */
/* Every pill (BelArosa, user direction 2026-10-06): outline at rest; on hover it fills and an arrow slides in
   from the left, pushing the label right, on the calm 600ms ease (user direction 2026-10-06). Variants only set the three colours below. */
.btn {
  --btn-ink: var(--text); --btn-fill: var(--text); --btn-on-fill: var(--text-on-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--btn-ink); border-radius: var(--radius-pill); background: transparent; color: var(--btn-ink);
  padding: 16px 24px; font: var(--weight-medium) var(--fs-label)/var(--lh-ui) var(--font-sans);   /* every pill: 16 / 24 padding, 12px type (user direction 2026-10-02) */
  text-transform: uppercase; letter-spacing: .1667em;   /* 2px at 12 */
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}
/* the arrow: ui.js arrowR drawn as a mask so it takes the text colour; collapsed (width 0, gap cancelled) at rest */
.btn::before {
  content: ""; flex: none; width: 0; height: 18px; margin-block: -2px; margin-right: -8px;   /* 18px glyph, no taller than the 16.8px label line */
  background: currentColor; opacity: 0; transform: translateX(-8px);
  -webkit-mask: var(--chevron) center / 18px 18px no-repeat;
          mask: var(--chevron) center / 18px 18px no-repeat;
  transition: width var(--duration) var(--ease-out), margin var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
.btn:hover, .btn:focus-visible { background: var(--btn-fill); border-color: var(--btn-fill); color: var(--btn-on-fill); }
@media (hover: hover) {   /* touch: fill only, so a tap never widens the header pill into the logo */
  .btn:hover::before { width: 18px; margin-right: 0; opacity: 1; transform: none; }
}
.btn:focus-visible::before { width: 18px; margin-right: 0; opacity: 1; transform: none; }
.btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.btn--primary, .btn--outline-dark { --btn-ink: var(--text); --btn-fill: var(--text); --btn-on-fill: var(--text-on-deep); }
/* on photos (hero, closing CTA): titanium line, titanium fill, charcoal label */
.btn--outline, .btn--inverse { --btn-ink: var(--text-on-deep); --btn-fill: var(--titanium); --btn-on-fill: var(--charcoal); }
.btn--block { width: 100%; }
/* follows the text colour of its ground */
.btn--ghost { --btn-ink: currentColor; color: inherit; }
.section--dark .btn--ghost { --btn-fill: var(--titanium); --btn-on-fill: var(--charcoal); }
.btn[disabled], .btn.is-disabled { opacity: .4; pointer-events: none; }

/* ── logo: gold on light grounds, titanium on dark ───── */
.logo { display: block; height: auto; color: var(--gold); }
.section--dark .logo { color: var(--titanium); }
.site-footer .logo { color: var(--gold); }   /* gold mark on the navy footer (user 2026-10-06; guideline: gold on navy is approved) */
/* header "marks" = logo + menu button: titanium on navy / photo, gold on light grounds (user direction 2026-10-02) */
.site-header { --hdr-mark: var(--titanium); }
.site-header--light, .site-header.is-stuck, .site-header.is-menu-open, .site-header--solid { --hdr-mark: var(--gold); }
.site-header .logo, .site-header .menu-btn { color: var(--hdr-mark); }

:root { --edge: max(var(--gutter), calc((100vw - var(--container)) / 2)); }   /* page edge → content line */

/* ── header: MENU · logo · BOOK NOW (BelArosa layout) ─────
   Ground (Solana reference): transparent + blur at the top, white once the page scrolls,
   white from the start on funnel pages (no hero). */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  color: var(--text-on-deep); --focus-ring: var(--gold); --hdr-btn-bg: var(--titanium); --hdr-btn-fg: var(--charcoal);
  background: transparent; border-bottom: 1px solid transparent;   /* top of the page over the hero photo: no fill, blur or rule (user direction 2026-10-02) */
  /* BelArosa sequence (user 2026-10-06), bar height unchanged: scrolling down, the big logo slides up out of the bar,
     then the fill, rule, small mark and text colours fade in a quarter-beat behind it (--hdr-delay, set only
     while .is-entering). Back at the top it all clears at once: colours fast, logo sliding back down. */
  --hdr-fade: var(--duration-quick); --hdr-delay: 0s;
  transition: background-color var(--hdr-fade) var(--ease-out) var(--hdr-delay), color var(--hdr-fade) var(--ease-out) var(--hdr-delay), border-color var(--hdr-fade) var(--ease-out) var(--hdr-delay);
}
.site-header.is-stuck { --hdr-fade: var(--duration); }
.site-header.is-stuck.is-entering { --hdr-delay: calc(var(--duration) / 4); }   /* overlap, not wait: a full beat read as lag (user 2026-10-06) */
.site-header .menu-btn, .site-header .btn--book, .site-header__logo .logo { transition-delay: var(--hdr-delay); }
/* over a light page head (rooms): same glass, dark text */
.site-header--light { color: var(--text); --focus-ring: var(--charcoal); --hdr-btn-bg: var(--charcoal); --hdr-btn-fg: var(--titanium); background: rgba(255, 255, 255, .6); border-bottom-color: var(--hairline); }
/* scrolled, menu open, or funnel: white */
.site-header.is-stuck, .site-header.is-menu-open, .site-header--solid {
  background: var(--white); color: var(--text); border-bottom-color: var(--hairline);
  --focus-ring: var(--charcoal); --hdr-btn-bg: var(--charcoal); --hdr-btn-fg: var(--titanium);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.site-header--solid { position: sticky; top: 0; }
.site-header__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: var(--hdr-h); }
/* top of the page: the primary (stacked) logo, large. Scrolled: the symbol mark only (Grand Miramare compact bar,
   user direction 2026-10-02). Both sit in one grid cell and cross-fade. */
/* The bar keeps one height in both states (user 2026-10-06): the switch to the filled bar only fades colours and
   cross-fades the two marks (opacity + scale) in a fixed box, so nothing in the layout moves. */
.site-header { --logo-w: 104px; --sym-w: 30px; }   /* Yamala Bali mark (2026-10-13) is narrower: 30 wide keeps the old 37px height */
.site-header__logo { position: relative; display: block; width: var(--logo-w); height: calc(var(--logo-w) * .7); }
.site-header__logo .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  transition: color var(--hdr-fade) var(--ease-out) var(--hdr-delay), opacity var(--hdr-fade) var(--ease-out) var(--hdr-delay); }
.site-header__logo .logo--primary { transition: color var(--hdr-fade) var(--ease-out) var(--hdr-delay), transform var(--duration) var(--ease-out); }   /* the slide never waits */
.site-header__logo .logo--primary { width: var(--logo-primary-w, var(--logo-w)); transform: translate(-50%, calc(-50% + var(--logo-drop, 0px))); }   /* home hero: the stacked logo sits lower than the bar's centre (user 2026-10-08) */
.site-header { --logo-drop: 20px; --logo-primary-w: 132px; }   /* larger stacked logo on the home hero only; the header box keeps --logo-w (user 2026-10-08) */
.site-header__logo .logo--symbol { width: var(--sym-w); opacity: 0; }
.site-header.is-stuck .site-header__logo .logo--primary { transform: translate(-50%, calc(-100% - var(--hdr-h))); }   /* stuck: up by its own full height + the bar, so no sliver of a larger logo is left at the top edge (2026-10-08) */   /* up and out past the top edge */
.site-header.is-stuck .site-header__logo .logo--symbol { opacity: 1; }
/* symbol mark only, at the top too, on every page except the homepage hero (user 2026-10-07) */
body:not([data-page="home"]) .site-header__logo .logo--primary { display: none; }
body:not([data-page="home"]) .site-header__logo .logo--symbol { opacity: 1; }
.menu-btn { justify-self: start; display: inline-flex; align-items: center; gap: 14px; font-size: var(--fs-body); padding: 8px 0; min-height: 44px; background: none; border: 0; color: var(--hdr-mark); cursor: pointer; transition: color var(--hdr-fade, var(--duration)) var(--ease-out); }
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.btn--book { --btn-ink: var(--hdr-btn-bg); --btn-fill: var(--hdr-btn-bg); --btn-on-fill: var(--hdr-btn-fg); height: 50px; padding: 0 24px; }
.link--book { display: none; }   /* phones only: Book now as an underlined text link instead of the pill (user 2026-10-09) */

/* ── menu panel (Grand Miramare concept, user direction 2026-10-02) ──
   A white panel drops from the top over a dimmed page. Top row: close (left) and the symbol mark (centre).
   Large caps links left: hover or focus one and the others fade. Small links under them. A photo card right. */
.mmenu { position: fixed; inset: 0; z-index: 50; --focus-ring: var(--charcoal); }
.mmenu[hidden] { display: none; }
.mmenu__scrim { position: absolute; inset: 0; background: rgba(24, 25, 24, .42); opacity: 0; transition: opacity var(--duration) var(--ease-out); }
.mmenu__panel { position: relative; background: var(--bg); color: var(--navy); transform: translateY(-100%); transition: transform var(--duration) var(--ease-out); }
.mmenu.is-open .mmenu__scrim { opacity: 1; }
.mmenu.is-open .mmenu__panel { transform: none; }
.mmenu__top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: var(--hdr-h); }   /* same height as the bar, so opening the menu doesn't jump */
.mmenu__close { justify-self: start; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; padding: 0; border: 0; background: none; color: var(--gold); cursor: pointer; }
.mmenu__logo .logo { width: 30px; color: var(--gold); }
.mmenu__logo { display: grid; place-items: center; min-width: 44px; min-height: 44px; }   /* 44 tap area around the 28-36px mark (antislop audit 001 #6) */
.mmenu__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: 64px; padding-top: 24px; padding-bottom: 56px;
  opacity: 0; transform: translateY(12px); transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out); }
.mmenu.is-open .mmenu__body { opacity: 1; transform: none; transition-delay: 200ms; }
.mmenu__main { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.mmenu__list, .mmenu__sub { list-style: none; margin: 0; padding: 0; }
.mmenu__list a { display: inline-block; padding: 6px 0;   /* ≥44px rows (antislop audit 001 #6) */ font: var(--weight-regular) var(--fs-menu)/1.05 var(--font-sans); text-transform: uppercase; letter-spacing: .02em;
  transition: opacity var(--duration) var(--ease-out); }   /* 600ms, not 240: the dim felt too quick (user 2026-10-12) */
.mmenu__list:hover a, .mmenu__list:focus-within a { opacity: .3; }
.mmenu__list a:hover, .mmenu__list a:focus-visible { opacity: 1; }
.mmenu__list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.mmenu__sub { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.mmenu__sub a { transition: opacity var(--duration-quick) var(--ease-out); }
.mmenu__sub a:hover { opacity: .6; }
.mmenu__card { position: relative; display: grid; place-items: center; min-height: 420px; overflow: hidden; background: var(--bg-warm); }
.mmenu__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease-out), transform var(--duration) var(--ease-out); }
.mmenu__card img.is-on { opacity: 1; }   /* one photo at a time, cross-fading every 2.5s */
@media (max-width: 1024px) {
  .mmenu__panel { height: 100svh; overflow-y: auto; }
  .mmenu__body { grid-template-columns: minmax(0, 1fr); }
  .mmenu__card { display: none; }

}
@media (max-width: 640px) {
  .mmenu__logo .logo { width: 24px; }
  .mmenu__list a { line-height: 1.15; }
  .mmenu__main { gap: 48px; }
}

@media (max-width: 640px) {
  .site-header { --logo-w: 80px; --sym-w: 24px; --logo-drop: 12px; --logo-primary-w: 88px; }   /* 88: keeps clear of Book now at 390 */
  .site-header__bar { gap: 8px; }
  .menu-btn span { display: none; }   /* phones: icon only, no "Menu" label (user 2026-10-08, reverts antislop audit 001 #1) */
  .menu-btn { min-width: 44px; }   /* the 24px icon keeps a 44px tap area */
  .site-header__actions .site-header__me, .site-header__actions .site-header__signin { display: none; }   /* phones: Sign in / My account live in the menu */
  .site-header__actions .btn--book { display: none; }
  .site-header__actions .link--book { display: inline-flex; }   /* phones: underlined text link, 44px tap area from .link (user 2026-10-09) */
  }
@media (max-width: 374px) {
  .site-header { --logo-w: 72px; --logo-primary-w: 80px; }
}

/* ── hero (Amrit Palace layout): full-screen photo, centred headline flanked by two caps labels,
      intro + Check availability button centred under it (user direction 2026-10-02: no booking bar in the hero) ── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; color: var(--text-on-deep); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* "eaten" by the next section on scroll (ui.js heroEat, user 2026-10-07): photo + copy sink at half speed.
   No dimming or fading (user 2026-10-07): the section simply slides up over the hero. */
.hero__bg, .hero__center, .hero__intro,
.room-hero__bg, .room-hero__center, .room-hero__back { translate: 0 var(--eat-y, 0px); will-change: translate; }   /* suite page hero too (user 2026-10-07) */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(24, 25, 24, .72), rgba(24, 25, 24, .64) 45%, rgba(24, 25, 24, .82)); }   /* dark charcoal overlay, a step darker 2026-10-02  (user direction 2026-10-02) */
.hero__center { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0 104px;   /* headline column hugs the text so the labels sit right beside it (user 2026-10-02) */
  padding: 160px var(--edge) 200px; text-align: center; }
.hero .hero__side { opacity: .9; text-wrap: nowrap; }   /* text-wrap, not white-space: the global balance rule would undo it */
.hero__line { display: block; white-space: nowrap; }   /* headline always sits on two lines (user direction 2026-10-02) */
.hero__side--l { justify-self: end; text-align: right; }
.hero__side--r { justify-self: start; text-align: left; }
.hero__more { grid-column: 2; display: grid; justify-items: center; margin-top: 64px; }   /* more air under the headline (user 2026-10-07, was 40) */
/* intro centred on the bottom edge, two lines (user direction 2026-10-02) */
.hero__intro { position: absolute; z-index: 2; left: 50%; bottom: 32px; transform: translateX(-50%); width: min(720px, calc(100% - var(--gutter) * 2)); text-align: center; opacity: .9; }
/* under 1280px the labels move above and below the headline */
@media (max-width: 1280px) {
  .hero__center { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 140px var(--gutter) 200px; }
  .hero__side--l, .hero__side--r { justify-self: center; text-align: center; }
  .hero__more { grid-column: 1; margin-top: 32px; }
}
@media (max-width: 640px) {
  .hero .hero__side { text-wrap: balance; }
  .hero__intro { bottom: 24px; }
}

/* page head for inner marketing pages (rooms): centred eyebrow + display headline */
.page-head { background: var(--bg); padding: 200px 0 80px; }
.page-head + .section { padding-top: 0; }   /* head → content = 80px, same as .center-head on the homepage */
.page-head .center-head { margin-bottom: 0; }
.rooms-search { margin-bottom: 64px; }
@media (max-width: 640px) { .page-head { padding: 120px 0 48px; } .rooms-search { margin-bottom: 48px; } }

/* ── search widget ────────────────────────────────────── */
.search {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr auto; align-items: stretch; position: relative;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--hairline); border-radius: var(--radius); padding: 8px;
}
.search--flat { box-shadow: none; border: 1px solid var(--hairline); }
.search__field { display: grid; gap: 2px; padding: 10px 20px; border-right: 1px solid var(--hairline); min-width: 0; }
.search__field:nth-last-child(2) { border-right: 0; }
.search__label { font: 500 var(--fs-label)/16px var(--font-sans); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); }
.search__field input, .search__field select { border: 0; padding: 0; background: none; font: 500 var(--fs-body)/24px var(--font-sans); width: 100%; outline: none; cursor: pointer; }
.search__submit { margin: 4px; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--titanium-tint); border-radius: var(--radius); padding: 3px; }   /* light grey, not sand, everywhere (sign-in tabs, user 2026-10-12) */
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 36px; text-align: center; padding: 4px 14px; border-radius: var(--radius); font: 500 var(--fs-small)/20px var(--font-sans); color: var(--text-muted); white-space: nowrap; }
.seg input:checked + span { background: var(--text); color: var(--text-on-deep); }
.seg input:focus-visible + span { outline: 2px solid var(--focus-ring); }
.search__hint { max-width: var(--container); margin: 12px auto 0; font: 400 var(--fs-small)/20px var(--font-sans); opacity: .9; text-align: center; }
@media (max-width: 1024px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search__field { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .search__field--dates { grid-column: 1 / -1; }
  .search__submit { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .search { grid-template-columns: 1fr; } }
/* stacked search box (tablet + phone): more room inside the frame and around each row (user 2026-10-08, was 8px frame / 10px rows) */
@media (max-width: 1024px) {
  .search { padding: 16px; }
  .search .dp-field, .search .gp-field { padding-top: 16px; padding-bottom: 16px; }
  .search__submit { margin: 16px 0 0; }
}
/* desktop bar (user 2026-10-07): no dividers; check-in, check-out and guests share the width equally (each fills its
   column), 56px between them and the button, 20px / 32px inside the frame. The date wrappers are flattened
   (display: contents) so both date fields are items of the bar; the calendar stays anchored to .search.
   The fields keep their 10px / 20px hover padding but pull it back with negative margins, so the text sits on the grid. */
@media (min-width: 1025px) {
  .search { display: flex; align-items: center; gap: 56px; padding: 20px 32px; }
  .search__field--dates, .search .dp, .search .dp-fields { display: contents; }
  .search__field, .search__field:nth-last-child(2) { border-right: 0; padding: 0; }
  .search .dp-field, .search__field--guests { flex: 1 1 0; min-width: 0; }
  .search .gp-field { width: calc(100% + 40px); height: auto; }   /* a button does not stretch on its own; +40 = the pulled-back padding */
  .search .dp-field { margin: -10px -20px; }
  .search .dp-field + .dp-field::before { display: none; }
  .search__submit { flex: none; margin: 0; transition-property: background-color, border-color, color, margin; }
  /* the hover arrow widens the button by 26px (18px arrow + 8px gap); a matching negative margin lets it grow into the gap,
     so the fields never move (user 2026-10-07) */
  .search__submit:focus-visible { margin-left: -26px; }
}
@media (min-width: 1025px) and (hover: hover) { .search__submit:hover { margin-left: -26px; } }

/* ── cards ────────────────────────────────────────────── */
.card { background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.card__img { aspect-ratio: 4 / 3; border-radius: var(--radius-media); overflow: hidden; background: var(--bg-warm); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 12px; color: var(--text-muted); font: 400 var(--fs-small)/20px var(--font-sans); }
.meta span { display: inline-flex; align-items: center; gap: 4px; }
.icon { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--24 { width: 24px; height: 24px; }
/* brand icons (ui.js brandIcon): line glyph, square ends, soft joins, no frame — guideline §6 */
.bicon { width: 32px; height: 32px; flex: none; fill: none; stroke: currentColor; stroke-linecap: butt; stroke-linejoin: round; }
.bicon__glyph { stroke-width: .85; }   /* ×1.75 group scale ≈ 1.5 */
.bicon text { font-family: var(--font-sans); }
.icon--36 { width: 36px; height: 36px; }
.icon--40 { width: 40px; height: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }


/* ── 50/50 split (BelArosa): the photo bleeds off the page edge, the text keeps to the content line ── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split__media { position: relative; display: block; min-height: 640px; overflow: hidden; background: var(--bg-warm); }
.split__media img, .split__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.split__body { align-self: center; display: grid; gap: 24px; justify-items: start; padding: var(--section-y) var(--edge) var(--section-y) var(--split-gap); }
.split__body > * { max-width: 640px; }
.split__body > p { text-wrap: balance; }   /* even line lengths (user 2026-10-07) */
.split--flip .split__media { order: 2; }
.split--flip .split__body { padding: var(--section-y) var(--split-gap) var(--section-y) var(--edge); }
.split--dark { background: var(--bg-deep); color: var(--text-on-deep); }
.split--dark .t-body-lg { opacity: .85; }
@media (max-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__media { min-height: 0; aspect-ratio: 4 / 3; }
  .split--flip .split__media { order: 0; }
  .split__body, .split--flip .split__body { padding: 56px var(--gutter) var(--section-y); }
}

/* ── Two ways to stay: two options split by a hairline, each led by a big index number (Miramare) ── */
.stay-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1200px; margin: 0 auto; }
.stay-opt { display: grid; gap: 16px; justify-items: center; align-content: start; text-align: center; padding: 8px 64px; }
.stay-opt + .stay-opt { border-left: 1px solid var(--hairline); }
.stay-opt__index { color: var(--navy); margin-bottom: 8px; }
.stay-opt__price { margin-top: 4px; }
.stay-opt__points { margin: 8px 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; text-align: left; }
.stay-opt__points li { display: flex; gap: 12px; align-items: flex-start; }
.stay-opt__points .icon { margin-top: 6px; color: var(--navy); }
.stay-opt .btn { white-space: normal; text-align: center; }
@media (max-width: 760px) {
  .stay-pair { grid-template-columns: minmax(0, 1fr); }
  .stay-opt { padding: 48px 0; }
  .stay-opt:first-child { padding-top: 0; }
  .stay-opt:last-child { padding-bottom: 0; }
  .stay-opt + .stay-opt { border-left: 0; border-top: 1px solid var(--hairline); }
}

/* ── The rooms: one suite at a time (Miramare rooms slider) ──
   Two overlapping photos left, big index + caps name right. Without JS all three stay stacked. */
.suites__track { display: grid; gap: 128px; }
.suite { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 96px; align-items: center; }
.suite[hidden] { display: none; }
.suite__media { position: relative; display: block; padding-bottom: 12%; }
.suite__img { display: block; overflow: hidden; background: var(--bg-warm); }
.suite__img img { width: 100%; height: 100%; object-fit: cover; }   /* no hover zoom on the suite photos (user 2026-10-12) */
.suite__img--main { width: 72%; aspect-ratio: 4 / 5; }
.suite__img--inset { position: absolute; right: 0; bottom: 0; width: 40%; aspect-ratio: 3 / 4; }
.suite__body { display: grid; gap: 20px; justify-items: start; align-content: center; }
.suite__body > * { max-width: 520px; }
.suite__index { color: var(--navy); margin-bottom: 52px; }   /* more air before the suite name (user 2026-10-02) */
.suite__name { margin-top: -4px; }   /* .t-h1: BelArosa chalet names are 64 serif */
.suite__body .t-body { margin-top: -4px; }
.suite-prices { display: flex; gap: 40px; width: 100%; padding-top: 8px; }   /* no divider above the prices (user 2026-10-02) */
.suite-prices dt { font: var(--weight-regular) var(--size-13)/var(--lh-ui) var(--font-sans); color: var(--text-muted); margin-bottom: 4px; }
.suite-prices dd { margin: 0; font: var(--weight-regular) var(--fs-price)/var(--lh-title) var(--font-sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.suites { position: relative; }
/* pagination sits in the text column, its bottom on the bottom edge of the photos (user direction 2026-10-02) */
.suites__nav { position: absolute; bottom: 0; left: calc((100% - 96px) * 7 / 12 + 96px); display: flex; align-items: center; gap: 24px; }
.suites__nav[hidden] { display: none; }
.suites__pages { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.suites__page { min-width: 44px; height: 44px; padding: 0 8px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--page-muted, var(--text-muted)); cursor: pointer;
  font: var(--weight-regular) var(--fs-body)/1 var(--font-sans); font-variant-numeric: tabular-nums; transition: color var(--duration-quick) var(--ease-out), border-color var(--duration-quick) var(--ease-out); }
.suites__page[aria-current="true"] { color: var(--page-fg, var(--text)); border-bottom-color: var(--gold); }   /* gold as a rule, not text */
.suites__arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--page-rule, var(--hairline)); border-radius: 50%; background: none; color: inherit; cursor: pointer; transition: background var(--duration-quick) var(--ease-out); }
.suites__arrow:hover { background: var(--bg-warm); }
.suites__arrow[data-suite-prev] .icon { transform: rotate(180deg); }
@media (max-width: 1024px) {
  .suite { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .suite__body > * { max-width: 640px; }
  .suites__nav { position: static; justify-content: center; margin-top: 64px; }
}
@media (max-width: 640px) {
  .suites__track { gap: 88px; }
  .suite__index { margin-bottom: 32px; }
  .suites__nav { margin-top: 56px; gap: 12px; }
  .suite-prices { gap: 28px; }
}

/* ── Why (Miramare intro): centred statement, photos of different sizes scattered around it ── */
.scatter { position: relative; min-height: 1040px; display: grid; place-items: center;
  margin-inline: calc(var(--gutter) - var(--edge)); }   /* photos may pass the 1600 box out to the page gutter on wide screens (user 2026-10-06); no change at ≤1600 */
.scatter__copy { position: relative; z-index: 1; max-width: 46%; margin: 0; }
.scatter__copy p { max-width: 600px; }   /* short About copy (user 2026-10-06): balanced lines like the other heads */
.scatter__img { position: absolute; margin: 0; overflow: hidden; background: var(--bg-deep-alt); }
.scatter__img img { width: 100%; height: 100%; object-fit: cover; }
/* loose, Miramare-style scatter (user 2026-10-02): four prints, two large and two small, off-grid offsets.
   The large pool print reaches in under the copy so the corners don't read as a frame. */
.scatter__img--a { left: 0;   top: 0;     width: min(26%, 400px); aspect-ratio: 4 / 5; }
.scatter__img--b { right: 4%; top: 6%;    width: 15%; aspect-ratio: 3 / 4; }
.scatter__img--c { left: 9%;  bottom: 3%; width: 14%; aspect-ratio: 1; }
.scatter__img--d { right: 0;  bottom: 0;  width: min(32%, 440px); aspect-ratio: 4 / 3; }
@media (max-width: 1024px) {
  .scatter { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; place-items: stretch; }
  .scatter__copy { grid-column: 1 / -1; grid-row: 1; max-width: 760px; margin: 0 auto 48px; }
  .scatter__img { position: static; width: auto; }
  .scatter__img--a, .scatter__img--d { aspect-ratio: 4 / 5; }
  .scatter__img--b, .scatter__img--c { aspect-ratio: 4 / 5; margin-top: 64px; }
  .scatter__img--c, .scatter__img--d { display: none; }
}

/* ── Life: Miramare photo strip (three widths, one row), three spaces, facility list ── */
.strip { display: flex; align-items: center; gap: 8px; padding: 0 var(--gutter); overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab; -webkit-user-select: none; user-select: none; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; }
/* BelArosa rhythm (user 2026-10-02): every frame the same width, short (4:3) and tall (4:5) alternate, centred on one line */
.strip__img { --f: .85; flex: 0 0 auto; width: calc((100vw - var(--gutter) * 2 - 16px) / 3 * var(--f)); max-width: calc(600px * var(--f)); overflow: hidden; background: var(--bg-warm); aspect-ratio: 1 / 1; }
/* four clearly different heights, repeating every four photos (user 2026-10-07, was two). With W = one third of the row:
   mid 0.85W · tallest 1.25W · shortest 0.6W · tall 1.07W, so neighbours step up and down */
.strip__img:nth-child(4n + 2) { --f: 1; aspect-ratio: 4 / 5; }
.strip__img:nth-child(4n + 3) { --f: 1; aspect-ratio: 5 / 3; }
.strip__img:nth-child(4n + 4) { --f: .8; aspect-ratio: 3 / 4; }
.strip__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.strip__img { padding: 0; border: 0; cursor: inherit; }   /* frames are buttons: a plain click opens the gallery (user 2026-10-07) */
.strip__img:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.strip.is-follow, .strip.is-follow .strip__img { cursor: none; }   /* the round "View gallery" cursor stands in */
.spaces { list-style: none; margin: 96px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spaces li { display: grid; gap: 12px; justify-items: center; align-content: start; text-align: center; padding: 8px 40px; }
.spaces li + li { border-left: 1px solid var(--hairline); }
.facility-list { list-style: none; margin: 112px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 48px; }   /* three rows across the container, columns spread edge to edge (user 2026-10-07) */
@media (max-width: 1024px) { .facility-list { grid-template-columns: repeat(2, auto); } }
.facility { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 0; }   /* no dividers (user 2026-10-07) */
.facility .icon { color: var(--navy); }
.facility .bicon { color: var(--gold); }   /* brand icons are gold (guideline §6); as graphics they need 3:1, and the glyph reads at 32px */
@media (max-width: 760px) {
  .strip__img { width: calc(72vw * var(--f)); }
  .facility-list { grid-template-columns: 1fr; margin-top: 56px; }
  .facility { padding: 10px 0; }   /* single column: rows closer together, 52px apart instead of 72 (user 2026-10-08) */
}

/* ── Location ──────────────────────────────────────── */
.map-embed { background: var(--navy); }
.distance-list { list-style: none; margin: 0; padding: 0; width: 100%; }
.distance-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; }   /* no dividers (user 2026-10-07); rows pulled closer (user 2026-10-09) */
.distance-list .icon { color: var(--navy); }
@media (max-width: 640px) { .distance-list li { grid-template-columns: 16px minmax(0, 1fr); row-gap: 2px; } .distance-list li .muted { grid-column: 2; } }
.distance-list + .link { margin-top: 12px; }   /* 8px row padding + 24px grid gap + 24 (minus the link's 12px tap margin) = 56px from the last row to "Open in Google Maps" (user 2026-10-07) */

/* ── Gallery: Miramare collage of overlapping prints ── */
.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 64px; }
.collage__item { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; background: var(--bg-warm); cursor: zoom-in; }
.collage__item img { width: 100%; height: 100%; object-fit: cover; }   /* no hover zoom on the gallery photos (user 2026-10-12) */
/* loose editorial collage (user 2026-10-02): no shared edges, staggered tops and bottoms, two soft overlaps; weight runs
   on a diagonal from the big pool (top left) to the lift (right), with the bedroom bridging the middle. */
.collage__item--a { grid-column: 1 / 7;   grid-row: 2 / 9;   z-index: 1; }
.collage__item--c { grid-column: 8 / 11;  grid-row: 1 / 5;   z-index: 1; }
.collage__item--b { grid-column: 6 / 9;   grid-row: 7 / 14;  z-index: 2; }
.collage__item--d { grid-column: 10 / 13; grid-row: 4 / 10;  z-index: 3; }   /* tucks over the atrium corner */
@media (max-width: 760px) {
  .collage { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 12px; }
  .collage__item { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 5; }
  .collage__item--a, .collage__item--c { aspect-ratio: 4 / 3; }
}

/* ── FAQ: Miramare full-width hairline list, questions in large serif ── */
.faq { display: grid; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); transition: background-color var(--duration) var(--ease-out); }
.faq details:hover { background: var(--titanium-tint); }   /* the whole item darkens on hover: light grey, as the booking bar fields (user 2026-10-12) */
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 24px; cursor: pointer;   /* 24px inside so the text clears the hover fill */
  font: var(--weight-display) var(--fs-h3)/1.4 var(--font-display); letter-spacing: var(--tracking-display); word-spacing: var(--word-spacing-display); }   /* BelArosa 28/39.2; 24 → 28 fluid, like .t-h3 */
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; margin-right: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg) translateY(-4px); flex: none; transition: transform var(--duration) var(--ease-out); }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(-135deg) translateY(-4px); }
.faq details p { max-width: calc(720px + 48px); margin-top: -16px; padding: 0 24px 28px; color: var(--text-muted); }   /* answer sits 12px under its question (user 2026-10-06) */
@media (max-width: 640px) { .faq summary { padding: 24px 16px; } .faq details p { padding: 0 16px 24px; } }

/* ── Closing CTA (Miramare "Book your stay"): full-bleed photo, one very large headline, booking pill ── */
.cta { position: relative; min-height: 50vh; min-height: 50svh; overflow: hidden; text-align: center; color: var(--text-on-deep); }   /* BelArosa footer-bottom: 50vh */
/* curtain (BelArosa): the whole frame starts 50% up, hidden under the footer, and slides to rest as you scroll to the end */
.cta__curtain { position: absolute; inset: 0; display: grid; place-items: center; will-change: transform; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__curtain::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--scrim-cta); }
.cta__inner { position: relative; z-index: 2; display: grid; gap: 32px; justify-items: center; max-width: 960px; padding: 64px var(--gutter); }
@media (max-width: 640px) { .cta__inner { gap: 40px; } }

/* ── footer ───────────────────────────────────────────── */
.site-footer { background: var(--bg-deep); color: var(--text-on-deep); padding: 96px 0 40px; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 240px 160px 220px; gap: 48px; }
.site-footer__brand .logo { width: 240px; }   /* horizontal logo in the footer (user direction 2026-10-07) */
.site-footer__brand p { margin-top: 32px; opacity: .75; max-width: 380px; }
.site-footer h2 { margin-bottom: 20px; }   /* footer column heads: h2, no jump from h2 to h4 (typeset audit 2026-10-08) */
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { opacity: .85; transition: color var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out); }
.site-footer ul a:hover, .site-footer ul a:focus-visible { opacity: 1; color: var(--gold); }   /* gold text: navy ground only (6.3 / 4.8:1) */
/* text links: the pill hover without the pill (user 2026-10-06): arrow slides in from the left, label turns gold */
.site-footer ul a:not(.site-footer__row) { display: inline-flex; align-items: center; gap: 8px; }
.site-footer ul a:not(.site-footer__row)::before {
  content: ""; flex: none; width: 0; height: 16px; margin-right: -8px; background: currentColor; opacity: 0; transform: translateX(-8px);
  -webkit-mask: var(--chevron) center / 16px 16px no-repeat; mask: var(--chevron) center / 16px 16px no-repeat;
  transition: width var(--duration) var(--ease-out), margin var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
@media (hover: hover) { .site-footer ul a:not(.site-footer__row):hover::before { width: 16px; margin-right: 0; opacity: 1; transform: none; } }
.site-footer ul a:not(.site-footer__row):focus-visible::before { width: 16px; margin-right: 0; opacity: 1; transform: none; }
.site-footer__row { display: flex; gap: 8px; align-items: center; }
.site-footer__bottom { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--hairline-on-deep); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; opacity: .75; font: 400 var(--fs-small)/20px var(--font-sans); }
.site-footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 1024px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .site-footer__bottom { flex-direction: column; align-items: center; text-align: center; } .site-footer__bottom nav { justify-content: center; } }   /* copyright + legal links centred on phones (user 2026-10-08) */
@media (max-width: 640px)  { .site-footer { padding-top: 56px; } .site-footer__cols { grid-template-columns: 1fr; gap: 32px; } }

/* ── booking funnel ───────────────────────────────────── */
.funnel { padding: 40px 0 var(--funnel-y); background: var(--bg); min-height: 70vh; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; font: 500 var(--fs-label)/16px var(--font-sans); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); margin: 16px 0 24px; }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps span + span::before { content: "›"; }
.steps .is-current { color: var(--text); }
.steps .is-done { color: var(--navy); }
.steps:first-child { margin-top: 40px; }
@media (max-width: 640px) {   /* phones: two even lines, the arrow ends a line instead of the last step sitting alone (gestalt audit 2026-10-07) */
  .steps { display: block; line-height: 24px; text-wrap: balance; }
  .steps span { display: inline-block; white-space: nowrap; }
  .steps span + span::before { content: none; }
  .steps span:not(:last-child)::after { content: "›"; margin: 0 8px; }
}   /* no back link above (payment, confirmation): the steps sit where they sit on Your details (user 2026-10-07) */
.back-link .icon { width: 14px; height: 14px; }   /* back link = .link with a leading chevron (homepage link, user 2026-10-06) */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.two-col > aside { position: sticky; top: calc(var(--hdr-h) + 24px); }
/* suite page: 65 / 35 split with 150 between the columns (user 2026-10-07); 64 on small laptops so the booking card keeps its width */
/* checkout, payment and confirmation share the split (user 2026-10-07) */
.room-page .two-col--book, .funnel .two-col { grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); column-gap: 150px; }
@media (max-width: 1280px) {   /* was 1279: one breakpoint with the other 1280 rules (antislop audit 001 #8) */
  .room-page .two-col--book, .funnel .two-col { column-gap: 64px; }
  .room-page .dp--boxed .dp-field, .room-page .gp--boxed .gp-field { padding-left: 16px; padding-right: 16px; }   /* the full date still fits the narrower card */
  .room-page .gp--boxed .gp-field { padding-right: 44px; }
  .room-page .gp--boxed .gp-caret { right: 16px; }
}
@media (max-width: 1024px) { .two-col, .room-page .two-col--book, .funnel .two-col { grid-template-columns: minmax(0, 1fr); } .two-col > aside { position: static; } .two-col--book > aside { order: -1; } }
/* stacked funnel: the summary is its own section under the form, ruled off like a panel (gestalt audit 2026-10-07) */
@media (max-width: 1024px) { .funnel .two-col:not(.two-col--book) > aside { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--hairline); } }

/* panels: no frame, a hairline on top: the homepage separates with rules, not boxes (user 2026-10-06) */
.panel { background: var(--bg); border-top: 1px solid var(--hairline); padding: 32px 0 0; }
.panel + .panel { margin-top: 48px; }
.divider { height: 1px; background: var(--hairline); border: 0; margin: 20px 0; }

.result { display: grid; grid-template-columns: 340px minmax(0, 1fr) 344px; gap: 28px; align-items: stretch; }   /* price column +28 so its content keeps 288px after the 56 padding */
.result__img { border-radius: var(--radius-media); overflow: hidden; aspect-ratio: 4 / 3; align-self: start; }   /* start: stretching to a taller row widened it past its column */
.result__img img { width: 100%; height: 100%; object-fit: cover; }
.result__img { position: relative; }
/* label inside the photo for a fully booked suite (user 2026-10-07); same chip as the room cards */
.result__tag { position: absolute; left: 16px; top: 16px; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--bg); color: var(--text); font: var(--weight-regular) var(--fs-label)/var(--lh-ui) var(--font-sans); }
.result__body { display: grid; gap: 12px; align-content: start; }
.result__price { display: grid; gap: 8px; align-content: start; border-left: 1px solid var(--hairline); padding-left: 56px; }   /* 56 from the rule (user 2026-10-07) */
/* results: no boxes, no dividers between suites (user 2026-10-07) */
.panel.result { padding: 40px 0; border-top: 0; }
.panel.result + .panel.result { margin-top: 0; }
.covers { display: grid; gap: 16px; margin-top: 64px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); font: 500 var(--fs-label)/16px var(--font-sans); background: var(--bg-warm); color: var(--text); width: fit-content; }
/* status in palette colours only (user 2026-10-06): yes = navy chip, no = sand chip with charcoal text */
.badge--ok { background: var(--navy); color: var(--titanium); }
.badge--no { background: var(--bg-warm); color: var(--text); }
@media (max-width: 1280px) { .result { grid-template-columns: 280px minmax(0, 1fr) 344px; } }   /* narrower photo so the copy column keeps room for its link */
@media (max-width: 1024px) {
  .result { grid-template-columns: 280px minmax(0, 1fr); }
  .result__price { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--hairline); padding-top: 20px; }
}
@media (max-width: 640px) { .result { grid-template-columns: 1fr; } }

.lines { display: grid; gap: 10px; }
.line { display: flex; justify-content: space-between; gap: 16px; }
.line--total { font-weight: var(--weight-medium); padding-top: 12px; border-top: 1px solid var(--hairline); }
.line--total span:last-child { font: var(--weight-regular) var(--size-18)/28px var(--font-sans); }

/* form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font: 400 var(--fs-body)/24px var(--font-sans); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 11px 16px; font: 400 var(--fs-small)/20px var(--font-sans); min-height: 44px; outline: none;   /* 44 tap height (antislop audit 001 #5) */
}
.field textarea { min-height: 112px; resize: vertical; }
/* our own chevron, 16px in from the edge like the text; the native arrow sat on the border (user 2026-10-07). Charcoal stroke, same glyph as --chevron, turned down */
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181918' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--text); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.field__err { color: var(--danger); font: 400 var(--fs-small)/18px var(--font-sans); display: none; }
.field.is-invalid .field__err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font: 400 var(--fs-small)/20px var(--font-sans); color: var(--text); }
.check input { margin-top: 3px; accent-color: var(--text); }
/* consent + submit: its own group after the panels, so the box no longer reads as a fourth note (gestalt audit 2026-10-07) */
.form-actions { margin-top: 16px; }   /* + the form's 24 gap = 40 under the notes */
.check--lg { font: 400 var(--fs-body)/24px var(--font-sans); gap: 12px; }
.check--lg input { width: 18px; height: 18px; margin-top: 3px; }
.note-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text); font: 400 var(--fs-small)/20px var(--font-sans); }
.note-list li { display: flex; gap: 8px; }
.note-list .icon { margin-top: 2px; color: var(--navy); }

/* payment */
.timer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-radius: var(--radius); background: var(--bg-deep); color: var(--text-on-deep); }
.timer .icon { color: var(--gold); }
.timer strong { font: var(--weight-regular) var(--size-32)/1 var(--font-sans); font-variant-numeric: tabular-nums; }   /* numbers in Ranade (user 2026-10-07) */
.timer.is-urgent { background: var(--charcoal); color: var(--text-on-deep); }   /* palette only (user 2026-10-06): the last 5 minutes switch navy → charcoal */
.timer.is-urgent .icon { color: var(--gold); }
.methods { display: grid; gap: 12px; }
.method { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--hairline); border-radius: var(--radius); cursor: pointer; background: var(--bg); }
.method > input { accent-color: var(--text); width: 18px; height: 18px; }   /* the radio only: ".method input" also shrank the wallet phone field to 18px */
.method:has(> input:checked) { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
/* payment logos, right of each option, in each brand's own colours (user 2026-10-07, client approval pending) */
.method__logos { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 10px; }
.pay-logo { display: block; height: 14px; width: auto; max-width: 64px; object-fit: contain; }   /* smaller (user 2026-10-07) */
.pay-logo--text { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--hairline); border-radius: var(--radius);
  font: var(--weight-medium) var(--fs-label)/16px var(--font-sans); color: var(--text-muted); max-width: none; }   /* only if a logo file is missing */
.method__detail .seg, .method__detail .va { background: var(--titanium-tint); }   /* light grey, not sand, inside the payment card (user 2026-10-07) */
.method__detail { grid-column: 2 / -1; display: none; padding-top: 12px; border-top: 1px dashed var(--hairline); }
.method:has(> input:checked) .method__detail { display: block; }
.qr { display: block; width: 180px; height: 180px; padding: 12px; background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius); }   /* sample QR (says "not for payment"); live, Xendit's QRIS image goes here */
.va { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--bg-warm); border-radius: var(--radius); font: var(--weight-regular) var(--size-18)/26px var(--font-sans); font-variant-numeric: tabular-nums; letter-spacing: .04em; }   /* numbers in Ranade (user 2026-10-07) */
.funnel-col { max-width: 776px; margin-inline: auto; }   /* confirmation: one centred column, the width the form had beside the summary (user 2026-10-07) */
/* ...and centred inside (user 2026-10-07): steps, titles, notes, receipt */
.funnel-col--center .steps { justify-content: center; text-align: center; }   /* text-align for the phone layout, where the trail is a block */
.funnel-col--center > h1, .funnel-col--center > p, .funnel-col--center .panel > h2, .funnel-col--center .panel > p { text-align: center; }
.funnel-col--center .panel.stack-16 { justify-items: center; }
/* lists stay left-aligned inside; each block is centred under its title (user 2026-10-07).
   The receipt takes the width of its content: at 600px wide its short rows sat on the left half and the block read off-centre */
.funnel-col--center .note-list { width: 100%; max-width: 600px; text-align: left; }
.funnel-col--center .receipt { width: fit-content; max-width: 100%; text-align: left; }   /* its three groups stretch to the same width, so they share one left edge */
.funnel-col--center .note-list { font-weight: var(--weight-light); }   /* same weight as the receipt beside it */
@media (max-width: 640px) {   /* phones: the lists are centred inside too, not only their blocks (user 2026-10-08); desktop and tablet stay left */
  .funnel-col--center .note-list, .funnel-col--center .receipt { width: 100%; text-align: center; }
  .funnel-col--center .note-list li { display: block; }
  .funnel-col--center .note-list .icon { display: block; margin: 0 auto 6px; }   /* icon above its line, on the centre axis */
  .funnel-col--center .receipt .kv dt, .funnel-col--center .receipt .kv dd { text-align: center; }
  .funnel-col--center .note-list { gap: 24px; }                  /* more space between the points (user 2026-10-08, was 8) */
  .funnel-col--center .receipt .kv dd { margin-bottom: 20px; }    /* more space between receipt rows (was 10) */
  .funnel-col--center .receipt .kv dd:last-child { margin-bottom: 0; }
  .funnel-col--center .receipt { gap: 40px; }                     /* the three groups stay further apart than the rows (was 24) */
}
.funnel-col--center .panel > .link { margin-top: 4px; }   /* 16 − the link's 12px tap margin */   /* 32 under its block: further than the 24 between receipt groups, so it reads as the section's action, not a row */
.receipt { display: grid; gap: 24px; }   /* three groups (stay, guest, payment): 10 inside a group, 24 between */
.receipt .kv { margin: 0; }              /* no default <dl> margin: 16 from the title like every other section */
.pay-cancel { margin-top: 16px; }
.btn__amount { text-transform: none; }   /* Rp, not RP: the same figure as the summary total */   /* exit action sits apart from Pay + its deposit note (40 vs 8) */
@media (max-width: 640px) {   /* the detail starts at the text column: keep room for the bank row, the VA number stays on one line */
  .method { column-gap: 12px; padding: 16px; }
  .method__logos { grid-column: 2 / -1; justify-content: flex-start; margin-top: 4px; }   /* under the note, not squeezing it */
  .va { flex-wrap: wrap; } .va [data-va] { white-space: nowrap; }
  /* timer: icon + clock on one row, the note full width under it (was five lines squeezed beside the clock) */
  .timer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; padding: 16px 20px; }
  .timer > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: var(--fs-small); line-height: 20px; }
  .timer strong { grid-column: 2; grid-row: 1; justify-self: end; }
}
.mock-bar { position: fixed; left: 16px; bottom: 16px; z-index: 30; display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: var(--radius); background: var(--bg-deep); color: var(--text-on-deep); font: 500 var(--fs-label)/16px var(--font-sans); letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.mock-bar button { background: rgba(227, 227, 228,.12); border: 0; color: var(--text-on-deep); padding: 4px 10px; border-radius:var(--radius); cursor: pointer; font: inherit; }

/* confirmation */
.confirm-hero { text-align: center; display: grid; gap: 16px; justify-items: center; padding: 24px 0 72px; }   /* 72 to the first rule, the same as between sections */
.confirm-hero .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-deep); color: var(--text-on-deep); display: grid; place-items: center; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; }
.kv dt { color: var(--text-muted); }
.kv dd { margin: 0; }
@media (max-width: 640px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }

/* room detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; border-radius: var(--radius-media); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: 1 / -1; }
.gallery img:nth-child(4) { grid-column: 2 / -1; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; } .gallery img:first-child { grid-column: 1 / -1; grid-row: auto; } .gallery img:nth-child(n+4) { display: none; } }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin: 0; padding: 0; list-style: none; }
.amenities li { display: flex; gap: 10px; align-items: center; color: var(--text); }
.amenities li { gap: 12px; }
.amenities .bicon { color: var(--gold); width: 24px; height: 24px; }   /* brand icons in gold, 24 (smaller than the homepage 32, user 2026-10-07) */
@media (max-width: 640px) { .amenities { grid-template-columns: 1fr; } }
.floorplan { aspect-ratio: 16 / 10; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--bg-warm); display: grid; place-items: center; color: var(--text-muted); }

/* misc */
.dummy { display: inline-block; width: fit-content; justify-self: start; margin-left: 6px; padding: 1px 6px; border-radius: var(--radius-pill); font: 500 var(--fs-label)/14px var(--font-sans); letter-spacing: var(--tracking-caps); text-transform: uppercase; background: var(--bg-warm); color: var(--text); vertical-align: middle; }
.empty { text-align: center; padding: 64px 16px; display: grid; gap: 16px; justify-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--text-on-deep); padding: 10px 18px; border-radius: var(--radius); font: 500 var(--fs-small)/20px var(--font-sans); z-index: 60; }

/* ── stay picker (calendar + 2 weeks / 1 month) ───────── */
.search__field--dates { padding: 0; position: static; }
.dp { position: static; }
.dp--boxed { position: relative; }
.dp-fields { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.dp-field {
  display: grid; align-content: center; gap: 2px; text-align: left; min-width: 0;
  background: none; border: 0; padding: 10px 20px; cursor: pointer; border-radius: var(--radius);
  position: relative;
}
.dp-field + .dp-field::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--hairline); }
.dp-field:hover { background: var(--titanium-tint); }   /* light grey, not sand (user 2026-10-07); covers the guests field too */
.dp-field:hover::before, .dp-field.is-active::before, .dp-field.is-active + .dp-field::before, .dp-field:hover + .dp-field::before { opacity: 0; }
.dp-field:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.dp-field.is-active { background: var(--bg); box-shadow: inset 0 0 0 1px var(--text); }
.dp-value { font: 500 var(--fs-body)/24px var(--font-sans); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-chip { font: 500 var(--fs-label)/16px var(--font-sans); color: var(--navy); }
.dp--boxed .dp-fields { border: 1px solid var(--hairline); border-radius: var(--radius); }
.dp--boxed .dp-field { padding: 16px 20px; border-radius:var(--radius); }   /* roomier (user 2026-10-07, was 10 14) */
.dp--boxed .dp-field:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.dp--boxed .dp-field:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.dp--boxed .dp-field.is-active { box-shadow: inset 0 0 0 1.5px var(--text); }
.dp--boxed .dp-value { font-size: var(--fs-small); line-height: 20px; }

.dp-pop {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 40;
  width: max-content; max-width: calc(100vw - 32px);
  background: var(--bg); color: var(--text);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 28px 32px 24px; text-align: left;
  animation: dp-in var(--duration-quick) var(--ease-out);
}
/* suite page card: the same two-month pop-up as the rooms / book search (user 2026-10-09), right edge on the card's */
.dp--boxed .dp-pop { left: auto; right: 0; }
@media (max-width: 1024px) { .dp--boxed .dp-pop { left: 0; right: auto; } }   /* tablet: the card sits on the left, so the pop-up opens from its left edge */

@keyframes dp-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .dp-pop { animation: none; } }
.dp-pop[hidden] { display: none; }

.dp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dp-prompt { margin: 12px 0 16px; color: var(--text-muted); font-size: var(--fs-small); line-height: 18px; }
.dp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 20px; }
.dp-head p { margin-top: 2px; }
.dp-reset { background: none; border: 0; padding: 12px 0;   /* 44 tap height (was 32) */ font: 500 var(--fs-small)/20px var(--font-sans); color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.dp-reset:disabled { color: var(--text-muted); opacity: .5; text-decoration: none; cursor: default; }

.dp-months { display: grid; grid-auto-flow: column; grid-auto-columns: 308px; gap: 48px; }
.dp-mhead { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 12px; }
.dp-mlabel { text-align: center; font: var(--weight-display) var(--size-18)/26px var(--font-display); letter-spacing: var(--tracking-display); word-spacing: var(--word-spacing-display); }
.dp-nav { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; cursor: pointer; color: var(--text); }
.dp-nav:hover { background: var(--titanium-tint); }
.dp-nav:disabled { opacity: .25; cursor: default; background: none; }
.dp-nav-sp { width: 40px; }
.dp-dow, .dp-grid { display: grid; grid-template-columns: repeat(7, 44px); }
.dp-dow { padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid var(--hairline); }
.dp-dow span { text-align: center; font: 500 var(--fs-label)/16px var(--font-sans); color: var(--text-muted); }
.dp-grid { row-gap: 4px; }

.dp-day {
  position: relative; height: 44px; border: 0; padding: 0; background: none; cursor: pointer;
  font: 500 var(--fs-body)/1 var(--font-sans); color: var(--text); font-variant-numeric: tabular-nums;
}
.dp-day span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin: 2px auto; border-radius: 50%; transition: background var(--duration-quick) var(--ease-out), color var(--duration-quick) var(--ease-out); }
.dp-day:hover:not(:disabled) span { box-shadow: inset 0 0 0 1.5px var(--text); }
.dp-day:focus-visible { outline: none; }
.dp-day:focus-visible span { box-shadow: 0 0 0 2px var(--focus-ring); }
.dp-day:disabled { color: var(--text-faint); cursor: default; }
.dp-day.is-unavail span { color: var(--text-muted); text-decoration: line-through; }
/* range band sits behind the circles */
.dp-day.is-range::before, .dp-day.is-start::before, .dp-day.is-end::before {
  content: ""; position: absolute; top: 2px; bottom: 2px; left: 0; right: 0; background: var(--titanium-tint);
}
.dp-day.is-start::before { left: 50%; }
.dp-day.is-end::before { right: 50%; }
.dp-grid > .dp-day:nth-child(7n + 1).is-range::before { border-radius: var(--radius-pill) 0 0 var(--radius-pill); }
.dp-grid > .dp-day:nth-child(7n).is-range::before { border-radius: 0 var(--radius-pill) var(--radius-pill) 0; }
.dp-day.is-start span { background: var(--bg-deep); color: var(--text-on-deep); }
.dp-day.is-end span { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--navy); color: var(--navy); }
.dp-day.is-preview span { background: var(--text); }

.dp-legend { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.dp-key { width: 16px; height: 1.5px; background: var(--text-muted); }

.dp-foot { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.seg--lg { padding: 4px; }
.seg--lg span { min-height: 44px; padding: 0 22px; font-size: var(--fs-body); }
.dp-sum { flex: 1; min-width: 180px; }
.dp-done { margin-left: auto; }

.dp-backdrop { position: fixed; inset: 0; background: rgba(24, 25, 24, .4); z-index: 39; animation: dp-fade var(--duration-quick) var(--ease-out); }
@keyframes dp-fade { from { opacity: 0; } }

@media (max-width: 760px) {
  .dp-months { grid-auto-columns: 308px; }
}
@media (max-width: 640px) {
  .dp-pop.is-sheet { z-index: 41; }
  .dp-pop, .dp--boxed .dp-pop {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none;
    max-height: 92svh; overflow-y: auto; border-radius: var(--radius) var(--radius) 0 0;
    padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
    animation: dp-up var(--duration-quick) var(--ease-out);
  }
  @keyframes dp-up { from { transform: translateY(24px); opacity: 0; } }
  .dp-months { grid-auto-columns: 1fr; justify-items: center; }
  .dp-dow, .dp-grid { grid-template-columns: repeat(7, minmax(40px, 1fr)); width: 100%; }
  .dp-month { width: 100%; }
  .dp-foot { position: sticky; bottom: calc(-16px - env(safe-area-inset-bottom)); background: var(--bg); padding-bottom: 4px; }
  .dp-modes { width: 100%; grid-auto-columns: 1fr; }
  .dp-modes span { padding: 0 6px; font-size: var(--fs-small); }


  .dp-sum { flex-basis: 100%; order: -1; }
  .dp-done { flex: 1; margin: 0; min-height: 48px; }
}

/* ── guests stepper (popover) ─────────────────────────── */
.search__field--guests { padding: 0; }
.gp { position: relative; height: 100%; }
.gp-field { width: 100%; height: 100%; }
.gp-field::before { display: none; }
.gp--boxed .gp-field { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 16px 20px; }   /* matches the date fields above */
.gp--boxed .gp-field.is-active { box-shadow: inset 0 0 0 1.5px var(--text); }
.gp .gp-field { padding-right: 48px; }   /* room for the caret; after .gp--boxed so it wins */
/* dropdown caret (user 2026-10-09): the set's own chevron (arrowR) turned to point down; it flips up while the pop-up is open */
.gp-caret { position: absolute; right: 20px; top: 50%; translate: 0 -50%; rotate: 90deg; color: var(--text); transition: rotate var(--duration-quick) var(--ease-out); }
.gp-field[aria-expanded="true"] .gp-caret { rotate: -90deg; }
.gp-pop {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); z-index: 40;
  width: 360px; max-width: calc(100vw - 32px);
  background: var(--bg); color: var(--text); text-align: left;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 20px 28px 24px; animation: gp-in var(--duration-quick) var(--ease-out);
}
.gp--boxed .gp-pop { left: auto; right: 0; transform: none; }
.gp-pop[hidden] { display: none; }
.gp-close { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 -8px 4px auto; border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--text); }
.gp-close:hover { background: var(--titanium-tint); }
.gp-row { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }   /* stacked: text, then the stepper (user 2026-10-07) */
.gp-step { display: flex; align-items: center; gap: 12px; }
.gp-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--titanium-tint); display: grid; place-items: center; cursor: pointer; color: var(--text); transition: background var(--duration-quick) var(--ease-out); }
.gp-btn:hover:not(:disabled) { background: var(--hairline); }
.gp-btn:disabled { color: var(--text-faint); background: var(--bg); cursor: default; }
.gp-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.gp-count { min-width: 28px; text-align: center; font: var(--weight-regular) var(--size-18)/28px var(--font-sans); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .gp-pop.is-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; transform: none; width: auto; max-width: none; z-index: 41; border-radius: var(--radius) var(--radius) 0 0; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); animation: dp-up var(--duration-quick) var(--ease-out); }
}
@keyframes gp-in { from { opacity: 0; } }

/* popovers open upward when there is room above (default in the hero) */
.dp-pop.is-up, .gp-pop.is-up { top: auto; bottom: calc(100% + 12px); }
/* elevation for the open calendar / guests panels (user 2026-10-08): they float over the page, so a soft warm shadow
   lifts them off it; charcoal-tinted, offset down, wide blur. Same on every booking bar (home, rooms, book, suite). */
.dp-pop, .gp-pop { box-shadow: 0 24px 56px -16px rgba(24, 25, 24, .22), 0 6px 16px -6px rgba(24, 25, 24, .08); }

/* hierarchy: dates lead, the stay-length switch is a quiet setting */
.dp-modes { background: var(--titanium-tint); }   /* calendar and guests pop-ups use light grey, not sand (user 2026-10-07) */
.dp-modes input:checked + span { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); font-weight: var(--weight-medium); }
.dp-modes span { color: var(--text); }
.dp-foot .dp-reset { margin-left: auto; }
.dp-foot .dp-reset + .dp-done { margin-left: 0; }
.dp-legend[hidden] { display: none; }
@media (max-width: 640px) {
  .dp-foot .dp-reset { margin-left: 0; }
  .dp-foot .dp-reset + .dp-done { flex: 1; }
}

/* ── room card (home + rooms list, content-flow §3) ──── */
.room-card { display: flex; flex-direction: column; color: inherit; }
.room-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-warm); }
.room-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration) var(--ease-out); }
.room-card:hover .room-card__img img { transform: scale(1.03); }
.room-card__chip { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--bg); color: var(--text); font: var(--weight-regular) var(--fs-label)/var(--lh-ui) var(--font-sans); }
.room-card__body { display: grid; gap: 10px; padding-top: 28px; flex: 1; align-content: start; }
.room-card__blurb { display: -webkit-box; -webkit-line-clamp: 3;   /* 3, not 2: with 2 the balanced third line was cut, so the visible two looked uneven and text went missing (2026-10-08) */ -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.room-card__blurb { text-wrap: balance; max-width: 36em; }   /* two even lines even on the wide Other suites cards (user 2026-10-07) */
.room-card__foot { display: grid; gap: 20px; margin-top: 28px; }   /* no rule above the prices (user 2026-10-08); space alone sets them apart */
.room-card__prices { display: flex; gap: 48px; margin: 0; }   /* side by side, close together: 1 month, then 2 weeks 48px on (user 2026-10-07; was spread to the card edges) */
.room-card__prices dt { font: var(--weight-regular) var(--fs-label)/var(--lh-ui) var(--font-sans); color: var(--text-muted); margin-bottom: 4px; }
.room-card__prices dd { margin: 0; font: var(--weight-regular) var(--size-18)/var(--lh-ui) var(--font-sans); color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.room-card:focus-visible { outline-offset: 6px; }

/* other room types (room page): hairline rows instead of boxed cards */
.room-mini { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: center; padding-top: 24px; border-top: 1px solid var(--hairline); color: inherit; }
.room-mini__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-warm); }
.room-mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration) var(--ease-out); }
.room-mini:hover .room-mini__img img { transform: scale(1.03); }
@media (max-width: 640px) { .room-mini { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; } }
.panel__head { margin-bottom: 32px; }   /* title + its subline (the sign-in note) as one group, then the fields (gestalt audit 2026-10-07) */

/* ── availability page ────────────────────────────────── */
.avail-head { display: grid; gap: 16px; justify-items: start; margin: 64px 0 40px; }
.avail-chips { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.avail-chips li { display: inline-flex; align-items: center; gap: 8px; font: var(--weight-regular) var(--fs-small)/var(--lh-ui) var(--font-sans); color: var(--text); }
.avail-chips .icon { color: var(--navy); }
.result__body h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.result__body .t-name { margin-bottom: 2px; }   /* suite name: the shared .t-name role, 32 on desktop as asked 2026-10-07, 24 on phones */
.result__more { margin-top: auto; }   /* homepage .link; sits at the foot of the card body */
@media (max-width: 640px) {   /* stacked card on phones: more air between its groups (user 2026-10-08) */
  .result__more { margin-top: 4px; }        /* 26px under the blurb (was 10): the link's own 12px tap margin is netted out here */
  .result .result__price { padding-top: 24px; }     /* rule → price block (was 20) */
  .result .result__cta { padding-top: 28px; gap: 16px; }   /* price block → due today (was 20), due today → button (was 10) */
  .result .result__due { padding-top: 16px; }   /* .result prefix: these rules sit above the base ones in the file */
}
.result__body { align-content: stretch; display: flex; flex-direction: column; gap: 10px; }
.result__blurb { text-wrap: balance; max-width: 36em; }   /* even line lengths, capped so a short blurb still breaks into two (user 2026-10-07) */

.result__price { display: flex; flex-direction: column; gap: 2px; }
.result__price .t-price { margin: 2px 0; }
.result__cta { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }
.result__cta .btn { white-space: normal; text-align: center; }
.result__due { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--hairline); font: 500 var(--fs-small)/20px var(--font-sans); color: var(--text); }
.result__due strong { font: var(--weight-regular) var(--size-18)/24px var(--font-sans); color: var(--text); font-variant-numeric: tabular-nums; }
.result__status { display: flex; align-items: center; gap: 6px; font: 500 var(--fs-small)/18px var(--font-sans); }
.result__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.result__status.is-low { color: var(--text); }
.result__status.is-no { color: var(--text); }
.result__status.is-no::before { background: none; border: 1px solid currentColor; }   /* hollow dot = none left; filled = a few left */
.result.is-off .result__img img { filter: grayscale(.6); opacity: .8; }
.result.is-off .t-price { color: var(--text-muted); }

/* ── room detail: head + 5-up gallery ─────────────────── */
.room-head { display: grid; gap: 16px; margin: 40px 0 40px; }   /* homepage scale on the suite page (user 2026-10-06): eyebrow over a 64px serif name */
.room-body { display: grid; row-gap: 96px; }   /* About / Amenities / House rules: space instead of rules (gestalt skill audit 2026-10-08) */
.room-page .two-col--book > aside .panel { border-top: 0; padding-top: 8px; }
/* booking card: more air between its parts (user 2026-10-07) */
.room-page .two-col--book > aside .panel { gap: 32px; }   /* between the card's four groups; 8 inside each (gestalt skill audit 2026-10-08) */
.book-card { display: grid; }
.room-page .two-col--book > aside .lines { gap: 14px; }
.room-page .two-col--book > aside .line--total { padding-top: 18px; margin-top: 4px; }   /* no rule over the booking card (user 2026-10-07); 8 lines the price up with the About title */
.room-body > section { gap: 28px; }   /* more air under About / Amenities / House rules titles (user 2026-10-07, was 16) */
@media (max-width: 640px) { .room-body > section { gap: 20px; } .room-body { row-gap: 72px; } }
.room-about { text-wrap: balance; }   /* longer copy, lines kept even top to bottom (user 2026-10-07) */
.room-body .t-h3 { font-size: var(--fs-title); line-height: var(--lh-title); }   /* section titles bigger: About / Amenities / House rules (user 2026-10-07); 28 → 36, fluid */
.room-body .note-list { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--weight-light); gap: 14px; }   /* House rules at the same size as About and Amenities */
.room-body .note-list .icon { margin-top: 4px; }
@media (max-width: 1024px) { .room-page .two-col--book { row-gap: 96px; } }   /* stacked: the booking card sits as far from About as the sections sit from each other */
@media (max-width: 640px)  { .room-page .two-col--book { row-gap: 72px; } }
.room-others { margin-top: var(--funnel-y); }
.room-others__grid { gap: 48px 32px; }
/* suite gallery: the homepage strip, full bleed out of the container (user 2026-10-07) */
.room-gallery { margin: var(--funnel-y) calc(50% - 50vw) 0; }
.room-gallery .center-head { padding: 0 var(--gutter); }
   /* rooms-page card spacing */
/* booking box: no frame, a hairline on top (homepage separates with rules, not boxes) */
.gallery5-wrap { position: relative; }
.gallery5 { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 8px; border-radius: var(--radius-media); overflow: hidden; }
.gallery5__item { padding: 0; border: 0; background: var(--bg-warm); cursor: zoom-in; overflow: hidden; }
.gallery5__item:first-child { grid-row: 1 / -1; }
.gallery5__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration) var(--ease-out), filter var(--duration-quick) var(--ease-out); }
.gallery5__item:hover img { transform: scale(1.03); filter: brightness(.94); }
.gallery5__item:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -3px; }
.gallery5__note { position: absolute; left: 16px; bottom: 16px; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(24, 25, 24,.55); color: var(--text-on-deep); font: 500 var(--fs-label)/16px var(--font-sans); pointer-events: none; }
.gallery5__all { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 0; background: var(--bg); color: var(--text); font: 500 var(--fs-small)/20px var(--font-sans); cursor: pointer; }   /* no outline (user 2026-10-07) */
.gallery5__all:hover { background: var(--bg-warm); }
@media (prefers-reduced-motion: reduce) { .gallery5__item img { transition: none; } .gallery5__item:hover img { transform: none; } }
@media (max-width: 760px) {
  .gallery5 { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gallery5__item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery5__item:nth-child(n+4) { display: none; }
  .gallery5__all { right: 12px; bottom: 12px; min-height: 36px; padding: 0 12px; font-size: var(--fs-small); }
  .gallery5__note { left: 12px; bottom: 12px; }
}

/* ── lightbox ─────────────────────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 100; background: var(--charcoal);  /* neutral ground for photos */ color: var(--text-on-deep); display: grid; grid-template-rows: auto 1fr auto; animation: gp-in var(--duration-quick) var(--ease-out); }
.lb[hidden] { display: none; }
.lb-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px 24px; }
.lb-count { font: 500 var(--fs-small)/20px var(--font-sans); font-variant-numeric: tabular-nums; }
.lb-note { font: 500 var(--fs-label)/16px var(--font-sans); letter-spacing: var(--tracking-caps); text-transform: uppercase; opacity: .6; }
.lb-close { justify-self: end; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: var(--radius); background: rgba(227, 227, 228,.1); color: var(--text-on-deep); font: 500 var(--fs-small)/20px var(--font-sans); cursor: pointer; }
.lb-close:hover { background: rgba(227, 227, 228,.18); }
.lb-stage { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 8px; min-height: 0; padding: 0 16px; }
.lb-fig { margin: 0; height: 100%; min-height: 0; display: grid; grid-template-rows: 1fr auto; gap: 12px; justify-items: center; }
.lb-img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; align-self: center; border-radius: var(--radius-media); }
.lb-cap { font: 400 var(--fs-body)/22px var(--font-sans); opacity: .85; text-align: center; }
.lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(227, 227, 228,.25); background: rgba(227, 227, 228,.06); color: var(--text-on-deep); display: grid; place-items: center; cursor: pointer; justify-self: center; }
.lb-nav:hover { background: rgba(227, 227, 228,.16); }
.lb-close:focus-visible, .lb-nav:focus-visible, .lb-thumb:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.lb-strip { display: flex; gap: 8px; overflow-x: auto; padding: 16px 24px 20px; justify-content: safe center; scrollbar-width: none; }
.lb-thumb { flex: none; width: 88px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-media); overflow: hidden; background: none; cursor: pointer; opacity: .5; transition: opacity var(--duration-quick) var(--ease-out), border-color var(--duration-quick) var(--ease-out); }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover { opacity: .85; }
.lb-thumb[aria-current="true"] { opacity: 1; border-color: var(--text-on-deep); }
@media (max-width: 640px) {
  .lb-top { padding: 12px 16px; grid-template-columns: 1fr auto; }
  .lb-note { display: none; }
  .lb-stage { grid-template-columns: 1fr; padding: 0 8px; }
  .lb-nav { display: none; }
  .lb-thumb { width: 64px; height: 44px; }
  .lb-strip { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); justify-content: flex-start; }
}


/* ── indicative floor plan ────────────────────────────── */
.fp { margin: 0; display: grid; gap: 16px; }
.fp-svg { width: 100%; height: auto; display: block; background: var(--bg-warm); border-radius: var(--radius); }
.fp-zone rect { fill: var(--bg); stroke: var(--text-faint); stroke-width: 1.5; transition: fill var(--duration-quick) var(--ease-out); }
.fp-zone text { font: 500 var(--fs-small)/var(--lh-ui) var(--font-sans); fill: var(--text); text-anchor: middle; pointer-events: none; }
.fp-zone { cursor: pointer; outline: none; }
.fp-zone.is-hi rect, .fp-zone:focus-visible rect { fill: var(--bg-warm); }
.fp-zone.is-hi text { fill: var(--navy); font-weight: var(--weight-medium); }
.fp-outline { fill: none; stroke: var(--text); stroke-width: 5; pointer-events: none; }
.fp-furn { fill: none; stroke: var(--text-faint); stroke-width: 1.25; pointer-events: none; }
.fp-furn-label { font: 400 var(--fs-label)/var(--lh-ui) var(--font-sans); fill: var(--text-muted); text-anchor: middle; pointer-events: none; }
.fp-door { fill: none; stroke: var(--text-muted); stroke-width: 1.25; stroke-dasharray: 3 3; pointer-events: none; }
.fp-window { stroke: var(--navy); stroke-width: 6; stroke-linecap: butt; pointer-events: none; }
.fp figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.fp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fp-chips li { padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--hairline); font: 500 var(--fs-small)/18px var(--font-sans); color: var(--text); cursor: default; transition: background var(--duration-quick) var(--ease-out), color var(--duration-quick) var(--ease-out), border-color var(--duration-quick) var(--ease-out); }
.fp-chips li.is-hi { background: var(--bg-deep); border-color: var(--bg-deep); color: var(--text-on-deep); }
@media (max-width: 640px) { .fp-zone text { font-size: var(--size-18); } .fp-furn-label { display: none; } }

/* ── account: header, auth, account pages ─────────────── */
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--text); font: 500 var(--fs-small)/1 var(--font-sans); letter-spacing: .5px; flex: none; }
.avatar--lg { width: 64px; height: 64px; font-size: var(--size-24); }
.site-header__me { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;   /* gold circle, charcoal figure, same height as Book now (user 2026-10-02) */
  background: var(--gold); color: var(--charcoal); transition: opacity var(--duration-quick) var(--ease-out); }
.site-header__me:hover { opacity: .88; }
.site-header__signin { color: var(--hdr-btn-bg); }   /* same ink as the Book now pill, so it follows the header's ground */
.profile-icon { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: butt; }   /* avatar only: the name lives in its aria-label; keeps the split nav clear of the logo */
/* sign in / create account: one centred box, no photo half (user 2026-10-07) */
.auth { min-height: calc(100svh - 104px); display: grid; background: var(--bg); }
.auth__panel { display: grid; align-content: center; justify-items: center; padding: 64px var(--gutter); }
.auth__box { width: 100%; max-width: 420px; display: grid; gap: 24px; }
.auth__box > .stack-8:first-child, .auth__box > p:last-child { text-align: center; }   /* title, intro and the guest note centred; the form keeps its labels left */
.auth__panel { min-width: 0; }
.auth__box .btn { white-space: normal; text-align: center; }
.auth__box .field + [data-submit] { margin-top: 16px; }   /* Create account: 32px between the last field and the button, about what "Forgot password?" leaves on Sign in (user 2026-10-12) */
.auth__forgot { justify-self: start; margin-top: -16px; }   /* sits 12px under the password field, its 44px tap row flush with the field (user 2026-10-12) */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.auth-tabs .seg { width: 100%; grid-auto-columns: 1fr; }
.btn--google { --btn-ink: var(--text); --btn-fill: var(--titanium-tint); --btn-on-fill: var(--text); background: var(--bg); border-color: var(--hairline); }   /* hover fill light grey, not sand (user 2026-10-12) */
.btn--google:hover { border-color: var(--hairline); }
.btn--google::before { display: none; }   /* carries the Google mark; no arrow */
.or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; color: var(--text-muted); font: 500 var(--fs-small)/18px var(--font-sans); }
.or::before, .or::after { content: ""; height: 1px; background: var(--hairline); }
.form-error { padding: 12px 14px; border-radius: var(--radius); background: var(--danger-bg); color: var(--danger); font: 500 var(--fs-small)/20px var(--font-sans); }
.form-ok { padding: 12px 14px; border-radius: var(--radius); background: var(--navy); color: var(--titanium); font: 500 var(--fs-small)/20px var(--font-sans); }
.pw { position: relative; }
.pw input { padding-right: 64px; }
.pw button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: 0; background: none; font: 500 var(--fs-small)/18px var(--font-sans); color: var(--text); padding: 13px 14px; min-width: 44px;   /* 44 x 44 tap area (antislop audit 001 #16) */ cursor: pointer; }
@media (max-width: 900px) { .auth__panel { padding: 40px var(--gutter) 64px; align-content: start; } }

.acct { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px 150px; align-items: start; }   /* 150 between the sidebar and the content (user 2026-10-08, was 40), as on the suite page */
@media (max-width: 1280px) { .acct { column-gap: 64px; } }   /* small laptops: 64, so the booking rows keep their width (same step as the suite page) */
.acct-nav { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 4px; }
.acct-nav a, .acct-nav button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: var(--radius); border: 0; background: none; font: 500 var(--fs-body)/20px var(--font-sans); color: var(--text); text-align: left; cursor: pointer; }
.acct-nav a, .acct-nav button { border-radius:var(--radius); padding: 0; }
.acct-nav a:hover, .acct-nav button:hover { color: var(--text); }
.acct-nav a[aria-current="page"] { color: var(--navy); font-weight: var(--weight-medium); }
.acct-nav a[aria-current="page"] .icon { stroke-width: 2; }
.acct-nav .acct-signout { color: var(--text-muted); }   /* an action, not a tab: set apart from the three tabs above */
.acct-me { display: flex; align-items: center; gap: 14px; margin: 40px 0 8px; }
.acct-title { margin-bottom: 40px; }   /* desktop: lines the first section up with the sidebar tabs */
@media (max-width: 900px) { .acct-title { margin-bottom: 20px; } }   /* tablet + phone: the title sits close to its first section (user 2026-10-08) */
.acct-foot { display: none; }
@media (max-width: 900px) {   /* who is signed in + Sign out, at the foot of the account page on tablet and phone */
  .acct-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--hairline); }
  .acct-foot .acct-me { display: flex; margin: 0; min-width: 0; }   /* the older ≤900 rule hides .acct-me inside the nav only */
  .acct-foot .acct-me > div { min-width: 0; }
  .acct-foot .acct-me p { overflow-wrap: anywhere; }
  .acct-foot .avatar--lg { width: 44px; height: 44px; font-size: var(--fs-body); }
  .acct-foot__out { color: var(--text-muted); flex: none; }
}   /* who is signed in + Sign out: one group, apart from the tabs */
.acct-section[hidden] { display: none; }
.acct-section .panel { border-top: 0; }               /* no rules: bookings, sections and forms are set apart by space (gestalt skill audit 2026-10-07) */
.acct-section form.panel { padding-top: 0; }
.acct-section .bk + .bk { border-top: 1px solid var(--hairline); }   /* a thin rule between two bookings only; none under the section labels (user 2026-10-07) */
.bk { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.bk + .bk { margin-top: 0; }
.bk__img { aspect-ratio: 4 / 3; border-radius: var(--radius-media); overflow: hidden; }
.bk__img img { width: 100%; height: 100%; object-fit: cover; }
.bk__body { display: grid; gap: 4px; }
.bk__actions { display: grid; gap: 8px; justify-items: end; }
.pill { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 3px 10px; border-radius: var(--radius-pill); font: 500 var(--fs-label)/16px var(--font-sans); }
.pill--paid { background: var(--navy); color: var(--titanium); }
.pill--hold { background: var(--bg-warm); color: var(--text); }
.pill--off { background: var(--bg); color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--hairline); }   /* outlined: still a pill, so its padding no longer looks like a stray indent */
.acct-empty { text-align: center; padding: 48px 16px; display: grid; gap: 12px; justify-items: center; }
@media (max-width: 900px) {
  .acct { grid-template-columns: 1fr; gap: 24px; }
  .acct-nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .acct-me { display: none; }
  .bk { grid-template-columns: 96px minmax(0, 1fr); }
  .bk__actions { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; }
}
.acct-nav a, .acct-nav button { white-space: nowrap; flex: none; }

/* booking details */
.bk-details { grid-column: 1 / -1; border-top: 1px solid var(--hairline); padding-top: 4px; margin-top: 4px; }
.bk-details summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font: 500 var(--fs-small)/20px var(--font-sans); color: var(--text); }
.bk-details summary::-webkit-details-marker { display: none; }
.bk-details summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); transition: transform var(--duration-quick) var(--ease-out); }
.bk-details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.bk-details__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; padding: 12px 0 8px; }
.bk-details__tl { grid-column: 1 / -1; }
.bk-h { font: 500 var(--fs-label)/16px var(--font-sans); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.bk-details .kv { grid-template-columns: 110px 1fr; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: tl; }
.tl li { position: relative; padding-top: 22px; display: grid; gap: 2px; align-content: start; font: 400 var(--fs-small)/18px var(--font-sans); color: var(--text-muted); }
.tl li strong { font-weight: var(--weight-medium); color: var(--text); }
.tl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--hairline); background: var(--bg); }
.tl li::after { content: ""; position: absolute; left: 16px; right: -8px; top: 9px; height: 2px; background: var(--hairline); }
.tl li:last-child::after { display: none; }
.tl li.is-done::before { border-color: var(--bg-deep); background: var(--bg-deep); }
.tl li.is-done::after { background: var(--bg-deep); }
.tl li.is-done strong { color: var(--text); }
@media (max-width: 900px) {
  .bk-details__grid { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 0; }
  .tl li { padding: 0 0 16px 24px; }
  .tl li::before { top: 3px; }
  .tl li::after { left: 5px; right: auto; top: 17px; bottom: 0; width: 2px; height: auto; }
  /* tab bar (user 2026-10-08): three equal tabs on one hairline, the current one underlined in navy; Sign out moves to .acct-foot */
  .acct-nav { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; justify-content: stretch; overflow: visible; border-bottom: 1px solid var(--hairline); }
  .acct-nav > a { justify-content: center; min-height: 48px; border-radius: 0; color: var(--text-muted); box-shadow: inset 0 -2px 0 transparent; transition: box-shadow var(--duration-quick) var(--ease-out), color var(--duration-quick) var(--ease-out); }
  .acct-nav > a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); }
  .acct-nav .acct-signout, .acct-nav .acct-me { display: none; }
  .acct-nav .icon { display: none; }   /* text-only tabs so all three fit at 390 */
}

/* ── my bookings: hierarchy ───────────────────────────── */
.bk-section { display: flex; align-items: center; gap: 8px; margin: 64px 0 12px; font: 500 var(--fs-small)/18px var(--font-sans); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); }
.bk-section:first-of-type { margin-top: 0; }
.bk-section span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--hairline); color: var(--text); letter-spacing: 0; }
.bk { grid-template-columns: 240px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 40px 0; }   /* 40 above and below every booking (user 2026-10-07) */   /* larger photos, one width for every card (user 2026-10-07) */
.bk__img { aspect-ratio: 3 / 2; }
@media (min-width: 901px) {   /* text and price columns span the photo's height: first line on its top edge, last line on its bottom edge (user 2026-10-07) */
  .bk { align-items: stretch; }
  .bk__body { grid-template-rows: auto 1fr auto; }   /* status on the photo's top edge; name, dates and the nights/ref line as one block on its bottom edge (user 2026-10-07) */
  .bk__title { align-self: end; }
  .bk__body > p:last-child { margin-top: 2px; }   /* 4 under the dates: the same facts, kept close */
  .bk__side { grid-template-rows: auto auto 1fr; }
  .bk__side .bk__actions { align-self: end; }
}
.bk__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.bk__when { font: 500 var(--fs-label)/16px var(--font-sans); color: var(--navy); }
.bk__name { font: var(--weight-display) var(--fs-h4)/var(--lh-title) var(--font-display); letter-spacing: var(--tracking-display); word-spacing: var(--word-spacing-display); color: var(--text); }   /* suite name in Rowan like every other suite name; 24 = the card-title role (typeset audit 2026-10-08, was Ranade 16) */
.bk__title { display: grid; gap: 2px; }   /* suite name + dates as one group, so space-between spreads three blocks, not four lines (user 2026-10-07) */
.bk__dates { font: var(--weight-regular) var(--size-18)/28px var(--font-sans); color: var(--text); }   /* numbers in Ranade (user 2026-10-07) */
.bk__side { display: grid; gap: 2px; justify-items: end; text-align: right; }
.bk__amount { font: var(--weight-regular) var(--size-18)/24px var(--font-sans); color: var(--text); font-variant-numeric: tabular-nums; }
.bk__actions { display: flex; align-items: center; gap: 16px; margin-top: 12px; justify-items: initial; }
.bk--feature { padding: 40px 0; }   /* next stay: same columns and rule as the others (gestalt audit 2026-10-07); it stands out by its larger dates */
.bk--feature .bk__dates { font-size: var(--size-24); line-height: 32px; }

.bk--off { padding: 40px 0; }
.bk--off .bk__img { opacity: .7; filter: grayscale(.5); }
.bk--off .bk__dates, .bk--off .bk__amount { color: var(--text-muted); font-size: var(--size-18); }
.bk-panel { grid-column: 2 / -1; padding-top: 8px; }   /* nested under its own booking's text column; the only rules left are the ones between bookings (gestalt audit 2026-10-07) */
.bk-panel[hidden] { display: none; }
.bk-close { margin-top: 12px; }   /* 24 − the link's 12px tap margin */   /* a second Hide details where the reading ends */
.bk-panel .line--total span:last-child { font: inherit; }   /* the card head already shows the amount large; here it is just the sum */
.bk-chev { width: 12px; height: 12px; flex: none; background: currentColor; transform: rotate(90deg); transition: transform var(--duration) var(--ease-out);
  -webkit-mask: var(--chevron) center / 12px 12px no-repeat; mask: var(--chevron) center / 12px 12px no-repeat; }
.bk-toggle[aria-expanded="true"] .bk-chev { transform: rotate(-90deg); }
@media (prefers-reduced-motion: reduce) { .bk-chev { transition: none; } }
@media (max-width: 900px) {
  .bk, .bk--feature { grid-template-columns: 200px minmax(0, 1fr); gap: 20px 24px; padding: 32px 0; }   /* tablet: photo beside the text (was 112px, 16 gaps) */
  .bk__img { aspect-ratio: 3 / 2; }
  .bk__side { grid-column: 1 / -1; justify-items: start; text-align: left; padding-top: 4px; }
  .bk-panel { grid-column: 1 / -1; padding: 4px 0 0 16px; border-left: 1px solid var(--hairline); }
  .bk--feature .bk__dates { font-size: var(--size-18); line-height: 26px; }
  .bk__actions { margin-top: 8px; flex-wrap: wrap; }
}
.nowrap { white-space: nowrap; }

/* ── room page, mobile hierarchy ──────────────────────── */
.gallery5__count { display: none; }
.mbar { display: none; }
@media (max-width: 760px) {
  .room-page { display: flex; flex-direction: column; }
  .room-page > .back-link { order: -2; margin-bottom: 1px; }
  .room-page > .gallery5-wrap { order: -1; margin: 0 calc(var(--gutter) * -1); }
  .room-head { margin: 20px 0 8px; gap: 8px; }
  .room-head .avail-chips { gap: 4px 14px; }
  .room-head .avail-chips li { border: 0; padding: 0; background: none; font-weight: 400; color: var(--text); }
  /* full-bleed swipe carousel */
  .gallery5 { display: flex; grid-template: none; gap: 0; border-radius:var(--radius-media); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery5::-webkit-scrollbar { display: none; }
  .gallery5__item, .gallery5__item:first-child { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; grid-row: auto; grid-column: auto; }
  .gallery5__item:nth-child(n+4) { display: block; }
  .gallery5__count { display: block; right: 12px; top: 12px; bottom: auto; position: absolute; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(24, 25, 24,.55); color: var(--text-on-deep); font: 500 var(--fs-label)/16px var(--font-sans); pointer-events: none; }
}
@media (max-width: 1024px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--hairline); transform: translateY(110%); transition: transform var(--duration-quick) var(--ease-out); }
  .mbar.is-on { transform: none; }
  .mbar__info { display: grid; gap: 2px; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; min-width: 0; }
  .mbar__info strong { font: var(--weight-regular) var(--size-18)/24px var(--font-sans); color: var(--text); }
  .mbar__info span { font: 500 var(--fs-small)/18px var(--font-sans); color: var(--text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar .btn { flex: none; min-width: 0; padding-inline: 24px; }
  body.has-mbar .site-footer { padding-bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }

/* ── line breaks: no lonely last words ─────────────────── */
h1, h2, h3, h4, h5, .t-display, .t-h1, .t-h2, .t-h3, .t-eyebrow, .t-label, .center-head p, .hero__intro, .cta h2, .facility, .spaces li { text-wrap: balance; }
p, li, dd, figcaption, .search__hint { text-wrap: balance; }   /* every body text: even line lengths top to bottom (user 2026-10-08) */
.faq details p { text-wrap: pretty; }                             /* except the FAQ answers: left as they were (user 2026-10-08) */



/* ── colour scroll (BelArosa): the whole page takes the colours of the section at mid-screen ──
   ui.js sets body[data-theme] and html.js-theme. Without JS, or with reduced motion, every section
   keeps its own static ground (section--surface / section--dark) and nothing animates. */
@property --page-bg     { syntax: '<color>'; inherits: true; initial-value: #FFFFFF; }
@property --page-fg     { syntax: '<color>'; inherits: true; initial-value: #181918; }
@property --page-muted  { syntax: '<color>'; inherits: true; initial-value: #4A4A47; }
@property --page-rule   { syntax: '<color>'; inherits: true; initial-value: rgba(24, 25, 24, .12); }
@property --page-accent { syntax: '<color>'; inherits: true; initial-value: #181918; }
@property --page-icon   { syntax: '<color>'; inherits: true; initial-value: #222D52; }
@property --page-logo   { syntax: '<color>'; inherits: true; initial-value: #AF9774; }
body[data-theme="light"], .site-header[data-theme="light"] { --page-bg: var(--bg);      --page-fg: var(--text); --page-muted: var(--text-muted); --page-rule: var(--hairline); --page-accent: var(--text); --page-icon: var(--navy); --page-logo: var(--gold); }
body[data-theme="warm"],  .site-header[data-theme="warm"]  { --page-bg: var(--bg-warm); --page-fg: var(--text); --page-muted: var(--text-muted); --page-rule: var(--hairline); --page-accent: var(--text); --page-icon: var(--navy); --page-logo: var(--gold); }
body[data-theme="dark"],  .site-header[data-theme="dark"]  { --page-bg: var(--bg-deep); --page-fg: var(--text-on-deep); --page-muted: #BCBFC7; /* titanium 80% on navy */
                           --page-rule: var(--hairline-on-deep); --page-accent: var(--gold); --page-icon: var(--gold); --page-logo: var(--titanium); }
html.js-theme body { background: var(--page-bg); }
html.js-theme-ready body { transition: --page-bg var(--duration) var(--ease-out), --page-fg var(--duration) var(--ease-out),
  --page-muted var(--duration) var(--ease-out), --page-rule var(--duration) var(--ease-out),
  --page-accent var(--duration) var(--ease-out), --page-icon var(--duration) var(--ease-out), --page-logo var(--duration) var(--ease-out); }
html.js-theme main > [data-theme]:not(.hero):not(.cta) { background: transparent; color: var(--page-fg); }
html.js-theme main > [data-theme]:not(.hero):not(.cta) .muted,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .t-body-lg,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .meta,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .suite-prices dt,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .faq details p { color: var(--page-muted); opacity: 1; }
html.js-theme main > [data-theme]:not(.hero):not(.cta) .t-eyebrow { color: var(--page-accent); }
html.js-theme main > [data-theme]:not(.hero):not(.cta) .stay-opt__points .icon,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .distance-list .icon,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .stay-opt__index,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .suite__index { color: var(--page-icon); }
html.js-theme main > [data-theme]:not(.hero):not(.cta) .stay-opt + .stay-opt,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .spaces li + li,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .faq,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .faq details,
html.js-theme main > [data-theme]:not(.hero):not(.cta) .suites__arrow { border-color: var(--page-rule); }
/* scrolled header takes the colours of the section at mid-screen too (user direction 2026-10-02):
   white/sand bar with charcoal text and gold logo, navy bar with titanium text and logo. Menu open keeps it white. */
html.js-theme .site-header.is-stuck:not(.is-menu-open),
html.js-bar-theme .site-header:is(.is-stuck, .site-header--solid):not(.is-menu-open) {   /* pages without colour scroll: the bar alone (ui.js colourScroll) */
  background: var(--page-bg); color: var(--page-fg); border-bottom-color: var(--page-rule);
  --hdr-btn-bg: var(--page-fg); --hdr-btn-fg: var(--page-bg); --focus-ring: var(--page-accent); --hdr-mark: var(--page-logo);
}
/* header colour changes: real properties only, all on one calm 600ms ease (the theme vars switch instantly on the header,
   so nothing races a second, shorter fade) */
html.js-theme-ready .site-header .btn--book { transition: background-color var(--hdr-fade) var(--ease-out) var(--hdr-delay), border-color var(--hdr-fade) var(--ease-out) var(--hdr-delay), color var(--hdr-fade) var(--ease-out) var(--hdr-delay); }
/* pills inside colour-scrolled sections follow the page colours, so the outline never vanishes mid-fade */
html.js-theme main > [data-theme]:not(.hero):not(.cta) :is(.btn--primary, .btn--outline-dark, .btn--ghost) { --btn-ink: var(--page-fg); --btn-fill: var(--page-fg); --btn-on-fill: var(--page-bg); }

/* ── reduced motion: no transitions or animations anywhere ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Suite page hero: Grand Hotel Miramare's suite page concept (user 2026-10-07) ──
   Full-bleed first photo under the overlay header, the suite name alone in the centre, whole photo opens the gallery. */
.room-hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: var(--text-on-deep); text-align: center; cursor: pointer; }
.room-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(24, 25, 24, .72), rgba(24, 25, 24, .55) 45%, rgba(24, 25, 24, .75)); }   /* darker (user 2026-10-07, was .55 / .3 / .55); a touch lighter than the home hero so the room still reads */
.room-hero__center { position: relative; z-index: 2; display: grid; justify-items: center; gap: 24px; padding: calc(var(--hdr-h) + 24px) var(--gutter) 120px; }
.room-hero__title { margin: 0; }
.room-hero__meta { justify-content: center; }
.room-hero__meta li, .room-hero__meta .icon { color: inherit; }
/* touch screens: "View gallery" under the specs; mouse screens use the round cursor (link kept for the keyboard) */
.room-hero__link { margin-top: -4px; color: inherit; }   /* 8 − the link's 12px tap margin */
.room-hero__back { position: absolute; z-index: 2; left: 50%; bottom: 40px; transform: translateX(-50%); color: inherit; white-space: nowrap; }   /* centred on the bottom edge (user 2026-10-07) */
.room-hero.is-follow { cursor: none; }
.room-hero.is-follow .room-hero__link { position: absolute; top: 100%; opacity: 0; cursor: none; }   /* keyboard only on mouse screens, out of the flow */
.room-hero.is-follow .room-hero__link:focus-visible { opacity: 1; }
/* the round cursor (Miramare #cursor.gallery): 100px, text ring + solid dot, fixed to the viewport, follows the pointer */
.gcursor { position: fixed; left: 0; top: 0; z-index: 15; width: 100px; height: 100px; pointer-events: none; user-select: none; color: var(--text-on-deep);
  opacity: 0; transition: opacity calc(var(--duration) * .7) var(--ease-out); will-change: transform; }   /* softer fade in / out (user 2026-10-07) */
.gcursor.is-on { opacity: 1; }
.gcursor svg { display: block; width: 100%; height: 100%; fill: currentColor; animation: gcursor-spin 6s linear infinite paused; will-change: transform; }   /* own layer: the turn never repaints the text */
.gcursor.is-on svg { animation-play-state: running; }                       /* turns only while over the photo, like Miramare */
.gcursor text { font: var(--weight-medium) 13px var(--font-sans); letter-spacing: .04em; }   /* Ranade 500, the heaviest cut we load */
@keyframes gcursor-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gcursor svg { animation: none; } }
.funnel--after-hero { padding-top: 48px; }   /* + the 48 above the two columns = 96 under the hero */
.funnel--after-hero .two-col--book { margin-top: 48px; }
@media (max-width: 1024px) { .funnel--after-hero .two-col--book { margin-top: 0; } }   /* stacked: the booking card leads, 56px under the hero instead of 104 (user 2026-10-08) */
@media (max-width: 640px)  { .funnel--after-hero { padding-top: 32px; } }              /* phones: 40px under the hero */
@media (max-width: 640px) {
  .room-hero { min-height: 88svh; }
  .room-hero__center { gap: 16px; padding-bottom: 104px; }
  .room-hero__back { bottom: 28px; }
}

/* ── tap targets and tablet states (antislop audit 001, 2026-10-08) ─────────── */
/* #4 footer: on touch widths every link is a 44px row; the rows carry the spacing the 10px gap used to */
@media (max-width: 1024px), (pointer: coarse) {
  .site-footer ul { gap: 0; }
  .site-footer ul a, .site-footer__bottom a { min-height: 44px; display: inline-flex; align-items: center; }
  .site-footer ul a { min-height: 36px; }   /* column links closer together (user 2026-10-08): 36px rows instead of 44 */
  .site-footer h2 { margin-bottom: 6px; }   /* and closer to their label (was 20) */
  .site-footer__bottom nav { column-gap: 24px; row-gap: 0; }
  .site-footer ul a, .site-footer__bottom a { min-width: 44px; }   /* short words (FAQ) still get a 44px-wide target */
}
/* #6 menu secondary links (WhatsApp us, Contact, My account): 44px rows like the main list */
.mmenu__sub a { display: inline-flex; align-items: center; min-height: 44px; }
/* #9 facilities: stacked rows from tablet down (3 columns broke every title into 3 lines at 768) */
@media (max-width: 1024px) {
  .spaces { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .spaces li { padding: 28px 0; }
  .spaces li + li { border-left: 0; border-top: 1px solid var(--hairline); }
}
@media (max-width: 640px) { .spaces { margin-top: 40px; } }
/* #10 a lone last card in a 2-up tablet grid sits centred, not left with an empty half beside it */
@media (min-width: 641px) and (max-width: 1024px) {
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 16px); }
}
/* #11 suite booking card: capped on tablet instead of stretching across the screen */
@media (min-width: 641px) and (max-width: 1024px) { .room-page .two-col--book > aside { max-width: 560px; width: 100%; } }
/* #12 suite name links in the results: 44px tall tap area, same visual line */
.result__body h2 a { display: inline-block; padding: 8px 0; margin: -8px 0; }   /* 8: still 44 at the 24px phone name */
/* #13 consent links: a taller tap area (inline padding does not move the text) */
.check--lg a { padding: 14px 0; }   /* 14: still 44 at the 13px phone body */
/* #14 cancel link: 44px tall tap area */
.pay-cancel a { display: inline-block; padding: 13px 0; margin: -13px 0; }

/* ── typeset audit 2026-10-08 ─────────────────────────────── */
/* T7 light text on navy reads thinner than the same weight on white: one weight up and a little more leading */
.section--dark :is(.t-body, .t-body-lg), .site-footer p { font-weight: var(--weight-regular); line-height: 1.6; }
/* T8 FAQ answers on phones: the right inset only matched the question's hover fill; the text gets the width back */
@media (max-width: 640px) { .faq details p { padding-right: 0; } }

/* account booking card on phones: the photo full width on top, the text and price below it, more air (user 2026-10-08) */
@media (max-width: 640px) {
  .bk, .bk--feature { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 32px 0; }
  .bk__body { gap: 6px; }
  .bk__tags { margin-bottom: 6px; }
  .bk__side { padding-top: 0; gap: 4px; }
  .bk__actions { margin-top: 16px; gap: 24px; }
}

/* account booking rows on small laptops (901–1260px): the content column is too narrow for photo + text + price side by side,
   so the price and actions drop under the text, as on tablet (found while setting the 150px gap, 2026-10-08) */
@media (min-width: 901px) and (max-width: 1260px) {   /* 1260: below it the text column drops under ~240px */
  .bk, .bk--feature { grid-template-columns: 200px minmax(0, 1fr); }
  .bk__side { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .bk-panel { grid-column: 1 / -1; }
}

/* ── reveals + page change (La Sala Plaza concept, user 2026-10-08) ──────────────────────
   Studied on lasalaplazahotel.com: every title, paragraph, button, image and card fades in once it enters the screen;
   titles by opacity alone, everything else also rises 20px; 1s each, short staggers; the header comes down last on load.
   On a page change the page goes quiet and the next one builds itself up the same way.
   Built without GSAP (CLAUDE.md): ui.js reveals() tags elements with data-fade and adds .is-in through an
   IntersectionObserver, then removes the tag so each element gets its own styles and transitions back.
   The hidden state only exists once JS has tagged an element, so content stays visible if JS fails. */
[data-fade]:not(.is-in), html.fade-pending :is(main, .room-hero, [data-slot="header"], .site-header) { opacity: 0 !important; }
/* keyframes with no end state: each element animates to its own opacity / position, so nothing jumps when the tag goes */
[data-fade].is-in { animation: fade-in 1s cubic-bezier(.33, 1, .68, 1) var(--fade-delay, 0s) both; }
[data-fade="up"].is-in { animation-name: fade-up; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; translate: 0 20px; } }
/* the header slides down 20px on its own curve (user 2026-10-09: "patah di akhirnya"): an ease-out-quad over .8s spends far
   less time crawling under a pixel than the shared curve; the fade keeps the shared curve. The bar keeps one compositor
   layer for good (will-change below), so the end of the slide never makes Chrome rebuild or re-snap it. */
.site-header { will-change: transform, opacity; }
.site-header[data-fade="down"].is-in { animation: fade-in 1s cubic-bezier(.33, 1, .68, 1) var(--fade-delay, 0s) both, drop-in .8s cubic-bezier(.25, .46, .45, .94) var(--fade-delay, 0s) both; }
@keyframes drop-in { from { transform: translate3d(0, -20px, 0); } }
/* a statement paragraph lights up word by word as it crosses the screen (La Sala .text-reveal, without pinning) */
.word-reveal .w { opacity: .22; transition: opacity .4s ease-out; }
.word-reveal .w.is-lit { opacity: 1; }
/* leaving: the page fades out, then the browser moves on (ui.js pageTransitions) */
html.is-leaving :is(main, .room-hero, .site-header) { opacity: 0; transition: opacity 450ms cubic-bezier(.33, 1, .68, 1); }
@media print { [data-fade], .word-reveal .w { opacity: 1 !important; translate: none !important; } }

/* image parallax (Elementis concept, user 2026-10-08): ui.js parallax() sets --px; scale/translate are separate properties,
   so hover zooms (transform) and the reveals still compose with it */
.px-img { scale: 1.2; translate: 0 var(--px, 0px); will-change: translate; }
@media (prefers-reduced-motion: reduce) { .px-img { scale: none; translate: none; } }

/* ── contact page (San Felice /contact-us layout, user 2026-10-09) ─────────────────────
   Two halves: the map on the left holds still under the header while the details on the right scroll.
   The map is the brand map (assets/js/map.js), styled below. */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--bg); }
.contact__map { position: sticky; top: var(--hdr-h); height: calc(100svh - var(--hdr-h)); background: var(--navy); overflow: hidden; }
.contact__body { display: grid; align-content: start; gap: 96px; padding: 72px 80px var(--section-y) 80px; }
.contact__head { display: grid; gap: 20px; }
.contact__head .t-h1 { margin-bottom: 20px; }   /* title → the facts: 40 */
.contact__block { display: grid; gap: 16px; max-width: 34em; }
.contact__block .t-h3 { margin-bottom: 4px; }   /* subhead → text: 20 */
.contact__big { font: var(--weight-light) var(--fs-name)/1.3 var(--font-sans); color: var(--text); }   /* the two facts: Ranade, large and light, as the reference */
.contact__big a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.contact__big a:hover { color: var(--navy); }
.contact__links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 8px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; }
.contact__list li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }   /* no dividers, same row rhythm as the homepage distance list (user 2026-10-09) */
@media (max-width: 1024px) {
  .contact__body { padding: 56px var(--gutter) var(--section-y); gap: 72px; }
}
@media (max-width: 760px) {   /* stacked: the map on top at a fixed height, the details under it */
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__map { position: relative; top: 0; height: 56svh; min-height: 320px; }
  .contact__body { padding-top: 40px; gap: 56px; }
}

/* ── Brand map (assets/js/map.js) ──────────────────────
   MapLibre on OpenFreeMap tiles, drawn in the palette: navy land, a deeper sea, thin titanium roads, a gold coastline.
   Our own pins in Ranade; the library's controls restyled to match (user 2026-10-09). */
.map, .map.maplibregl-map { position: absolute; inset: 0; isolation: isolate; container-type: size; background: var(--navy); font-family: var(--font-sans); }   /* MapLibre's own CSS sets relative. isolate: its z-index 99999 gesture overlay must stay under the fixed header */
.map__fallback { position: absolute; left: 24px; bottom: 24px; color: var(--text-on-deep); }
.map.is-ready .map__fallback { display: none; }
.map .maplibregl-canvas:focus-visible { outline: 1px solid var(--gold); outline-offset: -1px; }
.map-pin { display: flex; align-items: center; gap: 10px; pointer-events: none; }
.map-pin__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--titanium); opacity: .75; }
.map-pin__label { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--titanium); opacity: .75; white-space: nowrap; }
.map-pin--home { z-index: 1; }
.map-pin--left { flex-direction: row-reverse; }
@container (max-width: 560px) { .map-pin:not(.map-pin--home) { display: none; } }   /* small maps (phones): Yamala Bali only; the list beside the map names the rest */
.map-pin--home .map-pin__dot { width: 14px; height: 14px; background: var(--gold); opacity: 1; box-shadow: 0 0 0 6px rgba(175, 151, 116, .25); }
.map-pin--home .map-pin__label { color: var(--gold); opacity: 1; }   /* gold text on navy: 4.8:1 */
.map .maplibregl-ctrl-top-right .maplibregl-ctrl { margin: 16px 16px 0 0; }
.map .maplibregl-ctrl-group { background: var(--navy); border: 1px solid var(--hairline-on-deep); border-radius: 0; box-shadow: none; }
.map .maplibregl-ctrl-group button { width: 40px; height: 40px; }
.map .maplibregl-ctrl-group button + button { border-top: 1px solid var(--hairline-on-deep); }
.map .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); opacity: .8; }
.map .maplibregl-ctrl-group button:not(:disabled):hover { background: rgba(227, 227, 228, .06); }
.map .maplibregl-ctrl.maplibregl-ctrl-attrib { background: transparent; font-size: var(--fs-label); color: rgba(227, 227, 228, .55); }
.map .maplibregl-ctrl-attrib a { color: inherit; }
.map .maplibregl-cooperative-gesture-screen { background: rgba(24, 25, 24, .55); color: var(--titanium); font-size: var(--fs-small); font-family: var(--font-sans); }

