/* Hotel Aix les Bains — référence éditoriale 2026
   Palette : ivoire, vert lac, terre cuite. Aucune police distante. */

:root {
  --ref-ivory: #f7f3ea;
  --ref-ivory-deep: #efe8da;
  --ref-paper: #fffdf8;
  --ref-ink: #16231f;
  --ref-ink-soft: #46534d;
  --ref-lake: #0e3b31;
  --ref-lake-2: #17584a;
  --ref-lake-3: #2b7a67;
  --ref-terra: #b9552f;
  --ref-terra-soft: #e7c3af;
  --ref-line: rgba(22, 35, 31, .16);
  --ref-line-soft: rgba(22, 35, 31, .09);
  --ref-shadow: 0 24px 60px -32px rgba(20, 45, 38, .45);
  --ref-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --ref-sans: "Inter", "Helvetica Neue", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ref-radius: 2px;
  --ref-shell: min(1220px, calc(100vw - 48px));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body[data-reference-page] {
  margin: 0;
  background: var(--ref-ivory);
  color: var(--ref-ink);
  font-family: var(--ref-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-reference-page] img { max-width: 100%; height: auto; }

body[data-reference-page] a { color: inherit; }

body[data-reference-page] ::selection { background: var(--ref-terra-soft); color: var(--ref-ink); }

body[data-reference-page] :focus-visible {
  outline: 3px solid var(--ref-terra);
  outline-offset: 3px;
}

.ref-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ref-lake);
  color: var(--ref-paper);
  padding: 12px 18px;
}
.ref-skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */

.ref-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 234, .93);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--ref-line-soft);
}

.ref-header__inner {
  width: var(--ref-shell);
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ref-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--ref-serif);
  font-size: 21px;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--ref-lake);
  white-space: nowrap;
}
.ref-brand strong { font-weight: 600; }
.ref-brand small {
  display: block;
  font-family: var(--ref-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ref-terra);
  margin-top: 4px;
}
.ref-brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ref-lake);
  border-radius: 50%;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ref-lake);
}

.ref-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.ref-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ref-ink-soft);
  padding: 9px 11px;
  border-radius: var(--ref-radius);
  transition: color .18s ease, background .18s ease;
}
.ref-nav a:hover { color: var(--ref-lake); background: rgba(23, 88, 74, .07); }
.ref-nav a[aria-current="page"] { color: var(--ref-lake); font-weight: 650; }
.ref-nav a.ref-nav__cta {
  background: var(--ref-lake);
  color: var(--ref-paper);
  padding: 11px 18px;
  margin-left: 8px;
  font-weight: 600;
}
.ref-nav a.ref-nav__cta:hover { background: var(--ref-lake-2); color: var(--ref-paper); }

.ref-burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ref-line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.ref-burger span,
.ref-burger span::before,
.ref-burger span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ref-ink);
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease;
  content: "";
}
.ref-burger span { top: 50%; }
.ref-burger span::before { top: -6px; }
.ref-burger span::after { top: 6px; }
.ref-burger[aria-expanded="true"] span { background: transparent; }
.ref-burger[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.ref-burger[aria-expanded="true"] span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Shell & type ---------- */

.ref-main { display: block; }
body[data-reference-page] main.ref-main { max-width: none; margin: 0; padding: 0; }

.ref-shell {
  width: var(--ref-shell);
  margin-inline: auto;
}

.ref-section {
  padding: clamp(56px, 8vw, 108px) 0;
  border-top: 1px solid var(--ref-line-soft);
}
.ref-section:first-of-type { border-top: 0; }
.ref-section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.ref-section--dark {
  background: var(--ref-lake);
  color: var(--ref-paper);
  border-top: 0;
}
.ref-section--dark .ref-kicker { color: var(--ref-terra-soft); }
.ref-section--dark a { color: var(--ref-paper); }

.ref-kicker {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ref-terra);
}

.ref-h1, .ref-h2, .ref-h3 {
  font-family: var(--ref-serif);
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--ref-lake);
  text-wrap: balance;
}
.ref-h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; margin: 0 0 22px; }
.ref-h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; margin: 0 0 18px; }
.ref-h3 { font-size: clamp(21px, 2vw, 27px); line-height: 1.2; margin: 0 0 10px; }
.ref-section--dark .ref-h1,
.ref-section--dark .ref-h2,
.ref-section--dark .ref-h3 { color: var(--ref-paper); }

