
/* Hark's design tokens and component styles. Each component's rules follow its @component comment. style-gates: data */

/* @component foundations */
:root {
  color-scheme: light dark;

  --text-primary: light-dark(#1d1d1f, #f5f5f7);         /* body text */
  --text-secondary: light-dark(#636366, #a1a1a6);       /* supporting grey text */
  --text-tertiary: light-dark(#1d1d1f4d, #f5f5f74d);    /* hollow dots, faint marks; never body text */
  --text-primary-on: light-dark(#f5f5f7, #1d1d1f);      /* text on --fill-primary */
  --text-secondary-on: light-dark(#aeaeb2, #5c5c60);    /* grey text on --fill-primary */
  --fill-primary: light-dark(#1d1d1f, #f5f5f7);         /* the strong fill: solid chips, the nav, the badge */
  --fill-primary-on: light-dark(#f5f5f7, #1d1d1f);      /* the page background */
  --fill-secondary: light-dark(#1d1d1f80, #f5f5f780);
  --fill-tertiary: light-dark(#e8e8ea, #2a2a2d);        /* the grey card, panel and row tint */
  --fill-segment: light-dark(#3a3a3c, #e2e2e4);         /* the nav's tab track */
  --fill-system-green: #00a665;                         /* status: done, ready */
  --fill-system-orange: #ff4d00;                        /* status: now, current */
  --fill-system-red: light-dark(#da2f35, #f1555b);      /* status: blocked, error */
  --transparent-primary: light-dark(#1d1d1f4d, #f5f5f74d);
  --stroke-primary: light-dark(#1d1d1f24, #f5f5f724);   /* strong hairline */
  --stroke-secondary: light-dark(#1d1d1f12, #f5f5f712); /* faint hairline between rows */
  --stroke-primary-on: light-dark(#f5f5f71a, #1d1d1f1a);
  --stroke-composer: light-dark(#f5f5f780, #1d1d1f80);  /* the callout's glass edge */
  --stroke-system-orange: #ff4d0026;
  --hover-wash: light-dark(#1d1d1f0d, #f5f5f70d);
  --hover-wash-primary-on: light-dark(#f9f9fa26, #1d1d1f14);

  /* The hero is light text over a dark photo in both themes. */
  --hero-surface: #161f39;
  --hero-text: #f5f5f7;
  --hero-text-muted: #f5f5f7cc;
  --hero-scrim-strong: rgb(22 31 57 / 0.78);
  --hero-scrim-soft: rgb(22 31 57 / 0.3);
  --hero-scrim-side: rgb(22 31 57 / 0.45);
  --hero-glass: rgb(22 31 57 / 0.42);
  --hero-glass-faint: rgb(22 31 57 / 0.35);
  --hero-glass-stroke: rgb(245 245 247 / 0.28);

  --mat-regular: light-dark(rgb(255 255 255 / 0.56), rgb(29 29 31 / 0.55));
  --mat-thin: light-dark(rgb(255 255 255 / 0.22), rgb(29 29 31 / 0.4));
  --mat-agent: light-dark(rgb(255 255 255 / 0.84), rgb(29 29 31 / 0.66));
  --mat-inverse: color-mix(in srgb, var(--fill-primary) 86%, transparent);  /* the nav: dark on light, light on dark */
  --hark-blur: blur(50px) saturate(1.6);
  --hark-shadow: 0 8px 40px #1d1d1f1f;

  --sans: "GT Standard", "GT Standard L", "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --lh: 1.3;                                            /* every text style is 130% */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 600;
  --size-caption: 12px;                                 /* the smallest text allowed */
  --size-meta: 13px;
  --size-small: 14px;
  --size-body: 15px;
  --size-prose: 16px;
  --size-heading: 20px;
  --size-figure: clamp(24px, 3vw, 32px);
  --size-title: clamp(26px, 3vw, 32px);
  --size-display: clamp(34px, 5vw, 48px);
  --size-lede: clamp(16px, 1.7vw, 20px);

  --type-caption: var(--weight-regular) var(--size-caption)/var(--lh) var(--sans);
  --type-tag: var(--weight-medium) var(--size-caption)/var(--lh) var(--sans);
  --type-small: var(--weight-regular) var(--size-small)/var(--lh) var(--sans);
  --type-label: var(--weight-medium) var(--size-small)/var(--lh) var(--sans);
  --type-body: var(--weight-regular) var(--size-body)/var(--lh) var(--sans);
  --type-body-strong: var(--weight-medium) var(--size-body)/var(--lh) var(--sans);
  --type-heading: var(--weight-medium) var(--size-heading)/var(--lh) var(--sans);
  --type-lede: var(--weight-medium) var(--size-lede)/var(--lh) var(--sans);
  --type-figure: var(--weight-regular) var(--size-figure)/var(--lh) var(--sans);
  --type-title: var(--weight-regular) var(--size-title)/var(--lh) var(--sans);
  --type-display: var(--weight-medium) var(--size-display)/var(--lh) var(--sans);
  --type-numeral: var(--weight-regular) 48px/1 var(--sans);

  --r-s: 12px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --r-pill: 100px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-quick: 160ms;
  --dur-draw: 1400ms;

  --page-max: 1120px;
  --gutter: clamp(16px, 3vw, 32px);                     /* the page's side padding */
  --tap: 44px;                                          /* the smallest touch target */
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fill-primary-on);
  color: var(--text-primary);
  font: var(--type-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
figure { margin-inline: 0; }
a { color: inherit; }
b, strong { font-weight: var(--weight-bold); }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
small { font-size: max(var(--size-caption), 0.85em); }
.sub { color: var(--text-secondary); }

:focus-visible { outline: 2px solid var(--fill-primary); outline-offset: 3px; border-radius: 6px; }

/* @component page */
.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
  padding-block: 12px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }

.glass {
  background: var(--mat-inverse);
  -webkit-backdrop-filter: var(--hark-blur);
  backdrop-filter: var(--hark-blur);
  border: 1px solid var(--stroke-primary-on);
}
.nav {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  z-index: 20;
  justify-self: center;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: var(--r-pill);
  box-shadow: var(--hark-shadow);
}
.nav :focus-visible { outline-color: var(--fill-primary-on); }
.seg {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: var(--r-pill);
  background: var(--fill-segment);
}
.seg::-webkit-scrollbar { display: none; }
.seg a {
  flex: none;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font: var(--type-label);
  color: var(--text-secondary-on);
  text-decoration: none;
  white-space: nowrap;
}
.seg a:hover { color: var(--text-primary-on); }
/* The active tab carries its own fill so its text is measured against it. */
.seg a[aria-current="true"] { background: var(--fill-primary-on); color: var(--text-primary); }
.theme-btn {
  flex: none;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--hover-wash-primary-on);
  color: var(--text-primary-on);
  cursor: pointer;
}
.theme-btn:hover { box-shadow: inset 0 0 0 100px var(--hover-wash-primary-on); }
.theme-btn::before { content: ""; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; background: linear-gradient(to right, light-dark(currentColor, transparent) 50%, light-dark(transparent, currentColor) 50%); }
@media (max-width: 599px) {
  .seg a { display: flex; align-items: center; min-height: var(--tap); }
  .theme-btn { width: var(--tap); height: var(--tap); }
}

/* @component footer */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke-secondary);
  font-size: var(--size-small);
  color: var(--text-secondary);
}
.foot strong { color: var(--text-primary); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px; }
.foot nav a {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--fill-tertiary);
  color: var(--text-primary);
  font: var(--type-tag);
  text-decoration: none;
}
.foot nav a:hover { box-shadow: inset 0 0 0 100px var(--hover-wash); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-xl);
  background: var(--fill-primary);
  color: var(--text-primary-on);
  box-shadow: var(--hark-shadow);
  font: var(--weight-medium) var(--size-body)/1.1 var(--sans);
  text-decoration: none;
}
.badge:hover { box-shadow: var(--hark-shadow), inset 0 0 0 100px var(--hover-wash-primary-on); }
.hark-mark { display: inline-grid; place-items: center; }
.hark-mark svg { display: block; }
@media (max-width: 599px) {
  .foot nav a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); }
  .badge { min-height: var(--tap); }
}

/* @component chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: var(--r-pill);
  font: var(--type-tag);
  max-width: 100%;
  background: var(--fill-tertiary);
  color: var(--text-secondary);
  vertical-align: middle;
}
.chip::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1.5px var(--text-tertiary);
}
.chip--solid { background: var(--fill-primary); color: var(--text-primary-on); }
.chip--solid::before { background: var(--fill-system-green); box-shadow: none; }
td .chip { white-space: nowrap; }
/* @component dot */
.dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font: var(--type-tag);
  color: var(--text-primary);
}
.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fill-system-green); }
tbody th .dot { display: flex; width: fit-content; }
/* @component pill */
.pill {
  display: inline-block;
  padding: 1px 8px;
  border-radius: var(--r-pill);
  background: var(--fill-tertiary);
  color: var(--text-secondary);
  font: var(--type-tag);
  white-space: normal;
  vertical-align: 1px;
}
/* @component button, link and links */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: var(--r-s);
  background: var(--fill-primary-on);
  color: var(--text-primary);
  border: 1px solid var(--stroke-primary);
  font: var(--type-tag);
  text-decoration: none;
  max-width: 100%;
  transition: box-shadow var(--dur-quick) ease;
}
.btn:hover { box-shadow: inset 0 0 0 100px var(--hover-wash); }
.btn[target="_blank"]::after { content: "\2197"; font-size: 11px; color: var(--text-secondary); }
.link {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--stroke-primary);
  text-underline-offset: 3px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.link:hover { text-decoration-color: currentColor; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
@media (pointer: coarse), (max-width: 599px) { .btn { min-height: var(--tap); padding-inline: 14px; } }
@media (max-width: 599px) {
  .link { display: inline-flex; align-items: center; min-width: var(--tap); min-height: var(--tap); margin: -13px 0; vertical-align: middle; }
}
/* @component text and fineprint */
.prose { display: grid; gap: 12px; max-width: 68ch; font-size: var(--size-prose); }
.fineprint { font-size: var(--size-small); color: var(--text-secondary); max-width: 70ch; }
/* @component hero */
.hero {
  position: relative;
  min-height: clamp(460px, 64vh, 660px);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--hero-text);
  isolation: isolate;
  box-shadow: var(--hark-shadow);
  background: var(--hero-surface);
}
/* Without a photo the hero is as tall as its copy, so the callout sits beside the copy instead of over it. */
.hero:not(:has(.hero__img)) { min-height: 0; background: var(--hero-surface) center / cover no-repeat; }
.hero:not(:has(.hero__img))::after { background: linear-gradient(to right, var(--hero-scrim-side) 0%, transparent 60%); }
@media (min-width: 761px) {
  .hero:not(:has(.hero__img)) > .callout { position: static; flex: none; align-self: flex-start; margin: clamp(16px, 2.4vw, 24px) clamp(16px, 2.4vw, 24px) clamp(16px, 2.4vw, 24px) auto; }
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 60%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--hero-scrim-strong) 0%, var(--hero-scrim-soft) 42%, transparent 66%),
    linear-gradient(to right, var(--hero-scrim-side) 0%, transparent 60%);
}
.hero__copy {
  display: grid;
  gap: 14px;
  max-width: 40rem;
  padding: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(28px, 3.4vw, 44px);
}
.hero__eyebrow {
  justify-self: start;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--hero-glass);
  border: 1px solid var(--hero-glass-stroke);
  -webkit-backdrop-filter: var(--hark-blur);
  backdrop-filter: var(--hark-blur);
  font: var(--type-label);
}
.hero h1 { font: var(--type-display); letter-spacing: 0; }
.hero h1 em { font-style: normal; }
.hero__sub { font: var(--type-lede); max-width: 34ch; }
.hero__meta { font-size: var(--size-small); color: var(--hero-text-muted); }
.hero__credit {
  position: absolute;
  right: clamp(20px, 3vw, 32px);
  bottom: 16px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--hero-glass-faint);
  -webkit-backdrop-filter: var(--hark-blur);
  backdrop-filter: var(--hark-blur);
  font: var(--type-caption);
  color: var(--hero-text-muted);
}
.hero > .callout {
  position: absolute;
  top: clamp(16px, 2.4vw, 24px);
  right: clamp(16px, 2.4vw, 24px);
  width: min(320px, calc(100% - 32px));
}
@media (max-width: 760px) {
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; min-height: 0; }
  .hero__img { object-position: 22% 50%; }
  .hero__copy { padding-top: 260px; padding-bottom: 28px; }
  .hero:not(:has(.hero__img)) .hero__copy { padding-top: clamp(24px, 4vw, 48px); }
  .hero__credit { top: 16px; right: 16px; bottom: auto; }
  .hero > .callout { position: static; width: auto; margin: 0 12px 12px; }
}
/* @component callout */
.callout {
  max-width: 420px;
  display: grid;
  gap: 10px;
  padding: 16px 18px 18px;
  border-radius: var(--r-l);
  background: var(--mat-agent);
  -webkit-backdrop-filter: var(--hark-blur);
  backdrop-filter: var(--hark-blur);
  border: 1px solid var(--stroke-composer);
  box-shadow: var(--hark-shadow);
  color: var(--text-primary);
  font-size: var(--size-small);
}
.callout__head { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-weight: var(--weight-medium); }
.callout__head svg { color: var(--text-primary); }
.callout__lead { font-size: var(--size-body); }
.callout .fineprint { font-size: var(--size-caption); }
.callout .btn { justify-self: start; }
/* @component stats */
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding-top: 8px; }
.stat {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 4px;
  padding: 12px 24px;
  border-left: 1px solid var(--stroke-secondary);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__fig { font: var(--type-figure); font-variant-numeric: tabular-nums; }
.stat__label { font-size: var(--size-small); color: var(--text-secondary); }
@media (max-width: 760px) {
  .stats { grid-auto-flow: row; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; padding-top: 0; }
  .stat { grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; gap: 12px; padding: 14px 0; border-left: 0; border-top: 1px solid var(--stroke-secondary); }
  .stat:first-child { border-top: 0; }
}
/* @component section */
.section {
  padding-block: clamp(40px, 6vw, 72px) clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--stroke-secondary);
  scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 72px); /* Clears the sticky .nav: its top offset plus its tallest height, 56px. */
  min-width: 0;
}
.section > * + * { margin-top: clamp(20px, 2.4vw, 28px); }
.section > .head + * { margin-top: 0; }
.head {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 10px 40px;
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.head__eyebrow { grid-column: 1 / -1; font: var(--type-label); color: var(--text-secondary); }
.head h2 { font: var(--type-title); }
.head__sub { justify-self: end; font-size: var(--size-body); color: var(--text-secondary); max-width: 44ch; text-align: right; }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; } .head__sub { justify-self: start; text-align: left; } }
/* @component table */
.table-wrap { margin-inline: -12px; padding-inline: 12px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font: var(--type-small); font-variant-numeric: tabular-nums; }
caption { text-align: left; font: var(--type-caption); color: var(--text-secondary); padding: 0 0 10px; }
th, td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--stroke-secondary); }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
thead th {
  font: var(--type-tag);
  color: var(--text-secondary);
  border-bottom-color: var(--stroke-primary);
  padding-top: 0;
  padding-bottom: 8px;
  white-space: nowrap;
}
tbody th { font-weight: var(--weight-bold); }
tbody tr:last-child > * { border-bottom: 0; }
.rowhead { white-space: nowrap; }
td small, th small { display: block; font: var(--type-caption); color: var(--text-secondary); margin-top: 2px; }
td.num { font-weight: var(--weight-bold); white-space: nowrap; }
td.num small { white-space: normal; }
.muted { color: var(--text-secondary); }
tr.is-highlight > * { background: var(--fill-tertiary); }
tr.is-highlight > :first-child { box-shadow: -12px 0 var(--fill-tertiary); }
tr.is-highlight > :last-child { box-shadow: 12px 0 var(--fill-tertiary); }
.after-table { margin-top: 20px; padding-inline: 12px; }
@media (max-width: 599px) {
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; }
  .table-wrap thead { display: none; }
  .table-wrap caption { display: block; text-align: left; }
  .table-wrap tbody tr { padding: 12px 0; border-bottom: 1px solid var(--stroke-secondary); }
  .table-wrap tbody tr.is-highlight { margin-inline: -12px; padding-inline: 12px; background: var(--fill-tertiary); }
  .table-wrap tbody tr.is-highlight > * { background: none; box-shadow: none; }
  .table-wrap tbody tr > * { border-bottom: 0; padding: 2px 0; }
  .table-wrap tbody td.is-empty { display: none; }
  .table-wrap tbody td[data-label] { display: grid; grid-template-columns: minmax(0, 8em) minmax(0, 1fr); column-gap: 12px; }
  .table-wrap tbody td[data-label]::before { content: attr(data-label) " "; color: var(--text-secondary); font-size: var(--size-caption); }
  .rowhead { white-space: normal; }
}
/* @component compare */
.compare { margin-inline: -12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.compare table { table-layout: fixed; min-width: calc(var(--compare-cols, 3) * 200px); }
.compare th, .compare td { scroll-snap-align: start; padding-inline: 12px; }
.compare thead th { font: var(--type-body-strong); color: var(--text-primary); white-space: normal; padding-top: 0; padding-bottom: 14px; border-bottom-color: var(--stroke-secondary); }
/* On light tiles a white product backdrop blends into the grey. */
.compare__media { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; width: 100%; aspect-ratio: 4 / 3; max-height: 240px; margin: 0 0 12px; padding: 16px; border-radius: var(--r-m); background: var(--fill-tertiary); }
.compare__media img { max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
.compare thead th > .chip { display: flex; width: fit-content; margin-top: 8px; }
.compare:has(.compare__media) thead th:not(:has(.compare__media))::before { content: ""; display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 240px; margin-bottom: 12px; border-radius: var(--r-m); background: var(--fill-tertiary); }
:root[data-theme="dark"] .compare__media img { mix-blend-mode: normal; border-radius: var(--r-s); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .compare__media img { mix-blend-mode: normal; border-radius: var(--r-s); } }
/* The header column shrinks to nothing on screen but stays in the table, so screen readers keep each value's row header. */
.js .compare tbody th[scope="row"], .js .compare thead td:first-child { width: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.js .compare td[data-label]::before { content: attr(data-label); content: attr(data-label) / ""; display: block; margin-bottom: 4px; font: var(--type-caption); color: var(--text-secondary); }
@media (max-width: 599px) { .compare table { min-width: calc(var(--compare-cols, 3) * 68vw); } }
/* @component steps */
.step {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(220px, 0.78fr);
  gap: 16px 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--stroke-secondary);
}
.step > * { min-width: 0; }
.steps > .step:last-child { border-bottom: 0; }
.step p + p { margin-top: 8px; }
.step__num { font: var(--type-numeral); color: var(--text-primary); font-variant-numeric: tabular-nums; }
.step__eyebrow { margin-top: 8px; font: var(--type-label); color: var(--text-secondary); }
.step h3 { font: var(--type-heading); margin-bottom: 12px; }
.step__pills { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.step__pills li {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--stroke-primary);
  font-size: var(--size-meta);
  color: var(--text-secondary);
  max-width: 100%;
}
.step__pills b { color: var(--text-primary); font-weight: var(--weight-bold); }
.step__panel {
  align-self: start;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--r-m);
  background: var(--fill-tertiary);
  font-size: var(--size-small);
}
.step__panel dt { font-size: var(--size-caption); color: var(--text-secondary); margin-bottom: 2px; }
.step__panel dd { margin: 0 0 12px; }
.step__panel dd:last-child { margin-bottom: 0; }
.step__panel .fineprint { display: block; margin-top: 6px; font-size: var(--size-caption); }
.step__panel .btn { margin-top: 8px; }
.step__figure { grid-column: 2 / span 2; margin: 0; }
.step__figure img { width: 100%; height: clamp(200px, 26vw, 320px); object-fit: cover; border-radius: var(--r-m); }
.step__figure figcaption { font-size: var(--size-caption); color: var(--text-secondary); padding-top: 10px; }
@media (min-width: 901px) {
  .step:not(:has(> .step__panel)) { grid-template-columns: 112px minmax(0, 1fr); }
  .step:not(:has(> .step__panel)) > .step__figure { grid-column: 2; }
}
@media (max-width: 900px) {
  .step { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step__figure { grid-column: 1; }
  .step__intro { display: flex; align-items: baseline; gap: 14px; }
  .step__num { font-size: 40px; }
  .step__eyebrow { margin-top: 0; }
}
/* @component checklist */
.checklist { display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr); column-gap: 20px; list-style: none; margin: 0; padding: 0; }
.checklist:not(:has(.checklist__note)) { grid-template-columns: minmax(0, 1fr) auto; }
.checklist > li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  row-gap: 8px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--stroke-secondary);
}
.checklist > li:last-child { border-bottom: 0; }
.checklist__item { grid-column: 1; font-weight: var(--weight-bold); }
.checklist > li > .chip { grid-column: 2; justify-self: start; }
.checklist:not(:has(.checklist__note)) > li > .chip { justify-self: end; }
.checklist__item small { display: block; font-weight: var(--weight-regular); font-size: var(--size-caption); color: var(--text-secondary); margin-top: 2px; }
.checklist__note { grid-column: 3; font-size: var(--size-small); color: var(--text-secondary); }
.checklist > li.is-done .checklist__item { text-decoration: line-through; text-decoration-color: var(--text-tertiary); }
@media (max-width: 760px) {
  .checklist { grid-template-columns: minmax(0, 1fr) auto; }
  .checklist > li > .chip { justify-self: end; }
  .checklist__note { grid-column: 1 / -1; }
}
/* @component breakdown */
.breakdown { max-width: 720px; }
@media (min-width: 901px) { .section > .breakdown, .section > .aside { max-width: calc((100% - 40px) * 1.65 / 2.65); } }
.breakdown dl { margin: 0; }
.breakdown .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--stroke-secondary);
}
.breakdown dt { font-size: var(--size-body); }
.breakdown dt small { display: block; color: var(--text-secondary); font-size: var(--size-meta); margin-top: 2px; }
.breakdown dd { margin: 0; font-weight: var(--weight-bold); font-size: var(--size-body); white-space: nowrap; font-variant-numeric: tabular-nums; }
.breakdown .row--total {
  margin-top: -1px;
  padding: 18px 0 0;
  border-top: 1px solid var(--stroke-primary);
  border-bottom: 0;
  flex-wrap: wrap;
  align-items: baseline;
}
.breakdown .row--total dt { font: var(--type-body-strong); }
.breakdown .row--total dd { font: var(--type-figure); white-space: normal; }
.breakdown .fineprint { margin-top: 16px; }
/* @component pair */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.pair:has(> :is(.callout, .aside):last-child) { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); column-gap: 40px; }
.pair > .callout { max-width: none; }
@media (max-width: 760px) { .pair, .pair:has(> :is(.callout, .aside):last-child) { grid-template-columns: minmax(0, 1fr); } }
/* @component timeline */
.timeline { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; column-gap: 28px; list-style: none; margin-inline: 0; margin-bottom: 0; padding: 0; }
.timeline > li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  row-gap: 8px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--stroke-secondary);
}
.timeline > li:first-child { padding-top: 0; }
.timeline > li:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline__when { display: flex; align-items: baseline; gap: 12px; font-weight: var(--weight-bold); }
.timeline__when::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--text-tertiary);
  transform: translateY(-1px);
}
.timeline > li.is-current .timeline__when::before { background: var(--fill-system-orange); box-shadow: 0 0 0 4px var(--stroke-system-orange); }
.timeline > li > p:has(> .chip:only-child) { justify-self: end; }
.timeline__what ul { margin: 0; padding-left: 18px; }
.timeline__what li { margin-bottom: 4px; }
.timeline__what li:last-child { margin-bottom: 0; }
.timeline__what p + p { margin-top: 6px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline > li > p:has(> .chip:only-child) { justify-self: start; }
  .timeline__what, .timeline > li > p:last-child { padding-left: 20px; }
}
/* @component cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards > div { padding: 22px 24px; border-radius: var(--r-m); background: var(--fill-tertiary); }
.cards h3 { font: var(--type-heading); margin-bottom: 10px; }
.cards ul { margin: 0; padding: 0; list-style: none; }
.cards li { padding: 10px 0; border-bottom: 1px solid var(--stroke-secondary); }
.cards li:last-child { border-bottom: 0; padding-bottom: 0; }
.cards__media { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; aspect-ratio: 4 / 3; max-height: 220px; margin: 0 0 14px; padding: 12px; border-radius: var(--r-s); background: var(--fill-primary-on); }
.cards__media img { max-width: 100%; max-height: 100%; mix-blend-mode: multiply; }
:root[data-theme="dark"] .cards__media img { mix-blend-mode: normal; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cards__media img { mix-blend-mode: normal; } }
.cards .quote { font: var(--type-heading); margin-bottom: 8px; text-wrap: balance; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cards:has(> :nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); } }
/* @component aside */
.aside {
  max-width: 62ch;
  padding: 20px 22px;
  border: 1.5px dashed var(--stroke-primary);
  border-radius: var(--r-m);
}
.aside h3 { font: var(--type-heading); margin-bottom: 6px; }
/* @component chart */
.chart { margin-bottom: 8px; padding: 20px 20px 12px; border-radius: var(--r-m); background: var(--fill-tertiary); overflow-x: auto; }
.chart__cap { font-size: var(--size-caption); color: var(--text-secondary); margin-bottom: 12px; }
.chart svg { width: 100%; height: auto; display: block; }
.pf-grid { stroke: var(--stroke-primary); stroke-width: 1; }
.pf-line { stroke: var(--fill-primary); stroke-width: 2.4; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.pf-fill { fill: var(--fill-primary); opacity: 0.07; }
.pf-dot { fill: var(--fill-primary-on); stroke: var(--fill-primary); stroke-width: 2; }
.pf-alt { fill: var(--text-primary); font: var(--weight-bold) var(--size-body) var(--sans); text-anchor: middle; }
.pf-name { fill: var(--text-secondary); font: var(--weight-medium) var(--size-meta) var(--sans); text-anchor: middle; }
.pf-num { fill: var(--text-tertiary); font: var(--weight-medium) var(--size-meta) var(--sans); text-anchor: middle; }
.pf-axis { fill: var(--text-secondary); font: var(--weight-regular) var(--size-caption) var(--sans); }
.js .chart:not(.is-in) .pf-line { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.js .chart.is-in .pf-line { stroke-dasharray: 1400; stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur-draw) var(--ease-out) 120ms; }
@media (prefers-reduced-motion: reduce) { .js .chart .pf-line { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; } }
/* @component figure */
.band { margin-inline: 0; margin-bottom: 0; }
.band img { width: 100%; height: clamp(240px, 40vw, 520px); object-fit: cover; border-radius: var(--r-xl); }
.band figcaption { font-size: var(--size-caption); color: var(--text-secondary); padding: 10px 4px 0; }
.is-portrait img { width: auto; max-width: 100%; height: clamp(320px, 48vw, 560px); }



.hero:not(:has(.hero__img)) { background-image: url("../img/img-02-bac6.webp"); }



      /* ===== Crown Inn brand: royal blue, gold, cream, taupe ===== */
      :root {
        --x-blue: #1a1ea6;
        --x-blue-deep: #13168a;
        --x-gold: #d4af37;
        --x-cream: #f8f4e7;
        --x-taupe: #d9d1c6;
        --x-taupe-soft: #ebe5da;
        --x-white: #ffffff;
        /* legacy names, mapped onto the brand */
        --x-ivory: var(--x-cream);
        --x-paper: var(--x-cream);
        --x-sand: var(--x-taupe-soft);
        --x-char: var(--x-blue);
        --x-ink: #23253f;
        --x-muted: #585a72;
        --x-line: var(--x-taupe);
        --x-gold-soft: var(--x-gold);
        --x-gold-ink: var(--x-blue);
        --x-green: #2f7a4f;
        --x-red: #a8432f;
        --x-serif: "Cormorant Garamond", "Times New Roman", serif;
        --x-caps: "Cinzel", "Cormorant Garamond", serif;
        --x-sans: "Inter", system-ui, -apple-system, sans-serif;
        --x-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
        --x-pad: clamp(20px, 5vw, 64px);
        --x-max: 1240px;
        --x-hdr: 76px;
        --x-lap: 48px;
        --x-r: 20px;
        --x-shadow: 0 24px 48px -28px rgba(26, 30, 166, 0.28), 0 2px 10px rgba(35, 37, 63, 0.05);
        --x-shadow-lift: 0 34px 60px -30px rgba(26, 30, 166, 0.38), 0 4px 14px rgba(35, 37, 63, 0.07);
        color-scheme: light;
      }
      @media (min-width: 1100px) { :root { --x-lap: 56px; } }
      html { scroll-padding-top: var(--x-hdr); }
      body {
        background: var(--x-cream);
        color: var(--x-ink);
        font: 400 16px/1.65 var(--x-sans);
        letter-spacing: 0.005em;
      }
      body.x-lock { overflow: hidden; }
      .x-site { min-height: 100vh; }
      .x-wrap { max-width: var(--x-max); margin: 0 auto; padding-inline: var(--x-pad); }
      .x-skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--x-blue); color: #fff; padding: 10px 16px; border-radius: 999px; }
      .x-skip:focus { left: 8px; }
      :focus-visible { outline: 2px solid var(--x-blue); outline-offset: 3px; }

      .x-label {
        font: 600 12px/1.4 var(--x-caps);
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: var(--x-blue);
        margin: 0 0 16px;
      }
      .x-label--light { color: var(--x-gold); }
      .x-h2 {
        font: 500 clamp(36px, 5vw, 58px)/1.06 var(--x-serif);
        letter-spacing: -0.005em;
        color: var(--x-blue);
        margin: 0;
      }
      .x-h2 em { font-style: italic; font-weight: 400; color: var(--x-blue); }
      .x-lead { font: 400 clamp(16px, 1.5vw, 18px)/1.7 var(--x-sans); color: var(--x-muted); max-width: 54ch; }
      .x-rule { width: 64px; height: 1px; background: var(--x-gold); border: 0; margin: 26px 0; }

      /* centred section titles, as in the reference */
      .x-center { text-align: center; justify-items: center; }
      .x-center .x-lead { margin-inline: auto; }
      .x-orule { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px 0 0; color: var(--x-gold); }
      .x-orule::before, .x-orule::after { content: ""; width: 56px; height: 1px; background: currentColor; }
      .x-orule span { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }

      /* buttons: royal blue pills, gold on hover */
      .x-btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 10px;
        min-height: 48px; padding: 0 28px;
        font: 600 12px/1 var(--x-sans); letter-spacing: 0.14em; text-transform: uppercase;
        text-decoration: none; cursor: pointer; border-radius: 999px;
        border: 1px solid var(--x-blue); background: var(--x-blue); color: var(--x-white);
        transition: background 0.3s var(--x-ease), color 0.3s var(--x-ease), border-color 0.3s var(--x-ease), box-shadow 0.3s var(--x-ease);
      }
      .x-btn:hover { background: var(--x-gold); border-color: var(--x-gold); color: var(--x-blue); box-shadow: 0 10px 24px -12px rgba(212, 175, 55, 0.9); }
      .x-btn--line { background: transparent; color: var(--x-blue); }
      .x-btn--line:hover { background: var(--x-gold); border-color: var(--x-gold); color: var(--x-blue); }
      .x-btn--dark { background: var(--x-blue); border-color: var(--x-blue); color: var(--x-white); }
      .x-btn--dark:hover { background: var(--x-gold); border-color: var(--x-gold); color: var(--x-blue); }
      .x-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
      .x-textlink {
        font: 600 12px/1 var(--x-sans); letter-spacing: 0.16em; text-transform: uppercase;
        color: var(--x-blue); text-decoration: none; padding: 14px 0; display: inline-flex; gap: 10px; align-items: center;
        border-bottom: 1px solid var(--x-gold); background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer;
      }
      .x-textlink:hover { color: var(--x-blue-deep); border-bottom-color: var(--x-blue); }

      /* brand pattern helpers */
      .x-divider { height: 28px; background: url("../img/img-03-0390.png") center / auto 28px repeat-x; }
      .x-patterned { position: relative; isolation: isolate; }
      .x-patterned::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/img-04-2653.png") 0 0 / 180px auto repeat; opacity: 0.38; pointer-events: none; }

      /* ===== header ===== */
      .x-hdr {
        position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--x-hdr);
        color: var(--x-blue); transition: background 0.45s var(--x-ease), box-shadow 0.45s var(--x-ease), height 0.45s var(--x-ease);
      }
      .x-hdr::before {
        content: ""; position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(to bottom, rgba(248, 244, 231, 0.85), rgba(248, 244, 231, 0));
        transition: opacity 0.45s var(--x-ease);
      }
      .x-hdr.is-solid { background: var(--x-cream); box-shadow: 0 1px 0 var(--x-taupe), 0 14px 30px -24px rgba(26, 30, 166, 0.35); --x-hdr: 68px; height: 68px; }
      .x-hdr.is-solid::before { opacity: 0; }
      .x-hdr__in { position: relative; height: 100%; max-width: 1400px; margin: 0 auto; padding-inline: var(--x-pad); display: flex; align-items: center; gap: 24px; }
      .x-logo { display: flex; align-items: center; flex: none; }
      .x-logo img { height: 50px; width: auto; filter: none; }
      .x-nav { display: none; margin-left: auto; gap: clamp(16px, 2vw, 30px); }
      .x-nav a {
        font: 500 12px/1 var(--x-sans); letter-spacing: 0.16em; text-transform: uppercase;
        color: var(--x-blue); text-decoration: none; padding: 16px 0; position: relative;
      }
      .x-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--x-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--x-ease); }
      .x-nav a:hover, .x-nav a.is-active { color: var(--x-blue-deep); }
      .x-nav a:hover::after, .x-nav a.is-active::after { transform: scaleX(1); }
      .x-hdr .x-book { margin-left: auto; min-height: 44px; padding: 0 22px; }
      .x-burger { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--x-blue); cursor: pointer; padding: 0; }
      .x-burger span, .x-burger span::before, .x-burger span::after { display: block; width: 24px; height: 1px; background: currentColor; position: relative; transition: transform 0.35s var(--x-ease), background 0.2s; }
      .x-burger span::before, .x-burger span::after { content: ""; position: absolute; left: 0; }
      .x-burger span::before { top: -7px; }
      .x-burger span::after { top: 7px; }
      .x-burger[aria-expanded="true"] span { background: transparent; }
      .x-burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
      .x-burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
      .x-menu {
        position: fixed; inset: 0; z-index: 55; background: var(--x-cream); color: var(--x-blue);
        padding: calc(var(--x-hdr) + 24px) var(--x-pad) 40px; display: flex; flex-direction: column; gap: 4px;
        opacity: 0; visibility: hidden; transition: opacity 0.4s var(--x-ease), visibility 0.4s;
        overflow-y: auto;
      }
      .x-menu.is-open { opacity: 1; visibility: visible; }
      .x-menu a:not(.x-btn) { font: 500 32px/1.2 var(--x-serif); color: var(--x-blue); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--x-taupe); }
      .x-menu .x-btn { margin-top: 28px; }
      .x-menu__meta { margin-top: auto; padding-top: 28px; font-size: 14px; color: var(--x-muted); }
      .x-menu__meta a { color: var(--x-blue) !important; font: 500 14px/1.6 var(--x-sans) !important; border: 0 !important; padding: 0 !important; }
      @media (min-width: 1080px) {
        .x-nav { display: flex; }
        .x-hdr .x-book { margin-left: 8px; }
        .x-burger, .x-menu { display: none; }
      }
      @media (max-width: 1079px) { .x-hdr .x-book { display: none; } .x-burger { margin-left: auto; } }

      /* ===== hero ===== */
      .x-hero { position: relative; z-index: 2; min-height: min(92vh, 900px); min-height: min(92svh, 900px); color: var(--x-blue); display: flex; flex-direction: column; text-align: center; background: var(--x-cream); }
      .x-hero__bg { position: absolute; inset: 0; overflow: hidden; }
      .x-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: x-heroZoom 14s var(--x-ease) forwards; }
      @keyframes x-heroZoom { to { transform: scale(1); } }
      .x-hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 44%, rgba(248, 244, 231, 0.86) 0%, rgba(248, 244, 231, 0.6) 55%, rgba(248, 244, 231, 0.38) 100%), linear-gradient(180deg, rgba(248, 244, 231, 0.5) 0%, rgba(248, 244, 231, 0) 40%); }
      .x-hero__in { position: relative; z-index: 2; flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: calc(var(--x-hdr) + 56px) var(--x-pad) 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
      .x-hero .x-label { display: inline-flex; align-items: center; gap: 14px; }
      .x-hero .x-label::before, .x-hero .x-label::after { content: ""; width: 28px; height: 1px; background: var(--x-gold); }
      .x-hero h1 { font: 500 clamp(46px, 8vw, 100px)/1 var(--x-serif); letter-spacing: -0.01em; color: var(--x-blue); margin: 0 0 18px; }
      .x-hero h1 em { font-style: italic; font-weight: 400; color: var(--x-blue); }
      .x-hero__sub { font: 400 clamp(16px, 1.7vw, 19px)/1.55 var(--x-sans); color: var(--x-ink); max-width: 40ch; margin: 0; }

      /* booking bar: frosted glass, overlapping the hero's lower edge */
      .x-hero__barwrap { position: relative; z-index: 3; width: 100%; max-width: 1180px; margin: 0 auto calc(-1 * var(--x-lap)); padding-inline: var(--x-pad); }
      .x-bar {
        display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 18px; text-align: left;
        background: rgba(255, 255, 255, 0.74);
        border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 24px;
        box-shadow: var(--x-shadow-lift);
        -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
      }
      .x-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; }
      .x-field label, .x-field .x-field__lab { font: 600 12px/1.3 var(--x-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--x-blue); }
      .x-field input, .x-field select {
        appearance: none; -webkit-appearance: none; background: var(--x-white); border: 1px solid var(--x-taupe); border-radius: 12px; color: var(--x-ink);
        font: 400 16px/1.3 var(--x-sans); padding: 0 12px; width: 100%; min-height: 48px; color-scheme: light;
      }
      .x-field input:focus { outline: none; border-color: var(--x-blue); box-shadow: 0 0 0 3px rgba(26, 30, 166, 0.14); }
      .x-field--full { grid-column: 1 / -1; }
      .x-bar .x-btn { grid-column: 1 / -1; min-height: 52px; }
      .x-step-ctl { display: flex; align-items: center; gap: 4px; }
      .x-field .x-step-ctl { justify-content: space-between; background: var(--x-white); border: 1px solid var(--x-taupe); border-radius: 12px; min-height: 48px; padding: 0 2px; }
      .x-step-ctl button {
        width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit;
        font: 400 18px/1 var(--x-sans); cursor: pointer; display: grid; place-items: center; padding: 0;
        position: relative;
      }
      .x-field .x-step-ctl button { border: 0; color: var(--x-blue); }
      .x-step-ctl button::before { content: ""; position: absolute; inset: -4px; }
      .x-step-ctl button:hover { background: var(--x-cream); color: var(--x-blue); }
      .x-step-ctl button[disabled] { opacity: 0.3; cursor: default; }
      .x-step-ctl output { min-width: 26px; text-align: center; font: 500 16px/1 var(--x-sans); color: var(--x-ink); }
      @media (max-width: 420px) { .x-field--date { grid-column: 1 / -1; } }
      @media (min-width: 640px) {
        .x-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 20px; }
        .x-field--full, .x-bar .x-btn { grid-column: auto; }
        .x-bar .x-btn { align-self: end; min-height: 48px; }
      }
      @media (min-width: 1100px) {
        .x-bar { grid-template-columns: 1.25fr 1.25fr 1fr 1fr 1fr auto; gap: 14px; padding: 22px 24px; border-radius: 28px; }
        .x-bar .x-btn { padding: 0 26px; }
      }

      /* ===== sections ===== */
      .x-sec { padding-block: clamp(80px, 11vw, 150px); }
      .x-sec--first { padding-top: calc(var(--x-lap) + clamp(72px, 10vw, 140px)); }
      .x-sec--ivory { background: var(--x-cream); }
      .x-sec--taupe { background: var(--x-taupe-soft); }
      .x-sechead { display: grid; gap: 14px; margin-bottom: clamp(44px, 5.5vw, 72px); }
      @media (min-width: 900px) { .x-sechead--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; } }

      /* reveal */
      .x-js .x-reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--x-ease), transform 1.1s var(--x-ease); }
      .x-js .x-reveal.is-in { opacity: 1; transform: none; }
      .x-js .x-reveal[data-d="1"] { transition-delay: 0.12s; }
      .x-js .x-reveal[data-d="2"] { transition-delay: 0.24s; }
      .x-js .x-reveal[data-d="3"] { transition-delay: 0.36s; }
      .x-zoom { overflow: hidden; }
      .x-zoom img { transition: transform 1.6s var(--x-ease); }
      .x-zoom:hover img, a:hover .x-zoom img, button:hover .x-zoom img { transform: scale(1.06); }
      @media (prefers-reduced-motion: reduce) {
        .x-js .x-reveal { opacity: 1; transform: none; transition: none; }
        .x-hero__img { animation: none; transform: none; }
        .x-zoom img { transition: none; }
        .x-zoom:hover img { transform: none; }
      }
      /* stay */
      .x-stay { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
      .x-stay__media { position: relative; padding: 16px; }
      .x-stay__media::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--x-gold); border-radius: 28px; }
      .x-stay__media .x-zoom { aspect-ratio: 4 / 5; border-radius: var(--x-r); position: relative; z-index: 1; box-shadow: var(--x-shadow); }
      .x-stay__media .x-zoom img { width: 100%; height: 100%; object-fit: cover; }
      .x-orn { position: absolute; z-index: 2; width: clamp(68px, 9vw, 104px); height: auto; mix-blend-mode: multiply; pointer-events: none; }
      .x-orn--tl { top: -12px; left: -12px; }
      .x-stay__copy p.x-body { font: 500 clamp(20px, 2vw, 24px)/1.55 var(--x-serif); color: var(--x-ink); max-width: 36ch; }
      @media (min-width: 900px) { .x-stay { grid-template-columns: 1.05fr 1fr; } .x-stay__media .x-zoom { aspect-ratio: 5 / 6; } }
      .x-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(64px, 8vw, 110px); }
      .x-stat { padding: 26px 22px 24px; background: var(--x-white); border: 1px solid var(--x-taupe); border-radius: var(--x-r); text-align: center; }
      .x-stat b { display: block; font: 700 clamp(38px, 5vw, 60px)/1 var(--x-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--x-blue); }
      .x-stat b small { font-size: 0.42em; color: var(--x-blue); vertical-align: 0.8em; margin-left: 4px; }
      .x-stat span { display: block; margin-top: 10px; font: 600 12px/1.4 var(--x-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--x-muted); }
      @media (min-width: 900px) { .x-stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

      /* rooms: white rounded cards */
      .x-rooms { display: grid; gap: 24px; }
      @media (min-width: 680px) { .x-rooms { grid-template-columns: 1fr 1fr; } }
      @media (min-width: 1200px) { .x-rooms { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
      .x-room { display: flex; flex-direction: column; background: var(--x-white); border: 1px solid var(--x-taupe); border-radius: var(--x-r); overflow: hidden; box-shadow: var(--x-shadow); transition: transform 0.45s var(--x-ease), box-shadow 0.45s var(--x-ease); }
      .x-room:hover { transform: translateY(-4px); box-shadow: var(--x-shadow-lift); }
      .x-room .x-zoom { aspect-ratio: 4 / 3; position: relative; }
      .x-room .x-zoom img { width: 100%; height: 100%; object-fit: cover; }
      .x-room__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
      .x-room__tag { position: absolute; top: 14px; left: 14px; background: var(--x-blue); color: var(--x-white); font: 600 12px/1 var(--x-sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
      .x-room h3 { font: 600 28px/1.1 var(--x-serif); color: var(--x-blue); margin: 0 0 8px; }
      .x-room__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font: 500 12px/1.4 var(--x-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--x-muted); margin: 0 0 12px; }
      .x-room__meta span + span::before { content: "·"; margin-right: 12px; color: var(--x-gold); }
      .x-room p { font-size: 15px; line-height: 1.6; color: var(--x-muted); margin: 0 0 18px; }
      .x-room__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--x-taupe); display: grid; gap: 16px; }
      .x-from { margin: 0 0 4px !important; font: 600 12px/1.2 var(--x-sans) !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--x-muted) !important; }
      .x-price { font: 400 14px/1.3 var(--x-sans); color: var(--x-muted); margin: 0; }
      .x-price b { font: 600 30px/1 var(--x-serif); color: var(--x-blue); white-space: nowrap; }
      .x-room .x-price { margin: 0; font-size: 14px; }
      .x-room .x-btn { justify-self: start; min-height: 44px; padding: 0 24px; }

      /* experiences: white cards on the soft pattern */
      .x-extras { display: grid; grid-template-columns: 1fr; gap: 18px; }
      @media (min-width: 640px) { .x-extras { grid-template-columns: 1fr 1fr; } }
      @media (min-width: 1000px) { .x-extras { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
      .x-extra { padding: 30px 28px 32px; background: var(--x-white); border: 1px solid var(--x-taupe); border-radius: var(--x-r); box-shadow: var(--x-shadow); }
      .x-extra svg { width: 52px; height: 52px; padding: 12px; box-sizing: border-box; border-radius: 50%; background: var(--x-cream); border: 1px solid var(--x-gold); stroke: var(--x-blue); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
      .x-extra h3 { font: 600 25px/1.15 var(--x-serif); margin: 0 0 8px; color: var(--x-blue); }
      .x-extra p { font-size: 15px; color: var(--x-muted); margin: 0; max-width: 34ch; }

      /* events: a bold Multani tile band behind the heading */
      .x-sec--events { padding-top: 0; }
      .x-band { background: var(--x-blue) url("../img/img-05-569d.png") center / 170px auto repeat; padding: clamp(56px, 8vw, 96px) var(--x-pad); display: grid; place-items: center; margin-bottom: clamp(56px, 7vw, 96px); box-shadow: inset 0 3px 0 var(--x-gold), inset 0 -3px 0 var(--x-gold); }
      .x-band__card { background: var(--x-cream); border: 1px solid var(--x-gold); border-radius: var(--x-r); padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 64px); text-align: center; max-width: 640px; box-shadow: 0 0 0 6px var(--x-cream), 0 0 0 7px var(--x-gold), 0 30px 60px -20px rgba(9, 12, 70, 0.55); }
      .x-band__card .x-label { margin-bottom: 12px; }
      .x-events { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
      @media (min-width: 960px) { .x-events { grid-template-columns: 1.2fr 1fr; } }
      .x-events .x-zoom { aspect-ratio: 4 / 3; border-radius: var(--x-r); box-shadow: var(--x-shadow); }
      .x-events .x-zoom img { width: 100%; height: 100%; object-fit: cover; }
      .x-venues { display: grid; gap: 14px; margin: 0 0 32px; }
      .x-venue { padding: 22px 24px; background: var(--x-white); border: 1px solid var(--x-taupe); border-radius: 16px; }
      .x-venue h3 { font: 600 25px/1.2 var(--x-serif); color: var(--x-blue); margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
      .x-venue h3 span { font: 600 12px/1.3 var(--x-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--x-muted); }
      .x-venue p { font-size: 15px; color: var(--x-muted); margin: 0; }

      /* gallery */
      .x-gallery { columns: 2; column-gap: 12px; }
      @media (min-width: 900px) { .x-gallery { columns: 3; column-gap: 20px; } }
      .x-gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; margin: 0 0 12px; break-inside: avoid; }
      @media (min-width: 900px) { .x-gallery button { margin-bottom: 20px; } }
      .x-gallery .x-zoom { aspect-ratio: 4 / 3; border-radius: 16px; box-shadow: var(--x-shadow); }
      .x-gallery .x-zoom.is-tall { aspect-ratio: 3 / 4; }
      .x-gallery .x-zoom.is-sq { aspect-ratio: 1; }
      .x-gallery img { width: 100%; height: 100%; object-fit: cover; }
      .x-lb { position: fixed; inset: 0; z-index: 120; background: rgba(10, 12, 60, 0.94); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
      .x-lb.is-open { display: flex; }
      .x-lb__img img { max-width: min(92vw, 1400px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; }
      .x-lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, 0.6); background: rgba(26, 30, 166, 0.6); color: #fff; font: 300 22px/1 var(--x-sans); cursor: pointer; display: grid; place-items: center; }
      .x-lb button:hover { background: var(--x-gold); color: var(--x-blue); }
      .x-lb__close { top: 16px; right: 16px; }
      .x-lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
      .x-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
      .x-lb__count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(248, 244, 231, 0.8); font: 500 12px/1 var(--x-sans); letter-spacing: 0.24em; }

      /* reviews: full-width rating band over a dark photo */
      .x-reviews { position: relative; isolation: isolate; background-color: #0c0f52; color: var(--x-white); padding-block: clamp(84px, 11vw, 150px); overflow: hidden; }
      .x-reviews__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
      .x-reviews::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 12, 64, 0.9) 0%, rgba(14, 17, 92, 0.8) 45%, rgba(10, 12, 64, 0.72) 100%); }
      .x-reviews::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: url("../img/img-03-0390.png") center / auto 28px repeat-x; }
      .x-revgrid { display: grid; gap: 40px; align-items: center; }
      @media (min-width: 900px) { .x-revgrid { grid-template-columns: minmax(240px, 0.8fr) 2fr; gap: 72px; } }
      .x-rating { display: grid; gap: 10px; justify-items: start; }
      @media (min-width: 900px) { .x-rating { padding-right: 56px; border-right: 1px solid rgba(212, 175, 55, 0.45); } }
      .x-rating b { font: 500 clamp(96px, 13vw, 168px)/0.85 var(--x-serif); color: var(--x-white); letter-spacing: -0.02em; }
      .x-stars { color: var(--x-gold); letter-spacing: 0.18em; font-size: 22px; }
      .x-rating small { display: block; font: 600 12px/1.5 var(--x-sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }
      .x-revh { font: 500 22px/1.3 var(--x-serif); color: rgba(255, 255, 255, 0.9); margin: 14px 0 0; max-width: 16ch; }
      .x-revh em { color: var(--x-gold); }
      .x-slider { position: relative; min-width: 0; }
      .x-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; scroll-behavior: smooth; }
      .x-track::-webkit-scrollbar { display: none; }
      .x-quote { flex: 0 0 100%; scroll-snap-align: start; margin: 0; padding: 0 2px; }
      .x-quote blockquote { margin: 0; font: 500 clamp(26px, 3.4vw, 42px)/1.28 var(--x-serif); color: var(--x-white); max-width: 32ch; }
      .x-quote blockquote::before { content: "\201C"; display: block; font: 400 88px/0.6 var(--x-serif); color: var(--x-gold); margin-bottom: 14px; }
      .x-quote figcaption { margin-top: 28px; font: 600 12px/1.4 var(--x-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--x-gold); }
      .x-quote figcaption span { color: rgba(255, 255, 255, 0.78); letter-spacing: 0.12em; }
      .x-slider__ctl { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
      .x-slider__ctl button.x-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.45); background: transparent; cursor: pointer; font: 300 20px/1 var(--x-sans); color: var(--x-white); }
      .x-slider__ctl button.x-arrow:hover { border-color: var(--x-gold); background: var(--x-gold); color: var(--x-blue); }
      .x-dots { display: flex; gap: 4px; margin-left: 8px; }
      .x-dots button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; }
      .x-dots button::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.4); transition: background 0.3s; }
      .x-dots button[aria-current="true"]::after { background: var(--x-gold); height: 2px; }

      /* contact */
      .x-contact { display: grid; gap: clamp(40px, 5vw, 72px); }
      @media (min-width: 960px) { .x-contact { grid-template-columns: 1fr 1.25fr; } }
      .x-dl { margin: 0 0 32px; display: grid; gap: 0; background: var(--x-white); border: 1px solid var(--x-taupe); border-radius: var(--x-r); padding: 4px 22px; }
      .x-dl div { padding: 16px 0; border-bottom: 1px solid var(--x-taupe); display: grid; gap: 4px; }
      .x-dl div:last-child { border-bottom: 0; }
      @media (min-width: 560px) { .x-dl div { grid-template-columns: 120px 1fr; gap: 20px; align-items: center; } }
      .x-dl dt { font: 600 12px/1.6 var(--x-caps); letter-spacing: 0.18em; text-transform: uppercase; color: var(--x-blue); }
      .x-dl dd { margin: 0; font-size: 16px; }
      .x-dl a { color: var(--x-ink); text-decoration: none; border-bottom: 1px solid var(--x-gold); }
      .x-map { min-height: 420px; background: var(--x-taupe-soft); position: relative; border-radius: var(--x-r); overflow: hidden; border: 1px solid var(--x-taupe); box-shadow: var(--x-shadow); }
      .x-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.7) contrast(0.96); }

      /* footer: royal blue, border strip on top, skyline signature */
      .x-sign { background: var(--x-cream); border-top: 1px solid var(--x-taupe); text-align: center; padding: clamp(48px, 7vw, 80px) var(--x-pad) clamp(40px, 6vw, 64px); }
      .x-sign img { width: min(280px, 72vw); height: auto; display: block; margin: 0 auto 18px; mix-blend-mode: multiply; }
      .x-sign__tag { font: 500 clamp(26px, 3.4vw, 38px)/1.2 var(--x-serif); color: var(--x-blue); margin: 0 0 10px; }
      .x-sign__tag em { font-style: italic; font-weight: 400; }
      .x-sign__sub { font: 600 12px/1.4 var(--x-caps); letter-spacing: 0.3em; text-transform: uppercase; color: var(--x-blue); margin: 0; }
      .x-foot { background: var(--x-blue); color: rgba(255, 255, 255, 0.84); padding: 0 0 calc(36px + env(safe-area-inset-bottom)); font-size: 15px; }
      .x-foot::before { content: ""; display: block; height: 28px; background: url("../img/img-03-0390.png") center / auto 28px repeat-x; margin-bottom: clamp(56px, 8vw, 96px); }
      .x-foot__grid { display: grid; gap: 44px; }
      @media (min-width: 900px) { .x-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
      .x-foot img { height: 64px; width: auto; margin-bottom: 22px; }
      .x-foot__tag { font: 500 26px/1.35 var(--x-serif); color: var(--x-white); max-width: 22ch; }
      .x-foot h4 { font: 600 12px/1 var(--x-caps); letter-spacing: 0.26em; text-transform: uppercase; color: var(--x-gold); margin: 0 0 16px; }
      .x-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
      .x-foot ul a { color: inherit; text-decoration: none; display: inline-block; padding: 10px 0; }
      .x-foot ul a:hover { color: var(--x-gold); }
      .x-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
      .x-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, 0.55); display: grid; place-items: center; color: var(--x-white); }
      .x-social a:hover { background: var(--x-gold); border-color: var(--x-gold); color: var(--x-blue); }
      .x-social svg { width: 18px; height: 18px; fill: currentColor; }
      .x-foot__base { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(212, 175, 55, 0.4); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, 0.76); }
      .x-foot__base a { color: inherit; }

      /* floating actions */
      .x-wa {
        position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 52;
        width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
        box-shadow: 0 10px 26px -6px rgba(18, 140, 70, 0.55), 0 2px 6px rgba(0, 0, 0, 0.12);
        transition: transform 0.3s var(--x-ease), bottom 0.45s var(--x-ease), opacity 0.3s var(--x-ease);
        -webkit-tap-highlight-color: transparent;
      }
      .x-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: x-waPulse 2.4s ease-out infinite; }
      @keyframes x-waPulse { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
      .x-wa:hover { transform: translateY(-3px); }
      .x-wa:focus-visible { outline: 3px solid var(--x-blue); outline-offset: 4px; }
      .x-wa svg { width: 30px; height: 30px; fill: #fff; position: relative; }
      @media (min-width: 900px) { .x-wa { right: 28px; bottom: calc(28px + env(safe-area-inset-bottom)); width: 60px; height: 60px; } }
      @media (prefers-reduced-motion: reduce) { .x-wa::before { animation: none; opacity: 0; } .x-wa { transition: none; } .x-wa:hover { transform: none; } }
      .x-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 244, 231, 0.97); color: var(--x-ink); border-top: 2px solid var(--x-gold); box-shadow: 0 -12px 30px -18px rgba(26, 30, 166, 0.35); transform: translateY(110%); transition: transform 0.45s var(--x-ease); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
      .x-mbar.is-on { transform: none; }
      .x-mbar p { margin: 0; font-size: 13px; line-height: 1.3; color: var(--x-muted); flex: 1; }
      .x-mbar p b { display: block; font: 600 20px/1.1 var(--x-serif); color: var(--x-blue); }
      .x-mbar .x-btn { min-height: 48px; padding: 0 22px; }
      /* mobile: --x-mbar-h is the bar's measured height (it already includes the safe-area padding) */
      @media (max-width: 899px) {
        .x-wa.is-raised { bottom: calc(var(--x-mbar-h, calc(78px + env(safe-area-inset-bottom))) + 14px); }
        .x-foot { padding-bottom: calc(var(--x-mbar-h, 90px) + 96px); }
      }
      @media (min-width: 900px) { .x-mbar { display: none; } }

      /* ===== booking panel ===== */
      .x-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(14, 12, 10, 0.55); opacity: 0; visibility: hidden; transition: opacity 0.45s var(--x-ease), visibility 0.45s; }
      .x-scrim.is-open { opacity: 1; visibility: visible; }
      .x-panel {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(1040px, 100%);
        background: var(--x-paper); color: var(--x-ink); display: flex; flex-direction: column;
        transform: translateX(100%); visibility: hidden; transition: transform 0.6s var(--x-ease), visibility 0.6s;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.2);
      }
      .x-panel.is-open { transform: none; visibility: visible; }
      .x-panel__top { padding: 18px var(--x-pad-p, 24px) 0; border-bottom: 1px solid var(--x-line); background: var(--x-paper); }
      @media (min-width: 700px) { .x-panel { --x-pad-p: 40px; } }
      .x-panel__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
      .x-panel__title { font: 400 30px/1.1 var(--x-serif); margin: 0; }
      .x-panel__title small { display: block; font: 500 12px/1.4 var(--x-sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--x-gold-ink); margin-bottom: 6px; }
      .x-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--x-line); background: none; cursor: pointer; font: 300 22px/1 var(--x-sans); color: var(--x-ink); flex: none; }
      .x-close:hover { border-color: var(--x-gold); background: var(--x-gold); }
      .x-prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: s; }
      .x-prog li { padding: 0 0 14px; border-bottom: 2px solid var(--x-line); font: 500 12px/1.3 var(--x-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--x-muted); display: flex; gap: 8px; align-items: center; margin-bottom: -1px; }
      .x-prog li::before { counter-increment: s; content: counter(s); width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 12px; letter-spacing: 0; }
      .x-prog li.is-on { color: var(--x-ink); border-color: var(--x-gold); }
      .x-prog li.is-done { color: var(--x-gold-ink); border-color: var(--x-gold); }
      .x-prog li.is-done::before { content: "\2713"; background: var(--x-gold); color: var(--x-char); border-color: var(--x-gold); }
      @media (max-width: 520px) { .x-prog li span { display: none; } .x-prog li.is-on span { display: inline; } }
      .x-panel__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
      @media (min-width: 900px) { .x-panel__body { grid-template-columns: minmax(0, 1fr) 320px; } }
      .x-panel__main { padding: 28px var(--x-pad-p, 24px) 40px; }
      .x-panel__main h3 { font: 400 26px/1.2 var(--x-serif); margin: 0 0 6px; }
      .x-panel__main .x-hint { font-size: 14px; color: var(--x-muted); margin: 0 0 24px; }
      .x-panel [hidden] { display: none !important; }
      .x-form { display: grid; gap: 16px; }
      @media (min-width: 600px) { .x-form--2 { grid-template-columns: 1fr 1fr; } }
      .x-in { display: grid; gap: 8px; }
      .x-in > label, .x-in > .x-in__lab { font: 500 12px/1.3 var(--x-sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--x-muted); }
      .x-in input, .x-in select, .x-in textarea {
        width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(36, 33, 29, 0.28); border-radius: 0; background: #fff;
        font: 400 16px/1.4 var(--x-sans); color: var(--x-ink); appearance: none; -webkit-appearance: none;
      }
      .x-in select { background-image: linear-gradient(45deg, transparent 50%, var(--x-ink) 50%), linear-gradient(135deg, var(--x-ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
      .x-in textarea { min-height: 100px; resize: vertical; }
      .x-in input:focus, .x-in select:focus, .x-in textarea:focus { outline: none; border-color: var(--x-gold); box-shadow: 0 0 0 3px rgba(184, 149, 94, 0.22); }
      .x-in.is-bad input, .x-in.is-bad select, .x-in.is-bad .x-tel { border-color: var(--x-red); }
      .x-err { font-size: 13px; color: var(--x-red); display: none; }
      .x-in.is-bad .x-err { display: block; }
      .x-tel { display: flex; border: 1px solid rgba(36, 33, 29, 0.28); background: #fff; }
      .x-tel span { display: grid; place-items: center; padding: 0 14px; border-right: 1px solid var(--x-line); background: var(--x-ivory); font-size: 16px; }
      .x-tel input { border: 0 !important; box-shadow: none !important; }
      .x-tel:focus-within { border-color: var(--x-gold); box-shadow: 0 0 0 3px rgba(184, 149, 94, 0.22); }
      .x-nights { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 4px; font: 400 22px/1.2 var(--x-serif); }
      .x-nights::before { content: ""; width: 24px; height: 1px; background: var(--x-gold); }
      .x-counters { display: grid; border-top: 1px solid var(--x-line); margin-top: 8px; }
      .x-counter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--x-line); }
      .x-counter p { margin: 0; font-size: 16px; }
      .x-counter p small { display: block; color: var(--x-muted); font-size: 13px; }
      .x-counter .x-step-ctl button { width: 44px; height: 44px; color: var(--x-ink); border-color: rgba(36, 33, 29, 0.35); }
      .x-counter .x-step-ctl button:hover { color: var(--x-gold-ink); border-color: var(--x-gold); }
      .x-counter .x-step-ctl output { font-size: 18px; min-width: 32px; }
      .x-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; padding: 6px 0; }
      .x-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--x-gold-ink); flex: none; }

      .x-opts { display: grid; gap: 16px; }
      .x-opt { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--x-line); background: #fff; transition: border-color 0.3s, box-shadow 0.3s; }
      .x-opt.is-sel { border-color: var(--x-gold); box-shadow: 0 0 0 1px var(--x-gold); }
      @media (min-width: 600px) { .x-opt { grid-template-columns: 200px minmax(0, 1fr); } }
      .x-opt .x-zoom { aspect-ratio: 16 / 10; }
      @media (min-width: 600px) { .x-opt .x-zoom { aspect-ratio: auto; min-height: 100%; } }
      .x-opt .x-zoom img { width: 100%; height: 100%; object-fit: cover; }
      .x-opt__body { padding: 18px 20px; display: grid; gap: 10px; }
      .x-opt__head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
      .x-opt h4 { font: 400 24px/1.15 var(--x-serif); margin: 0; }
      .x-avail { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--x-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--x-green); background: rgba(47, 122, 79, 0.1); padding: 7px 10px; }
      .x-avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
      .x-avail.is-no { color: var(--x-red); background: rgba(168, 67, 47, 0.1); }
      .x-opt__meta { font-size: 13px; color: var(--x-muted); letter-spacing: 0.04em; }
      .x-amen { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
      .x-amen li { font-size: 12px; padding: 5px 10px; background: var(--x-ivory); color: var(--x-ink); }
      .x-opt__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--x-line); }
      .x-opt__foot .x-btn { min-height: 44px; padding: 0 22px; }
      .x-warn { font-size: 13px; line-height: 1.45; color: var(--x-red); background: rgba(168, 67, 47, 0.07); border-left: 2px solid var(--x-red); padding: 8px 12px; display: none; }
      .x-opt.is-over .x-warn { display: block; }
      .x-warn button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }

      .x-sum { background: var(--x-ivory); padding: 28px var(--x-pad-p, 24px); border-top: 1px solid var(--x-line); }
      @media (min-width: 900px) { .x-sum { border-top: 0; border-left: 1px solid var(--x-line); padding: 28px; position: sticky; top: 0; align-self: start; min-height: 100%; } }
      .x-sum h3 { font: 500 12px/1.3 var(--x-sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--x-gold-ink); margin: 0 0 18px; }
      .x-sum__room { font: 400 24px/1.2 var(--x-serif); margin: 0 0 4px; }
      .x-sum dl { margin: 18px 0 0; display: grid; gap: 0; }
      .x-sum dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--x-line); font-size: 14px; }
      .x-sum dt { color: var(--x-muted); }
      .x-sum dd { margin: 0; text-align: right; }
      .x-sum__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 0 6px; }
      .x-sum__total span { font: 500 12px/1 var(--x-sans); letter-spacing: 0.2em; text-transform: uppercase; }
      .x-sum__total b { font: 500 32px/1 var(--x-serif); }
      .x-note { font-size: 13px; color: var(--x-muted); margin: 6px 0 0; }
      .x-policy { font-size: 12px; color: var(--x-muted); margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--x-taupe); letter-spacing: 0.04em; }

      .x-panel__bot { display: flex; align-items: center; gap: 12px; padding: 14px var(--x-pad-p, 24px) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--x-line); background: var(--x-paper); }
      .x-panel__bot .x-total-mini { flex: 1; font-size: 12px; color: var(--x-muted); line-height: 1.3; }
      .x-panel__bot .x-total-mini b { display: block; font: 500 22px/1.1 var(--x-serif); color: var(--x-ink); }
      .x-panel__bot .x-textlink { padding: 14px 4px; }
      .x-panel__bot .x-btn { min-height: 50px; }
      @media (max-width: 480px) { .x-panel__bot .x-btn { padding: 0 16px; letter-spacing: 0.14em; } }
      .x-alt { display: block; margin-top: 14px; font-size: 14px; color: var(--x-muted); }
      .x-alt a { color: var(--x-ink); border-bottom: 1px solid var(--x-gold); text-decoration: none; }
      .x-done { padding: 56px var(--x-pad-p, 24px); text-align: center; max-width: 560px; margin: 0 auto; }
      .x-done svg { width: 64px; height: 64px; stroke: var(--x-gold); fill: none; stroke-width: 1; margin: 0 auto 24px; }
      .x-done h3 { font: 400 34px/1.2 var(--x-serif); margin: 0 0 14px; }
      .x-done p { color: var(--x-muted); margin: 0 0 28px; }
      .x-done .x-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

      /* ===== booking panel, brand finish ===== */
      .x-scrim { background: rgba(12, 14, 70, 0.55); }
      .x-panel { box-shadow: -20px 0 60px rgba(26, 30, 166, 0.22); }
      .x-panel__top { position: relative; }
      .x-panel__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--x-gold), rgba(212, 175, 55, 0)); }
      .x-panel__title { color: var(--x-blue); font-weight: 500; }
      .x-panel__title small { font-family: var(--x-caps); font-weight: 600; }
      .x-panel__main h3, .x-opt h4, .x-sum__room, .x-done h3, .x-sum__total b, .x-nights { color: var(--x-blue); }
      .x-in input, .x-in select, .x-in textarea { border-radius: 12px; border-color: var(--x-taupe); }
      .x-in input:focus, .x-in select:focus, .x-in textarea:focus { border-color: var(--x-blue); box-shadow: 0 0 0 3px rgba(26, 30, 166, 0.14); }
      .x-in > label, .x-in > .x-in__lab { color: var(--x-blue); }
      .x-tel { border-radius: 12px; overflow: hidden; border-color: var(--x-taupe); }
      .x-tel span { background: var(--x-cream); border-right-color: var(--x-taupe); }
      .x-tel:focus-within { border-color: var(--x-blue); box-shadow: 0 0 0 3px rgba(26, 30, 166, 0.14); }
      .x-counter .x-step-ctl button { color: var(--x-blue); border-color: var(--x-taupe); }
      .x-counter .x-step-ctl button:hover { color: var(--x-blue); border-color: var(--x-gold); background: var(--x-cream); }
      .x-check input { accent-color: var(--x-blue); }
      .x-opt { border-radius: 16px; overflow: hidden; border-color: var(--x-taupe); }
      .x-opt.is-sel { border-color: var(--x-blue); box-shadow: 0 0 0 1px var(--x-blue), var(--x-shadow); }
      .x-avail { border-radius: 999px; }
      .x-amen li { border-radius: 999px; background: var(--x-cream); border: 1px solid var(--x-taupe); }
      .x-prog li.is-on { color: var(--x-blue); border-color: var(--x-blue); }
      .x-prog li.is-done { color: var(--x-blue); border-color: var(--x-gold); }
      .x-prog li.is-done::before { color: var(--x-blue); }
      .x-sum { background: var(--x-taupe-soft); }
      .x-sum h3 { font-family: var(--x-caps); font-weight: 600; color: var(--x-blue); }
      .x-sum__total span { color: var(--x-blue); }
      .x-sum__note { font-size: 13px; color: var(--x-muted); margin: 0; }
      .x-done svg { stroke: var(--x-blue); }
      .x-warn { border-radius: 0 8px 8px 0; }

      /* ===== QA fixes: overflow, contrast, tap targets ===== */
      .x-site, .x-sec { overflow-x: clip; }
      .x-step-ctl button { width: 44px; height: 44px; }
      .x-textlink { min-height: 44px; }
      .x-dl dd a, .x-menu__meta a, .x-foot__base a { display: inline-flex; align-items: center; min-height: 44px; }
      .x-foot ul a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; padding: 0; }
      .x-panel__bot .x-textlink { min-height: 48px; }

      /* ===== logo swap: brand logo on cream, white logo on dark ===== */
      .x-logo .x-logo__w { display: none; filter: none; }
      .x-hdr.is-dark .x-logo .x-logo__c { display: none; }
      .x-hdr.is-dark .x-logo .x-logo__w { display: block; }
      .x-hero h1 { font-size: clamp(38px, 6.2vw, 78px); line-height: 1.04; max-width: 18ch; }
      .x-hero h1 em { display: block; }

      /* header socials, wide screens only */
      .x-hsoc { display: none; align-items: center; gap: 2px; margin-left: 4px; }
      .x-hsoc a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--x-blue); border-radius: 50%; }
      .x-hsoc a:hover { color: var(--x-gold); }
      .x-hsoc svg { width: 16px; height: 16px; fill: currentColor; }
      @media (min-width: 1480px) { .x-hsoc { display: flex; } }
      @media (min-width: 1080px) and (max-width: 1240px) { .x-nav { gap: 14px; } .x-nav a { letter-spacing: 0.1em; } }

      /* socials on cream (contact) */
      .x-social--ink { margin-top: 28px; }
      .x-social--ink a { color: var(--x-blue); border-color: var(--x-gold); background: var(--x-white); }
      .x-social--ink a:hover { background: var(--x-gold); color: var(--x-blue); }
      .x-social__lab { font: 600 12px/1.4 var(--x-caps); letter-spacing: 0.18em; text-transform: uppercase; color: var(--x-blue); margin: 28px 0 0; }
      .x-social__lab + .x-social--ink { margin-top: 12px; }

      /* footer NAP */
      .x-nap { font-style: normal; line-height: 1.6; margin: 0 0 8px; color: rgba(255, 255, 255, 0.84); }
      .x-nap b { display: block; color: var(--x-white); font-weight: 600; }
      .x-foot h3 { font: 600 12px/1 var(--x-caps); letter-spacing: 0.26em; text-transform: uppercase; color: var(--x-gold); margin: 0 0 16px; }

      /* FAQ accordion */
      .x-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
      .x-faq details { background: var(--x-white); border: 1px solid var(--x-taupe); border-radius: 16px; transition: border-color 0.3s var(--x-ease), box-shadow 0.3s var(--x-ease); }
      .x-faq details[open] { border-color: var(--x-gold); box-shadow: var(--x-shadow); }
      .x-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 22px; }
      .x-faq summary::-webkit-details-marker { display: none; }
      .x-faq summary h3 { margin: 0; font: 600 clamp(20px, 2vw, 24px)/1.25 var(--x-serif); color: var(--x-blue); }
      .x-faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--x-gold); display: grid; place-items: center; font: 300 22px/1 var(--x-sans); color: var(--x-blue); transition: transform 0.3s var(--x-ease); }
      .x-faq details[open] summary::after { transform: rotate(45deg); }
      .x-faq details p { margin: 0; padding: 0 22px 20px; font-size: 16px; color: var(--x-muted); max-width: 64ch; }
      .x-faq details p a { color: var(--x-blue); display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle; }

      /* booking panel: never hidden behind mobile chrome or floating bars */
      .x-panel { height: 100%; height: 100dvh; }
      body.x-panel-open .x-mbar, body.x-panel-open .x-wa { display: none; }
      .x-panel__bot { position: relative; z-index: 2; flex: none; }
      .x-panel__bot .x-btn[hidden] { display: none !important; }
      .x-wabtn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
      .x-nexthint { font-size: 13px; color: var(--x-red); margin: 16px 0 0; }
      @media (max-width: 480px) { .x-panel__bot { flex-wrap: wrap; } .x-panel__bot .x-total-mini { order: -1; flex-basis: 100%; } .x-panel__bot .x-btn { flex: 1; } }

      /* ===== mobile-first pass: 360 / 390 / 414 / 768 ===== */
      html, body { overflow-x: hidden; max-width: 100%; }
      @supports (overflow: clip) { html, body { overflow-x: clip; } }
      img, svg, iframe, video { max-width: 100%; }
      .x-divider, .x-reviews::after, .x-foot::before { max-width: 100%; background-size: auto 28px; }
      h1, h2, h3, h4, p, dd, blockquote, summary { overflow-wrap: break-word; }
      .x-nw { white-space: nowrap; }
      .x-price b { white-space: nowrap; }

      /* fluid headings */
      .x-h2 { font-size: clamp(30px, 6.4vw + 6px, 58px); line-height: 1.08; }
      .x-hero h1 { font-size: clamp(34px, 7.2vw + 6px, 78px); }
      .x-room h3 { font-size: clamp(24px, 2.2vw + 14px, 28px); }
      .x-extra h3, .x-venue h3 { font-size: clamp(22px, 1.6vw + 15px, 25px); }
      .x-panel__title { font-size: clamp(24px, 3vw + 14px, 30px); }
      .x-panel__main h3 { font-size: clamp(22px, 2vw + 14px, 26px); }
      .x-opt h4 { font-size: clamp(21px, 1.6vw + 14px, 24px); }
      .x-done h3 { font-size: clamp(26px, 3vw + 16px, 34px); }
      .x-foot__tag { font-size: clamp(22px, 1.6vw + 16px, 26px); }
      .x-sum__total b { font-size: clamp(26px, 2vw + 18px, 32px); }
      .x-stat b { font-size: clamp(36px, 5.4vw, 64px); }
      .x-rating b { font-size: clamp(88px, 13vw, 168px); }
      .x-quote blockquote { font-size: clamp(24px, 3.4vw, 42px); }
      .x-sign__tag { font-size: clamp(24px, 3.4vw, 38px); }

      /* body text at 16px */
      .x-room p, .x-extra p, .x-venue p, .x-check, .x-foot, .x-panel__main .x-hint { font-size: 16px; }

      /* map: fluid, fixed aspect ratio */
      .x-map { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
      .x-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
      @media (min-width: 960px) { .x-map { aspect-ratio: auto; min-height: 460px; } }

      /* footer: keep "Back to top" clear of the floating button on wide screens */
      @media (min-width: 900px) { .x-foot__base { padding-right: 84px; } }

      @media (max-width: 639px) {
        /* hero: text above, booking bar stacked full-width below */
        .x-hero { min-height: auto; }
        .x-hero__in { flex: none; padding: calc(var(--x-hdr) + 40px) var(--x-pad) 32px; }
        .x-hero h1 { max-width: none; }
        .x-hero__barwrap { padding-inline: var(--x-pad); }
        .x-bar { grid-template-columns: 1fr; gap: 12px; padding: 16px; border-radius: 20px; }
        .x-bar .x-field, .x-field--date, .x-field--full, .x-bar .x-btn { grid-column: 1 / -1; }
        .x-bar .x-btn { width: 100%; }

        /* sections */
        .x-sec { padding-block: 72px; }
        .x-sec--first { padding-top: calc(var(--x-lap) + 64px); }
        .x-sec--events { padding-top: 0; }
        .x-sechead { margin-bottom: 36px; }
        .x-stay__media { padding: 12px; }
        .x-stay__copy p.x-body { font-size: 20px; }

        /* stats */
        .x-stats { gap: 10px; margin-top: 56px; }
        .x-stat { padding: 22px 10px 20px; }
        .x-stat span { letter-spacing: 0.08em; }

        /* rooms */
        .x-rooms { grid-template-columns: 1fr; gap: 20px; }
        .x-room__body { padding: 20px; }
        .x-room .x-btn { justify-self: stretch; }

        /* amenities and events */
        .x-extra { padding: 24px 20px 26px; }
        .x-band { padding: 48px var(--x-pad); margin-bottom: 48px; }
        .x-band__card { padding: 28px 20px; box-shadow: 0 0 0 5px var(--x-cream), 0 0 0 6px var(--x-gold), 0 24px 48px -20px rgba(9, 12, 70, 0.55); }
        .x-venue { padding: 20px; }
        .x-events .x-btn { width: 100%; }

        /* gallery */
        .x-gallery { column-gap: 10px; }
        .x-gallery button { margin-bottom: 10px; }

        /* reviews */
        .x-reviews { padding-block: 72px 88px; }
        .x-revgrid { gap: 32px; }
        .x-slider__ctl { gap: 10px; margin-top: 28px; flex-wrap: wrap; }
        .x-slider__ctl button.x-arrow { width: 48px; height: 48px; }
        .x-dots { gap: 0; margin-left: 0; }

        /* FAQ */
        .x-faq summary { padding: 12px 16px 12px 20px; min-height: 60px; }
        .x-faq summary h3 { font-size: 19px; }
        .x-faq details p { padding: 0 20px 18px; }

        /* contact */
        .x-dl { padding: 4px 18px; }
        .x-dl dd { word-break: break-word; }
        .x-contact .x-btn { flex: 1 1 100%; }

        /* footer */
        .x-foot::before { margin-bottom: 48px; }
        .x-foot__grid { gap: 36px; }
        .x-foot__base { margin-top: 40px; }

        /* mobile Book Now bar */
        .x-mbar { padding: 10px var(--x-pad) calc(10px + env(safe-area-inset-bottom)); }
        .x-mbar p { min-width: 0; }
        .x-mbar .x-btn { flex: none; padding: 0 20px; }

        /* lightbox */
        .x-lb button { width: 48px; height: 48px; }
        .x-lb__prev { left: 8px; }
        .x-lb__next { right: 8px; }
      }

      /* menu: reliable full-screen overlay, 44px+ rows */
      .x-menu a:not(.x-btn) { min-height: 52px; display: flex; align-items: center; font-size: clamp(26px, 6vw, 32px); }
      .x-menu { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }

      /* booking panel: full-screen sheet on phones, scrolling body, sticky footer CTA */
      @media (max-width: 699px) {
        .x-panel { width: 100%; left: 0; box-shadow: none; --x-pad-p: 20px; }
        .x-panel__top { padding-top: calc(14px + env(safe-area-inset-top)); }
        .x-panel__body { -webkit-overflow-scrolling: touch; min-height: 0; }
        .x-panel__main { padding: 24px 20px 32px; }
        .x-sum { padding: 24px 20px; }
        .x-counter { gap: 12px; }
        .x-counter p { min-width: 0; }
        .x-opt__body { padding: 16px; }
        .x-opt__foot .x-btn { flex: 1 1 auto; }
        .x-done { padding: 48px 20px; }
        .x-done .x-links .x-btn { width: 100%; }
        .x-panel__bot { position: sticky; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 24px -16px rgba(26, 30, 166, 0.35); }
        .x-panel__bot .x-btn { min-width: 0; white-space: normal; text-align: center; line-height: 1.25; letter-spacing: 0.08em; padding: 8px 16px; }
        .x-sum dl div { font-size: 15px; }
      }

      /* ===== static map card (no external frame, works under a strict CSP) ===== */
      .x-mapcard { display: grid; place-items: center; text-align: center; isolation: isolate; background: var(--x-taupe-soft); }
      .x-mapcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/img-04-2653.png") 0 0 / 160px auto repeat; opacity: 0.55; pointer-events: none; }
      .x-mapcard::after { content: ""; position: absolute; inset: 14px; z-index: -1; border: 1px solid var(--x-gold); border-radius: 14px; pointer-events: none; }
      .x-mapcard__in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; max-width: 440px; margin: 28px; padding: 32px 26px; background: rgba(248, 244, 231, 0.94); border: 1px solid var(--x-taupe); border-radius: 18px; box-shadow: var(--x-shadow); }
      .x-mapcard__pin { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--x-blue); box-shadow: 0 0 0 6px var(--x-cream), 0 0 0 7px var(--x-gold); margin-bottom: 8px; }
      .x-mapcard__pin svg { width: 30px; height: 30px; fill: var(--x-white); }
      .x-mapcard__name { margin: 0; }
      .x-mapcard__addr { margin: 0; font: 400 16px/1.6 var(--x-sans); color: #2b2b3a; max-width: 32ch; }
      .x-mapcard__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
      .x-mapcard__btns .x-btn { min-height: 48px; padding: 0 22px; }
      @media (max-width: 639px) { .x-mapcard__in { margin: 22px 16px; padding: 26px 18px; } .x-mapcard__btns .x-btn { flex: 1 1 100%; } }

      /* ===== typography hierarchy ===== */
      :root { --x-text: #2b2b3a; --x-head: #1b1b2f; --x-eyebrow: #7a6017; --x-grey: #585a72; }
      body { color: var(--x-text); font: 400 16px/1.65 var(--x-sans); letter-spacing: 0; }
      @media (min-width: 900px) { body { font-size: 17px; } }

      /* H1 hero */
      .x-hero h1 { font: 700 clamp(2.2rem, 4.6vw + 0.6rem, 4rem)/1.1 var(--x-serif); letter-spacing: -0.01em; color: #1a1ea6; max-width: 20ch; margin: 0 0 20px; }
      .x-hero h1 em { display: block; font-style: normal; font-weight: 600; color: #1a1ea6; }
      .x-hero__bg::after { background: radial-gradient(ellipse 75% 65% at 50% 46%, rgba(248, 244, 231, 0.95) 0%, rgba(248, 244, 231, 0.85) 55%, rgba(248, 244, 231, 0.62) 100%), linear-gradient(180deg, rgba(248, 244, 231, 0.6) 0%, rgba(248, 244, 231, 0) 45%); }
      .x-hero__sub { font: 500 clamp(16px, 1.2vw + 10px, 19px)/1.6 var(--x-sans); color: var(--x-text); max-width: 44ch; }

      /* H2 section titles */
      .x-h2 { font: 600 clamp(1.9rem, 2.2vw + 1.1rem, 2.6rem)/1.15 var(--x-serif); letter-spacing: -0.005em; color: var(--x-blue); }
      .x-h2 em { font-style: italic; font-weight: 600; color: var(--x-blue); }
      .x-panel__title { font: 600 clamp(1.6rem, 1.5vw + 1.1rem, 2rem)/1.15 var(--x-serif); color: var(--x-blue); }
      .x-panel__main h3, .x-done h3 { font: 600 clamp(1.5rem, 1vw + 1.1rem, 1.85rem)/1.2 var(--x-serif); color: var(--x-blue); }
      .x-revh, .x-sign__tag, .x-foot__tag { font-weight: 600; }
      .x-revh em, .x-sign__tag em { font-weight: 600; }
      .x-menu a:not(.x-btn) { font-weight: 600; }

      /* H3 card and room names */
      .x-room h3, .x-extra h3, .x-venue h3, .x-opt h4, .x-sum__room, .x-mapcard__name, .x-sum h3 {
        font: 700 1.2rem/1.3 var(--x-sans); letter-spacing: -0.005em; text-transform: none; color: var(--x-head);
      }
      .x-faq summary h3 { font: 600 clamp(1.02rem, 0.3vw + 0.95rem, 1.12rem)/1.4 var(--x-sans); color: var(--x-head); }
      .x-sum h3 { margin-bottom: 14px; }

      /* body text */
      .x-lead, .x-room p, .x-extra p, .x-venue p, .x-faq details p, .x-panel__main .x-hint, .x-dl dd, .x-counter p { color: var(--x-text); font-size: 16px; line-height: 1.65; }
      .x-lead { font-size: clamp(16px, 0.4vw + 15px, 17px); }
      .x-stay__copy p.x-body { font: 400 clamp(17px, 0.5vw + 15px, 19px)/1.65 var(--x-sans); color: var(--x-text); max-width: 46ch; }

      /* eyebrows: only above section titles */
      .x-label, .x-panel__title small { font: 600 12px/1.4 var(--x-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--x-eyebrow); }
      .x-label--light { color: var(--x-gold); }

      /* labels in normal case: forms, stats, meta */
      .x-field label, .x-field .x-field__lab, .x-in > label, .x-in > .x-in__lab, .x-dl dt, .x-social__lab {
        font: 600 14px/1.3 var(--x-sans); letter-spacing: 0; text-transform: none; color: var(--x-text);
      }
      .x-dl dt { color: var(--x-head); }
      .x-in > label span { font-weight: 400; color: var(--x-grey); }
      .x-room__meta, .x-venue h3 span, .x-opt__meta { font: 500 14px/1.4 var(--x-sans); letter-spacing: 0; text-transform: none; color: var(--x-grey); }
      .x-room__tag, .x-avail { font: 600 13px/1 var(--x-sans); letter-spacing: 0; text-transform: none; }
      .x-prog li { font: 600 13px/1.3 var(--x-sans); letter-spacing: 0; text-transform: none; }
      .x-sum__total span { font: 600 14px/1.2 var(--x-sans); letter-spacing: 0; text-transform: none; color: var(--x-head); }
      .x-nights { font: 600 18px/1.3 var(--x-sans); }
      .x-nav a { font: 500 14px/1 var(--x-sans); letter-spacing: 0; text-transform: none; }
      @media (min-width: 1080px) and (max-width: 1240px) { .x-nav a { font-size: 13px; letter-spacing: 0; } }
      .x-foot h3 { font: 700 15px/1.2 var(--x-sans); letter-spacing: 0; text-transform: none; color: var(--x-gold); }
      .x-sign__sub { font: 500 15px/1.4 var(--x-sans); letter-spacing: 0.02em; text-transform: none; color: var(--x-blue); }
      .x-rating small { font: 500 15px/1.5 var(--x-sans); letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, 0.9); }
      .x-quote figcaption { font: 600 15px/1.4 var(--x-sans); letter-spacing: 0; text-transform: none; color: var(--x-gold); }
      .x-quote figcaption span { letter-spacing: 0; font-weight: 400; }

      /* prices */
      .x-from { font: 500 13px/1.2 var(--x-sans) !important; letter-spacing: 0; text-transform: none; color: var(--x-grey) !important; }
      .x-price, .x-room .x-price { font: 400 14px/1.3 var(--x-sans); color: var(--x-grey); }
      .x-price b { font: 700 1.6rem/1 var(--x-sans); letter-spacing: -0.01em; color: var(--x-blue); }
      .x-opt .x-price b { font-size: 1.35rem; }
      .x-mbar p b, .x-panel__bot .x-total-mini b { font: 700 19px/1.15 var(--x-sans); color: var(--x-blue); }
      .x-sum__total b { font: 700 clamp(1.5rem, 1vw + 1.1rem, 1.85rem)/1 var(--x-sans); color: var(--x-blue); }

      /* stats */
      .x-stat b { font: 700 clamp(34px, 4.6vw, 56px)/1 var(--x-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--x-blue); }
      .x-stat span { font: 500 14px/1.4 var(--x-sans); letter-spacing: 0; text-transform: none; color: var(--x-text); }
      .x-rating b { font-weight: 700; }

      /* buttons */
      .x-btn { font: 600 15px/1 var(--x-sans); letter-spacing: 0.02em; text-transform: none; }
      .x-textlink { font: 600 15px/1 var(--x-sans); letter-spacing: 0.01em; text-transform: none; }
      @media (max-width: 699px) { .x-panel__bot .x-btn { letter-spacing: 0.01em; } }

      /* taps: decorative layers never catch a touch */
      .x-hero__bg, .x-hero__bg::after, .x-hdr::before, .x-patterned::before, .x-stay__media::before, .x-reviews::before, .x-reviews::after, .x-mapcard::before, .x-mapcard::after { pointer-events: none; }
      .x-hero__barwrap, .x-bar, #heroCheck { position: relative; z-index: 3; }
      #heroCheck { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
      .x-opt[data-room] { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
    

.x-scrollbar{position:fixed;top:0;left:0;width:100%;height:3px;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,var(--x-gold),#f0d98a,var(--x-blue));z-index:300;pointer-events:none}
.x-live{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;padding:9px 18px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid rgba(212,175,55,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font:600 12px/1 var(--x-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--x-blue)}
.x-live i{width:8px;height:8px;border-radius:50%;background:#2f9e5f;animation:xPulse 2s infinite}
@keyframes xPulse{0%{box-shadow:0 0 0 0 rgba(47,158,95,.55)}70%{box-shadow:0 0 0 10px rgba(47,158,95,0)}100%{box-shadow:0 0 0 0 rgba(47,158,95,0)}}
.x-perfect{margin:24px 0 0;font:italic 500 clamp(22px,3vw,32px)/1.25 var(--x-serif);color:var(--x-blue)}
.x-rot{display:inline-block;padding-bottom:2px;border-bottom:2px solid var(--x-gold);transition:opacity .35s,transform .35s}
.x-rot.is-out{opacity:0;transform:translateY(8px)}
.x-ribbon{overflow:hidden;background:var(--x-blue);color:#fff;padding:17px 0;border-block:1px solid rgba(212,175,55,.55);margin-top:clamp(40px,6vw,72px)}
.x-ribbon__track{display:flex;width:max-content;animation:xScroll 40s linear infinite}
.x-ribbon:hover .x-ribbon__track{animation-play-state:paused}
.x-ribbon__set{display:flex}
.x-ribbon span{display:inline-flex;align-items:center;gap:30px;padding-right:30px;font:600 13px/1 var(--x-caps);letter-spacing:.2em;text-transform:uppercase;white-space:nowrap}
.x-ribbon span::after{content:"\2726";color:var(--x-gold)}
@keyframes xScroll{to{transform:translateX(-50%)}}
.x-btn,.x-arrow{position:relative;overflow:hidden}
.x-btn::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);transform:translateX(-120%);transition:transform .7s;pointer-events:none}
.x-btn:hover::before{transform:translateX(120%)}
.x-btn:active,.x-arrow:active{transform:scale(.96)}
.x-ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,.5);transform:scale(0);animation:xRipple .65s ease-out forwards;pointer-events:none}
@keyframes xRipple{to{transform:scale(4);opacity:0}}
.x-tilt{position:relative}
.x-js .x-tilt.x-reveal.is-in{transition:transform .18s ease-out,box-shadow .3s,opacity 1.1s;transition-delay:0s}
.x-glow{position:absolute;inset:0;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .3s;background:radial-gradient(380px circle at var(--mx,50%) var(--my,50%),rgba(212,175,55,.2),transparent 62%)}
.x-tilt:hover .x-glow{opacity:1}
.x-textlink span{display:inline-block;transition:transform .25s}
.x-textlink:hover span{transform:translateX(6px)}
.x-faq details[open]>p{animation:xFade .4s var(--x-ease)}
@keyframes xFade{from{opacity:0;transform:translateY(-6px)}}
.x-wa{animation:xWa 2.8s infinite}
@keyframes xWa{0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)}70%{box-shadow:0 0 0 16px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
@media (prefers-reduced-motion:reduce){.x-ribbon__track,.x-live i,.x-wa{animation:none}.x-ribbon{overflow-x:auto}}


.x-evgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.x-evgrid figure{position:relative;margin:0}
.x-evgrid .x-zoom{aspect-ratio:4/3;border-radius:16px;box-shadow:var(--x-shadow)}
.x-evgrid figcaption{position:absolute;left:0;right:0;bottom:0;padding:34px 14px 12px;color:#fff;font:600 11px/1.2 var(--x-sans);letter-spacing:.14em;text-transform:uppercase;background:linear-gradient(0deg,rgba(14,16,70,.82),transparent);pointer-events:none}
.x-pk-cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:40px 0 0}
.x-glink{display:inline-block;margin-top:14px;color:var(--x-gold);font:600 13px/1.3 var(--x-sans);letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid var(--x-gold);padding-bottom:3px}
.x-glink:hover{color:#fff;border-color:#fff}


.x-map iframe{z-index:1;background:transparent}
.x-mapfall{position:absolute;inset:0;z-index:0;display:grid;align-content:center;justify-items:center;gap:10px;text-align:center;padding:28px;background:linear-gradient(160deg,var(--x-taupe-soft),var(--x-cream))}
.x-mapfall__pin{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--x-blue);box-shadow:0 0 0 6px var(--x-cream),0 0 0 7px var(--x-gold)}
.x-mapfall b{font:600 26px/1.2 var(--x-serif);color:var(--x-blue);margin-top:8px}
.x-mapfall span{font-size:15px;color:var(--x-muted);max-width:30ch}
.x-mapbtn{position:absolute;z-index:2;left:14px;bottom:14px;padding:10px 16px;border-radius:999px;background:#fff;color:var(--x-blue);border:1px solid var(--x-gold);font:600 13px/1 var(--x-sans);box-shadow:0 6px 18px -8px rgba(26,30,166,.4)}
.x-mapbtn:hover{background:var(--x-blue);color:#fff}


.x-rating b{font-family:var(--x-sans);font-weight:800;letter-spacing:-0.04em;font-variant-numeric:tabular-nums;line-height:.9}

.x-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.x-chip{display:inline-block;padding:8px 14px;border:1px solid var(--x-taupe);border-radius:999px;background:var(--x-white);color:var(--x-blue);font:600 13px/1.2 var(--x-sans);text-decoration:none;transition:background .2s,color .2s}.x-chip:hover,.x-chip:focus-visible{background:var(--x-blue);color:#fff}.x-hero h1{font-size:clamp(2rem,4vw + .6rem,3.6rem);max-width:22ch}