.ref-lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ref-ink-soft);
  max-width: 64ch;
  margin: 0 0 26px;
}
.ref-section--dark .ref-lead { color: rgba(255, 253, 248, .82); }

.ref-prose p { max-width: 70ch; }
.ref-prose h2, .ref-prose h3 { margin-top: 2em; }
.ref-prose ul, .ref-prose ol { max-width: 70ch; padding-left: 1.2em; }
.ref-prose li { margin: .5em 0; }

.ref-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ref-terra);
  margin: 0 0 18px;
}
.ref-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ---------- Buttons ---------- */

.ref-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ref-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--ref-lake);
  background: var(--ref-lake);
  color: var(--ref-paper);
  font-family: var(--ref-sans);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: var(--ref-radius);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.ref-btn:hover { background: var(--ref-lake-2); color: var(--ref-paper); transform: translateY(-1px); }
.ref-btn--ghost {
  background: transparent;
  color: var(--ref-lake);
  border-color: var(--ref-line);
}
.ref-btn--ghost:hover { background: rgba(23, 88, 74, .07); color: var(--ref-lake); }
.ref-section--dark .ref-btn { background: var(--ref-paper); color: var(--ref-lake); border-color: var(--ref-paper); }
.ref-section--dark .ref-btn:hover { background: var(--ref-terra-soft); border-color: var(--ref-terra-soft); }
.ref-section--dark .ref-btn--ghost { background: transparent; color: var(--ref-paper); border-color: rgba(255, 253, 248, .4); }

/* Explicit link colours: the legacy stylesheet sets a global anchor colour
   that would otherwise win on inherited links inside the new chrome. */
body[data-reference-page] .ref-brand { color: var(--ref-lake); }
body[data-reference-page] .ref-nav a { color: var(--ref-ink-soft); }
body[data-reference-page] .ref-nav a:hover { color: var(--ref-lake); }
body[data-reference-page] .ref-nav a[aria-current="page"] { color: var(--ref-lake); }
body[data-reference-page] .ref-nav a.ref-nav__cta,
body[data-reference-page] .ref-nav a.ref-nav__cta:hover { color: var(--ref-paper); }
body[data-reference-page] .ref-btn { color: var(--ref-paper); }
body[data-reference-page] .ref-btn:hover { color: var(--ref-paper); }
body[data-reference-page] .ref-btn--ghost { color: var(--ref-lake); }
body[data-reference-page] .ref-btn--ghost:hover { color: var(--ref-lake); }
body[data-reference-page] .ref-section--dark .ref-btn { color: var(--ref-lake); }
body[data-reference-page] .ref-section--dark .ref-btn--ghost { color: var(--ref-paper); }
body[data-reference-page] .ref-link { color: var(--ref-lake); }
body[data-reference-page] .ref-link:hover { color: var(--ref-terra); }
body[data-reference-page] .ref-card__more { color: var(--ref-lake); }
body[data-reference-page] .ref-footer a,
body[data-reference-page] .ref-footer a:hover { color: rgba(255, 253, 248, .9); }
body[data-reference-page] .ref-footer h2 { color: var(--ref-paper); }
body[data-reference-page] .ref-section--dark { color: var(--ref-paper); }
body[data-reference-page] .ref-section--dark .ref-h2,
body[data-reference-page] .ref-section--dark .ref-h3 { color: var(--ref-paper); }
body[data-reference-page] .ref-section--dark p,
body[data-reference-page] .ref-section--dark li { color: rgba(255, 253, 248, .84); }
body[data-reference-page] .ref-breadcrumb a { color: var(--ref-ink-soft); }
body[data-reference-page] .ref-breadcrumb a:hover { color: var(--ref-terra); }
.ref-link {
  color: var(--ref-lake);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-weight: 600;
}
.ref-link:hover { color: var(--ref-terra); }

/* ---------- Home hero ---------- */

.ref-hero {
  padding: clamp(44px, 6vw, 84px) 0 clamp(28px, 4vw, 48px);
}
.ref-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.ref-hero__copy { padding-bottom: 10px; }
.ref-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ref-lake);
  box-shadow: var(--ref-shadow);
}
.ref-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.88) contrast(1.02);
}
.ref-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 59, 49, 0) 42%, rgba(14, 59, 49, .55) 100%);
  pointer-events: none;
}
.ref-hero__tag {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  right: 18px;
  color: var(--ref-paper);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .02em;
}
.ref-hero__tag strong {
  display: block;
  font-family: var(--ref-serif);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 2px;
}
.ref-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ref-ink-soft);
}
.ref-hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.ref-hero__meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--ref-terra);
  border-radius: 50%;
}

/* ---------- Stats ---------- */

.ref-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ref-line);
  border-bottom: 1px solid var(--ref-line);
}
.ref-stat {
  padding: 26px 22px 26px 0;
  border-right: 1px solid var(--ref-line-soft);
}
.ref-stat:last-child { border-right: 0; }
.ref-stat strong {
  display: block;
  font-family: var(--ref-serif);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1;
  color: var(--ref-lake);
  margin-bottom: 8px;
}
.ref-stat span { font-size: 13px; line-height: 1.45; color: var(--ref-ink-soft); }

/* ---------- Cards & grids ---------- */

.ref-grid { display: grid; gap: 22px; }
.ref-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ref-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ref-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ref-card {
  background: var(--ref-paper);
  border: 1px solid var(--ref-line-soft);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
a.ref-card:hover { border-color: var(--ref-lake-3); transform: translateY(-2px); box-shadow: var(--ref-shadow); }
.ref-card__num {
  font-family: var(--ref-serif);
  font-size: 13px;
  font-style: italic;
  color: var(--ref-terra);
}
.ref-card h3 { margin: 0; }
.ref-card p { margin: 0; color: var(--ref-ink-soft); font-size: 15px; }
.ref-card__more { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 650; color: var(--ref-lake); }

.ref-card--hotel { padding: 0; overflow: hidden; }
.ref-card--hotel .ref-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ref-card--hotel .ref-card__top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.ref-card--hotel h3 { font-size: 22px; }
.ref-card--hotel address { font-style: normal; font-size: 13px; color: var(--ref-ink-soft); }

.ref-hotel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* ---------- Facts & badges ---------- */

.ref-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ref-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid var(--ref-line);
  background: rgba(255, 253, 248, .7);
  color: var(--ref-ink);
  white-space: nowrap;
}
.ref-badge--yes { border-color: rgba(23, 88, 74, .35); background: rgba(23, 88, 74, .08); color: var(--ref-lake); }
.ref-badge--qualified { border-color: rgba(185, 85, 47, .35); background: rgba(185, 85, 47, .08); color: #8a3d1f; }
.ref-badge--no { border-color: rgba(22, 35, 31, .18); background: rgba(22, 35, 31, .04); color: var(--ref-ink-soft); }
.ref-badge--unknown { border-style: dashed; color: var(--ref-ink-soft); background: transparent; }

.ref-stars { letter-spacing: .12em; color: var(--ref-terra); font-size: 13px; white-space: nowrap; }

/* ---------- Toolbar & catalogue ---------- */

.ref-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: var(--ref-paper);
  border: 1px solid var(--ref-line-soft);
  margin-bottom: 18px;
}
.ref-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ref-field span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ref-ink-soft); }
.ref-field input, .ref-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--ref-line);
  border-radius: 0;
  background: var(--ref-ivory);
  color: var(--ref-ink);
  font: inherit;
  font-size: 15px;
}
.ref-field input:focus, .ref-field select:focus { border-color: var(--ref-lake); outline: 2px solid rgba(23, 88, 74, .18); outline-offset: 0; }

.ref-result-line { font-size: 13px; color: var(--ref-ink-soft); margin: 0 0 22px; }
.ref-result-line strong { color: var(--ref-ink); }

.ref-hotel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ref-hotel-card {
  background: var(--ref-paper);
  border: 1px solid var(--ref-line-soft);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ref-hotel-card:hover { border-color: var(--ref-lake-3); box-shadow: var(--ref-shadow); }
.ref-hotel-card[hidden] { display: none; }
.ref-hotel-card__head { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.ref-hotel-card h2, .ref-hotel-card h3 { margin: 0; font-size: 23px; line-height: 1.12; }
.ref-hotel-card h2 a, .ref-hotel-card h3 a { text-decoration: none; }
.ref-hotel-card h2 a:hover, .ref-hotel-card h3 a:hover { color: var(--ref-terra); }
.ref-hotel-card__where { margin: 0; font-size: 13px; color: var(--ref-ink-soft); }
.ref-hotel-card__footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ref-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ref-compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ref-ink-soft);
  cursor: pointer;
  user-select: none;
}
.ref-compare-toggle input { width: 17px; height: 17px; accent-color: var(--ref-lake); }
.ref-compare-toggle:has(input:disabled) { opacity: .45; cursor: not-allowed; }

.ref-empty {
  padding: 30px;
  border: 1px dashed var(--ref-line);
  text-align: center;
  color: var(--ref-ink-soft);
}

/* ---------- Compare ---------- */

.ref-compare-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  width: var(--ref-shell);
  z-index: 35;
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--ref-lake);
  color: var(--ref-paper);
  box-shadow: var(--ref-shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ref-compare-bar[hidden] { display: none; }
.ref-compare-bar strong { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.ref-compare-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.ref-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px 5px 11px;
  border: 1px solid rgba(255, 253, 248, .35);
  font-size: 12.5px;
}
.ref-chip button {
  border: 0;
  background: rgba(255, 253, 248, .16);
  color: var(--ref-paper);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.ref-chip button:hover { background: var(--ref-terra); }
.ref-compare-status { font-size: 12px; opacity: .8; }
.ref-compare-result { margin-top: 28px; overflow-x: auto; }
.ref-compare-hint { font-size: 14px; color: var(--ref-ink-soft); }
.ref-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ref-paper);
  font-size: 14px;
}
.ref-compare-table th, .ref-compare-table td {
  border: 1px solid var(--ref-line-soft);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}
.ref-compare-table thead th { background: var(--ref-ivory-deep); font-family: var(--ref-serif); font-size: 16px; font-weight: 500; }
.ref-compare-table tbody th { width: 160px; font-weight: 600; color: var(--ref-ink-soft); }

/* ---------- Breadcrumb & profile ---------- */

.ref-breadcrumb { font-size: 12.5px; color: var(--ref-ink-soft); margin: 0 0 22px; }
.ref-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.ref-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--ref-line); }
.ref-breadcrumb a { text-decoration: none; }
.ref-breadcrumb a:hover { color: var(--ref-terra); }

.ref-profile-hero {
  padding: clamp(34px, 5vw, 68px) 0 clamp(26px, 3vw, 40px);
  border-bottom: 1px solid var(--ref-line);
}
.ref-profile-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.ref-profile-hero h1 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 14px; }
.ref-profile-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ref-ink-soft); margin: 0 0 20px; }
.ref-profile-side {
  background: var(--ref-paper);
  border: 1px solid var(--ref-line-soft);
  padding: 24px;
}
.ref-profile-side h2 { font-size: 18px; margin: 0 0 12px; }
.ref-profile-side p { margin: 0 0 14px; font-size: 14px; color: var(--ref-ink-soft); }
.ref-side-facts { display: grid; gap: 8px; margin-bottom: 14px; }
.ref-side-facts p { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--ref-line-soft); }
.ref-side-facts p > span:first-child { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ref-profile-side .ref-btn { width: 100%; }

.ref-fact-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ref-fact-table th, .ref-fact-table td { border-bottom: 1px solid var(--ref-line-soft); padding: 12px 10px; text-align: left; vertical-align: top; }
.ref-fact-table th { width: 34%; font-weight: 600; color: var(--ref-ink-soft); }
.ref-fact-note { font-size: 12px; color: var(--ref-ink-soft); margin-top: 10px; }

.ref-decision,
.decision-advice {
  background: var(--ref-paper);
  border-left: 3px solid var(--ref-terra);
  padding: 24px 26px;
  margin: 26px 0;
}
.ref-decision h2, .ref-decision h3 { margin-top: 0; }
.ref-decision p { margin: 0; }
.ref-decision p + p { margin-top: 10px; }

.ref-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ref-panel { background: var(--ref-paper); border: 1px solid var(--ref-line-soft); padding: 24px; }
.ref-panel h3 { margin-top: 0; }
.ref-panel ul { margin: 0; padding-left: 1.1em; }
.ref-panel li { margin: .45em 0; }

/* ---------- Review ---------- */

.ref-review { border-top: 1px solid var(--ref-line); padding: 30px 0; }
.ref-review:first-of-type { border-top: 0; padding-top: 0; }
.ref-review__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.ref-review__head h2, .ref-review__head h3 { margin: 0; }
.ref-review__sample { font-size: 12.5px; color: var(--ref-ink-soft); }
.ref-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 18px 0; }
.ref-themes h4 { font-family: var(--ref-sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 8px; color: var(--ref-terra); }
.ref-themes ul { margin: 0; padding-left: 1.1em; }
.ref-themes li { margin: .45em 0; font-size: 14.5px; }
.ref-sources { margin: 10px 0 0; padding-left: 1.1em; font-size: 12.5px; color: var(--ref-ink-soft); }
.ref-sources li { margin: .3em 0; overflow-wrap: anywhere; }
.ref-note { font-size: 12.5px; color: var(--ref-ink-soft); max-width: 75ch; }
.ref-journal-cta { max-width: 1180px; margin: 40px auto 0; }
.ref-callout {
  background: var(--ref-ivory-deep);
  border: 1px solid var(--ref-line-soft);
  padding: 24px 26px;
}
.ref-callout h3 { margin-top: 0; font-size: 19px; }
.ref-callout p:last-child { margin-bottom: 0; }

/* ---------- Tables ---------- */

.ref-table-wrap { overflow-x: auto; border: 1px solid var(--ref-line-soft); background: var(--ref-paper); }
.ref-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.ref-table th, .ref-table td { padding: 12px 14px; border-bottom: 1px solid var(--ref-line-soft); text-align: left; vertical-align: top; }
.ref-table thead th { background: var(--ref-ivory-deep); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ref-ink-soft); white-space: nowrap; }
.ref-table tbody tr:hover { background: rgba(23, 88, 74, .035); }
.ref-table a { color: var(--ref-lake); }

/* ---------- Spa cards ---------- */

.ref-spa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ref-spa-card { background: var(--ref-paper); border: 1px solid var(--ref-line-soft); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.ref-spa-card__type { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ref-terra); }
.ref-spa-card h2, .ref-spa-card h3 { margin: 0; font-size: 24px; }
.ref-spa-card dl { margin: 0; font-size: 14px; }
.ref-spa-card dt { font-weight: 650; color: var(--ref-ink-soft); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-top: 10px; }
.ref-spa-card dd { margin: 4px 0 0; }

/* ---------- FAQ ---------- */

.ref-faq details { border-bottom: 1px solid var(--ref-line-soft); padding: 16px 0; }
.ref-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ref-faq summary::-webkit-details-marker { display: none; }
.ref-faq summary::after { content: "+"; font-family: var(--ref-serif); font-size: 22px; line-height: 1; color: var(--ref-terra); }
.ref-faq details[open] summary::after { content: "−"; }
.ref-faq p { margin: 12px 0 0; color: var(--ref-ink-soft); max-width: 72ch; }

/* ---------- Footer ---------- */

.ref-footer {
  background: var(--ref-lake);
  color: rgba(255, 253, 248, .82);
  padding: clamp(44px, 6vw, 72px) 0 28px;
  font-size: 14px;
}
.ref-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .7fr));
  gap: 32px;
}
.ref-footer h2, .ref-footer h3 {
  color: var(--ref-paper);
  font-family: var(--ref-sans);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.ref-footer p { margin: 0 0 12px; max-width: 42ch; }
.ref-footer a { color: rgba(255, 253, 248, .9); text-decoration: none; }
.ref-footer a:hover { color: var(--ref-terra-soft); text-decoration: underline; text-underline-offset: 3px; }
.ref-footer ul { list-style: none; margin: 0; padding: 0; }
.ref-footer li { margin: 7px 0; }
.ref-footer__brand {
  font-family: var(--ref-serif);
  font-size: 24px;
  color: var(--ref-paper);
  margin-bottom: 10px;
}
.ref-footer__bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 253, 248, .18);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 253, 248, .62);
}

/* ---------- Legacy overrides ---------- */

body[data-reference-page] .hero,
body[data-reference-page] .hero-home {
  background: var(--ref-ivory);
  color: var(--ref-ink);
  padding: clamp(38px, 5vw, 72px) 0 32px;
}
body[data-reference-page] .hero h1 { font-family: var(--ref-serif); font-weight: 500; letter-spacing: -.025em; color: var(--ref-lake); }
body[data-reference-page] .hero p { color: var(--ref-ink-soft); }
body[data-reference-page] .kicker {
  color: var(--ref-terra);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
}
body[data-reference-page] h2,
body[data-reference-page] h3 { font-family: var(--ref-serif); font-weight: 500; color: var(--ref-lake); }
body[data-reference-page] .button,
body[data-reference-page] .filter-reset {
  background: var(--ref-lake);
  color: var(--ref-paper);
  border: 1px solid var(--ref-lake);
  border-radius: var(--ref-radius);
  text-decoration: none;
}
body[data-reference-page] .button.secondary {
  background: transparent;
  color: var(--ref-lake);
  border-color: var(--ref-line);
}
body[data-reference-page] .card,
body[data-reference-page] .content-panel,
body[data-reference-page] .stat-panel,
body[data-reference-page] .scope-note,
body[data-reference-page] .fit-panel {
  background: var(--ref-paper);
  border: 1px solid var(--ref-line-soft);
  box-shadow: none;
  border-radius: var(--ref-radius);
}
body[data-reference-page] .comparison,
body[data-reference-page] .hotel-comparison-table { font-size: 14px; }
body[data-reference-page] .faq details { border-bottom: 1px solid var(--ref-line-soft); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .ref-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .ref-hero__media img { aspect-ratio: 16 / 10; }
  .ref-hotel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .ref-header__inner { min-height: 64px; }
  .ref-burger { display: block; }
  .ref-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 22px;
    background: var(--ref-ivory);
    border-bottom: 1px solid var(--ref-line);
    box-shadow: 0 24px 40px -30px rgba(20, 45, 38, .5);
  }
  .ref-header.is-open .ref-nav { display: flex; }
  .ref-nav a { padding: 12px 6px; font-size: 16px; border-bottom: 1px solid var(--ref-line-soft); }
  .ref-nav a.ref-nav__cta { margin: 10px 0 0; padding: 13px 16px; border-bottom: 0; text-align: center; }
  .ref-profile-hero__grid { grid-template-columns: 1fr; }
  .ref-grid--3, .ref-spa-grid { grid-template-columns: 1fr; }
  .ref-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-stat { border-right: 0; border-bottom: 1px solid var(--ref-line-soft); padding-right: 0; }
  .ref-toolbar { grid-template-columns: 1fr 1fr; }
  .ref-toolbar .ref-field:first-child { grid-column: 1 / -1; }
  .ref-split, .ref-themes { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --ref-shell: min(100vw - 32px, 1220px); }
  body[data-reference-page] { font-size: 16px; }
  .ref-h1 { font-size: clamp(38px, 10vw, 52px); }
  .ref-hotel-grid, .ref-grid--2, .ref-grid--4 { grid-template-columns: 1fr; }
  .ref-toolbar { grid-template-columns: 1fr; }
  .ref-hero__media img { aspect-ratio: 4 / 3; }
  .ref-stats { grid-template-columns: 1fr 1fr; }
  .ref-stat strong { font-size: 30px; }
  .ref-footer__grid { grid-template-columns: 1fr; }
  .ref-compare-bar { position: fixed; left: 12px; right: 12px; width: auto; transform: none; bottom: 10px; flex-wrap: wrap; gap: 8px; }
  .ref-compare-chips { flex: 1 1 100%; flex-wrap: wrap; }
  .ref-chip { max-width: 100%; overflow-wrap: anywhere; }
  .ref-compare-status { flex: 1 1 100%; }
  .ref-compare-bar .ref-btn { width: 100%; }
  body[data-reference-page]:has(.ref-compare-bar:not([hidden])) .ref-main { padding-bottom: 190px; }
  .ref-compare-table { font-size: 12.5px; }
  .ref-compare-table tbody th { width: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .ref-header, .ref-footer, .ref-compare-bar, .ref-toolbar { display: none !important; }
  body[data-reference-page] { background: #fff; }
}
